diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index f78b7ca2..776272de 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5dabf0=_0x4c68;function _0x4c68(_0x858e5b,_0x5433e9){var _0x4540b7=_0x4540();return _0x4c68=function(_0x4c68e5,_0x350e3b){_0x4c68e5=_0x4c68e5-0x199;var _0x37ea26=_0x4540b7[_0x4c68e5];return _0x37ea26;},_0x4c68(_0x858e5b,_0x5433e9);}function _0x4540(){var _0x6752dc=['186CvzVEA','347900JmNWeU','309807tWYceG','19775cRREkC','682296PEOYAk','onMSFSsoError','12Rhafqj','4WIHSzE','onMSFStatusChange','554720JAwFOO','getGroupCode','207836yayZQx','102566iiksPn'];_0x4540=function(){return _0x6752dc;};return _0x4540();}(function(_0x42a2e5,_0x59cacd){var _0x270ca5=_0x4c68,_0x192926=_0x42a2e5();while(!![]){try{var _0x36e028=-parseInt(_0x270ca5(0x19d))/0x1*(-parseInt(_0x270ca5(0x1a5))/0x2)+parseInt(_0x270ca5(0x1a4))/0x3*(parseInt(_0x270ca5(0x19c))/0x4)+-parseInt(_0x270ca5(0x19a))/0x5+-parseInt(_0x270ca5(0x19e))/0x6*(parseInt(_0x270ca5(0x1a1))/0x7)+-parseInt(_0x270ca5(0x1a2))/0x8+parseInt(_0x270ca5(0x1a0))/0x9+-parseInt(_0x270ca5(0x19f))/0xa;if(_0x36e028===_0x59cacd)break;else _0x192926['push'](_0x192926['shift']());}catch(_0x24804d){_0x192926['push'](_0x192926['shift']());}}}(_0x4540,0x1f71b));export class DependsAdapter{[_0x5dabf0(0x199)](_0x580cdb,_0x3ce3c7){}[_0x5dabf0(0x1a3)](_0x1495bf){}[_0x5dabf0(0x19b)](_0x55164e){}} \ No newline at end of file +var _0x19cca1=_0x3b67;function _0x3b67(_0x4e2d62,_0x2b703c){var _0x43da95=_0x43da();return _0x3b67=function(_0x3b6794,_0x5e2486){_0x3b6794=_0x3b6794-0x186;var _0x30a87a=_0x43da95[_0x3b6794];return _0x30a87a;},_0x3b67(_0x4e2d62,_0x2b703c);}function _0x43da(){var _0x485bdb=['onMSFSsoError','2718873aSehtg','46326dbXYaL','13KNQOpC','getGroupCode','500FKyOoW','2825766sIjvqf','2443SNCuSJ','onMSFStatusChange','5149530LDXDOT','28430WpXmXq','6928nFtyJZ','25344720iHJUOk'];_0x43da=function(){return _0x485bdb;};return _0x43da();}(function(_0x503e40,_0x4b232d){var _0x5cda5a=_0x3b67,_0xa74c3b=_0x503e40();while(!![]){try{var _0x3b6569=-parseInt(_0x5cda5a(0x192))/0x1*(-parseInt(_0x5cda5a(0x191))/0x2)+-parseInt(_0x5cda5a(0x190))/0x3+parseInt(_0x5cda5a(0x187))/0x4*(-parseInt(_0x5cda5a(0x18c))/0x5)+-parseInt(_0x5cda5a(0x188))/0x6+parseInt(_0x5cda5a(0x189))/0x7*(parseInt(_0x5cda5a(0x18d))/0x8)+-parseInt(_0x5cda5a(0x18b))/0x9+parseInt(_0x5cda5a(0x18e))/0xa;if(_0x3b6569===_0x4b232d)break;else _0xa74c3b['push'](_0xa74c3b['shift']());}catch(_0x55844b){_0xa74c3b['push'](_0xa74c3b['shift']());}}}(_0x43da,0x749d5));export class DependsAdapter{[_0x19cca1(0x18a)](_0x1d14d4,_0x4f88a6){}[_0x19cca1(0x18f)](_0x156ded){}[_0x19cca1(0x186)](_0x4766d7){}} \ 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 a12da2ca..77d23f07 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x579d(_0x15164c,_0x30c8d7){var _0x511777=_0x5117();return _0x579d=function(_0x579d1e,_0x4dd181){_0x579d1e=_0x579d1e-0xb6;var _0xef5c44=_0x511777[_0x579d1e];return _0xef5c44;},_0x579d(_0x15164c,_0x30c8d7);}var _0x402472=_0x579d;(function(_0x88d59,_0x59013f){var _0x2ca2ce=_0x579d,_0x4d9880=_0x88d59();while(!![]){try{var _0x539ae2=-parseInt(_0x2ca2ce(0xbf))/0x1+parseInt(_0x2ca2ce(0xba))/0x2+parseInt(_0x2ca2ce(0xb6))/0x3+parseInt(_0x2ca2ce(0xbd))/0x4*(parseInt(_0x2ca2ce(0xbc))/0x5)+-parseInt(_0x2ca2ce(0xb9))/0x6+-parseInt(_0x2ca2ce(0xb7))/0x7+parseInt(_0x2ca2ce(0xbb))/0x8;if(_0x539ae2===_0x59013f)break;else _0x4d9880['push'](_0x4d9880['shift']());}catch(_0x1e1592){_0x4d9880['push'](_0x4d9880['shift']());}}}(_0x5117,0xa7433));function _0x5117(){var _0x1751b5=['1717812lvaisQ','1446090BXxTKd','1774264NRQAkt','5905vyeHiO','2528MUTrjc','dispatchCallWithJson','813676fzQwnP','dispatchRequest','1269825gACYsN','2305870RxNYIj','dispatchCall'];_0x5117=function(){return _0x1751b5;};return _0x5117();}export class DispatcherAdapter{[_0x402472(0xc0)](_0xab4c41){}[_0x402472(0xb8)](_0x1c4789){}[_0x402472(0xbe)](_0x3e4361){}} \ No newline at end of file +function _0x5373(_0x2b9ce7,_0xffbb7d){var _0x2366ad=_0x2366();return _0x5373=function(_0x537331,_0x559829){_0x537331=_0x537331-0xd4;var _0x1f83da=_0x2366ad[_0x537331];return _0x1f83da;},_0x5373(_0x2b9ce7,_0xffbb7d);}var _0x278f04=_0x5373;(function(_0x367efd,_0x3f1bf7){var _0x384670=_0x5373,_0x565677=_0x367efd();while(!![]){try{var _0x26beb0=-parseInt(_0x384670(0xdf))/0x1*(parseInt(_0x384670(0xe1))/0x2)+parseInt(_0x384670(0xd5))/0x3*(parseInt(_0x384670(0xdd))/0x4)+-parseInt(_0x384670(0xda))/0x5*(parseInt(_0x384670(0xe0))/0x6)+-parseInt(_0x384670(0xd7))/0x7+-parseInt(_0x384670(0xdb))/0x8*(parseInt(_0x384670(0xde))/0x9)+-parseInt(_0x384670(0xd6))/0xa*(-parseInt(_0x384670(0xd4))/0xb)+parseInt(_0x384670(0xd9))/0xc;if(_0x26beb0===_0x3f1bf7)break;else _0x565677['push'](_0x565677['shift']());}catch(_0x4de050){_0x565677['push'](_0x565677['shift']());}}}(_0x2366,0x57694));export class DispatcherAdapter{[_0x278f04(0xd8)](_0x2a639c){}[_0x278f04(0xdc)](_0x3df573){}['dispatchCallWithJson'](_0x6e6a4c){}}function _0x2366(){var _0xc6638c=['1898568MMlxTI','dispatchCall','1799812jXdYXo','27pZjsRH','6007PSOqrs','625128YiqIDj','6meDdBF','362461TnDcTN','3EkkoSG','70NqnjQm','663054oxnAYm','dispatchRequest','13527120ltVhkv','30ruWnzX'];_0x2366=function(){return _0xc6638c;};return _0x2366();} \ 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 a0276d92..06e5d162 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0xf89f(_0x5addac,_0x1f9fed){var _0x3625af=_0x3625();return _0xf89f=function(_0xf89ffb,_0x35b800){_0xf89ffb=_0xf89ffb-0xef;var _0x319016=_0x3625af[_0xf89ffb];return _0x319016;},_0xf89f(_0x5addac,_0x1f9fed);}var _0x164e66=_0xf89f;function _0x3625(){var _0x4c68b7=['onLog','4005888snHMZu','46094598PfbzvV','243037CgSVLL','10tnHpsD','16KeDzxn','onGetSrvCalTime','4097949BUVUKD','getAppSetting','onInstallFinished','6456125CiJxZY','35rajFDN','onGetOfflineMsg','771858hwTEtC','onUpdateGeneralFlag','fixPicImgType','onShowErrUITips','1565523drOaTS','8vVKRWF'];_0x3625=function(){return _0x4c68b7;};return _0x3625();}(function(_0x2aebfa,_0x4fc6c1){var _0x3f37e5=_0xf89f,_0x576767=_0x2aebfa();while(!![]){try{var _0x1dbf3e=parseInt(_0x3f37e5(0xf9))/0x1*(parseInt(_0x3f37e5(0xf5))/0x2)+parseInt(_0x3f37e5(0xfd))/0x3+parseInt(_0x3f37e5(0xf7))/0x4+parseInt(_0x3f37e5(0x100))/0x5+parseInt(_0x3f37e5(0xf0))/0x6*(parseInt(_0x3f37e5(0x101))/0x7)+-parseInt(_0x3f37e5(0xfb))/0x8*(parseInt(_0x3f37e5(0xf4))/0x9)+parseInt(_0x3f37e5(0xfa))/0xa*(-parseInt(_0x3f37e5(0xf8))/0xb);if(_0x1dbf3e===_0x4fc6c1)break;else _0x576767['push'](_0x576767['shift']());}catch(_0x295ef1){_0x576767['push'](_0x576767['shift']());}}}(_0x3625,0xb39f3));export class GlobalAdapter{[_0x164e66(0xf6)](..._0x4d0f46){}[_0x164e66(0xfc)](..._0x4d91f7){}[_0x164e66(0xf3)](..._0xc1adba){}[_0x164e66(0xf2)](..._0x274084){}[_0x164e66(0xfe)](..._0x53514c){}[_0x164e66(0xff)](..._0x2fb8d0){}[_0x164e66(0xf1)](..._0x5304ff){}[_0x164e66(0xef)](..._0xd00232){}} \ No newline at end of file +var _0x507796=_0x4dd4;(function(_0x5d8a39,_0x2e8960){var _0x151ed0=_0x4dd4,_0x5c0894=_0x5d8a39();while(!![]){try{var _0x412819=-parseInt(_0x151ed0(0x9a))/0x1+-parseInt(_0x151ed0(0x99))/0x2+parseInt(_0x151ed0(0x9c))/0x3*(parseInt(_0x151ed0(0xa4))/0x4)+-parseInt(_0x151ed0(0x9f))/0x5+-parseInt(_0x151ed0(0xa2))/0x6*(parseInt(_0x151ed0(0xa0))/0x7)+-parseInt(_0x151ed0(0x9d))/0x8*(-parseInt(_0x151ed0(0x9b))/0x9)+parseInt(_0x151ed0(0xa3))/0xa;if(_0x412819===_0x2e8960)break;else _0x5c0894['push'](_0x5c0894['shift']());}catch(_0x1543ea){_0x5c0894['push'](_0x5c0894['shift']());}}}(_0x1fbf,0x7ea3f));function _0x4dd4(_0x5acf60,_0x5e2498){var _0x1fbfa9=_0x1fbf();return _0x4dd4=function(_0x4dd4ed,_0x493fef){_0x4dd4ed=_0x4dd4ed-0x98;var _0xe69a6f=_0x1fbfa9[_0x4dd4ed];return _0xe69a6f;},_0x4dd4(_0x5acf60,_0x5e2498);}function _0x1fbf(){var _0x46492c=['726755BvXnhR','21eovJev','fixPicImgType','946908fciiBt','10083230HbWaVK','8wfvDYM','onGetOfflineMsg','onShowErrUITips','getAppSetting','1566992IQpUwL','299110syqAMD','27NHBruA','1243551NyRWug','1020728hSDVQy','onInstallFinished'];_0x1fbf=function(){return _0x46492c;};return _0x1fbf();}export class GlobalAdapter{['onLog'](..._0x5dfe5f){}['onGetSrvCalTime'](..._0x42ea71){}[_0x507796(0xa6)](..._0x1e2771){}[_0x507796(0xa1)](..._0x43eacc){}[_0x507796(0x98)](..._0x4fad89){}[_0x507796(0x9e)](..._0x3d6570){}['onUpdateGeneralFlag'](..._0x233bc3){}[_0x507796(0xa5)](..._0x13035d){}} \ 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 5ea23a62..c2ebf9c6 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x3f5353,_0x4a3692){var _0x135ef3=_0x3003,_0x728d68=_0x3f5353();while(!![]){try{var _0x10aa2b=parseInt(_0x135ef3(0x1a9))/0x1+-parseInt(_0x135ef3(0x1a6))/0x2+-parseInt(_0x135ef3(0x1a4))/0x3*(parseInt(_0x135ef3(0x1a1))/0x4)+parseInt(_0x135ef3(0x1a0))/0x5*(parseInt(_0x135ef3(0x1a7))/0x6)+-parseInt(_0x135ef3(0x1a8))/0x7*(-parseInt(_0x135ef3(0x1a2))/0x8)+parseInt(_0x135ef3(0x1a3))/0x9+-parseInt(_0x135ef3(0x19f))/0xa*(parseInt(_0x135ef3(0x1a5))/0xb);if(_0x10aa2b===_0x4a3692)break;else _0x728d68['push'](_0x728d68['shift']());}catch(_0x129ee9){_0x728d68['push'](_0x728d68['shift']());}}}(_0x2ccf,0x484a0));export*from'./NodeIDependsAdapter';function _0x2ccf(){var _0x2a6d51=['45759UdoIZy','3010128tnVutP','91968BRsELv','5658PYmonc','21nqZvvg','11849OROjwM','20sZXEeb','1785PftfHW','16HAdfVx','137736eVSEvn','4952133IxbHIg'];_0x2ccf=function(){return _0x2a6d51;};return _0x2ccf();}function _0x3003(_0x13e5dc,_0x1a6b2a){var _0x2ccfe3=_0x2ccf();return _0x3003=function(_0x3003db,_0x5d4f63){_0x3003db=_0x3003db-0x19f;var _0x4eb478=_0x2ccfe3[_0x3003db];return _0x4eb478;},_0x3003(_0x13e5dc,_0x1a6b2a);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3ddc3c,_0x2196c4){var _0x19e16a=_0x18ea,_0x1b8482=_0x3ddc3c();while(!![]){try{var _0x4c96bb=-parseInt(_0x19e16a(0x1f5))/0x1*(parseInt(_0x19e16a(0x1f6))/0x2)+-parseInt(_0x19e16a(0x1fc))/0x3*(-parseInt(_0x19e16a(0x1f8))/0x4)+-parseInt(_0x19e16a(0x1fa))/0x5+-parseInt(_0x19e16a(0x1f3))/0x6*(-parseInt(_0x19e16a(0x1f9))/0x7)+-parseInt(_0x19e16a(0x1fb))/0x8*(parseInt(_0x19e16a(0x1f4))/0x9)+parseInt(_0x19e16a(0x1f7))/0xa+-parseInt(_0x19e16a(0x1f2))/0xb;if(_0x4c96bb===_0x2196c4)break;else _0x1b8482['push'](_0x1b8482['shift']());}catch(_0x5704d2){_0x1b8482['push'](_0x1b8482['shift']());}}}(_0x50c1,0x5914c));function _0x18ea(_0x59a999,_0xa62c8b){var _0x50c133=_0x50c1();return _0x18ea=function(_0x18eaf4,_0x5b2dd8){_0x18eaf4=_0x18eaf4-0x1f2;var _0xdb4126=_0x50c133[_0x18eaf4];return _0xdb4126;},_0x18ea(_0x59a999,_0xa62c8b);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x50c1(){var _0x25f92a=['244svyoWI','18956RxJdBu','866245nHgMjv','40RonzIC','3126noqWuq','408672rSzKzb','864zoStvL','104022dAaYDi','260044qjwCVq','2UiMGjy','4395970MYGRWb'];_0x50c1=function(){return _0x25f92a;};return _0x50c1();} \ 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 d36c37df..d5d78883 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x252bf0=_0x53ae;(function(_0x68550e,_0x3214b4){const _0x4c6c45=_0x53ae,_0x2b361d=_0x68550e();while(!![]){try{const _0x28babd=-parseInt(_0x4c6c45(0xcb))/0x1+-parseInt(_0x4c6c45(0xd9))/0x2+-parseInt(_0x4c6c45(0xcc))/0x3+-parseInt(_0x4c6c45(0xf8))/0x4*(parseInt(_0x4c6c45(0xae))/0x5)+parseInt(_0x4c6c45(0xd3))/0x6*(-parseInt(_0x4c6c45(0xf0))/0x7)+parseInt(_0x4c6c45(0xa6))/0x8+parseInt(_0x4c6c45(0xe5))/0x9*(parseInt(_0x4c6c45(0x10f))/0xa);if(_0x28babd===_0x3214b4)break;else _0x2b361d['push'](_0x2b361d['shift']());}catch(_0x3706a8){_0x2b361d['push'](_0x2b361d['shift']());}}}(_0x9c54,0x9dedc));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x589c9e from'path';import _0x2d8397 from'fs';import _0x3f2b02 from'fs/promises';function _0x53ae(_0x4a2f8b,_0x4ec85d){const _0x9c54fb=_0x9c54();return _0x53ae=function(_0x53aea6,_0xe1a80c){_0x53aea6=_0x53aea6-0xa0;let _0x16da26=_0x9c54fb[_0x53aea6];return _0x16da26;},_0x53ae(_0x4a2f8b,_0x4ec85d);}import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x20034c from'file-type';import{MsgListener}from'@/core/listeners';function _0x9c54(){const _0x316faa=['downloadMedia','indexOf','onLoginSuccess','downloadRichMedia','ECvMm','fileTypeFromFile','/download','getFileType','picElement','getFileSize','TDNtb','eNzTD','unlink','join','getImageUrl','412946LTeiSM','3106971lxWwmq','catch','hotUpdate','downloadPath','mCgLM','iLwoP','isAvailable','48PCuSiG','util','onRichMediaDownloadComplete','existsSync','getChatCacheList','acTgO','1086462aUJmcV','sourcePath','HxTWw','rIOjy','xYsiy','delete','HOQjt','图片url获取失败','getStorageCleanService','图片rkey获取失败','EbZDF','addTask','27024993RmLMjy','nAzXj','now','getRichMediaFilePathForGuild','defaultFileDownloadPath','vPNTn','getFileCacheInfo','pGgOh','检查rkey是否有效','lpwKd','get','904953KzNOfI','NhvSD','DBmjg','nnuPf','chatType','xwtEL','LBBHi','SPiEx','4aYXMsl','peerUid','Bicss','receive\x20downloadMedia\x20task','fileUuid','EWXxO','clearCacheDataByKeys','getCacheSessionPathList','OdMZh','downloadMedia\x20complete','copyFile','lWQVH','iumJF','addCacheScanedPaths','md5HexStr','ext','group','clearChatCache','yPRgB','session','filePath','getHotUpdateCachePath','BjxtY','10FokZJQ','mQGHO','hookApi\x20is\x20not\x20available','gVChc','FlThr','addCacheScannedPaths','/gchatpic_new/0/0-0-','tmp','7118464JIubHJ','getMsgService','basename','msgId','set','clearCache','imLcJ','HSLZA','1098215MakqKa','CsNXh','ugVPl','MoIhY','XaEBb','addListener','&rkey=','图片rkey有效','sUuDw','getRKey','uploadFile','gKEVo','startsWith','图片rkey有误'];_0x9c54=function(){return _0x316faa;};return _0x9c54();}import _0x4c5385 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';import{sleep}from'@/common/utils/helper';import _0x654b74 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x252bf0(0xd5)]=_0x53bacf=>{const _0x2e42be=_0x252bf0,_0x230d45={'FYKjn':function(_0x5ab18e,_0x15cfa4){return _0x5ab18e(_0x15cfa4);}};for(const [_0x4d6575,_0x31708f]of downloadMediaTasks){_0x230d45['FYKjn'](_0x31708f,_0x53bacf),downloadMediaTasks[_0x2e42be(0xde)](_0x4d6575);}},setTimeout(()=>{const _0x4bccc3=_0x252bf0;napCatCore[_0x4bccc3(0xbe)](()=>{const _0x3af44d=_0x4bccc3;napCatCore[_0x3af44d(0xb3)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x252bf0(0xc3)](_0x5a064a){const _0x3f0fcc=_0x252bf0;return _0x20034c[_0x3f0fcc(0xc1)](_0x5a064a);}static async['copyFile'](_0xdc509d,_0x5d3a08){const _0x303099=_0x252bf0;await napCatCore['util'][_0x303099(0x102)](_0xdc509d,_0x5d3a08);}static async['getFileSize'](_0x1cb40a){const _0xa7505e=_0x252bf0;return await napCatCore[_0xa7505e(0xd4)]['getFileSize'](_0x1cb40a);}static async[_0x252bf0(0xb8)](_0xe19a24,_0x326e21=ElementType['PIC'],_0x58f2a7=0x0){const _0x3529a5=_0x252bf0,_0x56d630={'MoIhY':function(_0x21d739,_0x1f7f29){return _0x21d739(_0x1f7f29);},'CsNXh':function(_0x159ad4,_0x4828f0){return _0x159ad4+_0x4828f0;},'xwtEL':function(_0x33d4a8,_0x3f59d5){return _0x33d4a8===_0x3f59d5;}},_0xcf6090=await _0x56d630[_0x3529a5(0xb1)](calculateFileMD5,_0xe19a24);let _0x744245=(await NTQQFileApi[_0x3529a5(0xc3)](_0xe19a24))?.[_0x3529a5(0x107)]||'';_0x744245&&(_0x744245=_0x56d630[_0x3529a5(0xaf)]('.',_0x744245));let _0x292687=''+_0x589c9e[_0x3529a5(0xa8)](_0xe19a24);_0x56d630[_0x3529a5(0xf5)](_0x292687[_0x3529a5(0xbd)]('.'),-0x1)&&(_0x292687+=_0x744245);const _0x1870bc=napCatCore[_0x3529a5(0x10b)]['getMsgService']()[_0x3529a5(0xe8)]({'md5HexStr':_0xcf6090,'fileName':_0x292687,'elementType':_0x326e21,'elementSubType':_0x58f2a7,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x3529a5(0x102)](_0xe19a24,_0x1870bc);const _0x4110ad=await NTQQFileApi[_0x3529a5(0xc5)](_0xe19a24);return{'md5':_0xcf6090,'fileName':_0x292687,'path':_0x1870bc,'fileSize':_0x4110ad,'ext':_0x744245};}static async[_0x252bf0(0xbc)](_0x59d962,_0x38f204,_0x3fe80a,_0xecfd6c,_0x1a4a14,_0x3cbc70,_0x34338e=0x3e8*0x3c*0x2,_0x5061c3=![]){const _0x49a533=_0x252bf0,_0x1b3ccc={'pGgOh':function(_0x52c877,_0x2b7da8){return _0x52c877(_0x2b7da8);},'yjGvV':'下载超时','vPNTn':function(_0x59672e,_0x4eba09,_0x164a1e,_0x210231){return _0x59672e(_0x4eba09,_0x164a1e,_0x210231);},'HxTWw':_0x49a533(0xcf),'EWXxO':function(_0x217dc5){return _0x217dc5();},'OdMZh':function(_0x373c99,_0x3d21d5,_0x2943c8){return _0x373c99(_0x3d21d5,_0x2943c8);},'imLcJ':_0x49a533(0xfb),'ZIeHS':'start\x20downloadMedia'};logDebug(_0x1b3ccc[_0x49a533(0xac)],_0x59d962,_0x38f204,_0x3fe80a,_0xecfd6c,_0x1a4a14,_0x3cbc70,_0x34338e,_0x5061c3);if(_0x3cbc70&&_0x2d8397[_0x49a533(0xd6)](_0x3cbc70)){if(_0x5061c3)try{await _0x3f2b02[_0x49a533(0xc8)](_0x3cbc70);}catch(_0x2c4bbc){}else return _0x3cbc70;}return logDebug(_0x1b3ccc['ZIeHS'],_0x59d962,_0x38f204,_0x3fe80a,_0xecfd6c,_0x1a4a14,_0x3cbc70,_0x34338e,_0x5061c3),new Promise((_0x1db8d5,_0x13d129)=>{const _0x11b793=_0x49a533,_0x2d1b31={'sUuDw':function(_0xe69979,_0x2adac3,_0x3b4c69,_0xd9fa6f){const _0x31d29c=_0x53ae;return _0x1b3ccc[_0x31d29c(0xea)](_0xe69979,_0x2adac3,_0x3b4c69,_0xd9fa6f);},'HOQjt':_0x11b793(0x101),'Bicss':_0x1b3ccc[_0x11b793(0xdb)]};let _0x491fed=![];const _0x2ac34f=_0x5d05b2=>{const _0x4f1999=_0x11b793;_0x2d1b31[_0x4f1999(0xb6)](logDebug,_0x2d1b31[_0x4f1999(0xdf)],_0x5d05b2,_0x59d962);if(_0x5d05b2[_0x4f1999(0xa9)]===_0x59d962){_0x491fed=!![];let _0x26a91b=_0x5d05b2[_0x4f1999(0x10c)];if(_0x26a91b[_0x4f1999(0xba)]('\x5c')){const _0x753650=sessionConfig[_0x4f1999(0xe9)];logDebug(_0x2d1b31[_0x4f1999(0xfa)],_0x753650),_0x26a91b=_0x589c9e[_0x4f1999(0xc9)](_0x753650,_0x26a91b);}_0x1db8d5(_0x26a91b);}};downloadMediaTasks[_0x11b793(0xaa)](_0x1b3ccc[_0x11b793(0xfd)](randomUUID),_0x2ac34f),_0x1b3ccc[_0x11b793(0x100)](setTimeout,()=>{const _0x519cbc=_0x11b793;!_0x491fed&&_0x1b3ccc[_0x519cbc(0xec)](_0x13d129,_0x1b3ccc['yjGvV']);},_0x34338e),napCatCore[_0x11b793(0x10b)][_0x11b793(0xa7)]()[_0x11b793(0xbf)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x59d962,'chatType':_0x38f204,'peerUid':_0x3fe80a,'elementId':_0xecfd6c,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x1a4a14});});}static async['getImageSize'](_0x5098e1){const _0x1093ac={'pAHpP':function(_0x316b7b,_0x3b3c43,_0x3a4ea6){return _0x316b7b(_0x3b3c43,_0x3a4ea6);}};return new Promise((_0x47c87d,_0x41ce7c)=>{_0x1093ac['pAHpP'](_0x4c5385,_0x5098e1,(_0x5dacc1,_0x332a80)=>{_0x5dacc1?_0x41ce7c(_0x5dacc1):_0x47c87d(_0x332a80);});});}static async[_0x252bf0(0xca)](_0xee98cd){const _0xe578a4=_0x252bf0,_0x380b22={'eNzTD':_0xe578a4(0xe2),'CsBYi':'error','FlThr':function(_0x37baac,_0x993e0c){return _0x37baac(_0x993e0c);},'XaEBb':function(_0x107e88,_0x50dcce){return _0x107e88*_0x50dcce;},'ugVPl':function(_0x5bba38,_0x2380e4){return _0x5bba38(_0x2380e4);},'xYsiy':'开始调用moeHook获取rkey','nnuPf':function(_0x272cf0,_0x1f5d63){return _0x272cf0+_0x1f5d63;},'ptubu':function(_0x104f03,_0x375675){return _0x104f03+_0x375675;},'DBmjg':function(_0xbc5731,_0x48a152,_0x503286){return _0xbc5731(_0x48a152,_0x503286);},'EbZDF':_0xe578a4(0xed),'lLFWW':function(_0x2e3e8d,_0xebd0c3,_0x1e4354){return _0x2e3e8d(_0xebd0c3,_0x1e4354);},'SPiEx':_0xe578a4(0xb5),'iumJF':function(_0x5e77b7,_0x259660){return _0x5e77b7(_0x259660);},'cBzls':function(_0x4b4eaf,_0x4a66ff,_0x126361,_0x4295e8){return _0x4b4eaf(_0x4a66ff,_0x126361,_0x4295e8);},'lpwKd':_0xe578a4(0xbb),'rIOjy':function(_0x11895e){return _0x11895e();},'mCgLM':function(_0x797b33,_0x464d30){return _0x797b33(_0x464d30);},'acTgO':function(_0x31d528,_0x42e1ec){return _0x31d528!==_0x42e1ec;},'wPiSE':_0xe578a4(0xc2),'VfwTm':_0xe578a4(0xa0),'BjxtY':function(_0x746229,_0x4ed4bd){return _0x746229-_0x4ed4bd;},'iLwoP':function(_0x4f0f45,_0x1501f0,_0x256588){return _0x4f0f45(_0x1501f0,_0x256588);},'ECvMm':function(_0x3b2b52,_0x7fe01d){return _0x3b2b52+_0x7fe01d;},'gKEVo':function(_0x18d1aa,_0x2c7712){return _0x18d1aa+_0x2c7712;},'NhvSD':function(_0x33d5ae,_0x4b4355){return _0x33d5ae||_0x4b4355;},'GtjDa':function(_0x53e075,_0x44d4db,_0x5838c6){return _0x53e075(_0x44d4db,_0x5838c6);},'lWQVH':_0xe578a4(0xe0)},_0x16c7b6=_0x380b22[_0xe578a4(0xd8)](_0xee98cd[_0xe578a4(0xf4)],ChatType[_0xe578a4(0x108)]),_0x558ce4=_0xee98cd['elements']['find'](_0x57d88d=>!!_0x57d88d[_0xe578a4(0xc4)]);if(!_0x558ce4)return'';const _0x234b27=_0x558ce4[_0xe578a4(0xc4)]['originImageUrl'],_0xe59313=_0x558ce4[_0xe578a4(0xc4)][_0xe578a4(0x106)],_0x1188d9=_0x558ce4[_0xe578a4(0xc4)][_0xe578a4(0x106)],_0x4746d2=_0x558ce4[_0xe578a4(0xc4)][_0xe578a4(0xfc)],_0x5f0ac4=_0x254c78=>{const _0x131807=_0xe578a4;_0x16c7b6?(privateImageRKey=_0x254c78,lastGetPrivateRKeyTime=Date[_0x131807(0xe7)]()):(groupImageRKey=_0x254c78,lastGetGroupRKeyTime=Date[_0x131807(0xe7)]());};if(_0x234b27){if(_0x234b27[_0xe578a4(0xba)](_0x380b22['wPiSE'])){if(_0x234b27['includes'](_0xe578a4(0xb4)))return IMAGE_HTTP_HOST_NT+_0x234b27;if(!hookApi[_0xe578a4(0xd2)]())return _0x380b22[_0xe578a4(0xd0)](logDebug,_0x380b22['VfwTm']),'';const _0x370f00=async()=>{const _0x3fa3fa=_0xe578a4,_0x1d21fd={'nAzXj':function(_0x568dc7,_0x30d8c8){return _0x568dc7!==_0x30d8c8;},'HSLZA':function(_0x5ec285,_0x3c67b0){return _0x5ec285(_0x3c67b0);},'iHMOK':_0x380b22[_0x3fa3fa(0xc7)],'mQGHO':_0x380b22['CsBYi']};_0x380b22[_0x3fa3fa(0xa2)](logDebug,'获取图片rkey...'),NTQQFileApi[_0x3fa3fa(0xbc)](_0xee98cd[_0x3fa3fa(0xa9)],_0xee98cd[_0x3fa3fa(0xf4)],_0xee98cd[_0x3fa3fa(0xf9)],_0x558ce4['elementId'],'',_0x558ce4['picElement'][_0x3fa3fa(0xda)],_0x380b22[_0x3fa3fa(0xb2)](0x3e8,0x1e),![])['then'](_0x5e1d1a=>{})[_0x3fa3fa(0xcd)](logError),await _0x380b22['FlThr'](sleep,0x3e8),_0x380b22[_0x3fa3fa(0xb0)](logDebug,_0x380b22[_0x3fa3fa(0xdd)]);const _0x16da4d=hookApi[_0x3fa3fa(0xb7)]()||'',_0x2d04eb=_0x380b22[_0x3fa3fa(0xf3)](_0x380b22['ptubu'](IMAGE_HTTP_HOST_NT,_0x234b27),_0x16da4d);if(_0x16da4d)try{_0x380b22[_0x3fa3fa(0xf2)](logDebug,_0x380b22[_0x3fa3fa(0xe3)],_0x2d04eb),await new Promise((_0x519d2e,_0x1b3987)=>{const _0x56cf22=_0x3fa3fa,_0x415cec={'LBBHi':function(_0x2f6eab,_0x3e03fe){const _0x124605=_0x53ae;return _0x1d21fd[_0x124605(0xe6)](_0x2f6eab,_0x3e03fe);},'TDNtb':function(_0x17e6d9,_0x5c239d){const _0x340304=_0x53ae;return _0x1d21fd[_0x340304(0xad)](_0x17e6d9,_0x5c239d);},'gVChc':_0x1d21fd['iHMOK'],'yPRgB':function(_0x5b5e69,_0x57abb8){const _0x276e54=_0x53ae;return _0x1d21fd[_0x276e54(0xad)](_0x5b5e69,_0x57abb8);}};_0x654b74[_0x56cf22(0xef)](_0x2d04eb,_0x8dc0ee=>{const _0x48afa3=_0x56cf22;_0x415cec[_0x48afa3(0xf6)](_0x8dc0ee['statusCode'],0xc8)?_0x415cec[_0x48afa3(0xc6)](_0x1b3987,_0x415cec[_0x48afa3(0xa1)]):_0x415cec[_0x48afa3(0xc6)](_0x519d2e,_0x8dc0ee);})['on'](_0x1d21fd[_0x56cf22(0x110)],_0x15f665=>{const _0x3a152d=_0x56cf22;_0x415cec[_0x3a152d(0x10a)](_0x1b3987,_0x15f665);});}),_0x380b22['lLFWW'](logDebug,_0x380b22[_0x3fa3fa(0xf7)],_0x2d04eb),_0x380b22[_0x3fa3fa(0x104)](_0x5f0ac4,_0x16da4d);}catch(_0x2f59c9){return _0x380b22['cBzls'](logError,_0x380b22[_0x3fa3fa(0xee)],_0x2d04eb,_0x2f59c9),'';}return _0x16da4d;},_0x1e8f56=new Promise((_0x385ac0,_0x1e754a)=>{const _0x3dc677=_0xe578a4;getRKeyTaskQueue[_0x3dc677(0xe4)](async()=>{const _0x33101c=_0x3dc677,_0x2f1215=await _0x380b22[_0x33101c(0xdc)](_0x370f00);_0x380b22['mCgLM'](_0x385ac0,_0x2f1215);});}),_0x5730a=_0x16c7b6?privateImageRKey:groupImageRKey,_0x3da116=_0x16c7b6?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x380b22[_0xe578a4(0x10e)](Date[_0xe578a4(0xe7)](),_0x3da116)>rkeyExpireTime||!_0x5730a){const _0x5a8fc3=await _0x1e8f56;if(_0x5a8fc3)return IMAGE_HTTP_HOST_NT+_0x234b27+(''+_0x5a8fc3);else _0x380b22[_0xe578a4(0xd1)](logError,_0x380b22[_0xe578a4(0xc7)],_0x234b27);}if(_0x5730a)return _0x380b22[_0xe578a4(0xc0)](IMAGE_HTTP_HOST_NT+_0x234b27,''+_0x5730a);return'';}else return _0x380b22[_0xe578a4(0xb9)](IMAGE_HTTP_HOST,_0x234b27);}else{if(_0x1188d9||_0xe59313)return IMAGE_HTTP_HOST+_0xe578a4(0xa4)+_0x380b22[_0xe578a4(0xf1)](_0x1188d9,_0xe59313)['toUpperCase']()+'/0';}return _0x380b22['GtjDa'](logDebug,_0x380b22[_0xe578a4(0x103)],_0xee98cd),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x167f7f=!![]){return'';}static[_0x252bf0(0xff)](){return'';}static[_0x252bf0(0xab)](_0x1f4fcb=[_0x252bf0(0xa5),_0x252bf0(0xce)]){const _0x433496=_0x252bf0;return napCatCore[_0x433496(0x10b)][_0x433496(0xe1)]()[_0x433496(0xfe)](_0x1f4fcb);}static[_0x252bf0(0xa3)](_0x3f0e81={}){const _0x212a87=_0x252bf0;return napCatCore[_0x212a87(0x10b)][_0x212a87(0xe1)]()[_0x212a87(0x105)](_0x3f0e81);}static['scanCache'](){const _0x518a91=_0x252bf0;return napCatCore['session'][_0x518a91(0xe1)]()['scanCache']();}static[_0x252bf0(0x10d)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x252bf0(0xd7)](_0x40dfa1,_0x535e95=0x3e8,_0x3c40d4=0x0){const _0x4529d2=_0x252bf0;return napCatCore['session'][_0x4529d2(0xe1)]()['getChatCacheInfo'](_0x40dfa1,_0x535e95,0x1,_0x3c40d4);}static[_0x252bf0(0xeb)](_0x53a3d3,_0x17a860=0x3e8,_0x50d9f3){const _0x2abcbd=_0x50d9f3?_0x50d9f3:{'fileType':_0x53a3d3};}static async[_0x252bf0(0x109)](_0x43f5e1=[],_0x5422f3=[]){const _0x4a298c=_0x252bf0;return napCatCore[_0x4a298c(0x10b)]['getStorageCleanService']()['clearChatCacheInfo'](_0x43f5e1,_0x5422f3);}} \ No newline at end of file +const _0x146e2b=_0x86af;(function(_0x4cf837,_0x5d6e08){const _0x197be2=_0x86af,_0x5214c8=_0x4cf837();while(!![]){try{const _0x4bf7d8=parseInt(_0x197be2(0x1ce))/0x1+-parseInt(_0x197be2(0x1f9))/0x2*(parseInt(_0x197be2(0x215))/0x3)+-parseInt(_0x197be2(0x1bf))/0x4*(parseInt(_0x197be2(0x203))/0x5)+parseInt(_0x197be2(0x1d3))/0x6+parseInt(_0x197be2(0x1f2))/0x7+-parseInt(_0x197be2(0x1c9))/0x8+parseInt(_0x197be2(0x1b7))/0x9;if(_0x4bf7d8===_0x5d6e08)break;else _0x5214c8['push'](_0x5214c8['shift']());}catch(_0x504da4){_0x5214c8['push'](_0x5214c8['shift']());}}}(_0x33e3,0x5de6e));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x22b9c1 from'path';import _0x43f84f from'fs';import _0x4e8eea from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x213a39 from'file-type';function _0x86af(_0x21992b,_0x5987f6){const _0x33e3e9=_0x33e3();return _0x86af=function(_0x86af00,_0x18fe0a){_0x86af00=_0x86af00-0x1a7;let _0x3cb118=_0x33e3e9[_0x86af00];return _0x3cb118;},_0x86af(_0x21992b,_0x5987f6);}import{MsgListener}from'@/core/listeners';import _0x571c4a from'image-size';function _0x33e3(){const _0x225433=['CfsCm','10YYUGDM','clearCacheDataByKeys','HrDQz','indexOf','set','downloadMedia','peerUid','util','unlink','WrGNA','XyPqp','basename','JuMrm','getFileCacheInfo','addCacheScannedPaths','elementId','get','MUwAT','91506qnlBsw','图片url获取失败','UXHld','zadNW','LahwU','md5HexStr','sourcePath','zpHqT','图片rkey有效','downloadRichMedia','wFYyp','hookApi\x20is\x20not\x20available','getImageSize','getRKey','receive\x20downloadMedia\x20task','wNJwH','nhzgX','Fslav','addCacheScanedPaths','group','getDesktopTmpPath','getCacheSessionPathList','iNqEc','5173029FcPsta','nThKS','&rkey=','getFileType','EQHJN','hENOh','catch','originImageUrl','1045488rdFloW','aTZQG','getMsgService','toUpperCase','join','/gchatpic_new/0/0-0-','开始调用moeHook获取rkey','getImageUrl','getHotUpdateCachePath','clearChatCache','2701136wWgiyA','检查rkey是否有效','getChatCacheList','uploadFile','then','741211snpLAj','onRichMediaDownloadComplete','zPRWd','AnhSd','ZnaGn','808818jXEucQ','ext','PhXHF','elements','GChFH','error','AwJLd','nafho','copyFile','downloadMedia\x20complete','OAZyo','qEKgc','find','/download','addListener','WaPLP','isAvailable','picElement','getChatCacheInfo','mBdfZ','JobII','existsSync','fileTypeFromFile','start\x20downloadMedia','下载超时','filePath','chatType','defaultFileDownloadPath','clearChatCacheInfo','now','VYhHr','1975715rPHoiu','kNEOg','startsWith','tlsEp','getFileSize','fileUuid','getStorageCleanService','32TssfhC','session','CdjEb','图片rkey获取失败','BlOyq','PIC','onLoginSuccess','wuuSl','aTQJb'];_0x33e3=function(){return _0x225433;};return _0x33e3();}import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';import{sleep}from'@/common/utils/helper';import _0xaf5c56 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x146e2b(0x1cf)]=_0x52c054=>{const _0x3a49e9=_0x146e2b,_0x225853={'wuuSl':function(_0x1e54e2,_0x3d0744){return _0x1e54e2(_0x3d0744);}};for(const [_0x249d96,_0x3888d3]of downloadMediaTasks){_0x225853[_0x3a49e9(0x200)](_0x3888d3,_0x52c054),downloadMediaTasks['delete'](_0x249d96);}},setTimeout(()=>{const _0x29b328=_0x146e2b;napCatCore[_0x29b328(0x1ff)](()=>{const _0xbd26ce=_0x29b328;napCatCore[_0xbd26ce(0x1e1)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x21b928){const _0x382803=_0x146e2b;return _0x213a39[_0x382803(0x1e9)](_0x21b928);}static async[_0x146e2b(0x1db)](_0x2e0f8f,_0x448a5f){const _0x12014b=_0x146e2b;await napCatCore[_0x12014b(0x20a)][_0x12014b(0x1db)](_0x2e0f8f,_0x448a5f);}static async[_0x146e2b(0x1f6)](_0x3425ad){const _0x34119c=_0x146e2b;return await napCatCore['util'][_0x34119c(0x1f6)](_0x3425ad);}static async[_0x146e2b(0x1cc)](_0xb91dff,_0x1f24a9=ElementType[_0x146e2b(0x1fe)],_0x198b11=0x0){const _0x28bdd6=_0x146e2b,_0x32343d={'AwJLd':function(_0x41e505,_0x486e4c){return _0x41e505+_0x486e4c;},'nThKS':function(_0x50b386,_0x1d9137){return _0x50b386===_0x1d9137;}},_0x75afdd=await calculateFileMD5(_0xb91dff);let _0x469508=(await NTQQFileApi[_0x28bdd6(0x1ba)](_0xb91dff))?.[_0x28bdd6(0x1d4)]||'';_0x469508&&(_0x469508=_0x32343d[_0x28bdd6(0x1d9)]('.',_0x469508));let _0x4783e9=''+_0x22b9c1[_0x28bdd6(0x20e)](_0xb91dff);_0x32343d[_0x28bdd6(0x1b8)](_0x4783e9[_0x28bdd6(0x206)]('.'),-0x1)&&(_0x4783e9+=_0x469508);const _0x5bbb1f=napCatCore[_0x28bdd6(0x1fa)][_0x28bdd6(0x1c1)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x75afdd,'fileName':_0x4783e9,'elementType':_0x1f24a9,'elementSubType':_0x198b11,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x28bdd6(0x1db)](_0xb91dff,_0x5bbb1f);const _0x497254=await NTQQFileApi[_0x28bdd6(0x1f6)](_0xb91dff);return{'md5':_0x75afdd,'fileName':_0x4783e9,'path':_0x5bbb1f,'fileSize':_0x497254,'ext':_0x469508};}static async[_0x146e2b(0x208)](_0x5576be,_0x29b30e,_0x14688d,_0x35a352,_0x539296,_0x83db93,_0x274dec=0x3e8*0x3c*0x2,_0x119854=![]){const _0x1ce967=_0x146e2b,_0x3ea0dd={'MUwAT':_0x1ce967(0x1eb),'zpHqT':_0x1ce967(0x1dc),'JuMrm':function(_0x16fd92,_0x268797){return _0x16fd92===_0x268797;},'UXHld':'downloadPath','HDqfx':function(_0x46fd91,_0x688191){return _0x46fd91(_0x688191);},'VYhHr':function(_0x294584,_0x2dabd5,_0x2d77ac){return _0x294584(_0x2dabd5,_0x2d77ac);},'Fslav':function(_0x363981,_0x6e07d9,_0x5fba26,_0xb7e241,_0x132b55,_0xc13a8f,_0x1c61eb,_0x258e84,_0x2b9a70,_0x20743a){return _0x363981(_0x6e07d9,_0x5fba26,_0xb7e241,_0x132b55,_0xc13a8f,_0x1c61eb,_0x258e84,_0x2b9a70,_0x20743a);},'iKRjs':_0x1ce967(0x1ae),'tlsEp':function(_0x4219e6,_0xa64c00,_0x26462c,_0x33303c,_0x12ef72,_0x2532c1,_0x3f1921,_0x4f03a5,_0x5a2571,_0x4fe76b){return _0x4219e6(_0xa64c00,_0x26462c,_0x33303c,_0x12ef72,_0x2532c1,_0x3f1921,_0x4f03a5,_0x5a2571,_0x4fe76b);},'PhXHF':_0x1ce967(0x1ea)};_0x3ea0dd[_0x1ce967(0x1b1)](logDebug,_0x3ea0dd['iKRjs'],_0x5576be,_0x29b30e,_0x14688d,_0x35a352,_0x539296,_0x83db93,_0x274dec,_0x119854);if(_0x83db93&&_0x43f84f[_0x1ce967(0x1e8)](_0x83db93)){if(_0x119854)try{await _0x4e8eea[_0x1ce967(0x20b)](_0x83db93);}catch(_0x23fc68){}else return _0x83db93;}return _0x3ea0dd[_0x1ce967(0x1f5)](logDebug,_0x3ea0dd[_0x1ce967(0x1d5)],_0x5576be,_0x29b30e,_0x14688d,_0x35a352,_0x539296,_0x83db93,_0x274dec,_0x119854),new Promise((_0x318a28,_0x4c34dd)=>{const _0x2c6830=_0x1ce967,_0x3aa68e={'rxFzk':function(_0x4ad823,_0x14e8b0,_0x2be698,_0x376dd1){return _0x4ad823(_0x14e8b0,_0x2be698,_0x376dd1);},'HrDQz':_0x3ea0dd[_0x2c6830(0x1a7)],'mANCD':function(_0x14836e,_0x4032bb){const _0x51f22d=_0x2c6830;return _0x3ea0dd[_0x51f22d(0x20f)](_0x14836e,_0x4032bb);},'JYSli':function(_0x460ae7,_0x5a3e43,_0x3b217c){return _0x460ae7(_0x5a3e43,_0x3b217c);},'BlOyq':_0x3ea0dd[_0x2c6830(0x217)],'EQHJN':function(_0x5ed836,_0x41cce1){return _0x3ea0dd['HDqfx'](_0x5ed836,_0x41cce1);}};let _0x4d32ca=![];const _0x3d31f0=_0x3c78d4=>{const _0x4b1e07=_0x2c6830;_0x3aa68e['rxFzk'](logDebug,_0x3aa68e[_0x4b1e07(0x205)],_0x3c78d4,_0x5576be);if(_0x3aa68e['mANCD'](_0x3c78d4['msgId'],_0x5576be)){_0x4d32ca=!![];let _0x5dac68=_0x3c78d4[_0x4b1e07(0x1ec)];if(_0x5dac68[_0x4b1e07(0x1f4)]('\x5c')){const _0x2863c8=sessionConfig[_0x4b1e07(0x1ee)];_0x3aa68e['JYSli'](logDebug,_0x3aa68e[_0x4b1e07(0x1fd)],_0x2863c8),_0x5dac68=_0x22b9c1[_0x4b1e07(0x1c3)](_0x2863c8,_0x5dac68);}_0x3aa68e[_0x4b1e07(0x1bb)](_0x318a28,_0x5dac68);}};downloadMediaTasks[_0x2c6830(0x207)](randomUUID(),_0x3d31f0),_0x3ea0dd[_0x2c6830(0x1f1)](setTimeout,()=>{const _0x262a11=_0x2c6830;!_0x4d32ca&&_0x4c34dd(_0x3ea0dd[_0x262a11(0x214)]);},_0x274dec),napCatCore[_0x2c6830(0x1fa)][_0x2c6830(0x1c1)]()[_0x2c6830(0x1a9)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5576be,'chatType':_0x29b30e,'peerUid':_0x14688d,'elementId':_0x35a352,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x539296});});}static async[_0x146e2b(0x1ac)](_0xc4a0c6){const _0x5045e5={'VzCkG':function(_0x414ddd,_0x22f0a1){return _0x414ddd(_0x22f0a1);},'qEKgc':function(_0x2a8b83,_0x191f7e,_0x28d1da){return _0x2a8b83(_0x191f7e,_0x28d1da);}};return new Promise((_0x5943b8,_0x51f708)=>{const _0x475dbd=_0x86af,_0x29d326={'OAZyo':function(_0x12cab1,_0x3c0357){return _0x5045e5['VzCkG'](_0x12cab1,_0x3c0357);}};_0x5045e5[_0x475dbd(0x1de)](_0x571c4a,_0xc4a0c6,(_0x4afaca,_0x2c3861)=>{const _0x38c869=_0x475dbd;_0x4afaca?_0x29d326[_0x38c869(0x1dd)](_0x51f708,_0x4afaca):_0x29d326[_0x38c869(0x1dd)](_0x5943b8,_0x2c3861);});});}static async[_0x146e2b(0x1c6)](_0x4bd897){const _0x18b4c2=_0x146e2b,_0x3ac886={'zPRWd':_0x18b4c2(0x1fc),'nhzgX':_0x18b4c2(0x1d8),'AnhSd':function(_0x23a36e,_0x1490e7){return _0x23a36e(_0x1490e7);},'ulklm':'获取图片rkey...','cllme':function(_0x512b05,_0x47eabd){return _0x512b05*_0x47eabd;},'iNqEc':function(_0x1fcd50,_0x473445){return _0x1fcd50(_0x473445);},'frDIU':function(_0x50aee4,_0x4f6bba){return _0x50aee4(_0x4f6bba);},'JobII':function(_0x517c4a,_0x3ceaa2){return _0x517c4a+_0x3ceaa2;},'kNEOg':function(_0x4db5cc,_0x27101f,_0x48aa1c){return _0x4db5cc(_0x27101f,_0x48aa1c);},'LahwU':function(_0x4e33b0,_0x1fca0f){return _0x4e33b0(_0x1fca0f);},'hENOh':function(_0x53eae4,_0x193134,_0x198047,_0x24b5a0){return _0x53eae4(_0x193134,_0x198047,_0x24b5a0);},'CdjEb':'图片rkey有误','NqQSy':function(_0x264c36){return _0x264c36();},'QUOwX':function(_0x56050a,_0x3f7bff){return _0x56050a(_0x3f7bff);},'WrGNA':function(_0x51c694,_0x18c9e5){return _0x51c694!==_0x18c9e5;},'WaPLP':_0x18b4c2(0x1e0),'CfsCm':_0x18b4c2(0x1b9),'nafho':_0x18b4c2(0x1ab),'mBdfZ':function(_0x1d3c5b,_0x352655){return _0x1d3c5b-_0x352655;},'aTZQG':function(_0x596f1e,_0x17aed9){return _0x596f1e+_0x17aed9;},'ZnaGn':function(_0x3734c7,_0x52a8c4){return _0x3734c7||_0x52a8c4;},'TzYIm':function(_0x42713c,_0x467430){return _0x42713c||_0x467430;},'wNJwH':_0x18b4c2(0x216)},_0x2b2a43=_0x3ac886[_0x18b4c2(0x20c)](_0x4bd897[_0x18b4c2(0x1ed)],ChatType[_0x18b4c2(0x1b3)]),_0x395be0=_0x4bd897[_0x18b4c2(0x1d6)][_0x18b4c2(0x1df)](_0x3ba220=>!!_0x3ba220[_0x18b4c2(0x1e4)]);if(!_0x395be0)return'';const _0x202565=_0x395be0[_0x18b4c2(0x1e4)][_0x18b4c2(0x1be)],_0x517467=_0x395be0[_0x18b4c2(0x1e4)][_0x18b4c2(0x21a)],_0x2a8343=_0x395be0[_0x18b4c2(0x1e4)]['md5HexStr'],_0x43050c=_0x395be0[_0x18b4c2(0x1e4)][_0x18b4c2(0x1f7)],_0xb62c3f=_0x10efb3=>{_0x2b2a43?(privateImageRKey=_0x10efb3,lastGetPrivateRKeyTime=Date['now']()):(groupImageRKey=_0x10efb3,lastGetGroupRKeyTime=Date['now']());};if(_0x202565){if(_0x202565[_0x18b4c2(0x1f4)](_0x3ac886[_0x18b4c2(0x1e2)])){if(_0x202565['includes'](_0x3ac886[_0x18b4c2(0x202)]))return IMAGE_HTTP_HOST_NT+_0x202565;if(!hookApi[_0x18b4c2(0x1e3)]())return _0x3ac886[_0x18b4c2(0x1d1)](logDebug,_0x3ac886[_0x18b4c2(0x1da)]),'';const _0x2f3836=async()=>{const _0x1b43b3=_0x18b4c2,_0x34cfe8={'XyPqp':function(_0x5f5a5a,_0x4eaae7){return _0x5f5a5a(_0x4eaae7);},'zadNW':_0x3ac886[_0x1b43b3(0x1d0)],'wFYyp':_0x3ac886[_0x1b43b3(0x1b0)]};_0x3ac886['AnhSd'](logDebug,_0x3ac886['ulklm']),NTQQFileApi[_0x1b43b3(0x208)](_0x4bd897['msgId'],_0x4bd897[_0x1b43b3(0x1ed)],_0x4bd897[_0x1b43b3(0x209)],_0x395be0[_0x1b43b3(0x212)],'',_0x395be0[_0x1b43b3(0x1e4)][_0x1b43b3(0x21b)],_0x3ac886['cllme'](0x3e8,0x1e),![])[_0x1b43b3(0x1cd)](_0xc0ae37=>{})[_0x1b43b3(0x1bd)](logError),await _0x3ac886[_0x1b43b3(0x1b6)](sleep,0x3e8),_0x3ac886['frDIU'](logDebug,_0x1b43b3(0x1c5));const _0x46ce19=hookApi[_0x1b43b3(0x1ad)]()||'',_0x479c8a=_0x3ac886[_0x1b43b3(0x1e7)](_0x3ac886[_0x1b43b3(0x1e7)](IMAGE_HTTP_HOST_NT,_0x202565),_0x46ce19);if(_0x46ce19)try{_0x3ac886['kNEOg'](logDebug,_0x1b43b3(0x1ca),_0x479c8a),await new Promise((_0x5952ba,_0x92b16d)=>{const _0x4c6a21=_0x1b43b3,_0x213822={'GChFH':function(_0x2f0508,_0x3d9011){const _0x54912c=_0x86af;return _0x34cfe8[_0x54912c(0x20d)](_0x2f0508,_0x3d9011);},'aTQJb':_0x34cfe8[_0x4c6a21(0x218)]};_0xaf5c56[_0x4c6a21(0x213)](_0x479c8a,_0x251ea0=>{const _0x33b07d=_0x4c6a21;_0x251ea0['statusCode']!==0xc8?_0x213822[_0x33b07d(0x1d7)](_0x92b16d,_0x213822[_0x33b07d(0x201)]):_0x213822[_0x33b07d(0x1d7)](_0x5952ba,_0x251ea0);})['on'](_0x34cfe8[_0x4c6a21(0x1aa)],_0x359ab1=>{const _0x22fbca=_0x4c6a21;_0x34cfe8[_0x22fbca(0x20d)](_0x92b16d,_0x359ab1);});}),_0x3ac886['kNEOg'](logDebug,_0x1b43b3(0x1a8),_0x479c8a),_0x3ac886[_0x1b43b3(0x219)](_0xb62c3f,_0x46ce19);}catch(_0x4d27bb){return _0x3ac886[_0x1b43b3(0x1bc)](logError,_0x3ac886[_0x1b43b3(0x1fb)],_0x479c8a,_0x4d27bb),'';}return _0x46ce19;},_0x1857c4=new Promise((_0x28f411,_0x4d6c39)=>{getRKeyTaskQueue['addTask'](async()=>{const _0xd8f1c0=await _0x3ac886['NqQSy'](_0x2f3836);_0x3ac886['QUOwX'](_0x28f411,_0xd8f1c0);});}),_0x65985c=_0x2b2a43?privateImageRKey:groupImageRKey,_0x18f3a7=_0x2b2a43?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x3ac886[_0x18b4c2(0x1e6)](Date[_0x18b4c2(0x1f0)](),_0x18f3a7)>rkeyExpireTime||!_0x65985c){const _0x3e163c=await _0x1857c4;if(_0x3e163c)return _0x3ac886['JobII'](IMAGE_HTTP_HOST_NT+_0x202565,''+_0x3e163c);else _0x3ac886[_0x18b4c2(0x1f3)](logError,_0x3ac886[_0x18b4c2(0x1d0)],_0x202565);}if(_0x65985c)return _0x3ac886[_0x18b4c2(0x1c0)](IMAGE_HTTP_HOST_NT,_0x202565)+(''+_0x65985c);return'';}else return IMAGE_HTTP_HOST+_0x202565;}else{if(_0x3ac886[_0x18b4c2(0x1d2)](_0x2a8343,_0x517467))return IMAGE_HTTP_HOST+_0x18b4c2(0x1c4)+_0x3ac886['TzYIm'](_0x2a8343,_0x517467)[_0x18b4c2(0x1c2)]()+'/0';}return logDebug(_0x3ac886[_0x18b4c2(0x1af)],_0x4bd897),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x19c3e4=!![]){return'';}static[_0x146e2b(0x1b5)](){return'';}static['clearCache'](_0x1b7400=['tmp','hotUpdate']){const _0x87e938=_0x146e2b;return napCatCore[_0x87e938(0x1fa)][_0x87e938(0x1f8)]()[_0x87e938(0x204)](_0x1b7400);}static[_0x146e2b(0x211)](_0x11f47c={}){const _0x40aea8=_0x146e2b;return napCatCore['session']['getStorageCleanService']()[_0x40aea8(0x1b2)](_0x11f47c);}static['scanCache'](){const _0x578b78=_0x146e2b;return napCatCore[_0x578b78(0x1fa)]['getStorageCleanService']()['scanCache']();}static[_0x146e2b(0x1c7)](){return'';}static[_0x146e2b(0x1b4)](){return'';}static[_0x146e2b(0x1cb)](_0x5ea93c,_0x1c521e=0x3e8,_0x2f8f3a=0x0){const _0x3f324c=_0x146e2b;return napCatCore[_0x3f324c(0x1fa)][_0x3f324c(0x1f8)]()[_0x3f324c(0x1e5)](_0x5ea93c,_0x1c521e,0x1,_0x2f8f3a);}static[_0x146e2b(0x210)](_0x139780,_0xd017d7=0x3e8,_0x1c93ab){const _0x3ca21d=_0x1c93ab?_0x1c93ab:{'fileType':_0x139780};}static async[_0x146e2b(0x1c8)](_0x4f8d02=[],_0x4d0c01=[]){const _0x47c074=_0x146e2b;return napCatCore[_0x47c074(0x1fa)]['getStorageCleanService']()[_0x47c074(0x1ef)](_0x4f8d02,_0x4d0c01);}} \ 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 a709c875..87e6bde4 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x1f741d=_0x4d08;function _0x4d08(_0x20818f,_0x324c6b){const _0x115ac5=_0x115a();return _0x4d08=function(_0x4d087b,_0x36e777){_0x4d087b=_0x4d087b-0x1b7;let _0x1a5658=_0x115ac5[_0x4d087b];return _0x1a5658;},_0x4d08(_0x20818f,_0x324c6b);}(function(_0x2d6f9f,_0x142462){const _0x46c479=_0x4d08,_0x17214b=_0x2d6f9f();while(!![]){try{const _0x1d46cb=-parseInt(_0x46c479(0x1c1))/0x1*(-parseInt(_0x46c479(0x1c6))/0x2)+-parseInt(_0x46c479(0x1c9))/0x3*(-parseInt(_0x46c479(0x1c3))/0x4)+-parseInt(_0x46c479(0x1c8))/0x5+-parseInt(_0x46c479(0x1bf))/0x6+parseInt(_0x46c479(0x1d0))/0x7*(-parseInt(_0x46c479(0x1b9))/0x8)+-parseInt(_0x46c479(0x1c0))/0x9*(-parseInt(_0x46c479(0x1c2))/0xa)+parseInt(_0x46c479(0x1bc))/0xb*(parseInt(_0x46c479(0x1c4))/0xc);if(_0x1d46cb===_0x142462)break;else _0x17214b['push'](_0x17214b['shift']());}catch(_0x6e1017){_0x17214b['push'](_0x17214b['shift']());}}}(_0x115a,0x24cfa));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();function _0x115a(){const _0x11505e=['uin','onBuddyListChange','getFriends','24dQNBkd','uid','friendUid','253OKTReP','获取好友列表完成','buddyList','1206426PnDYch','1560699OcHHWH','15218ZTIPGf','10BNxpZm','4ErtcaH','161484uFYWxL','approvalFriendRequest','14WDjFXJ','YlekP','148505sTXUBk','69567EasIvo','IAsTn','getBuddyService','获取好友列表超时','getBuddyList','byrYK','ggkvq','539203QfKchG','KRVQS','set','then','push','nUgdR','开始获取好友列表','AVUmB','session'];_0x115a=function(){return _0x11505e;};return _0x115a();}buddyListener[_0x1f741d(0x1b7)]=_0x2621bf=>{const _0x140226=_0x1f741d,_0x35fe4c={'KRVQS':function(_0x57ac27,_0x53a4ee){return _0x57ac27(_0x53a4ee);}};for(const [_0x280d02,_0xeed68]of buddyChangeTasks){_0x35fe4c[_0x140226(0x1d1)](_0xeed68,_0x2621bf),buddyChangeTasks['delete'](_0x280d02);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x1f741d(0x1b8)](_0x50e5bb=![]){const _0x53a3e3=_0x1f741d,_0x2cec2b={'byrYK':function(_0x176c71,_0x2dacb8){return _0x176c71(_0x2dacb8);},'AVUmB':function(_0x33b1e8,_0x1d7ff3,_0x34e009){return _0x33b1e8(_0x1d7ff3,_0x34e009);},'YlekP':_0x53a3e3(0x1bd),'nUgdR':function(_0x39e94d,_0x5407bd){return _0x39e94d(_0x5407bd);},'eGEfA':_0x53a3e3(0x1d6),'ggkvq':function(_0x3e1f03,_0x26ef4e,_0x502604){return _0x3e1f03(_0x26ef4e,_0x502604);},'IAsTn':function(_0x2f4475){return _0x2f4475();}};return new Promise((_0x364fad,_0x4553e6)=>{const _0x327d7f=_0x53a3e3;let _0x4178e0=![];_0x2cec2b[_0x327d7f(0x1cf)](setTimeout,()=>{const _0x162e24=_0x327d7f;!_0x4178e0&&(_0x2cec2b['byrYK'](logDebug,_0x162e24(0x1cc)),_0x2cec2b[_0x162e24(0x1ce)](_0x4553e6,_0x162e24(0x1cc)));},0x1388);const _0x5afeba=[],_0x45f85e=_0x22a404=>{const _0x48cd91=_0x327d7f;for(const _0x4f0713 of _0x22a404){for(const _0x48fb97 of _0x4f0713[_0x48cd91(0x1be)]){_0x5afeba[_0x48cd91(0x1d4)](_0x48fb97),uid2UinMap[_0x48fb97[_0x48cd91(0x1ba)]]=_0x48fb97[_0x48cd91(0x1d9)];}}_0x4178e0=!![],_0x2cec2b[_0x48cd91(0x1d7)](logDebug,_0x2cec2b[_0x48cd91(0x1c7)],_0x5afeba),_0x2cec2b[_0x48cd91(0x1d5)](_0x364fad,_0x5afeba);};buddyChangeTasks[_0x327d7f(0x1d2)](_0x2cec2b[_0x327d7f(0x1ca)](randomUUID),_0x45f85e),napCatCore[_0x327d7f(0x1d8)][_0x327d7f(0x1cb)]()[_0x327d7f(0x1cd)](_0x50e5bb)[_0x327d7f(0x1d3)](_0x380881=>{const _0x19bd71=_0x327d7f;_0x2cec2b[_0x19bd71(0x1d7)](logDebug,_0x2cec2b['eGEfA'],_0x380881);});});}static async['handleFriendRequest'](_0x252624,_0x466bb6){const _0x116cc2=_0x1f741d;napCatCore[_0x116cc2(0x1d8)][_0x116cc2(0x1cb)]()?.[_0x116cc2(0x1c5)]({'friendUid':_0x252624[_0x116cc2(0x1bb)],'reqTime':_0x252624['reqTime'],'accept':_0x466bb6});}} \ No newline at end of file +const _0x327915=_0x564b;(function(_0x2e46de,_0x32429){const _0x25e762=_0x564b,_0x54d6c9=_0x2e46de();while(!![]){try{const _0x4d804f=parseInt(_0x25e762(0x141))/0x1+parseInt(_0x25e762(0x148))/0x2*(-parseInt(_0x25e762(0x12f))/0x3)+parseInt(_0x25e762(0x132))/0x4*(parseInt(_0x25e762(0x12d))/0x5)+parseInt(_0x25e762(0x136))/0x6+-parseInt(_0x25e762(0x142))/0x7+parseInt(_0x25e762(0x149))/0x8+parseInt(_0x25e762(0x138))/0x9;if(_0x4d804f===_0x32429)break;else _0x54d6c9['push'](_0x54d6c9['shift']());}catch(_0x3a2885){_0x54d6c9['push'](_0x54d6c9['shift']());}}}(_0x5b8c,0xeef4e));function _0x5b8c(){const _0x3261b2=['JpBwQ','friendUid','349292rZMGNe','reqTime','uid','Bltxv','3198366VaHWrP','rEjUL','4904334BJWSZt','getBuddyService','push','NSGct','approvalFriendRequest','addListener','uin','delete','onBuddyListChange','1782105sxSTUD','8412243LcAaMR','getBuddyList','erKVn','开始获取好友列表','getFriends','获取好友列表超时','2197058AvBzFy','557280jXZTqm','ysELY','rbzhB','onLoginSuccess','then','buddyList','session','20UKwLKb','获取好友列表完成','3vYxReh'];_0x5b8c=function(){return _0x3261b2;};return _0x5b8c();}import{BuddyListener,napCatCore}from'@/core';function _0x564b(_0x347121,_0x4157c3){const _0x5b8ce7=_0x5b8c();return _0x564b=function(_0x564b28,_0x4847e6){_0x564b28=_0x564b28-0x128;let _0x35e1df=_0x5b8ce7[_0x564b28];return _0x35e1df;},_0x564b(_0x347121,_0x4157c3);}import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x327915(0x140)]=_0x37416c=>{const _0x50bfe2=_0x327915,_0x529cf1={'EArLC':function(_0x3676f4,_0x2762b7){return _0x3676f4(_0x2762b7);}};for(const [_0x22967e,_0x11e636]of buddyChangeTasks){_0x529cf1['EArLC'](_0x11e636,_0x37416c),buddyChangeTasks[_0x50bfe2(0x13f)](_0x22967e);}},setTimeout(()=>{const _0xa7114d=_0x327915;napCatCore[_0xa7114d(0x129)](()=>{const _0x988e4=_0xa7114d;napCatCore[_0x988e4(0x13d)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x327915(0x146)](_0x87cae5=![]){const _0x3d612f=_0x327915,_0x383a4a={'ysELY':function(_0x377aef,_0x630508){return _0x377aef(_0x630508);},'Bltxv':function(_0x302a07,_0x739814,_0x47d689){return _0x302a07(_0x739814,_0x47d689);},'erKVn':_0x3d612f(0x145),'NSGct':function(_0x9fad3f,_0x1428b9){return _0x9fad3f(_0x1428b9);},'rEjUL':_0x3d612f(0x147),'xkKTE':function(_0xfa4d95){return _0xfa4d95();}};return new Promise((_0xb5ffe5,_0x53cb63)=>{const _0xd25d1f=_0x3d612f,_0x4db5ff={'JpBwQ':function(_0x46165b,_0x23dcb3){const _0x17f1ef=_0x564b;return _0x383a4a[_0x17f1ef(0x13b)](_0x46165b,_0x23dcb3);},'rbzhB':_0x383a4a[_0xd25d1f(0x137)]};let _0x4e386c=![];_0x383a4a[_0xd25d1f(0x135)](setTimeout,()=>{const _0x25b6a5=_0xd25d1f;!_0x4e386c&&(_0x4db5ff[_0x25b6a5(0x130)](logDebug,_0x4db5ff[_0x25b6a5(0x128)]),_0x4db5ff['JpBwQ'](_0x53cb63,_0x4db5ff['rbzhB']));},0x1388);const _0x59b5fb=[],_0x4020d5=_0x1158ce=>{const _0x5d7db9=_0xd25d1f;for(const _0x2405ca of _0x1158ce){for(const _0x527fe3 of _0x2405ca[_0x5d7db9(0x12b)]){_0x59b5fb[_0x5d7db9(0x13a)](_0x527fe3),uid2UinMap[_0x527fe3[_0x5d7db9(0x134)]]=_0x527fe3[_0x5d7db9(0x13e)];}}_0x4e386c=!![],logDebug(_0x5d7db9(0x12e),_0x59b5fb),_0x383a4a[_0x5d7db9(0x14a)](_0xb5ffe5,_0x59b5fb);};buddyChangeTasks['set'](_0x383a4a['xkKTE'](randomUUID),_0x4020d5),napCatCore[_0xd25d1f(0x12c)][_0xd25d1f(0x139)]()[_0xd25d1f(0x143)](_0x87cae5)[_0xd25d1f(0x12a)](_0x248b5d=>{const _0x59fb5e=_0xd25d1f;_0x383a4a[_0x59fb5e(0x135)](logDebug,_0x383a4a[_0x59fb5e(0x144)],_0x248b5d);});});}static async['handleFriendRequest'](_0x1cf1f1,_0x5252ac){const _0x33a2ff=_0x327915;napCatCore[_0x33a2ff(0x12c)][_0x33a2ff(0x139)]()?.[_0x33a2ff(0x13c)]({'friendUid':_0x1cf1f1[_0x33a2ff(0x131)],'reqTime':_0x1cf1f1[_0x33a2ff(0x133)],'accept':_0x5252ac});}} \ 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 01b673ce..f2d2a987 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x1f1238=_0x2a58;(function(_0x41594d,_0x555fc7){const _0x57b31c=_0x2a58,_0x220d65=_0x41594d();while(!![]){try{const _0x4584df=-parseInt(_0x57b31c(0x200))/0x1*(parseInt(_0x57b31c(0x1fb))/0x2)+parseInt(_0x57b31c(0x1e4))/0x3*(parseInt(_0x57b31c(0x20f))/0x4)+parseInt(_0x57b31c(0x1e9))/0x5*(-parseInt(_0x57b31c(0x1e3))/0x6)+-parseInt(_0x57b31c(0x1dc))/0x7+-parseInt(_0x57b31c(0x1f4))/0x8+-parseInt(_0x57b31c(0x1dd))/0x9*(parseInt(_0x57b31c(0x1e8))/0xa)+parseInt(_0x57b31c(0x20c))/0xb;if(_0x4584df===_0x555fc7)break;else _0x220d65['push'](_0x220d65['shift']());}catch(_0xac0764){_0x220d65['push'](_0x220d65['shift']());}}}(_0x48b2,0xa26b8));function _0x2a58(_0x5260c2,_0x309c0c){const _0x48b294=_0x48b2();return _0x2a58=function(_0x2a586c,_0x5c7a3e){_0x2a586c=_0x2a586c-0x1dc;let _0x57e5a4=_0x48b294[_0x2a586c];return _0x57e5a4;},_0x2a58(_0x5260c2,_0x309c0c);}import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';function _0x48b2(){const _0x12232c=['获取群(','onLoginSuccess','kickMember','VeufR','setMemberRole','getGroupService','获取群列表超时','createMemberListScene','finish','47877302EXiQKa','gIUhO','modifyMemberCardName','4rmoacm','cnqsZ','getGroupList','banGroup','gLRvX','MmKMn','session','onGroupListUpdate','7361235rVcZzv','9QYCYcp','eTYYF','type','setGroupName','uid','uin','2358QxKBZq','502887fgfjkw','addListener','publishGroupBulletin','modifyMemberRole','10279250fUmZhX','15435kdifZy','xxfBp','result','setMemberShutUp','uDIyt','forEach',')成员列表结果:','EaQZC','setGroupShutUp','getGroupIgnoreNotifies','handleGroupRequest','2663448jqfMYe','getGroupNotifies','获取群列表完成','获取群成员列表出错,','kDLFy','errMsg','groupMemberList_MainWindow','58bsszlb','banMember','infos','setMemberCard','setGroupTitle','7903liStHF','quitGroup','getNextMemberList'];_0x48b2=function(){return _0x12232c;};return _0x48b2();}const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x1f1238(0x216)]=(_0x5692ed,_0x27ae74)=>{const _0x5758e6=_0x1f1238,_0x4acd12={'EaQZC':function(_0xd43082,_0x1fdca2,_0x4ae18a){return _0xd43082(_0x1fdca2,_0x4ae18a);}};for(const [_0x58a03d,_0x20b251]of groupMemberTasks){_0x4acd12[_0x5758e6(0x1f0)](_0x20b251,_0x5692ed,_0x27ae74),groupMemberTasks['delete'](_0x58a03d);}},setTimeout(()=>{const _0xc10ba4=_0x1f1238;napCatCore[_0xc10ba4(0x204)](()=>{const _0x3ad8ef=_0xc10ba4;napCatCore[_0x3ad8ef(0x1e5)](groupListener);});},0x64);export class NTQQGroupApi{static async['getGroups'](_0x278679=![]){const _0x4c3b51=_0x1f1238,_0xe26ab9={'xxfBp':function(_0x5e6e98,_0x3b7710){return _0x5e6e98(_0x3b7710);},'uDIyt':_0x4c3b51(0x209),'kDLFy':function(_0x13a63e,_0x23e708,_0x191c9b){return _0x13a63e(_0x23e708,_0x191c9b);},'VeufR':_0x4c3b51(0x1f6),'gLRvX':function(_0xb5b17c){return _0xb5b17c();}};let _0x2af397=![];return new Promise((_0x490174,_0x176227)=>{const _0x24b1b6=_0x4c3b51;_0xe26ab9[_0x24b1b6(0x1f8)](setTimeout,()=>{const _0x2f48ae=_0x24b1b6;!_0x2af397&&(_0xe26ab9[_0x2f48ae(0x1ea)](logDebug,_0xe26ab9[_0x2f48ae(0x1ed)]),_0x176227(_0xe26ab9[_0x2f48ae(0x1ed)]));},0x1388);const _0x3f7835=(_0x13327a,_0x58dada)=>{const _0x2f798d=_0x24b1b6;_0x2af397=!![],_0xe26ab9[_0x2f798d(0x1f8)](logDebug,_0xe26ab9[_0x2f798d(0x206)],_0x58dada),_0x490174(_0x58dada);};groupMemberTasks['set'](_0xe26ab9[_0x24b1b6(0x213)](randomUUID),_0x3f7835),napCatCore[_0x24b1b6(0x215)][_0x24b1b6(0x208)]()[_0x24b1b6(0x211)](_0x278679)['then']();});}static async['getGroupMembers'](_0x3d1c2b,_0x834c7f=0xbb8){const _0x3608f2=_0x1f1238,_0x4922bb={'gIUhO':_0x3608f2(0x1fa),'QTjFo':function(_0x179853,_0x51b6af){return _0x179853+_0x51b6af;},'MmKMn':_0x3608f2(0x1f7),'cnqsZ':function(_0xbd4539,_0x145abd,_0x333bd8){return _0xbd4539(_0x145abd,_0x333bd8);}},_0x1b508a=napCatCore[_0x3608f2(0x215)][_0x3608f2(0x208)](),_0x3f9f35=_0x1b508a[_0x3608f2(0x20a)](_0x3d1c2b,_0x4922bb[_0x3608f2(0x20d)]),_0x59ea85=await _0x1b508a[_0x3608f2(0x202)](_0x3f9f35,undefined,_0x834c7f);if(_0x59ea85['errCode']!==0x0)throw _0x4922bb['QTjFo'](_0x4922bb[_0x3608f2(0x214)],_0x59ea85[_0x3608f2(0x1f9)]);return _0x4922bb[_0x3608f2(0x210)](logDebug,_0x3608f2(0x203)+_0x3d1c2b+_0x3608f2(0x1ef),'finish:\x20'+_0x59ea85[_0x3608f2(0x1eb)][_0x3608f2(0x20b)]),_0x59ea85[_0x3608f2(0x1eb)][_0x3608f2(0x1fd)][_0x3608f2(0x1ee)](_0xa5bd9f=>{const _0x5dec7e=_0x3608f2;uid2UinMap[_0xa5bd9f[_0x5dec7e(0x1e1)]]=_0xa5bd9f[_0x5dec7e(0x1e2)];}),_0x59ea85['result']['infos'];}static async[_0x1f1238(0x1f5)](){}static async[_0x1f1238(0x1f2)](){}static async[_0x1f1238(0x1f3)](_0x49ac9f,_0x456fea,_0x533f7e){const _0x2db2b5=_0x1f1238,_0x1c0af9={'eTYYF':function(_0xff266b,_0x318e4d){return _0xff266b||_0x318e4d;}};return napCatCore[_0x2db2b5(0x215)][_0x2db2b5(0x208)]()['operateSysNotify'](![],{'operateType':_0x456fea,'targetMsg':{'seq':_0x49ac9f['seq'],'type':_0x49ac9f[_0x2db2b5(0x1df)],'groupCode':_0x49ac9f['group']['groupCode'],'postscript':_0x1c0af9[_0x2db2b5(0x1de)](_0x533f7e,'')}});}static async[_0x1f1238(0x201)](_0x490f9b){const _0x37d8fe=_0x1f1238;return napCatCore[_0x37d8fe(0x215)]['getGroupService']()['quitGroup'](_0x490f9b);}static async['kickMember'](_0x3a4250,_0x45748e,_0xf95df5=![],_0x4c1e05=''){const _0x525b39=_0x1f1238;return napCatCore['session'][_0x525b39(0x208)]()[_0x525b39(0x205)](_0x3a4250,_0x45748e,_0xf95df5,_0x4c1e05);}static async[_0x1f1238(0x1fc)](_0x290722,_0x350a8b){const _0x43ab39=_0x1f1238;return napCatCore[_0x43ab39(0x215)][_0x43ab39(0x208)]()[_0x43ab39(0x1ec)](_0x290722,_0x350a8b);}static async[_0x1f1238(0x212)](_0x36689d,_0x55a7ed){const _0x129306=_0x1f1238;return napCatCore[_0x129306(0x215)][_0x129306(0x208)]()[_0x129306(0x1f1)](_0x36689d,_0x55a7ed);}static async[_0x1f1238(0x1fe)](_0x3731ab,_0x5ec9b6,_0x1d5191){const _0x523483=_0x1f1238;return napCatCore[_0x523483(0x215)][_0x523483(0x208)]()[_0x523483(0x20e)](_0x3731ab,_0x5ec9b6,_0x1d5191);}static async[_0x1f1238(0x207)](_0xc865e6,_0x57e9f6,_0x2503e5){const _0x3c975f=_0x1f1238;return napCatCore['session'][_0x3c975f(0x208)]()[_0x3c975f(0x1e7)](_0xc865e6,_0x57e9f6,_0x2503e5);}static async[_0x1f1238(0x1e0)](_0x37527f,_0x526648){const _0x4b42e2=_0x1f1238;return napCatCore[_0x4b42e2(0x215)]['getGroupService']()['modifyGroupName'](_0x37527f,_0x526648,![]);}static async[_0x1f1238(0x1ff)](_0x1d8f9d,_0x33231d,_0x3b1b24){}static[_0x1f1238(0x1e6)](_0x2d4ce5,_0x3953d6,_0x140813){}} \ No newline at end of file +const _0x4117c0=_0x32e9;function _0x32e9(_0x46c978,_0xb4f6d){const _0x22ae42=_0x22ae();return _0x32e9=function(_0x32e9c0,_0x245e7a){_0x32e9c0=_0x32e9c0-0x1e0;let _0x4246be=_0x22ae42[_0x32e9c0];return _0x4246be;},_0x32e9(_0x46c978,_0xb4f6d);}(function(_0x1c25d3,_0x3d3eee){const _0x1ffc4a=_0x32e9,_0x2f6cf3=_0x1c25d3();while(!![]){try{const _0x50f461=parseInt(_0x1ffc4a(0x205))/0x1+parseInt(_0x1ffc4a(0x210))/0x2+parseInt(_0x1ffc4a(0x1e0))/0x3+parseInt(_0x1ffc4a(0x1ed))/0x4*(-parseInt(_0x1ffc4a(0x206))/0x5)+-parseInt(_0x1ffc4a(0x1f7))/0x6+parseInt(_0x1ffc4a(0x201))/0x7+-parseInt(_0x1ffc4a(0x1e3))/0x8*(-parseInt(_0x1ffc4a(0x1f6))/0x9);if(_0x50f461===_0x3d3eee)break;else _0x2f6cf3['push'](_0x2f6cf3['shift']());}catch(_0x439ed){_0x2f6cf3['push'](_0x2f6cf3['shift']());}}}(_0x22ae,0x401d7));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x22ae(){const _0x151f7f=['getGroupIgnoreNotifies','111708qjmtnm','banGroup','seq','RYGUp','938760OdGaMt','operateSysNotify','kickMember','8lmmAtI','type','RJSIJ','getGroupService','addListener','groupMemberList_MainWindow','JkDJN','banMember','tfldH','result','4oYaxgs','setMemberRole','onGroupListUpdate','uin','wdLbd','infos','quitGroup','getGroups','errMsg','2745702FIOMNx','1961250ceEpZw','setMemberShutUp','mMazC','pZrUV','getGroupList','BtVNT','modifyGroupName','publishGroupBulletin','leciQ','set','1980755QwXvEg','setGroupTitle','获取群(','session','60976qEXIhD','2141515VVSApw','forEach','createMemberListScene','then','wBaZI','Xvbcl','onLoginSuccess','setGroupShutUp','getGroupNotifies'];_0x22ae=function(){return _0x151f7f;};return _0x22ae();}import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x4117c0(0x1ef)]=(_0x11623a,_0x4ba834)=>{const _0x165050=_0x4117c0,_0x6b5fd5={'JkDJN':function(_0x3f3722,_0x54da1a,_0x17feeb){return _0x3f3722(_0x54da1a,_0x17feeb);}};for(const [_0x32a922,_0x5169c8]of groupMemberTasks){_0x6b5fd5[_0x165050(0x1e9)](_0x5169c8,_0x11623a,_0x4ba834),groupMemberTasks['delete'](_0x32a922);}},setTimeout(()=>{const _0x9f8a77=_0x4117c0;napCatCore[_0x9f8a77(0x20c)](()=>{const _0xf96da5=_0x9f8a77;napCatCore[_0xf96da5(0x1e7)](groupListener);});},0x64);export class NTQQGroupApi{static async[_0x4117c0(0x1f4)](_0x384c3f=![]){const _0x5a8d26={'RJSIJ':'获取群列表完成','leciQ':function(_0x10b158,_0x182605){return _0x10b158(_0x182605);},'wBaZI':function(_0x456820,_0x15f14b,_0x339ecb){return _0x456820(_0x15f14b,_0x339ecb);},'pZrUV':function(_0x5a7172){return _0x5a7172();}};let _0x45761f=![];return new Promise((_0x2e073e,_0x40c989)=>{const _0x1b3105=_0x32e9,_0xba3f4c={'tlOxK':function(_0x46f305,_0x2e813a){const _0x250dd0=_0x32e9;return _0x5a8d26[_0x250dd0(0x1ff)](_0x46f305,_0x2e813a);},'wdLbd':'获取群列表超时'};_0x5a8d26[_0x1b3105(0x20a)](setTimeout,()=>{const _0x167917=_0x1b3105;!_0x45761f&&(_0xba3f4c['tlOxK'](logDebug,_0xba3f4c[_0x167917(0x1f1)]),_0x40c989('获取群列表超时'));},0x1388);const _0x402bee=(_0x5e8d50,_0x5261af)=>{const _0x356efc=_0x1b3105;_0x45761f=!![],logDebug(_0x5a8d26[_0x356efc(0x1e5)],_0x5261af),_0x2e073e(_0x5261af);};groupMemberTasks[_0x1b3105(0x200)](_0x5a8d26[_0x1b3105(0x1fa)](randomUUID),_0x402bee),napCatCore[_0x1b3105(0x204)]['getGroupService']()[_0x1b3105(0x1fb)](_0x384c3f)[_0x1b3105(0x209)]();});}static async['getGroupMembers'](_0x4c3874,_0x26dce9=0xbb8){const _0x40924a=_0x4117c0,_0x2b3024={'BtVNT':_0x40924a(0x1e8),'RYGUp':function(_0x48366c,_0x3e1e81){return _0x48366c!==_0x3e1e81;},'Xvbcl':function(_0x5eff69,_0x21c846){return _0x5eff69+_0x21c846;},'tfldH':'获取群成员列表出错,'},_0x3e0d4d=napCatCore[_0x40924a(0x204)][_0x40924a(0x1e6)](),_0x2790e7=_0x3e0d4d[_0x40924a(0x208)](_0x4c3874,_0x2b3024[_0x40924a(0x1fc)]),_0x3b3c22=await _0x3e0d4d['getNextMemberList'](_0x2790e7,undefined,_0x26dce9);if(_0x2b3024[_0x40924a(0x213)](_0x3b3c22['errCode'],0x0))throw _0x2b3024[_0x40924a(0x20b)](_0x2b3024[_0x40924a(0x1eb)],_0x3b3c22[_0x40924a(0x1f5)]);return logDebug(_0x40924a(0x203)+_0x4c3874+')成员列表结果:','finish:\x20'+_0x3b3c22[_0x40924a(0x1ec)]['finish']),_0x3b3c22[_0x40924a(0x1ec)][_0x40924a(0x1f2)][_0x40924a(0x207)](_0x3d4138=>{const _0x583e3e=_0x40924a;uid2UinMap[_0x3d4138['uid']]=_0x3d4138[_0x583e3e(0x1f0)];}),_0x3b3c22[_0x40924a(0x1ec)]['infos'];}static async[_0x4117c0(0x20e)](){}static async[_0x4117c0(0x20f)](){}static async['handleGroupRequest'](_0x30cc02,_0x47e024,_0x579870){const _0x4f5653=_0x4117c0,_0xc19e3f={'mMazC':function(_0x51ad3f,_0xc8d462){return _0x51ad3f||_0xc8d462;}};return napCatCore[_0x4f5653(0x204)][_0x4f5653(0x1e6)]()[_0x4f5653(0x1e1)](![],{'operateType':_0x47e024,'targetMsg':{'seq':_0x30cc02[_0x4f5653(0x212)],'type':_0x30cc02[_0x4f5653(0x1e4)],'groupCode':_0x30cc02['group']['groupCode'],'postscript':_0xc19e3f[_0x4f5653(0x1f9)](_0x579870,'')}});}static async[_0x4117c0(0x1f3)](_0x343004){const _0x3cfe5c=_0x4117c0;return napCatCore[_0x3cfe5c(0x204)]['getGroupService']()[_0x3cfe5c(0x1f3)](_0x343004);}static async[_0x4117c0(0x1e2)](_0x3ba511,_0x13220b,_0x4da536=![],_0x540ef8=''){const _0x53b16f=_0x4117c0;return napCatCore[_0x53b16f(0x204)][_0x53b16f(0x1e6)]()[_0x53b16f(0x1e2)](_0x3ba511,_0x13220b,_0x4da536,_0x540ef8);}static async[_0x4117c0(0x1ea)](_0x2a86ef,_0xef1cf0){const _0x1b7e30=_0x4117c0;return napCatCore[_0x1b7e30(0x204)][_0x1b7e30(0x1e6)]()[_0x1b7e30(0x1f8)](_0x2a86ef,_0xef1cf0);}static async[_0x4117c0(0x211)](_0x2c7628,_0x2118b4){const _0x3e5797=_0x4117c0;return napCatCore[_0x3e5797(0x204)][_0x3e5797(0x1e6)]()[_0x3e5797(0x20d)](_0x2c7628,_0x2118b4);}static async['setMemberCard'](_0x40ceea,_0x375a98,_0x891d54){const _0x3493ed=_0x4117c0;return napCatCore[_0x3493ed(0x204)][_0x3493ed(0x1e6)]()['modifyMemberCardName'](_0x40ceea,_0x375a98,_0x891d54);}static async[_0x4117c0(0x1ee)](_0xc26315,_0x280845,_0x539612){const _0x3c5519=_0x4117c0;return napCatCore[_0x3c5519(0x204)][_0x3c5519(0x1e6)]()['modifyMemberRole'](_0xc26315,_0x280845,_0x539612);}static async['setGroupName'](_0x28a5e7,_0x1bc90b){const _0x538d62=_0x4117c0;return napCatCore[_0x538d62(0x204)][_0x538d62(0x1e6)]()[_0x538d62(0x1fd)](_0x28a5e7,_0x1bc90b,![]);}static async[_0x4117c0(0x202)](_0x110cb4,_0x12534b,_0x437310){}static[_0x4117c0(0x1fe)](_0xa17595,_0xa53e2f,_0x2f522e){}} \ 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 257a33df..a147db7c 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x4b4437,_0x3418f6){var _0x40793a=_0x4dcd,_0x2554a2=_0x4b4437();while(!![]){try{var _0x37b85a=parseInt(_0x40793a(0x12a))/0x1+-parseInt(_0x40793a(0x129))/0x2*(parseInt(_0x40793a(0x128))/0x3)+-parseInt(_0x40793a(0x12b))/0x4*(-parseInt(_0x40793a(0x12c))/0x5)+parseInt(_0x40793a(0x12e))/0x6+-parseInt(_0x40793a(0x12d))/0x7*(-parseInt(_0x40793a(0x130))/0x8)+-parseInt(_0x40793a(0x12f))/0x9+-parseInt(_0x40793a(0x127))/0xa;if(_0x37b85a===_0x3418f6)break;else _0x2554a2['push'](_0x2554a2['shift']());}catch(_0x56c0d1){_0x2554a2['push'](_0x2554a2['shift']());}}}(_0x321e,0xa4730));export*from'./file';export*from'./friend';function _0x4dcd(_0x5e1df5,_0x307927){var _0x321e85=_0x321e();return _0x4dcd=function(_0x4dcd88,_0x38ce22){_0x4dcd88=_0x4dcd88-0x127;var _0x36f7b9=_0x321e85[_0x4dcd88];return _0x36f7b9;},_0x4dcd(_0x5e1df5,_0x307927);}function _0x321e(){var _0x3175bc=['1745790fXwXnn','3463113BHncev','2UeKita','769750CBVLkI','32828bCYjNB','5ypcbrx','245vlVtfQ','3254706GYofLY','3980556FpbXaL','257008sPlaKr'];_0x321e=function(){return _0x3175bc;};return _0x321e();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi'; \ No newline at end of file +function _0xbc1b(_0x3e9440,_0x4dd314){var _0x328cfa=_0x328c();return _0xbc1b=function(_0xbc1b91,_0x21cbab){_0xbc1b91=_0xbc1b91-0x139;var _0x23d317=_0x328cfa[_0xbc1b91];return _0x23d317;},_0xbc1b(_0x3e9440,_0x4dd314);}(function(_0x2a9ad9,_0x105444){var _0x4df036=_0xbc1b,_0x4404de=_0x2a9ad9();while(!![]){try{var _0xd6ff50=-parseInt(_0x4df036(0x13a))/0x1*(parseInt(_0x4df036(0x13e))/0x2)+-parseInt(_0x4df036(0x142))/0x3*(-parseInt(_0x4df036(0x143))/0x4)+-parseInt(_0x4df036(0x13b))/0x5*(parseInt(_0x4df036(0x140))/0x6)+-parseInt(_0x4df036(0x13d))/0x7+parseInt(_0x4df036(0x13c))/0x8+parseInt(_0x4df036(0x13f))/0x9+parseInt(_0x4df036(0x141))/0xa*(parseInt(_0x4df036(0x139))/0xb);if(_0xd6ff50===_0x105444)break;else _0x4404de['push'](_0x4404de['shift']());}catch(_0x5225ed){_0x4404de['push'](_0x4404de['shift']());}}}(_0x328c,0xcd7fc));export*from'./file';function _0x328c(){var _0x5319a9=['722LahlVI','55GwkVRA','13245072IDasaX','10379320ajSNYf','2086ucOfUp','1829565losmEC','315870NhUrBy','20LjcJxA','152457babiKn','120kEUETL','1502248smLhhN'];_0x328c=function(){return _0x5319a9;};return _0x328c();}export*from'./friend';export*from'./group';export*from'./msg';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 2adc0978..9e33c90e 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x5c9ace=_0x4324;(function(_0xe8d6c4,_0x4171a0){const _0x5b48d1=_0x4324,_0x23bf9b=_0xe8d6c4();while(!![]){try{const _0x13c5ae=-parseInt(_0x5b48d1(0x9d))/0x1*(parseInt(_0x5b48d1(0x87))/0x2)+parseInt(_0x5b48d1(0x9b))/0x3*(parseInt(_0x5b48d1(0xa1))/0x4)+-parseInt(_0x5b48d1(0x8c))/0x5*(-parseInt(_0x5b48d1(0x7a))/0x6)+parseInt(_0x5b48d1(0x88))/0x7+-parseInt(_0x5b48d1(0xa5))/0x8*(parseInt(_0x5b48d1(0xac))/0x9)+parseInt(_0x5b48d1(0x81))/0xa+parseInt(_0x5b48d1(0x9a))/0xb*(parseInt(_0x5b48d1(0x7b))/0xc);if(_0x13c5ae===_0x4171a0)break;else _0x23bf9b['push'](_0x23bf9b['shift']());}catch(_0x396baf){_0x23bf9b['push'](_0x23bf9b['shift']());}}}(_0x56f8,0xac511));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x56f8(){const _0x48e7cb=['nick','GogPH','oeLLa','XOMRE','getMsgsByMsgId','KfOJw','com.tencent.multimsg','kkbpn','getMsgsIncludeSelf','sendStatus','parse','53625HwUYDG','537213YZHNtR','ysaoy','427583BHMhSr','getMsgsBySeqAndCount','jLWGT','dFhqk','28SwlnCV','NhRuK','recallMsg','app','7424WHIHyp','setMsgRead','fbBAn','DYyDu','activateChat','session','chatType','11709JbMISO','msgId','catch','XHonz','DZdDa','CKfPG','multiForwardMsgWithComment','senderUid','multiForwardMsg','AardK','forEach','peerUid','getMsgService','length','setMsgEmojiLikes','then','ARNxc','obBhr','390492InmJPI','168vwexJH','发送超时','map','onAddSendMsg','GIRYp','onMsgInfoListUpdate','11954070hHhLKT','forwardMsg','uid','sendMsg','setEmojiLike','auZeu','6uDidWU','1562106DPjDXZ','getMsgHistory','转发消息超时','guildId','35vwRBSN','fffAi','CcmYS'];_0x56f8=function(){return _0x48e7cb;};return _0x56f8();}function _0x4324(_0x2473a9,_0xb5d37e){const _0x56f8ee=_0x56f8();return _0x4324=function(_0x432425,_0x1a58de){_0x432425=_0x432425-0x70;let _0x219d35=_0x56f8ee[_0x432425];return _0x219d35;},_0x4324(_0x2473a9,_0xb5d37e);}const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x5c9ace(0x7e)]=_0x44e05c=>{const _0x358784=_0x5c9ace,_0x13ec51={'XHonz':function(_0xd651f4,_0x1002ee){return _0xd651f4(_0x1002ee);}};for(const [_0x1dab96,_0x4a7e31]of sentMsgTasks){_0x13ec51[_0x358784(0xaf)](_0x4a7e31,_0x44e05c),sentMsgTasks['delete'](_0x1dab96);}if(sendMessagePool[_0x44e05c[_0x358784(0x73)]]){const _0x118f7b=sendMessagePool[_0x44e05c[_0x358784(0x73)]]?.(_0x44e05c);_0x118f7b instanceof Promise&&_0x118f7b[_0x358784(0x77)]()[_0x358784(0xae)](logError);}},msgListener[_0x5c9ace(0x80)]=_0x46e009=>{const _0x25b619=_0x5c9ace,_0x4fcbed={'XOMRE':function(_0x5e9e5b,_0x2cf4c3){return _0x5e9e5b(_0x2cf4c3);},'auZeu':function(_0x353bbd,_0x1dab54){return _0x353bbd instanceof _0x1dab54;}};_0x46e009[_0x25b619(0x72)](_0x2c59a2=>{const _0x23020f=_0x25b619,_0x269431={'jLWGT':function(_0x23960c,_0x8e3285){const _0x121484=_0x4324;return _0x4fcbed[_0x121484(0x92)](_0x23960c,_0x8e3285);},'FgAKO':function(_0x4aef82,_0x5593b9){const _0x44ab99=_0x4324;return _0x4fcbed[_0x44ab99(0x86)](_0x4aef82,_0x5593b9);}};new Promise((_0x4c418c,_0x3f7635)=>{const _0x1b5368=_0x4324;for(const _0x4b447d in sendSuccessCBMap){const _0x468571=sendSuccessCBMap[_0x4b447d],_0x2686fb=_0x269431[_0x1b5368(0x9f)](_0x468571,_0x2c59a2),_0x38a234=_0x377012=>{_0x377012&&delete sendSuccessCBMap[_0x4b447d];};_0x269431['FgAKO'](_0x2686fb,Promise)?_0x2686fb[_0x1b5368(0x77)](_0x38a234):_0x269431[_0x1b5368(0x9f)](_0x38a234,_0x2686fb);}})[_0x23020f(0x77)]()[_0x23020f(0xae)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5c9ace(0x85)](_0x5ad647,_0x11a330,_0x198e71,_0x244e6a=!![]){const _0x48877a=_0x5c9ace,_0x2f71cd={'NhRuK':function(_0x1322e1,_0x1df9aa){return _0x1322e1>_0x1df9aa;}};return napCatCore[_0x48877a(0xaa)][_0x48877a(0x74)]()[_0x48877a(0x76)](_0x5ad647,_0x11a330,_0x198e71,_0x2f71cd[_0x48877a(0xa2)](_0x198e71[_0x48877a(0x75)],0x3)?'2':'1',_0x244e6a);}static async['getMultiMsg'](_0x48f405,_0x59bb95,_0x521e81){const _0x5eda5f=_0x5c9ace;return napCatCore[_0x5eda5f(0xaa)][_0x5eda5f(0x74)]()['getMultiMsg'](_0x48f405,_0x59bb95,_0x521e81);}static async[_0x5c9ace(0x93)](_0x1d58cc,_0x38bdc2){const _0x4dfa4c=_0x5c9ace;return await napCatCore[_0x4dfa4c(0xaa)][_0x4dfa4c(0x74)]()['getMsgsByMsgId'](_0x1d58cc,_0x38bdc2);}static async['getMsgsBySeqAndCount'](_0x254005,_0x11c4b2,_0xebbc2b,_0x2781b2,_0x47b77b){const _0x5316f3=_0x5c9ace;return await napCatCore['session'][_0x5316f3(0x74)]()[_0x5316f3(0x9e)](_0x254005,_0x11c4b2,_0xebbc2b,_0x2781b2,_0x47b77b);}static async[_0x5c9ace(0xa9)](_0xd7d3d9){}static async['activateChatAndGetHistory'](_0x536090){}static async[_0x5c9ace(0xa6)](_0x2f83b3){const _0x50303e=_0x5c9ace;return napCatCore[_0x50303e(0xaa)]['getMsgService']()[_0x50303e(0xa6)](_0x2f83b3['chatType'],_0x2f83b3[_0x50303e(0x73)],_0x2f83b3[_0x50303e(0x8b)]);}static async[_0x5c9ace(0x89)](_0x54220d,_0x4904cb,_0xb47bcb){const _0x147d69=_0x5c9ace;return napCatCore['session']['getMsgService']()[_0x147d69(0x97)](_0x54220d,_0x4904cb,_0xb47bcb,!![]);}static async['fetchRecentContact'](){}static async[_0x5c9ace(0xa3)](_0x7d6520,_0x29ba8e){const _0x2e788a=_0x5c9ace;await napCatCore['session'][_0x2e788a(0x74)]()['recallMsg']({'chatType':_0x7d6520[_0x2e788a(0xab)],'peerUid':_0x7d6520[_0x2e788a(0x73)]},_0x29ba8e);}static async[_0x5c9ace(0x84)](_0x94a30,_0x46a8f6,_0x3b2aec=!![],_0x2381ca=0x2710){const _0x354d5b=_0x5c9ace,_0x27f048={'GIRYp':function(_0x5e8914,_0x104231){return _0x5e8914>_0x104231;},'fbBAn':_0x354d5b(0x7c),'PKpzv':function(_0x10c212){return _0x10c212();},'AardK':function(_0x4b980e,_0x1bd702){return _0x4b980e(_0x1bd702);},'dFhqk':function(_0x582d8b,_0x5689f6){return _0x582d8b===_0x5689f6;},'fffAi':function(_0x312601,_0x383f8c,_0x5e1fa2){return _0x312601(_0x383f8c,_0x5e1fa2);},'CcmYS':function(_0x2d982d){return _0x2d982d();}},_0x4d6d42=_0x94a30[_0x354d5b(0x73)];let _0x140365=0x0;const _0x48d7eb=async()=>{const _0x143a26=_0x354d5b;if(_0x27f048[_0x143a26(0x7f)](_0x140365,_0x2381ca))throw _0x27f048[_0x143a26(0xa7)];const _0x114b96=sendMessagePool[_0x94a30[_0x143a26(0x73)]];if(_0x114b96)return await sleep(0x1f4),_0x140365+=0x1f4,await _0x27f048['PKpzv'](_0x48d7eb);else return;};return await _0x27f048[_0x354d5b(0x8e)](_0x48d7eb),new Promise((_0xab25a5,_0x3d5f53)=>{const _0x570313=_0x354d5b,_0x384fd6={'oeLLa':function(_0x1ac58f,_0x506534){const _0x4f249f=_0x4324;return _0x27f048[_0x4f249f(0xa0)](_0x1ac58f,_0x506534);},'IPzog':function(_0x5656c6,_0x522e85){const _0x18bedc=_0x4324;return _0x27f048[_0x18bedc(0x71)](_0x5656c6,_0x522e85);}};let _0x318b92=![],_0x7428dc=null;const _0x50a5ca=randomUUID();sendSuccessCBMap[_0x50a5ca]=_0x229225=>{const _0x25d132=_0x4324;if(_0x384fd6[_0x25d132(0x91)](_0x229225[_0x25d132(0xad)],_0x7428dc?.[_0x25d132(0xad)])){if(_0x384fd6[_0x25d132(0x91)](_0x229225[_0x25d132(0x98)],0x2))return delete sendSuccessCBMap[_0x50a5ca],_0x318b92=!![],_0x384fd6['IPzog'](_0xab25a5,_0x229225),!![];return![];}return![];},sendMessagePool[_0x4d6d42]=async _0x593fd8=>{delete sendMessagePool[_0x4d6d42],_0x7428dc=_0x593fd8;},_0x27f048[_0x570313(0x8d)](setTimeout,()=>{const _0x71b4=_0x570313;if(_0x318b92)return;delete sendMessagePool[_0x4d6d42],delete sendSuccessCBMap[_0x50a5ca],_0x27f048[_0x71b4(0x71)](_0x3d5f53,_0x27f048['fbBAn']);},_0x2381ca);const _0x3fb8f0=napCatCore[_0x570313(0xaa)]['getMsgService']()['sendMsg']('0',_0x94a30,_0x46a8f6,new Map());});}static async[_0x5c9ace(0x82)](_0x40d636,_0x477f5e,_0x174525){return napCatCore['session']['getMsgService']()['forwardMsg'](_0x174525,_0x40d636,[_0x477f5e],new Map());}static async[_0x5c9ace(0x70)](_0x27a3de,_0x1b86ea,_0x2b07e8){const _0x1f4df0=_0x5c9ace,_0x405181={'obBhr':function(_0x13626c,_0x1e99a4){return _0x13626c==_0x1e99a4;},'uboUc':function(_0x312b26,_0x5f3f30){return _0x312b26(_0x5f3f30);},'CKfPG':function(_0x5d4a21,_0x34143e){return _0x5d4a21(_0x34143e);},'zrfKR':_0x1f4df0(0x8a),'KfOJw':function(_0xf9b4fa){return _0xf9b4fa();},'ysaoy':function(_0x26eacc,_0x4e7f41,_0x770a0a){return _0x26eacc(_0x4e7f41,_0x770a0a);}},_0x2ad04c=_0x2b07e8[_0x1f4df0(0x7d)](_0x105755=>{const _0x5b01af=_0x1f4df0;return{'msgId':_0x105755,'senderShowName':selfInfo[_0x5b01af(0x8f)]};});return new Promise((_0x90d881,_0x1a60c5)=>{const _0x4518c7=_0x1f4df0,_0x324974={'DYyDu':function(_0x304801,_0x4b3d9f){return _0x304801!=_0x4b3d9f;},'ARNxc':_0x4518c7(0x95),'GogPH':function(_0x4f70fc,_0x36e1cb){const _0x41b5b2=_0x4518c7;return _0x405181[_0x41b5b2(0x79)](_0x4f70fc,_0x36e1cb);},'EwOcM':function(_0x5ae4d1,_0xcb2958){return _0x405181['obBhr'](_0x5ae4d1,_0xcb2958);},'TLEtp':function(_0x50fcb9,_0x1d2232){return _0x405181['uboUc'](_0x50fcb9,_0x1d2232);},'kkbpn':function(_0x206250,_0x200cb4){const _0x18e8e5=_0x4518c7;return _0x405181[_0x18e8e5(0xb1)](_0x206250,_0x200cb4);},'DZdDa':_0x405181['zrfKR']};let _0x4883a2=![];const _0x5a5826=_0x186ea8=>{const _0x171b67=_0x4518c7,_0x21189f=_0x186ea8['elements']['find'](_0x2cc274=>_0x2cc274['arkElement']);if(!_0x21189f)return;const _0x5db689=JSON[_0x171b67(0x99)](_0x21189f['arkElement']['bytesData']);if(_0x324974[_0x171b67(0xa8)](_0x5db689[_0x171b67(0xa4)],_0x324974[_0x171b67(0x78)]))return;_0x324974[_0x171b67(0x90)](_0x186ea8[_0x171b67(0x73)],_0x1b86ea[_0x171b67(0x73)])&&_0x324974['EwOcM'](_0x186ea8[_0x171b67(0xb3)],selfInfo[_0x171b67(0x83)])&&(_0x4883a2=!![],_0x324974['TLEtp'](_0x90d881,_0x186ea8));};sentMsgTasks['set'](_0x405181[_0x4518c7(0x94)](randomUUID),_0x5a5826),_0x405181[_0x4518c7(0x9c)](setTimeout,()=>{const _0x5c8c9f=_0x4518c7;!_0x4883a2&&_0x324974[_0x5c8c9f(0x96)](_0x1a60c5,_0x324974[_0x5c8c9f(0xb0)]);},0x1388),napCatCore[_0x4518c7(0xaa)][_0x4518c7(0x74)]()[_0x4518c7(0xb2)](_0x2ad04c,_0x27a3de,_0x1b86ea,[],new Map());});}} \ No newline at end of file +function _0x28d7(){const _0x3113a5=['28699380KSPsSr','3995058nefZEq','发送超时','forwardMsg','bJOKl','cWDmO','recallMsg','activateChatAndGetHistory','set','chatType','activateChat','getMsgService','jJpRM','aKpiC','1678885vhgUti','map','YfZeT','gmhtj','4bICKCu','XFqDf','peerUid','jjYKW','com.tencent.multimsg','ESmvd','setEmojiLike','转发消息超时','forEach','301058fEORZn','nick','getMsgHistory','7bGXYAh','senderUid','getMsgsByMsgId','getMsgsBySeqAndCount','uid','addListener','3470325wpNtqp','744123sALcig','msgId','multiForwardMsg','getMsgsIncludeSelf','dpoEn','5698032wYumtC','arkElement','sendMsg','onMsgInfoListUpdate','eMENi','LTUgv','catch','sendStatus','setMsgRead','zmsZl','elements','pObLc','session','then','guildId','fetchRecentContact','getMultiMsg','bytesData'];_0x28d7=function(){return _0x3113a5;};return _0x28d7();}const _0x4e6c8a=_0x13f2;(function(_0x413781,_0x596a07){const _0x59a2cf=_0x13f2,_0x124b40=_0x413781();while(!![]){try{const _0x419359=-parseInt(_0x59a2cf(0x156))/0x1+-parseInt(_0x59a2cf(0x14c))/0x2+-parseInt(_0x59a2cf(0x155))/0x3*(parseInt(_0x59a2cf(0x143))/0x4)+-parseInt(_0x59a2cf(0x13f))/0x5+-parseInt(_0x59a2cf(0x132))/0x6*(parseInt(_0x59a2cf(0x14f))/0x7)+parseInt(_0x59a2cf(0x15b))/0x8+parseInt(_0x59a2cf(0x131))/0x9;if(_0x419359===_0x596a07)break;else _0x124b40['push'](_0x124b40['shift']());}catch(_0x1d2245){_0x124b40['push'](_0x124b40['shift']());}}}(_0x28d7,0xcf09b));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onAddSendMsg']=_0x362fd0=>{const _0x4364d4=_0x13f2,_0x5a9ffa={'dpoEn':function(_0x5ca0f6,_0xc51b92){return _0x5ca0f6(_0xc51b92);},'XqGXl':function(_0x45f9bd,_0x50eb83){return _0x45f9bd instanceof _0x50eb83;}};for(const [_0x4b246f,_0x1b3ca6]of sentMsgTasks){_0x5a9ffa[_0x4364d4(0x15a)](_0x1b3ca6,_0x362fd0),sentMsgTasks['delete'](_0x4b246f);}if(sendMessagePool[_0x362fd0['peerUid']]){const _0x19dddc=sendMessagePool[_0x362fd0[_0x4364d4(0x145)]]?.(_0x362fd0);_0x5a9ffa['XqGXl'](_0x19dddc,Promise)&&_0x19dddc[_0x4364d4(0x168)]()[_0x4364d4(0x161)](logError);}},msgListener[_0x4e6c8a(0x15e)]=_0x2ccc39=>{const _0x266732=_0x4e6c8a,_0x428168={'zmsZl':function(_0x30c4a4,_0x5579c4){return _0x30c4a4(_0x5579c4);}};_0x2ccc39[_0x266732(0x14b)](_0x90f618=>{const _0x3439da=_0x266732,_0x4eef16={'pObLc':function(_0x3fb3d7,_0x10ce41){const _0x37cefd=_0x13f2;return _0x428168[_0x37cefd(0x164)](_0x3fb3d7,_0x10ce41);},'AqQKD':function(_0x15279f,_0x53c452){const _0x4f0df5=_0x13f2;return _0x428168[_0x4f0df5(0x164)](_0x15279f,_0x53c452);}};new Promise((_0x5aacb3,_0x43b9da)=>{const _0x6ab2a7=_0x13f2;for(const _0x4ceb2d in sendSuccessCBMap){const _0x4a31c1=sendSuccessCBMap[_0x4ceb2d],_0x1fb910=_0x4eef16[_0x6ab2a7(0x166)](_0x4a31c1,_0x90f618),_0x9637ee=_0x21dfb9=>{_0x21dfb9&&delete sendSuccessCBMap[_0x4ceb2d];};_0x1fb910 instanceof Promise?_0x1fb910['then'](_0x9637ee):_0x4eef16['AqQKD'](_0x9637ee,_0x1fb910);}})[_0x3439da(0x168)]()[_0x3439da(0x161)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x38b188=_0x13f2;napCatCore[_0x38b188(0x154)](msgListener);});},0x64);function _0x13f2(_0x3e8f55,_0x5b583f){const _0x28d7fb=_0x28d7();return _0x13f2=function(_0x13f2c7,_0x1ab9b4){_0x13f2c7=_0x13f2c7-0x12f;let _0x5f4ca6=_0x28d7fb[_0x13f2c7];return _0x5f4ca6;},_0x13f2(_0x3e8f55,_0x5b583f);}export class NTQQMsgApi{static async[_0x4e6c8a(0x149)](_0x4c5822,_0x31f2ad,_0x42c536,_0x537665=!![]){const _0x5c3102=_0x4e6c8a,_0x3c4cea={'Kabmi':function(_0x2c5008,_0x55e9f3){return _0x2c5008>_0x55e9f3;}};return napCatCore[_0x5c3102(0x167)][_0x5c3102(0x13c)]()['setMsgEmojiLikes'](_0x4c5822,_0x31f2ad,_0x42c536,_0x3c4cea['Kabmi'](_0x42c536['length'],0x3)?'2':'1',_0x537665);}static async[_0x4e6c8a(0x12f)](_0x444f0a,_0x2d4b2e,_0x4ada80){const _0x3f8c91=_0x4e6c8a;return napCatCore[_0x3f8c91(0x167)][_0x3f8c91(0x13c)]()[_0x3f8c91(0x12f)](_0x444f0a,_0x2d4b2e,_0x4ada80);}static async[_0x4e6c8a(0x151)](_0x38a71b,_0x49c9eb){const _0xdc934b=_0x4e6c8a;return await napCatCore[_0xdc934b(0x167)][_0xdc934b(0x13c)]()[_0xdc934b(0x151)](_0x38a71b,_0x49c9eb);}static async[_0x4e6c8a(0x152)](_0x38c187,_0x5260fe,_0x30a3cf,_0x186ba5,_0x576f94){const _0x131331=_0x4e6c8a;return await napCatCore[_0x131331(0x167)][_0x131331(0x13c)]()['getMsgsBySeqAndCount'](_0x38c187,_0x5260fe,_0x30a3cf,_0x186ba5,_0x576f94);}static async[_0x4e6c8a(0x13b)](_0x3c0e87){}static async[_0x4e6c8a(0x138)](_0x2454a5){}static async[_0x4e6c8a(0x163)](_0x158728){const _0x5c817a=_0x4e6c8a;return napCatCore[_0x5c817a(0x167)][_0x5c817a(0x13c)]()['setMsgRead'](_0x158728[_0x5c817a(0x13a)],_0x158728[_0x5c817a(0x145)],_0x158728[_0x5c817a(0x169)]);}static async[_0x4e6c8a(0x14e)](_0x106ebd,_0x45cbe2,_0xa5cb80){const _0x3e7713=_0x4e6c8a;return napCatCore[_0x3e7713(0x167)]['getMsgService']()[_0x3e7713(0x159)](_0x106ebd,_0x45cbe2,_0xa5cb80,!![]);}static async[_0x4e6c8a(0x16a)](){}static async[_0x4e6c8a(0x137)](_0x1cc9c8,_0x545d32){const _0x324f55=_0x4e6c8a;await napCatCore[_0x324f55(0x167)]['getMsgService']()[_0x324f55(0x137)]({'chatType':_0x1cc9c8[_0x324f55(0x13a)],'peerUid':_0x1cc9c8['peerUid']},_0x545d32);}static async[_0x4e6c8a(0x15d)](_0x5eed1d,_0x80d23d,_0x30736d=!![],_0x4b4e7b=0x2710){const _0x1a0cba=_0x4e6c8a,_0x469a6f={'mnfmm':function(_0x4382d2,_0x370005){return _0x4382d2>_0x370005;},'LTUgv':_0x1a0cba(0x133),'XFqDf':function(_0x3fa57a,_0x4f0344){return _0x3fa57a(_0x4f0344);},'ESmvd':function(_0x380138){return _0x380138();},'aKpiC':function(_0x3edc0d,_0x40f4bb){return _0x3edc0d===_0x40f4bb;},'cWDmO':function(_0x2ea7b2,_0x384202,_0x5cc509){return _0x2ea7b2(_0x384202,_0x5cc509);}},_0x5d27ec=_0x5eed1d[_0x1a0cba(0x145)];let _0x406f67=0x0;const _0x10d295=async()=>{const _0x34b081=_0x1a0cba;if(_0x469a6f['mnfmm'](_0x406f67,_0x4b4e7b))throw _0x469a6f[_0x34b081(0x160)];const _0x190fa8=sendMessagePool[_0x5eed1d[_0x34b081(0x145)]];if(_0x190fa8)return await _0x469a6f[_0x34b081(0x144)](sleep,0x1f4),_0x406f67+=0x1f4,await _0x469a6f[_0x34b081(0x148)](_0x10d295);else return;};return await _0x469a6f[_0x1a0cba(0x148)](_0x10d295),new Promise((_0x56f4f4,_0x51fd63)=>{const _0x1a4705=_0x1a0cba;let _0x3238a0=![],_0x1ec79a=null;const _0xf5231b=_0x469a6f[_0x1a4705(0x148)](randomUUID);sendSuccessCBMap[_0xf5231b]=_0x4a3a8f=>{const _0xd3b048=_0x1a4705;if(_0x469a6f[_0xd3b048(0x13e)](_0x4a3a8f[_0xd3b048(0x157)],_0x1ec79a?.[_0xd3b048(0x157)])){if(_0x469a6f[_0xd3b048(0x13e)](_0x4a3a8f[_0xd3b048(0x162)],0x2))return delete sendSuccessCBMap[_0xf5231b],_0x3238a0=!![],_0x469a6f[_0xd3b048(0x144)](_0x56f4f4,_0x4a3a8f),!![];return![];}return![];},sendMessagePool[_0x5d27ec]=async _0x3c1943=>{delete sendMessagePool[_0x5d27ec],_0x1ec79a=_0x3c1943;},_0x469a6f[_0x1a4705(0x136)](setTimeout,()=>{const _0x3088d3=_0x1a4705;if(_0x3238a0)return;delete sendMessagePool[_0x5d27ec],delete sendSuccessCBMap[_0xf5231b],_0x51fd63(_0x469a6f[_0x3088d3(0x160)]);},_0x4b4e7b);const _0x27a355=napCatCore['session'][_0x1a4705(0x13c)]()[_0x1a4705(0x15d)]('0',_0x5eed1d,_0x80d23d,new Map());});}static async['forwardMsg'](_0x365239,_0x15911d,_0x2924d1){const _0x1efea1=_0x4e6c8a;return napCatCore[_0x1efea1(0x167)][_0x1efea1(0x13c)]()[_0x1efea1(0x134)](_0x2924d1,_0x365239,[_0x15911d],new Map());}static async[_0x4e6c8a(0x158)](_0x435d61,_0x2e34e7,_0x516d3b){const _0x21d82d=_0x4e6c8a,_0x7fd1d1={'NZwqV':function(_0x447126,_0x2f9581){return _0x447126!=_0x2f9581;},'eMENi':function(_0x984458,_0xf12322){return _0x984458==_0xf12322;},'jJpRM':function(_0x1981d9,_0x222b13){return _0x1981d9(_0x222b13);},'TPPNP':_0x21d82d(0x14a),'gmhtj':function(_0x545e76,_0xce3c1b,_0x5e6182){return _0x545e76(_0xce3c1b,_0x5e6182);}},_0x311039=_0x516d3b[_0x21d82d(0x140)](_0x3ae240=>{const _0x3a227b=_0x21d82d;return{'msgId':_0x3ae240,'senderShowName':selfInfo[_0x3a227b(0x14d)]};});return new Promise((_0x3005dd,_0x340ab2)=>{const _0x3cdb5a=_0x21d82d,_0xd18a74={'jjYKW':function(_0x376b19,_0x359cf4){return _0x7fd1d1['NZwqV'](_0x376b19,_0x359cf4);},'YfZeT':function(_0x966f40,_0x357bfa){const _0x53090d=_0x13f2;return _0x7fd1d1[_0x53090d(0x15f)](_0x966f40,_0x357bfa);},'bJOKl':function(_0x60baeb,_0x43842f){const _0x275272=_0x13f2;return _0x7fd1d1[_0x275272(0x13d)](_0x60baeb,_0x43842f);},'ygEII':function(_0x4db9d7,_0xf7b18f){const _0x270914=_0x13f2;return _0x7fd1d1[_0x270914(0x13d)](_0x4db9d7,_0xf7b18f);},'tsknD':_0x7fd1d1['TPPNP']};let _0x28fff5=![];const _0x3c805d=_0xc212b6=>{const _0x428e9a=_0x13f2,_0x5389c5=_0xc212b6[_0x428e9a(0x165)]['find'](_0x16478b=>_0x16478b[_0x428e9a(0x15c)]);if(!_0x5389c5)return;const _0x3bec35=JSON['parse'](_0x5389c5['arkElement'][_0x428e9a(0x130)]);if(_0xd18a74[_0x428e9a(0x146)](_0x3bec35['app'],_0x428e9a(0x147)))return;_0xd18a74[_0x428e9a(0x141)](_0xc212b6[_0x428e9a(0x145)],_0x2e34e7[_0x428e9a(0x145)])&&_0xd18a74[_0x428e9a(0x141)](_0xc212b6[_0x428e9a(0x150)],selfInfo[_0x428e9a(0x153)])&&(_0x28fff5=!![],_0xd18a74[_0x428e9a(0x135)](_0x3005dd,_0xc212b6));};sentMsgTasks[_0x3cdb5a(0x139)](randomUUID(),_0x3c805d),_0x7fd1d1[_0x3cdb5a(0x142)](setTimeout,()=>{!_0x28fff5&&_0xd18a74['ygEII'](_0x340ab2,_0xd18a74['tsknD']);},0x1388),napCatCore[_0x3cdb5a(0x167)][_0x3cdb5a(0x13c)]()['multiForwardMsgWithComment'](_0x311039,_0x435d61,_0x2e34e7,[],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 77082dee..57b97fd6 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -var _0xc34f61=_0x1c7a;function _0x1c7a(_0xad08d6,_0x2300ab){var _0x3913e6=_0x3913();return _0x1c7a=function(_0x1c7a56,_0x4f1fc5){_0x1c7a56=_0x1c7a56-0x72;var _0x383b02=_0x3913e6[_0x1c7a56];return _0x383b02;},_0x1c7a(_0xad08d6,_0x2300ab);}(function(_0x43c954,_0x339c77){var _0x32f1d9=_0x1c7a,_0x35b5cf=_0x43c954();while(!![]){try{var _0x3d38ed=-parseInt(_0x32f1d9(0x87))/0x1+-parseInt(_0x32f1d9(0x81))/0x2*(parseInt(_0x32f1d9(0x79))/0x3)+parseInt(_0x32f1d9(0x72))/0x4*(parseInt(_0x32f1d9(0x86))/0x5)+-parseInt(_0x32f1d9(0x7b))/0x6+parseInt(_0x32f1d9(0x75))/0x7+parseInt(_0x32f1d9(0x7e))/0x8+parseInt(_0x32f1d9(0x84))/0x9*(parseInt(_0x32f1d9(0x7f))/0xa);if(_0x3d38ed===_0x339c77)break;else _0x35b5cf['push'](_0x35b5cf['shift']());}catch(_0x300140){_0x35b5cf['push'](_0x35b5cf['shift']());}}}(_0x3913,0x5d609));import{logDebug}from'@/common/utils/log';export class MusicSign{[_0xc34f61(0x73)];constructor(_0x358574){this['url']=_0x358574;}[_0xc34f61(0x85)](_0x3401c0){var _0xb78335=_0xc34f61,_0x136842={'gkRYJ':function(_0x1dd22a,_0x451502,_0x1727f5){return _0x1dd22a(_0x451502,_0x1727f5);},'SisWt':function(_0x23eb93,_0x143f1a){return _0x23eb93(_0x143f1a);},'WemOk':_0xb78335(0x77),'qVAcd':_0xb78335(0x82)};return new Promise((_0xc0ecf5,_0x31a979)=>{var _0x4e849f=_0xb78335,_0x23eb4c={'oNANh':function(_0x331c9c,_0x1de45d,_0x4b42ec){var _0xcd6d69=_0x1c7a;return _0x136842[_0xcd6d69(0x80)](_0x331c9c,_0x1de45d,_0x4b42ec);},'MJTFT':function(_0x5c47f9,_0x1e2bf7){var _0xb07e42=_0x1c7a;return _0x136842[_0xb07e42(0x74)](_0x5c47f9,_0x1e2bf7);}};_0x136842[_0x4e849f(0x80)](fetch,this[_0x4e849f(0x73)],{'method':_0x136842['WemOk'],'headers':{'Content-Type':_0x136842[_0x4e849f(0x7a)]},'body':JSON['stringify'](_0x3401c0)})[_0x4e849f(0x78)](_0x1255c3=>{var _0x2c90ff=_0x4e849f;return!_0x1255c3['ok']&&_0x31a979(_0x1255c3['statusText']),_0x1255c3[_0x2c90ff(0x7c)]();})[_0x4e849f(0x78)](_0x408361=>{var _0x10ab13=_0x4e849f;_0x23eb4c[_0x10ab13(0x7d)](logDebug,_0x10ab13(0x76),_0x408361),_0x23eb4c[_0x10ab13(0x83)](_0xc0ecf5,_0x408361);})['catch'](_0x4a5eec=>{var _0x25fb24=_0x4e849f;_0x23eb4c[_0x25fb24(0x83)](_0x31a979,_0x4a5eec);});});}}function _0x3913(){var _0x53932c=['then','3SSQRTv','qVAcd','2934282MVrQWU','json','oNANh','5184936ZqGbuy','10uyUbpL','gkRYJ','874222MXZZTC','application/json','MJTFT','5880357WmkFMk','sign','5qvYcLr','549042LVyUCP','1234292HcAojY','url','SisWt','1733270bfoCsh','音乐消息生成成功','POST'];_0x3913=function(){return _0x53932c;};return _0x3913();} \ No newline at end of file +function _0x1371(){var _0x4793ef=['zKNvo','POST','ylWlE','stringify','eGSZb','音乐消息生成成功','3842573ClTNPl','789790VQiXFB','42HWpbgl','then','10594112XlxlcW','url','Ehaay','sign','KUOdv','450792VRcmRa','974330rJPbvV','HmDrc','catch','840192kopfJB','json','418401ubuxyj'];_0x1371=function(){return _0x4793ef;};return _0x1371();}var _0x23b3aa=_0x4d96;(function(_0x53b1e4,_0x349af7){var _0xb4b8ef=_0x4d96,_0x2e6a39=_0x53b1e4();while(!![]){try{var _0x96ce6=parseInt(_0xb4b8ef(0x18f))/0x1+parseInt(_0xb4b8ef(0x190))/0x2+-parseInt(_0xb4b8ef(0x195))/0x3+parseInt(_0xb4b8ef(0x193))/0x4+parseInt(_0xb4b8ef(0x187))/0x5*(-parseInt(_0xb4b8ef(0x188))/0x6)+-parseInt(_0xb4b8ef(0x186))/0x7+parseInt(_0xb4b8ef(0x18a))/0x8;if(_0x96ce6===_0x349af7)break;else _0x2e6a39['push'](_0x2e6a39['shift']());}catch(_0x75665f){_0x2e6a39['push'](_0x2e6a39['shift']());}}}(_0x1371,0xa590d));function _0x4d96(_0x3d1c2f,_0x5c7b66){var _0x137148=_0x1371();return _0x4d96=function(_0x4d9690,_0x1aac65){_0x4d9690=_0x4d9690-0x181;var _0xe5dfb0=_0x137148[_0x4d9690];return _0xe5dfb0;},_0x4d96(_0x3d1c2f,_0x5c7b66);}import{logDebug}from'@/common/utils/log';export class MusicSign{[_0x23b3aa(0x18b)];constructor(_0x53fa4b){this['url']=_0x53fa4b;}[_0x23b3aa(0x18d)](_0x43cb2a){var _0x185715=_0x23b3aa,_0x37a66b={'ylWlE':function(_0x52b843,_0x53d245){return _0x52b843(_0x53d245);},'ZMnTO':_0x185715(0x185),'eGSZb':function(_0x548de7,_0x2137eb){return _0x548de7(_0x2137eb);},'HmDrc':function(_0xdbdb5a,_0x36baf9,_0x2dac2d){return _0xdbdb5a(_0x36baf9,_0x2dac2d);},'KUOdv':'application/json'};return new Promise((_0xed5963,_0x4f4aff)=>{var _0x233bc5=_0x185715,_0x334c4c={'zKNvo':function(_0x2417cf,_0xc697f6,_0x27c27f){return _0x2417cf(_0xc697f6,_0x27c27f);},'VNabJ':_0x37a66b['ZMnTO'],'Ehaay':function(_0x37993f,_0x5255ca){var _0x4d6b29=_0x4d96;return _0x37a66b[_0x4d6b29(0x184)](_0x37993f,_0x5255ca);}};_0x37a66b[_0x233bc5(0x191)](fetch,this[_0x233bc5(0x18b)],{'method':_0x233bc5(0x181),'headers':{'Content-Type':_0x37a66b[_0x233bc5(0x18e)]},'body':JSON[_0x233bc5(0x183)](_0x43cb2a)})[_0x233bc5(0x189)](_0x678827=>{var _0xce56=_0x233bc5;return!_0x678827['ok']&&_0x37a66b[_0xce56(0x182)](_0x4f4aff,_0x678827['statusText']),_0x678827[_0xce56(0x194)]();})[_0x233bc5(0x189)](_0x2dead6=>{var _0x2c7c00=_0x233bc5;_0x334c4c[_0x2c7c00(0x196)](logDebug,_0x334c4c['VNabJ'],_0x2dead6),_0xed5963(_0x2dead6);})[_0x233bc5(0x192)](_0xa4aeed=>{var _0x23d2c4=_0x233bc5;_0x334c4c[_0x23d2c4(0x18c)](_0x4f4aff,_0xa4aeed);});});}} \ 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 7231b635..3b73aa96 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x26c0d2=_0x5376;(function(_0x3a8653,_0xff7ae4){const _0x393673=_0x5376,_0x527cb0=_0x3a8653();while(!![]){try{const _0x53f9eb=parseInt(_0x393673(0x1f1))/0x1+parseInt(_0x393673(0x1e0))/0x2*(-parseInt(_0x393673(0x1d3))/0x3)+parseInt(_0x393673(0x200))/0x4+parseInt(_0x393673(0x1e7))/0x5*(parseInt(_0x393673(0x1eb))/0x6)+-parseInt(_0x393673(0x1e2))/0x7*(parseInt(_0x393673(0x1ee))/0x8)+-parseInt(_0x393673(0x1ec))/0x9+parseInt(_0x393673(0x1d0))/0xa*(parseInt(_0x393673(0x1e5))/0xb);if(_0x53f9eb===_0xff7ae4)break;else _0x527cb0['push'](_0x527cb0['shift']());}catch(_0x2c2235){_0x527cb0['push'](_0x527cb0['shift']());}}}(_0x1513,0xeaddf));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 _0x1513(){const _0x1b8f1e=['99768YRTHhG','3592323IiBwyo','keyIndex','520RWPPIf','getProfileService','getUserDetailInfo','1261568kOQbtW','setHeader','get','errMsg','delete','setStatus','uid','CreatTime','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','Nvlke','result','获取Pskey失败','getSkey','domainPskeyMap','oAVWC','2730568Lyhijb','wrHuF','rsTvy','now','getPskey','jdGGp','getMsgService','FzQFm','forceFetchClientKey','getProfileLikeService','30KXJJvm','LqgAd','getUserDetailInfoWithBizInfo','15768RsiOcV','getSelfInfo','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','then','getPSkey','getRobotUinRange','Skey','setSelfOnlineStatus','aZqXf','NtMCi','DyHvi','SnmtY','session','578oaAmHd','skey','57029PHyzid','response','gqCAF','800767LiUvZg','RuMpd','375UBjnma','getTicketService','clientKey','getUserDetailInfo\x20timeout'];_0x1513=function(){return _0x1b8f1e;};return _0x1513();}profileListener['onProfileDetailInfoChanged']=_0x5b3a54=>{const _0x13f896=_0x5376;userInfoCache[_0x5b3a54[_0x13f896(0x1f7)]]=_0x5b3a54,userDetailHandlers['forEach'](_0x1202b4=>_0x1202b4(_0x5b3a54));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);function _0x5376(_0xc5d526,_0x451ab1){const _0x151358=_0x1513();return _0x5376=function(_0x537631,_0x26583e){_0x537631=_0x537631-0x1cd;let _0x4989b3=_0x151358[_0x537631];return _0x4989b3;},_0x5376(_0xc5d526,_0x451ab1);}export class NTQQUserApi{static async[_0x26c0d2(0x1da)](_0x2b7d76,_0x19877e,_0x3f216d){const _0x184386=_0x26c0d2;return napCatCore[_0x184386(0x1df)][_0x184386(0x206)]()[_0x184386(0x1f6)]({'status':_0x2b7d76,'extStatus':_0x19877e,'batteryStatus':_0x3f216d});}static async['like'](_0x45c54a,_0x130422=0x1){const _0x38accd=_0x26c0d2;return napCatCore[_0x38accd(0x1df)][_0x38accd(0x1cf)]()['setBuddyProfileLike']({'friendUid':_0x45c54a,'sourceId':0x47,'doLikeCount':_0x130422,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x45070d){const _0x31075c=_0x26c0d2,_0x442a48=napCatCore[_0x31075c(0x1df)][_0x31075c(0x1ef)]()[_0x31075c(0x1f2)](_0x45070d);return{'result':_0x442a48?.['result'],'errMsg':_0x442a48?.[_0x31075c(0x1f4)]};}static async[_0x26c0d2(0x1d4)](){}static async['getUserInfo'](_0x273548){}static async[_0x26c0d2(0x1f0)](_0x3da231){const _0x2c8641=_0x26c0d2,_0x318897={'FzQFm':_0x2c8641(0x1ea),'SnmtY':function(_0x2df7ec,_0x105ed3){return _0x2df7ec===_0x105ed3;},'DyHvi':function(_0x5c4dda){return _0x5c4dda();},'mlMCb':function(_0x45556b,_0x14fda1,_0x1fabb3){return _0x45556b(_0x14fda1,_0x1fabb3);}},_0x2f33b1=napCatCore[_0x2c8641(0x1df)][_0x2c8641(0x1ef)]();return new Promise((_0x6ec6d6,_0x2d2d4f)=>{const _0x3ca180=_0x2c8641,_0x5c1eae=_0x318897[_0x3ca180(0x1dd)](randomUUID);let _0x41b6a4=![];_0x318897['mlMCb'](setTimeout,()=>{const _0x839059=_0x3ca180;!_0x41b6a4&&_0x2d2d4f(_0x318897[_0x839059(0x1cd)]);},0x1388),userDetailHandlers['set'](_0x5c1eae,_0x540da3=>{const _0x5dcc23=_0x3ca180;_0x318897[_0x5dcc23(0x1de)](_0x540da3[_0x5dcc23(0x1f7)],_0x3da231)&&(_0x41b6a4=!![],userDetailHandlers[_0x5dcc23(0x1f5)](_0x5c1eae),_0x6ec6d6(_0x540da3));}),_0x2f33b1[_0x3ca180(0x1d2)](_0x3da231,[0x0])[_0x3ca180(0x1d6)](_0x2d1419=>{});});}static async[_0x26c0d2(0x1d7)](_0x150bff){const _0x46402b=_0x26c0d2,_0x3e7185={'LqgAd':function(_0x440f45,_0x3ce3be){return _0x440f45===_0x3ce3be;},'LgCRd':function(_0x2322ca,_0x45d315,_0x4d1f31){return _0x2322ca(_0x45d315,_0x4d1f31);},'jdGGp':_0x46402b(0x1fc)},_0x4dc81b=await napCatCore[_0x46402b(0x1df)]['getTipOffService']()[_0x46402b(0x204)](_0x150bff,!![]);if(_0x3e7185[_0x46402b(0x1d1)](_0x4dc81b['result'],0x0)){const _0x3ad211=_0x4dc81b[_0x46402b(0x1fe)];return Object['fromEntries'](_0x3ad211);}else _0x3e7185['LgCRd'](logError,_0x3e7185[_0x46402b(0x205)],_0x4dc81b['errMsg']);return{};}static async['getRobotUinRange'](){const _0x4f62df=_0x26c0d2,_0x2e227c=await napCatCore['session']['getRobotService']()[_0x4f62df(0x1d8)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2e227c?.[_0x4f62df(0x1e3)]?.['robotUinRanges'];}static async[_0x26c0d2(0x1fd)](){const _0x14b713=_0x26c0d2,_0x5220ef={'oAVWC':function(_0x4297d1,_0x32917b){return _0x4297d1==_0x32917b;},'NtMCi':function(_0x44397a,_0x7c45f8){return _0x44397a>_0x7c45f8;},'RuMpd':function(_0x247a8e,_0x28d57b){return _0x247a8e-_0x28d57b;},'khUOV':function(_0x337943,_0x3ceda0){return _0x337943*_0x3ceda0;},'wrHuF':function(_0x3f47d8,_0x4c8c08){return _0x3f47d8!==_0x4c8c08;},'rsTvy':function(_0x272d3b,_0xacbb88){return _0x272d3b+_0xacbb88;},'Nvlke':function(_0x3e4188,_0x1042ef){return _0x3e4188+_0x1042ef;},'gqCAF':function(_0x3c8dd6,_0x138dbc){return _0x3c8dd6(_0x138dbc);},'aZqXf':_0x14b713(0x1e1)};try{if(_0x5220ef[_0x14b713(0x1ff)](Credentials[_0x14b713(0x1f8)],0x0)||_0x5220ef[_0x14b713(0x1dc)](_0x5220ef[_0x14b713(0x1e6)](Date[_0x14b713(0x203)](),Credentials[_0x14b713(0x1f8)]),_0x5220ef['khUOV'](0x3e8,0xe10))){const _0x1d9e09=await napCatCore[_0x14b713(0x1df)][_0x14b713(0x1e8)]()[_0x14b713(0x1ce)]('');if(_0x5220ef[_0x14b713(0x201)](_0x1d9e09[_0x14b713(0x1fb)],0x0))return'';const _0x398f58=_0x1d9e09[_0x14b713(0x1e9)],_0x2d84ff=_0x1d9e09[_0x14b713(0x1ed)],_0x48d02a=_0x5220ef[_0x14b713(0x202)](_0x5220ef[_0x14b713(0x1fa)](_0x5220ef[_0x14b713(0x1fa)](_0x14b713(0x1f9),selfInfo['uin'])+'&clientkey=',_0x398f58),_0x14b713(0x1d5))+_0x2d84ff,_0x45e8cf=await _0x5220ef[_0x14b713(0x1e4)](HttpGetCookies,_0x48d02a),_0xecb45=_0x45e8cf[_0x14b713(0x1f3)](_0x5220ef[_0x14b713(0x1db)]);if(!_0xecb45)return'';return Credentials['CreatTime']=Date['now'](),Credentials[_0x14b713(0x1d9)]=_0xecb45,_0xecb45;}return Credentials[_0x14b713(0x1d9)];}catch(_0xd60c47){}return undefined;}} \ No newline at end of file +const _0x307389=_0x4dc3;(function(_0x393c7f,_0x108825){const _0x5291c8=_0x4dc3,_0x25c461=_0x393c7f();while(!![]){try{const _0xa57e5c=-parseInt(_0x5291c8(0x19a))/0x1+parseInt(_0x5291c8(0x19b))/0x2*(-parseInt(_0x5291c8(0x189))/0x3)+parseInt(_0x5291c8(0x184))/0x4+-parseInt(_0x5291c8(0x168))/0x5*(-parseInt(_0x5291c8(0x187))/0x6)+parseInt(_0x5291c8(0x16c))/0x7+-parseInt(_0x5291c8(0x198))/0x8*(-parseInt(_0x5291c8(0x166))/0x9)+-parseInt(_0x5291c8(0x162))/0xa*(-parseInt(_0x5291c8(0x183))/0xb);if(_0xa57e5c===_0x108825)break;else _0x25c461['push'](_0x25c461['shift']());}catch(_0xd2ee15){_0x25c461['push'](_0x25c461['shift']());}}}(_0x53ab,0x55d06));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0x53ab(){const _0x2a8203=['session','getUserInfo','setHeader','getProfileService','setSelfOnlineStatus','fhNfA','getSkey','TcGEi','QRIfE','uid','CreatTime','skey','KuaZl','getRobotUinRange','addListener','like','bECLU','getProfileLikeService','then','toXpl','FuNOG','getRobotService','33xxFcUr','700200TBhGzB','DeVWJ','onProfileDetailInfoChanged','108ILZNoY','Nwjqg','3pYCcqs','getUserDetailInfo\x20timeout','GcKeM','fromEntries','&clientkey=','get','getMsgService','forEach','forceFetchClientKey','getUserDetailInfo','now','getUserDetailInfoWithBizInfo','set','robotUinRanges','eVYPe','8HeRnLp','ddxfH','407809OvsedH','586732hQKazz','response','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','onLoginSuccess','获取Pskey失败','delete','ikRsh','getSelfInfo','errMsg','10250kSPfIZ','keyIndex','result','getTicketService','2427417JcKIKZ','setQQAvatar','36355KnOQhy','Skey','domainPskeyMap','gHsKh','3317671LJTgNa'];_0x53ab=function(){return _0x2a8203;};return _0x53ab();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x4dc3(_0x4c2fb5,_0x46f474){const _0x53ab6d=_0x53ab();return _0x4dc3=function(_0x4dc32e,_0xaac5cc){_0x4dc32e=_0x4dc32e-0x161;let _0x4f1ddf=_0x53ab6d[_0x4dc32e];return _0x4f1ddf;},_0x4dc3(_0x4c2fb5,_0x46f474);}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x307389(0x186)]=_0x5576b7=>{const _0x381f6f=_0x307389;userInfoCache[_0x5576b7[_0x381f6f(0x176)]]=_0x5576b7,userDetailHandlers[_0x381f6f(0x190)](_0x1d6093=>_0x1d6093(_0x5576b7));},setTimeout(()=>{const _0x80aa56=_0x307389;napCatCore[_0x80aa56(0x19e)](()=>{const _0x1d3cd4=_0x80aa56;napCatCore[_0x1d3cd4(0x17b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x307389(0x171)](_0x4ebbc7,_0x4fac87,_0x359197){const _0x5d9505=_0x307389;return napCatCore['session'][_0x5d9505(0x18f)]()['setStatus']({'status':_0x4ebbc7,'extStatus':_0x4fac87,'batteryStatus':_0x359197});}static async[_0x307389(0x17c)](_0x2b2680,_0x49c782=0x1){const _0x48b0d5=_0x307389;return napCatCore[_0x48b0d5(0x16d)][_0x48b0d5(0x17e)]()['setBuddyProfileLike']({'friendUid':_0x2b2680,'sourceId':0x47,'doLikeCount':_0x49c782,'doLikeTollCount':0x0});}static async[_0x307389(0x167)](_0x1636c5){const _0x80080=_0x307389,_0x3d9c0e=napCatCore['session']['getProfileService']()[_0x80080(0x16f)](_0x1636c5);return{'result':_0x3d9c0e?.[_0x80080(0x164)],'errMsg':_0x3d9c0e?.[_0x80080(0x161)]};}static async[_0x307389(0x1a2)](){}static async[_0x307389(0x16e)](_0x24ed5c){}static async[_0x307389(0x192)](_0x33f445){const _0x3a1d85=_0x307389,_0x1ed0fc={'fhNfA':function(_0x24276a,_0x4a5857){return _0x24276a===_0x4a5857;},'DeVWJ':function(_0x561b96,_0x4e7607,_0x302fb5){return _0x561b96(_0x4e7607,_0x302fb5);}},_0x1b21b0=napCatCore[_0x3a1d85(0x16d)][_0x3a1d85(0x170)]();return new Promise((_0x3f5175,_0x246ce0)=>{const _0x3d1f14=_0x3a1d85,_0x4c6327={'eVYPe':_0x3d1f14(0x18a),'Nwjqg':function(_0x40b3af,_0x4e0c91){const _0x430f2d=_0x3d1f14;return _0x1ed0fc[_0x430f2d(0x172)](_0x40b3af,_0x4e0c91);},'TcGEi':function(_0x558e31,_0x4c66f3){return _0x558e31(_0x4c66f3);}},_0x11c4bd=randomUUID();let _0x5cd5c6=![];_0x1ed0fc[_0x3d1f14(0x185)](setTimeout,()=>{const _0x1d38b9=_0x3d1f14;!_0x5cd5c6&&_0x246ce0(_0x4c6327[_0x1d38b9(0x197)]);},0x1388),userDetailHandlers[_0x3d1f14(0x195)](_0x11c4bd,_0x18acdc=>{const _0x1270d2=_0x3d1f14;_0x4c6327[_0x1270d2(0x188)](_0x18acdc[_0x1270d2(0x176)],_0x33f445)&&(_0x5cd5c6=!![],userDetailHandlers[_0x1270d2(0x1a0)](_0x11c4bd),_0x4c6327[_0x1270d2(0x174)](_0x3f5175,_0x18acdc));}),_0x1b21b0[_0x3d1f14(0x194)](_0x33f445,[0x0])[_0x3d1f14(0x17f)](_0xf9e76a=>{});});}static async['getPSkey'](_0x387780){const _0x31589b=_0x307389,_0x2b4aa1=await napCatCore[_0x31589b(0x16d)]['getTipOffService']()['getPskey'](_0x387780,!![]);if(_0x2b4aa1[_0x31589b(0x164)]===0x0){const _0x1966c4=_0x2b4aa1[_0x31589b(0x16a)];return Object[_0x31589b(0x18c)](_0x1966c4);}else logError(_0x31589b(0x19f),_0x2b4aa1[_0x31589b(0x161)]);return{};}static async[_0x307389(0x17a)](){const _0x4e7fec=_0x307389,_0x2228b3=await napCatCore[_0x4e7fec(0x16d)][_0x4e7fec(0x182)]()[_0x4e7fec(0x17a)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x2228b3?.[_0x4e7fec(0x19c)]?.[_0x4e7fec(0x196)];}static async[_0x307389(0x173)](){const _0xf04b4b=_0x307389,_0xce48ca={'ikRsh':function(_0x570217,_0x24481e){return _0x570217==_0x24481e;},'toXpl':function(_0x135809,_0x36c90f){return _0x135809>_0x36c90f;},'FuNOG':function(_0x19adc0,_0x1f18a4){return _0x19adc0!==_0x1f18a4;},'bwyMY':function(_0x61e52d,_0x219979){return _0x61e52d+_0x219979;},'KuaZl':function(_0x48a359,_0x42b019){return _0x48a359+_0x42b019;},'GcKeM':function(_0x2d3b1f,_0x23bab8){return _0x2d3b1f+_0x23bab8;},'bECLU':function(_0x212939,_0x37bcb5){return _0x212939+_0x37bcb5;},'QRIfE':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','gHsKh':_0xf04b4b(0x19d),'ddxfH':function(_0x5013e0,_0xa2589a){return _0x5013e0(_0xa2589a);}};try{if(_0xce48ca[_0xf04b4b(0x1a1)](Credentials[_0xf04b4b(0x177)],0x0)||_0xce48ca[_0xf04b4b(0x180)](Date[_0xf04b4b(0x193)]()-Credentials[_0xf04b4b(0x177)],0x3e8*0xe10)){const _0x567ab4=await napCatCore['session'][_0xf04b4b(0x165)]()[_0xf04b4b(0x191)]('');if(_0xce48ca[_0xf04b4b(0x181)](_0x567ab4['result'],0x0))return'';const _0x1aa8c6=_0x567ab4['clientKey'],_0x5cd42b=_0x567ab4[_0xf04b4b(0x163)],_0x19b5ab=_0xce48ca['bwyMY'](_0xce48ca[_0xf04b4b(0x179)](_0xce48ca[_0xf04b4b(0x18b)](_0xce48ca[_0xf04b4b(0x179)](_0xce48ca[_0xf04b4b(0x17d)](_0xce48ca[_0xf04b4b(0x175)],selfInfo['uin']),_0xf04b4b(0x18d)),_0x1aa8c6),_0xce48ca[_0xf04b4b(0x16b)]),_0x5cd42b),_0x5c59d8=await _0xce48ca[_0xf04b4b(0x199)](HttpGetCookies,_0x19b5ab),_0x272a80=_0x5c59d8[_0xf04b4b(0x18e)](_0xf04b4b(0x178));if(!_0x272a80)return'';return Credentials[_0xf04b4b(0x177)]=Date[_0xf04b4b(0x193)](),Credentials['Skey']=_0x272a80,_0x272a80;}return Credentials[_0xf04b4b(0x169)];}catch(_0x5a2434){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.d.ts b/src/core.lib/src/apis/webapi.d.ts index 9229f5f1..3f1ada0d 100644 --- a/src/core.lib/src/apis/webapi.d.ts +++ b/src/core.lib/src/apis/webapi.d.ts @@ -15,7 +15,7 @@ interface WebApiGroupMember { qage: number; rm: number; } -interface WebApiGroupNoticeFeed { +export interface WebApiGroupNoticeFeed { u: number; fid: string; pubt: number; @@ -23,6 +23,11 @@ interface WebApiGroupNoticeFeed { text: string; text_face: string; title: string; + pics?: { + id: string; + w: string; + h: string; + }[]; }; type: number; fn: number; diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 46749634..97e0749c 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0xcacd8a=_0x3c2a;(function(_0x5e5f18,_0xcccbf8){const _0x580fad=_0x3c2a,_0x5e3bbb=_0x5e5f18();while(!![]){try{const _0x93658=-parseInt(_0x580fad(0x14a))/0x1+-parseInt(_0x580fad(0x12c))/0x2+-parseInt(_0x580fad(0x105))/0x3*(-parseInt(_0x580fad(0x147))/0x4)+parseInt(_0x580fad(0x100))/0x5+parseInt(_0x580fad(0x12e))/0x6+parseInt(_0x580fad(0x132))/0x7+-parseInt(_0x580fad(0x149))/0x8;if(_0x93658===_0xcccbf8)break;else _0x5e3bbb['push'](_0x5e3bbb['shift']());}catch(_0x399f33){_0x5e3bbb['push'](_0x5e3bbb['shift']());}}}(_0x1f96,0xa40d9));import{selfInfo}from'@/core/data';function _0x1f96(){const _0x5faa00=['&page_limit=20','uAtTx','WsNPX','JrOOg','EsANx','hxeKP','MKYMB','json','retcode','lnXgT','genBkn','yBiFX','qid=','lOHid','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','bdkgb','push','CMOVK','mModW','4hWtiwB','PmNEQ','4713072UFsRdA','67210jBJZLv','&end=','hxWVt','AdBIo','ANfXx','getGroupMembers','gbFZW','uin','&text=','XFpkI','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','pisRM','p_skey=','rpYec',';\x20p_uin=o','nupra','IENGp','xPvlD','QdjFe','GET','tekFA','iaPEw','htRlM','httpDataText','RqfnM','uyJwR','xfvDZ','qun.qq.com','CTlkK','httpDataJson','uBvbs','ceil','393635uhVsYo','QSIje','vvDTt','setGroupNotice','length','3764727bWgTpp','kYEKm','XkTlp','kjgDU','getGrouptNotice','YpgJe','pBhfj','hkxGM','TWFKT','ZOQHy','application/x-www-form-urlencoded','eeJWK','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','oErCa','HEAD','getSkey','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&group_code=','getPSkey','Vzgxf','NcFYj','&bkn=','POST','UnflL','ZORBX','xaDXl','LpqMD','JKZTL','ggXlD','UuBkX','GKVOI','sZvmS','CgtVJ','URKde','ivaFr','count','weIea','mems','1968124hMiVTx','errcode','3637236ikIXZi','btCBE','&page_start=','uWdHD','2607675qgwrUW',';\x20skey='];_0x1f96=function(){return _0x5faa00;};return _0x1f96();}import{NTQQUserApi}from'./user';function _0x3c2a(_0xc8fac3,_0x33f8f3){const _0x1f963e=_0x1f96();return _0x3c2a=function(_0x3c2adf,_0x57a49a){_0x3c2adf=_0x3c2adf-0xf8;let _0x2a6310=_0x1f963e[_0x3c2adf];return _0x2a6310;},_0x3c2a(_0xc8fac3,_0x33f8f3);}export class WebApi{static async['getGroupEssenceMsg'](_0x28075c,_0x3e2d36){const _0x355e6d=_0x3c2a,_0xd3c7f9={'uyJwR':_0x355e6d(0xfb),'xaDXl':function(_0x194e63,_0x45b52e){return _0x194e63+_0x45b52e;},'JKZTL':function(_0x397638,_0x425844){return _0x397638+_0x425844;},'URKde':function(_0x5a0b35,_0x167a55){return _0x5a0b35+_0x167a55;},'zUbUl':_0x355e6d(0x156),'LpqMD':_0x355e6d(0x133),'XkTlp':function(_0x130838,_0x4a0f1c){return _0x130838+_0x4a0f1c;},'ggXlD':_0x355e6d(0x112),'LJVMM':_0x355e6d(0x117),'pisRM':_0x355e6d(0x130),'VOJPg':_0x355e6d(0x15d)},_0x19e120=(await NTQQUserApi['getPSkey']([_0xd3c7f9[_0x355e6d(0xf9)]]))[_0xd3c7f9['uyJwR']],_0x5cd526=await NTQQUserApi[_0x355e6d(0x115)](),_0xa976db=_0xd3c7f9[_0x355e6d(0x11f)](_0xd3c7f9[_0x355e6d(0x11f)](_0xd3c7f9[_0x355e6d(0x11f)](_0xd3c7f9[_0x355e6d(0x11f)](_0xd3c7f9[_0x355e6d(0x121)](_0xd3c7f9[_0x355e6d(0x127)](_0xd3c7f9['JKZTL'](_0xd3c7f9['zUbUl'],_0x19e120),_0xd3c7f9[_0x355e6d(0x120)]),_0x5cd526),_0x355e6d(0x158)),selfInfo[_0x355e6d(0x151)]),';\x20uin=o'),selfInfo[_0x355e6d(0x151)]);if(!_0x5cd526||!_0x19e120)return undefined;const _0x5cf48b=WebApi[_0x355e6d(0x13e)](_0x5cd526),_0x411ab9=_0xd3c7f9['xaDXl'](_0xd3c7f9[_0x355e6d(0x121)](_0xd3c7f9[_0x355e6d(0x107)](_0xd3c7f9[_0x355e6d(0x107)](_0xd3c7f9[_0x355e6d(0x122)],_0x5cf48b),_0xd3c7f9['LJVMM']),_0x28075c),_0xd3c7f9[_0x355e6d(0x155)])+_0x3e2d36+_0x355e6d(0x134),_0x48c182=await WebApi['httpDataJson'](_0x411ab9,_0xd3c7f9['VOJPg'],'',_0xa976db);if(_0x48c182[_0x355e6d(0x13c)]!==0x0)return undefined;return _0x48c182;}static async[_0xcacd8a(0x14f)](_0x568b3a){const _0xd1db3e=_0xcacd8a,_0x5ac74e={'Vzgxf':_0xd1db3e(0xfb),'UuBkX':function(_0x1d0057,_0xd63fab){return _0x1d0057+_0xd63fab;},'CTlkK':_0xd1db3e(0x156),'ZOQHy':_0xd1db3e(0x158),'GQHZP':function(_0x3cda25,_0x20fdfd){return _0x3cda25||_0x20fdfd;},'IENGp':_0xd1db3e(0x154),'ANfXx':_0xd1db3e(0x11c),'MKYMB':function(_0x147442,_0x212d7a){return _0x147442!==_0x212d7a;},'RqfnM':function(_0x482146,_0x5e1d61){return _0x482146/_0x5e1d61;},'vvDTt':function(_0x138ae1,_0x3ef636){return _0x138ae1<=_0x3ef636;},'Dmosn':function(_0x38a6df,_0x2a2141){return _0x38a6df+_0x2a2141;},'uAtTx':function(_0x436327,_0x232cd2){return _0x436327+_0x232cd2;},'QdjFe':function(_0x2b2ca8,_0x2ea144){return _0x2b2ca8+_0x2ea144;},'hxWVt':function(_0x592edf,_0x552f96){return _0x592edf+_0x552f96;},'tekFA':function(_0x10e869,_0x4e0e93){return _0x10e869+_0x4e0e93;},'AdBIo':_0xd1db3e(0x116),'XFpkI':function(_0x404143,_0x32ba76){return _0x404143*_0x32ba76;},'eeJWK':_0xd1db3e(0x14b),'CgtVJ':function(_0x53bd98,_0x19f744){return _0x53bd98*_0x19f744;},'hxeKP':'&sort=1&gc=','weIea':_0xd1db3e(0x11b),'hkxGM':function(_0x158db9,_0x483394){return _0x158db9!==_0x483394;}},_0x1c8091=(await NTQQUserApi['getPSkey']([_0x5ac74e[_0xd1db3e(0x119)]]))[_0x5ac74e[_0xd1db3e(0x119)]],_0x449763=await NTQQUserApi[_0xd1db3e(0x115)](),_0x5cb03f=_0x5ac74e[_0xd1db3e(0x123)](_0x5ac74e['UuBkX'](_0x5ac74e[_0xd1db3e(0xfc)],_0x1c8091)+';\x20skey='+_0x449763,_0x5ac74e[_0xd1db3e(0x10e)])+selfInfo['uin'],_0x487255=new Array();if(_0x5ac74e['GQHZP'](!_0x449763,!_0x1c8091))return _0x487255;const _0x51607c=WebApi['genBkn'](_0x449763),_0x307637=[],_0x2a97e3=await WebApi[_0xd1db3e(0xfd)](_0x5ac74e[_0xd1db3e(0x123)](_0x5ac74e[_0xd1db3e(0x123)](_0x5ac74e[_0xd1db3e(0x123)](_0x5ac74e[_0xd1db3e(0x15a)],_0x568b3a),_0xd1db3e(0x11b)),_0x51607c),_0x5ac74e[_0xd1db3e(0x14e)],'',_0x5cb03f);if(!_0x2a97e3?.['count']||_0x5ac74e[_0xd1db3e(0x13a)](_0x2a97e3?.[_0xd1db3e(0x12d)],0x0)||!_0x2a97e3?.[_0xd1db3e(0x12b)])return[];else for(const _0x3d1a69 in _0x2a97e3[_0xd1db3e(0x12b)]){_0x487255[_0xd1db3e(0x144)](_0x2a97e3['mems'][_0x3d1a69]);}const _0x26dcb0=Math[_0xd1db3e(0xff)](_0x5ac74e[_0xd1db3e(0xf8)](_0x2a97e3['count'],0x28));for(let _0x547984=0x2;_0x5ac74e[_0xd1db3e(0x102)](_0x547984,_0x26dcb0);_0x547984++){const _0x4ecc03=WebApi[_0xd1db3e(0xfd)](_0x5ac74e['Dmosn'](_0x5ac74e[_0xd1db3e(0x135)](_0x5ac74e[_0xd1db3e(0x15c)](_0x5ac74e[_0xd1db3e(0x15c)](_0x5ac74e[_0xd1db3e(0x14c)](_0x5ac74e[_0xd1db3e(0x15e)](_0x5ac74e[_0xd1db3e(0x14d)]+_0x5ac74e[_0xd1db3e(0x153)](_0x547984-0x1,0x28),_0x5ac74e[_0xd1db3e(0x110)]),_0x5ac74e[_0xd1db3e(0x126)](_0x547984,0x28)),_0x5ac74e[_0xd1db3e(0x139)]),_0x568b3a),_0x5ac74e[_0xd1db3e(0x12a)]),_0x51607c),_0xd1db3e(0x11c),'',_0x5cb03f);_0x307637['push'](_0x4ecc03);}for(let _0x2378bd=0x1;_0x5ac74e['vvDTt'](_0x2378bd,_0x26dcb0);_0x2378bd++){const _0x518c91=await _0x307637[_0x2378bd];if(!_0x518c91?.[_0xd1db3e(0x129)]||_0x5ac74e[_0xd1db3e(0x10c)](_0x518c91?.[_0xd1db3e(0x12d)],0x0)||!_0x518c91?.['mems'])continue;for(const _0xce4ca6 in _0x518c91[_0xd1db3e(0x12b)]){_0x487255['push'](_0x518c91[_0xd1db3e(0x12b)][_0xce4ca6]);}}return _0x487255;}static async[_0xcacd8a(0x103)](_0x6da313,_0x43d491=''){const _0x15f93f=_0xcacd8a,_0x5c9a4e={'CMOVK':_0x15f93f(0xfb),'ivaFr':function(_0x29d194,_0x5072cc){return _0x29d194+_0x5072cc;},'PmNEQ':function(_0x4e5129,_0xba8ddb){return _0x4e5129+_0xba8ddb;},'mModW':';\x20skey=','TWFKT':_0x15f93f(0x158),'MLLVQ':function(_0x589993,_0x4ba087){return _0x589993+_0x4ba087;},'GKVOI':_0x15f93f(0x11b),'kYEKm':_0x15f93f(0x152),'ZORBX':_0x15f93f(0x111),'WsNPX':function(_0x16c4f1,_0xeab6da){return _0x16c4f1+_0xeab6da;},'UbNXO':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn='},_0xfbc3cd=(await NTQQUserApi[_0x15f93f(0x118)]([_0x5c9a4e[_0x15f93f(0x145)]]))[_0x5c9a4e[_0x15f93f(0x145)]],_0x2fc827=await NTQQUserApi[_0x15f93f(0x115)](),_0x16af95=_0x5c9a4e[_0x15f93f(0x128)](_0x5c9a4e[_0x15f93f(0x128)](_0x5c9a4e[_0x15f93f(0x148)](_0x5c9a4e[_0x15f93f(0x128)]('p_skey=',_0xfbc3cd)+_0x5c9a4e[_0x15f93f(0x146)],_0x2fc827),_0x5c9a4e[_0x15f93f(0x10d)]),selfInfo[_0x15f93f(0x151)]);let _0x55877e=undefined;if(!_0x2fc827||!_0xfbc3cd)return undefined;const _0x1b9034=WebApi[_0x15f93f(0x13e)](_0x2fc827),_0x39e5a4=_0x5c9a4e[_0x15f93f(0x148)](_0x5c9a4e[_0x15f93f(0x128)](_0x5c9a4e['MLLVQ'](_0x15f93f(0x140)+_0x6da313,_0x5c9a4e[_0x15f93f(0x124)]),_0x1b9034),_0x5c9a4e[_0x15f93f(0x106)])+_0x43d491+_0x5c9a4e[_0x15f93f(0x11e)],_0x492eb3=_0x5c9a4e[_0x15f93f(0x136)](_0x5c9a4e['UbNXO'],_0x1b9034);try{return _0x55877e=await WebApi['httpDataJson'](_0x492eb3,_0x15f93f(0x15d),'',_0x16af95),_0x55877e;}catch(_0x1cf196){return undefined;}return undefined;}static async[_0xcacd8a(0x109)](_0x139286){const _0x37a2cf=_0xcacd8a,_0x5b6125={'kjgDU':_0x37a2cf(0xfb),'htRlM':function(_0x2ff9d6,_0x1373b2){return _0x2ff9d6+_0x1373b2;},'oErCa':function(_0x5c10ac,_0xd7ece7){return _0x5c10ac+_0xd7ece7;},'yBiFX':_0x37a2cf(0x133),'LGVaq':_0x37a2cf(0x158),'pBhfj':function(_0x2c6dba,_0x182bb3){return _0x2c6dba||_0x182bb3;},'XfeWd':function(_0x40ea99,_0x2f423b){return _0x40ea99+_0x2f423b;},'YpgJe':function(_0x670d48,_0x1e3441){return _0x670d48+_0x1e3441;},'sZvmS':_0x37a2cf(0x142),'nupra':'&qid=','lnXgT':_0x37a2cf(0x15d)},_0x45721e=(await NTQQUserApi[_0x37a2cf(0x118)]([_0x5b6125['kjgDU']]))[_0x5b6125[_0x37a2cf(0x108)]],_0x5b66ba=await NTQQUserApi['getSkey'](),_0x57f91d=_0x5b6125[_0x37a2cf(0x160)](_0x5b6125[_0x37a2cf(0x113)](_0x37a2cf(0x156),_0x45721e),_0x5b6125[_0x37a2cf(0x13f)])+_0x5b66ba+_0x5b6125['LGVaq']+selfInfo[_0x37a2cf(0x151)];let _0xd432b3=undefined;if(_0x5b6125[_0x37a2cf(0x10b)](!_0x5b66ba,!_0x45721e))return undefined;const _0xfe8f12=WebApi[_0x37a2cf(0x13e)](_0x5b66ba),_0x26548a=_0x5b6125['XfeWd'](_0x5b6125['oErCa'](_0x5b6125[_0x37a2cf(0x10a)](_0x5b6125[_0x37a2cf(0x125)],_0xfe8f12),_0x5b6125[_0x37a2cf(0x159)])+_0x139286,'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0xd432b3=await WebApi[_0x37a2cf(0xfd)](_0x26548a,_0x5b6125[_0x37a2cf(0x13d)],'',_0x57f91d);if(_0xd432b3?.['ec']!==0x0)return undefined;return _0xd432b3;}catch(_0x15cc27){return undefined;}return undefined;}static async[_0xcacd8a(0x161)](_0x590ed2='',_0x558756=_0xcacd8a(0x15d),_0x1fa430='',_0x5cbf15=''){const _0x81e93c=_0xcacd8a,_0xe7a84c={'lOHid':function(_0x255422,_0xaeb75b){return _0x255422===_0xaeb75b;},'uBvbs':_0x81e93c(0x15d),'bdkgb':_0x81e93c(0x114),'rpYec':function(_0x244457,_0x3f1824,_0x4378ad){return _0x244457(_0x3f1824,_0x4378ad);},'JrOOg':_0x81e93c(0x10f),'iaPEw':function(_0x5dcba2,_0x3bf7dd,_0xbbf82a){return _0x5dcba2(_0x3bf7dd,_0xbbf82a);},'NcFYj':function(_0x372af2,_0x14afc9){return _0x372af2(_0x14afc9);}};let _0x4879d1='';return new Promise(async(_0xfefaad,_0x1e9621)=>{const _0x935c68=_0x81e93c;try{let _0x4897e3=undefined;_0xe7a84c[_0x935c68(0x141)](_0x558756,_0xe7a84c[_0x935c68(0xfe)])||_0x558756===_0xe7a84c[_0x935c68(0x143)]?_0x4897e3=await _0xe7a84c[_0x935c68(0x157)](fetch,_0x590ed2,{'method':_0x558756,'headers':{'Content-Type':_0xe7a84c[_0x935c68(0x137)],'Cookie':_0x5cbf15}}):_0x4897e3=await _0xe7a84c[_0x935c68(0x15f)](fetch,_0x590ed2,{'method':_0x558756,'headers':{'Content-Type':_0xe7a84c[_0x935c68(0x137)],'Cookie':_0x5cbf15},'body':_0x1fa430});if(_0x4897e3['ok'])_0x4879d1=await _0x4897e3['text']();else{}}catch(_0x266b2c){}_0xe7a84c[_0x935c68(0x11a)](_0xfefaad,_0x4879d1);});}static async['httpDataJson'](_0xe932b8='',_0x456119=_0xcacd8a(0x15d),_0x41e6d7='',_0x1d446b=''){const _0xe4f715=_0xcacd8a,_0x3da345={'tpzTi':function(_0x3fcd8b,_0x4caeac){return _0x3fcd8b===_0x4caeac;},'jGfnE':_0xe4f715(0x15d),'pvIrt':function(_0x496de8,_0x3cd7c7){return _0x496de8===_0x3cd7c7;},'xPvlD':function(_0x56b6a5,_0x1bafc5,_0x4f7978){return _0x56b6a5(_0x1bafc5,_0x4f7978);},'xfvDZ':_0xe4f715(0x10f),'btCBE':function(_0x226864,_0x49f334,_0x5a5b4f){return _0x226864(_0x49f334,_0x5a5b4f);},'EsANx':function(_0x11d94a,_0x202239){return _0x11d94a(_0x202239);}};let _0x301dc4=undefined;return new Promise(async(_0x8a1606,_0x1c5eb1)=>{const _0x44386c=_0xe4f715;try{let _0x5827cd=undefined;_0x3da345['tpzTi'](_0x456119,_0x3da345['jGfnE'])||_0x3da345['pvIrt'](_0x456119,_0x44386c(0x114))?_0x5827cd=await _0x3da345[_0x44386c(0x15b)](fetch,_0xe932b8,{'method':_0x456119,'headers':{'Content-Type':_0x3da345['xfvDZ'],'Cookie':_0x1d446b}}):_0x5827cd=await _0x3da345[_0x44386c(0x12f)](fetch,_0xe932b8,{'method':_0x456119,'headers':{'Content-Type':_0x3da345[_0x44386c(0xfa)],'Cookie':_0x1d446b},'body':_0x41e6d7});if(_0x5827cd['ok'])_0x301dc4=await _0x5827cd[_0x44386c(0x13b)]();else{}}catch(_0x3d4bdd){}_0x3da345[_0x44386c(0x138)](_0x8a1606,_0x301dc4);});}static[_0xcacd8a(0x13e)](_0x17a3aa){const _0x3ceebf=_0xcacd8a,_0x3943ee={'UnflL':function(_0x1d65f3,_0x2e9085){return _0x1d65f3||_0x2e9085;},'uWdHD':function(_0x39adb2,_0x3ff60d){return _0x39adb2+_0x3ff60d;},'gbFZW':function(_0x5805bc,_0x2cbd19){return _0x5805bc<<_0x2cbd19;},'QSIje':function(_0x58db30,_0x80c218){return _0x58db30&_0x80c218;}};_0x17a3aa=_0x3943ee[_0x3ceebf(0x11d)](_0x17a3aa,'');let _0x22ded2=0x1505;for(let _0x25f9d8=0x0;_0x25f9d8<_0x17a3aa[_0x3ceebf(0x104)];_0x25f9d8++){const _0x57a825=_0x17a3aa['charCodeAt'](_0x25f9d8);_0x22ded2=_0x3943ee[_0x3ceebf(0x131)](_0x22ded2+_0x3943ee[_0x3ceebf(0x150)](_0x22ded2,0x5),_0x57a825);}return _0x3943ee[_0x3ceebf(0x101)](_0x22ded2,0x7fffffff)['toString']();}} \ No newline at end of file +const _0x5e5d36=_0x23db;(function(_0x181864,_0x7b95e9){const _0x171812=_0x23db,_0x3c696f=_0x181864();while(!![]){try{const _0x4a5542=-parseInt(_0x171812(0xf9))/0x1*(parseInt(_0x171812(0xd9))/0x2)+-parseInt(_0x171812(0x10f))/0x3+-parseInt(_0x171812(0xd4))/0x4+parseInt(_0x171812(0xe2))/0x5*(-parseInt(_0x171812(0x102))/0x6)+parseInt(_0x171812(0x10b))/0x7*(parseInt(_0x171812(0x100))/0x8)+parseInt(_0x171812(0x103))/0x9*(-parseInt(_0x171812(0xd6))/0xa)+parseInt(_0x171812(0xf1))/0xb*(parseInt(_0x171812(0xc5))/0xc);if(_0x4a5542===_0x7b95e9)break;else _0x3c696f['push'](_0x3c696f['shift']());}catch(_0x41d21a){_0x3c696f['push'](_0x3c696f['shift']());}}}(_0x5615,0x7d7d7));import{selfInfo}from'@/core/data';import{NTQQUserApi}from'./user';function _0x23db(_0x2685b2,_0x1cb7d4){const _0x56151a=_0x5615();return _0x23db=function(_0x23dbfe,_0x1953d3){_0x23dbfe=_0x23dbfe-0xbf;let _0x896246=_0x56151a[_0x23dbfe];return _0x896246;},_0x23db(_0x2685b2,_0x1cb7d4);}function _0x5615(){const _0x477f7e=['https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ALHay','&page_limit=20','json','vSLIa','mems','BIkiZ','nSsiu','OGZEe','iCfvK','setGroupNotice','errcode','wsiqj',';\x20p_uin=o','FbXKf','gesJO','&group_code=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','Mguei','nVtwL','p_skey=','RCLHY','84XonCGB','retcode','QkASr','&qid=','xUSae','iudoR',';\x20uin=o','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','LljHD','gsMPT','getPSkey','POST','tWHEc','GET','getSkey','4018136WvXOcB','bzIaY','20kkGHUr','aCCMW','UVUhz','12476Hmfoms','ndeXF','&page_start=','WSwTw','getGroupEssenceMsg','application/x-www-form-urlencoded','RZMSp','qid=','UBcPR','1290rJjANN','count','&end=','oFIQE','length','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','Zjjof','genBkn','YpZUx','SEewI','ceil','oCkwX','EKgaC','deAQd','NvUmD','4068097XwjMcR',';\x20skey=','httpDataJson','uin','KPWDs','KKbas','push','SvLNg','20HEBvpH','NMbmp','hYPrw','JLxRn','tfPsF','LGYdW','mGrRc','1535944Fykzuo','OBrnb','8154AtDBOh','3162717CWrJRd','charCodeAt','wMgrb','&bkn=','uTnGH','VhUkj','RAiVJ','UorMc','7uPhxJc','fedWh','wvISL','DQhhK','252099gYTLHw','qun.qq.com','httpDataText','zPIjw'];_0x5615=function(){return _0x477f7e;};return _0x5615();}export class WebApi{static async[_0x5e5d36(0xdd)](_0x20da90,_0x1596e4){const _0x594bf6=_0x5e5d36,_0x1c5d4e={'deAQd':_0x594bf6(0x110),'UVUhz':function(_0x27a7e1,_0x2e47bf){return _0x27a7e1+_0x2e47bf;},'Jytmn':'p_skey=','MDVHY':';\x20p_uin=o','fedWh':function(_0xdbfbf2,_0xbdf319){return _0xdbfbf2||_0xbdf319;},'bmUvW':function(_0x5a8fdc,_0x5a7445){return _0x5a8fdc+_0x5a7445;},'iVthU':function(_0x5568d9,_0x3a2df5){return _0x5568d9+_0x3a2df5;},'Wkxyu':function(_0x568928,_0x1fe9d3){return _0x568928+_0x1fe9d3;},'ALHay':_0x594bf6(0xdb),'LavoX':_0x594bf6(0x115),'OBrnb':'GET'},_0x556586=(await NTQQUserApi[_0x594bf6(0xcf)]([_0x1c5d4e[_0x594bf6(0xef)]]))[_0x594bf6(0x110)],_0x4bf876=await NTQQUserApi[_0x594bf6(0xd3)](),_0x39b748=_0x1c5d4e[_0x594bf6(0xd8)](_0x1c5d4e[_0x594bf6(0xd8)](_0x1c5d4e[_0x594bf6(0xd8)](_0x1c5d4e['Jytmn']+_0x556586+';\x20skey=',_0x4bf876),_0x1c5d4e['MDVHY'])+selfInfo[_0x594bf6(0xf4)]+_0x594bf6(0xcb),selfInfo[_0x594bf6(0xf4)]);if(_0x1c5d4e[_0x594bf6(0x10c)](!_0x4bf876,!_0x556586))return undefined;const _0x124c9e=WebApi[_0x594bf6(0xe9)](_0x4bf876),_0x1a5545=_0x1c5d4e[_0x594bf6(0xd8)](_0x1c5d4e['UVUhz'](_0x1c5d4e['bmUvW'](_0x1c5d4e[_0x594bf6(0xd8)](_0x1c5d4e['iVthU'](_0x1c5d4e['Wkxyu'](_0x594bf6(0x113),_0x124c9e),_0x594bf6(0xbf)),_0x20da90),_0x1c5d4e[_0x594bf6(0x114)]),_0x1596e4),_0x1c5d4e['LavoX']),_0x557584=await WebApi[_0x594bf6(0xf3)](_0x1a5545,_0x1c5d4e[_0x594bf6(0x101)],'',_0x39b748);if(_0x557584[_0x594bf6(0xc6)]!==0x0)return undefined;return _0x557584;}static async['getGroupMembers'](_0x1a5396){const _0xcfbdea=_0x5e5d36,_0x39524e={'SvLNg':_0xcfbdea(0x110),'iCfvK':function(_0x34e784,_0x84a58b){return _0x34e784+_0x84a58b;},'hYPrw':function(_0x3cbe38,_0x360316){return _0x3cbe38+_0x360316;},'BIkiZ':function(_0x58eb8e,_0x26aa6e){return _0x58eb8e+_0x26aa6e;},'Zjjof':_0xcfbdea(0xc3),'QkASr':';\x20skey=','wMgrb':function(_0x1b4a66,_0x1764f0){return _0x1b4a66||_0x1764f0;},'EKgaC':function(_0x21247a,_0x46ad24){return _0x21247a+_0x46ad24;},'NMbmp':function(_0x1a2bbc,_0x86a5cd){return _0x1a2bbc+_0x86a5cd;},'FbXKf':_0xcfbdea(0xc0),'LljHD':_0xcfbdea(0xd0),'wsiqj':function(_0x34c345,_0x328f15){return _0x34c345!==_0x328f15;},'gesJO':function(_0x2c7ed9,_0x4a811c){return _0x2c7ed9/_0x4a811c;},'ndeXF':function(_0x1d6360,_0x1977fc){return _0x1d6360+_0x1977fc;},'bxnpS':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','nSsiu':function(_0x1a934d,_0x571e82){return _0x1a934d*_0x571e82;},'gsMPT':function(_0x3878ed,_0x3ec9ee){return _0x3878ed-_0x3ec9ee;},'vSLIa':_0xcfbdea(0xe4),'VhUkj':function(_0x173f82,_0x403c58){return _0x173f82*_0x403c58;},'UBcPR':'&sort=1&gc=','ZREmd':function(_0x5d2798,_0x2e2f3d){return _0x5d2798<=_0x2e2f3d;}},_0x227ef4=(await NTQQUserApi[_0xcfbdea(0xcf)]([_0x39524e[_0xcfbdea(0xf8)]]))[_0x39524e['SvLNg']],_0x481eca=await NTQQUserApi[_0xcfbdea(0xd3)](),_0x7d35fc=_0x39524e[_0xcfbdea(0x11c)](_0x39524e[_0xcfbdea(0xfb)](_0x39524e[_0xcfbdea(0x119)](_0x39524e[_0xcfbdea(0xe8)]+_0x227ef4,_0x39524e[_0xcfbdea(0xc7)])+_0x481eca,_0xcfbdea(0x120)),selfInfo[_0xcfbdea(0xf4)]),_0x5b89a7=new Array();if(_0x39524e[_0xcfbdea(0x105)](!_0x481eca,!_0x227ef4))return _0x5b89a7;const _0x30d732=WebApi[_0xcfbdea(0xe9)](_0x481eca),_0x469b3e=[],_0x2f4240=await WebApi[_0xcfbdea(0xf3)](_0x39524e[_0xcfbdea(0xee)](_0x39524e[_0xcfbdea(0xfa)](_0x39524e[_0xcfbdea(0x121)]+_0x1a5396,_0xcfbdea(0x106)),_0x30d732),_0x39524e[_0xcfbdea(0xcd)],'',_0x7d35fc);if(!_0x2f4240?.[_0xcfbdea(0xe3)]||_0x39524e[_0xcfbdea(0x11f)](_0x2f4240?.[_0xcfbdea(0x11e)],0x0)||!_0x2f4240?.[_0xcfbdea(0x118)])return[];else for(const _0x3b1183 in _0x2f4240['mems']){_0x5b89a7[_0xcfbdea(0xf7)](_0x2f4240['mems'][_0x3b1183]);}const _0x14d811=Math[_0xcfbdea(0xec)](_0x39524e[_0xcfbdea(0x122)](_0x2f4240['count'],0x28));for(let _0x5338a6=0x2;_0x5338a6<=_0x14d811;_0x5338a6++){const _0x12947b=WebApi[_0xcfbdea(0xf3)](_0x39524e[_0xcfbdea(0xfa)](_0x39524e[_0xcfbdea(0xfb)](_0x39524e[_0xcfbdea(0xda)](_0x39524e['ndeXF'](_0x39524e[_0xcfbdea(0xfb)](_0x39524e[_0xcfbdea(0xee)](_0x39524e[_0xcfbdea(0x119)](_0x39524e['bxnpS'],_0x39524e[_0xcfbdea(0x11a)](_0x39524e[_0xcfbdea(0xce)](_0x5338a6,0x1),0x28)),_0x39524e[_0xcfbdea(0x117)]),_0x39524e[_0xcfbdea(0x108)](_0x5338a6,0x28)),_0x39524e[_0xcfbdea(0xe1)]),_0x1a5396),'&bkn='),_0x30d732),_0x39524e[_0xcfbdea(0xcd)],'',_0x7d35fc);_0x469b3e[_0xcfbdea(0xf7)](_0x12947b);}for(let _0xf60be7=0x1;_0x39524e['ZREmd'](_0xf60be7,_0x14d811);_0xf60be7++){const _0x4048f4=await _0x469b3e[_0xf60be7];if(!_0x4048f4?.[_0xcfbdea(0xe3)]||_0x39524e[_0xcfbdea(0x11f)](_0x4048f4?.['errcode'],0x0)||!_0x4048f4?.[_0xcfbdea(0x118)])continue;for(const _0x35c8f9 in _0x4048f4['mems']){_0x5b89a7[_0xcfbdea(0xf7)](_0x4048f4['mems'][_0x35c8f9]);}}return _0x5b89a7;}static async[_0x5e5d36(0x11d)](_0x4a2eaa,_0x46ece0=''){const _0x2f95c0=_0x5e5d36,_0x4bd901={'uTnGH':_0x2f95c0(0x110),'UorMc':function(_0x557edf,_0x47f7f8){return _0x557edf+_0x47f7f8;},'oFIQE':_0x2f95c0(0xc3),'RZMSp':_0x2f95c0(0x120),'zPIjw':function(_0x20cc43,_0x1df349){return _0x20cc43||_0x1df349;},'KKbas':function(_0x123dfd,_0x1bfb88){return _0x123dfd+_0x1bfb88;},'nVtwL':'&text=','tfPsF':_0x2f95c0(0xe7),'tWHEc':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','mkGdz':'GET'},_0x584f52=(await NTQQUserApi[_0x2f95c0(0xcf)]([_0x4bd901[_0x2f95c0(0x107)]]))[_0x4bd901[_0x2f95c0(0x107)]],_0x429763=await NTQQUserApi[_0x2f95c0(0xd3)](),_0x54796a=_0x4bd901['UorMc'](_0x4bd901[_0x2f95c0(0x10a)](_0x4bd901[_0x2f95c0(0xe5)]+_0x584f52,_0x2f95c0(0xf2)),_0x429763)+_0x4bd901[_0x2f95c0(0xdf)]+selfInfo[_0x2f95c0(0xf4)];let _0x1275a6=undefined;if(_0x4bd901[_0x2f95c0(0x112)](!_0x429763,!_0x584f52))return undefined;const _0x798689=WebApi[_0x2f95c0(0xe9)](_0x429763),_0xf4f19a=_0x4bd901[_0x2f95c0(0xf6)](_0x4bd901['UorMc'](_0x4bd901[_0x2f95c0(0xf6)](_0x4bd901[_0x2f95c0(0x10a)](_0x2f95c0(0xe0),_0x4a2eaa)+_0x2f95c0(0x106),_0x798689),_0x4bd901[_0x2f95c0(0xc2)]),_0x46ece0)+_0x4bd901[_0x2f95c0(0xfd)],_0x39acb4=_0x4bd901[_0x2f95c0(0xd1)]+_0x798689;try{return _0x1275a6=await WebApi[_0x2f95c0(0xf3)](_0x39acb4,_0x4bd901['mkGdz'],'',_0x54796a),_0x1275a6;}catch(_0x7f50d5){return undefined;}return undefined;}static async['getGrouptNotice'](_0x100d21){const _0x3e10c6=_0x5e5d36,_0x44d899={'RCLHY':'qun.qq.com','Vlxqr':function(_0x2cc827,_0x2741fd){return _0x2cc827+_0x2741fd;},'DQhhK':function(_0x127308,_0x223fe7){return _0x127308+_0x223fe7;},'Mguei':function(_0x47182f,_0x40be24){return _0x47182f+_0x40be24;},'LGYdW':_0x3e10c6(0xc3),'RAiVJ':';\x20skey=','dJAhC':_0x3e10c6(0x120),'XPCrH':function(_0x425066,_0x23c966){return _0x425066||_0x23c966;},'oCkwX':function(_0x1078af,_0x1e0cad){return _0x1078af+_0x1e0cad;},'wvISL':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','RVVXt':_0x3e10c6(0xc8),'KPWDs':_0x3e10c6(0xd2),'bzIaY':function(_0x1040fc,_0x5153b4){return _0x1040fc!==_0x5153b4;}},_0x21c2db=(await NTQQUserApi['getPSkey']([_0x44d899[_0x3e10c6(0xc4)]]))[_0x44d899['RCLHY']],_0x18210a=await NTQQUserApi[_0x3e10c6(0xd3)](),_0x3b878a=_0x44d899['Vlxqr'](_0x44d899[_0x3e10c6(0x10e)](_0x44d899['Mguei'](_0x44d899[_0x3e10c6(0xfe)]+_0x21c2db,_0x44d899[_0x3e10c6(0x109)]),_0x18210a)+_0x44d899['dJAhC'],selfInfo[_0x3e10c6(0xf4)]);let _0x418a32=undefined;if(_0x44d899['XPCrH'](!_0x18210a,!_0x21c2db))return undefined;const _0x3a7bd3=WebApi[_0x3e10c6(0xe9)](_0x18210a),_0x3b0fdc=_0x44d899[_0x3e10c6(0xc1)](_0x44d899[_0x3e10c6(0xed)](_0x44d899[_0x3e10c6(0x10e)](_0x44d899[_0x3e10c6(0x10d)],_0x3a7bd3),_0x44d899['RVVXt']),_0x100d21)+_0x3e10c6(0xcc);try{_0x418a32=await WebApi[_0x3e10c6(0xf3)](_0x3b0fdc,_0x44d899[_0x3e10c6(0xf5)],'',_0x3b878a);if(_0x44d899[_0x3e10c6(0xd5)](_0x418a32?.['ec'],0x0))return undefined;return _0x418a32;}catch(_0x599e91){return undefined;}return undefined;}static async[_0x5e5d36(0x111)](_0x224785='',_0x2ba1ae='GET',_0x4bbe26='',_0x3c120c=''){const _0x49add0=_0x5e5d36,_0x59dfb3={'aCCMW':function(_0x2e2bc5,_0x5e89bf){return _0x2e2bc5===_0x5e89bf;},'SEewI':_0x49add0(0xd2),'mGrRc':'HEAD','OGZEe':_0x49add0(0xde),'JLxRn':function(_0x38ebee,_0xee18e6,_0x181f3b){return _0x38ebee(_0xee18e6,_0x181f3b);},'iudoR':function(_0x43408b,_0x2d6ef2){return _0x43408b(_0x2d6ef2);}};let _0xc59514='';return new Promise(async(_0x5cc391,_0x3a4423)=>{const _0x498215=_0x49add0;try{let _0x373b1a=undefined;_0x59dfb3[_0x498215(0xd7)](_0x2ba1ae,_0x59dfb3[_0x498215(0xeb)])||_0x59dfb3[_0x498215(0xd7)](_0x2ba1ae,_0x59dfb3[_0x498215(0xff)])?_0x373b1a=await fetch(_0x224785,{'method':_0x2ba1ae,'headers':{'Content-Type':_0x59dfb3[_0x498215(0x11b)],'Cookie':_0x3c120c}}):_0x373b1a=await _0x59dfb3[_0x498215(0xfc)](fetch,_0x224785,{'method':_0x2ba1ae,'headers':{'Content-Type':_0x59dfb3['OGZEe'],'Cookie':_0x3c120c},'body':_0x4bbe26});if(_0x373b1a['ok'])_0xc59514=await _0x373b1a['text']();else{}}catch(_0x3223e0){}_0x59dfb3[_0x498215(0xca)](_0x5cc391,_0xc59514);});}static async[_0x5e5d36(0xf3)](_0x3edefe='',_0x39bde0='GET',_0x2cc364='',_0x4fd643=''){const _0x761d2d=_0x5e5d36,_0x13f729={'WSwTw':function(_0x2b1c61,_0x2c603b){return _0x2b1c61===_0x2c603b;},'AYNvH':_0x761d2d(0xd2),'xUSae':'HEAD','ZuOyL':_0x761d2d(0xde),'NvUmD':function(_0x54352e,_0x349c30,_0x5b3350){return _0x54352e(_0x349c30,_0x5b3350);},'WDXBH':function(_0x54b930,_0xc5023){return _0x54b930(_0xc5023);}};let _0x19b040=undefined;return new Promise(async(_0x17d737,_0x4e7d02)=>{const _0x1a3917=_0x761d2d;try{let _0x1fee5c=undefined;_0x13f729[_0x1a3917(0xdc)](_0x39bde0,_0x13f729['AYNvH'])||_0x13f729[_0x1a3917(0xdc)](_0x39bde0,_0x13f729[_0x1a3917(0xc9)])?_0x1fee5c=await fetch(_0x3edefe,{'method':_0x39bde0,'headers':{'Content-Type':_0x13f729['ZuOyL'],'Cookie':_0x4fd643}}):_0x1fee5c=await _0x13f729[_0x1a3917(0xf0)](fetch,_0x3edefe,{'method':_0x39bde0,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x4fd643},'body':_0x2cc364});if(_0x1fee5c['ok'])_0x19b040=await _0x1fee5c[_0x1a3917(0x116)]();else{}}catch(_0x1de3a9){}_0x13f729['WDXBH'](_0x17d737,_0x19b040);});}static[_0x5e5d36(0xe9)](_0x58814c){const _0x2c84d7=_0x5e5d36,_0x517db5={'PZvqA':function(_0x1268fb,_0x475599){return _0x1268fb||_0x475599;},'QdGoY':function(_0x6ff96c,_0x1f9625){return _0x6ff96c<_0x1f9625;},'YpZUx':function(_0x31c1f0,_0x5d55ae){return _0x31c1f0+_0x5d55ae;},'BXnOZ':function(_0x4c20a8,_0x1171a0){return _0x4c20a8<<_0x1171a0;},'HkfFj':function(_0x29e748,_0x87eda7){return _0x29e748&_0x87eda7;}};_0x58814c=_0x517db5['PZvqA'](_0x58814c,'');let _0x43dd79=0x1505;for(let _0x22a2d5=0x0;_0x517db5['QdGoY'](_0x22a2d5,_0x58814c[_0x2c84d7(0xe6)]);_0x22a2d5++){const _0x1dbb7a=_0x58814c[_0x2c84d7(0x104)](_0x22a2d5);_0x43dd79=_0x517db5[_0x2c84d7(0xea)](_0x43dd79+_0x517db5['BXnOZ'](_0x43dd79,0x5),_0x1dbb7a);}return _0x517db5['HkfFj'](_0x43dd79,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 0c050388..da828eb9 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x512a62=_0x2216;(function(_0x3e9492,_0xd3be7a){const _0x48a205=_0x2216,_0x3b3742=_0x3e9492();while(!![]){try{const _0x1e8b48=parseInt(_0x48a205(0x1cd))/0x1*(parseInt(_0x48a205(0x205))/0x2)+-parseInt(_0x48a205(0x218))/0x3+parseInt(_0x48a205(0x1b4))/0x4*(parseInt(_0x48a205(0x21a))/0x5)+-parseInt(_0x48a205(0x245))/0x6*(-parseInt(_0x48a205(0x244))/0x7)+parseInt(_0x48a205(0x1de))/0x8+parseInt(_0x48a205(0x1d8))/0x9*(-parseInt(_0x48a205(0x203))/0xa)+parseInt(_0x48a205(0x213))/0xb*(parseInt(_0x48a205(0x24b))/0xc);if(_0x1e8b48===_0xd3be7a)break;else _0x3b3742['push'](_0x3b3742['shift']());}catch(_0x35a883){_0x3b3742['push'](_0x3b3742['shift']());}}}(_0x30e1,0xedc7e));import _0x432b35 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x47c271 from'node:path';import _0x254c07 from'node:os';import _0x36aeae from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x2216(_0x580ebd,_0x2bcfd7){const _0x30e107=_0x30e1();return _0x2216=function(_0x221691,_0xcafe2f){_0x221691=_0x221691-0x19c;let _0x4db1e4=_0x30e107[_0x221691];return _0x4db1e4;},_0x2216(_0x580ebd,_0x2bcfd7);}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 _0xc78764 from'node:crypto';import{friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';function _0x30e1(){const _0x164341=['VAUSf','message_received','length','has','27LlMyvE','addKernelMsgListener','getMsgService','oTNRV','groupMemberList_MainWindow','onProfileDetailInfoChanged','12025864lpDXQg','账号设备(\x20','reXgf','onKickedOffLine','from','MeiCB','getBuddyService','consoleLogLevel','groupCode','hex','获取二维码登录超时','启动失败:\x20','initSession','constructor','NodeQQNTWrapperUtil','resolve','V1_WIN_NQ_','UgMJx','快速登录不可用','data:image/png;base64,','assign','split','name','onMemberInfoChange','[KickedOffLine]\x20[','wzFmR','onLoginSuccess','MiJfp','./.config/QQ','kDmiT','onMsgInfoListUpdate','当前账号(','onBuddyListChange','loginListener','qrLogin','isQuickLogin','catch','5242590ZpfkpG','NiheN','2bvkqcU','set','then','\x20has\x20no\x20method\x20','onRecvMsg','replace','QynLv','quickLogin','ProfileListener','NodeIDependsAdapter','mkdirSync','没有可快速登录的QQ号','NodeIQQNTWrapperSession','addListener','19240639ENuMPm','uid','登录失败','onQRCodeGetPicture','SqoxP','5463051PUKwnk','uReLg','1632490FnFMBv','onLoginSuccessFuncList','util','onRecvSysMsg','NodeIDispatcherAdapter','startNT','atNNy','passwordLogin','GroupListener','140022013','onSessionInitComplete','errMsg','本账号数据/缓存目录:','UPuhh','getGroupService','\x20)\x20在线状态变更','spwHT','FMaji','onGroupListUpdate','homedir','NodeIGlobalAdapter','read','sceneId','getProfileService','onLineDev','dataPath','fileLogLevel','addKernelProfileListener','dataPathGlobal','buddyList','Windows\x2010\x20Pro','forEach','vftJY','loginErrorInfo','uin','addKernelBuddyListener','digest','uVkzU','NzzUX','md5','NodeIKernelProfileListener','consoleLog','511yyrGJW','48810fNOsfW','oyyzA','curVersion','OwTZU','wnUeh','_GW_B','12ufSbku','MsgListener','数据库初始化失败','lkZGd','packet_received','recallTime','getMsgByLongId','NodeIKernelMsgListener','addMsg','initConfig','get','vjFZF','loginService','NodeIQQNTWrapperEngine','engine','clientType','find','140022008','onQRCodeLoginSucceed','nzHQo','undefined','initSession\x20failed','pUBiw','base64','sEDNT','VExpA','updateMsg','4FjGpnx','tipsTitle','NodeIKernelSessionListener','NodeIKernelLoginListener','session','tipsDesc','KzNuX','pngBase64QrcodeData','stringify','qrcodeUrl','OwRuG','proxyHandler','onQRCodeSessionFailed','addKernelGroupListener','devUid','PJCQR','now','-v2.db','XiFDN','NodeIKernelLoginService','uifWo','MeOIm','DKArG','KfRmw','last_message_time','195009ocgTwC','init','push','result','createHash','map','infos'];_0x30e1=function(){return _0x164341;};return _0x30e1();}import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x512a62(0x1b8)];[_0x512a62(0x21c)];['engine'];[_0x512a62(0x1a5)];[_0x512a62(0x1ff)];[_0x512a62(0x21b)]=[];[_0x512a62(0x1bf)]={'get'(target,prop,receiver){const _0x3d6fb8=_0x512a62,kSauSC={'atTft':function(callee,param1){return callee(param1);},'VAUSf':function(x,y){return x===y;},'RxIEz':_0x3d6fb8(0x1ad)};if(kSauSC[_0x3d6fb8(0x1d4)](typeof target[prop],kSauSC['RxIEz']))return(...args)=>{const _0x53f4af=_0x3d6fb8;kSauSC['atTft'](logDebug,target[_0x53f4af(0x1eb)][_0x53f4af(0x1f4)]+_0x53f4af(0x208)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x266a86=_0x512a62,_0x393b3c={'lkZGd':function(_0x51d57b,_0x2a5a4f){return _0x51d57b(_0x2a5a4f);},'MiJfp':function(_0x1795a0,_0x3e51bb){return _0x1795a0+_0x3e51bb;},'aDlMy':function(_0x4fe164,_0x421899){return _0x4fe164+_0x421899;},'NzzUX':_0x266a86(0x1fd),'uReLg':')已登录,无法重复登录','uVkzU':function(_0x18bf7d,_0x1f2f4b){return _0x18bf7d(_0x1f2f4b);},'NiheN':_0x266a86(0x1ae),'cGeOV':function(_0x1826a3,_0x1072f5,_0x230c0b){return _0x1826a3(_0x1072f5,_0x230c0b);},'llVRa':function(_0x149142,_0x5ebcab,_0x2531e7){return _0x149142(_0x5ebcab,_0x2531e7);}};this[_0x266a86(0x1a7)]=new _0x432b35[(_0x266a86(0x1a6))](),this['util']=new _0x432b35[(_0x266a86(0x1ec))](),this[_0x266a86(0x1a5)]=new _0x432b35[(_0x266a86(0x1c7))](),this[_0x266a86(0x1b8)]=new _0x432b35[(_0x266a86(0x211))](),this[_0x266a86(0x1ff)]=new LoginListener(),this[_0x266a86(0x1ff)]['onUserLoggedIn']=_0x5dc7e5=>{const _0xaff1ed=_0x266a86;_0x393b3c[_0xaff1ed(0x19c)](logError,_0x393b3c[_0xaff1ed(0x1f9)](_0x393b3c['aDlMy'](_0x393b3c[_0xaff1ed(0x240)],_0x5dc7e5),_0x393b3c[_0xaff1ed(0x219)]));},this[_0x266a86(0x1ff)][_0x266a86(0x1ab)]=_0x46fe36=>{const _0x6cdfd4=_0x266a86,_0xf68e8b={'sEDNT':function(_0x2c4226,_0x3617e6){return _0x2c4226 instanceof _0x3617e6;},'spwHT':function(_0x55d4d3,_0x4cea2d,_0x10f9be){return _0x55d4d3(_0x4cea2d,_0x10f9be);},'OwTZU':function(_0x3b36d3,_0x4d7270){const _0x42a562=_0x2216;return _0x393b3c[_0x42a562(0x23f)](_0x3b36d3,_0x4d7270);},'oyyzA':_0x6cdfd4(0x226),'DKArG':_0x393b3c[_0x6cdfd4(0x204)]};this['initSession'](_0x46fe36[_0x6cdfd4(0x23c)],_0x46fe36[_0x6cdfd4(0x214)])['then'](_0x1ac82f=>{const _0x29724a=_0x6cdfd4,_0x14946f={'kDmiT':function(_0x3db76c,_0x63a7f5){const _0x22ab15=_0x2216;return _0xf68e8b[_0x22ab15(0x1b1)](_0x3db76c,_0x63a7f5);}};selfInfo[_0x29724a(0x23c)]=_0x46fe36[_0x29724a(0x23c)],selfInfo[_0x29724a(0x214)]=_0x46fe36[_0x29724a(0x214)],napCatConfig[_0x29724a(0x22f)](),_0xf68e8b[_0x29724a(0x22a)](setLogLevel,napCatConfig[_0x29724a(0x234)],napCatConfig[_0x29724a(0x1e5)]),_0xf68e8b[_0x29724a(0x248)](enableFileLog,napCatConfig['fileLog']),_0xf68e8b[_0x29724a(0x248)](enableConsoleLog,napCatConfig[_0x29724a(0x243)]),_0xf68e8b[_0x29724a(0x248)](setLogSelfInfo,selfInfo);const _0xf29208=_0x47c271[_0x29724a(0x1ed)](this['dataPath'],'./NapCat/data');_0x36aeae[_0x29724a(0x20f)](_0xf29208,{'recursive':!![]}),_0xf68e8b['spwHT'](logDebug,_0xf68e8b[_0x29724a(0x246)],_0xf29208),dbUtil[_0x29724a(0x1ce)](_0x47c271['resolve'](_0xf29208,'./'+_0x46fe36[_0x29724a(0x23c)]+_0x29724a(0x1c5)))[_0x29724a(0x207)](()=>{const _0x2349d2=_0x29724a,_0xe7765f={'vftJY':function(_0x59d9b0,_0x191e77,_0x38bbe3){return _0x59d9b0(_0x191e77,_0x38bbe3);},'msdWi':function(_0x5ad252,_0x3b5e4d){const _0x5ee575=_0x2216;return _0x14946f[_0x5ee575(0x1fb)](_0x5ad252,_0x3b5e4d);}};this['initDataListener'](),this[_0x2349d2(0x21b)][_0x2349d2(0x1d2)](_0x480efa=>{const _0x321f01=_0x2349d2;new Promise((_0x2ba752,_0x191783)=>{const _0x55b9a4=_0x2216,_0x42489a=_0xe7765f[_0x55b9a4(0x23a)](_0x480efa,_0x46fe36[_0x55b9a4(0x23c)],_0x46fe36[_0x55b9a4(0x214)]);_0xe7765f['msdWi'](_0x42489a,Promise)&&_0x42489a[_0x55b9a4(0x207)](_0x2ba752)[_0x55b9a4(0x202)](_0x191783);})[_0x321f01(0x207)]();});})['catch'](_0x47bd3d=>{const _0x10e1b2=_0x29724a;logError(_0x10e1b2(0x24d),_0x47bd3d);});})[_0x6cdfd4(0x202)](_0x16d3bf=>{const _0x2c6f58=_0x6cdfd4;logError(_0xf68e8b[_0x2c6f58(0x1ca)],_0x16d3bf);throw new Error(_0x2c6f58(0x1e9)+JSON[_0x2c6f58(0x1bc)](_0x16d3bf));});},this[_0x266a86(0x1ff)][_0x266a86(0x1c0)]=_0x507c33=>{const _0x43f1b8=_0x266a86;_0x393b3c['cGeOV'](logError,_0x43f1b8(0x215),_0x507c33);},this[_0x266a86(0x1ff)]['onLoginFailed']=_0x1f96d0=>{_0x393b3c['llVRa'](logError,'登录失败',_0x1f96d0);},this[_0x266a86(0x1ff)]=new Proxy(this[_0x266a86(0x1ff)],this['proxyHandler']),this[_0x266a86(0x1a5)]['addKernelLoginListener'](new _0x432b35[(_0x266a86(0x1b7))](this[_0x266a86(0x1ff)])),this[_0x266a86(0x1a2)]();}get[_0x512a62(0x233)](){const _0x1b083c=_0x512a62,_0x27afcc={'QynLv':_0x1b083c(0x1fa)};let _0x3fb50e=this[_0x1b083c(0x21c)]['getNTUserDataInfoConfig']();return!_0x3fb50e&&(_0x3fb50e=_0x47c271[_0x1b083c(0x1ed)](_0x254c07[_0x1b083c(0x22d)](),_0x27afcc[_0x1b083c(0x20b)]),_0x36aeae[_0x1b083c(0x20f)](_0x3fb50e,{'recursive':!![]})),_0x3fb50e;}get['dataPathGlobal'](){const _0x1cee8f=_0x512a62,_0x165100={'ddBLh':'./nt_qq/global'};return _0x47c271[_0x1cee8f(0x1ed)](this['dataPath'],_0x165100['ddBLh']);}[_0x512a62(0x1a2)](){const _0x3ef9a7=_0x512a62;this[_0x3ef9a7(0x1a7)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x3ef9a7(0x247)],'os_version':_0x3ef9a7(0x238),'use_xlog':!![],'qua':_0x3ef9a7(0x1ee)+qqVersionConfigInfo[_0x3ef9a7(0x247)][_0x3ef9a7(0x20a)]('-','_')+_0x3ef9a7(0x24a),'global_path_config':{'desktopGlobalPath':this[_0x3ef9a7(0x236)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x432b35[(_0x3ef9a7(0x22e))](new GlobalAdapter())),this[_0x3ef9a7(0x1a5)][_0x3ef9a7(0x1a2)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x3ef9a7(0x247)],'hostName':hostname});}[_0x512a62(0x1ea)](_0x7b7193,_0x4db7a3){const _0x184084={'wzFmR':function(_0x3a450e,_0xfdbd87){return _0x3a450e===_0xfdbd87;},'GzJgw':function(_0x45c596,_0x1408f2,_0x31427e,_0xe36cea){return _0x45c596(_0x1408f2,_0x31427e,_0xe36cea);},'MeOIm':function(_0x8b4cd0,_0x38d14c){return _0x8b4cd0(_0x38d14c);},'VExpA':'init\x20failed\x20'};return new Promise((_0x4b0448,_0x366422)=>{const _0x344d11=_0x2216,_0x37d179={'pSLSB':function(_0xb015a1,_0x3515c7){const _0x201418=_0x2216;return _0x184084[_0x201418(0x1f7)](_0xb015a1,_0x3515c7);},'OwRuG':function(_0x65451b,_0x29b112){return _0x65451b(_0x29b112);}},_0x41d7cc=_0x184084['GzJgw'](genSessionConfig,_0x7b7193,_0x4db7a3,this[_0x344d11(0x233)]),_0x19d9c3=new SessionListener();_0x19d9c3[_0x344d11(0x224)]=_0xafb290=>{const _0x6b5122=_0x344d11;if(_0x37d179['pSLSB'](_0xafb290,0x0))return _0x37d179[_0x6b5122(0x1be)](_0x4b0448,0x0);_0x37d179['OwRuG'](_0x366422,_0xafb290);},this[_0x344d11(0x1b8)][_0x344d11(0x1ce)](_0x41d7cc,new _0x432b35[(_0x344d11(0x20e))](new DependsAdapter()),new _0x432b35[(_0x344d11(0x21e))](new DispatcherAdapter()),new _0x432b35[(_0x344d11(0x1b6))](_0x19d9c3));try{this[_0x344d11(0x1b8)]['startNT'](0x0);}catch(_0x300d7c){try{this['session'][_0x344d11(0x21f)]();}catch(_0x455697){_0x184084[_0x344d11(0x1c9)](_0x366422,_0x184084[_0x344d11(0x1b2)]+_0x455697);}}});}['initDataListener'](){const _0x2b5eea=_0x512a62,_0x53eb17={'KzNuX':function(_0x198c8a,_0x4f77e0){return _0x198c8a===_0x4f77e0;},'KfRmw':function(_0xac6af5,_0x11e1ba){return _0xac6af5(_0x11e1ba);},'UgMJx':function(_0x46cb37,_0x41697){return _0x46cb37+_0x41697;},'emLXB':_0x2b5eea(0x1df),'mCJcD':function(_0x4df5fd,_0x53b4db){return _0x4df5fd+_0x53b4db;},'oTNRV':function(_0x2c8ba9,_0x286e8b){return _0x2c8ba9+_0x286e8b;},'PJCQR':_0x2b5eea(0x1f6),'BpitU':function(_0xe5d6ad,_0xb09f7b){return _0xe5d6ad/_0xb09f7b;},'FMaji':_0x2b5eea(0x1dc)},_0x53dabe=new MsgListener();_0x53dabe[_0x2b5eea(0x232)]=_0x17a2fd=>{_0x17a2fd['map'](_0x519a34=>{const _0xc1b4c9=_0x2216;_0x53eb17[_0xc1b4c9(0x1ba)](_0x519a34[_0xc1b4c9(0x1a8)],0x2)&&_0x53eb17[_0xc1b4c9(0x1cb)](log,_0x53eb17['UgMJx'](_0x53eb17['emLXB']+_0x519a34[_0xc1b4c9(0x1c2)],_0xc1b4c9(0x229)));});},_0x53dabe[_0x2b5eea(0x1e1)]=_0xf7b682=>{const _0x3851c6=_0x2b5eea;log(_0x53eb17['mCJcD'](_0x53eb17[_0x3851c6(0x1ef)](_0x53eb17[_0x3851c6(0x1db)](_0x53eb17[_0x3851c6(0x1c3)],_0xf7b682[_0x3851c6(0x1b5)]),']\x20'),_0xf7b682[_0x3851c6(0x1b9)]));},_0x53dabe[_0x2b5eea(0x1fc)]=_0x1d1985=>{const _0x2e6394=_0x2b5eea;stat[_0x2e6394(0x19d)]+=0x1,_0x1d1985[_0x2e6394(0x1d2)](_0xeec300=>{const _0x2b9ffc=_0x2e6394;_0xeec300[_0x2b9ffc(0x19e)]==='0'?dbUtil[_0x2b9ffc(0x1a1)](_0xeec300)[_0x2b9ffc(0x207)]()['catch']():dbUtil[_0x2b9ffc(0x19f)](_0xeec300['msgId'])['then'](_0x80baee=>{const _0x4fa2dd=_0x2b9ffc;_0x80baee&&(_0x80baee[_0x4fa2dd(0x19e)]=_0xeec300[_0x4fa2dd(0x19e)],dbUtil[_0x4fa2dd(0x1b3)](_0x80baee)[_0x4fa2dd(0x207)]());});});},_0x53dabe['onAddSendMsg']=_0x1b1c53=>{const _0xf2a838=_0x2b5eea;stat['packet_sent']+=0x1,stat['message_sent']+=0x1,stat[_0xf2a838(0x1cc)]=Math['floor'](Date['now']()/0x3e8);},_0x53dabe[_0x2b5eea(0x209)]=_0x34b8ca=>{const _0x3baebf=_0x2b5eea;stat['packet_received']+=0x1,stat[_0x3baebf(0x1d5)]+=_0x34b8ca[_0x3baebf(0x1d6)],stat[_0x3baebf(0x1cc)]=Math['floor'](_0x53eb17['BpitU'](Date[_0x3baebf(0x1c4)](),0x3e8));},_0x53dabe[_0x2b5eea(0x21d)]=(..._0xca00f4)=>{const _0x104417=_0x2b5eea;stat[_0x104417(0x19d)]+=0x1;},this['addListener'](_0x53dabe);const _0x319f3c=new BuddyListener();_0x319f3c[_0x2b5eea(0x1fe)]=_0x14324b=>{const _0x1051be=_0x2b5eea;for(const _0x52dbd5 of _0x14324b){for(const _0x2f0b80 of _0x52dbd5[_0x1051be(0x237)]){const _0xb1a7b1=friends[_0x1051be(0x1a3)](_0x2f0b80[_0x1051be(0x214)]);uid2UinMap[_0x2f0b80[_0x1051be(0x214)]]=_0x2f0b80[_0x1051be(0x23c)],_0xb1a7b1?Object['assign'](_0xb1a7b1,_0x2f0b80):friends[_0x1051be(0x206)](_0x2f0b80[_0x1051be(0x214)],_0x2f0b80);}}},this['addListener'](_0x319f3c),this[_0x2b5eea(0x1b8)][_0x2b5eea(0x1e4)]()['getBuddyList'](!![])['then'](_0x54cad1=>{});const _0x8d1939=new ProfileListener();_0x8d1939[_0x2b5eea(0x1dd)]=_0xe2239e=>{const _0x37f558=_0x2b5eea;_0x53eb17[_0x37f558(0x1ba)](_0xe2239e[_0x37f558(0x214)],selfInfo[_0x37f558(0x214)])&&Object[_0x37f558(0x1f2)](selfInfo,_0xe2239e);},this['addListener'](_0x8d1939);const _0xca9296=new GroupListener();_0xca9296[_0x2b5eea(0x22c)]=(_0x4174a6,_0x342cd8)=>{const _0x30c8bd=_0x2b5eea,_0x101139={'SqoxP':_0x53eb17[_0x30c8bd(0x22b)]};_0x342cd8['map'](_0x3fae26=>{const _0x3b8f92=_0x30c8bd,_0x4ca554=groups[_0x3b8f92(0x1a3)](_0x3fae26[_0x3b8f92(0x1e6)]);if(_0x4ca554)Object['assign'](_0x4ca554,_0x3fae26);else{groups[_0x3b8f92(0x206)](_0x3fae26[_0x3b8f92(0x1e6)],_0x3fae26);const _0x531a32=this[_0x3b8f92(0x1b8)][_0x3b8f92(0x228)]()['createMemberListScene'](_0x3fae26[_0x3b8f92(0x1e6)],_0x101139[_0x3b8f92(0x217)]);this[_0x3b8f92(0x1b8)][_0x3b8f92(0x228)]()['getNextMemberList'](_0x531a32,undefined,0xbb8)[_0x3b8f92(0x207)](_0x54c325=>{});}});},_0xca9296['onMemberListChange']=_0x5d6591=>{const _0x106002=_0x2b5eea,_0x149988=_0x5d6591[_0x106002(0x230)][_0x106002(0x1f3)]('_')[0x0];if(groupMembers[_0x106002(0x1d7)](_0x149988)){const _0x5542f7=groupMembers['get'](_0x149988);_0x5d6591[_0x106002(0x1d3)][_0x106002(0x239)]((_0x350fc7,_0x1b80de)=>{const _0x1cb128=_0x106002,_0x3d4fe4=_0x5542f7[_0x1cb128(0x1a3)](_0x1b80de);_0x3d4fe4?Object[_0x1cb128(0x1f2)](_0x3d4fe4,_0x350fc7):_0x5542f7[_0x1cb128(0x206)](_0x1b80de,_0x350fc7);});}else groupMembers[_0x106002(0x206)](_0x149988,_0x5d6591[_0x106002(0x1d3)]);},_0xca9296[_0x2b5eea(0x1f5)]=(_0x1a6da2,_0x34991d,_0xbad96)=>{const _0x5340c9=_0x2b5eea;_0xbad96[_0x5340c9(0x239)]((_0xdaf9e9,_0x3cdc83)=>{uid2UinMap[_0x3cdc83]=_0xdaf9e9['uin'];});const _0x59e6e8=groupMembers[_0x5340c9(0x1a3)](_0x1a6da2);_0x59e6e8?_0xbad96[_0x5340c9(0x239)]((_0x5b29a9,_0x369e7b)=>{const _0x15afd3=_0x5340c9,_0x333eab=_0x59e6e8[_0x15afd3(0x1a3)](_0x369e7b);_0x333eab?Object['assign'](_0x333eab,_0x5b29a9):_0x59e6e8[_0x15afd3(0x206)](_0x369e7b,_0x5b29a9);}):groupMembers[_0x5340c9(0x206)](_0x1a6da2,_0xbad96);},this[_0x2b5eea(0x212)](_0xca9296);}['addListener'](_0x3c0e38){const _0x29f6d3=_0x512a62,_0x3e1971={'UPuhh':_0x29f6d3(0x222),'MeiCB':_0x29f6d3(0x24c),'wnUeh':_0x29f6d3(0x20d)};_0x3c0e38=new Proxy(_0x3c0e38,this[_0x29f6d3(0x1bf)]);switch(_0x3c0e38[_0x29f6d3(0x1eb)][_0x29f6d3(0x1f4)]){case'BuddyListener':{return this[_0x29f6d3(0x1b8)][_0x29f6d3(0x1e4)]()[_0x29f6d3(0x23d)](new _0x432b35['NodeIKernelBuddyListener'](_0x3c0e38));}case _0x3e1971[_0x29f6d3(0x227)]:{return this[_0x29f6d3(0x1b8)][_0x29f6d3(0x228)]()[_0x29f6d3(0x1c1)](new _0x432b35['NodeIKernelGroupListener'](_0x3c0e38));}case _0x3e1971[_0x29f6d3(0x1e3)]:{return this['session'][_0x29f6d3(0x1da)]()[_0x29f6d3(0x1d9)](new _0x432b35[(_0x29f6d3(0x1a0))](_0x3c0e38));}case _0x3e1971[_0x29f6d3(0x249)]:{return this[_0x29f6d3(0x1b8)][_0x29f6d3(0x231)]()[_0x29f6d3(0x235)](new _0x432b35[(_0x29f6d3(0x242))](_0x3c0e38));}default:return-0x1;}}[_0x512a62(0x1f8)](_0x4d0d8b){const _0x5be6fe=_0x512a62;this[_0x5be6fe(0x21b)][_0x5be6fe(0x1cf)](_0x4d0d8b);}async[_0x512a62(0x20c)](_0x3f162f){const _0x5cc53e=_0x512a62,_0x52ea20={'atNNy':function(_0x3687a7,_0x5b21c0){return _0x3687a7!==_0x5b21c0;},'gxuFs':function(_0x1b6f8e,_0x119506){return _0x1b6f8e(_0x119506);},'pUBiw':'快速登录失败\x20'},_0x42f28b=await this[_0x5cc53e(0x1a5)]['getLoginList']();if(_0x52ea20[_0x5cc53e(0x220)](_0x42f28b['result'],0x0))throw new Error(_0x5cc53e(0x210));const _0x3de456=_0x42f28b['LocalLoginInfoList'][_0x5cc53e(0x1a9)](_0x3a0773=>_0x3a0773[_0x5cc53e(0x23c)]===_0x3f162f);if(!_0x3de456||!_0x3de456?.[_0x5cc53e(0x201)])throw new Error(_0x3f162f+_0x5cc53e(0x1f0));await _0x52ea20['gxuFs'](sleep,0x3e8);const _0x1fc593=await this[_0x5cc53e(0x1a5)]['quickLoginWithUin'](_0x3f162f);if(!_0x1fc593['result'])throw new Error(_0x52ea20[_0x5cc53e(0x1af)]+_0x1fc593[_0x5cc53e(0x23b)][_0x5cc53e(0x225)]);return _0x1fc593;}async[_0x512a62(0x200)](){const _0x1cc0dd={'avAkB':function(_0x2505e3,_0x4b09ca){return _0x2505e3(_0x4b09ca);},'nzHQo':function(_0x42b6c5,_0x441193,_0x19450e){return _0x42b6c5(_0x441193,_0x19450e);}};let _0x5c8192=![];return new Promise((_0x56238a,_0x11fd43)=>{const _0x25f384=_0x2216;_0x1cc0dd[_0x25f384(0x1ac)](setTimeout,()=>{const _0x21f0b4=_0x25f384;!_0x5c8192&&_0x1cc0dd['avAkB'](_0x11fd43,_0x21f0b4(0x1e8));},0x2710),this[_0x25f384(0x1ff)][_0x25f384(0x216)]=_0x33a6a3=>{const _0x5f4de9=_0x25f384;_0x5c8192=!![];const _0x20acbd=_0x33a6a3['pngBase64QrcodeData'][_0x5f4de9(0x1f3)](_0x5f4de9(0x1f1))[0x1],_0xb419cc=Buffer[_0x5f4de9(0x1e2)](_0x20acbd,_0x5f4de9(0x1b0));_0x56238a({'url':_0x33a6a3[_0x5f4de9(0x1bd)],'base64':_0x33a6a3[_0x5f4de9(0x1bb)],'buffer':_0xb419cc});},this[_0x25f384(0x1a5)]['getQRCodePicture']();});}async[_0x512a62(0x221)](_0x270494,_0x4aa171,_0x35bf9e,_0x173f80,_0x3bcbd9){const _0x1c7262=_0x512a62,_0x309fe8={'uifWo':_0x1c7262(0x241),'reXgf':_0x1c7262(0x1e7),'upHJw':function(_0x515648,_0x26d58a){return _0x515648&&_0x26d58a;},'vjFZF':function(_0x3d4352,_0x5993c8){return _0x3d4352||_0x5993c8;},'XiFDN':function(_0x58dd15,_0x37a655){return _0x58dd15||_0x37a655;},'CxvIs':_0x1c7262(0x223)},_0x1faa13=_0xc78764[_0x1c7262(0x1d1)](_0x309fe8[_0x1c7262(0x1c8)])['update'](_0x4aa171)[_0x1c7262(0x23e)](_0x309fe8[_0x1c7262(0x1e0)]),_0x2c8dd3={'uin':_0x270494,'passwordMd5':_0x1faa13,'step':_0x309fe8['upHJw'](_0x35bf9e,_0x173f80)&&_0x3bcbd9?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x309fe8[_0x1c7262(0x1a4)](_0x35bf9e,''),'proofWaterRand':_0x309fe8[_0x1c7262(0x1c6)](_0x173f80,''),'proofWaterSid':_0x309fe8[_0x1c7262(0x1a4)](_0x3bcbd9,'')};await this['loginService']['getLoginList'](),await sleep(0x3e8);const _0x288315=await this[_0x1c7262(0x1a5)]['passwordLogin'](_0x2c8dd3);switch(_0x288315[_0x1c7262(0x1d0)]){case'0':{break;}case _0x1c7262(0x1aa):{break;}case'4':case _0x309fe8['CxvIs']:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x510c76=_0x2f1c;(function(_0x39044a,_0x24b873){const _0x38fb12=_0x2f1c,_0x2fa58e=_0x39044a();while(!![]){try{const _0x5a74f0=parseInt(_0x38fb12(0xf3))/0x1*(parseInt(_0x38fb12(0x14f))/0x2)+parseInt(_0x38fb12(0x138))/0x3+parseInt(_0x38fb12(0xc4))/0x4+-parseInt(_0x38fb12(0xc7))/0x5*(parseInt(_0x38fb12(0xed))/0x6)+parseInt(_0x38fb12(0xc9))/0x7*(parseInt(_0x38fb12(0xfe))/0x8)+parseInt(_0x38fb12(0x13d))/0x9*(-parseInt(_0x38fb12(0x15c))/0xa)+-parseInt(_0x38fb12(0x142))/0xb*(parseInt(_0x38fb12(0x116))/0xc);if(_0x5a74f0===_0x24b873)break;else _0x2fa58e['push'](_0x2fa58e['shift']());}catch(_0x1d4175){_0x2fa58e['push'](_0x2fa58e['shift']());}}}(_0x3643,0x7c0a2));import _0x2d55ab from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5ebf0b from'node:path';import _0x493b8b from'node:os';import _0x50577e 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 _0x41997d from'node:crypto';import{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 _0x2f1c(_0x10d820,_0x52533d){const _0x364307=_0x3643();return _0x2f1c=function(_0x2f1c90,_0x45410d){_0x2f1c90=_0x2f1c90-0xaf;let _0x1abf3f=_0x364307[_0x2f1c90];return _0x1abf3f;},_0x2f1c(_0x10d820,_0x52533d);}export class NapCatCore{['session'];[_0x510c76(0xb1)];[_0x510c76(0xf6)];[_0x510c76(0x126)];['loginListener'];[_0x510c76(0x14c)]=[];[_0x510c76(0xe7)]={'get'(target,prop,receiver){const _0x3ff77b=_0x510c76,gBRxYM={'mLDbw':function(x,y){return x===y;},'DFaqj':_0x3ff77b(0xd3)};if(gBRxYM[_0x3ff77b(0x104)](typeof target[prop],gBRxYM[_0x3ff77b(0xe5)]))return(...args)=>{const _0x5331a5=_0x3ff77b;logDebug(target[_0x5331a5(0x140)][_0x5331a5(0x106)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x3ff77b(0x141)](target,prop,receiver);}};constructor(){const _0x348f85=_0x510c76,_0x4d59e1={'uikUJ':function(_0x4d4c55,_0x54b71e){return _0x4d4c55+_0x54b71e;},'MPgAg':'当前账号(','thlDA':_0x348f85(0x131),'WrLgb':function(_0x38bde9,_0x51c496){return _0x38bde9(_0x51c496);},'StuDN':function(_0x10aebf,_0x45e9d6){return _0x10aebf(_0x45e9d6);},'TofVd':function(_0x281017,_0x1179bb,_0x4a39bc){return _0x281017(_0x1179bb,_0x4a39bc);},'Objcn':_0x348f85(0x12c),'TduDC':function(_0x2defdd,_0x13f708,_0x4d8bd5){return _0x2defdd(_0x13f708,_0x4d8bd5);}};this[_0x348f85(0xf6)]=new _0x2d55ab[(_0x348f85(0x159))](),this[_0x348f85(0xb1)]=new _0x2d55ab['NodeQQNTWrapperUtil'](),this[_0x348f85(0x126)]=new _0x2d55ab[(_0x348f85(0x137))](),this[_0x348f85(0x127)]=new _0x2d55ab['NodeIQQNTWrapperSession'](),this['loginListener']=new LoginListener(),this['loginListener']['onUserLoggedIn']=_0x4bf0b5=>{const _0x576279=_0x348f85;logError(_0x4d59e1[_0x576279(0xd8)](_0x4d59e1[_0x576279(0xd7)]+_0x4bf0b5,')已登录,无法重复登录'));},this[_0x348f85(0x143)][_0x348f85(0x139)]=_0x2e8234=>{const _0x47e079=_0x348f85;this[_0x47e079(0x156)](_0x2e8234[_0x47e079(0x15d)],_0x2e8234['uid'])[_0x47e079(0x11e)](_0x37e142=>{const _0x140bc2=_0x47e079,_0x23327b={'SCCXY':_0x4d59e1[_0x140bc2(0x160)]};selfInfo['uin']=_0x2e8234['uin'],selfInfo[_0x140bc2(0x125)]=_0x2e8234[_0x140bc2(0x125)],napCatConfig[_0x140bc2(0xc5)](),setLogLevel(napCatConfig[_0x140bc2(0xce)],napCatConfig[_0x140bc2(0x13e)]),_0x4d59e1['WrLgb'](enableFileLog,napCatConfig[_0x140bc2(0x161)]),_0x4d59e1['WrLgb'](enableConsoleLog,napCatConfig[_0x140bc2(0x123)]),_0x4d59e1['StuDN'](setLogSelfInfo,selfInfo);const _0xf5817d=_0x5ebf0b['resolve'](this['dataPath'],_0x140bc2(0x102));_0x50577e[_0x140bc2(0xcb)](_0xf5817d,{'recursive':!![]}),_0x4d59e1[_0x140bc2(0xc6)](logDebug,'本账号数据/缓存目录:',_0xf5817d),dbUtil['init'](_0x5ebf0b[_0x140bc2(0x12e)](_0xf5817d,'./'+_0x2e8234[_0x140bc2(0x15d)]+_0x140bc2(0x129)))[_0x140bc2(0x11e)](()=>{const _0x14ccfa=_0x140bc2,_0x5ae3ec={'hlznw':function(_0x1ceeae,_0x2f4376){return _0x1ceeae instanceof _0x2f4376;}};this[_0x14ccfa(0x12a)](),this[_0x14ccfa(0x14c)][_0x14ccfa(0x146)](_0x36a1b7=>{new Promise((_0xa7db7d,_0x48feac)=>{const _0x499c0a=_0x2f1c,_0x39699a=_0x36a1b7(_0x2e8234[_0x499c0a(0x15d)],_0x2e8234['uid']);_0x5ae3ec[_0x499c0a(0x154)](_0x39699a,Promise)&&_0x39699a[_0x499c0a(0x11e)](_0xa7db7d)[_0x499c0a(0x10d)](_0x48feac);})['then']();});})[_0x140bc2(0x10d)](_0x30b9db=>{logError(_0x23327b['SCCXY'],_0x30b9db);});})['catch'](_0x48a9e1=>{const _0x1c251a=_0x47e079;logError(_0x4d59e1[_0x1c251a(0x151)],_0x48a9e1);throw new Error(_0x1c251a(0xf2)+JSON[_0x1c251a(0x105)](_0x48a9e1));});},this[_0x348f85(0x143)]['onQRCodeSessionFailed']=_0x45ef27=>{const _0x5c56be=_0x348f85;_0x4d59e1[_0x5c56be(0x103)](logError,_0x5c56be(0xdb),_0x45ef27);},this[_0x348f85(0x143)][_0x348f85(0x133)]=_0x147868=>{const _0x3676e3=_0x348f85;_0x4d59e1[_0x3676e3(0xc6)](logError,'登录失败',_0x147868);},this[_0x348f85(0x143)]=new Proxy(this[_0x348f85(0x143)],this[_0x348f85(0xe7)]),this[_0x348f85(0x126)][_0x348f85(0xe4)](new _0x2d55ab[(_0x348f85(0xc1))](this['loginListener'])),this[_0x348f85(0x132)]();}get[_0x510c76(0xb5)](){const _0x1e6566=_0x510c76,_0x1d6730={'QhaQO':_0x1e6566(0x117)};let _0x152dbf=this[_0x1e6566(0xb1)][_0x1e6566(0x111)]();return!_0x152dbf&&(_0x152dbf=_0x5ebf0b[_0x1e6566(0x12e)](_0x493b8b[_0x1e6566(0xf7)](),_0x1d6730['QhaQO']),_0x50577e[_0x1e6566(0xcb)](_0x152dbf,{'recursive':!![]})),_0x152dbf;}get[_0x510c76(0x10b)](){const _0xaf58af=_0x510c76;return _0x5ebf0b[_0xaf58af(0x12e)](this[_0xaf58af(0xb5)],_0xaf58af(0x114));}[_0x510c76(0x132)](){const _0xc95d3c=_0x510c76,_0x1977a3={'wDHrQ':_0xc95d3c(0x150)};this['engine'][_0xc95d3c(0x119)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0xc95d3c(0x10f)],'os_version':_0x1977a3[_0xc95d3c(0xc8)],'use_xlog':!![],'qua':_0xc95d3c(0x107)+qqVersionConfigInfo[_0xc95d3c(0x10f)][_0xc95d3c(0x130)]('-','_')+_0xc95d3c(0x11a),'global_path_config':{'desktopGlobalPath':this[_0xc95d3c(0x10b)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x2d55ab[(_0xc95d3c(0x11c))](new GlobalAdapter())),this[_0xc95d3c(0x126)][_0xc95d3c(0x132)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0xc95d3c(0x10f)],'hostName':hostname});}[_0x510c76(0x156)](_0x24b2fa,_0x168798){const _0x34d925={'wOVPi':function(_0x3936d5,_0x9cb85){return _0x3936d5===_0x9cb85;},'MmKeZ':function(_0x5c0d7b,_0x2aef9c){return _0x5c0d7b(_0x2aef9c);},'YvzAG':function(_0x29eaf4,_0x37b580){return _0x29eaf4(_0x37b580);}};return new Promise((_0x52e59f,_0x1a7f12)=>{const _0x4df7d3=_0x2f1c,_0x451784=genSessionConfig(_0x24b2fa,_0x168798,this[_0x4df7d3(0xb5)]),_0x138860=new SessionListener();_0x138860[_0x4df7d3(0xcd)]=_0x23ecfd=>{const _0x1b2d6d=_0x4df7d3;if(_0x34d925[_0x1b2d6d(0x10c)](_0x23ecfd,0x0))return _0x34d925[_0x1b2d6d(0x10e)](_0x52e59f,0x0);_0x34d925[_0x1b2d6d(0x10e)](_0x1a7f12,_0x23ecfd);},this['session'][_0x4df7d3(0xc0)](_0x451784,new _0x2d55ab[(_0x4df7d3(0x13c))](new DependsAdapter()),new _0x2d55ab[(_0x4df7d3(0x158))](new DispatcherAdapter()),new _0x2d55ab[(_0x4df7d3(0xe1))](_0x138860));try{this[_0x4df7d3(0x127)][_0x4df7d3(0xf8)](0x0);}catch(_0xffdb87){try{this[_0x4df7d3(0x127)][_0x4df7d3(0xf8)]();}catch(_0x2a54c7){_0x34d925[_0x4df7d3(0x15e)](_0x1a7f12,_0x4df7d3(0x148)+_0x2a54c7);}}});}['initDataListener'](){const _0x4301b6=_0x510c76,_0x4a94e0={'aPkGC':function(_0x1c31f3,_0x5eaccf){return _0x1c31f3+_0x5eaccf;},'PZdJo':function(_0x4bffe0,_0x49f096){return _0x4bffe0+_0x49f096;},'kNqbx':')\x20在线状态变更','gPNuK':function(_0xa5b733,_0x5c787e){return _0xa5b733(_0x5c787e);},'oAfxZ':function(_0x5046cb,_0x180002){return _0x5046cb+_0x180002;},'TLDzY':function(_0x44482d,_0x367bb7){return _0x44482d+_0x367bb7;},'AmSwF':_0x4301b6(0xda),'fmhSO':function(_0x61a177,_0x2a1fe0){return _0x61a177===_0x2a1fe0;},'fOeyG':function(_0x315ca3,_0xfcb47e){return _0x315ca3/_0xfcb47e;},'psuwQ':function(_0x45f949,_0x3b1be1){return _0x45f949===_0x3b1be1;},'qsAfH':_0x4301b6(0x155)},_0x265b1b=new MsgListener();_0x265b1b[_0x4301b6(0xe2)]=_0x503d7c=>{const _0x55f7a9=_0x4301b6,_0x1e8911={'FNvFJ':function(_0x3356f8,_0x8e9bb6){const _0x48a81b=_0x2f1c;return _0x4a94e0[_0x48a81b(0xb8)](_0x3356f8,_0x8e9bb6);},'ippRI':function(_0x56e5fd,_0x5a3de0){const _0x234a4f=_0x2f1c;return _0x4a94e0[_0x234a4f(0x100)](_0x56e5fd,_0x5a3de0);},'pBSqq':_0x4a94e0['kNqbx']};_0x503d7c[_0x55f7a9(0x146)](_0x9a424f=>{const _0x1f0bc8=_0x55f7a9;_0x9a424f[_0x1f0bc8(0xff)]===0x2&&log(_0x1e8911[_0x1f0bc8(0xeb)](_0x1e8911[_0x1f0bc8(0xaf)]('账号设备(',_0x9a424f[_0x1f0bc8(0x14b)]),_0x1e8911[_0x1f0bc8(0x118)]));});},_0x265b1b[_0x4301b6(0xd6)]=_0x3907f9=>{const _0xa2376b=_0x4301b6;_0x4a94e0['gPNuK'](log,_0x4a94e0[_0xa2376b(0xbd)](_0x4a94e0[_0xa2376b(0xdf)](_0x4a94e0[_0xa2376b(0x152)],_0x3907f9['tipsTitle']),']\x20')+_0x3907f9[_0xa2376b(0xb3)]);},_0x265b1b[_0x4301b6(0x149)]=_0x2e95f9=>{const _0x53dcc6=_0x4301b6;stat[_0x53dcc6(0x113)]+=0x1,_0x2e95f9[_0x53dcc6(0x146)](_0x53312b=>{const _0x23d267=_0x53dcc6;_0x4a94e0['fmhSO'](_0x53312b[_0x23d267(0x14d)],'0')?dbUtil[_0x23d267(0xf0)](_0x53312b)['then']()[_0x23d267(0x10d)]():dbUtil['getMsgByLongId'](_0x53312b[_0x23d267(0x11f)])[_0x23d267(0x11e)](_0x3892d5=>{const _0x5aba8d=_0x23d267;_0x3892d5&&(_0x3892d5[_0x5aba8d(0x14d)]=_0x53312b[_0x5aba8d(0x14d)],dbUtil[_0x5aba8d(0x147)](_0x3892d5)[_0x5aba8d(0x11e)]());});});},_0x265b1b['onAddSendMsg']=_0x4538c1=>{const _0x1fbec2=_0x4301b6;stat[_0x1fbec2(0xfa)]+=0x1,stat['message_sent']+=0x1,stat[_0x1fbec2(0x134)]=Math[_0x1fbec2(0xb7)](Date[_0x1fbec2(0x11d)]()/0x3e8);},_0x265b1b['onRecvMsg']=_0xd5ede6=>{const _0x376718=_0x4301b6;stat[_0x376718(0x113)]+=0x1,stat[_0x376718(0x145)]+=_0xd5ede6['length'],stat[_0x376718(0x134)]=Math['floor'](_0x4a94e0['fOeyG'](Date[_0x376718(0x11d)](),0x3e8));},_0x265b1b[_0x4301b6(0xe6)]=(..._0x4a2ba7)=>{const _0x1bcfe8=_0x4301b6;stat[_0x1bcfe8(0x113)]+=0x1;},this['addListener'](_0x265b1b);const _0x40a26c=new BuddyListener();_0x40a26c[_0x4301b6(0xf9)]=_0x39a6b3=>{const _0x2984c6=_0x4301b6;for(const _0x26daf4 of _0x39a6b3){for(const _0x10674c of _0x26daf4[_0x2984c6(0xd1)]){const _0x318912=friends[_0x2984c6(0x141)](_0x10674c[_0x2984c6(0x125)]);uid2UinMap[_0x10674c[_0x2984c6(0x125)]]=_0x10674c[_0x2984c6(0x15d)],_0x318912?Object['assign'](_0x318912,_0x10674c):friends[_0x2984c6(0xf5)](_0x10674c[_0x2984c6(0x125)],_0x10674c);}}},this[_0x4301b6(0x136)](_0x40a26c),this['session'][_0x4301b6(0xd2)]()[_0x4301b6(0xbe)](!![])[_0x4301b6(0x11e)](_0x442af8=>{});const _0xc9703e=new ProfileListener();_0xc9703e[_0x4301b6(0xec)]=_0x25653a=>{const _0x787168=_0x4301b6;_0x4a94e0[_0x787168(0xde)](_0x25653a['uid'],selfInfo[_0x787168(0x125)])&&Object[_0x787168(0xd5)](selfInfo,_0x25653a);},_0xc9703e[_0x4301b6(0x11b)]=_0x569b9f=>{},this[_0x4301b6(0x136)](_0xc9703e);const _0x11e7d4=new GroupListener();_0x11e7d4['onGroupListUpdate']=(_0x26103c,_0x439822)=>{const _0x268bfc=_0x4301b6,_0x1acd2d={'IphEk':_0x4a94e0[_0x268bfc(0xb4)]};_0x439822[_0x268bfc(0x146)](_0x38bbf5=>{const _0x3d9cd7=_0x268bfc,_0x451279=groups[_0x3d9cd7(0x141)](_0x38bbf5[_0x3d9cd7(0xd0)]);if(_0x451279)Object[_0x3d9cd7(0xd5)](_0x451279,_0x38bbf5);else{groups[_0x3d9cd7(0xf5)](_0x38bbf5[_0x3d9cd7(0xd0)],_0x38bbf5);const _0x4ca24d=this['session'][_0x3d9cd7(0x12d)]()[_0x3d9cd7(0xb2)](_0x38bbf5[_0x3d9cd7(0xd0)],_0x1acd2d[_0x3d9cd7(0xe8)]);this[_0x3d9cd7(0x127)][_0x3d9cd7(0x12d)]()[_0x3d9cd7(0xf4)](_0x4ca24d,undefined,0xbb8)[_0x3d9cd7(0x11e)](_0x4234b3=>{});}});},_0x11e7d4[_0x4301b6(0x15a)]=_0x30bc7c=>{const _0xd3552c=_0x4301b6,_0xe4eac=_0x30bc7c[_0xd3552c(0x13a)]['split']('_')[0x0];if(groupMembers[_0xd3552c(0xcc)](_0xe4eac)){const _0x4f591f=groupMembers[_0xd3552c(0x141)](_0xe4eac);_0x30bc7c['infos'][_0xd3552c(0xe0)]((_0x57b4cf,_0x141a2f)=>{const _0x197f15=_0xd3552c,_0x3b3f0a=_0x4f591f[_0x197f15(0x141)](_0x141a2f);_0x3b3f0a?Object[_0x197f15(0xd5)](_0x3b3f0a,_0x57b4cf):_0x4f591f[_0x197f15(0xf5)](_0x141a2f,_0x57b4cf);});}else groupMembers[_0xd3552c(0xf5)](_0xe4eac,_0x30bc7c[_0xd3552c(0xe9)]);},_0x11e7d4['onMemberInfoChange']=(_0x1e6adc,_0x4d1138,_0x158d61)=>{const _0x375f3c=_0x4301b6;_0x158d61[_0x375f3c(0xe0)]((_0x1e715b,_0x24de1e)=>{uid2UinMap[_0x24de1e]=_0x1e715b['uin'];});const _0x3c635e=groupMembers[_0x375f3c(0x141)](_0x1e6adc);_0x3c635e?_0x158d61[_0x375f3c(0xe0)]((_0xae35da,_0x5bc51a)=>{const _0x1491b1=_0x375f3c,_0x1a5038=_0x3c635e[_0x1491b1(0x141)](_0x5bc51a);_0x1a5038?Object[_0x1491b1(0xd5)](_0x1a5038,_0xae35da):_0x3c635e[_0x1491b1(0xf5)](_0x5bc51a,_0xae35da);}):groupMembers[_0x375f3c(0xf5)](_0x1e6adc,_0x158d61);},this[_0x4301b6(0x136)](_0x11e7d4);}['addListener'](_0x3b4808){const _0x4cec9f=_0x510c76,_0x1c8cae={'cFEHy':_0x4cec9f(0xc2),'VbGNZ':'GroupListener','vPQeq':'MsgListener','UTpUK':_0x4cec9f(0x10a)};_0x3b4808=new Proxy(_0x3b4808,this[_0x4cec9f(0xe7)]);switch(_0x3b4808[_0x4cec9f(0x140)]['name']){case _0x1c8cae[_0x4cec9f(0x15b)]:{return this[_0x4cec9f(0x127)]['getBuddyService']()['addKernelBuddyListener'](new _0x2d55ab[(_0x4cec9f(0xfd))](_0x3b4808));}case _0x1c8cae[_0x4cec9f(0x13f)]:{return this[_0x4cec9f(0x127)]['getGroupService']()[_0x4cec9f(0xd4)](new _0x2d55ab[(_0x4cec9f(0x14a))](_0x3b4808));}case _0x1c8cae[_0x4cec9f(0xf1)]:{return this[_0x4cec9f(0x127)][_0x4cec9f(0x12b)]()['addKernelMsgListener'](new _0x2d55ab[(_0x4cec9f(0xba))](_0x3b4808));}case _0x1c8cae['UTpUK']:{return this[_0x4cec9f(0x127)]['getProfileService']()['addKernelProfileListener'](new _0x2d55ab[(_0x4cec9f(0xdd))](_0x3b4808));}default:return-0x1;}}[_0x510c76(0x144)](_0x262909){const _0x5f03cd=_0x510c76;this[_0x5f03cd(0x14c)][_0x5f03cd(0x112)](_0x262909);}async[_0x510c76(0x153)](_0x3d5c8d){const _0x3d551e=_0x510c76,_0x551cd6={'vQXUT':function(_0x31ab47,_0x1c8fd0){return _0x31ab47!==_0x1c8fd0;},'OLxdY':_0x3d551e(0xee),'AfDWt':function(_0x576e99,_0x395340){return _0x576e99(_0x395340);},'reIOl':function(_0x5ced90,_0x14dc13){return _0x5ced90+_0x14dc13;}},_0x3cdb1e=await this[_0x3d551e(0x126)][_0x3d551e(0x12f)]();if(_0x551cd6[_0x3d551e(0xfb)](_0x3cdb1e[_0x3d551e(0x135)],0x0))throw new Error(_0x551cd6[_0x3d551e(0x110)]);const _0x30dd9b=_0x3cdb1e[_0x3d551e(0xbb)][_0x3d551e(0xdc)](_0x3983c2=>_0x3983c2[_0x3d551e(0x15d)]===_0x3d5c8d);if(!_0x30dd9b||!_0x30dd9b?.[_0x3d551e(0x124)])throw new Error(_0x3d5c8d+_0x3d551e(0xe3));await _0x551cd6[_0x3d551e(0x157)](sleep,0x3e8);const _0x2ccd3d=await this[_0x3d551e(0x126)][_0x3d551e(0x15f)](_0x3d5c8d);if(!_0x2ccd3d[_0x3d551e(0x135)])throw new Error(_0x551cd6[_0x3d551e(0x120)]('快速登录失败\x20',_0x2ccd3d[_0x3d551e(0x101)][_0x3d551e(0x115)]));return _0x2ccd3d;}async[_0x510c76(0xb6)](){const _0x1d7198={'Ujkup':function(_0x23be66,_0x13ba61){return _0x23be66(_0x13ba61);},'Nbycz':'base64','nSYFB':function(_0x3ec7d1,_0x4f570d,_0x2b5284){return _0x3ec7d1(_0x4f570d,_0x2b5284);}};let _0x3fb7d0=![];return new Promise((_0x349a59,_0x1218f1)=>{const _0x1412f9=_0x2f1c,_0x3ae20f={'QafmG':_0x1d7198['Nbycz']};_0x1d7198[_0x1412f9(0x13b)](setTimeout,()=>{const _0x38cd26=_0x1412f9;!_0x3fb7d0&&_0x1d7198[_0x38cd26(0x14e)](_0x1218f1,'获取二维码登录超时');},0x2710),this[_0x1412f9(0x143)][_0x1412f9(0xbf)]=_0x18d0a3=>{const _0x4785fb=_0x1412f9;_0x3fb7d0=!![];const _0x3a9fdd=_0x18d0a3[_0x4785fb(0x108)][_0x4785fb(0xc3)]('data:image/png;base64,')[0x1],_0x36511d=Buffer[_0x4785fb(0xcf)](_0x3a9fdd,_0x3ae20f['QafmG']);_0x349a59({'url':_0x18d0a3['qrcodeUrl'],'base64':_0x18d0a3[_0x4785fb(0x108)],'buffer':_0x36511d});},this['loginService'][_0x1412f9(0xca)]();});}async[_0x510c76(0xfc)](_0x2c5028,_0x5a58ad,_0x75e126,_0x4466eb,_0x1c72dd){const _0x3e1eb7=_0x510c76,_0x15651f={'XhToi':'hex','bCcPF':function(_0x29e84b,_0x191f8b){return _0x29e84b&&_0x191f8b;},'DbUdp':function(_0x4a4067,_0x4beca0){return _0x4a4067||_0x4beca0;},'MovOh':function(_0x4f7b45,_0x17bcf6){return _0x4f7b45||_0x17bcf6;},'qUmUx':function(_0x1784b8,_0x274052){return _0x1784b8(_0x274052);},'vnkxv':'140022008','BdXYt':_0x3e1eb7(0xea)},_0x43c21c=_0x41997d[_0x3e1eb7(0xef)](_0x3e1eb7(0xbc))[_0x3e1eb7(0xb9)](_0x5a58ad)['digest'](_0x15651f[_0x3e1eb7(0x122)]),_0x30d5ec={'uin':_0x2c5028,'passwordMd5':_0x43c21c,'step':_0x15651f[_0x3e1eb7(0xd9)](_0x75e126,_0x4466eb)&&_0x1c72dd?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x15651f['DbUdp'](_0x75e126,''),'proofWaterRand':_0x15651f[_0x3e1eb7(0xb0)](_0x4466eb,''),'proofWaterSid':_0x1c72dd||''};await this[_0x3e1eb7(0x126)][_0x3e1eb7(0x12f)](),await _0x15651f[_0x3e1eb7(0x128)](sleep,0x3e8);const _0x5b8d99=await this[_0x3e1eb7(0x126)][_0x3e1eb7(0xfc)](_0x30d5ec);switch(_0x5b8d99['result']){case'0':{break;}case _0x15651f[_0x3e1eb7(0x109)]:{break;}case'4':case _0x15651f[_0x3e1eb7(0x121)]:default:}}}function _0x3643(){const _0x143059=['ProfileListener','dataPathGlobal','wOVPi','catch','MmKeZ','curVersion','OLxdY','getNTUserDataInfoConfig','push','packet_received','./nt_qq/global','errMsg','106920iDUclC','./.config/QQ','pBSqq','initWithDeskTopConfig','_GW_B','onSelfStatusChanged','NodeIGlobalAdapter','now','then','msgId','reIOl','BdXYt','XhToi','consoleLog','isQuickLogin','uid','loginService','session','qUmUx','-v2.db','initDataListener','getMsgService','initSession\x20failed','getGroupService','resolve','getLoginList','replace','数据库初始化失败','initConfig','onLoginFailed','last_message_time','result','addListener','NodeIKernelLoginService','154575XiXpcx','onQRCodeLoginSucceed','sceneId','nSYFB','NodeIDependsAdapter','18nqboZZ','consoleLogLevel','VbGNZ','constructor','get','22XtptCo','loginListener','onLoginSuccess','message_received','map','updateMsg','init\x20failed\x20','onMsgInfoListUpdate','NodeIKernelGroupListener','devUid','onLoginSuccessFuncList','recallTime','Ujkup','2120wsYVeh','Windows\x2010\x20Pro','Objcn','AmSwF','quickLogin','hlznw','groupMemberList_MainWindow','initSession','AfDWt','NodeIDispatcherAdapter','NodeIQQNTWrapperEngine','onMemberListChange','cFEHy','1082320dCVtHr','uin','YvzAG','quickLoginWithUin','thlDA','fileLog','ippRI','MovOh','util','createMemberListScene','tipsDesc','qsAfH','dataPath','qrLogin','floor','aPkGC','update','NodeIKernelMsgListener','LocalLoginInfoList','md5','oAfxZ','getBuddyList','onQRCodeGetPicture','init','NodeIKernelLoginListener','BuddyListener','split','2049944FSGpMv','read','TofVd','1275ImgQum','wDHrQ','3218803IBeRzh','getQRCodePicture','mkdirSync','has','onSessionInitComplete','fileLogLevel','from','groupCode','buddyList','getBuddyService','undefined','addKernelGroupListener','assign','onKickedOffLine','MPgAg','uikUJ','bCcPF','[KickedOffLine]\x20[','登录失败','find','NodeIKernelProfileListener','psuwQ','TLDzY','forEach','NodeIKernelSessionListener','onLineDev','快速登录不可用','addKernelLoginListener','DFaqj','onRecvSysMsg','proxyHandler','IphEk','infos','140022013','FNvFJ','onProfileDetailInfoChanged','8868RJQXrD','没有可快速登录的QQ号','createHash','addMsg','vPQeq','启动失败:\x20','90GZxdhs','getNextMemberList','set','engine','homedir','startNT','onBuddyListChange','packet_sent','vQXUT','passwordLogin','NodeIKernelBuddyListener','8asiXTN','clientType','PZdJo','loginErrorInfo','./NapCat/data','TduDC','mLDbw','stringify','name','V1_WIN_NQ_','pngBase64QrcodeData','vnkxv'];_0x3643=function(){return _0x143059;};return _0x3643();}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 5fa01e32..31a06581 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x51418b,_0x47584c){const _0x1bc276=_0x2178,_0x88685c=_0x51418b();while(!![]){try{const _0x645de8=-parseInt(_0x1bc276(0x10e))/0x1+-parseInt(_0x1bc276(0x116))/0x2*(parseInt(_0x1bc276(0x10d))/0x3)+-parseInt(_0x1bc276(0x108))/0x4+-parseInt(_0x1bc276(0x11d))/0x5*(-parseInt(_0x1bc276(0x10f))/0x6)+-parseInt(_0x1bc276(0x10c))/0x7+parseInt(_0x1bc276(0x111))/0x8+parseInt(_0x1bc276(0x107))/0x9;if(_0x645de8===_0x47584c)break;else _0x88685c['push'](_0x88685c['shift']());}catch(_0x3d5eec){_0x88685c['push'](_0x88685c['shift']());}}}(_0xf647,0x9f306));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0};function _0xf647(){const _0x2bfcc7=['getGroupMembers','forEach','10lStjAp','rMjGa','set','21635217UVIwLP','2697232qLUsoo','from','uin','values','1480003vZRgtH','87KtZxoI','290115TCRCVr','2137392LsgVwt','getGroups','88488YWhbDv','groupCode','fLyRz','NPJxv','find','89624QWbUJt','get','delete','toString','length'];_0xf647=function(){return _0x2bfcc7;};return _0xf647();}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x3fefb6){const _0x324699=_0x2178;groups[_0x324699(0x118)](_0x3fefb6),groupMembers[_0x324699(0x118)](_0x3fefb6);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};function _0x2178(_0x39fc5c,_0xf63d8c){const _0xf64796=_0xf647();return _0x2178=function(_0x21780c,_0xd6163d){_0x21780c=_0x21780c-0x106;let _0x11b666=_0xf64796[_0x21780c];return _0x11b666;},_0x2178(_0x39fc5c,_0xf63d8c);}export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x396dac){const _0x18f04a=_0x2178,_0x1101f7={'fLyRz':function(_0xcb3ca9,_0x279ae6){return _0xcb3ca9(_0x279ae6);}};_0x396dac=_0x396dac[_0x18f04a(0x119)]();if(_0x1101f7[_0x18f04a(0x113)](isNumeric,_0x396dac)){const _0x46caad=Array[_0x18f04a(0x109)](friends['values']());return _0x46caad[_0x18f04a(0x115)](_0x53b51c=>_0x53b51c[_0x18f04a(0x10a)]===_0x396dac);}else return friends[_0x18f04a(0x117)](_0x396dac);}export async function getGroup(_0x1f5ef4){const _0x361d6a=_0x2178;let _0x370816=groups[_0x361d6a(0x117)](_0x1f5ef4[_0x361d6a(0x119)]());if(!_0x370816)try{const _0x48b687=await NTQQGroupApi[_0x361d6a(0x110)]();_0x48b687[_0x361d6a(0x11a)]&&_0x48b687[_0x361d6a(0x11c)](_0x10188a=>{const _0x52f5a8=_0x361d6a;groups[_0x52f5a8(0x106)](_0x10188a[_0x52f5a8(0x112)],_0x10188a);});}catch(_0xe41383){return undefined;}return _0x370816=groups[_0x361d6a(0x117)](_0x1f5ef4[_0x361d6a(0x119)]()),_0x370816;}export async function getGroupMember(_0x22a637,_0x392326){const _0x20476f=_0x2178,_0xd4852f={'NPJxv':function(_0x3f6c66){return _0x3f6c66();}};_0x22a637=_0x22a637[_0x20476f(0x119)](),_0x392326=_0x392326[_0x20476f(0x119)]();let _0x1887eb=groupMembers['get'](_0x22a637);if(!_0x1887eb)try{_0x1887eb=await NTQQGroupApi[_0x20476f(0x11b)](_0x22a637),groupMembers[_0x20476f(0x106)](_0x22a637,_0x1887eb);}catch(_0x48bf15){return null;}const _0xe10584=()=>{const _0x204641=_0x20476f;let _0x1f296f=undefined;return isNumeric(_0x392326)?_0x1f296f=Array[_0x204641(0x109)](_0x1887eb[_0x204641(0x10b)]())['find'](_0x5b20ad=>_0x5b20ad['uin']===_0x392326):_0x1f296f=_0x1887eb['get'](_0x392326),_0x1f296f;};let _0x1e19ce=_0xd4852f[_0x20476f(0x114)](_0xe10584);return!_0x1e19ce&&(_0x1887eb=await NTQQGroupApi[_0x20476f(0x11b)](_0x22a637),_0x1e19ce=_0xd4852f[_0x20476f(0x114)](_0xe10584)),_0x1e19ce;}export const uid2UinMap={};export function getUidByUin(_0x45d4ff){const _0x1ef798=_0x2178,_0x144aab={'rMjGa':function(_0x198b10,_0x49ca76){return _0x198b10===_0x49ca76;}};for(const _0x387550 in uid2UinMap){if(_0x144aab[_0x1ef798(0x11e)](uid2UinMap[_0x387550],_0x45d4ff))return _0x387550;}}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +function _0x2473(){const _0x18c21f=['uin','3783375JlUlKS','length','find','get','7411248QXcWKo','2291634NYKsUf','set','38549TfOUBn','19344okpWwX','getGroupMembers','68190hpEPBl','getGroups','NapCat未能正常启动,请检查日志查看错误','40SaALam','fiOFQ','values','PeFnS','1005429jfwwtr','8LORkhL','toString','delete'];_0x2473=function(){return _0x18c21f;};return _0x2473();}const _0x4cb42f=_0x219f;(function(_0x2e71de,_0x4dc2a4){const _0x46e0eb=_0x219f,_0x38eeca=_0x2e71de();while(!![]){try{const _0x3c64c7=-parseInt(_0x46e0eb(0xec))/0x1+parseInt(_0x46e0eb(0xd8))/0x2+-parseInt(_0x46e0eb(0xdf))/0x3*(-parseInt(_0x46e0eb(0xe0))/0x4)+-parseInt(_0x46e0eb(0xe4))/0x5+-parseInt(_0x46e0eb(0xe9))/0x6+parseInt(_0x46e0eb(0xeb))/0x7*(parseInt(_0x46e0eb(0xdb))/0x8)+parseInt(_0x46e0eb(0xe8))/0x9;if(_0x3c64c7===_0x4dc2a4)break;else _0x38eeca['push'](_0x38eeca['shift']());}catch(_0x437ef4){_0x38eeca['push'](_0x38eeca['shift']());}}}(_0x2473,0x61076));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x219f(_0x3a9fec,_0x3316d5){const _0x2473a9=_0x2473();return _0x219f=function(_0x219f64,_0x27fbc1){_0x219f64=_0x219f64-0xd8;let _0x42ebc1=_0x2473a9[_0x219f64];return _0x42ebc1;},_0x219f(_0x3a9fec,_0x3316d5);}export const groups=new Map();export function deleteGroup(_0x59213a){const _0x551fee=_0x219f;groups['delete'](_0x59213a),groupMembers[_0x551fee(0xe2)](_0x59213a);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x4cb42f(0xda)};export async function getFriend(_0x27b08d){const _0x21b8e0=_0x4cb42f,_0x478357={'BpFkA':function(_0x27365c,_0x1a1847){return _0x27365c(_0x1a1847);}};_0x27b08d=_0x27b08d['toString']();if(_0x478357['BpFkA'](isNumeric,_0x27b08d)){const _0x22184b=Array['from'](friends['values']());return _0x22184b[_0x21b8e0(0xe6)](_0xfae4d8=>_0xfae4d8['uin']===_0x27b08d);}else return friends[_0x21b8e0(0xe7)](_0x27b08d);}export async function getGroup(_0x32685c){const _0x263e7a=_0x4cb42f;let _0x3539b5=groups['get'](_0x32685c['toString']());if(!_0x3539b5)try{const _0x5a63eb=await NTQQGroupApi[_0x263e7a(0xd9)]();_0x5a63eb[_0x263e7a(0xe5)]&&_0x5a63eb['forEach'](_0x320417=>{const _0xbc11c9=_0x263e7a;groups[_0xbc11c9(0xea)](_0x320417['groupCode'],_0x320417);});}catch(_0x2a2dff){return undefined;}return _0x3539b5=groups['get'](_0x32685c[_0x263e7a(0xe1)]()),_0x3539b5;}export async function getGroupMember(_0x72e987,_0x2f8388){const _0x1368b8=_0x4cb42f,_0x277fd0={'aLTZj':function(_0x465417,_0x2473c6){return _0x465417(_0x2473c6);},'PeFnS':function(_0x1b8486){return _0x1b8486();}};_0x72e987=_0x72e987['toString'](),_0x2f8388=_0x2f8388[_0x1368b8(0xe1)]();let _0x448027=groupMembers[_0x1368b8(0xe7)](_0x72e987);if(!_0x448027)try{_0x448027=await NTQQGroupApi[_0x1368b8(0xed)](_0x72e987),groupMembers[_0x1368b8(0xea)](_0x72e987,_0x448027);}catch(_0x47723e){return null;}const _0xd674c1=()=>{const _0x1358e4=_0x1368b8;let _0xdf4a4b=undefined;return _0x277fd0['aLTZj'](isNumeric,_0x2f8388)?_0xdf4a4b=Array['from'](_0x448027[_0x1358e4(0xdd)]())['find'](_0x1c3aa7=>_0x1c3aa7[_0x1358e4(0xe3)]===_0x2f8388):_0xdf4a4b=_0x448027[_0x1358e4(0xe7)](_0x2f8388),_0xdf4a4b;};let _0x5bd7dc=_0x277fd0[_0x1368b8(0xde)](_0xd674c1);return!_0x5bd7dc&&(_0x448027=await NTQQGroupApi['getGroupMembers'](_0x72e987),_0x5bd7dc=_0x277fd0[_0x1368b8(0xde)](_0xd674c1)),_0x5bd7dc;}export const uid2UinMap={};export function getUidByUin(_0x34b6de){const _0x2247aa=_0x4cb42f,_0x3d8b6b={'fiOFQ':function(_0x149107,_0x417269){return _0x149107===_0x417269;}};for(const _0x5e5c07 in uid2UinMap){if(_0x3d8b6b[_0x2247aa(0xdc)](uid2UinMap[_0x5e5c07],_0x34b6de))return _0x5e5c07;}}export const tempGroupCodeMap={};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 a987c192..cebccfb1 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -function _0x5d70(){var _0x306244=['8313228SimYGW','9hIhOpt','4973172hCYIQa','2712drtPbi','5035FrvOBQ','9poRQOU','13BnedCj','2410984TyOjlD','2968630FUgisv','OTHER','IMAGE','146fITShe','4|1|3|0|2','VUNPX','3719KxNwFx','7jFgugQ','VIDEO','297724ldRsQS'];_0x5d70=function(){return _0x306244;};return _0x5d70();}(function(_0x35eb1b,_0x54057e){var _0x221327=_0x4490,_0x25723d=_0x35eb1b();while(!![]){try{var _0x4af65f=-parseInt(_0x221327(0x156))/0x1*(parseInt(_0x221327(0x153))/0x2)+-parseInt(_0x221327(0x15b))/0x3*(-parseInt(_0x221327(0x159))/0x4)+-parseInt(_0x221327(0x14c))/0x5*(parseInt(_0x221327(0x14b))/0x6)+parseInt(_0x221327(0x157))/0x7*(parseInt(_0x221327(0x14f))/0x8)+-parseInt(_0x221327(0x14d))/0x9*(-parseInt(_0x221327(0x150))/0xa)+parseInt(_0x221327(0x15a))/0xb+parseInt(_0x221327(0x14a))/0xc*(-parseInt(_0x221327(0x14e))/0xd);if(_0x4af65f===_0x54057e)break;else _0x25723d['push'](_0x25723d['shift']());}catch(_0x3d1bfd){_0x25723d['push'](_0x25723d['shift']());}}}(_0x5d70,0x6a7e3));function _0x4490(_0x217e5f,_0x49dcc5){var _0x5d701d=_0x5d70();return _0x4490=function(_0x4490e7,_0x4d83b3){_0x4490e7=_0x4490e7-0x14a;var _0x10d210=_0x5d701d[_0x4490e7];return _0x10d210;},_0x4490(_0x217e5f,_0x49dcc5);}export var CacheFileType;(function(_0x24a344){var _0x5873fc=_0x4490,_0x379774={'VUNPX':'DOCUMENT','sjODn':'AUDIO'},_0x6f1721=_0x5873fc(0x154)['split']('|'),_0x1b4b95=0x0;while(!![]){switch(_0x6f1721[_0x1b4b95++]){case'0':_0x24a344[_0x24a344['DOCUMENT']=0x3]=_0x379774[_0x5873fc(0x155)];continue;case'1':_0x24a344[_0x24a344[_0x5873fc(0x158)]=0x1]='VIDEO';continue;case'2':_0x24a344[_0x24a344['OTHER']=0x4]=_0x5873fc(0x151);continue;case'3':_0x24a344[_0x24a344[_0x379774['sjODn']]=0x2]=_0x379774['sjODn'];continue;case'4':_0x24a344[_0x24a344['IMAGE']=0x0]=_0x5873fc(0x152);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0xb790(_0x1d7a46,_0x78c48d){var _0x54178c=_0x5417();return _0xb790=function(_0xb7901c,_0x1a8c60){_0xb7901c=_0xb7901c-0x113;var _0x461f28=_0x54178c[_0xb7901c];return _0x461f28;},_0xb790(_0x1d7a46,_0x78c48d);}(function(_0x5ee3fc,_0x301352){var _0x1c92be=_0xb790,_0x54b9e3=_0x5ee3fc();while(!![]){try{var _0x5c06b3=-parseInt(_0x1c92be(0x122))/0x1*(-parseInt(_0x1c92be(0x11a))/0x2)+-parseInt(_0x1c92be(0x116))/0x3*(parseInt(_0x1c92be(0x126))/0x4)+-parseInt(_0x1c92be(0x119))/0x5+-parseInt(_0x1c92be(0x123))/0x6*(-parseInt(_0x1c92be(0x114))/0x7)+parseInt(_0x1c92be(0x11c))/0x8+-parseInt(_0x1c92be(0x113))/0x9*(-parseInt(_0x1c92be(0x124))/0xa)+parseInt(_0x1c92be(0x11f))/0xb*(-parseInt(_0x1c92be(0x117))/0xc);if(_0x5c06b3===_0x301352)break;else _0x54b9e3['push'](_0x54b9e3['shift']());}catch(_0x44b08d){_0x54b9e3['push'](_0x54b9e3['shift']());}}}(_0x5417,0x4d253));export var CacheFileType;(function(_0x47b42f){var _0x5b1841=_0xb790,_0x4c58ad={'MjjMg':_0x5b1841(0x127),'TApWt':_0x5b1841(0x11d),'kFhYU':_0x5b1841(0x121),'psbuV':_0x5b1841(0x118),'evwWp':_0x5b1841(0x11b)};_0x47b42f[_0x47b42f[_0x5b1841(0x127)]=0x0]=_0x4c58ad['MjjMg'],_0x47b42f[_0x47b42f[_0x4c58ad[_0x5b1841(0x120)]]=0x1]=_0x4c58ad[_0x5b1841(0x120)],_0x47b42f[_0x47b42f[_0x4c58ad[_0x5b1841(0x125)]]=0x2]=_0x4c58ad[_0x5b1841(0x125)],_0x47b42f[_0x47b42f[_0x4c58ad[_0x5b1841(0x11e)]]=0x3]=_0x4c58ad[_0x5b1841(0x11e)],_0x47b42f[_0x47b42f[_0x4c58ad[_0x5b1841(0x115)]]=0x4]=_0x4c58ad[_0x5b1841(0x115)];}(CacheFileType||(CacheFileType={})));function _0x5417(){var _0x576b99=['3131220NqBWIp','DOCUMENT','2411965XLWaRE','122MQINLg','OTHER','3107216XGToQO','VIDEO','psbuV','11wqXaJy','TApWt','AUDIO','6467exvmlg','162jfVGGF','382890MgLHqe','kFhYU','12RfRxxt','IMAGE','27fItuIN','43785AJGBQC','evwWp','7326ofsmmp'];_0x5417=function(){return _0x576b99;};return _0x5417();} \ 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 49533485..a3da9007 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x2040c9=_0x48c3;(function(_0x232b68,_0xbdeef8){const _0x2497a3=_0x48c3,_0xc416a5=_0x232b68();while(!![]){try{const _0x31b7a7=parseInt(_0x2497a3(0xd3))/0x1+parseInt(_0x2497a3(0xd2))/0x2+parseInt(_0x2497a3(0xf4))/0x3*(-parseInt(_0x2497a3(0xc1))/0x4)+-parseInt(_0x2497a3(0xcb))/0x5+parseInt(_0x2497a3(0xc0))/0x6+parseInt(_0x2497a3(0xb9))/0x7+-parseInt(_0x2497a3(0xff))/0x8;if(_0x31b7a7===_0xbdeef8)break;else _0xc416a5['push'](_0xc416a5['shift']());}catch(_0x46ab63){_0xc416a5['push'](_0xc416a5['shift']());}}}(_0x47b4,0xf095c));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x48c3(_0x55de19,_0x17fd82){const _0x47b4e9=_0x47b4();return _0x48c3=function(_0x48c32b,_0x34530e){_0x48c32b=_0x48c32b-0xb1;let _0xdc1f7a=_0x47b4e9[_0x48c32b];return _0xdc1f7a;},_0x48c3(_0x55de19,_0x17fd82);}import{promises as _0x28eecd}from'node:fs';import _0x5b91b5 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';function _0x47b4(){const _0x125821=['VIDEO','RPS','REPLY','文件异常,大小为0','语音转换失败,\x20请检查语音文件是否正常','bYgjG','_0.png','FACE','FILE','图片信息','6LerNfk','PhSFY','mp4','dRgwx','wPvIC','lqEfo','ptt','QdWRv','MfWOv','writeFile','MYibT','4552192LebMhK','FHoqa','RfKMD','rps','dice','toString','wdwLv','then','set','Ori','视频信息','copyFile','sFjfZ','text','pic','join','3673628mfHUrJ','MARKDOWN','face','PIC','width','PKioH','IUyGi','3024708WYVxiZ','1990484MTQjMi','jpg','end','ZplfA','xrXLv','markdown','[骰子]','获取视频信息失败','path','notAt','2604485eczXIU','uploadFile','replace','MFACE','catch','mdApd','time','1524990SIOmAY','1279182pPvoOs','[商城表情]','error','dirname','PTT','normal2','stringify','TEXT','RlRga','tJoWw','ark','getImageSize','gif','rjnbs','string','Dmuwb','获取视频封面失败,使用默认封面','height','screenshots','unlink','[包剪锤]','sep','NJIvg'];_0x47b4=function(){return _0x125821;};return _0x47b4();}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[_0x2040c9(0xb6)](_0x4a3472){const _0xe7a8fa=_0x2040c9;return{'elementType':ElementType[_0xe7a8fa(0xda)],'elementId':'','textElement':{'content':_0x4a3472,'atType':AtType[_0xe7a8fa(0xca)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3b6546,_0x5c0ae3,_0x176ec3,_0x289487){const _0x58e6f9=_0x2040c9;return{'elementType':ElementType[_0x58e6f9(0xda)],'elementId':'','textElement':{'content':'@'+_0x289487,'atType':_0x176ec3,'atUid':_0x3b6546,'atTinyId':'','atNtUid':_0x5c0ae3}};}static['reply'](_0x25b6fc,_0x46f075,_0x3bd010,_0x354e34){const _0x5a9ea4=_0x2040c9;return{'elementType':ElementType[_0x5a9ea4(0xec)],'elementId':'','replyElement':{'replayMsgSeq':_0x25b6fc,'replayMsgId':_0x46f075,'senderUin':_0x3bd010,'senderUinStr':_0x354e34}};}static async[_0x2040c9(0xb7)](_0x33b0f0,_0x3e936c='',_0x1ed57f=0x0){const _0x28e9fc=_0x2040c9,_0x4cec65={'RfKMD':function(_0x1581d4,_0x406758){return _0x1581d4===_0x406758;},'sdxCI':_0x28e9fc(0xed),'QdWRv':function(_0x94bd39,_0x7a38ac){return _0x94bd39(_0x7a38ac);},'eBJKf':_0x28e9fc(0xf3)},{md5:_0x3be3c2,fileName:_0x53c9cd,path:_0x288c5d,fileSize:_0x5af479}=await NTQQFileApi[_0x28e9fc(0xcc)](_0x33b0f0,ElementType['PIC'],_0x1ed57f);if(_0x4cec65[_0x28e9fc(0x101)](_0x5af479,0x0))throw _0x4cec65['sdxCI'];const _0x1110e7=await NTQQFileApi[_0x28e9fc(0xde)](_0x33b0f0),_0x4b26dd={'md5HexStr':_0x3be3c2,'fileSize':_0x5af479[_0x28e9fc(0x104)](),'picWidth':_0x1110e7?.[_0x28e9fc(0xbd)],'picHeight':_0x1110e7?.['height'],'fileName':_0x53c9cd,'sourcePath':_0x288c5d,'original':!![],'picType':_0x4cec65[_0x28e9fc(0xfb)](isGIF,_0x33b0f0)?PicType[_0x28e9fc(0xdf)]:PicType[_0x28e9fc(0xc2)],'picSubType':_0x1ed57f,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3e936c};return logDebug(_0x4cec65['eBJKf'],_0x4b26dd),{'elementType':ElementType[_0x28e9fc(0xbc)],'elementId':'','picElement':_0x4b26dd};}static async['file'](_0x1959d3,_0x465d58=''){const _0x3d2911=_0x2040c9,_0x3963a1={'IUyGi':function(_0x166392,_0x2917b1){return _0x166392===_0x2917b1;}},{md5:_0x553e7f,fileName:_0x5e21ff,path:_0x21f6b1,fileSize:_0x247040}=await NTQQFileApi[_0x3d2911(0xcc)](_0x1959d3,ElementType[_0x3d2911(0xf2)]);if(_0x3963a1[_0x3d2911(0xbf)](_0x247040,0x0))throw'文件异常,大小为0';const _0x5dc981={'elementType':ElementType[_0x3d2911(0xf2)],'elementId':'','fileElement':{'fileName':_0x465d58||_0x5e21ff,'filePath':_0x21f6b1,'fileSize':_0x247040['toString']()}};return _0x5dc981;}static async['video'](_0x3184e5,_0x13ea10='',_0x242060=''){const _0xc62665=_0x2040c9,_0x188081={'MfWOv':_0xc62665(0xe3),'Dmuwb':function(_0x3fee64,_0x1a2c90){return _0x3fee64(_0x1a2c90);},'wdwLv':function(_0x24d161,_0x3c7ab6){return _0x24d161(_0x3c7ab6);},'lqEfo':_0xc62665(0xc3),'wPvIC':_0xc62665(0xd5),'mdApd':function(_0x4fb990,_0x44e583){return _0x4fb990+_0x44e583;},'xrXLv':function(_0x1113f0,_0x34c199){return _0x1113f0+_0x34c199;},'vhidf':function(_0x54d136,_0x329d72){return _0x54d136===_0x329d72;},'bYgjG':'文件异常,大小为0','pRYrb':_0xc62665(0xc9),'RlRga':_0xc62665(0xf6),'NJIvg':function(_0x237205,_0x1280f3,_0x7b67a7){return _0x237205(_0x1280f3,_0x7b67a7);},'rjnbs':_0xc62665(0xb3),'dRgwx':function(_0x5913d9,_0x1f4662){return _0x5913d9||_0x1f4662;},'bWwll':function(_0x3b5183,_0x538b0d){return _0x3b5183+_0x538b0d;}},{fileName:_0x473dba,path:_0x2771fe,fileSize:_0x4e5d94,md5:_0x51cf73}=await NTQQFileApi['uploadFile'](_0x3184e5,ElementType['VIDEO']);if(_0x188081['vhidf'](_0x4e5d94,0x0))throw _0x188081[_0xc62665(0xef)];const _0x1618b3=_0x188081[_0xc62665(0x105)](require,_0x188081['pRYrb']);let _0x5839f4=_0x2771fe[_0xc62665(0xcd)](_0x1618b3['sep']+_0xc62665(0xb2)+_0x1618b3['sep'],_0x1618b3[_0xc62665(0xe8)]+'Thumb'+_0x1618b3[_0xc62665(0xe8)]);_0x5839f4=_0x1618b3[_0xc62665(0xd6)](_0x5839f4);let _0x11e42a={'width':0x780,'height':0x438,'time':0xf,'format':_0x188081[_0xc62665(0xdb)],'size':_0x4e5d94,'filePath':_0x3184e5};try{_0x11e42a=await _0x188081[_0xc62665(0xe2)](getVideoInfo,_0x2771fe),_0x188081[_0xc62665(0xe9)](logDebug,_0x188081[_0xc62665(0xe0)],_0x11e42a);}catch(_0x198392){_0x188081[_0xc62665(0xe9)](logError,_0xc62665(0xc8),_0x198392);}const _0x40231d=new Promise((_0x129947,_0x27a07d)=>{const _0x34ef4a=_0xc62665,_0xf18d84={'sFjfZ':function(_0x3bd6a0,_0x14770f){const _0x3df87b=_0x48c3;return _0x188081[_0x3df87b(0xe2)](_0x3bd6a0,_0x14770f);},'xSzQB':function(_0x5df604,_0x42f67d){return _0x188081['Dmuwb'](_0x5df604,_0x42f67d);}},_0x3dce88=_0x51cf73+_0x34ef4a(0xf0),_0x19b773=_0x1618b3[_0x34ef4a(0xb8)](_0x5839f4,_0x3dce88);_0x188081['wdwLv'](_0x5b91b5,_0x3184e5)['on'](_0x188081[_0x34ef4a(0xf9)],()=>{})['on'](_0x188081[_0x34ef4a(0xf8)],_0x2b997e=>{const _0x4f83e3=_0x34ef4a;logDebug(_0x188081[_0x4f83e3(0xfc)],_0x2b997e),_0x242060?_0x28eecd[_0x4f83e3(0xb4)](_0x242060,_0x19b773)[_0x4f83e3(0x106)](()=>{const _0x10a43c=_0x4f83e3;_0xf18d84[_0x10a43c(0xb5)](_0x129947,_0x19b773);})['catch'](_0x27a07d):_0x28eecd[_0x4f83e3(0xfd)](_0x19b773,defaultVideoThumb)[_0x4f83e3(0x106)](()=>{_0xf18d84['xSzQB'](_0x129947,_0x19b773);})[_0x4f83e3(0xcf)](_0x27a07d);})[_0x34ef4a(0xe5)]({'timestamps':[0x0],'filename':_0x3dce88,'folder':_0x5839f4,'size':_0x188081[_0x34ef4a(0xd0)](_0x188081[_0x34ef4a(0xc5)](_0x11e42a[_0x34ef4a(0xbd)],'x'),_0x11e42a[_0x34ef4a(0xe4)])})['on'](_0x188081[_0x34ef4a(0xf9)],()=>{const _0x22de43=_0x34ef4a;_0x188081[_0x22de43(0xe2)](_0x129947,_0x19b773);});}),_0x3b18c4=new Map(),_0x3ba069=await _0x40231d,_0x33b753=(await _0x28eecd['stat'](_0x3ba069))['size'];_0x3b18c4[_0xc62665(0xb1)](0x0,_0x3ba069);const _0x89c7b3=await _0x188081[_0xc62665(0x105)](calculateFileMD5,_0x3ba069),_0x4c60c8={'elementType':ElementType[_0xc62665(0xea)],'elementId':'','videoElement':{'fileName':_0x188081[_0xc62665(0xf7)](_0x13ea10,_0x473dba),'filePath':_0x2771fe,'videoMd5':_0x51cf73,'thumbMd5':_0x89c7b3,'fileTime':_0x11e42a[_0xc62665(0xd1)],'thumbPath':_0x3b18c4,'thumbSize':_0x33b753,'thumbWidth':_0x11e42a[_0xc62665(0xbd)],'thumbHeight':_0x11e42a[_0xc62665(0xe4)],'fileSize':_0x188081['bWwll']('',_0x4e5d94)}};return _0x4c60c8;}static async[_0x2040c9(0xfa)](_0x587949){const _0x3f0ccc=_0x2040c9,_0x511cc8={'EocYa':function(_0x502996,_0x44c664){return _0x502996(_0x44c664);},'FHoqa':'文件异常,大小为0','tJoWw':function(_0x2cf4a5,_0x365157){return _0x2cf4a5||_0x365157;}},{converted:_0x5857ba,path:_0x5817f6,duration:_0x5b88cc}=await _0x511cc8['EocYa'](encodeSilk,_0x587949);if(!_0x5817f6)throw _0x3f0ccc(0xee);const {md5:_0x42c33a,fileName:_0xc66341,path:_0x9955df,fileSize:_0x419d47}=await NTQQFileApi['uploadFile'](_0x5817f6,ElementType[_0x3f0ccc(0xd7)]);if(_0x419d47===0x0)throw _0x511cc8[_0x3f0ccc(0x100)];return _0x5857ba&&_0x28eecd[_0x3f0ccc(0xe6)](_0x5817f6)[_0x3f0ccc(0x106)](),{'elementType':ElementType[_0x3f0ccc(0xd7)],'elementId':'','pttElement':{'fileName':_0xc66341,'filePath':_0x9955df,'md5HexStr':_0x42c33a,'fileSize':_0x419d47,'duration':_0x511cc8[_0x3f0ccc(0xdc)](_0x5b88cc,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[_0x2040c9(0xbb)](_0x4af9b3){const _0x4a4172=_0x2040c9,_0xf964ac={'ZplfA':function(_0x319828,_0x1210a7){return _0x319828<_0x1210a7;}};return{'elementType':ElementType[_0x4a4172(0xf1)],'elementId':'','faceElement':{'faceIndex':_0x4af9b3,'faceType':_0xf964ac[_0x4a4172(0xc4)](_0x4af9b3,0xde)?FaceType['normal']:FaceType[_0x4a4172(0xd8)]}};}static['mface'](_0x105240,_0xcf06ce,_0x38767d,_0x184546){const _0x28a0b4=_0x2040c9,_0x35664d={'MYibT':_0x28a0b4(0xd4)};return{'elementType':ElementType[_0x28a0b4(0xce)],'marketFaceElement':{'emojiPackageId':_0x105240,'emojiId':_0xcf06ce,'key':_0x38767d,'faceName':_0x184546||mFaceCache['get'](_0xcf06ce)||_0x35664d[_0x28a0b4(0xfe)]}};}static[_0x2040c9(0x103)](_0x213500){const _0x30e021=_0x2040c9,_0x37d8b5={'TWNQZ':_0x30e021(0xc7)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x30e021(0x103)],'faceType':FaceType[_0x30e021(0x103)],'faceText':_0x37d8b5['TWNQZ'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2040c9(0x102)](_0x4f982d){const _0x494af3=_0x2040c9,_0x19e053={'PhSFY':_0x494af3(0xe7)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x494af3(0xeb)],'faceText':_0x19e053[_0x494af3(0xf5)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2040c9(0xdd)](_0x451e27){const _0x2124df=_0x2040c9,_0x3d995c={'PKioH':function(_0x459a9b,_0x2bcf2b){return _0x459a9b!==_0x2bcf2b;}};return _0x3d995c[_0x2124df(0xbe)](typeof _0x451e27,_0x2124df(0xe1))&&(_0x451e27=JSON[_0x2124df(0xd9)](_0x451e27)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x451e27,'linkInfo':null,'subElementType':null}};}static[_0x2040c9(0xc6)](_0x4594ae){const _0x7f0a31=_0x2040c9;return{'elementType':ElementType[_0x7f0a31(0xba)],'elementId':'','markdownElement':{'content':_0x4594ae}};}} \ No newline at end of file +const _0xb11d16=_0x640e;(function(_0x113280,_0x58a337){const _0x5631de=_0x640e,_0x288134=_0x113280();while(!![]){try{const _0x27fbce=parseInt(_0x5631de(0x1f7))/0x1*(parseInt(_0x5631de(0x1f0))/0x2)+parseInt(_0x5631de(0x1fe))/0x3*(parseInt(_0x5631de(0x1f1))/0x4)+parseInt(_0x5631de(0x1c7))/0x5*(-parseInt(_0x5631de(0x1ba))/0x6)+parseInt(_0x5631de(0x1e4))/0x7+-parseInt(_0x5631de(0x1e6))/0x8*(parseInt(_0x5631de(0x1dc))/0x9)+parseInt(_0x5631de(0x1b5))/0xa+parseInt(_0x5631de(0x1e5))/0xb;if(_0x27fbce===_0x58a337)break;else _0x288134['push'](_0x288134['shift']());}catch(_0x591691){_0x288134['push'](_0x288134['shift']());}}}(_0x5245,0x8fd40));function _0x5245(){const _0x5ad301=['PNAdv','MARKDOWN','stat','9Fzivnx','zQgpr','_0.png','AUadT','MFACE','video','eBnjZ','PuVYd','replace','cOIxk','LElhO','height','XPcGD','screenshots','pimel','1033700xUpcSA','BLtzc','unlink','ptt','size','18piXWlw','fdRqv','FACE','PMMYH','rQDRV','Thumb','jpg','stringify','文件异常,大小为0','PTT','TEXT','fQWzu','przxm','1209515NKULRI','VIDEO','toString','writeFile','REPLY','pic','width','reply','getImageSize','file','text','whjLW','Zekam','Ori','RPS','copyFile','dirname','XqYGo','gif','get','DAead','9AJtfDG','end','string','then','[商城表情]','face','BGAmf','rps','3934161RkKWbt','3602379gavydY','2528152zdwIrK','WSEqU','ARK','join','ark','FILE','mp4','uploadFile','PIC','UtwoX','10iMNFKc','177028LaeGYx','[包剪锤]','catch','markdown','UocmR','dice','101039JGxnUu','mface','sep','jTbJr'];_0x5245=function(){return _0x5ad301;};return _0x5245();}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x640e(_0x2486eb,_0x3d5190){const _0x524539=_0x5245();return _0x640e=function(_0x640e72,_0x30ac26){_0x640e72=_0x640e72-0x1ac;let _0xad0fa7=_0x524539[_0x640e72];return _0xad0fa7;},_0x640e(_0x2486eb,_0x3d5190);}import{promises as _0x4c6e13}from'node:fs';import _0x3f3ed5 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[_0xb11d16(0x1d1)](_0x54a4bf){const _0x542431=_0xb11d16;return{'elementType':ElementType[_0x542431(0x1c4)],'elementId':'','textElement':{'content':_0x54a4bf,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ffcfc,_0x31f487,_0x2dfc9a,_0x2c5dd4){const _0x3b6c13=_0xb11d16;return{'elementType':ElementType[_0x3b6c13(0x1c4)],'elementId':'','textElement':{'content':'@'+_0x2c5dd4,'atType':_0x2dfc9a,'atUid':_0x4ffcfc,'atTinyId':'','atNtUid':_0x31f487}};}static[_0xb11d16(0x1ce)](_0x3fc200,_0x3b7c00,_0x5acb33,_0x4faae5){const _0x474737=_0xb11d16;return{'elementType':ElementType[_0x474737(0x1cb)],'elementId':'','replyElement':{'replayMsgSeq':_0x3fc200,'replayMsgId':_0x3b7c00,'senderUin':_0x5acb33,'senderUinStr':_0x4faae5}};}static async[_0xb11d16(0x1cc)](_0x1e0f1c,_0x53e994='',_0x4bbd5d=0x0){const _0x3f4036=_0xb11d16,_0x1eed64={'rfEJf':function(_0xc79344,_0x2f8fd7){return _0xc79344===_0x2f8fd7;},'AUadT':_0x3f4036(0x1c2),'WSEqU':function(_0x5740e6,_0x21bc77,_0x305c09){return _0x5740e6(_0x21bc77,_0x305c09);},'XPcGD':'图片信息'},{md5:_0x472516,fileName:_0x2442a0,path:_0x98a04e,fileSize:_0x5c6980}=await NTQQFileApi[_0x3f4036(0x1ed)](_0x1e0f1c,ElementType[_0x3f4036(0x1ee)],_0x4bbd5d);if(_0x1eed64['rfEJf'](_0x5c6980,0x0))throw _0x1eed64[_0x3f4036(0x201)];const _0x6219af=await NTQQFileApi[_0x3f4036(0x1cf)](_0x1e0f1c),_0x51614a={'md5HexStr':_0x472516,'fileSize':_0x5c6980[_0x3f4036(0x1c9)](),'picWidth':_0x6219af?.['width'],'picHeight':_0x6219af?.[_0x3f4036(0x1b1)],'fileName':_0x2442a0,'sourcePath':_0x98a04e,'original':!![],'picType':isGIF(_0x1e0f1c)?PicType[_0x3f4036(0x1d9)]:PicType[_0x3f4036(0x1c0)],'picSubType':_0x4bbd5d,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x53e994};return _0x1eed64[_0x3f4036(0x1e7)](logDebug,_0x1eed64[_0x3f4036(0x1b2)],_0x51614a),{'elementType':ElementType[_0x3f4036(0x1ee)],'elementId':'','picElement':_0x51614a};}static async[_0xb11d16(0x1d0)](_0x455b46,_0x5e7c97=''){const _0x53b889=_0xb11d16,_0x558ca9={'PMMYH':_0x53b889(0x1c2),'LElhO':function(_0x4d0278,_0x2646de){return _0x4d0278||_0x2646de;}},{md5:_0x5aa6de,fileName:_0x210c66,path:_0x74e18e,fileSize:_0x47483d}=await NTQQFileApi[_0x53b889(0x1ed)](_0x455b46,ElementType['FILE']);if(_0x47483d===0x0)throw _0x558ca9[_0x53b889(0x1bd)];const _0x5c4203={'elementType':ElementType[_0x53b889(0x1eb)],'elementId':'','fileElement':{'fileName':_0x558ca9[_0x53b889(0x1b0)](_0x5e7c97,_0x210c66),'filePath':_0x74e18e,'fileSize':_0x47483d[_0x53b889(0x1c9)]()}};return _0x5c4203;}static async[_0xb11d16(0x203)](_0x2f046d,_0x1bcbac='',_0x4ab8d9=''){const _0xf8a337=_0xb11d16,_0x9e9dd7={'UtwoX':function(_0x2bf161,_0x3b74c1,_0x181971){return _0x2bf161(_0x3b74c1,_0x181971);},'Zekam':'获取视频封面失败,使用默认封面','fQWzu':function(_0x3d08b6,_0x1f930e){return _0x3d08b6(_0x1f930e);},'PuVYd':_0xf8a337(0x1dd),'przxm':'error','kEMtR':function(_0x557625,_0x290881){return _0x557625+_0x290881;},'cOIxk':function(_0x21aa73,_0x228d4e){return _0x21aa73===_0x228d4e;},'whjLW':_0xf8a337(0x1c2),'pimel':function(_0x94aec2,_0x4b6a48){return _0x94aec2(_0x4b6a48);},'tloyw':'path','fdRqv':'视频信息','UocmR':function(_0xaf0aa8,_0x3fabac){return _0xaf0aa8(_0x3fabac);},'PFaeg':function(_0x1d78ec,_0x1dba65){return _0x1d78ec||_0x1dba65;}},{fileName:_0x5a1dc1,path:_0x1b9569,fileSize:_0x5a9a9a,md5:_0x282cd9}=await NTQQFileApi[_0xf8a337(0x1ed)](_0x2f046d,ElementType['VIDEO']);if(_0x9e9dd7[_0xf8a337(0x1af)](_0x5a9a9a,0x0))throw _0x9e9dd7[_0xf8a337(0x1d2)];const _0x48777e=_0x9e9dd7[_0xf8a337(0x1b4)](require,_0x9e9dd7['tloyw']);let _0x1cacfb=_0x1b9569[_0xf8a337(0x1ae)](_0x48777e[_0xf8a337(0x1f9)]+_0xf8a337(0x1d4)+_0x48777e['sep'],_0x48777e[_0xf8a337(0x1f9)]+_0xf8a337(0x1bf)+_0x48777e[_0xf8a337(0x1f9)]);_0x1cacfb=_0x48777e[_0xf8a337(0x1d7)](_0x1cacfb);let _0x403699={'width':0x780,'height':0x438,'time':0xf,'format':_0xf8a337(0x1ec),'size':_0x5a9a9a,'filePath':_0x2f046d};try{_0x403699=await _0x9e9dd7['fQWzu'](getVideoInfo,_0x1b9569),_0x9e9dd7[_0xf8a337(0x1ef)](logDebug,_0x9e9dd7[_0xf8a337(0x1bb)],_0x403699);}catch(_0x26b97f){_0x9e9dd7[_0xf8a337(0x1ef)](logError,'获取视频信息失败',_0x26b97f);}const _0x5179b2=new Promise((_0x214586,_0x5c2157)=>{const _0x4c089d=_0xf8a337,_0x187d6a={'XqYGo':function(_0x175414,_0x5535ca){const _0x2abb88=_0x640e;return _0x9e9dd7[_0x2abb88(0x1c5)](_0x175414,_0x5535ca);}},_0x9efc8b=_0x282cd9+_0x4c089d(0x200),_0x226d89=_0x48777e[_0x4c089d(0x1e9)](_0x1cacfb,_0x9efc8b);_0x3f3ed5(_0x2f046d)['on'](_0x9e9dd7[_0x4c089d(0x1ad)],()=>{})['on'](_0x9e9dd7[_0x4c089d(0x1c6)],_0x614dbc=>{const _0x39645d=_0x4c089d,_0x2d088d={'BGAmf':function(_0x5c4427,_0xe8209f){return _0x5c4427(_0xe8209f);}};_0x9e9dd7['UtwoX'](logDebug,_0x9e9dd7[_0x39645d(0x1d3)],_0x614dbc),_0x4ab8d9?_0x4c6e13[_0x39645d(0x1d6)](_0x4ab8d9,_0x226d89)['then'](()=>{const _0x291d35=_0x39645d;_0x2d088d[_0x291d35(0x1e2)](_0x214586,_0x226d89);})[_0x39645d(0x1f3)](_0x5c2157):_0x4c6e13[_0x39645d(0x1ca)](_0x226d89,defaultVideoThumb)[_0x39645d(0x1df)](()=>{const _0x3c7215=_0x39645d;_0x187d6a[_0x3c7215(0x1d8)](_0x214586,_0x226d89);})[_0x39645d(0x1f3)](_0x5c2157);})[_0x4c089d(0x1b3)]({'timestamps':[0x0],'filename':_0x9efc8b,'folder':_0x1cacfb,'size':_0x9e9dd7['kEMtR'](_0x403699['width']+'x',_0x403699['height'])})['on'](_0x9e9dd7['PuVYd'],()=>{_0x214586(_0x226d89);});}),_0x179130=new Map(),_0x435be0=await _0x5179b2,_0x2b8087=(await _0x4c6e13[_0xf8a337(0x1fd)](_0x435be0))[_0xf8a337(0x1b9)];_0x179130['set'](0x0,_0x435be0);const _0x15ac7c=await _0x9e9dd7[_0xf8a337(0x1f5)](calculateFileMD5,_0x435be0),_0x5aa8ac={'elementType':ElementType[_0xf8a337(0x1c8)],'elementId':'','videoElement':{'fileName':_0x9e9dd7['PFaeg'](_0x1bcbac,_0x5a1dc1),'filePath':_0x1b9569,'videoMd5':_0x282cd9,'thumbMd5':_0x15ac7c,'fileTime':_0x403699['time'],'thumbPath':_0x179130,'thumbSize':_0x2b8087,'thumbWidth':_0x403699[_0xf8a337(0x1cd)],'thumbHeight':_0x403699['height'],'fileSize':''+_0x5a9a9a}};return _0x5aa8ac;}static async[_0xb11d16(0x1b8)](_0xab35b7){const _0x49fa00=_0xb11d16,_0x338f5c={'DAead':function(_0x3173b1,_0x20df46){return _0x3173b1(_0x20df46);},'PNAdv':'语音转换失败,\x20请检查语音文件是否正常','zQgpr':function(_0x4e13d2,_0x5c2677){return _0x4e13d2===_0x5c2677;},'eBnjZ':function(_0x276483,_0x24934d){return _0x276483||_0x24934d;}},{converted:_0x3f6968,path:_0x469ca1,duration:_0x30224d}=await _0x338f5c[_0x49fa00(0x1db)](encodeSilk,_0xab35b7);if(!_0x469ca1)throw _0x338f5c[_0x49fa00(0x1fb)];const {md5:_0x277666,fileName:_0x216af2,path:_0x504548,fileSize:_0x238085}=await NTQQFileApi['uploadFile'](_0x469ca1,ElementType[_0x49fa00(0x1c3)]);if(_0x338f5c[_0x49fa00(0x1ff)](_0x238085,0x0))throw'文件异常,大小为0';return _0x3f6968&&_0x4c6e13[_0x49fa00(0x1b7)](_0x469ca1)[_0x49fa00(0x1df)](),{'elementType':ElementType[_0x49fa00(0x1c3)],'elementId':'','pttElement':{'fileName':_0x216af2,'filePath':_0x504548,'md5HexStr':_0x277666,'fileSize':_0x238085,'duration':_0x338f5c[_0x49fa00(0x1ac)](_0x30224d,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[_0xb11d16(0x1e1)](_0x55cc70){const _0x3061e8=_0xb11d16,_0x3bd1a2={'QJPle':function(_0x44827f,_0x425974){return _0x44827f<_0x425974;}};return{'elementType':ElementType[_0x3061e8(0x1bc)],'elementId':'','faceElement':{'faceIndex':_0x55cc70,'faceType':_0x3bd1a2['QJPle'](_0x55cc70,0xde)?FaceType['normal']:FaceType['normal2']}};}static[_0xb11d16(0x1f8)](_0x176bcb,_0xdc9f5e,_0x48451a,_0x49344b){const _0x2f1202=_0xb11d16,_0x663cdb={'smYXN':_0x2f1202(0x1e0)};return{'elementType':ElementType[_0x2f1202(0x202)],'marketFaceElement':{'emojiPackageId':_0x176bcb,'emojiId':_0xdc9f5e,'key':_0x48451a,'faceName':_0x49344b||mFaceCache[_0x2f1202(0x1da)](_0xdc9f5e)||_0x663cdb['smYXN']}};}static[_0xb11d16(0x1f6)](_0x44e2a3){const _0x1030ea=_0xb11d16,_0xde6f10={'ucnJu':'[骰子]'};return{'elementType':ElementType[_0x1030ea(0x1bc)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1030ea(0x1f6)],'faceType':FaceType['dice'],'faceText':_0xde6f10['ucnJu'],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xb11d16(0x1e3)](_0x1ab601){const _0xe1e6a4=_0xb11d16,_0x5183ff={'rQDRV':_0xe1e6a4(0x1f2)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xe1e6a4(0x1d5)],'faceText':_0x5183ff[_0xe1e6a4(0x1be)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0xb11d16(0x1ea)](_0x26befb){const _0x3a9c57=_0xb11d16,_0xa75b5b={'jTbJr':function(_0x574b70,_0x3e1cc0){return _0x574b70!==_0x3e1cc0;},'BLtzc':_0x3a9c57(0x1de)};return _0xa75b5b[_0x3a9c57(0x1fa)](typeof _0x26befb,_0xa75b5b[_0x3a9c57(0x1b6)])&&(_0x26befb=JSON[_0x3a9c57(0x1c1)](_0x26befb)),{'elementType':ElementType[_0x3a9c57(0x1e8)],'elementId':'','arkElement':{'bytesData':_0x26befb,'linkInfo':null,'subElementType':null}};}static[_0xb11d16(0x1f4)](_0x3687be){const _0x232370=_0xb11d16;return{'elementType':ElementType[_0x232370(0x1fc)],'elementId':'','markdownElement':{'content':_0x3687be}};}} \ 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 903c2b64..0d51db8a 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x2075(_0x4f5c34,_0x413c76){var _0x956d39=_0x956d();return _0x2075=function(_0x2075e2,_0x3e6638){_0x2075e2=_0x2075e2-0xf4;var _0x5b1531=_0x956d39[_0x2075e2];return _0x5b1531;},_0x2075(_0x4f5c34,_0x413c76);}(function(_0x4482e7,_0x20bbad){var _0x3a0de6=_0x2075,_0x147a41=_0x4482e7();while(!![]){try{var _0x21fd0b=-parseInt(_0x3a0de6(0x100))/0x1+-parseInt(_0x3a0de6(0xf7))/0x2+parseInt(_0x3a0de6(0xfb))/0x3+parseInt(_0x3a0de6(0xf4))/0x4*(parseInt(_0x3a0de6(0xfa))/0x5)+parseInt(_0x3a0de6(0x101))/0x6*(-parseInt(_0x3a0de6(0xf8))/0x7)+parseInt(_0x3a0de6(0xfd))/0x8*(-parseInt(_0x3a0de6(0xf5))/0x9)+parseInt(_0x3a0de6(0xf6))/0xa*(parseInt(_0x3a0de6(0x102))/0xb);if(_0x21fd0b===_0x20bbad)break;else _0x147a41['push'](_0x147a41['shift']());}catch(_0x3633c4){_0x147a41['push'](_0x147a41['shift']());}}}(_0x956d,0x56215));export var GroupMemberRole;(function(_0x4008f0){var _0xbcf01e=_0x2075,_0x59a9be={'Iskid':_0xbcf01e(0xfc),'aAXiF':'admin','sqMPC':_0xbcf01e(0xff)};_0x4008f0[_0x4008f0[_0x59a9be[_0xbcf01e(0xf9)]]=0x2]=_0x59a9be[_0xbcf01e(0xf9)],_0x4008f0[_0x4008f0[_0x59a9be['aAXiF']]=0x3]='admin',_0x4008f0[_0x4008f0[_0x59a9be['sqMPC']]=0x4]=_0x59a9be[_0xbcf01e(0xfe)];}(GroupMemberRole||(GroupMemberRole={})));function _0x956d(){var _0x5b475d=['owner','360467eWqqbU','642QGAZUO','55pezHNf','27748xmuFmq','1919223uorncP','2214950yLyJse','1404166FbtHeG','3647xwkXDz','Iskid','215RTwWvu','1475442ZyjRlz','normal','16pqXPoH','sqMPC'];_0x956d=function(){return _0x5b475d;};return _0x956d();} \ No newline at end of file +(function(_0x47f2cd,_0x49b496){var _0x34b1c1=_0x30b0,_0x4b5f84=_0x47f2cd();while(!![]){try{var _0x1b076f=-parseInt(_0x34b1c1(0xa9))/0x1+-parseInt(_0x34b1c1(0xa6))/0x2*(parseInt(_0x34b1c1(0xa2))/0x3)+parseInt(_0x34b1c1(0xa3))/0x4+-parseInt(_0x34b1c1(0xa5))/0x5+parseInt(_0x34b1c1(0xa7))/0x6+parseInt(_0x34b1c1(0xa1))/0x7+-parseInt(_0x34b1c1(0xaa))/0x8;if(_0x1b076f===_0x49b496)break;else _0x4b5f84['push'](_0x4b5f84['shift']());}catch(_0x2cb483){_0x4b5f84['push'](_0x4b5f84['shift']());}}}(_0x3ab3,0xcff5d));function _0x30b0(_0x5e6c92,_0x403687){var _0x3ab307=_0x3ab3();return _0x30b0=function(_0x30b0b1,_0x343eda){_0x30b0b1=_0x30b0b1-0xa1;var _0x1810fe=_0x3ab307[_0x30b0b1];return _0x1810fe;},_0x30b0(_0x5e6c92,_0x403687);}export var GroupMemberRole;(function(_0x1dc42d){var _0xd67d1=_0x30b0,_0x3ae4e8={'hAAOs':'normal','uCYgN':'admin','NlkzU':'owner'};_0x1dc42d[_0x1dc42d[_0x3ae4e8[_0xd67d1(0xa8)]]=0x2]=_0x3ae4e8[_0xd67d1(0xa8)],_0x1dc42d[_0x1dc42d[_0x3ae4e8['uCYgN']]=0x3]=_0x3ae4e8[_0xd67d1(0xa4)],_0x1dc42d[_0x1dc42d[_0x3ae4e8['NlkzU']]=0x4]=_0x3ae4e8['NlkzU'];}(GroupMemberRole||(GroupMemberRole={})));function _0x3ab3(){var _0x45f512=['9737124BUkBaH','hAAOs','554138DjivcZ','3278968jcwWDm','10218229ngbsOW','150030ofEZFa','2616656bKvQUH','uCYgN','5603955ljoTeA','32wSgMeU'];_0x3ab3=function(){return _0x45f512;};return _0x3ab3();} \ 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 965b133d..a54fbf12 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x1ed9d8,_0x3ccb0e){var _0x592822=_0x20ce,_0x2887d7=_0x1ed9d8();while(!![]){try{var _0x24ad37=-parseInt(_0x592822(0x174))/0x1*(parseInt(_0x592822(0x17b))/0x2)+parseInt(_0x592822(0x17c))/0x3+-parseInt(_0x592822(0x177))/0x4+parseInt(_0x592822(0x175))/0x5*(-parseInt(_0x592822(0x173))/0x6)+-parseInt(_0x592822(0x179))/0x7*(-parseInt(_0x592822(0x176))/0x8)+parseInt(_0x592822(0x17a))/0x9+parseInt(_0x592822(0x178))/0xa;if(_0x24ad37===_0x3ccb0e)break;else _0x2887d7['push'](_0x2887d7['shift']());}catch(_0x27486c){_0x2887d7['push'](_0x2887d7['shift']());}}}(_0x4e0e,0x1ad5f));export*from'./user';export*from'./group';function _0x4e0e(){var _0x7d2851=['859392UyCmZo','123782SSeUua','123228SlTRjS','817224oPIlVN','2weixzm','5RBFMNX','48CmVIdV','725376Zdjyto','3770950qTdAqJ','43855IUutBF'];_0x4e0e=function(){return _0x7d2851;};return _0x4e0e();}function _0x20ce(_0x4b10fd,_0x440d9d){var _0x4e0e68=_0x4e0e();return _0x20ce=function(_0x20cef7,_0x71f87e){_0x20cef7=_0x20cef7-0x173;var _0x220dcf=_0x4e0e68[_0x20cef7];return _0x220dcf;},_0x20ce(_0x4b10fd,_0x440d9d);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file +function _0x24ae(_0x9e09ae,_0x2be9c8){var _0x803b8f=_0x803b();return _0x24ae=function(_0x24ae0a,_0x7bc5ca){_0x24ae0a=_0x24ae0a-0x17a;var _0x24241f=_0x803b8f[_0x24ae0a];return _0x24241f;},_0x24ae(_0x9e09ae,_0x2be9c8);}(function(_0xab9107,_0x3938d1){var _0x1a7314=_0x24ae,_0x243dce=_0xab9107();while(!![]){try{var _0x1e3d37=parseInt(_0x1a7314(0x184))/0x1*(-parseInt(_0x1a7314(0x17b))/0x2)+parseInt(_0x1a7314(0x17a))/0x3*(parseInt(_0x1a7314(0x17c))/0x4)+parseInt(_0x1a7314(0x183))/0x5+parseInt(_0x1a7314(0x182))/0x6+parseInt(_0x1a7314(0x17e))/0x7*(-parseInt(_0x1a7314(0x180))/0x8)+parseInt(_0x1a7314(0x17d))/0x9*(-parseInt(_0x1a7314(0x181))/0xa)+parseInt(_0x1a7314(0x17f))/0xb;if(_0x1e3d37===_0x3938d1)break;else _0x243dce['push'](_0x243dce['shift']());}catch(_0x564253){_0x243dce['push'](_0x243dce['shift']());}}}(_0x803b,0xa9ffe));export*from'./user';export*from'./group';export*from'./msg';function _0x803b(){var _0xec03d6=['136hYsiSi','4wxrqkR','36ctLSXG','21YysgYy','5112558ottcJD','2650216Rivkyi','2557670IYHjio','7534002guDlry','3778165jyiuGd','10333TTaHKc','2819349LvpPXu'];_0x803b=function(){return _0xec03d6;};return _0x803b();}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 1e668216..7570af39 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x4ce20c=_0x51c1;function _0x51c1(_0x860374,_0x1ffb90){var _0x3b85b4=_0x3b85();return _0x51c1=function(_0x51c12a,_0x1c15fa){_0x51c12a=_0x51c12a-0x13a;var _0x56346f=_0x3b85b4[_0x51c12a];return _0x56346f;},_0x51c1(_0x860374,_0x1ffb90);}(function(_0x5857bf,_0x445c02){var _0x5152f4=_0x51c1,_0x5d522b=_0x5857bf();while(!![]){try{var _0x57ecd1=-parseInt(_0x5152f4(0x13f))/0x1+parseInt(_0x5152f4(0x15e))/0x2*(-parseInt(_0x5152f4(0x165))/0x3)+-parseInt(_0x5152f4(0x142))/0x4*(-parseInt(_0x5152f4(0x161))/0x5)+-parseInt(_0x5152f4(0x162))/0x6+-parseInt(_0x5152f4(0x14c))/0x7*(-parseInt(_0x5152f4(0x171))/0x8)+parseInt(_0x5152f4(0x143))/0x9+-parseInt(_0x5152f4(0x149))/0xa;if(_0x57ecd1===_0x445c02)break;else _0x5d522b['push'](_0x5d522b['shift']());}catch(_0x29099a){_0x5d522b['push'](_0x5d522b['shift']());}}}(_0x3b85,0x33a8e));export var ElementType;(function(_0x6df2f6){var _0x5420be=_0x51c1,_0x5e1985={'kGQDe':_0x5420be(0x14f),'emZsn':'FILE','yXbON':_0x5420be(0x16b),'FdOPS':'FACE','tYPfm':'REPLY','NXpbe':_0x5420be(0x140),'XRSjU':_0x5420be(0x175)},_0xb98bc4=_0x5420be(0x153)[_0x5420be(0x13d)]('|'),_0x1b0084=0x0;while(!![]){switch(_0xb98bc4[_0x1b0084++]){case'0':_0x6df2f6[_0x6df2f6[_0x5e1985[_0x5420be(0x164)]]=0xb]=_0x5e1985[_0x5420be(0x164)];continue;case'1':_0x6df2f6[_0x6df2f6[_0x5e1985[_0x5420be(0x156)]]=0x3]=_0x5e1985[_0x5420be(0x156)];continue;case'2':_0x6df2f6[_0x6df2f6[_0x5e1985[_0x5420be(0x159)]]=0x2]=_0x5e1985[_0x5420be(0x159)];continue;case'3':_0x6df2f6[_0x6df2f6[_0x5420be(0x13b)]=0x6]=_0x5e1985['FdOPS'];continue;case'4':_0x6df2f6[_0x6df2f6[_0x5420be(0x16f)]=0x5]=_0x5420be(0x16f);continue;case'5':_0x6df2f6[_0x6df2f6['REPLY']=0x7]=_0x5e1985['tYPfm'];continue;case'6':_0x6df2f6[_0x6df2f6[_0x5e1985['NXpbe']]=0xa]=_0x5e1985[_0x5420be(0x15c)];continue;case'7':_0x6df2f6[_0x6df2f6[_0x5420be(0x150)]=0xe]=_0x5420be(0x150);continue;case'8':_0x6df2f6[_0x6df2f6[_0x5420be(0x155)]=0x1]=_0x5420be(0x155);continue;case'9':_0x6df2f6[_0x6df2f6[_0x5e1985['XRSjU']]=0x4]=_0x5e1985[_0x5420be(0x151)];continue;}break;}}(ElementType||(ElementType={})));function _0x3b85(){var _0x4742a1=['pVbni','48SlQyun','eNnLx','atAll','zkzDA','PTT','mbZSZ','INVITE_NEW_MEMBER','FACE','wsLbE','split','iNsZZ','22686PmmiUC','ARK','https://gchat.qpic.cn','233804eiqzkR','2557269QyVxYM','normal','TGMeC','friend','VhyYl','group','1268020KAyAyB','ban','kicked','20545wDvTXD','MIQSy','notAt','MFACE','MARKDOWN','XRSjU','wkMAl','8|2|1|9|4|3|5|6|0|7','dice','TEXT','emZsn','kUZoH','bscHl','yXbON','ZLcgH','memberIncrease','NXpbe','zBfRz','4156bhKHfX','MEMBER_NEW_TITLE','qJMrD','25TStmaM','661908vxGEUM','UuiyM','kGQDe','177LkINHv','face','UrFkJ','atUser','RPS','normal2','PIC','https://multimedia.nt.qq.com.cn','temp','KWWXW','VIDEO'];_0x3b85=function(){return _0x4742a1;};return _0x3b85();}export var PicType;(function(_0x3d681e){var _0x2541de=_0x51c1,_0x59c6b1={'MIQSy':'gif','zkzDA':'jpg'};_0x3d681e[_0x3d681e[_0x59c6b1[_0x2541de(0x14d)]]=0x7d0]=_0x59c6b1[_0x2541de(0x14d)],_0x3d681e[_0x3d681e[_0x59c6b1[_0x2541de(0x174)]]=0x3e8]=_0x59c6b1['zkzDA'];}(PicType||(PicType={})));export var PicSubType;(function(_0x2984b5){var _0x5eb1b2=_0x51c1,_0x127c8d={'bscHl':_0x5eb1b2(0x144),'TGMeC':_0x5eb1b2(0x166)};_0x2984b5[_0x2984b5[_0x127c8d[_0x5eb1b2(0x158)]]=0x0]=_0x127c8d['bscHl'],_0x2984b5[_0x2984b5[_0x127c8d[_0x5eb1b2(0x145)]]=0x1]=_0x5eb1b2(0x166);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3edf74){var _0x16191e=_0x51c1,_0x3d8bfe={'qJMrD':_0x16191e(0x14e),'mbZSZ':_0x16191e(0x173),'wkMAl':_0x16191e(0x168)};_0x3edf74[_0x3edf74[_0x3d8bfe[_0x16191e(0x160)]]=0x0]=_0x3d8bfe['qJMrD'],_0x3edf74[_0x3edf74[_0x3d8bfe[_0x16191e(0x176)]]=0x1]=_0x3d8bfe[_0x16191e(0x176)],_0x3edf74[_0x3edf74[_0x3d8bfe[_0x16191e(0x152)]]=0x2]=_0x3d8bfe['wkMAl'];}(AtType||(AtType={})));export var ChatType;(function(_0x38254f){var _0x76048a=_0x51c1,_0x584193={'zBfRz':_0x76048a(0x146),'eNnLx':_0x76048a(0x148),'UuiyM':_0x76048a(0x16d)};_0x38254f[_0x38254f[_0x76048a(0x146)]=0x1]=_0x584193[_0x76048a(0x15d)],_0x38254f[_0x38254f[_0x584193['eNnLx']]=0x2]=_0x584193[_0x76048a(0x172)],_0x38254f[_0x38254f[_0x584193[_0x76048a(0x163)]]=0x64]=_0x76048a(0x16d);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x4ce20c(0x141);export const IMAGE_HTTP_HOST_NT=_0x4ce20c(0x16c);export var GrayTipElementSubType;(function(_0x489749){var _0x4aad3a=_0x4ce20c,_0x3553d2={'kUZoH':_0x4aad3a(0x13a),'iNsZZ':_0x4aad3a(0x15f)};_0x489749[_0x489749['INVITE_NEW_MEMBER']=0xc]=_0x3553d2[_0x4aad3a(0x157)],_0x489749[_0x489749[_0x3553d2[_0x4aad3a(0x13e)]]=0x11]=_0x3553d2[_0x4aad3a(0x13e)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x16ab39){var _0x442096=_0x4ce20c,_0x43c86c={'KWWXW':_0x442096(0x144),'lVSaT':_0x442096(0x16a),'pqSDY':_0x442096(0x154)};_0x16ab39[_0x16ab39[_0x43c86c['KWWXW']]=0x1]=_0x43c86c[_0x442096(0x16e)],_0x16ab39[_0x16ab39[_0x43c86c['lVSaT']]=0x2]=_0x43c86c['lVSaT'],_0x16ab39[_0x16ab39[_0x43c86c['pqSDY']]=0x3]='dice';}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1105c1){var _0x3ac75a=_0x4ce20c,_0x16fa8d={'ZLcgH':_0x3ac75a(0x154),'wsLbE':_0x3ac75a(0x169)};_0x1105c1[_0x1105c1[_0x16fa8d[_0x3ac75a(0x15a)]]=0x166]=_0x16fa8d[_0x3ac75a(0x15a)],_0x1105c1[_0x1105c1[_0x16fa8d['wsLbE']]=0x167]=_0x16fa8d[_0x3ac75a(0x13c)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x6b0db8){var _0xc5b812=_0x4ce20c,_0x45fa04={'UrFkJ':_0xc5b812(0x15b),'pVbni':_0xc5b812(0x14b),'VhyYl':_0xc5b812(0x14a)};_0x6b0db8[_0x6b0db8[_0x45fa04[_0xc5b812(0x167)]]=0x1]=_0x45fa04[_0xc5b812(0x167)],_0x6b0db8[_0x6b0db8[_0x45fa04[_0xc5b812(0x170)]]=0x3]=_0x45fa04[_0xc5b812(0x170)],_0x6b0db8[_0x6b0db8[_0x45fa04['VhyYl']]=0x8]=_0x45fa04[_0xc5b812(0x147)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x1150ab=_0x45f6;function _0x5bc5(){var _0x419d17=['twYTP','3sUyPQI','normal','XiDej','atAll','cXurD','1853142MbpiTN','REPLY','dice','5tFRvmr','PTT','epQzb','4767327yPMPrb','hYwhF','AoUgU','DDPfL','yueWX','atUser','ZOiWI','GAxtN','gYXUA','ARK','OijJQ','cDmrh','memberIncrease','face','109406xkXDBX','notAt','FILE','TEXT','VqWKB','aFLyt','xkTBF','Wxppc','temp','dgiSk','nacSg','35zFrZXl','jpg','lkEQi','MEMBER_NEW_TITLE','SJZxd','MAkBP','580582qJrBOI','gif','FACE','2217564HojkBy','INVITE_NEW_MEMBER','group','JfxQA','MARKDOWN','1191608ziZijs','friend','1630ZuObUb','https://multimedia.nt.qq.com.cn','RPS','normal2','ban','MFACE','wSMCo','1572574QWlSVk'];_0x5bc5=function(){return _0x419d17;};return _0x5bc5();}(function(_0x23d73c,_0x16f902){var _0x58c197=_0x45f6,_0x1100b6=_0x23d73c();while(!![]){try{var _0x29b1eb=parseInt(_0x58c197(0x148))/0x1+parseInt(_0x58c197(0x11c))/0x2+-parseInt(_0x58c197(0x11e))/0x3*(-parseInt(_0x58c197(0x14b))/0x4)+-parseInt(_0x58c197(0x126))/0x5*(-parseInt(_0x58c197(0x123))/0x6)+parseInt(_0x58c197(0x142))/0x7*(-parseInt(_0x58c197(0x150))/0x8)+parseInt(_0x58c197(0x129))/0x9+-parseInt(_0x58c197(0x152))/0xa*(parseInt(_0x58c197(0x137))/0xb);if(_0x29b1eb===_0x16f902)break;else _0x1100b6['push'](_0x1100b6['shift']());}catch(_0x39c648){_0x1100b6['push'](_0x1100b6['shift']());}}}(_0x5bc5,0x6028b));export var ElementType;(function(_0x8d1c91){var _0x2ed01c=_0x45f6,_0x34476e={'kZzia':_0x2ed01c(0x13a),'XiDej':'PIC','ZOiWI':_0x2ed01c(0x139),'ktRKr':_0x2ed01c(0x127),'AqcwW':'VIDEO','twYTP':_0x2ed01c(0x14a),'OijJQ':_0x2ed01c(0x124),'wSMCo':_0x2ed01c(0x132),'epQzb':_0x2ed01c(0x157),'MAkBP':_0x2ed01c(0x14f)};_0x8d1c91[_0x8d1c91[_0x34476e['kZzia']]=0x1]=_0x34476e['kZzia'],_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x120)]]=0x2]=_0x34476e[_0x2ed01c(0x120)],_0x8d1c91[_0x8d1c91[_0x34476e['ZOiWI']]=0x3]=_0x34476e[_0x2ed01c(0x12f)],_0x8d1c91[_0x8d1c91[_0x2ed01c(0x127)]=0x4]=_0x34476e['ktRKr'],_0x8d1c91[_0x8d1c91['VIDEO']=0x5]=_0x34476e['AqcwW'],_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x11d)]]=0x6]=_0x2ed01c(0x14a),_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x133)]]=0x7]=_0x34476e['OijJQ'],_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x158)]]=0xa]=_0x34476e[_0x2ed01c(0x158)],_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x128)]]=0xb]=_0x34476e['epQzb'],_0x8d1c91[_0x8d1c91[_0x34476e[_0x2ed01c(0x147)]]=0xe]=_0x2ed01c(0x14f);}(ElementType||(ElementType={})));export var PicType;(function(_0x558d3e){var _0x3e2b6f=_0x45f6,_0x2e7191={'DDPfL':_0x3e2b6f(0x149),'hYwhF':_0x3e2b6f(0x143)};_0x558d3e[_0x558d3e[_0x2e7191['DDPfL']]=0x7d0]=_0x2e7191[_0x3e2b6f(0x12c)],_0x558d3e[_0x558d3e[_0x2e7191[_0x3e2b6f(0x12a)]]=0x3e8]=_0x3e2b6f(0x143);}(PicType||(PicType={})));export var PicSubType;(function(_0x15095a){var _0x4ec4eb=_0x45f6,_0x26ee19={'mYWas':_0x4ec4eb(0x11f),'JfxQA':_0x4ec4eb(0x136)};_0x15095a[_0x15095a[_0x26ee19['mYWas']]=0x0]=_0x4ec4eb(0x11f),_0x15095a[_0x15095a[_0x26ee19['JfxQA']]=0x1]=_0x26ee19[_0x4ec4eb(0x14e)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x118e16){var _0x586f74=_0x45f6,_0x59d3a={'GAxtN':_0x586f74(0x121),'gYXUA':_0x586f74(0x12e)};_0x118e16[_0x118e16[_0x586f74(0x138)]=0x0]=_0x586f74(0x138),_0x118e16[_0x118e16[_0x59d3a[_0x586f74(0x130)]]=0x1]=_0x59d3a[_0x586f74(0x130)],_0x118e16[_0x118e16[_0x59d3a[_0x586f74(0x131)]]=0x2]=_0x586f74(0x12e);}(AtType||(AtType={})));export var ChatType;(function(_0x3d89e5){var _0x2d938a=_0x45f6,_0x39a62d={'AoUgU':_0x2d938a(0x151),'cDmrh':_0x2d938a(0x14d),'xkTBF':_0x2d938a(0x13f)};_0x3d89e5[_0x3d89e5[_0x39a62d[_0x2d938a(0x12b)]]=0x1]=_0x2d938a(0x151),_0x3d89e5[_0x3d89e5[_0x2d938a(0x14d)]=0x2]=_0x39a62d[_0x2d938a(0x134)],_0x3d89e5[_0x3d89e5[_0x39a62d[_0x2d938a(0x13d)]]=0x64]=_0x39a62d[_0x2d938a(0x13d)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x1150ab(0x153);export var GrayTipElementSubType;(function(_0x3874bc){var _0x5a05c4=_0x1150ab,_0x1eeae4={'SJZxd':_0x5a05c4(0x14c),'nacSg':_0x5a05c4(0x145)};_0x3874bc[_0x3874bc[_0x1eeae4[_0x5a05c4(0x146)]]=0xc]=_0x1eeae4[_0x5a05c4(0x146)],_0x3874bc[_0x3874bc[_0x1eeae4[_0x5a05c4(0x141)]]=0x11]=_0x5a05c4(0x145);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x32a9d4){var _0xb8d4ca=_0x1150ab,_0x2fc778={'Wxppc':_0xb8d4ca(0x11f),'aFLyt':_0xb8d4ca(0x155),'nfixX':_0xb8d4ca(0x125)};_0x32a9d4[_0x32a9d4[_0x2fc778[_0xb8d4ca(0x13e)]]=0x1]=_0x2fc778[_0xb8d4ca(0x13e)],_0x32a9d4[_0x32a9d4[_0x2fc778['aFLyt']]=0x2]=_0x2fc778[_0xb8d4ca(0x13c)],_0x32a9d4[_0x32a9d4[_0x2fc778['nfixX']]=0x3]=_0x2fc778['nfixX'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x9fb307){var _0x230abc=_0x1150ab,_0xadbf80={'yueWX':_0x230abc(0x125),'cXurD':_0x230abc(0x154)};_0x9fb307[_0x9fb307[_0xadbf80[_0x230abc(0x12d)]]=0x166]=_0xadbf80[_0x230abc(0x12d)],_0x9fb307[_0x9fb307[_0x230abc(0x154)]=0x167]=_0xadbf80[_0x230abc(0x122)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;function _0x45f6(_0x2f3227,_0x578a7d){var _0x5bc5ce=_0x5bc5();return _0x45f6=function(_0x45f621,_0x2b2cd9){_0x45f621=_0x45f621-0x11c;var _0x3f85bf=_0x5bc5ce[_0x45f621];return _0x3f85bf;},_0x45f6(_0x2f3227,_0x578a7d);}(function(_0x7d5f6e){var _0x3d233f=_0x1150ab,_0x179a27={'VqWKB':_0x3d233f(0x135),'lkEQi':'kicked','dgiSk':_0x3d233f(0x156)};_0x7d5f6e[_0x7d5f6e[_0x179a27[_0x3d233f(0x13b)]]=0x1]=_0x3d233f(0x135),_0x7d5f6e[_0x7d5f6e[_0x179a27[_0x3d233f(0x144)]]=0x3]=_0x179a27['lkEQi'],_0x7d5f6e[_0x7d5f6e[_0x179a27[_0x3d233f(0x140)]]=0x8]=_0x179a27[_0x3d233f(0x140)];}(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 69c24671..0a11eb62 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x48f4d8,_0xac2bba){var _0x5c9476=_0x5973,_0x349725=_0x48f4d8();while(!![]){try{var _0x1273ab=parseInt(_0x5c9476(0x1f5))/0x1*(parseInt(_0x5c9476(0x1f6))/0x2)+-parseInt(_0x5c9476(0x1f7))/0x3+parseInt(_0x5c9476(0x1d5))/0x4*(parseInt(_0x5c9476(0x1ec))/0x5)+parseInt(_0x5c9476(0x1e4))/0x6+-parseInt(_0x5c9476(0x1e8))/0x7*(-parseInt(_0x5c9476(0x1d8))/0x8)+-parseInt(_0x5c9476(0x1eb))/0x9+-parseInt(_0x5c9476(0x1f2))/0xa*(parseInt(_0x5c9476(0x1e2))/0xb);if(_0x1273ab===_0xac2bba)break;else _0x349725['push'](_0x349725['shift']());}catch(_0xdde3a9){_0x349725['push'](_0x349725['shift']());}}}(_0x104a,0xa2eac));function _0x104a(){var _0x41b527=['REJECT','INVITED_JOIN','ukFHt','IFBZB','keayZ','WAIT_HANDLE','lrOuC','APPROVE','20886701xwYXBz','fenmh','6508386aQbOux','ADMIN_UNSET_OTHER','JOIN_REQUEST','qWoiS','7WXupWB','reject','HonXo','3802284RooakT','5JBwLSL','ADMIN_SET','2|5|6|7|3|4|0|1','INVITE_ME','INpeU','aWOql','10fHLYNz','xAWtY','split','481WzWkKE','4436NagaSP','2360301OGcmtV','4361512GimQnq','FAcOE','approve','4267000vxXBTE','ILYVN'];_0x104a=function(){return _0x41b527;};return _0x104a();}export var GroupNotifyTypes;(function(_0x2477ce){var _0x18fd2c=_0x5973,_0x2b50dd={'keayZ':'ADMIN_UNSET','aWOql':_0x18fd2c(0x1e5),'fenmh':_0x18fd2c(0x1ef),'INpeU':'KICK_MEMBER','IFBZB':'MEMBER_EXIT','FAcOE':_0x18fd2c(0x1db),'lrOuC':'JOIN_REQUEST','aeKum':_0x18fd2c(0x1ed)},_0x3e48d4=_0x18fd2c(0x1ee)[_0x18fd2c(0x1f4)]('|'),_0x13566a=0x0;while(!![]){switch(_0x3e48d4[_0x13566a++]){case'0':_0x2477ce[_0x2477ce[_0x2b50dd[_0x18fd2c(0x1de)]]=0xc]=_0x2b50dd[_0x18fd2c(0x1de)];continue;case'1':_0x2477ce[_0x2477ce[_0x18fd2c(0x1e5)]=0xd]=_0x2b50dd[_0x18fd2c(0x1f1)];continue;case'2':_0x2477ce[_0x2477ce[_0x2b50dd[_0x18fd2c(0x1e3)]]=0x1]=_0x18fd2c(0x1ef);continue;case'3':_0x2477ce[_0x2477ce[_0x2b50dd[_0x18fd2c(0x1f0)]]=0x9]=_0x2b50dd['INpeU'];continue;case'4':_0x2477ce[_0x2477ce[_0x2b50dd[_0x18fd2c(0x1dd)]]=0xb]=_0x2b50dd[_0x18fd2c(0x1dd)];continue;case'5':_0x2477ce[_0x2477ce[_0x2b50dd[_0x18fd2c(0x1d6)]]=0x4]=_0x2b50dd['FAcOE'];continue;case'6':_0x2477ce[_0x2477ce[_0x18fd2c(0x1e6)]=0x7]=_0x2b50dd[_0x18fd2c(0x1e0)];continue;case'7':_0x2477ce[_0x2477ce['ADMIN_SET']=0x8]=_0x2b50dd['aeKum'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5973(_0x599484,_0x32ec0d){var _0x104a2e=_0x104a();return _0x5973=function(_0x597347,_0x10a40e){_0x597347=_0x597347-0x1d5;var _0x352f18=_0x104a2e[_0x597347];return _0x352f18;},_0x5973(_0x599484,_0x32ec0d);}export var GroupNotifyStatus;(function(_0x24cf04){var _0x33f140=_0x5973,_0x3966d3={'ILYVN':'IGNORE','siluc':_0x33f140(0x1df),'qWoiS':_0x33f140(0x1e1),'HonXo':_0x33f140(0x1da)};_0x24cf04[_0x24cf04[_0x3966d3[_0x33f140(0x1d9)]]=0x0]=_0x3966d3[_0x33f140(0x1d9)],_0x24cf04[_0x24cf04[_0x3966d3['siluc']]=0x1]='WAIT_HANDLE',_0x24cf04[_0x24cf04[_0x3966d3[_0x33f140(0x1e7)]]=0x2]=_0x3966d3['qWoiS'],_0x24cf04[_0x24cf04[_0x3966d3[_0x33f140(0x1ea)]]=0x3]=_0x3966d3[_0x33f140(0x1ea)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x5aa19b){var _0x37bd92=_0x5973,_0x1a31b1={'xAWtY':_0x37bd92(0x1d7),'ukFHt':_0x37bd92(0x1e9)};_0x5aa19b[_0x5aa19b[_0x1a31b1[_0x37bd92(0x1f3)]]=0x1]=_0x1a31b1[_0x37bd92(0x1f3)],_0x5aa19b[_0x5aa19b[_0x1a31b1[_0x37bd92(0x1dc)]]=0x2]=_0x1a31b1[_0x37bd92(0x1dc)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +function _0x521a(_0x9e0d30,_0x2af5a9){var _0x1b9b0a=_0x1b9b();return _0x521a=function(_0x521a0e,_0x2d3b24){_0x521a0e=_0x521a0e-0x70;var _0x26f5d6=_0x1b9b0a[_0x521a0e];return _0x26f5d6;},_0x521a(_0x9e0d30,_0x2af5a9);}(function(_0x3ee827,_0x29a54a){var _0x3b89ef=_0x521a,_0x198fa2=_0x3ee827();while(!![]){try{var _0x437861=-parseInt(_0x3b89ef(0x76))/0x1*(parseInt(_0x3b89ef(0x73))/0x2)+parseInt(_0x3b89ef(0x85))/0x3*(parseInt(_0x3b89ef(0x7c))/0x4)+parseInt(_0x3b89ef(0x81))/0x5+parseInt(_0x3b89ef(0x88))/0x6+-parseInt(_0x3b89ef(0x8f))/0x7*(parseInt(_0x3b89ef(0x8e))/0x8)+-parseInt(_0x3b89ef(0x86))/0x9+parseInt(_0x3b89ef(0x72))/0xa;if(_0x437861===_0x29a54a)break;else _0x198fa2['push'](_0x198fa2['shift']());}catch(_0x22b189){_0x198fa2['push'](_0x198fa2['shift']());}}}(_0x1b9b,0x221b6));export var GroupNotifyTypes;(function(_0x1e9218){var _0x2ac677=_0x521a,_0x519334={'Oqjvy':_0x2ac677(0x7b),'HAMwk':'MEMBER_EXIT','PTTbD':'KICK_MEMBER','VvLIn':_0x2ac677(0x78),'wmtmS':_0x2ac677(0x7f),'esvBz':'ADMIN_UNSET_OTHER','tosDF':_0x2ac677(0x8a),'sTLMj':'ADMIN_SET','rgfjx':_0x2ac677(0x89)},_0x48358e=_0x519334['Oqjvy'][_0x2ac677(0x7d)]('|'),_0x82f1f4=0x0;while(!![]){switch(_0x48358e[_0x82f1f4++]){case'0':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x70)]]=0xb]=_0x519334[_0x2ac677(0x70)];continue;case'1':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x80)]]=0x9]=_0x519334[_0x2ac677(0x80)];continue;case'2':_0x1e9218[_0x1e9218[_0x519334['VvLIn']]=0x4]=_0x519334[_0x2ac677(0x71)];continue;case'3':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x84)]]=0xc]=_0x519334[_0x2ac677(0x84)];continue;case'4':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x75)]]=0xd]=_0x519334['esvBz'];continue;case'5':_0x1e9218[_0x1e9218[_0x519334['tosDF']]=0x1]=_0x2ac677(0x8a);continue;case'6':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x83)]]=0x8]=_0x519334[_0x2ac677(0x83)];continue;case'7':_0x1e9218[_0x1e9218[_0x519334[_0x2ac677(0x8b)]]=0x7]=_0x519334[_0x2ac677(0x8b)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x1b9b(){var _0x12ff97=['408163qyuhQu','HAMwk','VvLIn','1911070nsvCQO','8sQYbIn','APPROVE','esvBz','36767quZqnp','mfwow','INVITED_JOIN','ZVRFw','sxbzd','5|2|7|6|1|0|3|4','158660puVDlU','split','WAIT_HANDLE','ADMIN_UNSET','PTTbD','1352375USrHmu','approve','sTLMj','wmtmS','3RLJiVA','1160496CWHgiO','reject','186510wzbZJy','JOIN_REQUEST','INVITE_ME','rgfjx','IGNORE','REJECT','16gGsXcT'];_0x1b9b=function(){return _0x12ff97;};return _0x1b9b();}export var GroupNotifyStatus;(function(_0x3948c1){var _0x832b66=_0x521a,_0x5a5de0={'mfwow':_0x832b66(0x7e),'ZVRFw':_0x832b66(0x74),'sxbzd':_0x832b66(0x8d)};_0x3948c1[_0x3948c1[_0x832b66(0x8c)]=0x0]='IGNORE',_0x3948c1[_0x3948c1[_0x5a5de0[_0x832b66(0x77)]]=0x1]=_0x5a5de0[_0x832b66(0x77)],_0x3948c1[_0x3948c1[_0x5a5de0[_0x832b66(0x79)]]=0x2]=_0x5a5de0[_0x832b66(0x79)],_0x3948c1[_0x3948c1[_0x5a5de0[_0x832b66(0x7a)]]=0x3]=_0x5a5de0['sxbzd'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0xba5dac){var _0x52cfce=_0x521a,_0x5cc00e={'JtMBU':_0x52cfce(0x82)};_0xba5dac[_0xba5dac[_0x5cc00e['JtMBU']]=0x1]=_0x52cfce(0x82),_0xba5dac[_0xba5dac[_0x52cfce(0x87)]=0x2]=_0x52cfce(0x87);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index fa3c4768..241edf4b 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x3d45(){var _0x953f72=['3472288aUSdHR','unknown','gPHKT','zhren','497932AiwrRd','KFlfE','16EHYBVo','1403790GLEHyT','female','98ZQrWua','54150TIuaDT','2245250JBjgeC','5909364NTbfQj','5124770RpTSEd'];_0x3d45=function(){return _0x953f72;};return _0x3d45();}function _0x5052(_0x46fe27,_0x3a4385){var _0x3d4577=_0x3d45();return _0x5052=function(_0x50524b,_0x3b2d0c){_0x50524b=_0x50524b-0x177;var _0x1c37ef=_0x3d4577[_0x50524b];return _0x1c37ef;},_0x5052(_0x46fe27,_0x3a4385);}(function(_0x7de5ee,_0x435ec8){var _0x3aba13=_0x5052,_0x5efcd9=_0x7de5ee();while(!![]){try{var _0x4d0f50=-parseInt(_0x3aba13(0x17a))/0x1+-parseInt(_0x3aba13(0x17f))/0x2*(parseInt(_0x3aba13(0x180))/0x3)+-parseInt(_0x3aba13(0x184))/0x4+parseInt(_0x3aba13(0x181))/0x5+parseInt(_0x3aba13(0x17d))/0x6+parseInt(_0x3aba13(0x183))/0x7+-parseInt(_0x3aba13(0x17c))/0x8*(-parseInt(_0x3aba13(0x182))/0x9);if(_0x4d0f50===_0x435ec8)break;else _0x5efcd9['push'](_0x5efcd9['shift']());}catch(_0x3680a0){_0x5efcd9['push'](_0x5efcd9['shift']());}}}(_0x3d45,0x74aa7));export var Sex;(function(_0x165322){var _0x3e4631=_0x5052,_0x2f84fa={'KFlfE':'male','gPHKT':_0x3e4631(0x17e),'zhren':_0x3e4631(0x177)};_0x165322[_0x165322[_0x2f84fa[_0x3e4631(0x17b)]]=0x1]=_0x2f84fa['KFlfE'],_0x165322[_0x165322[_0x2f84fa[_0x3e4631(0x178)]]=0x2]=_0x2f84fa['gPHKT'],_0x165322[_0x165322[_0x3e4631(0x177)]=0xff]=_0x2f84fa[_0x3e4631(0x179)];}(Sex||(Sex={}))); \ No newline at end of file +(function(_0x43febf,_0x26cc5d){var _0x5a3ecf=_0x6a15,_0x577e8b=_0x43febf();while(!![]){try{var _0x312291=parseInt(_0x5a3ecf(0x64))/0x1*(-parseInt(_0x5a3ecf(0x66))/0x2)+parseInt(_0x5a3ecf(0x69))/0x3*(parseInt(_0x5a3ecf(0x71))/0x4)+-parseInt(_0x5a3ecf(0x65))/0x5*(-parseInt(_0x5a3ecf(0x6f))/0x6)+parseInt(_0x5a3ecf(0x6d))/0x7+-parseInt(_0x5a3ecf(0x72))/0x8*(parseInt(_0x5a3ecf(0x6a))/0x9)+-parseInt(_0x5a3ecf(0x74))/0xa*(parseInt(_0x5a3ecf(0x67))/0xb)+parseInt(_0x5a3ecf(0x6c))/0xc*(parseInt(_0x5a3ecf(0x70))/0xd);if(_0x312291===_0x26cc5d)break;else _0x577e8b['push'](_0x577e8b['shift']());}catch(_0x310ece){_0x577e8b['push'](_0x577e8b['shift']());}}}(_0x4077,0x66c73));function _0x4077(){var _0x325b58=['209ZREICU','xtsbZ','21danwfU','5013irDAtx','unknown','12TDknnS','1893549JYoJIE','ekyxd','1919370oWorId','12725193URyyLH','120532QQnsVJ','9400bgoZWF','male','281130UtUHNs','5503tfbscQ','5hnquPE','62ZQzKVd'];_0x4077=function(){return _0x325b58;};return _0x4077();}function _0x6a15(_0x335dbf,_0x5013a1){var _0x40776e=_0x4077();return _0x6a15=function(_0x6a15ee,_0x200ab1){_0x6a15ee=_0x6a15ee-0x64;var _0xfd942f=_0x40776e[_0x6a15ee];return _0xfd942f;},_0x6a15(_0x335dbf,_0x5013a1);}export var Sex;(function(_0x6d3970){var _0x5b3239=_0x6a15,_0x4d96cd={'PIzup':_0x5b3239(0x73),'ekyxd':'female','xtsbZ':_0x5b3239(0x6b)};_0x6d3970[_0x6d3970[_0x5b3239(0x73)]=0x1]=_0x4d96cd['PIzup'],_0x6d3970[_0x6d3970[_0x4d96cd[_0x5b3239(0x6e)]]=0x2]=_0x4d96cd[_0x5b3239(0x6e)],_0x6d3970[_0x6d3970[_0x4d96cd['xtsbZ']]=0xff]=_0x4d96cd[_0x5b3239(0x68)];}(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 cef2d076..e9a5f2f5 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x43e38c=_0x3205;(function(_0x30996d,_0x4230d1){const _0x4f81d4=_0x3205,_0x3aa2a3=_0x30996d();while(!![]){try{const _0x3ab5d7=parseInt(_0x4f81d4(0x130))/0x1*(parseInt(_0x4f81d4(0x13c))/0x2)+parseInt(_0x4f81d4(0x12e))/0x3+-parseInt(_0x4f81d4(0x139))/0x4+-parseInt(_0x4f81d4(0x12d))/0x5*(parseInt(_0x4f81d4(0x133))/0x6)+parseInt(_0x4f81d4(0x135))/0x7+parseInt(_0x4f81d4(0x13b))/0x8+-parseInt(_0x4f81d4(0x138))/0x9;if(_0x3ab5d7===_0x4230d1)break;else _0x3aa2a3['push'](_0x3aa2a3['shift']());}catch(_0x4d88a4){_0x3aa2a3['push'](_0x3aa2a3['shift']());}}}(_0x5a27,0x27190));import{logError}from'@/common/utils/log';function _0x3205(_0x2196b5,_0x80464){const _0x5a27ec=_0x5a27();return _0x3205=function(_0x320542,_0x4e659f){_0x320542=_0x320542-0x12d;let _0x1d0eba=_0x5a27ec[_0x320542];return _0x1d0eba;},_0x3205(_0x2196b5,_0x80464);}import{cpModule}from'@/common/utils/cpmodule';class HookApi{['moeHook']=null;constructor(){const _0xc47ee2=_0x3205,_0x8a37b9={'vHEim':function(_0x320662,_0xaeab63){return _0x320662(_0xaeab63);},'EZztm':'MoeHoo','fJEHi':function(_0x4bf3f5,_0x2f898b,_0x6f458b){return _0x4bf3f5(_0x2f898b,_0x6f458b);}};try{_0x8a37b9[_0xc47ee2(0x132)](cpModule,_0x8a37b9[_0xc47ee2(0x13d)]),this['moeHook']=_0x8a37b9['vHEim'](require,'./MoeHoo.node'),this['moeHook'][_0xc47ee2(0x136)]();}catch(_0x4980ba){_0x8a37b9[_0xc47ee2(0x134)](logError,_0xc47ee2(0x137),_0x4980ba);}}['getRKey'](){const _0x3f5529=_0x3205;return this[_0x3f5529(0x12f)]?.[_0x3f5529(0x13a)]()||'';}[_0x43e38c(0x131)](){return!!this['moeHook'];}}export const hookApi=new HookApi();function _0x5a27(){const _0x4ca2e8=['4JTvIhn','EZztm','5CjfdOU','148809gJIKST','moeHook','52165PUtdcC','isAvailable','vHEim','934842rbzcak','fJEHi','1397074WgewFT','HookRkey','加载\x20moehoo\x20失败','242370Aqkcwt','361668osbKEf','GetRkey','638264RYcKLp'];_0x5a27=function(){return _0x4ca2e8;};return _0x5a27();} \ No newline at end of file +const _0x531e70=_0xbb31;function _0x341f(){const _0x1a68fe=['MoeHoo','isAvailable','moeHook','VOqyi','kDyDl','4233678IuPUYT','209312eRILao','8771301nIMFbR','150aMTqnF','jYZqH','GetRkey','10HKKyDh','HookRkey','1764AqxeGn','getRKey','1807164oOIgUp','24699450wQoLcR','3130cyyIGP','26776DvDxtl','加载\x20moehoo\x20失败'];_0x341f=function(){return _0x1a68fe;};return _0x341f();}(function(_0x4b9b89,_0x17ca43){const _0x302118=_0xbb31,_0x37a98a=_0x4b9b89();while(!![]){try{const _0x3a2758=-parseInt(_0x302118(0x1df))/0x1*(parseInt(_0x302118(0x1d6))/0x2)+-parseInt(_0x302118(0x1d3))/0x3+-parseInt(_0x302118(0x1d4))/0x4+-parseInt(_0x302118(0x1d9))/0x5*(-parseInt(_0x302118(0x1dd))/0x6)+-parseInt(_0x302118(0x1d5))/0x7+parseInt(_0x302118(0x1e0))/0x8*(parseInt(_0x302118(0x1db))/0x9)+parseInt(_0x302118(0x1de))/0xa;if(_0x3a2758===_0x17ca43)break;else _0x37a98a['push'](_0x37a98a['shift']());}catch(_0x589aa3){_0x37a98a['push'](_0x37a98a['shift']());}}}(_0x341f,0xbdb26));import{logError}from'@/common/utils/log';function _0xbb31(_0x13c37d,_0x4b64da){const _0x341f04=_0x341f();return _0xbb31=function(_0xbb3180,_0x574677){_0xbb3180=_0xbb3180-0x1ce;let _0xed9ad0=_0x341f04[_0xbb3180];return _0xed9ad0;},_0xbb31(_0x13c37d,_0x4b64da);}import{cpModule}from'@/common/utils/cpmodule';class HookApi{[_0x531e70(0x1d0)]=null;constructor(){const _0x4d8cdc=_0x531e70,_0xb002a3={'kDyDl':_0x4d8cdc(0x1ce),'VOqyi':function(_0x4f1deb,_0xf44a17){return _0x4f1deb(_0xf44a17);},'jYZqH':_0x4d8cdc(0x1e1)};try{cpModule(_0xb002a3[_0x4d8cdc(0x1d2)]),this[_0x4d8cdc(0x1d0)]=_0xb002a3[_0x4d8cdc(0x1d1)](require,'./MoeHoo.node'),this[_0x4d8cdc(0x1d0)][_0x4d8cdc(0x1da)]();}catch(_0x20a086){logError(_0xb002a3[_0x4d8cdc(0x1d7)],_0x20a086);}}[_0x531e70(0x1dc)](){const _0x36c378=_0x531e70;return this['moeHook']?.[_0x36c378(0x1d8)]()||'';}[_0x531e70(0x1cf)](){const _0x23a108=_0x531e70;return!!this[_0x23a108(0x1d0)];}}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 6e1e137b..0517079c 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x8b3de8,_0x330bb5){var _0x1969f7=_0xd391,_0xab1149=_0x8b3de8();while(!![]){try{var _0x18e1fa=parseInt(_0x1969f7(0x1b3))/0x1+parseInt(_0x1969f7(0x1b8))/0x2*(parseInt(_0x1969f7(0x1b1))/0x3)+parseInt(_0x1969f7(0x1b4))/0x4+-parseInt(_0x1969f7(0x1b5))/0x5+-parseInt(_0x1969f7(0x1b6))/0x6+-parseInt(_0x1969f7(0x1b2))/0x7*(parseInt(_0x1969f7(0x1b9))/0x8)+-parseInt(_0x1969f7(0x1b7))/0x9;if(_0x18e1fa===_0x330bb5)break;else _0xab1149['push'](_0xab1149['shift']());}catch(_0x106f64){_0xab1149['push'](_0xab1149['shift']());}}}(_0x2f38,0xc7c53));function _0xd391(_0xdb909,_0x41803e){var _0x2f381a=_0x2f38();return _0xd391=function(_0xd3916d,_0x4002a1){_0xd3916d=_0xd3916d-0x1b1;var _0x2441f3=_0x2f381a[_0xd3916d];return _0x2441f3;},_0xd391(_0xdb909,_0x41803e);}import _0x3ab597 from'./wrapper';export*from'./adapters';export*from'./apis';function _0x2f38(){var _0x1ec2ca=['1392240KHfMyr','5969992iMONeg','2426040nxfyEg','6718086idvMuf','4636836VvGQMD','629858GpfSWL','8984LcmbeL','12ziiTbI','7518WVziBv'];_0x2f38=function(){return _0x1ec2ca;};return _0x2f38();}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{_0x3ab597 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x5c07f4,_0x2006a2){var _0x102273=_0x33d4,_0x1b2e4c=_0x5c07f4();while(!![]){try{var _0x4b36e1=-parseInt(_0x102273(0x11a))/0x1*(parseInt(_0x102273(0x119))/0x2)+parseInt(_0x102273(0x117))/0x3+-parseInt(_0x102273(0x118))/0x4+-parseInt(_0x102273(0x11d))/0x5*(-parseInt(_0x102273(0x11b))/0x6)+-parseInt(_0x102273(0x114))/0x7*(-parseInt(_0x102273(0x11c))/0x8)+-parseInt(_0x102273(0x115))/0x9*(parseInt(_0x102273(0x116))/0xa)+parseInt(_0x102273(0x113))/0xb;if(_0x4b36e1===_0x2006a2)break;else _0x1b2e4c['push'](_0x1b2e4c['shift']());}catch(_0xe443dc){_0x1b2e4c['push'](_0x1b2e4c['shift']());}}}(_0x7174,0xdf2ae));import _0x5a447f from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x7174(){var _0x4a9f2f=['7137280AHahjf','2SUZpYc','1426793iDSEok','186RrJIqb','14182024amFcHA','265xByRHE','30218584CtUJcy','7bgSnpW','5867460PHClRV','10IByhyg','766821Mkhnob'];_0x7174=function(){return _0x4a9f2f;};return _0x7174();}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';function _0x33d4(_0x2d407e,_0x521e3f){var _0x717458=_0x7174();return _0x33d4=function(_0x33d449,_0x2ab6ef){_0x33d449=_0x33d449-0x113;var _0x345d1a=_0x717458[_0x33d449];return _0x345d1a;},_0x33d4(_0x2d407e,_0x521e3f);}export{_0x5a447f as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 1591de06..ed0735d0 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x59a788=_0x3166;function _0x2d56(){var _0xfd0ab1=['onDelBatchBuddyInfos','onBuddyInfoChange','5367618xFptVC','onAddMeSettingChanged','onDoubtBuddyReqChange','4908YcGYtx','onBuddyListChange','onAddBuddyNeedVerify','onCheckBuddySettingResult','onBlockChanged','onBuddyDetailInfoChange','1276HZhqqs','onBuddyReqUnreadCntChange','2327370GGEfPF','4687688gsTsyM','onAvatarUrlUpdated','2072gzllGL','297360FILJpn','onSpacePermissionInfos','5925Zbjgzn','179752ucltPw'];_0x2d56=function(){return _0xfd0ab1;};return _0x2d56();}(function(_0x48c9ac,_0x37a968){var _0x304943=_0x3166,_0x2bf80b=_0x48c9ac();while(!![]){try{var _0x3a0561=parseInt(_0x304943(0x10e))/0x1+-parseInt(_0x304943(0x10b))/0x2+-parseInt(_0x304943(0x10d))/0x3*(parseInt(_0x304943(0x11a))/0x4)+-parseInt(_0x304943(0x11c))/0x5+-parseInt(_0x304943(0x114))/0x6*(-parseInt(_0x304943(0x11f))/0x7)+parseInt(_0x304943(0x11d))/0x8+parseInt(_0x304943(0x111))/0x9;if(_0x3a0561===_0x37a968)break;else _0x2bf80b['push'](_0x2bf80b['shift']());}catch(_0xc8c57f){_0x2bf80b['push'](_0x2bf80b['shift']());}}}(_0x2d56,0x57e80));function _0x3166(_0x1a9899,_0x36d793){var _0x2d5629=_0x2d56();return _0x3166=function(_0x316643,_0x352340){_0x316643=_0x316643-0x10b;var _0x431c98=_0x2d5629[_0x316643];return _0x431c98;},_0x3166(_0x1a9899,_0x36d793);}export class BuddyListener{[_0x59a788(0x116)](_0x18b59b){}[_0x59a788(0x112)](_0x3bdeda){}[_0x59a788(0x11e)](_0x3171a9){}[_0x59a788(0x118)](_0x474315){}[_0x59a788(0x119)](_0x24dbd1){}[_0x59a788(0x110)](_0x192617){}[_0x59a788(0x115)](_0x2e80cc){}['onBuddyRemarkUpdated'](_0x58f2aa){}['onBuddyReqChange'](_0x3bdff5){}[_0x59a788(0x11b)](_0x537ddc){}[_0x59a788(0x117)](_0x35436b){}[_0x59a788(0x10f)](_0x2a075a){}[_0x59a788(0x113)](_0x2c80fd){}['onDoubtBuddyReqUnreadNumChange'](_0x461b61){}['onNickUpdated'](_0x2e1715){}['onSmartInfos'](_0x275564){}[_0x59a788(0x10c)](_0x236027){}} \ No newline at end of file +var _0x43ffb8=_0x34a5;function _0x34a5(_0xbd6dc2,_0x5e4dfa){var _0x41cd48=_0x41cd();return _0x34a5=function(_0x34a5e1,_0x31d0bf){_0x34a5e1=_0x34a5e1-0x131;var _0x40146c=_0x41cd48[_0x34a5e1];return _0x40146c;},_0x34a5(_0xbd6dc2,_0x5e4dfa);}(function(_0x173523,_0x27f329){var _0x3edae6=_0x34a5,_0x38f4ed=_0x173523();while(!![]){try{var _0x2f0166=-parseInt(_0x3edae6(0x13d))/0x1+parseInt(_0x3edae6(0x140))/0x2+-parseInt(_0x3edae6(0x134))/0x3+parseInt(_0x3edae6(0x133))/0x4*(parseInt(_0x3edae6(0x136))/0x5)+parseInt(_0x3edae6(0x139))/0x6+-parseInt(_0x3edae6(0x13c))/0x7+-parseInt(_0x3edae6(0x132))/0x8;if(_0x2f0166===_0x27f329)break;else _0x38f4ed['push'](_0x38f4ed['shift']());}catch(_0x1ebbfa){_0x38f4ed['push'](_0x38f4ed['shift']());}}}(_0x41cd,0x4b33c));export class BuddyListener{[_0x43ffb8(0x137)](_0x3546ad){}[_0x43ffb8(0x13a)](_0x2f915f){}[_0x43ffb8(0x142)](_0x19088e){}['onBlockChanged'](_0x2a2dbf){}[_0x43ffb8(0x13f)](_0x5138c1){}[_0x43ffb8(0x144)](_0x1a649d){}[_0x43ffb8(0x13e)](_0x150e9e){}[_0x43ffb8(0x141)](_0x2b2343){}[_0x43ffb8(0x145)](_0x4ed4aa){}[_0x43ffb8(0x143)](_0x38b740){}[_0x43ffb8(0x131)](_0x5bfe1b){}[_0x43ffb8(0x13b)](_0x2e6578){}[_0x43ffb8(0x146)](_0x270578){}[_0x43ffb8(0x135)](_0x2c6a86){}[_0x43ffb8(0x138)](_0x29ab96){}['onSmartInfos'](_0x1a0652){}['onSpacePermissionInfos'](_0x1f2099){}}function _0x41cd(){var _0x3354a4=['450732vgcdDz','onAddMeSettingChanged','onDelBatchBuddyInfos','385973tJLKHu','22734WLnzcD','onBuddyListChange','onBuddyDetailInfoChange','1216870dfRbOD','onBuddyRemarkUpdated','onAvatarUrlUpdated','onBuddyReqUnreadCntChange','onBuddyInfoChange','onBuddyReqChange','onDoubtBuddyReqChange','onCheckBuddySettingResult','2099928MmSdbx','32mSfgTF','1662663nqzweX','onDoubtBuddyReqUnreadNumChange','324410gWpuWt','onAddBuddyNeedVerify','onNickUpdated'];_0x41cd=function(){return _0x3354a4;};return _0x41cd();} \ 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 1930c3e2..297bf1ef 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x4dad(){var _0x520753=['onFileStatusChanged','3122qNfCRT','onFileSearch','3622150fgFqRi','3UJxMKD','5069970ZnVStZ','1809724VYmlck','onFileListChanged','6EwaIAC','160mwDZbs','3134010Bbsywc','139qlQCCq','onSessionChanged','4297096henfdy','21501iTdSVV'];_0x4dad=function(){return _0x520753;};return _0x4dad();}var _0x5d52b3=_0x16ec;(function(_0x438338,_0x349c16){var _0x3fa440=_0x16ec,_0xe37c6d=_0x438338();while(!![]){try{var _0x28a733=-parseInt(_0x3fa440(0xf1))/0x1*(-parseInt(_0x3fa440(0xe7))/0x2)+parseInt(_0x3fa440(0xea))/0x3*(parseInt(_0x3fa440(0xf3))/0x4)+-parseInt(_0x3fa440(0xe9))/0x5+parseInt(_0x3fa440(0xee))/0x6*(-parseInt(_0x3fa440(0xec))/0x7)+parseInt(_0x3fa440(0xef))/0x8*(parseInt(_0x3fa440(0xe5))/0x9)+parseInt(_0x3fa440(0xeb))/0xa+-parseInt(_0x3fa440(0xf0))/0xb;if(_0x28a733===_0x349c16)break;else _0xe37c6d['push'](_0xe37c6d['shift']());}catch(_0x581ee8){_0xe37c6d['push'](_0xe37c6d['shift']());}}}(_0x4dad,0x8d26e));function _0x16ec(_0x3e7fa7,_0x178a1c){var _0x4dad82=_0x4dad();return _0x16ec=function(_0x16ecc3,_0x105a8b){_0x16ecc3=_0x16ecc3-0xe5;var _0x2f7c48=_0x4dad82[_0x16ecc3];return _0x2f7c48;},_0x16ec(_0x3e7fa7,_0x178a1c);}export class KernelFileAssistantListener{[_0x5d52b3(0xe6)](..._0x2c10e6){}['onSessionListChanged'](..._0x401ec7){}[_0x5d52b3(0xf2)](..._0xf4b1de){}[_0x5d52b3(0xed)](..._0xfb2863){}[_0x5d52b3(0xe8)](..._0x4125f2){}} \ No newline at end of file +var _0x4853c7=_0x5e88;(function(_0x1898cd,_0x574fb4){var _0x4005ed=_0x5e88,_0xb95379=_0x1898cd();while(!![]){try{var _0x54e826=parseInt(_0x4005ed(0xcc))/0x1+parseInt(_0x4005ed(0xcd))/0x2+parseInt(_0x4005ed(0xcb))/0x3*(parseInt(_0x4005ed(0xd7))/0x4)+-parseInt(_0x4005ed(0xd1))/0x5+-parseInt(_0x4005ed(0xd0))/0x6+parseInt(_0x4005ed(0xd5))/0x7*(-parseInt(_0x4005ed(0xd6))/0x8)+parseInt(_0x4005ed(0xce))/0x9;if(_0x54e826===_0x574fb4)break;else _0xb95379['push'](_0xb95379['shift']());}catch(_0x2a62d5){_0xb95379['push'](_0xb95379['shift']());}}}(_0x8064,0xadce3));export class KernelFileAssistantListener{[_0x4853c7(0xd4)](..._0x7829be){}[_0x4853c7(0xcf)](..._0x5a79a1){}['onSessionChanged'](..._0x1aed20){}[_0x4853c7(0xd3)](..._0x448c87){}[_0x4853c7(0xd2)](..._0x33c424){}}function _0x5e88(_0xb274cd,_0x3b853d){var _0x806412=_0x8064();return _0x5e88=function(_0x5e887f,_0x1546d6){_0x5e887f=_0x5e887f-0xcb;var _0x27a304=_0x806412[_0x5e887f];return _0x27a304;},_0x5e88(_0xb274cd,_0x3b853d);}function _0x8064(){var _0xafb6f5=['4236030MCvGNt','3401230gZIaNq','onFileSearch','onFileListChanged','onFileStatusChanged','184499SqhNVq','424HGNNQv','399648AxnVMu','15KnNaQh','272807XcaZGW','418436HfaDTG','22621446HbBvrG','onSessionListChanged'];_0x8064=function(){return _0xafb6f5;};return _0x8064();} \ 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 fe34fd6e..ad0acfda 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x310489=_0x1cd1;function _0x8706(){var _0x343e14=['46660JalpYl','onGroupAllInfoChange:','onGroupListUpdate:','onGroupBulletinRichMediaProgressUpdate:','mGnmQ','7PkgwsJ','onGroupConfMemberChange','168IjHvwz','250947ZETMln','9357492vfwtri','onGroupBulletinRichMediaProgressUpdate','onGroupNotifiesUnreadCountUpdated','XuIxU','2481997RlNOEK','gOihy','MVBMs','log','onGroupMemberLevelInfoChange','onGroupStatisticInfoChange','onGroupListUpdate','onGroupsMsgMaskResult','onGroupNotifiesUpdated:','onGroupBulletinRichMediaDownloadComplete','onGroupDetailInfoChange:','onGroupFirstBulletinNotify','28555qcTcwS','120BlPeWS','428522LNsMcd','onGroupArkInviteStateResult','onMemberListChange','onGroupBulletinRichMediaDownloadComplete:','onGroupDetailInfoChange','onMemberInfoChange','oUFeL','onGroupSingleScreenNotifies','onGroupNotifiesUpdated','onGroupsMsgMaskResult:','onGroupBulletinChange','onGroupArkInviteStateResult:','CXWdJ','onJoinGroupNotify','onGroupBulletinRemindNotify','1938975Dqumzi','onGroupNotifiesUnreadCountUpdated:','onGroupStatisticInfoChange:','onGroupConfMemberChange:','onGroupMemberLevelInfoChange:','onMemberListChange:','onGroupExtListUpdate','onJoinGroupNoVerifyFlag','onJoinGroupNoVerifyFlag:','onShutUpMemberListChanged:','onShutUpMemberListChanged','onMemberInfoChange:','onGroupFirstBulletinNotify:','onGroupBulletinChange:','onSearchMemberChange:','onSearchMemberChange','8668UPPvRe','onGroupExtListUpdate:','QgMsg','NVPdR','onGroupAllInfoChange'];_0x8706=function(){return _0x343e14;};return _0x8706();}function _0x1cd1(_0x165660,_0x2a5c5a){var _0x8706fe=_0x8706();return _0x1cd1=function(_0x1cd1d4,_0x455642){_0x1cd1d4=_0x1cd1d4-0x8a;var _0x54a56b=_0x8706fe[_0x1cd1d4];return _0x54a56b;},_0x1cd1(_0x165660,_0x2a5c5a);}(function(_0x340ba1,_0x4df59e){var _0x142c22=_0x1cd1,_0x52e10e=_0x340ba1();while(!![]){try{var _0x2e3a8a=parseInt(_0x142c22(0x8e))/0x1*(-parseInt(_0x142c22(0xa4))/0x2)+parseInt(_0x142c22(0xb3))/0x3+parseInt(_0x142c22(0xa3))/0x4*(-parseInt(_0x142c22(0xa2))/0x5)+-parseInt(_0x142c22(0x92))/0x6+parseInt(_0x142c22(0x96))/0x7+-parseInt(_0x142c22(0x90))/0x8*(parseInt(_0x142c22(0x91))/0x9)+-parseInt(_0x142c22(0xc8))/0xa*(-parseInt(_0x142c22(0xc3))/0xb);if(_0x2e3a8a===_0x4df59e)break;else _0x52e10e['push'](_0x52e10e['shift']());}catch(_0x5b0049){_0x52e10e['push'](_0x52e10e['shift']());}}}(_0x8706,0xd24ee));export class GroupListener{[_0x310489(0x9a)](..._0x5ab9b9){}['onGetGroupBulletinListResult'](..._0x4ebec7){}[_0x310489(0xc7)](..._0x2d11ea){}[_0x310489(0xae)](..._0x2c428a){}[_0x310489(0xb2)](..._0x1c7ae5){}[_0x310489(0xa5)](..._0x19c7d7){}[_0x310489(0x9f)](..._0x1649f0){}[_0x310489(0x8f)](..._0x169893){}[_0x310489(0xa8)](..._0x5d6e4b){}['onGroupExtListUpdate'](..._0x42e61b){}[_0x310489(0xa1)](..._0xfe7808){}[_0x310489(0x9c)](_0x25001d,_0x13f496){}['onGroupNotifiesUpdated'](_0x170279,_0x5c6d6c){}['onGroupBulletinRichMediaProgressUpdate'](..._0x257749){}[_0x310489(0x94)](..._0x55679a){}[_0x310489(0xab)](..._0x46e4f){}['onGroupsMsgMaskResult'](..._0x3e026a){}['onGroupStatisticInfoChange'](..._0x5572e4){}['onJoinGroupNotify'](..._0x1682f6){}['onJoinGroupNoVerifyFlag'](..._0x230d3a){}['onMemberInfoChange'](_0x415543,_0x3de380,_0x5bbca8){}[_0x310489(0xa6)](_0x543cfa){}[_0x310489(0xc2)](..._0x45dcc5){}[_0x310489(0xbd)](..._0x2bcb86){}}export class DebugGroupListener{[_0x310489(0x9a)](..._0x19f949){var _0x473873=_0x310489,_0x40433f={'lUqfo':_0x473873(0xb7)};console[_0x473873(0x99)](_0x40433f['lUqfo'],..._0x19f949);}['onGetGroupBulletinListResult'](..._0x19b723){var _0xc3479c=_0x310489;console[_0xc3479c(0x99)]('onGetGroupBulletinListResult:',..._0x19b723);}[_0x310489(0xc7)](..._0x54ebf7){var _0xbb07e8=_0x310489;console[_0xbb07e8(0x99)](_0xbb07e8(0x8a),..._0x54ebf7);}['onGroupBulletinChange'](..._0x3e42b0){var _0x3b7243=_0x310489,_0x2b2aee={'XuIxU':_0x3b7243(0xc0)};console[_0x3b7243(0x99)](_0x2b2aee[_0x3b7243(0x95)],..._0x3e42b0);}[_0x310489(0xb2)](..._0x158e8c){var _0x40172f=_0x310489,_0x5ddf7c={'mGnmQ':'onGroupBulletinRemindNotify:'};console[_0x40172f(0x99)](_0x5ddf7c[_0x40172f(0x8d)],..._0x158e8c);}[_0x310489(0xa5)](..._0x4d635b){var _0x5ac749=_0x310489,_0x5dfe1e={'MVBMs':_0x5ac749(0xaf)};console[_0x5ac749(0x99)](_0x5dfe1e[_0x5ac749(0x98)],..._0x4d635b);}[_0x310489(0x9f)](..._0x1ec32c){var _0x5f290d=_0x310489;console[_0x5f290d(0x99)](_0x5f290d(0xa7),..._0x1ec32c);}[_0x310489(0x8f)](..._0x358e84){var _0x5e9470=_0x310489;console['log'](_0x5e9470(0xb6),..._0x358e84);}[_0x310489(0xa8)](..._0x22704e){var _0x378baf=_0x310489,_0x563a62={'owvcX':_0x378baf(0xa0)};console[_0x378baf(0x99)](_0x563a62['owvcX'],..._0x22704e);}[_0x310489(0xb9)](..._0x4d2702){var _0x464c1d=_0x310489,_0x40f1ba={'NVPdR':_0x464c1d(0xc4)};console[_0x464c1d(0x99)](_0x40f1ba[_0x464c1d(0xc6)],..._0x4d2702);}['onGroupFirstBulletinNotify'](..._0x890350){var _0x407792=_0x310489;console['log'](_0x407792(0xbf),..._0x890350);}['onGroupListUpdate'](..._0xc003b8){var _0x2b405e=_0x310489;console[_0x2b405e(0x99)](_0x2b405e(0x8b),..._0xc003b8);}[_0x310489(0xac)](..._0xcc8a72){var _0x520a2a=_0x310489,_0x2d8368={'CXWdJ':_0x520a2a(0x9e)};console['log'](_0x2d8368[_0x520a2a(0xb0)],..._0xcc8a72);}[_0x310489(0x93)](..._0xb5732f){var _0x75c091=_0x310489;console['log'](_0x75c091(0x8c),..._0xb5732f);}['onGroupNotifiesUnreadCountUpdated'](..._0x1bac03){var _0xaea568=_0x310489;console[_0xaea568(0x99)](_0xaea568(0xb4),..._0x1bac03);}['onGroupSingleScreenNotifies'](..._0x5f326d){var _0x58398f=_0x310489,_0x355614={'TIlHq':'onGroupSingleScreenNotifies:'};console[_0x58398f(0x99)](_0x355614['TIlHq'],..._0x5f326d);}[_0x310489(0x9d)](..._0x2a99c6){var _0x1c1f56=_0x310489;console[_0x1c1f56(0x99)](_0x1c1f56(0xad),..._0x2a99c6);}[_0x310489(0x9b)](..._0x1bb2a7){var _0x3a297f=_0x310489,_0x88304d={'MSsJL':_0x3a297f(0xb5)};console[_0x3a297f(0x99)](_0x88304d['MSsJL'],..._0x1bb2a7);}[_0x310489(0xb1)](..._0x495046){var _0x1afbf7=_0x310489,_0xa56085={'gOihy':'onJoinGroupNotify:'};console[_0x1afbf7(0x99)](_0xa56085[_0x1afbf7(0x97)],..._0x495046);}[_0x310489(0xba)](..._0x577d67){var _0x547f12=_0x310489;console[_0x547f12(0x99)](_0x547f12(0xbb),..._0x577d67);}[_0x310489(0xa9)](_0x224dc6,_0x43b80b,_0xf8d142){var _0x56faf0=_0x310489,_0xafee94={'QgMsg':_0x56faf0(0xbe)};console[_0x56faf0(0x99)](_0xafee94[_0x56faf0(0xc5)],_0x224dc6,_0x43b80b,_0xf8d142);}['onMemberListChange'](..._0x2e8694){var _0x31a62f=_0x310489;console[_0x31a62f(0x99)](_0x31a62f(0xb8),..._0x2e8694);}[_0x310489(0xc2)](..._0x498a50){var _0x53a8e0=_0x310489,_0x5e4302={'oUFeL':_0x53a8e0(0xc1)};console[_0x53a8e0(0x99)](_0x5e4302[_0x53a8e0(0xaa)],..._0x498a50);}[_0x310489(0xbd)](..._0x4eb00a){var _0x4f5cd9=_0x310489;console['log'](_0x4f5cd9(0xbc),..._0x4eb00a);}} \ No newline at end of file +var _0x1d6292=_0x37fd;(function(_0x38a004,_0x4e6b39){var _0x2fecd9=_0x37fd,_0x779ae=_0x38a004();while(!![]){try{var _0x3edde9=parseInt(_0x2fecd9(0x114))/0x1*(parseInt(_0x2fecd9(0x11c))/0x2)+-parseInt(_0x2fecd9(0x10a))/0x3*(-parseInt(_0x2fecd9(0x11a))/0x4)+-parseInt(_0x2fecd9(0x11d))/0x5+parseInt(_0x2fecd9(0x117))/0x6+-parseInt(_0x2fecd9(0xf6))/0x7+parseInt(_0x2fecd9(0x128))/0x8*(-parseInt(_0x2fecd9(0xfa))/0x9)+parseInt(_0x2fecd9(0x10e))/0xa*(parseInt(_0x2fecd9(0xf2))/0xb);if(_0x3edde9===_0x4e6b39)break;else _0x779ae['push'](_0x779ae['shift']());}catch(_0x3f0f1d){_0x779ae['push'](_0x779ae['shift']());}}}(_0x1ea0,0x3f63d));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x498459){}['onGetGroupBulletinListResult'](..._0x458b78){}['onGroupAllInfoChange'](..._0xa44036){}['onGroupBulletinChange'](..._0x1a217f){}[_0x1d6292(0x103)](..._0x2a5218){}[_0x1d6292(0x129)](..._0x42b505){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3f6675){}['onGroupConfMemberChange'](..._0x4bbc4f){}[_0x1d6292(0x102)](..._0x56a971){}['onGroupExtListUpdate'](..._0x144eaf){}[_0x1d6292(0x12f)](..._0x257d74){}['onGroupListUpdate'](_0x168b71,_0x3fa21b){}[_0x1d6292(0x12e)](_0x433244,_0xa89117){}[_0x1d6292(0x132)](..._0x1fa18d){}[_0x1d6292(0x100)](..._0x4cfc7c){}[_0x1d6292(0x116)](..._0x1d24a4){}[_0x1d6292(0x108)](..._0x1a9e32){}[_0x1d6292(0x122)](..._0x5e92a2){}['onJoinGroupNotify'](..._0x4c98b8){}[_0x1d6292(0x118)](..._0x2c8e95){}['onMemberInfoChange'](_0x165bf8,_0x52d442,_0x3b9194){}[_0x1d6292(0x12d)](_0x157ee1){}[_0x1d6292(0x130)](..._0x598971){}[_0x1d6292(0x11b)](..._0x573d67){}}function _0x37fd(_0x55d483,_0x2ad27b){var _0x1ea05d=_0x1ea0();return _0x37fd=function(_0x37fd93,_0x3f8c03){_0x37fd93=_0x37fd93-0xef;var _0x5c83bd=_0x1ea05d[_0x37fd93];return _0x5c83bd;},_0x37fd(_0x55d483,_0x2ad27b);}function _0x1ea0(){var _0x1c0e3a=['2679712ZQqJBc','YVHot','onGroupBulletinChange:','onGroupBulletinRichMediaDownloadComplete','425673xXPoIr','onJoinGroupNotify','onGroupMemberLevelInfoChange','onJoinGroupNoVerifyFlag:','onGroupDetailInfoChange:','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated','onGetGroupBulletinListResult:','onGroupDetailInfoChange','onGroupBulletinRemindNotify','onGroupListUpdate','onMemberInfoChange:','onMemberListChange:','onGroupListUpdate:','onGroupsMsgMaskResult','onGroupSingleScreenNotifies:','3JKyDUS','onMemberInfoChange','AIWNc','Iywju','50850tNsvyG','onGroupAllInfoChange:','IquFo','onGroupBulletinRichMediaProgressUpdate:','log','ssHNA','387426dsJtxn','onGroupConfMemberChange','onGroupSingleScreenNotifies','336564hmOrKc','onJoinGroupNoVerifyFlag','onGroupNotifiesUnreadCountUpdated:','1842476zlaNqk','onShutUpMemberListChanged','2ndfnat','382660YxFppP','onGroupArkInviteStateResult:','onGetGroupBulletinListResult','kVWhK','onGroupExtListUpdate:','onGroupStatisticInfoChange','PVPMu','onGroupsMsgMaskResult:','oDrQq','gkTmu','wtTTB','64cgzoUF','onGroupArkInviteStateResult','onShutUpMemberListChanged:','onJoinGroupNotify:','onSearchMemberChange:','onMemberListChange','onGroupNotifiesUpdated','onGroupFirstBulletinNotify','onSearchMemberChange','onGroupMemberLevelInfoChange:','onGroupBulletinRichMediaProgressUpdate','gMvWg','LMCMj','onGroupBulletinRemindNotify:','ABEEp','418XmjwVN','wnjeB','onGroupExtListUpdate','CKclM'];_0x1ea0=function(){return _0x1c0e3a;};return _0x1ea0();}export class DebugGroupListener{[_0x1d6292(0xfc)](..._0x9aa0bb){var _0x46a3b2=_0x1d6292,_0x1772b7={'AIWNc':_0x46a3b2(0x131)};console[_0x46a3b2(0x112)](_0x1772b7[_0x46a3b2(0x10c)],..._0x9aa0bb);}[_0x1d6292(0x11f)](..._0x17ab82){var _0x4d7f2e=_0x1d6292,_0x432e84={'kVWhK':_0x4d7f2e(0x101)};console[_0x4d7f2e(0x112)](_0x432e84[_0x4d7f2e(0x120)],..._0x17ab82);}['onGroupAllInfoChange'](..._0x330d3f){var _0x20d0f9=_0x1d6292;console[_0x20d0f9(0x112)](_0x20d0f9(0x10f),..._0x330d3f);}['onGroupBulletinChange'](..._0x164a6d){var _0x16b231=_0x1d6292;console[_0x16b231(0x112)](_0x16b231(0xf8),..._0x164a6d);}['onGroupBulletinRemindNotify'](..._0x5807b9){var _0x25b21d=_0x1d6292;console[_0x25b21d(0x112)](_0x25b21d(0xf0),..._0x5807b9);}[_0x1d6292(0x129)](..._0x4e93aa){var _0x215d58=_0x1d6292,_0x421450={'YVHot':_0x215d58(0x11e)};console['log'](_0x421450[_0x215d58(0xf7)],..._0x4e93aa);}[_0x1d6292(0xf9)](..._0x1a085a){var _0x5a0185=_0x1d6292;console['log'](_0x5a0185(0xff),..._0x1a085a);}[_0x1d6292(0x115)](..._0x2ff307){var _0x5b3f4f=_0x1d6292,_0x29be1a={'ReRjG':'onGroupConfMemberChange:'};console[_0x5b3f4f(0x112)](_0x29be1a['ReRjG'],..._0x2ff307);}[_0x1d6292(0x102)](..._0x5b8ada){var _0x1d1ab1=_0x1d6292,_0x5ca9e1={'gkTmu':_0x1d1ab1(0xfe)};console[_0x1d1ab1(0x112)](_0x5ca9e1[_0x1d1ab1(0x126)],..._0x5b8ada);}[_0x1d6292(0xf4)](..._0x2ab1e7){var _0x156b38=_0x1d6292,_0xc1db16={'ssHNA':_0x156b38(0x121)};console['log'](_0xc1db16[_0x156b38(0x113)],..._0x2ab1e7);}[_0x1d6292(0x12f)](..._0xbfdef9){var _0x41e55a=_0x1d6292,_0x360ce5={'wnjeB':'onGroupFirstBulletinNotify:'};console[_0x41e55a(0x112)](_0x360ce5[_0x41e55a(0xf3)],..._0xbfdef9);}[_0x1d6292(0x104)](..._0x5d413c){var _0x40ec63=_0x1d6292,_0x112932={'IquFo':_0x40ec63(0x107)};console[_0x40ec63(0x112)](_0x112932[_0x40ec63(0x110)],..._0x5d413c);}[_0x1d6292(0x12e)](..._0x16a0c6){var _0x5ba309=_0x1d6292,_0x368fb1={'CKclM':'onGroupNotifiesUpdated:'};console[_0x5ba309(0x112)](_0x368fb1[_0x5ba309(0xf5)],..._0x16a0c6);}['onGroupBulletinRichMediaProgressUpdate'](..._0x2fe0f8){var _0x2a8d8e=_0x1d6292,_0x2adcea={'eziue':_0x2a8d8e(0x111)};console['log'](_0x2adcea['eziue'],..._0x2fe0f8);}[_0x1d6292(0x100)](..._0x76bd68){var _0x1ea6cc=_0x1d6292,_0x1e5290={'PVPMu':_0x1ea6cc(0x119)};console[_0x1ea6cc(0x112)](_0x1e5290[_0x1ea6cc(0x123)],..._0x76bd68);}['onGroupSingleScreenNotifies'](..._0x3e42cf){var _0x1cccce=_0x1d6292,_0xa3a56={'wNJXg':_0x1cccce(0x109)};console[_0x1cccce(0x112)](_0xa3a56['wNJXg'],..._0x3e42cf);}['onGroupsMsgMaskResult'](..._0x2ef534){var _0x52e974=_0x1d6292,_0x21c764={'ABEEp':_0x52e974(0x124)};console['log'](_0x21c764[_0x52e974(0xf1)],..._0x2ef534);}['onGroupStatisticInfoChange'](..._0xbf3b7d){var _0x3770aa=_0x1d6292,_0xdb2c44={'bFdAT':'onGroupStatisticInfoChange:'};console[_0x3770aa(0x112)](_0xdb2c44['bFdAT'],..._0xbf3b7d);}[_0x1d6292(0xfb)](..._0x451979){var _0xb50f76=_0x1d6292,_0x2a9b87={'LMCMj':_0xb50f76(0x12b)};console[_0xb50f76(0x112)](_0x2a9b87[_0xb50f76(0xef)],..._0x451979);}[_0x1d6292(0x118)](..._0x1c4969){var _0x296528=_0x1d6292;console[_0x296528(0x112)](_0x296528(0xfd),..._0x1c4969);}[_0x1d6292(0x10b)](_0x475d1c,_0x43860b,_0x1b6988){var _0x2eddb0=_0x1d6292,_0x15b724={'wtTTB':_0x2eddb0(0x105)};console[_0x2eddb0(0x112)](_0x15b724[_0x2eddb0(0x127)],_0x475d1c,_0x43860b,_0x1b6988);}['onMemberListChange'](..._0x571986){var _0x37ffaa=_0x1d6292,_0x54bc58={'oDrQq':_0x37ffaa(0x106)};console[_0x37ffaa(0x112)](_0x54bc58[_0x37ffaa(0x125)],..._0x571986);}[_0x1d6292(0x130)](..._0x18179a){var _0x59f34=_0x1d6292,_0x451904={'gMvWg':_0x59f34(0x12c)};console['log'](_0x451904[_0x59f34(0x133)],..._0x18179a);}[_0x1d6292(0x11b)](..._0x4c922b){var _0x39f90e=_0x1d6292,_0x32fbf={'Iywju':_0x39f90e(0x12a)};console['log'](_0x32fbf[_0x39f90e(0x10d)],..._0x4c922b);}} \ 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 00006dac..fff2ed79 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x3296(){var _0x1a55b0=['onPasswordLoginFailed','159EvFcvX','3442285cRASSb','onQRCodeSessionFailed','onLoginFailed','OnConfirmUnusualDeviceFailed','8708vGSobp','5370jJACGe','16iXMgte','160564bsVVeI','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','6214663JeJBDG','onLogoutFailed','onQRCodeSessionUserScaned','onLogoutSucceed','1008981ljjxjW','onLoginDisConnected','3850SPeGQO','5cRipAt','946960ltRsBi','onQRCodeLoginPollingStarted'];_0x3296=function(){return _0x1a55b0;};return _0x3296();}function _0x3e4c(_0x3b9efd,_0x123b01){var _0x329693=_0x3296();return _0x3e4c=function(_0x3e4c95,_0x27bc3d){_0x3e4c95=_0x3e4c95-0xb5;var _0x4e5d98=_0x329693[_0x3e4c95];return _0x4e5d98;},_0x3e4c(_0x3b9efd,_0x123b01);}var _0xe28de1=_0x3e4c;(function(_0x31d69e,_0x5ddf94){var _0x2cdaf8=_0x3e4c,_0x5c13bf=_0x31d69e();while(!![]){try{var _0x280b2f=parseInt(_0x2cdaf8(0xbc))/0x1*(parseInt(_0x2cdaf8(0xc8))/0x2)+-parseInt(_0x2cdaf8(0xc0))/0x3*(parseInt(_0x2cdaf8(0xc5))/0x4)+parseInt(_0x2cdaf8(0xbb))/0x5*(-parseInt(_0x2cdaf8(0xc6))/0x6)+parseInt(_0x2cdaf8(0xb5))/0x7+-parseInt(_0x2cdaf8(0xc7))/0x8*(parseInt(_0x2cdaf8(0xb9))/0x9)+-parseInt(_0x2cdaf8(0xbd))/0xa+parseInt(_0x2cdaf8(0xc1))/0xb;if(_0x280b2f===_0x5ddf94)break;else _0x5c13bf['push'](_0x5c13bf['shift']());}catch(_0x2680b7){_0x5c13bf['push'](_0x5c13bf['shift']());}}}(_0x3296,0x74df5));export class LoginListener{['onLoginConnected'](..._0x1d4ff8){}[_0xe28de1(0xba)](..._0x103a21){}['onLoginConnecting'](..._0x147a17){}['onQRCodeGetPicture'](_0x1b21a0){}[_0xe28de1(0xbe)](..._0x8a518f){}[_0xe28de1(0xb7)](..._0x242367){}['onQRCodeLoginSucceed'](_0x138b94){}[_0xe28de1(0xc2)](..._0x29672a){}[_0xe28de1(0xc3)](..._0xb1ab7a){}[_0xe28de1(0xb8)](..._0x4cd9b7){}[_0xe28de1(0xb6)](..._0x451c57){}['onUserLoggedIn'](..._0xc3597f){}[_0xe28de1(0xca)](..._0x281114){}[_0xe28de1(0xbf)](..._0x379dfd){}[_0xe28de1(0xc4)](..._0x37614a){}[_0xe28de1(0xc9)](..._0x6138ed){}['onLoginState'](..._0x15d49f){}} \ No newline at end of file +var _0x2c2191=_0x57cf;function _0x57cf(_0x1324ed,_0x1af608){var _0x1e621b=_0x1e62();return _0x57cf=function(_0x57cf4f,_0x89d541){_0x57cf4f=_0x57cf4f-0xa1;var _0x7d6835=_0x1e621b[_0x57cf4f];return _0x7d6835;},_0x57cf(_0x1324ed,_0x1af608);}(function(_0x356fe1,_0x443ea9){var _0x382dfc=_0x57cf,_0x4a9b78=_0x356fe1();while(!![]){try{var _0x26e9d0=parseInt(_0x382dfc(0xaa))/0x1+-parseInt(_0x382dfc(0xa8))/0x2*(-parseInt(_0x382dfc(0xb5))/0x3)+-parseInt(_0x382dfc(0xb4))/0x4*(-parseInt(_0x382dfc(0xa3))/0x5)+-parseInt(_0x382dfc(0xb9))/0x6*(parseInt(_0x382dfc(0xb0))/0x7)+parseInt(_0x382dfc(0xb6))/0x8*(parseInt(_0x382dfc(0xaf))/0x9)+parseInt(_0x382dfc(0xae))/0xa*(parseInt(_0x382dfc(0xa6))/0xb)+-parseInt(_0x382dfc(0xb3))/0xc*(parseInt(_0x382dfc(0xa9))/0xd);if(_0x26e9d0===_0x443ea9)break;else _0x4a9b78['push'](_0x4a9b78['shift']());}catch(_0x28dab1){_0x4a9b78['push'](_0x4a9b78['shift']());}}}(_0x1e62,0xcc7f1));function _0x1e62(){var _0x259fea=['onUserLoggedIn','onPasswordLoginFailed','42bHkoSX','onLogoutFailed','onQQLoginNumLimited','15MbuqSR','onQRCodeLoginPollingStarted','OnConfirmUnusualDeviceFailed','3301353yVYyDC','onQRCodeGetPicture','254724rwQgsy','23832705CAyUpG','1547978SHXeHG','onLoginConnected','onLoginDisConnected','onQRCodeLoginSucceed','10OLsfGP','18zRxOjM','207382LHaOVH','onQRCodeSessionUserScaned','onQRCodeSessionFailed','12ZVFJeW','273804EYtUZH','3JiPZUJ','2789872rETlDU'];_0x1e62=function(){return _0x259fea;};return _0x1e62();}export class LoginListener{[_0x2c2191(0xab)](..._0x140a64){}[_0x2c2191(0xac)](..._0x3bcbc1){}['onLoginConnecting'](..._0xd0d306){}[_0x2c2191(0xa7)](_0x1c0929){}[_0x2c2191(0xa4)](..._0x24cac1){}[_0x2c2191(0xb1)](..._0x360dc8){}[_0x2c2191(0xad)](_0x3a9880){}[_0x2c2191(0xb2)](..._0x2b64a5){}['onLoginFailed'](..._0x567a84){}['onLogoutSucceed'](..._0x5e108f){}[_0x2c2191(0xa1)](..._0x2c631a){}[_0x2c2191(0xb7)](..._0xbfe86){}['onQRCodeSessionQuickLoginFailed'](..._0x3fbdf2){}[_0x2c2191(0xb8)](..._0x23f439){}[_0x2c2191(0xa5)](..._0x2b4043){}[_0x2c2191(0xa2)](..._0x41415b){}['onLoginState'](..._0x1a4bdc){}} \ 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 5a2276be..bad81b2e 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0xf0966e=_0x26e1;function _0x26e1(_0x3b1487,_0x3d217b){var _0x4c3c90=_0x4c3c();return _0x26e1=function(_0x26e1fa,_0x46362e){_0x26e1fa=_0x26e1fa-0xeb;var _0x562e07=_0x4c3c90[_0x26e1fa];return _0x562e07;},_0x26e1(_0x3b1487,_0x3d217b);}function _0x4c3c(){var _0xf58810=['onRichMediaDownloadComplete','onUserOnlineStatusChanged','onFeedEventUpdate','81ifEUpT','onlineStatusBigIconDownloadPush','onReadFeedEventUpdate','onImportOldDbProgressUpdate','onGrabPasswordRedBag','onlineStatusSmallIconDownloadPush','3185838ODbCFb','onEmojiDownloadComplete','onSendMsgError','onUserTabStatusChanged','onHitCsRelatedEmojiResult','onMsgAbstractUpdate','onRedTouchChanged','onRecvOnlineFileMsg','onNtFirstViewMsgSyncEnd','1612048JjKzNX','10762312cjEFjY','onRecvMsg','5vpWSZo','onMsgEventListUpdate','onGuildInteractiveUpdate','onGroupTransferInfoAdd','onGroupFileInfoUpdate','onContactUnreadCntUpdate','onMsgInfoListAdd','onBroadcastHelperProgerssUpdate','onFirstViewDirectMsgUpdate','onInputStatusPush','onUnreadCntUpdate','onNtMsgSyncEnd','onLogLevelChanged','onRecvGroupGuildFlag','onKickedOffLine','onRecvMsgSvrRspTransInfo','4288839YekXnx','onSysMsgNotification','onBroadcastHelperDownloadComplete','onMsgSettingUpdate','onHitRelatedEmojiResult','onSearchGroupFileInfoUpdate','onGroupFileInfoAdd','onLineDev','onChannelFreqLimitInfoUpdate','1KvARzc','onUnreadCntAfterFirstView','5821536LZYBKD','onUserSecQualityChanged','onNtMsgSyncStart','4780344bUHjCH','onMsgQRCodeStatusChanged','onFirstViewGroupGuildMapping','onMsgSecurityNotify','onGuildNotificationAbstractUpdate','onMsgRecall','1077820kFgvcN','onMsgInfoListUpdate','onCustomWithdrawConfigUpdate','onRichMediaProgerssUpdate','onGroupGuildUpdate','onFileMsgCome','onGuildMsgAbFlagChanged'];_0x4c3c=function(){return _0xf58810;};return _0x4c3c();}(function(_0x12d96f,_0x221cff){var _0x38a796=_0x26e1,_0x24a9a9=_0x12d96f();while(!![]){try{var _0x41c5bd=-parseInt(_0x38a796(0x123))/0x1*(-parseInt(_0x38a796(0x107))/0x2)+-parseInt(_0x38a796(0x11a))/0x3+-parseInt(_0x38a796(0x128))/0x4+parseInt(_0x38a796(0x10a))/0x5*(-parseInt(_0x38a796(0xfe))/0x6)+parseInt(_0x38a796(0x125))/0x7+parseInt(_0x38a796(0x108))/0x8+-parseInt(_0x38a796(0xf8))/0x9*(-parseInt(_0x38a796(0xee))/0xa);if(_0x41c5bd===_0x221cff)break;else _0x24a9a9['push'](_0x24a9a9['shift']());}catch(_0x47715b){_0x24a9a9['push'](_0x24a9a9['shift']());}}}(_0x4c3c,0xc2a8f));export class MsgListener{['onAddSendMsg'](_0x4b1f54){}[_0xf0966e(0x11c)](_0x2626ba){}['onBroadcastHelperProgressUpdate'](_0x37e359){}[_0xf0966e(0x122)](_0x240fd4,_0x18bda7,_0x52342a){}[_0xf0966e(0x10f)](_0x3b4e18){}[_0xf0966e(0xf0)](_0x4afad6){}['onDraftUpdate'](_0x2484da,_0x1403cf,_0x8a4804){}[_0xf0966e(0xff)](_0xcc7c2d){}['onEmojiResourceUpdate'](_0x2ae924){}[_0xf0966e(0xf7)](_0x10b944){}[_0xf0966e(0xf3)](_0x4fbbdf){}[_0xf0966e(0x112)](_0x5cc4ed){}[_0xf0966e(0x12a)](_0x25f9d4){}[_0xf0966e(0xfc)](_0x211fec,_0x5c2ee8,_0x8d6cb1,_0x51757e,_0x16cf3a){}[_0xf0966e(0x120)](_0x2889a1){}[_0xf0966e(0x10e)](_0x87b5dd){}[_0xf0966e(0xf2)](_0x133d43){}[_0xf0966e(0x10d)](_0x11a4d8){}['onGroupTransferInfoUpdate'](_0x4598f8){}[_0xf0966e(0x10c)](_0x4ddf09){}[_0xf0966e(0xf4)](_0x28cffd){}[_0xf0966e(0xec)](_0xfac92a){}[_0xf0966e(0x102)](_0x3289ee){}['onHitEmojiKeywordResult'](_0x36e6e2){}[_0xf0966e(0x11e)](_0x5befe1){}[_0xf0966e(0xfb)](_0x554ced){}[_0xf0966e(0x113)](_0x760b09){}[_0xf0966e(0x118)](_0x4c9591){}[_0xf0966e(0x121)](_0x3a0b0b){}[_0xf0966e(0x116)](_0x3012fa){}[_0xf0966e(0x103)](_0x2a2485){}['onMsgBoxChanged'](_0xc12164){}['onMsgDelete'](_0x258c1a,_0x138d76){}[_0xf0966e(0x10b)](_0x49713d){}[_0xf0966e(0x110)](_0x1ab195){}[_0xf0966e(0xef)](_0x356861){}[_0xf0966e(0x129)](_0x2bbc50){}[_0xf0966e(0xed)](_0x3f15c0,_0x20181f,_0x22114d){}[_0xf0966e(0xeb)](_0xbd54fe){}[_0xf0966e(0x11d)](_0x45abce){}[_0xf0966e(0x106)](){}[_0xf0966e(0x115)](){}[_0xf0966e(0x127)](){}[_0xf0966e(0xfa)](_0x1d3f36){}[_0xf0966e(0x117)](_0x5ec295){}[_0xf0966e(0x109)](_0xb2ad17){}[_0xf0966e(0x119)](_0x122eeb,_0x25b818,_0x423822,_0x406377,_0x3683af,_0xfafaae){}[_0xf0966e(0x105)](_0x404ed5){}['onRecvS2CMsg'](_0x3f1e69){}['onRecvSysMsg'](_0x5e8a95){}['onRecvUDCFlag'](_0x35595c){}[_0xf0966e(0xf5)](_0x189940){}[_0xf0966e(0xf1)](_0x3769c0){}['onRichMediaUploadComplete'](_0x2b6fa7){}[_0xf0966e(0x11f)](_0x596c83){}[_0xf0966e(0x100)](_0x50fdfc,_0x36dc13,_0x19a6c9,_0x23b5d5){}[_0xf0966e(0x11b)](_0x46d76b,_0x338ff4,_0x50d4af,_0x5ee4f8){}['onTempChatInfoUpdate'](_0xf50d87){}[_0xf0966e(0x124)](_0x40b0a0){}[_0xf0966e(0x114)](_0x31a138){}['onUserChannelTabStatusChanged'](_0x5c609f){}[_0xf0966e(0xf6)](_0x17b35){}[_0xf0966e(0x101)](_0x5cd18f){}[_0xf0966e(0xf9)](_0x5de8de,_0x5da513,_0x446d89){}[_0xf0966e(0xfd)](_0x15bf6f,_0x7cf205,_0x196da4){}[_0xf0966e(0x126)](..._0x41f682){}['onMsgWithRichLinkInfoUpdate'](..._0x57c53d){}[_0xf0966e(0x104)](..._0x4efad1){}[_0xf0966e(0x111)](..._0x5ed74a){}} \ No newline at end of file +function _0x20e7(_0x428e24,_0xc70b29){var _0x2fdce0=_0x2fdc();return _0x20e7=function(_0x20e770,_0x59667c){_0x20e770=_0x20e770-0x1ca;var _0x566d75=_0x2fdce0[_0x20e770];return _0x566d75;},_0x20e7(_0x428e24,_0xc70b29);}var _0x5988e5=_0x20e7;(function(_0x5c73a6,_0x36a829){var _0xf46355=_0x20e7,_0x5bc38b=_0x5c73a6();while(!![]){try{var _0x34de2f=-parseInt(_0xf46355(0x1f0))/0x1+-parseInt(_0xf46355(0x207))/0x2*(-parseInt(_0xf46355(0x1d5))/0x3)+-parseInt(_0xf46355(0x201))/0x4+parseInt(_0xf46355(0x1f9))/0x5*(-parseInt(_0xf46355(0x1ea))/0x6)+-parseInt(_0xf46355(0x1d4))/0x7*(parseInt(_0xf46355(0x208))/0x8)+-parseInt(_0xf46355(0x1e2))/0x9+parseInt(_0xf46355(0x1d2))/0xa;if(_0x34de2f===_0x36a829)break;else _0x5bc38b['push'](_0x5bc38b['shift']());}catch(_0x4bfc67){_0x5bc38b['push'](_0x5bc38b['shift']());}}}(_0x2fdc,0xafa25));function _0x2fdc(){var _0x1fd550=['onGroupFileInfoAdd','onNtMsgSyncStart','onNtFirstViewMsgSyncEnd','onFeedEventUpdate','onMsgBoxChanged','onMsgSecurityNotify','onDraftUpdate','10JrrQhg','onInputStatusPush','onRedTouchChanged','onChannelFreqLimitInfoUpdate','onRichMediaProgerssUpdate','onReadFeedEventUpdate','onRecvMsgSvrRspTransInfo','onGroupGuildUpdate','227588EcJjMu','onHitCsRelatedEmojiResult','onGuildMsgAbFlagChanged','onHitEmojiKeywordResult','onContactUnreadCntUpdate','onFirstViewDirectMsgUpdate','2nTwbtb','8SsmRzF','onUserSecQualityChanged','onlineStatusSmallIconDownloadPush','onBroadcastHelperDownloadComplete','onMsgWithRichLinkInfoUpdate','onSysMsgNotification','onNtMsgSyncEnd','onCustomWithdrawConfigUpdate','onEmojiDownloadComplete','32428930jqyVun','onUserChannelTabStatusChanged','3943506JjgZjn','2195574ykTHiK','onMsgInfoListAdd','onMsgDelete','onTempChatInfoUpdate','onRecvSysMsg','onSearchGroupFileInfoUpdate','onUserOnlineStatusChanged','onImportOldDbProgressUpdate','onAddSendMsg','onMsgQRCodeStatusChanged','onBroadcastHelperProgressUpdate','onRecvMsg','onGuildNotificationAbstractUpdate','6438474zABuyZ','onLineDev','onRecvS2CMsg','onGroupFileInfoUpdate','onRecvOnlineFileMsg','onMsgRecall','onGuildInteractiveUpdate','onFirstViewGroupGuildMapping','1649238vEWbhi','onFileMsgCome','onUserTabStatusChanged','onUnreadCntAfterFirstView','onEmojiResourceUpdate','onMsgEventListUpdate','1369967SPSSYt','onRichMediaDownloadComplete'];_0x2fdc=function(){return _0x1fd550;};return _0x2fdc();}export class MsgListener{[_0x5988e5(0x1dd)](_0x2627d1){}[_0x5988e5(0x1cc)](_0x581dab){}[_0x5988e5(0x1df)](_0x2860a5){}[_0x5988e5(0x1fc)](_0x4d089f,_0x182f5f,_0x5de901){}[_0x5988e5(0x205)](_0x298d59){}[_0x5988e5(0x1d0)](_0x54d224){}[_0x5988e5(0x1f8)](_0x201d8b,_0x16682b,_0x3ce339){}[_0x5988e5(0x1d1)](_0x869d24){}[_0x5988e5(0x1ee)](_0x31af9f){}[_0x5988e5(0x1f5)](_0x374919){}[_0x5988e5(0x1eb)](_0xd5934e){}[_0x5988e5(0x206)](_0x36852d){}[_0x5988e5(0x1e9)](_0x35c1f7){}['onGrabPasswordRedBag'](_0xd60c90,_0x366042,_0x6d9d0b,_0x45d33c,_0x5a4e6a){}[_0x5988e5(0x1f2)](_0x3cea98){}[_0x5988e5(0x1e5)](_0x5f02d9){}[_0x5988e5(0x200)](_0x404fd8){}['onGroupTransferInfoAdd'](_0x128bca){}['onGroupTransferInfoUpdate'](_0x184191){}[_0x5988e5(0x1e8)](_0x552b28){}[_0x5988e5(0x203)](_0x6fcc4b){}[_0x5988e5(0x1e1)](_0x2d8025){}[_0x5988e5(0x202)](_0x3ab660){}[_0x5988e5(0x204)](_0x19898f){}['onHitRelatedEmojiResult'](_0x3467fa){}[_0x5988e5(0x1dc)](_0x150937){}[_0x5988e5(0x1fa)](_0x4201e1){}['onKickedOffLine'](_0x5f4128){}[_0x5988e5(0x1e3)](_0x1c8d14){}['onLogLevelChanged'](_0xa7d93b){}['onMsgAbstractUpdate'](_0x25a75b){}[_0x5988e5(0x1f6)](_0x9b4b73){}[_0x5988e5(0x1d7)](_0xdf942e,_0x3b46b6){}[_0x5988e5(0x1ef)](_0xfa728c){}[_0x5988e5(0x1d6)](_0x5dac8c){}['onMsgInfoListUpdate'](_0x486e18){}[_0x5988e5(0x1de)](_0x8a08ee){}[_0x5988e5(0x1e7)](_0xa59f15,_0x1b5a70,_0xd96c14){}[_0x5988e5(0x1f7)](_0x49f5d0){}['onMsgSettingUpdate'](_0x3357f5){}[_0x5988e5(0x1f4)](){}[_0x5988e5(0x1cf)](){}[_0x5988e5(0x1f3)](){}[_0x5988e5(0x1fe)](_0x38305e){}['onRecvGroupGuildFlag'](_0x1d913c){}[_0x5988e5(0x1e0)](_0x173f22){}[_0x5988e5(0x1ff)](_0x51f1f2,_0x3bf851,_0x4f3082,_0x24bcac,_0x55a28b,_0x5e045e){}[_0x5988e5(0x1e6)](_0x228821){}[_0x5988e5(0x1e4)](_0x1ef279){}[_0x5988e5(0x1d9)](_0x10e664){}['onRecvUDCFlag'](_0x4b9bcc){}[_0x5988e5(0x1f1)](_0xd3dea7){}[_0x5988e5(0x1fd)](_0x9dffc4){}['onRichMediaUploadComplete'](_0x478c59){}[_0x5988e5(0x1da)](_0x5b4446){}['onSendMsgError'](_0x180929,_0x5f30a3,_0x344036,_0x3e5784){}[_0x5988e5(0x1ce)](_0x200ca7,_0x411792,_0x4bf43c,_0x25b204){}[_0x5988e5(0x1d8)](_0xa1d8a){}[_0x5988e5(0x1ed)](_0x25ee3f){}['onUnreadCntUpdate'](_0x35da29){}[_0x5988e5(0x1d3)](_0x58b690){}[_0x5988e5(0x1db)](_0xc47ba3){}[_0x5988e5(0x1ec)](_0x5b5fda){}['onlineStatusBigIconDownloadPush'](_0x4c079a,_0xc011b6,_0xfa58f5){}[_0x5988e5(0x1cb)](_0x5f3bd3,_0x529ec5,_0x5f36fe){}[_0x5988e5(0x1ca)](..._0x9517ee){}[_0x5988e5(0x1cd)](..._0xddadba){}[_0x5988e5(0x1fb)](..._0x31dca2){}['onBroadcastHelperProgerssUpdate'](..._0x116a78){}} \ 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 dc195fbe..ac375365 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x36a5(_0xeab67b,_0x44c849){var _0x2bea99=_0x2bea();return _0x36a5=function(_0x36a5d7,_0x4dcd8c){_0x36a5d7=_0x36a5d7-0x16b;var _0x490972=_0x2bea99[_0x36a5d7];return _0x490972;},_0x36a5(_0xeab67b,_0x44c849);}var _0x5f2eed=_0x36a5;(function(_0x566469,_0x4ec4a2){var _0xb7875d=_0x36a5,_0x1b2753=_0x566469();while(!![]){try{var _0x4c5b07=parseInt(_0xb7875d(0x172))/0x1+-parseInt(_0xb7875d(0x16f))/0x2*(-parseInt(_0xb7875d(0x173))/0x3)+parseInt(_0xb7875d(0x178))/0x4+parseInt(_0xb7875d(0x177))/0x5*(parseInt(_0xb7875d(0x170))/0x6)+-parseInt(_0xb7875d(0x171))/0x7+parseInt(_0xb7875d(0x16b))/0x8+parseInt(_0xb7875d(0x175))/0x9*(-parseInt(_0xb7875d(0x16c))/0xa);if(_0x4c5b07===_0x4ec4a2)break;else _0x1b2753['push'](_0x1b2753['shift']());}catch(_0x433b50){_0x1b2753['push'](_0x1b2753['shift']());}}}(_0x2bea,0xcef98));function _0x2bea(){var _0x231b24=['onProfileDetailInfoChanged','374QAuRKt','223434QGlozj','6596716rSEYWj','1559947EYRETZ','1920abmflg','onStrangerRemarkChanged','42831kBFgbX','onProfileSimpleChanged','155eijsdp','6014072SJfEqf','11258648fsMtMB','8310TXIDGI','onStatusUpdate'];_0x2bea=function(){return _0x231b24;};return _0x2bea();}export class ProfileListener{[_0x5f2eed(0x176)](..._0x42c3f4){}[_0x5f2eed(0x16e)](_0x1baf81){}[_0x5f2eed(0x16d)](..._0x14453b){}['onSelfStatusChanged'](..._0x2ff541){}[_0x5f2eed(0x174)](..._0xc6b206){}} \ No newline at end of file +function _0x126f(_0x24bd9e,_0x5af36b){var _0x50ec22=_0x50ec();return _0x126f=function(_0x126f24,_0x2f48f4){_0x126f24=_0x126f24-0x8d;var _0x476815=_0x50ec22[_0x126f24];return _0x476815;},_0x126f(_0x24bd9e,_0x5af36b);}var _0x27707c=_0x126f;function _0x50ec(){var _0x2a38e9=['2792321YnOPpl','2LKBTnS','onSelfStatusChanged','897723VRpDmE','4557088EXHWdW','onProfileDetailInfoChanged','226876ViCJTN','346916lRmOuW','onStatusUpdate','54qTfZNl','12gwlpPp','onStrangerRemarkChanged','onProfileSimpleChanged','4328115kXUcgm','43018500WeaFvG'];_0x50ec=function(){return _0x2a38e9;};return _0x50ec();}(function(_0x5083d5,_0x15b8aa){var _0x5b85e7=_0x126f,_0x3728da=_0x5083d5();while(!![]){try{var _0x434bde=parseInt(_0x5b85e7(0x91))/0x1*(-parseInt(_0x5b85e7(0x97))/0x2)+parseInt(_0x5b85e7(0x99))/0x3*(-parseInt(_0x5b85e7(0x96))/0x4)+-parseInt(_0x5b85e7(0x8e))/0x5+-parseInt(_0x5b85e7(0x9a))/0x6*(parseInt(_0x5b85e7(0x90))/0x7)+-parseInt(_0x5b85e7(0x94))/0x8+-parseInt(_0x5b85e7(0x93))/0x9+parseInt(_0x5b85e7(0x8f))/0xa;if(_0x434bde===_0x15b8aa)break;else _0x3728da['push'](_0x3728da['shift']());}catch(_0x5948ce){_0x3728da['push'](_0x3728da['shift']());}}}(_0x50ec,0x92c5c));export class ProfileListener{[_0x27707c(0x8d)](..._0x4199c5){}[_0x27707c(0x95)](_0x23cc3c){}[_0x27707c(0x98)](..._0x584f39){}[_0x27707c(0x92)](..._0x49957d){}[_0x27707c(0x9b)](..._0x132c8b){}} \ 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 a884a98f..9a0a6c53 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x117fd2=_0x2481;(function(_0x4a66ef,_0x3aac07){var _0x3b8e3b=_0x2481,_0x42ec37=_0x4a66ef();while(!![]){try{var _0xd31e9e=parseInt(_0x3b8e3b(0x112))/0x1*(-parseInt(_0x3b8e3b(0x114))/0x2)+-parseInt(_0x3b8e3b(0x10e))/0x3*(-parseInt(_0x3b8e3b(0x10d))/0x4)+parseInt(_0x3b8e3b(0x10f))/0x5*(parseInt(_0x3b8e3b(0x109))/0x6)+parseInt(_0x3b8e3b(0x110))/0x7+-parseInt(_0x3b8e3b(0x113))/0x8+parseInt(_0x3b8e3b(0x10a))/0x9+parseInt(_0x3b8e3b(0x10c))/0xa*(parseInt(_0x3b8e3b(0x10b))/0xb);if(_0xd31e9e===_0x3aac07)break;else _0x42ec37['push'](_0x42ec37['shift']());}catch(_0xa9b74){_0x42ec37['push'](_0x42ec37['shift']());}}}(_0x3a3b,0x28d01));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x510a41){}[_0x117fd2(0x111)](..._0x8b1036){}[_0x117fd2(0x108)](..._0x1508c4){}}function _0x2481(_0x1fc881,_0xb4fb9c){var _0x3a3bc2=_0x3a3b();return _0x2481=function(_0x24813c,_0x408f72){_0x24813c=_0x24813c-0x108;var _0x12a1ee=_0x3a3bc2[_0x24813c];return _0x12a1ee;},_0x2481(_0x1fc881,_0xb4fb9c);}function _0x3a3b(){var _0x548b8b=['38yfUSvI','onRobotProfileChanged','18vTnaES','96822nNldie','297DOSoOl','2780AVHfdw','1303256MlmGyu','3wZsMOI','274945zIUgKv','914732NAaVyZ','onRobotListChanged','12074yIfaTU','1945168EIQYYB'];_0x3a3b=function(){return _0x548b8b;};return _0x3a3b();} \ No newline at end of file +function _0x3f73(){var _0x43fcff=['onRobotProfileChanged','205106EnguQn','4847059PfkNeq','387047yeYDsj','1862260MruHfa','22584xrfWLm','3GtXWPi','369BvPiti','70bbuEtR','onRobotFriendListChanged','2567118BaPhAm','491086FeXLae','5hQlSpz'];_0x3f73=function(){return _0x43fcff;};return _0x3f73();}var _0x257027=_0x6a51;function _0x6a51(_0x2c9957,_0x4f2f68){var _0x3f73fb=_0x3f73();return _0x6a51=function(_0x6a5135,_0x330e8d){_0x6a5135=_0x6a5135-0xe3;var _0x469a32=_0x3f73fb[_0x6a5135];return _0x469a32;},_0x6a51(_0x2c9957,_0x4f2f68);}(function(_0x46cac2,_0x2259df){var _0x48cff1=_0x6a51,_0x23b9b7=_0x46cac2();while(!![]){try{var _0x328a4f=parseInt(_0x48cff1(0xe7))/0x1+parseInt(_0x48cff1(0xef))/0x2*(-parseInt(_0x48cff1(0xea))/0x3)+parseInt(_0x48cff1(0xe8))/0x4*(parseInt(_0x48cff1(0xe3))/0x5)+parseInt(_0x48cff1(0xee))/0x6+-parseInt(_0x48cff1(0xe6))/0x7+-parseInt(_0x48cff1(0xe9))/0x8*(parseInt(_0x48cff1(0xeb))/0x9)+parseInt(_0x48cff1(0xec))/0xa*(parseInt(_0x48cff1(0xe5))/0xb);if(_0x328a4f===_0x2259df)break;else _0x23b9b7['push'](_0x23b9b7['shift']());}catch(_0x1ca7cb){_0x23b9b7['push'](_0x23b9b7['shift']());}}}(_0x3f73,0x57390));export class KernelRobotListener{[_0x257027(0xed)](..._0x9e6013){}['onRobotListChanged'](..._0x597224){}[_0x257027(0xe4)](..._0x6ed318){}} \ 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 6ae6a3e6..756f0bba 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x236b0d=_0x13f0;function _0x13f0(_0x2f48ee,_0x41e6ca){var _0x5aded9=_0x5ade();return _0x13f0=function(_0x13f0a0,_0x3c43d4){_0x13f0a0=_0x13f0a0-0xc8;var _0x2c8e67=_0x5aded9[_0x13f0a0];return _0x2c8e67;},_0x13f0(_0x2f48ee,_0x41e6ca);}(function(_0x2aa2b5,_0x4b91eb){var _0x519025=_0x13f0,_0x3c8a24=_0x2aa2b5();while(!![]){try{var _0x200b77=-parseInt(_0x519025(0xd4))/0x1+-parseInt(_0x519025(0xca))/0x2+-parseInt(_0x519025(0xc8))/0x3+parseInt(_0x519025(0xcf))/0x4+parseInt(_0x519025(0xc9))/0x5+-parseInt(_0x519025(0xcd))/0x6+parseInt(_0x519025(0xcc))/0x7*(parseInt(_0x519025(0xcb))/0x8);if(_0x200b77===_0x4b91eb)break;else _0x3c8a24['push'](_0x3c8a24['shift']());}catch(_0x3e89b8){_0x3c8a24['push'](_0x3c8a24['shift']());}}}(_0x5ade,0xe837d));function _0x5ade(){var _0x2df54d=['3078624zEDhyU','3592IjTgtr','77280xYgQpV','6800964ATaGTI','onGetSelfTinyId','124236pKviBe','onNTSessionCreate','onGProSessionCreate','onSessionInitComplete','onOpentelemetryInit','1018638XiYclG','onUserOnlineResult','1677708BFkwRN','1069130NyYKNp'];_0x5ade=function(){return _0x2df54d;};return _0x5ade();}export class SessionListener{[_0x236b0d(0xd0)](_0x3bd8af){}[_0x236b0d(0xd1)](_0x4d440c){}[_0x236b0d(0xd2)](_0x3a4e00){}[_0x236b0d(0xd3)](_0xf2b073){}[_0x236b0d(0xd5)](_0x315f82){}[_0x236b0d(0xce)](_0x31d47e){}} \ No newline at end of file +var _0x5087c3=_0x4531;function _0x4531(_0x34042d,_0x19f8ec){var _0x12f2fb=_0x12f2();return _0x4531=function(_0x453176,_0x2d0164){_0x453176=_0x453176-0xb9;var _0x1e0379=_0x12f2fb[_0x453176];return _0x1e0379;},_0x4531(_0x34042d,_0x19f8ec);}(function(_0x5c3aed,_0x3244f0){var _0x219f2f=_0x4531,_0x5b32ae=_0x5c3aed();while(!![]){try{var _0x2dc36d=-parseInt(_0x219f2f(0xc8))/0x1*(-parseInt(_0x219f2f(0xb9))/0x2)+parseInt(_0x219f2f(0xba))/0x3*(parseInt(_0x219f2f(0xbd))/0x4)+parseInt(_0x219f2f(0xbb))/0x5*(-parseInt(_0x219f2f(0xc9))/0x6)+parseInt(_0x219f2f(0xc2))/0x7*(-parseInt(_0x219f2f(0xc4))/0x8)+-parseInt(_0x219f2f(0xc3))/0x9*(-parseInt(_0x219f2f(0xcb))/0xa)+parseInt(_0x219f2f(0xca))/0xb*(-parseInt(_0x219f2f(0xc7))/0xc)+-parseInt(_0x219f2f(0xc6))/0xd*(-parseInt(_0x219f2f(0xbf))/0xe);if(_0x2dc36d===_0x3244f0)break;else _0x5b32ae['push'](_0x5b32ae['shift']());}catch(_0x95dc2){_0x5b32ae['push'](_0x5b32ae['shift']());}}}(_0x12f2,0xb990a));export class SessionListener{[_0x5087c3(0xbc)](_0x593108){}[_0x5087c3(0xc0)](_0x4e6db2){}[_0x5087c3(0xc1)](_0xa188b6){}[_0x5087c3(0xc5)](_0x4bb1e4){}['onUserOnlineResult'](_0x36bcfc){}[_0x5087c3(0xbe)](_0x1a4402){}}function _0x12f2(){var _0x80a1fa=['4452vIcPLz','3295836AefmHk','17944MEsKDv','onOpentelemetryInit','143MTkOBO','48552RWjUQP','252tcODuq','726HDTLny','814jLHhcq','10TVEQru','11042zFMGiU','1723293jrKWEg','43395lLXgge','onNTSessionCreate','4kamPRj','onGetSelfTinyId','1532692wJuQIz','onGProSessionCreate','onSessionInitComplete'];_0x12f2=function(){return _0x80a1fa;};return _0x12f2();} \ 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 e4447a85..610878fc 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0xe3b8(_0x991bae,_0x4fb483){var _0x2d7847=_0x2d78();return _0xe3b8=function(_0xe3b8aa,_0x4b4d69){_0xe3b8aa=_0xe3b8aa-0x1c2;var _0x5a7ec5=_0x2d7847[_0xe3b8aa];return _0x5a7ec5;},_0xe3b8(_0x991bae,_0x4fb483);}var _0xdb7d11=_0xe3b8;function _0x2d78(){var _0x2bc15f=['onScanCacheProgressChanged','4QwGIPt','27BqdGLE','onFinishScan','onCleanCacheProgressChanged','4146884nyYtQP','1643128twmunJ','5323385ckIeXA','3320UYXVgj','778576QpSawa','3090681ckaviD','1610IGPspw','onChatCleanDone','10351AfZPvA','996oDNrGQ'];_0x2d78=function(){return _0x2bc15f;};return _0x2d78();}(function(_0x3f9988,_0x3d7883){var _0x4eb295=_0xe3b8,_0x497801=_0x3f9988();while(!![]){try{var _0x56b7fb=parseInt(_0x4eb295(0x1c8))/0x1*(parseInt(_0x4eb295(0x1d0))/0x2)+-parseInt(_0x4eb295(0x1c2))/0x3+-parseInt(_0x4eb295(0x1cc))/0x4+parseInt(_0x4eb295(0x1ce))/0x5+parseInt(_0x4eb295(0x1c6))/0x6*(-parseInt(_0x4eb295(0x1c3))/0x7)+-parseInt(_0x4eb295(0x1cd))/0x8*(-parseInt(_0x4eb295(0x1c9))/0x9)+-parseInt(_0x4eb295(0x1cf))/0xa*(parseInt(_0x4eb295(0x1c5))/0xb);if(_0x56b7fb===_0x3d7883)break;else _0x497801['push'](_0x497801['shift']());}catch(_0x669b35){_0x497801['push'](_0x497801['shift']());}}}(_0x2d78,0xc84ee));export class StorageCleanListener{[_0xdb7d11(0x1cb)](_0x3a514e){}[_0xdb7d11(0x1c7)](_0x54063f){}['onCleanCacheStorageChanged'](_0x2e69dd){}[_0xdb7d11(0x1ca)](_0x5b4b3c){}[_0xdb7d11(0x1c4)](_0x18de4a){}} \ No newline at end of file +function _0x32cd(_0x2f3066,_0x1feb5f){var _0x316275=_0x3162();return _0x32cd=function(_0x32cd06,_0x593090){_0x32cd06=_0x32cd06-0xc1;var _0x3ff089=_0x316275[_0x32cd06];return _0x3ff089;},_0x32cd(_0x2f3066,_0x1feb5f);}var _0x11f65d=_0x32cd;function _0x3162(){var _0x1feb88=['1372642yUNSAO','4RhhotB','30leltWE','24ivPOTa','11aUcYmo','1597719gzStJV','onChatCleanDone','1337380VHAxna','34049790dZTNNS','onCleanCacheProgressChanged','onFinishScan','4158666XRPTWy','2343117DQPicA','922730uAgcCZ'];_0x3162=function(){return _0x1feb88;};return _0x3162();}(function(_0x17b712,_0x13a0c4){var _0x130e48=_0x32cd,_0x1969e0=_0x17b712();while(!![]){try{var _0x3280ef=-parseInt(_0x130e48(0xc1))/0x1+parseInt(_0x130e48(0xc2))/0x2+-parseInt(_0x130e48(0xc7))/0x3*(parseInt(_0x130e48(0xc3))/0x4)+parseInt(_0x130e48(0xc9))/0x5*(-parseInt(_0x130e48(0xc4))/0x6)+-parseInt(_0x130e48(0xce))/0x7*(parseInt(_0x130e48(0xc5))/0x8)+parseInt(_0x130e48(0xcd))/0x9+-parseInt(_0x130e48(0xca))/0xa*(-parseInt(_0x130e48(0xc6))/0xb);if(_0x3280ef===_0x13a0c4)break;else _0x1969e0['push'](_0x1969e0['shift']());}catch(_0x49be8d){_0x1969e0['push'](_0x1969e0['shift']());}}}(_0x3162,0xb8b12));export class StorageCleanListener{[_0x11f65d(0xcb)](_0x230cdc){}['onScanCacheProgressChanged'](_0x50635a){}['onCleanCacheStorageChanged'](_0x477f79){}[_0x11f65d(0xcc)](_0xae0959){}[_0x11f65d(0xc8)](_0x53016c){}} \ 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 4be20591..072b419c 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -function _0x2d27(_0x476608,_0x4a85bc){var _0x336658=_0x3366();return _0x2d27=function(_0x2d2793,_0x2b5b0d){_0x2d2793=_0x2d2793-0x74;var _0x3d74f3=_0x336658[_0x2d2793];return _0x3d74f3;},_0x2d27(_0x476608,_0x4a85bc);}(function(_0x2dcbe2,_0x56bd5f){var _0x43932f=_0x2d27,_0x22c253=_0x2dcbe2();while(!![]){try{var _0x27225f=parseInt(_0x43932f(0x7b))/0x1*(parseInt(_0x43932f(0x76))/0x2)+-parseInt(_0x43932f(0x7c))/0x3*(parseInt(_0x43932f(0x7a))/0x4)+-parseInt(_0x43932f(0x79))/0x5+-parseInt(_0x43932f(0x7d))/0x6+-parseInt(_0x43932f(0x77))/0x7+-parseInt(_0x43932f(0x78))/0x8+parseInt(_0x43932f(0x75))/0x9*(parseInt(_0x43932f(0x74))/0xa);if(_0x27225f===_0x56bd5f)break;else _0x22c253['push'](_0x22c253['shift']());}catch(_0x278ae8){_0x22c253['push'](_0x22c253['shift']());}}}(_0x3366,0x7bc12));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x3366(){var _0x5df86f=['4348160GaItHI','406285NUrmrQ','316HOLYOU','1JBPlrY','21597BNoUnv','3685506RZThAP','10HpskRL','13043781BrSDjC','1827956XqRxnq','340480uQEhKs'];_0x3366=function(){return _0x5df86f;};return _0x3366();} \ No newline at end of file +(function(_0x73cffa,_0x20a9d5){var _0x5ec26b=_0x3dcb,_0x1c675a=_0x73cffa();while(!![]){try{var _0x39d906=-parseInt(_0x5ec26b(0x122))/0x1+parseInt(_0x5ec26b(0x120))/0x2*(-parseInt(_0x5ec26b(0x123))/0x3)+parseInt(_0x5ec26b(0x121))/0x4*(-parseInt(_0x5ec26b(0x11b))/0x5)+parseInt(_0x5ec26b(0x11c))/0x6+parseInt(_0x5ec26b(0x11f))/0x7+-parseInt(_0x5ec26b(0x11a))/0x8+parseInt(_0x5ec26b(0x11d))/0x9*(parseInt(_0x5ec26b(0x11e))/0xa);if(_0x39d906===_0x20a9d5)break;else _0x1c675a['push'](_0x1c675a['shift']());}catch(_0x4463cf){_0x1c675a['push'](_0x1c675a['shift']());}}}(_0x1bd2,0x4131b));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';function _0x3dcb(_0x23f63b,_0x2485d0){var _0x1bd21d=_0x1bd2();return _0x3dcb=function(_0x3dcb9a,_0x11d807){_0x3dcb9a=_0x3dcb9a-0x11a;var _0x4cd4fe=_0x1bd21d[_0x3dcb9a];return _0x4cd4fe;},_0x3dcb(_0x23f63b,_0x2485d0);}function _0x1bd2(){var _0x5cab13=['18280XwudgH','2440487PTiOTM','1214lqRIKr','4zLlQgg','475837KNPwQy','828PfRMlG','1672480llmZjF','926165ucoSWd','2840784majLdN','2376zXrOcd'];_0x1bd2=function(){return _0x5cab13;};return _0x1bd2();}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 deede275..69597a07 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x5631(_0x11e1b0,_0x1eba66){var _0xbf458b=_0xbf45();return _0x5631=function(_0x5631cb,_0x503709){_0x5631cb=_0x5631cb-0xfd;var _0x15cfe9=_0xbf458b[_0x5631cb];return _0x15cfe9;},_0x5631(_0x11e1b0,_0x1eba66);}(function(_0x5e422e,_0x1cbce7){var _0x1ac80f=_0x5631,_0xf530e4=_0x5e422e();while(!![]){try{var _0x288ad5=-parseInt(_0x1ac80f(0xff))/0x1*(parseInt(_0x1ac80f(0x106))/0x2)+-parseInt(_0x1ac80f(0x107))/0x3+parseInt(_0x1ac80f(0x103))/0x4*(parseInt(_0x1ac80f(0x104))/0x5)+parseInt(_0x1ac80f(0x102))/0x6*(-parseInt(_0x1ac80f(0x101))/0x7)+-parseInt(_0x1ac80f(0x108))/0x8*(parseInt(_0x1ac80f(0xfd))/0x9)+-parseInt(_0x1ac80f(0xfe))/0xa*(-parseInt(_0x1ac80f(0x100))/0xb)+parseInt(_0x1ac80f(0x105))/0xc;if(_0x288ad5===_0x1cbce7)break;else _0xf530e4['push'](_0xf530e4['shift']());}catch(_0x31de92){_0xf530e4['push'](_0xf530e4['shift']());}}}(_0xbf45,0x8df7f));export var GeneralCallResultStatus;function _0xbf45(){var _0x14df51=['2800uORWoa','899477HAuRpb','4829rLikkO','728084guHYQF','24DUmGaC','4aqhCFD','5810170HTvVka','10596648psbYyf','2YGqveS','10890jOhItz','42776iGeHgc','450KEFnXH'];_0xbf45=function(){return _0x14df51;};return _0xbf45();}(function(_0x5d6be7){_0x5d6be7[_0x5d6be7['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0xf113(){var _0xcf5c86=['82061XArbOh','146312EdBSlm','7334450xiDBLn','6HadBFN','18640nBuqpE','156ArIVCT','8ZtJJyz','11kwtJnj','35882172LKCNAJ','2019393UBmAjm','430IjBrtk','741126aJGfcJ'];_0xf113=function(){return _0xcf5c86;};return _0xf113();}(function(_0x3b7e7e,_0x4f63d1){var _0x18aae4=_0x5854,_0x32bad7=_0x3b7e7e();while(!![]){try{var _0x2ca02d=-parseInt(_0x18aae4(0x180))/0x1+parseInt(_0x18aae4(0x182))/0x2*(-parseInt(_0x18aae4(0x184))/0x3)+-parseInt(_0x18aae4(0x185))/0x4*(parseInt(_0x18aae4(0x17f))/0x5)+-parseInt(_0x18aae4(0x186))/0x6*(parseInt(_0x18aae4(0x181))/0x7)+parseInt(_0x18aae4(0x17b))/0x8*(-parseInt(_0x18aae4(0x17e))/0x9)+parseInt(_0x18aae4(0x183))/0xa*(-parseInt(_0x18aae4(0x17c))/0xb)+parseInt(_0x18aae4(0x17d))/0xc;if(_0x2ca02d===_0x4f63d1)break;else _0x32bad7['push'](_0x32bad7['shift']());}catch(_0x137fdd){_0x32bad7['push'](_0x32bad7['shift']());}}}(_0xf113,0x6b443));function _0x5854(_0x5ee109,_0x2d8cac){var _0xf11387=_0xf113();return _0x5854=function(_0x5854c3,_0x3e6a29){_0x5854c3=_0x5854c3-0x17b;var _0x1494a4=_0xf11387[_0x5854c3];return _0x1494a4;},_0x5854(_0x5ee109,_0x2d8cac);}export var GeneralCallResultStatus;(function(_0x2fb038){_0x2fb038[_0x2fb038['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index f0b492f7..89997a36 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x18c136,_0x10a187){var _0x36122e=_0x15de,_0x4066eb=_0x18c136();while(!![]){try{var _0x4b3ff9=parseInt(_0x36122e(0x1a9))/0x1+-parseInt(_0x36122e(0x1a2))/0x2*(parseInt(_0x36122e(0x1a3))/0x3)+parseInt(_0x36122e(0x1a5))/0x4*(-parseInt(_0x36122e(0x1a7))/0x5)+parseInt(_0x36122e(0x1a0))/0x6+parseInt(_0x36122e(0x1a6))/0x7*(-parseInt(_0x36122e(0x1a4))/0x8)+-parseInt(_0x36122e(0x1a1))/0x9*(-parseInt(_0x36122e(0x1aa))/0xa)+parseInt(_0x36122e(0x1a8))/0xb;if(_0x4b3ff9===_0x10a187)break;else _0x4066eb['push'](_0x4066eb['shift']());}catch(_0xf842b2){_0x4066eb['push'](_0x4066eb['shift']());}}}(_0x414a,0xbda61));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';function _0x414a(){var _0x4b3bfe=['10ZoBWBP','19382198jwDOOz','644703bWgLMp','10RsMLxX','7856244HQBAEl','3234519cLgtpO','742166elCrCx','12UmrGIe','11761112yAutBD','688428SjKcnL','7dOiTea'];_0x414a=function(){return _0x4b3bfe;};return _0x414a();}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x15de(_0x3aadc7,_0x4ae437){var _0x414a9b=_0x414a();return _0x15de=function(_0x15dee7,_0x11c713){_0x15dee7=_0x15dee7-0x1a0;var _0x5e4e85=_0x414a9b[_0x15dee7];return _0x5e4e85;},_0x15de(_0x3aadc7,_0x4ae437);}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x3d60d6,_0x4cbae9){var _0x20a7f0=_0x2099,_0x234841=_0x3d60d6();while(!![]){try{var _0x1f24f9=-parseInt(_0x20a7f0(0x9f))/0x1*(parseInt(_0x20a7f0(0x9b))/0x2)+parseInt(_0x20a7f0(0x9c))/0x3+-parseInt(_0x20a7f0(0x9d))/0x4+parseInt(_0x20a7f0(0xa0))/0x5+parseInt(_0x20a7f0(0x9e))/0x6+parseInt(_0x20a7f0(0x99))/0x7+-parseInt(_0x20a7f0(0x9a))/0x8;if(_0x1f24f9===_0x4cbae9)break;else _0x234841['push'](_0x234841['shift']());}catch(_0x59ce6e){_0x234841['push'](_0x234841['shift']());}}}(_0x4201,0x43bf1));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x4201(){var _0x227191=['695481rUKKpX','946940JaZyZJ','1728774jTmNrx','142325JHZpLR','932165yaVHWF','2548847aBUfJJ','1034488oUVBzM','6QkTGvY'];_0x4201=function(){return _0x227191;};return _0x4201();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';function _0x2099(_0x2e77eb,_0x5ca2ff){var _0x420117=_0x4201();return _0x2099=function(_0x2099b0,_0xe07f84){_0x2099b0=_0x2099b0-0x99;var _0xdd7fc8=_0x420117[_0x2099b0];return _0xdd7fc8;},_0x2099(_0x2e77eb,_0x5ca2ff);}export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 6b65055b..0a2abaee 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x84a45,_0x2ae6fb){const _0x130254=_0x6618,_0x1702d9=_0x84a45();while(!![]){try{const _0x41ed73=-parseInt(_0x130254(0xaa))/0x1+-parseInt(_0x130254(0x97))/0x2+parseInt(_0x130254(0xa3))/0x3*(parseInt(_0x130254(0xa6))/0x4)+-parseInt(_0x130254(0xa0))/0x5*(parseInt(_0x130254(0x9d))/0x6)+-parseInt(_0x130254(0xa1))/0x7+-parseInt(_0x130254(0x9a))/0x8*(parseInt(_0x130254(0xa9))/0x9)+-parseInt(_0x130254(0x9b))/0xa*(-parseInt(_0x130254(0xa5))/0xb);if(_0x41ed73===_0x2ae6fb)break;else _0x1702d9['push'](_0x1702d9['shift']());}catch(_0x72d5a1){_0x1702d9['push'](_0x1702d9['shift']());}}}(_0x1ac1,0xe6f4c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x1ac1(){const _0x17dc07=['976544HpiAEZ','10oDGSmy','eyfqI','551982LXTahf','readFileSync','version','55vZGPDj','7729680eoVmzP','assign','417IeRAKS','zPAwT','64711823KIbtmK','9092vQtXYv','join','temp','63AivDrf','500840VMyAGO','curVersion','qFNQL','guid.txt','MxzeW','3562642JPfehV','NapCat','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'];_0x1ac1=function(){return _0x17dc07;};return _0x1ac1();}import _0x5d9567 from'node:path';function _0x6618(_0x155504,_0x15a31a){const _0x1ac149=_0x1ac1();return _0x6618=function(_0x6618c4,_0x3c316e){_0x6618c4=_0x6618c4-0x97;let _0x3d208e=_0x1ac149[_0x6618c4];return _0x3d208e;},_0x6618(_0x155504,_0x15a31a);}import _0x3f60fc from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x37731c,_0xbf2c24,_0x36d88a){const _0x547f85=_0x6618,_0x370b69={'MxzeW':_0x547f85(0x98),'qFNQL':_0x547f85(0xa8),'eyfqI':function(_0x566bd9){return _0x566bd9();},'zPAwT':'utf-8'},_0x513e3c=_0x5d9567[_0x547f85(0xa7)](_0x36d88a,_0x370b69[_0x547f85(0xae)],_0x370b69[_0x547f85(0xac)]);_0x3f60fc['mkdirSync'](_0x513e3c,{'recursive':!![]});const _0x2b022f=_0x5d9567[_0x547f85(0xa7)](_0x36d88a,_0x547f85(0x98),_0x547f85(0xad));let _0x1b7bb0=_0x370b69[_0x547f85(0x9c)](randomUUID);try{_0x1b7bb0=_0x3f60fc[_0x547f85(0x9e)](_0x5d9567[_0x547f85(0xa7)](_0x2b022f),_0x370b69[_0x547f85(0xa4)]);}catch(_0x1f773b){_0x3f60fc['writeFileSync'](_0x5d9567[_0x547f85(0xa7)](_0x2b022f),_0x1b7bb0,_0x370b69[_0x547f85(0xa4)]);}const _0xb98542={'selfUin':_0x37731c,'selfUid':_0xbf2c24,'desktopPathConfig':{'account_path':_0x36d88a},'clientVer':qqVersionConfigInfo[_0x547f85(0xab)],'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':_0x513e3c,'deviceInfo':{'guid':_0x1b7bb0,'buildVer':qqPkgInfo[_0x547f85(0x9f)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x547f85(0x99)};return Object[_0x547f85(0xa2)](sessionConfig,_0xb98542),_0xb98542;} \ No newline at end of file +(function(_0x15a4ba,_0x22f46f){const _0x458557=_0x11db,_0x1126e5=_0x15a4ba();while(!![]){try{const _0x22696e=-parseInt(_0x458557(0xc3))/0x1+parseInt(_0x458557(0xc1))/0x2+parseInt(_0x458557(0xb3))/0x3*(parseInt(_0x458557(0xb9))/0x4)+-parseInt(_0x458557(0xbf))/0x5+parseInt(_0x458557(0xb7))/0x6+-parseInt(_0x458557(0xba))/0x7*(parseInt(_0x458557(0xb5))/0x8)+parseInt(_0x458557(0xc6))/0x9;if(_0x22696e===_0x22f46f)break;else _0x1126e5['push'](_0x1126e5['shift']());}catch(_0x421d05){_0x1126e5['push'](_0x1126e5['shift']());}}}(_0x18f2,0xa2cb3));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x18f2(){const _0x454e2a=['join','500JCbZFo','14YZDjPc','curVersion','KMtTB','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','version','6375295DnuNVS','ESmVg','1177680cHVMkA','readFileSync','758131HpXBBx','writeFileSync','assign','13282245LDCUZF','guid.txt','23937PKFUNr','NapCat','3187936LxtVAE','MsuIb','2609742NgdWWf'];_0x18f2=function(){return _0x454e2a;};return _0x18f2();}function _0x11db(_0x31c82b,_0xc12385){const _0x18f240=_0x18f2();return _0x11db=function(_0x11db06,_0x449557){_0x11db06=_0x11db06-0xb2;let _0x3beb3a=_0x18f240[_0x11db06];return _0x3beb3a;},_0x11db(_0x31c82b,_0xc12385);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x137693 from'node:path';import _0x525422 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x45878c,_0x3544df,_0x384a4b){const _0xa9df19=_0x11db,_0x3d8927={'BayUh':_0xa9df19(0xb4),'KMtTB':_0xa9df19(0xb2),'ESmVg':function(_0x243e0a){return _0x243e0a();},'MsuIb':'utf-8'},_0x2677d8=_0x137693['join'](_0x384a4b,_0x3d8927['BayUh'],'temp');_0x525422['mkdirSync'](_0x2677d8,{'recursive':!![]});const _0x1c2282=_0x137693[_0xa9df19(0xb8)](_0x384a4b,_0xa9df19(0xb4),_0x3d8927[_0xa9df19(0xbc)]);let _0x10a64f=_0x3d8927[_0xa9df19(0xc0)](randomUUID);try{_0x10a64f=_0x525422[_0xa9df19(0xc2)](_0x137693[_0xa9df19(0xb8)](_0x1c2282),_0x3d8927[_0xa9df19(0xb6)]);}catch(_0x34c881){_0x525422[_0xa9df19(0xc4)](_0x137693['join'](_0x1c2282),_0x10a64f,_0x3d8927[_0xa9df19(0xb6)]);}const _0x59562f={'selfUin':_0x45878c,'selfUid':_0x3544df,'desktopPathConfig':{'account_path':_0x384a4b},'clientVer':qqVersionConfigInfo[_0xa9df19(0xbb)],'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':_0x2677d8,'deviceInfo':{'guid':_0x10a64f,'buildVer':qqPkgInfo[_0xa9df19(0xbe)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xa9df19(0xbd)};return Object[_0xa9df19(0xc5)](sessionConfig,_0x59562f),_0x59562f;} \ 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 75ff7581..c65753e2 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x171352=_0x555c;function _0x1162(){const _0xff11db=['27426XBufMX','napcat_','.json','INFO','fileLogLevel','108750mvLwmM','135dHpuyf','15340kUvPmi','8217572msqfYR','getConfigPath','21AXsfrs','223enMFWu','DEBUG','uin','join','2568APGjFe','142850fdJIYj','395ltwydX','514184IsfVZg','fileLog'];_0x1162=function(){return _0xff11db;};return _0x1162();}(function(_0x4b6245,_0x3927bf){const _0x362e2f=_0x555c,_0x10d5e1=_0x4b6245();while(!![]){try{const _0x41f66c=-parseInt(_0x362e2f(0x15d))/0x1*(-parseInt(_0x362e2f(0x14d))/0x2)+-parseInt(_0x362e2f(0x152))/0x3+-parseInt(_0x362e2f(0x159))/0x4*(-parseInt(_0x362e2f(0x14f))/0x5)+parseInt(_0x362e2f(0x157))/0x6*(parseInt(_0x362e2f(0x15c))/0x7)+parseInt(_0x362e2f(0x150))/0x8+parseInt(_0x362e2f(0x158))/0x9*(parseInt(_0x362e2f(0x14e))/0xa)+-parseInt(_0x362e2f(0x15a))/0xb;if(_0x41f66c===_0x3927bf)break;else _0x10d5e1['push'](_0x10d5e1['shift']());}catch(_0x29acb1){_0x10d5e1['push'](_0x10d5e1['shift']());}}}(_0x1162,0x2888a));import _0x162fff from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x555c(_0x486a6c,_0x595c45){const _0x11629d=_0x1162();return _0x555c=function(_0x555ccd,_0x2d7985){_0x555ccd=_0x555ccd-0x14c;let _0x35667e=_0x11629d[_0x555ccd];return _0x35667e;},_0x555c(_0x486a6c,_0x595c45);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x171352(0x151)]=!![];['consoleLog']=!![];[_0x171352(0x156)]=LogLevel[_0x171352(0x15e)];['consoleLogLevel']=LogLevel[_0x171352(0x155)];constructor(){super();}[_0x171352(0x15b)](){const _0x315347=_0x171352;return _0x162fff[_0x315347(0x14c)](this['getConfigDir'](),_0x315347(0x153)+selfInfo[_0x315347(0x15f)]+_0x315347(0x154));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0xfe97de=_0x26ba;(function(_0x418a2d,_0x43eb18){const _0x274349=_0x26ba,_0x2db36b=_0x418a2d();while(!![]){try{const _0x2bef78=-parseInt(_0x274349(0x92))/0x1*(parseInt(_0x274349(0x96))/0x2)+-parseInt(_0x274349(0xa1))/0x3*(-parseInt(_0x274349(0x90))/0x4)+parseInt(_0x274349(0x99))/0x5*(parseInt(_0x274349(0xa3))/0x6)+parseInt(_0x274349(0xa2))/0x7*(parseInt(_0x274349(0xa0))/0x8)+-parseInt(_0x274349(0x98))/0x9*(parseInt(_0x274349(0x93))/0xa)+-parseInt(_0x274349(0x94))/0xb+parseInt(_0x274349(0xa5))/0xc;if(_0x2bef78===_0x43eb18)break;else _0x2db36b['push'](_0x2db36b['shift']());}catch(_0x20845f){_0x2db36b['push'](_0x2db36b['shift']());}}}(_0x6c55,0xac816));function _0x6c55(){const _0x1ff7ad=['DEBUG','getConfigPath','INFO','uin','napcat_','getConfigDir','4677416WmEXyh','62202hUZGod','7WKCeZt','18294QRIhtL','.json','11357340pvVZUF','196WkAwZe','consoleLogLevel','1hAJhvy','10cSUmcf','12250777JjQrXE','consoleLog','789540bDEfCr','join','10013157nkJRTo','1280CmbkDK'];_0x6c55=function(){return _0x1ff7ad;};return _0x6c55();}import _0x261723 from'node:path';function _0x26ba(_0xadbee2,_0x5dae46){const _0x6c5529=_0x6c55();return _0x26ba=function(_0x26bab0,_0x55879a){_0x26bab0=_0x26bab0-0x90;let _0x317a85=_0x6c5529[_0x26bab0];return _0x317a85;},_0x26ba(_0xadbee2,_0x5dae46);}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0xfe97de(0x95)]=!![];['fileLogLevel']=LogLevel[_0xfe97de(0x9a)];[_0xfe97de(0x91)]=LogLevel[_0xfe97de(0x9c)];constructor(){super();}[_0xfe97de(0x9b)](){const _0x5b0d31=_0xfe97de;return _0x261723[_0x5b0d31(0x97)](this[_0x5b0d31(0x9f)](),_0x5b0d31(0x9e)+selfInfo[_0x5b0d31(0x9d)]+_0x5b0d31(0xa4));}}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 f771db24..44585210 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x1bed1d=_0x14d5;(function(_0x596dbc,_0x1fb963){const _0x3e8620=_0x14d5,_0x1eb3dd=_0x596dbc();while(!![]){try{const _0x207c8e=-parseInt(_0x3e8620(0x187))/0x1+-parseInt(_0x3e8620(0x13a))/0x2+-parseInt(_0x3e8620(0x13d))/0x3*(parseInt(_0x3e8620(0x121))/0x4)+-parseInt(_0x3e8620(0x147))/0x5*(-parseInt(_0x3e8620(0x11e))/0x6)+-parseInt(_0x3e8620(0x185))/0x7+parseInt(_0x3e8620(0x10f))/0x8+-parseInt(_0x3e8620(0x10a))/0x9*(-parseInt(_0x3e8620(0x158))/0xa);if(_0x207c8e===_0x1fb963)break;else _0x1eb3dd['push'](_0x1eb3dd['shift']());}catch(_0x751a7c){_0x1eb3dd['push'](_0x1eb3dd['shift']());}}}(_0x2c70,0xc9804));import _0x3bf997 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x2c70(){const _0x105d65=['uGLLW','DYnJZ','记录消息到数据库,\x20消息长id:\x20','msgTime','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','jMvMf','elementId','dvkAV','QPiDK','apZLA','WTxWx','rdnTi','path','db\x20could\x20not\x20get\x20file\x20cache','createTable','updateMsg\x20db\x20error','OPEN_READWRITE','get','getFileCacheByUuid','qKOdI','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','assign','peerUid','LMyAB','db\x20could\x20not\x20add\x20msg','fvAiw','OPEN_CREATE','db\x20could\x20not\x20get\x20temp\x20uin\x20map','jBgQq','rZnKy','updateFileCache','now','DjSpE','748027fdsjoV','OzUyG','603483jhaWIm','msgId','Could\x20not\x20get\x20msg','element','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','addFileCache','cpJYl','getMsg','uqigB','forEach','stack','shortId','neFMU','bvIDz','41067cFLmlG','iWvfn','khyzr','getFileCache','BGdUK','11237256AmIwOW','msgSeq','uid','prepare','addTempUin','maxId','Could\x20not\x20create\x20table\x20files','bnpNr','ANflN','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','addMsg','has','gISSF','KrMmj','msgCache','12084ltFBPz','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','ArsTr','2608664SPASLA','Hffse','db\x20could\x20not\x20update\x20file\x20cache','uin','WvtUx','bnHNx','LNJaH','CuoBj','\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)','parse','globalMsgShortId','getMsgByShortId','getCurrentMaxShortId','catch','getMsgByLongId','Could\x20not\x20create\x20table\x20temp_uins','Method\x20not\x20implemented.','delete','mpVYq','YiXzc','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','\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)','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','longId','2005434GprTyM',',\x20短id:\x20','toString','6AzvgNU','SUWqT','Could\x20not\x20create\x20table\x20msgs','url',',\x20seq:\x20','YkMzs','更新消息,\x20shortId:','SELECT\x20*\x20FROM\x20temp_uins','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','init','2020MtITDH','cVYHi','name','aIbFn','set','yanYw','all','aXLPK','msgList','stringify','uuid','chatType','OQYKz','akTGk','db\x20could\x20not\x20add\x20file','db\x20getMsgByLongId\x20error','uktXW','3560iiFuPk','size','dMlYq','RzATH','jCDtT','then','OaqDi','elementType','aAAea','close','errno','run'];_0x2c70=function(){return _0x105d65;};return _0x2c70();}class DBUtilBase{['db'];async[_0x1bed1d(0x146)](_0x18fbb4){const _0x47d984={'apZLA':function(_0x5919bc,_0x1cb753,_0x934c21){return _0x5919bc(_0x1cb753,_0x934c21);},'gISSF':'Could\x20not\x20connect\x20to\x20database','neFMU':function(_0x57f64d,_0x17292d){return _0x57f64d(_0x17292d);},'RVuLR':function(_0x21ef45){return _0x21ef45();},'jBgQq':function(_0x53194d,_0x213946){return _0x53194d|_0x213946;}};if(this['db'])return;return new Promise((_0xc60c6b,_0x2c390b)=>{const _0x56e5c4=_0x14d5;this['db']=new _0x3bf997['Database'](_0x18fbb4,_0x47d984[_0x56e5c4(0x180)](_0x3bf997[_0x56e5c4(0x174)],_0x3bf997[_0x56e5c4(0x17e)]),_0x149171=>{const _0x4638ec=_0x56e5c4;if(_0x149171){_0x47d984[_0x4638ec(0x16d)](logError,_0x47d984[_0x4638ec(0x11b)],_0x149171),_0x47d984[_0x4638ec(0x108)](_0x2c390b,_0x149171);return;}this[_0x4638ec(0x172)](),_0x47d984['RVuLR'](_0xc60c6b);});});}[_0x1bed1d(0x172)](){const _0x494c13=_0x1bed1d;throw new Error(_0x494c13(0x131));}[_0x1bed1d(0x161)](){const _0x51ee37=_0x1bed1d;this['db']?.[_0x51ee37(0x161)]();}}function _0x14d5(_0x590596,_0x66fc9c){const _0x2c70c5=_0x2c70();return _0x14d5=function(_0x14d591,_0x2687c4){_0x14d591=_0x14d591-0xfe;let _0x2195be=_0x2c70c5[_0x14d591];return _0x2195be;},_0x14d5(_0x590596,_0x66fc9c);}class DBUtil extends DBUtilBase{[_0x1bed1d(0x11d)]=new Map();[_0x1bed1d(0x12b)]=-0x7ffffff8;constructor(){const _0xfc83b6=_0x1bed1d,_0x5be2cf={'RzATH':function(_0x42b83f,_0x5d8a98){return _0x42b83f-_0x5d8a98;},'WvtUx':function(_0x26e2d8,_0x255f70){return _0x26e2d8*_0x255f70;},'QPiDK':function(_0x21e9b4,_0x4489dd){return _0x21e9b4(_0x4489dd);},'sSsMF':'清理消息缓存'};super();const _0x6c0ba7=_0x5be2cf[_0xfc83b6(0x125)](0x3e8*0x3c,0xa);setInterval(()=>{const _0x1ce09c=_0xfc83b6;_0x5be2cf[_0x1ce09c(0x16c)](logDebug,_0x5be2cf['sSsMF']),this[_0x1ce09c(0x11d)][_0x1ce09c(0x105)]((_0x2f05e6,_0x4c07bd)=>{const _0x20f5d6=_0x1ce09c;_0x5be2cf[_0x20f5d6(0x15b)](Date[_0x20f5d6(0x183)](),_0x5be2cf[_0x20f5d6(0x125)](parseInt(_0x2f05e6[_0x20f5d6(0x167)]),0x3e8))>_0x6c0ba7&&this[_0x20f5d6(0x11d)][_0x20f5d6(0x132)](_0x4c07bd);});},_0x6c0ba7);}async[_0x1bed1d(0x146)](_0x548bcd){const _0x3117f9=_0x1bed1d;await super[_0x3117f9(0x146)](_0x548bcd),this[_0x3117f9(0x12b)]=await this[_0x3117f9(0x12d)]();}[_0x1bed1d(0x172)](){const _0x1a39c6=_0x1bed1d,_0x4aee64={'qKOdI':function(_0x45b71b,_0x160de3,_0x3d3a34){return _0x45b71b(_0x160de3,_0x3d3a34);},'uktXW':_0x1a39c6(0x13f),'DYnJZ':_0x1a39c6(0x115),'YiXzc':function(_0x556490,_0x8e946a,_0x220b7c){return _0x556490(_0x8e946a,_0x220b7c);}},_0x1349d9=_0x1a39c6(0x129);this['db'][_0x1a39c6(0x163)](_0x1349d9,function(_0x281e48){const _0x9f02e2=_0x1a39c6;_0x281e48&&_0x4aee64[_0x9f02e2(0x177)](logError,_0x4aee64[_0x9f02e2(0x157)],_0x281e48[_0x9f02e2(0x106)]);});const _0x238ca2='\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)';this['db']['run'](_0x238ca2,function(_0x178a57){const _0x178653=_0x1a39c6;_0x178a57&&_0x4aee64['qKOdI'](logError,_0x4aee64[_0x178653(0x165)],_0x178a57);});const _0x48dcfe=_0x1a39c6(0x137);this['db']['run'](_0x48dcfe,function(_0x4d307c){const _0x529c30=_0x1a39c6;_0x4d307c&&_0x4aee64[_0x529c30(0x134)](logError,_0x529c30(0x130),_0x4d307c);});}async['getCurrentMaxShortId'](){const _0x187513=_0x1bed1d,_0x481b20={'DjSpE':function(_0x3c49da,_0x12ae73,_0x5d2935){return _0x3c49da(_0x12ae73,_0x5d2935);},'fvAiw':_0x187513(0x138),'RociT':'数据库中消息最大短id','bnpNr':function(_0x12f893,_0x26de2e){return _0x12f893(_0x26de2e);},'akTGk':_0x187513(0x11f)};return new Promise((_0x4830e6,_0x5531d7)=>{const _0x59df6d=_0x187513;this['db'][_0x59df6d(0x175)](_0x481b20[_0x59df6d(0x154)],(_0x38d146,_0x271b79)=>{const _0x5d78de=_0x59df6d;if(_0x38d146)return _0x481b20[_0x5d78de(0x184)](logDebug,_0x481b20[_0x5d78de(0x17d)],_0x38d146),_0x4830e6(-0x7ffffff8);_0x481b20[_0x5d78de(0x184)](logDebug,_0x481b20['RociT'],_0x271b79?.[_0x5d78de(0x114)]),_0x481b20[_0x5d78de(0x116)](_0x4830e6,_0x271b79?.[_0x5d78de(0x114)]??-0x7ffffff8);});});}async['getMsg'](_0x5bbba2,_0x3464de){const _0x5269b8=_0x1bed1d,_0x5a5bc7={'khyzr':function(_0x4f3576,_0x2be4e8){return _0x4f3576(_0x2be4e8);},'rtPlg':function(_0x12ddf2,_0x4d772f,_0x357497,_0x25a5f0,_0xd3d2fb){return _0x12ddf2(_0x4d772f,_0x357497,_0x25a5f0,_0xd3d2fb);},'aIbFn':_0x5269b8(0x189),'ZnjuQ':function(_0x2b19d2,_0x278db0){return _0x2b19d2(_0x278db0);}},_0xfa79ce=this['db'][_0x5269b8(0x112)](_0x5bbba2);return new Promise((_0x552514,_0x577476)=>{const _0x158ac7=_0x5269b8;_0xfa79ce[_0x158ac7(0x175)](..._0x3464de,(_0x256e0f,_0x55524e)=>{const _0x49b2ab=_0x158ac7,_0x5edede={'jKQPc':function(_0x51301e,_0x5628b9){const _0x98c426=_0x14d5;return _0x5a5bc7[_0x98c426(0x10c)](_0x51301e,_0x5628b9);}};if(_0x256e0f)return _0x5a5bc7['rtPlg'](logError,_0x5a5bc7[_0x49b2ab(0x14a)],_0x256e0f,_0x5bbba2,_0x3464de),_0x5a5bc7[_0x49b2ab(0x10c)](_0x552514,null);if(!_0x55524e){_0x5a5bc7['ZnjuQ'](_0x552514,null);return;}const _0x35be9d=_0x55524e[_0x49b2ab(0x139)];NTQQMsgApi['getMsgsByMsgId']({'peerUid':_0x55524e[_0x49b2ab(0x17a)],'chatType':_0x55524e[_0x49b2ab(0x152)]},[_0x35be9d])['then'](_0xe83dc8=>{const _0x30d625=_0x49b2ab,_0x1b30e9=_0xe83dc8[_0x30d625(0x14f)][0x0];if(!_0x1b30e9){_0x5edede['jKQPc'](_0x552514,null);return;}_0x1b30e9['id']=_0x55524e[_0x30d625(0x107)],_0x552514(_0x1b30e9);})[_0x49b2ab(0x12e)](_0x483ef7=>{_0x552514(null);});});});}async[_0x1bed1d(0x12c)](_0x29c036){const _0x11651c=_0x1bed1d,_0x2b0869={'cpJYl':_0x11651c(0xfe)};if(this[_0x11651c(0x11d)][_0x11651c(0x11a)](_0x29c036))return this[_0x11651c(0x11d)]['get'](_0x29c036);const _0x4759b5=_0x2b0869[_0x11651c(0x102)];return this[_0x11651c(0x103)](_0x4759b5,[_0x29c036]);}async[_0x1bed1d(0x12f)](_0x2facbb){const _0x3349ea=_0x1bed1d,_0x4b417b={'BGdUK':_0x3349ea(0x145)};if(this[_0x3349ea(0x11d)][_0x3349ea(0x11a)](_0x2facbb))return this[_0x3349ea(0x11d)][_0x3349ea(0x175)](_0x2facbb);return this[_0x3349ea(0x103)](_0x4b417b[_0x3349ea(0x10e)],[_0x2facbb]);}async['getMsgBySeq'](_0x181eea,_0x3814d5){const _0x49286c=_0x1bed1d,_0x216036=_0x49286c(0x168);return this['getMsg'](_0x216036,[_0x181eea,_0x3814d5]);}async[_0x1bed1d(0x119)](_0xa3f551,_0x303465=!![]){const _0x2637ea=_0x1bed1d,_0x585449={'OaqDi':function(_0x30d124,_0xe3276,_0x4b75ef){return _0x30d124(_0xe3276,_0x4b75ef);},'YkMzs':_0x2637ea(0xff),'mpVYq':function(_0x493144,_0x3e354d){return _0x493144===_0x3e354d;},'jMvMf':_0x2637ea(0x17c),'yanYw':_0x2637ea(0x100),'HrWgo':function(_0x3297a5,_0x8468e3){return _0x3297a5(_0x8468e3);}},_0x212ed1=await this['getMsgByLongId'](_0xa3f551['msgId']);if(_0x212ed1){if(_0x303465)this['updateMsg'](_0xa3f551)['then']();return _0x212ed1['id'];}const _0x44121a=this['db'][_0x2637ea(0x112)](_0x585449[_0x2637ea(0x14c)]),_0x5a33db=++this['globalMsgShortId'];return _0xa3f551['id']=_0x5a33db,_0x585449['HrWgo'](logDebug,_0x2637ea(0x166)+_0xa3f551['msgId']+_0x2637ea(0x13b)+_0xa3f551['id']),this[_0x2637ea(0x11d)][_0x2637ea(0x14b)](_0x5a33db,_0xa3f551),this[_0x2637ea(0x11d)]['set'](_0xa3f551[_0x2637ea(0x188)],_0xa3f551),_0x44121a[_0x2637ea(0x163)](this['globalMsgShortId'],_0xa3f551[_0x2637ea(0x188)],_0xa3f551['msgSeq'][_0x2637ea(0x13c)](),_0xa3f551[_0x2637ea(0x17a)],_0xa3f551[_0x2637ea(0x152)],_0x175b9c=>{const _0x1fbc34=_0x2637ea,_0xbaa9e={'uGLLW':function(_0x121963,_0x1a57ef,_0x3a0a93){const _0x128d08=_0x14d5;return _0x585449[_0x128d08(0x15e)](_0x121963,_0x1a57ef,_0x3a0a93);},'aAAea':_0x585449[_0x1fbc34(0x142)]};_0x175b9c&&(_0x585449[_0x1fbc34(0x133)](_0x175b9c[_0x1fbc34(0x162)],0x13)?this[_0x1fbc34(0x12f)](_0xa3f551['msgId'])[_0x1fbc34(0x15d)](_0x222e29=>{const _0x56a21b=_0x1fbc34;_0x222e29?(this[_0x56a21b(0x11d)][_0x56a21b(0x14b)](_0x5a33db,_0x222e29),this['msgCache'][_0x56a21b(0x14b)](_0x222e29['msgId'],_0x222e29)):_0xbaa9e[_0x56a21b(0x164)](logError,_0xbaa9e[_0x56a21b(0x160)],_0x175b9c);})[_0x1fbc34(0x12e)](_0x8da4a0=>logError(_0x1fbc34(0x156),_0x8da4a0)):_0x585449['OaqDi'](logError,_0x585449[_0x1fbc34(0x169)],_0x175b9c));}),_0x5a33db;}async['updateMsg'](_0x81e150){const _0x449dd9=_0x1bed1d,_0x3e546b={'uqigB':_0x449dd9(0x173),'bnHNx':function(_0x3a5bf6,_0x1294d4){return _0x3a5bf6(_0x1294d4);}},_0x3a937d=this['msgCache'][_0x449dd9(0x175)](_0x81e150[_0x449dd9(0x188)]);_0x3a937d&&Object[_0x449dd9(0x179)](_0x3a937d,_0x81e150);_0x3e546b[_0x449dd9(0x126)](logDebug,_0x449dd9(0x143)+_0x81e150['id']+_0x449dd9(0x141)+_0x81e150[_0x449dd9(0x110)]+',\x20msgId:\x20'+_0x81e150['msgId']);const _0x4e1cd4=this['db'][_0x449dd9(0x112)](_0x449dd9(0x178));_0x4e1cd4['run'](_0x81e150['msgSeq'],_0x81e150[_0x449dd9(0x188)],_0x5b53db=>{const _0x166de4=_0x449dd9;_0x5b53db&&logError(_0x3e546b[_0x166de4(0x104)],_0x5b53db);});}async[_0x1bed1d(0x101)](_0x232d7b){const _0x263485=_0x1bed1d,_0x39878e={'KrMmj':_0x263485(0x155),'rdnTi':function(_0x241803,_0x5319cd){return _0x241803(_0x5319cd);},'yvcPE':_0x263485(0x118)},_0x534836=this['db'][_0x263485(0x112)](_0x39878e['yvcPE']);return new Promise((_0x5d5ad6,_0xb00f2a)=>{const _0x588599=_0x263485,_0x3b14db={'aXLPK':_0x39878e[_0x588599(0x11c)],'LNJaH':function(_0x39dba7,_0x2d4ac2){const _0x3b95d9=_0x588599;return _0x39878e[_0x3b95d9(0x16f)](_0x39dba7,_0x2d4ac2);}};_0x534836[_0x588599(0x163)](_0x232d7b[_0x588599(0x149)],_0x232d7b[_0x588599(0x170)],_0x232d7b['url'],_0x232d7b[_0x588599(0x159)],_0x232d7b['uuid'],_0x232d7b[_0x588599(0x15f)],JSON[_0x588599(0x150)](_0x232d7b[_0x588599(0x18a)]),_0x232d7b[_0x588599(0x16a)],_0x232d7b[_0x588599(0x188)],function(_0x35e4d4){const _0x40e25f=_0x588599;_0x35e4d4&&(logError(_0x3b14db[_0x40e25f(0x14e)],_0x35e4d4),_0x3b14db[_0x40e25f(0x127)](_0xb00f2a,_0x35e4d4)),_0x5d5ad6(null);});});}async[_0x1bed1d(0x10d)](_0x20ca37,_0x5bb1de){const _0xa2808a=_0x1bed1d,_0x17a6c2={'Hffse':function(_0xf0ce63,_0x59a93c,_0x51a983){return _0xf0ce63(_0x59a93c,_0x51a983);},'ArsTr':function(_0x5b9e1f,_0x30faaa){return _0x5b9e1f(_0x30faaa);}},_0x2ad478=this['db'][_0xa2808a(0x112)](_0x20ca37);return new Promise((_0x353caa,_0x23b2b0)=>{const _0xd03e79=_0xa2808a;_0x2ad478[_0xd03e79(0x175)](..._0x5bb1de,(_0x3097e6,_0x47a145)=>{const _0x1a4a52=_0xd03e79;_0x3097e6&&(_0x17a6c2[_0x1a4a52(0x122)](logError,_0x1a4a52(0x171),_0x3097e6),_0x17a6c2[_0x1a4a52(0x120)](_0x23b2b0,_0x3097e6)),_0x47a145&&(_0x47a145['element']=JSON[_0x1a4a52(0x12a)](_0x47a145[_0x1a4a52(0x18a)])),_0x353caa(_0x47a145);});});}async['getFileCacheByName'](_0x4f8766){const _0xadbd9e=_0x1bed1d,_0x35880e={'dMlYq':_0xadbd9e(0x136)};return this[_0xadbd9e(0x10d)](_0x35880e[_0xadbd9e(0x15a)],[_0x4f8766]);}async[_0x1bed1d(0x176)](_0x23778e){const _0x47db83=_0x1bed1d,_0x36bb66={'ANflN':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?'};return this[_0x47db83(0x10d)](_0x36bb66[_0x47db83(0x117)],[_0x23778e]);}async[_0x1bed1d(0x182)](_0x2e370e){const _0x19ab1a=_0x1bed1d,_0x470581={'ZkmCF':function(_0x11f480,_0x1c0411){return _0x11f480(_0x1c0411);},'cVYHi':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0x4bc56d=this['db']['prepare'](_0x470581[_0x19ab1a(0x148)]);return new Promise((_0x902650,_0x31b57f)=>{const _0x476f23=_0x19ab1a,_0x29d589={'OzUyG':function(_0x5a7481,_0x5ec0b8,_0x808d44){return _0x5a7481(_0x5ec0b8,_0x808d44);},'iWvfn':_0x476f23(0x123),'CuoBj':function(_0x2b4e19,_0x3c6ebb){return _0x470581['ZkmCF'](_0x2b4e19,_0x3c6ebb);}};_0x4bc56d[_0x476f23(0x163)](_0x2e370e['path'],_0x2e370e[_0x476f23(0x140)],_0x2e370e[_0x476f23(0x151)],function(_0x15fb02){const _0x5225f6=_0x476f23;_0x15fb02&&(_0x29d589[_0x5225f6(0x186)](logError,_0x29d589[_0x5225f6(0x10b)],_0x15fb02),_0x29d589[_0x5225f6(0x128)](_0x31b57f,_0x15fb02)),_0x902650(null);});});}async['getReceivedTempUinMap'](){const _0x344726=_0x1bed1d,_0x1f8cdb={'LMyAB':_0x344726(0x144)},_0x2a277c=_0x1f8cdb[_0x344726(0x17b)];return new Promise((_0x37d618,_0x2e41a9)=>{const _0x111946=_0x344726,_0x306d13={'jCDtT':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','SUWqT':function(_0x177831,_0x53892b){return _0x177831(_0x53892b);}};this['db'][_0x111946(0x14d)](_0x2a277c,(_0x1b8b2e,_0x5a03fa)=>{const _0x5f0a00=_0x111946;_0x1b8b2e&&(logError(_0x306d13[_0x5f0a00(0x15c)],_0x1b8b2e),_0x306d13[_0x5f0a00(0x13e)](_0x2e41a9,_0x1b8b2e));const _0x2bb96b={};_0x5a03fa['forEach'](_0x5d3f2c=>{const _0x225825=_0x5f0a00;_0x2bb96b[_0x5d3f2c[_0x225825(0x124)]]=_0x5d3f2c[_0x225825(0x111)];}),_0x306d13[_0x5f0a00(0x13e)](_0x37d618,_0x2bb96b);});});}async['getUidByTempUin'](_0x556a5b){const _0x39211a=_0x1bed1d,_0x496ae1={'OQYKz':_0x39211a(0x17f),'WTxWx':function(_0x232bbb,_0x583abb){return _0x232bbb(_0x583abb);}},_0x1381a4=_0x39211a(0x135);return new Promise((_0x10e6cb,_0x520b63)=>{const _0x515aeb=_0x39211a;this['db'][_0x515aeb(0x175)](_0x1381a4,[_0x556a5b],(_0x2b20e9,_0x390ff3)=>{const _0x45f534=_0x515aeb;_0x2b20e9&&(logError(_0x496ae1[_0x45f534(0x153)],_0x2b20e9),_0x496ae1[_0x45f534(0x16e)](_0x520b63,_0x2b20e9)),_0x496ae1['WTxWx'](_0x10e6cb,_0x390ff3?.[_0x45f534(0x111)]);});});}async[_0x1bed1d(0x113)](_0x4603c9,_0x194880){const _0x4df6a0=_0x1bed1d,_0xad32a3={'rZnKy':function(_0x53d1c0,_0x5cc3f8){return _0x53d1c0(_0x5cc3f8);},'bvIDz':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x1ea01f=await this['getUidByTempUin'](_0x4603c9);if(!_0x1ea01f){const _0x3ae679=this['db'][_0x4df6a0(0x112)](_0xad32a3[_0x4df6a0(0x109)]);return new Promise((_0x24159f,_0x4389e8)=>{const _0x45a945=_0x4df6a0,_0x70e0b4={'BAztA':function(_0x458ec4,_0x46110b,_0x34053a){return _0x458ec4(_0x46110b,_0x34053a);},'dvkAV':function(_0x588798,_0x338e89){const _0x1dd547=_0x14d5;return _0xad32a3[_0x1dd547(0x181)](_0x588798,_0x338e89);}};_0x3ae679[_0x45a945(0x163)](_0x4603c9,_0x194880,function(_0x4d277e){const _0x51e5c2=_0x45a945;_0x4d277e&&(_0x70e0b4['BAztA'](logError,'db\x20could\x20not\x20add\x20temp\x20uin',_0x4d277e),_0x4389e8(_0x4d277e)),_0x70e0b4[_0x51e5c2(0x16b)](_0x24159f,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +function _0x1940(){const _0x259b56=['1287816EXpDWM','getMsgBySeq','getFileCache','uid','msgCache','longId','sewGi','\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)','umEzl','addFileCache','jbcoo','errno','ONezX','UYNCc','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','Zbaqa','UQMIC','now','get','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','plhFx','Could\x20not\x20create\x20table\x20temp_uins','FWPDS','elementId','ArBoY','Could\x20not\x20connect\x20to\x20database',',\x20seq:\x20','GMEqf','KgyJE','525879kTHVoy',',\x20msgId:\x20','globalMsgShortId','tybYf','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','FRTKI','db\x20could\x20not\x20get\x20temp\x20uin\x20map','path','element','createTable','db\x20could\x20not\x20add\x20file','getCurrentMaxShortId','NBoyp','更新消息,\x20shortId:','53809BhjCTi','TsJfW','Nmndu','url','aOMpU','AmYsH','记录消息到数据库,\x20消息长id:\x20','msgId','getMsgsByMsgId','513405qUYVos','清理消息缓存','init','HUubb','epNbg','LdoIR','MwdHb','2TxvKep','name','aTCPl','860192hEhoQD','has','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','HjfGd','elementType','chatType','\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)','getMsg','forEach','updateMsg\x20db\x20error','ghJTV','db\x20could\x20not\x20add\x20msg','\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)','then','cbnPI','IEPLD','70YSpauN','catch','db\x20getMsgByLongId\x20error','getMsgByShortId','getFileCacheByUuid','lRzXY','Could\x20not\x20create\x20table\x20files','close','run','getReceivedTempUinMap','oNdca','215709NshPEH','stringify','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','aYMWU','xDiUl','zTfSN','set','BBqGm','all','getFileCacheByName','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','uin','prepare','758090tjEJeD','msgSeq','addMsg','zrVCl','hFLrr','vIGYf','wSZJK','uRIoz','delete','150kjvfjY','SgRjj','db\x20could\x20not\x20update\x20file\x20cache','RivYT','maxId','JnFCX','size','数据库中消息最大短id','getMsgByLongId','NhVQv','PpxfV',',\x20短id:\x20','Database','toString','znaWH','Could\x20not\x20create\x20table\x20msgs','NYelT','Method\x20not\x20implemented.'];_0x1940=function(){return _0x259b56;};return _0x1940();}const _0x44c136=_0x16e5;(function(_0x170ef5,_0x3d704b){const _0x4a2a53=_0x16e5,_0x231b4e=_0x170ef5();while(!![]){try{const _0x1a4858=parseInt(_0x4a2a53(0xf8))/0x1+parseInt(_0x4a2a53(0xda))/0x2*(-parseInt(_0x4a2a53(0xbc))/0x3)+parseInt(_0x4a2a53(0xdd))/0x4+-parseInt(_0x4a2a53(0x105))/0x5+-parseInt(_0x4a2a53(0x10e))/0x6*(parseInt(_0x4a2a53(0xca))/0x7)+-parseInt(_0x4a2a53(0x9f))/0x8+-parseInt(_0x4a2a53(0xd3))/0x9*(-parseInt(_0x4a2a53(0xed))/0xa);if(_0x1a4858===_0x3d704b)break;else _0x231b4e['push'](_0x231b4e['shift']());}catch(_0x31965e){_0x231b4e['push'](_0x231b4e['shift']());}}}(_0x1940,0x249f9));import _0x54c40d from'sqlite3';function _0x16e5(_0x199735,_0x37cc32){const _0x1940b6=_0x1940();return _0x16e5=function(_0x16e55c,_0x4bd6e7){_0x16e55c=_0x16e55c-0x8e;let _0x37cc88=_0x1940b6[_0x16e55c];return _0x37cc88;},_0x16e5(_0x199735,_0x37cc32);}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x44c136(0xd5)](_0x11c056){const _0x4428d2=_0x44c136,_0x3fffcc={'JnFCX':function(_0x8ee2c5,_0x46d3f6,_0xbbde44){return _0x8ee2c5(_0x46d3f6,_0xbbde44);},'rSiXO':_0x4428d2(0xb8),'noTNd':function(_0xcf784a){return _0xcf784a();},'epNbg':function(_0x29b3dc,_0x29e417){return _0x29b3dc|_0x29e417;}};if(this['db'])return;return new Promise((_0x22ec0d,_0x4e51de)=>{const _0x3eb7a5=_0x4428d2,_0x285c2f={'cfltY':function(_0x562002,_0x47fef3,_0x3f5e3d){const _0x1c78e8=_0x16e5;return _0x3fffcc[_0x1c78e8(0x92)](_0x562002,_0x47fef3,_0x3f5e3d);},'LdoIR':_0x3fffcc['rSiXO'],'UYNCc':function(_0x5c67b5){return _0x3fffcc['noTNd'](_0x5c67b5);}};this['db']=new _0x54c40d[(_0x3eb7a5(0x99))](_0x11c056,_0x3fffcc[_0x3eb7a5(0xd7)](_0x54c40d['OPEN_READWRITE'],_0x54c40d['OPEN_CREATE']),_0x349ca4=>{const _0x31d8c9=_0x3eb7a5;if(_0x349ca4){_0x285c2f['cfltY'](logError,_0x285c2f[_0x31d8c9(0xd8)],_0x349ca4),_0x4e51de(_0x349ca4);return;}this[_0x31d8c9(0xc5)](),_0x285c2f[_0x31d8c9(0xac)](_0x22ec0d);});});}[_0x44c136(0xc5)](){const _0x21f699=_0x44c136;throw new Error(_0x21f699(0x9e));}[_0x44c136(0xf4)](){const _0x32eecd=_0x44c136;this['db']?.[_0x32eecd(0xf4)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x44c136(0xbe)]=-0x7ffffff8;constructor(){const _0x2c4d76=_0x44c136,_0x347aad={'oNdca':function(_0x3a8948,_0xe92e36){return _0x3a8948>_0xe92e36;},'rhWqS':function(_0x4aa72e,_0x4926b9){return _0x4aa72e-_0x4926b9;},'TsJfW':function(_0x5a3e28,_0x39f68d){return _0x5a3e28(_0x39f68d);},'IEPLD':function(_0x433a34,_0x1f3265){return _0x433a34*_0x1f3265;},'xDiUl':function(_0x192ed7,_0x3af3bf){return _0x192ed7*_0x3af3bf;},'BBqGm':function(_0x3a3d7e,_0x22cc72,_0x145f96){return _0x3a3d7e(_0x22cc72,_0x145f96);}};super();const _0x1442f3=_0x347aad[_0x2c4d76(0xec)](_0x347aad[_0x2c4d76(0xfc)](0x3e8,0x3c),0xa);_0x347aad[_0x2c4d76(0xff)](setInterval,()=>{const _0x1e8b03=_0x2c4d76;_0x347aad[_0x1e8b03(0xcb)](logDebug,_0x1e8b03(0xd4)),this[_0x1e8b03(0xa3)][_0x1e8b03(0xe5)]((_0x301819,_0x6fdb0b)=>{const _0x2c3301=_0x1e8b03;_0x347aad[_0x2c3301(0xf7)](_0x347aad['rhWqS'](Date[_0x2c3301(0xb0)](),_0x347aad[_0x2c3301(0xcb)](parseInt,_0x301819['msgTime'])*0x3e8),_0x1442f3)&&this[_0x2c3301(0xa3)][_0x2c3301(0x10d)](_0x6fdb0b);});},_0x1442f3);}async[_0x44c136(0xd5)](_0x561468){await super['init'](_0x561468),this['globalMsgShortId']=await this['getCurrentMaxShortId']();}['createTable'](){const _0x1e4eb9=_0x44c136,_0x29ad4c={'wSZJK':function(_0x2ad59a,_0x5b63ce,_0x3cd6bc){return _0x2ad59a(_0x5b63ce,_0x3cd6bc);},'aOMpU':_0x1e4eb9(0xf3),'cbnPI':function(_0x2b532b,_0x250ef6,_0x34caf6){return _0x2b532b(_0x250ef6,_0x34caf6);},'HjfGd':_0x1e4eb9(0xb4)},_0x271b76=_0x1e4eb9(0xe3);this['db']['run'](_0x271b76,function(_0xabe3d){const _0x442afb=_0x1e4eb9;_0xabe3d&&logError(_0x442afb(0x9c),_0xabe3d['stack']);});const _0x2610b3=_0x1e4eb9(0xa6);this['db'][_0x1e4eb9(0xf5)](_0x2610b3,function(_0x1d3381){const _0x17e62b=_0x1e4eb9;_0x1d3381&&_0x29ad4c[_0x17e62b(0x10b)](logError,_0x29ad4c[_0x17e62b(0xce)],_0x1d3381);});const _0x2764c0=_0x1e4eb9(0xe9);this['db']['run'](_0x2764c0,function(_0x350770){const _0x3e8379=_0x1e4eb9;_0x350770&&_0x29ad4c[_0x3e8379(0xeb)](logError,_0x29ad4c[_0x3e8379(0xe0)],_0x350770);});}async[_0x44c136(0xc7)](){const _0x299cb7=_0x44c136,_0x16600d={'tybYf':_0x299cb7(0x94)};return new Promise((_0x1104ec,_0xbc6bff)=>{const _0x40595a=_0x299cb7,_0x2036ee={'sewGi':'Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','jbcoo':function(_0x561ed4,_0x2e1b87){return _0x561ed4(_0x2e1b87);},'bTegi':_0x16600d[_0x40595a(0xbf)]};this['db']['get'](_0x40595a(0xad),(_0x2e9e0c,_0x383a11)=>{const _0x5d135d=_0x40595a;if(_0x2e9e0c)return logDebug(_0x2036ee[_0x5d135d(0xa5)],_0x2e9e0c),_0x2036ee[_0x5d135d(0xa9)](_0x1104ec,-0x7ffffff8);logDebug(_0x2036ee['bTegi'],_0x383a11?.[_0x5d135d(0x91)]),_0x2036ee[_0x5d135d(0xa9)](_0x1104ec,_0x383a11?.[_0x5d135d(0x91)]??-0x7ffffff8);});});}async['getMsg'](_0x1fa4e8,_0x14b408){const _0xe4b407=_0x44c136,_0x3fcf30={'KsNNe':function(_0x1d7990,_0x18ec19,_0x4d304a,_0x305394,_0x71987b){return _0x1d7990(_0x18ec19,_0x4d304a,_0x305394,_0x71987b);},'ghJTV':function(_0x1feefb,_0x2ac1ed){return _0x1feefb(_0x2ac1ed);},'rhVXq':function(_0x5068d0,_0x1220fb){return _0x5068d0(_0x1220fb);}},_0x43eb99=this['db'][_0xe4b407(0x104)](_0x1fa4e8);return new Promise((_0x1933b4,_0x4c7aca)=>{const _0x31305c=_0xe4b407;_0x43eb99[_0x31305c(0xb1)](..._0x14b408,(_0x49546b,_0x3565a6)=>{const _0x119bc0=_0x31305c,_0x23c309={'SgRjj':function(_0x5680b9,_0x95e1e8){return _0x5680b9(_0x95e1e8);}};if(_0x49546b)return _0x3fcf30['KsNNe'](logError,'Could\x20not\x20get\x20msg',_0x49546b,_0x1fa4e8,_0x14b408),_0x3fcf30[_0x119bc0(0xe7)](_0x1933b4,null);if(!_0x3565a6){_0x3fcf30['rhVXq'](_0x1933b4,null);return;}const _0x3ff7f6=_0x3565a6[_0x119bc0(0xa4)];NTQQMsgApi[_0x119bc0(0xd2)]({'peerUid':_0x3565a6['peerUid'],'chatType':_0x3565a6[_0x119bc0(0xe2)]},[_0x3ff7f6])[_0x119bc0(0xea)](_0x1d13c6=>{const _0x1bfd81=_0x119bc0,_0x48757d=_0x1d13c6['msgList'][0x0];if(!_0x48757d){_0x1933b4(null);return;}_0x48757d['id']=_0x3565a6['shortId'],_0x23c309[_0x1bfd81(0x8e)](_0x1933b4,_0x48757d);})['catch'](_0xbaba76=>{_0x1933b4(null);});});});}async[_0x44c136(0xf0)](_0x2063bc){const _0x141e14=_0x44c136,_0x4d7291={'lRzXY':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this['msgCache'][_0x141e14(0xde)](_0x2063bc))return this[_0x141e14(0xa3)]['get'](_0x2063bc);const _0x34696a=_0x4d7291[_0x141e14(0xf2)];return this['getMsg'](_0x34696a,[_0x2063bc]);}async[_0x44c136(0x95)](_0x28aff5){const _0x13cf40=_0x44c136,_0x4ac3d9={'KgyJE':_0x13cf40(0xb2)};if(this['msgCache'][_0x13cf40(0xde)](_0x28aff5))return this[_0x13cf40(0xa3)][_0x13cf40(0xb1)](_0x28aff5);return this[_0x13cf40(0xe4)](_0x4ac3d9[_0x13cf40(0xbb)],[_0x28aff5]);}async[_0x44c136(0xa0)](_0x137687,_0x146282){const _0x323b11=_0x44c136,_0x59f756={'XAgtp':_0x323b11(0xdf)},_0x38b26f=_0x59f756['XAgtp'];return this[_0x323b11(0xe4)](_0x38b26f,[_0x137687,_0x146282]);}async[_0x44c136(0x107)](_0x51b9eb,_0x4d2fc6=!![]){const _0x57652d=_0x44c136,_0x38d9b8={'Nmndu':_0x57652d(0xc0),'aYMWU':function(_0x5cf40f,_0x24448b){return _0x5cf40f===_0x24448b;},'vjXfp':function(_0x508fff,_0x3b01b0,_0x41c2eb){return _0x508fff(_0x3b01b0,_0x41c2eb);},'NYelT':_0x57652d(0xe8),'MwdHb':'INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)'},_0x30562c=await this[_0x57652d(0x95)](_0x51b9eb[_0x57652d(0xd1)]);if(_0x30562c){if(_0x4d2fc6)this['updateMsg'](_0x51b9eb)[_0x57652d(0xea)]();return _0x30562c['id'];}const _0xf836d9=this['db'][_0x57652d(0x104)](_0x38d9b8[_0x57652d(0xd9)]),_0xb0a3fd=++this[_0x57652d(0xbe)];return _0x51b9eb['id']=_0xb0a3fd,logDebug(_0x57652d(0xd0)+_0x51b9eb['msgId']+_0x57652d(0x98)+_0x51b9eb['id']),this['msgCache'][_0x57652d(0xfe)](_0xb0a3fd,_0x51b9eb),this[_0x57652d(0xa3)][_0x57652d(0xfe)](_0x51b9eb[_0x57652d(0xd1)],_0x51b9eb),_0xf836d9[_0x57652d(0xf5)](this[_0x57652d(0xbe)],_0x51b9eb[_0x57652d(0xd1)],_0x51b9eb[_0x57652d(0x106)][_0x57652d(0x9a)](),_0x51b9eb['peerUid'],_0x51b9eb[_0x57652d(0xe2)],_0xe09bfb=>{const _0x3ee1d9=_0x57652d,_0x50afc3={'MyEDP':_0x38d9b8[_0x3ee1d9(0xcc)]};_0xe09bfb&&(_0x38d9b8[_0x3ee1d9(0xfb)](_0xe09bfb[_0x3ee1d9(0xaa)],0x13)?this[_0x3ee1d9(0x95)](_0x51b9eb[_0x3ee1d9(0xd1)])[_0x3ee1d9(0xea)](_0x247718=>{const _0x1a40d1=_0x3ee1d9;_0x247718?(this[_0x1a40d1(0xa3)][_0x1a40d1(0xfe)](_0xb0a3fd,_0x247718),this[_0x1a40d1(0xa3)][_0x1a40d1(0xfe)](_0x247718[_0x1a40d1(0xd1)],_0x247718)):logError(_0x50afc3['MyEDP'],_0xe09bfb);})[_0x3ee1d9(0xee)](_0x10efa4=>logError(_0x3ee1d9(0xef),_0x10efa4)):_0x38d9b8['vjXfp'](logError,_0x38d9b8[_0x3ee1d9(0x9d)],_0xe09bfb));}),_0xb0a3fd;}async['updateMsg'](_0x3deb68){const _0x396a6c=_0x44c136,_0x2b522f={'FRTKI':function(_0x4529bd,_0x55462d,_0x1f24f5){return _0x4529bd(_0x55462d,_0x1f24f5);},'vIGYf':_0x396a6c(0xe6),'ONezX':function(_0x4e1948,_0x21ef02){return _0x4e1948(_0x21ef02);},'aTCPl':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x22aa37=this['msgCache'][_0x396a6c(0xb1)](_0x3deb68[_0x396a6c(0xd1)]);_0x22aa37&&Object['assign'](_0x22aa37,_0x3deb68);_0x2b522f[_0x396a6c(0xab)](logDebug,_0x396a6c(0xc9)+_0x3deb68['id']+_0x396a6c(0xb9)+_0x3deb68['msgSeq']+_0x396a6c(0xbd)+_0x3deb68[_0x396a6c(0xd1)]);const _0x2f444d=this['db']['prepare'](_0x2b522f[_0x396a6c(0xdc)]);_0x2f444d[_0x396a6c(0xf5)](_0x3deb68[_0x396a6c(0x106)],_0x3deb68[_0x396a6c(0xd1)],_0x5323b4=>{const _0x40e35c=_0x396a6c;_0x5323b4&&_0x2b522f[_0x40e35c(0xc1)](logError,_0x2b522f[_0x40e35c(0x10a)],_0x5323b4);});}async[_0x44c136(0xa8)](_0x122bec){const _0x29ce4a=_0x44c136,_0x43a9d2={'plhFx':function(_0x393168,_0x1807da,_0x18ed8d){return _0x393168(_0x1807da,_0x18ed8d);},'umEzl':_0x29ce4a(0xc6),'AmYsH':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x5517c7=this['db'][_0x29ce4a(0x104)](_0x43a9d2[_0x29ce4a(0xcf)]);return new Promise((_0x3d0c40,_0x40fbc3)=>{const _0x5ad5ed=_0x29ce4a;_0x5517c7[_0x5ad5ed(0xf5)](_0x122bec[_0x5ad5ed(0xdb)],_0x122bec[_0x5ad5ed(0xc3)],_0x122bec[_0x5ad5ed(0xcd)],_0x122bec[_0x5ad5ed(0x93)],_0x122bec['uuid'],_0x122bec[_0x5ad5ed(0xe1)],JSON[_0x5ad5ed(0xf9)](_0x122bec[_0x5ad5ed(0xc4)]),_0x122bec[_0x5ad5ed(0xb6)],_0x122bec[_0x5ad5ed(0xd1)],function(_0x347fb3){const _0x13573f=_0x5ad5ed;_0x347fb3&&(_0x43a9d2[_0x13573f(0xb3)](logError,_0x43a9d2[_0x13573f(0xa7)],_0x347fb3),_0x40fbc3(_0x347fb3)),_0x3d0c40(null);});});}async['getFileCache'](_0x2d7a53,_0x1ac490){const _0x11322b=_0x44c136,_0x6be81d={'GMEqf':function(_0x508844,_0x11a913){return _0x508844(_0x11a913);}},_0x501433=this['db'][_0x11322b(0x104)](_0x2d7a53);return new Promise((_0x3d4000,_0x51ddbc)=>{const _0x416022=_0x11322b,_0x4214db={'zTfSN':function(_0x25fcc1,_0xdfb48){const _0xc62f7=_0x16e5;return _0x6be81d[_0xc62f7(0xba)](_0x25fcc1,_0xdfb48);}};_0x501433[_0x416022(0xb1)](..._0x1ac490,(_0x38888c,_0x519b4f)=>{const _0x2eedb2=_0x416022;_0x38888c&&(logError('db\x20could\x20not\x20get\x20file\x20cache',_0x38888c),_0x51ddbc(_0x38888c)),_0x519b4f&&(_0x519b4f['element']=JSON['parse'](_0x519b4f[_0x2eedb2(0xc4)])),_0x4214db[_0x2eedb2(0xfd)](_0x3d4000,_0x519b4f);});});}async[_0x44c136(0x101)](_0x1abb4a){const _0x16a1a3=_0x44c136;return this['getFileCache'](_0x16a1a3(0x102),[_0x1abb4a]);}async[_0x44c136(0xf1)](_0x560df3){const _0x5e7f68=_0x44c136,_0x48abc2={'FWPDS':_0x5e7f68(0xfa)};return this[_0x5e7f68(0xa1)](_0x48abc2[_0x5e7f68(0xb5)],[_0x560df3]);}async['updateFileCache'](_0xa45e8f){const _0x1946ac=_0x44c136,_0x3b39aa={'UEzQf':function(_0x106cce,_0x1f8bb4,_0xa07c59){return _0x106cce(_0x1f8bb4,_0xa07c59);},'ZwCGf':_0x1946ac(0x8f),'AYyNH':function(_0x265ea6,_0x2f9145){return _0x265ea6(_0x2f9145);},'Zbaqa':'UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?'},_0xbd3c28=this['db'][_0x1946ac(0x104)](_0x3b39aa[_0x1946ac(0xae)]);return new Promise((_0x3220c,_0x5c13a7)=>{const _0x2707e2=_0x1946ac;_0xbd3c28[_0x2707e2(0xf5)](_0xa45e8f['path'],_0xa45e8f[_0x2707e2(0xcd)],_0xa45e8f['uuid'],function(_0x3f67c1){_0x3f67c1&&(_0x3b39aa['UEzQf'](logError,_0x3b39aa['ZwCGf'],_0x3f67c1),_0x5c13a7(_0x3f67c1)),_0x3b39aa['AYyNH'](_0x3220c,null);});});}async[_0x44c136(0xf6)](){const _0x1ba4ad=_0x44c136,_0x4b3ed9={'NhVQv':function(_0x2b189d,_0x3b198d,_0x44967e){return _0x2b189d(_0x3b198d,_0x44967e);},'TuhtT':_0x1ba4ad(0xc2),'PpxfV':'SELECT\x20*\x20FROM\x20temp_uins'},_0x402125=_0x4b3ed9[_0x1ba4ad(0x97)];return new Promise((_0xa19c25,_0x25b066)=>{const _0x41b46f=_0x1ba4ad,_0x469e85={'uRIoz':function(_0x4139e1,_0xc80ae,_0x53429e){const _0x41103e=_0x16e5;return _0x4b3ed9[_0x41103e(0x96)](_0x4139e1,_0xc80ae,_0x53429e);},'hFLrr':_0x4b3ed9['TuhtT']};this['db'][_0x41b46f(0x100)](_0x402125,(_0x52fc55,_0x13dc42)=>{const _0x168bd2=_0x41b46f;_0x52fc55&&(_0x469e85[_0x168bd2(0x10c)](logError,_0x469e85[_0x168bd2(0x109)],_0x52fc55),_0x25b066(_0x52fc55));const _0x507763={};_0x13dc42['forEach'](_0x37c91b=>{const _0xa90366=_0x168bd2;_0x507763[_0x37c91b[_0xa90366(0x103)]]=_0x37c91b[_0xa90366(0xa2)];}),_0xa19c25(_0x507763);});});}async['getUidByTempUin'](_0x2ba219){const _0x348474=_0x44c136,_0x4bfb7e={'ArBoY':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','wXXFy':function(_0x89a58e,_0x55f548){return _0x89a58e(_0x55f548);},'NBoyp':'SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?'},_0x3e4bd0=_0x4bfb7e[_0x348474(0xc8)];return new Promise((_0x30f482,_0x3390d6)=>{const _0x3fb61e=_0x348474,_0xde7251={'HUubb':_0x4bfb7e[_0x3fb61e(0xb7)],'RivYT':function(_0x40bdbf,_0x42029b){return _0x4bfb7e['wXXFy'](_0x40bdbf,_0x42029b);}};this['db']['get'](_0x3e4bd0,[_0x2ba219],(_0x212a9a,_0xed4c70)=>{const _0x4c41f1=_0x3fb61e;_0x212a9a&&(logError(_0xde7251[_0x4c41f1(0xd6)],_0x212a9a),_0xde7251[_0x4c41f1(0x90)](_0x3390d6,_0x212a9a)),_0xde7251[_0x4c41f1(0x90)](_0x30f482,_0xed4c70?.[_0x4c41f1(0xa2)]);});});}async['addTempUin'](_0x517e2e,_0x527a40){const _0x29d27e=_0x44c136,_0x597566={'zrVCl':function(_0x516728,_0x422b78,_0x2006e9){return _0x516728(_0x422b78,_0x2006e9);},'znaWH':'db\x20could\x20not\x20add\x20temp\x20uin','UQMIC':function(_0x3ee95c,_0x50403){return _0x3ee95c(_0x50403);},'myBQs':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x9ca045=await this['getUidByTempUin'](_0x517e2e);if(!_0x9ca045){const _0x50c4c0=this['db'][_0x29d27e(0x104)](_0x597566['myBQs']);return new Promise((_0x29baa6,_0x16d104)=>{const _0x2f5004=_0x29d27e;_0x50c4c0[_0x2f5004(0xf5)](_0x517e2e,_0x527a40,function(_0x184ed7){const _0x50389c=_0x2f5004;_0x184ed7&&(_0x597566[_0x50389c(0x108)](logError,_0x597566[_0x50389c(0x9b)],_0x184ed7),_0x16d104(_0x184ed7)),_0x597566[_0x50389c(0xaf)](_0x29baa6,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 67eb6e92..0e084b18 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x5de611=_0x2492;(function(_0x3cb9dc,_0x586af8){const _0x492ff8=_0x2492,_0x1a9e8f=_0x3cb9dc();while(!![]){try{const _0xd6cb44=parseInt(_0x492ff8(0x196))/0x1+-parseInt(_0x492ff8(0x194))/0x2*(parseInt(_0x492ff8(0x195))/0x3)+-parseInt(_0x492ff8(0x19d))/0x4+parseInt(_0x492ff8(0x199))/0x5*(-parseInt(_0x492ff8(0x18f))/0x6)+-parseInt(_0x492ff8(0x192))/0x7*(-parseInt(_0x492ff8(0x19c))/0x8)+-parseInt(_0x492ff8(0x18d))/0x9+-parseInt(_0x492ff8(0x190))/0xa*(-parseInt(_0x492ff8(0x19b))/0xb);if(_0xd6cb44===_0x586af8)break;else _0x1a9e8f['push'](_0x1a9e8f['shift']());}catch(_0x515148){_0x1a9e8f['push'](_0x1a9e8f['shift']());}}}(_0x2103,0x186a3));import _0x4b4216 from'node:path';import _0x11a625 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x2492(_0x1d9419,_0x49772c){const _0x2103b3=_0x2103();return _0x2492=function(_0x2492d6,_0x49ccf0){_0x2492d6=_0x2492d6-0x18c;let _0x4aebee=_0x2103b3[_0x2492d6];return _0x4aebee;},_0x2492(_0x1d9419,_0x49772c);}let wrapperNodePath=_0x4b4216[_0x5de611(0x191)](_0x4b4216['dirname'](process[_0x5de611(0x197)]),_0x5de611(0x19a));function _0x2103(){const _0x3328b6=['./resources/app/wrapper.node','11RDKvoU','27320trRmwL','736636tditjK','existsSync','1789956ZEWhxE','join','1116uZkxuW','4985440PvgJNW','resolve','7zeyMer','dirname','2JCUqCy','126249JrFnaX','99244dfBzxH','execPath','/wrapper.node','2045QsxOxp'];_0x2103=function(){return _0x3328b6;};return _0x2103();}!_0x11a625[_0x5de611(0x18c)](wrapperNodePath)&&(wrapperNodePath=_0x4b4216[_0x5de611(0x18e)](_0x4b4216[_0x5de611(0x193)](process[_0x5de611(0x197)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0x5de611(0x198)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +const _0x3e7a09=_0x277c;(function(_0x5aec84,_0x23470e){const _0x155680=_0x277c,_0x12c583=_0x5aec84();while(!![]){try{const _0x1e905e=parseInt(_0x155680(0x19f))/0x1*(parseInt(_0x155680(0x1ae))/0x2)+parseInt(_0x155680(0x19c))/0x3*(parseInt(_0x155680(0x1aa))/0x4)+parseInt(_0x155680(0x1a2))/0x5*(parseInt(_0x155680(0x19b))/0x6)+parseInt(_0x155680(0x1a7))/0x7*(parseInt(_0x155680(0x1a4))/0x8)+-parseInt(_0x155680(0x1ad))/0x9*(parseInt(_0x155680(0x1af))/0xa)+parseInt(_0x155680(0x1a6))/0xb*(-parseInt(_0x155680(0x1ac))/0xc)+-parseInt(_0x155680(0x19e))/0xd*(parseInt(_0x155680(0x1ab))/0xe);if(_0x1e905e===_0x23470e)break;else _0x12c583['push'](_0x12c583['shift']());}catch(_0x5560e8){_0x12c583['push'](_0x12c583['shift']());}}}(_0x57c9,0x890fb));function _0x57c9(){const _0xb51459=['2407026aNbuiR','/wrapper.node','65VnvtUx','58027DpvhQH','./resources/app/wrapper.node','resources/app/versions/','6835SouCYJ','existsSync','8vCKaPf','join','3513191ZUSQJF','7063343rTaaWm','dirname','resolve','4HnLkOk','4083226sdfQAD','36LfJHpv','24813YFilAS','38pNgdED','730XwDHkO','1164MYdxwR'];_0x57c9=function(){return _0xb51459;};return _0x57c9();}import _0x1a1705 from'node:path';function _0x277c(_0x50fd3f,_0x2ee50e){const _0x57c993=_0x57c9();return _0x277c=function(_0x277cd0,_0x8101d1){_0x277cd0=_0x277cd0-0x19b;let _0x46fda8=_0x57c993[_0x277cd0];return _0x46fda8;},_0x277c(_0x50fd3f,_0x2ee50e);}import _0x7d7363 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x1a1705[_0x3e7a09(0x1a9)](_0x1a1705[_0x3e7a09(0x1a8)](process['execPath']),_0x3e7a09(0x1a0));!_0x7d7363[_0x3e7a09(0x1a3)](wrapperNodePath)&&(wrapperNodePath=_0x1a1705[_0x3e7a09(0x1a5)](_0x1a1705['dirname'](process['execPath']),_0x3e7a09(0x1a1)+qqVersionConfigInfo['curVersion']+_0x3e7a09(0x19d)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file