diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index c1f3f829..b91f2416 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x4bf7ea=_0x185f;function _0x185f(_0x95bd67,_0x1428ff){var _0x1fe251=_0x1fe2();return _0x185f=function(_0x185ff2,_0x3d6ede){_0x185ff2=_0x185ff2-0x1d5;var _0x493874=_0x1fe251[_0x185ff2];return _0x493874;},_0x185f(_0x95bd67,_0x1428ff);}(function(_0xa623d6,_0x326683){var _0x47a88d=_0x185f,_0x49d807=_0xa623d6();while(!![]){try{var _0x24c49f=parseInt(_0x47a88d(0x1da))/0x1+-parseInt(_0x47a88d(0x1e1))/0x2*(-parseInt(_0x47a88d(0x1d6))/0x3)+parseInt(_0x47a88d(0x1d5))/0x4+parseInt(_0x47a88d(0x1db))/0x5*(parseInt(_0x47a88d(0x1e2))/0x6)+-parseInt(_0x47a88d(0x1d9))/0x7+parseInt(_0x47a88d(0x1e0))/0x8*(-parseInt(_0x47a88d(0x1d8))/0x9)+-parseInt(_0x47a88d(0x1de))/0xa*(parseInt(_0x47a88d(0x1d7))/0xb);if(_0x24c49f===_0x326683)break;else _0x49d807['push'](_0x49d807['shift']());}catch(_0x351247){_0x49d807['push'](_0x49d807['shift']());}}}(_0x1fe2,0xd504f));export class DependsAdapter{[_0x4bf7ea(0x1dc)](_0x384410,_0x5bdc70){}[_0x4bf7ea(0x1dd)](_0x1df9b6){}[_0x4bf7ea(0x1df)](_0x4666b0){}}function _0x1fe2(){var _0x278ba3=['579264ziJIXv','93isqlzT','299046xmiHQi','1134twKOIZ','3357382LTQAYD','668481KoMAyH','2025425sBtZiq','onMSFStatusChange','onMSFSsoError','40lQCnnM','getGroupCode','99256CWBUPF','64234EPTILT','18XnXkGB'];_0x1fe2=function(){return _0x278ba3;};return _0x1fe2();} \ No newline at end of file +function _0x35f0(_0x45ddbe,_0x15ce72){var _0x41fcaa=_0x41fc();return _0x35f0=function(_0x35f012,_0x5c443d){_0x35f012=_0x35f012-0x1e7;var _0x2431a3=_0x41fcaa[_0x35f012];return _0x2431a3;},_0x35f0(_0x45ddbe,_0x15ce72);}var _0x50a689=_0x35f0;(function(_0x4e4cea,_0x2cb259){var _0x26f5b3=_0x35f0,_0x47327c=_0x4e4cea();while(!![]){try{var _0x2f9002=-parseInt(_0x26f5b3(0x1eb))/0x1*(parseInt(_0x26f5b3(0x1ec))/0x2)+-parseInt(_0x26f5b3(0x1e8))/0x3+-parseInt(_0x26f5b3(0x1ee))/0x4+-parseInt(_0x26f5b3(0x1ed))/0x5*(parseInt(_0x26f5b3(0x1f2))/0x6)+parseInt(_0x26f5b3(0x1e9))/0x7*(-parseInt(_0x26f5b3(0x1e7))/0x8)+-parseInt(_0x26f5b3(0x1f1))/0x9+parseInt(_0x26f5b3(0x1ea))/0xa*(parseInt(_0x26f5b3(0x1f3))/0xb);if(_0x2f9002===_0x2cb259)break;else _0x47327c['push'](_0x47327c['shift']());}catch(_0x58de6a){_0x47327c['push'](_0x47327c['shift']());}}}(_0x41fc,0xe527e));function _0x41fc(){var _0x1bac65=['onMSFSsoError','104xAmgXP','1860831vjVaYv','124159MhYHgL','28570vJMsjR','1217551jLmOfM','2KWFgeJ','5RGkNhQ','1151148Kohjqr','onMSFStatusChange','getGroupCode','13120497UCElMF','5596674NKstHr','21890HUurpZ'];_0x41fc=function(){return _0x1bac65;};return _0x41fc();}export class DependsAdapter{[_0x50a689(0x1ef)](_0x58e085,_0x10b01c){}[_0x50a689(0x1f4)](_0x87265c){}[_0x50a689(0x1f0)](_0xd9a8f1){}} \ 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 e9fd2144..a63509bb 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x2a7a(){var _0x54a1d8=['dispatchCallWithJson','2111930heesPj','1116rYyeFa','1346366Nctgdz','1845564avwDVa','dispatchCall','8xYPSzr','2wlNPUQ','10076lZCRnl','155576MsFZRJ','9PSYrTC','8qNHGsj','dispatchRequest','1277630GrIdpw','218898AfqNzu'];_0x2a7a=function(){return _0x54a1d8;};return _0x2a7a();}function _0x2643(_0x350af8,_0x4047a9){var _0x2a7a74=_0x2a7a();return _0x2643=function(_0x264374,_0xd8fd67){_0x264374=_0x264374-0x157;var _0x4f53d5=_0x2a7a74[_0x264374];return _0x4f53d5;},_0x2643(_0x350af8,_0x4047a9);}var _0x5e1a14=_0x2643;(function(_0x2fc5d6,_0xd23c44){var _0x1f16f3=_0x2643,_0x5b0a74=_0x2fc5d6();while(!![]){try{var _0x26c190=parseInt(_0x1f16f3(0x158))/0x1*(-parseInt(_0x1f16f3(0x15a))/0x2)+parseInt(_0x1f16f3(0x15f))/0x3+parseInt(_0x1f16f3(0x15c))/0x4*(parseInt(_0x1f16f3(0x15e))/0x5)+parseInt(_0x1f16f3(0x164))/0x6+parseInt(_0x1f16f3(0x163))/0x7*(-parseInt(_0x1f16f3(0x157))/0x8)+-parseInt(_0x1f16f3(0x15b))/0x9*(parseInt(_0x1f16f3(0x161))/0xa)+-parseInt(_0x1f16f3(0x159))/0xb*(-parseInt(_0x1f16f3(0x162))/0xc);if(_0x26c190===_0xd23c44)break;else _0x5b0a74['push'](_0x5b0a74['shift']());}catch(_0x485b9b){_0x5b0a74['push'](_0x5b0a74['shift']());}}}(_0x2a7a,0x65f9d));export class DispatcherAdapter{[_0x5e1a14(0x15d)](_0x398914){}[_0x5e1a14(0x165)](_0x3496cc){}[_0x5e1a14(0x160)](_0x2ec71e){}} \ No newline at end of file +var _0x21a73c=_0x4ca0;function _0x4525(){var _0x1e7189=['4599944QUIjiF','5686318nlZYGW','3616750RrpwJs','1589MNnUkC','9697644tGhTDj','dispatchCall','dispatchCallWithJson','8TjmnJr','469501TnIPei','70VQjiNX','1091106pclQTY','4OrLowl','dispatchRequest','5628kisnit'];_0x4525=function(){return _0x1e7189;};return _0x4525();}(function(_0x2ec7a8,_0xbd9ca1){var _0x2e4250=_0x4ca0,_0x46c833=_0x2ec7a8();while(!![]){try{var _0x404bf5=parseInt(_0x2e4250(0xd1))/0x1*(-parseInt(_0x2e4250(0xd4))/0x2)+parseInt(_0x2e4250(0xd3))/0x3*(-parseInt(_0x2e4250(0xd0))/0x4)+parseInt(_0x2e4250(0xd9))/0x5+-parseInt(_0x2e4250(0xd6))/0x6*(parseInt(_0x2e4250(0xcc))/0x7)+-parseInt(_0x2e4250(0xd7))/0x8+-parseInt(_0x2e4250(0xcd))/0x9+parseInt(_0x2e4250(0xd2))/0xa*(parseInt(_0x2e4250(0xd8))/0xb);if(_0x404bf5===_0xbd9ca1)break;else _0x46c833['push'](_0x46c833['shift']());}catch(_0x36afcd){_0x46c833['push'](_0x46c833['shift']());}}}(_0x4525,0xc5c5b));function _0x4ca0(_0x35533e,_0x465b8e){var _0x45250e=_0x4525();return _0x4ca0=function(_0x4ca06b,_0x473284){_0x4ca06b=_0x4ca06b-0xcc;var _0x480802=_0x45250e[_0x4ca06b];return _0x480802;},_0x4ca0(_0x35533e,_0x465b8e);}export class DispatcherAdapter{[_0x21a73c(0xd5)](_0x4c3cea){}[_0x21a73c(0xce)](_0x1fc5e3){}[_0x21a73c(0xcf)](_0xf64265){}} \ 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 c9b726e9..322cfdab 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x525d(){var _0x2adecf=['3088806sFlLun','onInstallFinished','fixPicImgType','1942758HIdosH','onShowErrUITips','1107VEsNHr','12483740mQeARn','onGetSrvCalTime','1bswlCD','onGetOfflineMsg','8XsgiPz','19688wjpxJd','72pRhZyo','161LywDxD','onLog','getAppSetting','2287879LDUvZK','3241090iWTabE','45348gAegsR'];_0x525d=function(){return _0x2adecf;};return _0x525d();}function _0x2095(_0x5482f3,_0x3ddab0){var _0x525ddd=_0x525d();return _0x2095=function(_0x2095dc,_0x5259d4){_0x2095dc=_0x2095dc-0x14d;var _0x3c9f00=_0x525ddd[_0x2095dc];return _0x3c9f00;},_0x2095(_0x5482f3,_0x3ddab0);}var _0x413af0=_0x2095;(function(_0x5d0886,_0x313b66){var _0x5c3529=_0x2095,_0xb187fe=_0x5d0886();while(!![]){try{var _0x3ec8b1=-parseInt(_0x5c3529(0x14d))/0x1*(parseInt(_0x5c3529(0x158))/0x2)+parseInt(_0x5c3529(0x15b))/0x3+-parseInt(_0x5c3529(0x14f))/0x4*(parseInt(_0x5c3529(0x156))/0x5)+parseInt(_0x5c3529(0x157))/0x6*(parseInt(_0x5c3529(0x152))/0x7)+parseInt(_0x5c3529(0x150))/0x8*(parseInt(_0x5c3529(0x15d))/0x9)+parseInt(_0x5c3529(0x15e))/0xa+-parseInt(_0x5c3529(0x155))/0xb*(-parseInt(_0x5c3529(0x151))/0xc);if(_0x3ec8b1===_0x313b66)break;else _0xb187fe['push'](_0xb187fe['shift']());}catch(_0x54187e){_0xb187fe['push'](_0xb187fe['shift']());}}}(_0x525d,0xbe548));export class GlobalAdapter{[_0x413af0(0x153)](..._0x3a220e){}[_0x413af0(0x15f)](..._0x10a14a){}[_0x413af0(0x15c)](..._0x327450){}[_0x413af0(0x15a)](..._0x377f4d){}[_0x413af0(0x154)](..._0x4a42df){}[_0x413af0(0x159)](..._0x5b269a){}['onUpdateGeneralFlag'](..._0x525f19){}[_0x413af0(0x14e)](..._0xc265cd){}} \ No newline at end of file +function _0xa24c(_0x16bf78,_0x29075d){var _0x2607d8=_0x2607();return _0xa24c=function(_0xa24c0f,_0x12f123){_0xa24c0f=_0xa24c0f-0x1c4;var _0x34bc9b=_0x2607d8[_0xa24c0f];return _0x34bc9b;},_0xa24c(_0x16bf78,_0x29075d);}var _0x5d1bb8=_0xa24c;(function(_0x50fcbd,_0x407c0b){var _0x566ec1=_0xa24c,_0x127408=_0x50fcbd();while(!![]){try{var _0x26f0a2=-parseInt(_0x566ec1(0x1d0))/0x1*(parseInt(_0x566ec1(0x1c8))/0x2)+parseInt(_0x566ec1(0x1c6))/0x3+-parseInt(_0x566ec1(0x1ca))/0x4*(-parseInt(_0x566ec1(0x1cc))/0x5)+-parseInt(_0x566ec1(0x1c7))/0x6+parseInt(_0x566ec1(0x1c4))/0x7+-parseInt(_0x566ec1(0x1cb))/0x8+parseInt(_0x566ec1(0x1cd))/0x9*(parseInt(_0x566ec1(0x1c9))/0xa);if(_0x26f0a2===_0x407c0b)break;else _0x127408['push'](_0x127408['shift']());}catch(_0x139fa0){_0x127408['push'](_0x127408['shift']());}}}(_0x2607,0x6ed0b));function _0x2607(){var _0x418d09=['201164QNiUMs','1125344pWcjHO','25ldmyUF','414324nwAetn','onGetSrvCalTime','fixPicImgType','19LZWjWQ','onLog','onGetOfflineMsg','907018WnimWw','onInstallFinished','785340UJtbPP','3468078BYxLbv','65382oszsZa','250cTpAFF'];_0x2607=function(){return _0x418d09;};return _0x2607();}export class GlobalAdapter{[_0x5d1bb8(0x1d1)](..._0x598d79){}[_0x5d1bb8(0x1ce)](..._0x278086){}['onShowErrUITips'](..._0x25426e){}[_0x5d1bb8(0x1cf)](..._0x4b3224){}['getAppSetting'](..._0x48977f){}[_0x5d1bb8(0x1c5)](..._0x2ee602){}['onUpdateGeneralFlag'](..._0x554afa){}[_0x5d1bb8(0x1d2)](..._0x25c0f9){}} \ 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 edf0e8cd..4aab2ae9 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x10e4(_0x2150f4,_0x2e06dd){var _0x2d8095=_0x2d80();return _0x10e4=function(_0x10e441,_0x1e0ea0){_0x10e441=_0x10e441-0x9c;var _0x3ba591=_0x2d8095[_0x10e441];return _0x3ba591;},_0x10e4(_0x2150f4,_0x2e06dd);}(function(_0x53dd8e,_0x559fd5){var _0x4a0db7=_0x10e4,_0x25662c=_0x53dd8e();while(!![]){try{var _0x279b5a=parseInt(_0x4a0db7(0x9d))/0x1*(parseInt(_0x4a0db7(0x9c))/0x2)+-parseInt(_0x4a0db7(0xa0))/0x3+parseInt(_0x4a0db7(0xa1))/0x4*(parseInt(_0x4a0db7(0xa5))/0x5)+parseInt(_0x4a0db7(0xa4))/0x6*(-parseInt(_0x4a0db7(0x9e))/0x7)+-parseInt(_0x4a0db7(0xa2))/0x8+-parseInt(_0x4a0db7(0x9f))/0x9*(-parseInt(_0x4a0db7(0xa6))/0xa)+parseInt(_0x4a0db7(0xa3))/0xb;if(_0x279b5a===_0x559fd5)break;else _0x25662c['push'](_0x25662c['shift']());}catch(_0x3cd88c){_0x25662c['push'](_0x25662c['shift']());}}}(_0x2d80,0xd3f37));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x2d80(){var _0x17a9d8=['20ALLMCu','300Qyengr','50ArbpGt','29446TbocJE','7XnFDkS','75996IHQsNA','4341798CpnrMB','199064uvUFRi','12991352RJxzLq','43135741sVSAIZ','7023774JNVLPr'];_0x2d80=function(){return _0x17a9d8;};return _0x2d80();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x8e90de,_0x371735){var _0x4324d8=_0x2404,_0x2f8d7f=_0x8e90de();while(!![]){try{var _0x1f44a6=parseInt(_0x4324d8(0xf5))/0x1*(parseInt(_0x4324d8(0xf1))/0x2)+-parseInt(_0x4324d8(0xfb))/0x3*(-parseInt(_0x4324d8(0xf4))/0x4)+parseInt(_0x4324d8(0xf9))/0x5*(parseInt(_0x4324d8(0xf3))/0x6)+parseInt(_0x4324d8(0xf2))/0x7*(-parseInt(_0x4324d8(0xf0))/0x8)+-parseInt(_0x4324d8(0xf8))/0x9+parseInt(_0x4324d8(0xf6))/0xa*(parseInt(_0x4324d8(0xf7))/0xb)+-parseInt(_0x4324d8(0xfa))/0xc;if(_0x1f44a6===_0x371735)break;else _0x2f8d7f['push'](_0x2f8d7f['shift']());}catch(_0x480fb3){_0x2f8d7f['push'](_0x2f8d7f['shift']());}}}(_0x4afd,0x2b9ab));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x2404(_0x42f249,_0x3aec01){var _0x4afdd2=_0x4afd();return _0x2404=function(_0x24045f,_0x2d2154){_0x24045f=_0x24045f-0xf0;var _0x400b54=_0x4afdd2[_0x24045f];return _0x400b54;},_0x2404(_0x42f249,_0x3aec01);}export*from'./NodeIGlobalAdapter';function _0x4afd(){var _0x598a58=['10SgqMYE','1606693swhDXQ','2077083yfSuSy','872725ARtBFM','2060088UQjiPC','549018ZNkPxt','2204104GxrsJI','2dICIxG','7IrzGDX','12MjDovD','4tDQKNz','178418pdpvRa'];_0x4afd=function(){return _0x598a58;};return _0x4afd();} \ 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 a7a1e0ec..76babcff 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x4524d8=_0x24fa;(function(_0x597381,_0x2985c3){const _0x23673f=_0x24fa,_0x415d1b=_0x597381();while(!![]){try{const _0x20c1cd=-parseInt(_0x23673f(0x10d))/0x1+-parseInt(_0x23673f(0xec))/0x2+-parseInt(_0x23673f(0x13f))/0x3+-parseInt(_0x23673f(0x13e))/0x4*(-parseInt(_0x23673f(0x100))/0x5)+-parseInt(_0x23673f(0x13c))/0x6*(parseInt(_0x23673f(0x139))/0x7)+parseInt(_0x23673f(0x116))/0x8+parseInt(_0x23673f(0x131))/0x9*(parseInt(_0x23673f(0x111))/0xa);if(_0x20c1cd===_0x2985c3)break;else _0x415d1b['push'](_0x415d1b['shift']());}catch(_0x3c9214){_0x415d1b['push'](_0x415d1b['shift']());}}}(_0x291c,0xb6900));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1a2245 from'path';function _0x291c(){const _0x3903de=['find','getImageSize','getDesktopTmpPath','getImageUrl','getRKey','scanCache','addListener','检查rkey是否有效','kwIXS','getMsgService','xcipk','getFileType','getFileCacheInfo',',\x20rkey:','clearCacheDataByKeys','DLIJk','get','EANIE','getFileSize','221085QemaZB','now','YrcGH','开始调用moeHook获取rkey','delete','hookApi\x20is\x20not\x20available','hotUpdate','picElement','session','获取图片rkey...','addCacheScanedPaths','start\x20downloadMedia','getStorageCleanService','658068InLJdh','DZjvx','statusCode','YrDIe','20gmxAoT','basename','bpDny','existsSync','ygmbT','10804056QVAaMu','yDLAg','peerUid','onRichMediaDownloadComplete','chatType','BkqHG','GxWlu','copyFile','VUJsM','VikLT','sduYl','yyufu','receive\x20downloadMedia\x20task','YLoas','md5HexStr','xzXDa','图片rkey有误','fRbEq','downloadMedia','util','setCacheSilentScan','set','onLoginSuccess','startsWith','WeOeD','error','tXUQH','14757453QlrHLs','/gchatpic_new/0/0-0-','clearChatCacheInfo','filePath','xlJiC','originImageUrl','getHotUpdateCachePath','join','21OPTXpa','rkey过期或着未获取,\x20url:','nCRML','2805798BNafLX','downloadPath','20fqmUpu','3132567QoycLf','getCacheSessionPathList','fileTypeFromFile','addCacheScannedPaths','Licgl','jwMeM','msgId','UGeef','图片rkey获取失败','akBQK','/download','getRichMediaFilePathForGuild','gibME','PSWUd','uJDUc','xwjcP','ext','sourcePath','catch','xgVKP','图片rkey有效','VvyZE','includes','drGKh','oKAem','tegqS','clearCache','defaultFileDownloadPath','clearChatCache','1996188ysfwOr'];_0x291c=function(){return _0x3903de;};return _0x291c();}import _0x41d03a from'fs';import _0x926685 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2e9c62 from'file-type';import{MsgListener}from'@/core/listeners';import _0x3c648e from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x24fa(_0x41d7a3,_0xc7763f){const _0x291cc4=_0x291c();return _0x24fa=function(_0x24fa7f,_0x104354){_0x24fa7f=_0x24fa7f-0xe6;let _0x3b04fb=_0x291cc4[_0x24fa7f];return _0x3b04fb;},_0x24fa(_0x41d7a3,_0xc7763f);}import{sleep}from'@/common/utils/helper';import _0x35b275 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x4524d8(0x119)]=_0x5f3432=>{const _0x4e9b03=_0x4524d8;for(const [_0x4597f6,_0x1e2525]of downloadMediaTasks){_0x1e2525(_0x5f3432),downloadMediaTasks[_0x4e9b03(0x104)](_0x4597f6);}},setTimeout(()=>{const _0x55b7e8=_0x4524d8;napCatCore[_0x55b7e8(0x12c)](()=>{const _0x1885d5=_0x55b7e8;napCatCore[_0x1885d5(0xf3)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4b8b1a){const _0xf8cd50=_0x4524d8;return _0x2e9c62[_0xf8cd50(0x141)](_0x4b8b1a);}static async[_0x4524d8(0x11d)](_0x4e40b5,_0x29c872){const _0x46b029=_0x4524d8;await napCatCore[_0x46b029(0x129)][_0x46b029(0x11d)](_0x4e40b5,_0x29c872);}static async['getFileSize'](_0x343d84){const _0x3a45f7=_0x4524d8;return await napCatCore[_0x3a45f7(0x129)][_0x3a45f7(0xff)](_0x343d84);}static async['uploadFile'](_0x34e24d,_0x38cf50=ElementType['PIC'],_0x1f65c2=0x0){const _0x58e67c=_0x4524d8,_0x2d5ba7={'DLIJk':function(_0x32b09e,_0x1c60de){return _0x32b09e+_0x1c60de;},'xwjcP':function(_0x4d1a8d,_0x15bd2d){return _0x4d1a8d===_0x15bd2d;}},_0x1a609f=await calculateFileMD5(_0x34e24d);let _0x5ec464=(await NTQQFileApi[_0x58e67c(0xf8)](_0x34e24d))?.[_0x58e67c(0x14f)]||'';_0x5ec464&&(_0x5ec464=_0x2d5ba7[_0x58e67c(0xfc)]('.',_0x5ec464));let _0x47ed03=''+_0x1a2245[_0x58e67c(0x112)](_0x34e24d);_0x2d5ba7[_0x58e67c(0x14e)](_0x47ed03['indexOf']('.'),-0x1)&&(_0x47ed03+=_0x5ec464);const _0x183de4=napCatCore[_0x58e67c(0x108)][_0x58e67c(0xf6)]()[_0x58e67c(0x14a)]({'md5HexStr':_0x1a609f,'fileName':_0x47ed03,'elementType':_0x38cf50,'elementSubType':_0x1f65c2,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x34e24d,_0x183de4);const _0x2e2561=await NTQQFileApi[_0x58e67c(0xff)](_0x34e24d);return{'md5':_0x1a609f,'fileName':_0x47ed03,'path':_0x183de4,'fileSize':_0x2e2561,'ext':_0x5ec464};}static async[_0x4524d8(0x128)](_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba=0x3e8*0x3c*0x2,_0x38f7b0=![]){const _0x4aba6a=_0x4524d8,_0x4969b8={'hEiQL':'downloadMedia\x20complete','uJDUc':function(_0x8884d8,_0x4051d2){return _0x8884d8===_0x4051d2;},'GBJdJ':_0x4aba6a(0x13d),'VUJsM':function(_0x127b46,_0x3c7b62){return _0x127b46(_0x3c7b62);},'YrcGH':'下载超时','yyufu':function(_0x43b48d){return _0x43b48d();},'akBQK':function(_0x2dc11f,_0x19bdde,_0x114442,_0x341b57,_0x5507c2,_0x155c3b,_0x3d39e9,_0x3df3bc,_0x1f6dc0,_0x4a0a64){return _0x2dc11f(_0x19bdde,_0x114442,_0x341b57,_0x5507c2,_0x155c3b,_0x3d39e9,_0x3df3bc,_0x1f6dc0,_0x4a0a64);},'sduYl':_0x4aba6a(0x122),'xcipk':function(_0x4375fd,_0x194afb,_0x3e29b1,_0x729e83,_0x19183c,_0xce73c9,_0x4c2add,_0x14d22d,_0x1e4e2b,_0xc57434){return _0x4375fd(_0x194afb,_0x3e29b1,_0x729e83,_0x19183c,_0xce73c9,_0x4c2add,_0x14d22d,_0x1e4e2b,_0xc57434);},'DZjvx':_0x4aba6a(0x10b)};_0x4969b8[_0x4aba6a(0x148)](logDebug,_0x4969b8[_0x4aba6a(0x120)],_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba,_0x38f7b0);if(_0x4c8580&&_0x41d03a[_0x4aba6a(0x114)](_0x4c8580)){if(_0x38f7b0)try{await _0x926685['unlink'](_0x4c8580);}catch(_0x46b984){}else return _0x4c8580;}return _0x4969b8[_0x4aba6a(0xf7)](logDebug,_0x4969b8[_0x4aba6a(0x10e)],_0x37fe91,_0x2de1a8,_0x1a106a,_0x4b5403,_0x58d238,_0x4c8580,_0x419cba,_0x38f7b0),new Promise((_0x3d2b16,_0x4cf616)=>{const _0x4925c3=_0x4aba6a;let _0x48527e=![];const _0x185df7=_0x373973=>{const _0x2bb20e=_0x24fa;logDebug(_0x4969b8['hEiQL'],_0x373973,_0x37fe91);if(_0x4969b8[_0x2bb20e(0x14d)](_0x373973[_0x2bb20e(0x145)],_0x37fe91)){_0x48527e=!![];let _0x17489a=_0x373973[_0x2bb20e(0x134)];if(_0x17489a[_0x2bb20e(0x12d)]('\x5c')){const _0x1d0668=sessionConfig[_0x2bb20e(0xea)];logDebug(_0x4969b8['GBJdJ'],_0x1d0668),_0x17489a=_0x1a2245[_0x2bb20e(0x138)](_0x1d0668,_0x17489a);}_0x4969b8[_0x2bb20e(0x11e)](_0x3d2b16,_0x17489a);}};downloadMediaTasks[_0x4925c3(0x12b)](_0x4969b8[_0x4925c3(0x121)](randomUUID),_0x185df7),setTimeout(()=>{const _0x1483dc=_0x4925c3;!_0x48527e&&_0x4969b8[_0x1483dc(0x11e)](_0x4cf616,_0x4969b8[_0x1483dc(0x102)]);},_0x419cba),napCatCore['session'][_0x4925c3(0xf6)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x37fe91,'chatType':_0x2de1a8,'peerUid':_0x1a106a,'elementId':_0x4b5403,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x58d238});});}static async[_0x4524d8(0xee)](_0x520ea1){const _0x35a7ce={'jwMeM':function(_0x3f833f,_0x2f19e6){return _0x3f833f(_0x2f19e6);},'nCRML':function(_0x47a200,_0x344ae8,_0x17c8ce){return _0x47a200(_0x344ae8,_0x17c8ce);}};return new Promise((_0x43f066,_0x49beec)=>{const _0x2505a3=_0x24fa;_0x35a7ce[_0x2505a3(0x13b)](_0x3c648e,_0x520ea1,(_0x3dd2d3,_0x1df026)=>{const _0x5e6ecb=_0x2505a3;_0x3dd2d3?_0x35a7ce[_0x5e6ecb(0x144)](_0x49beec,_0x3dd2d3):_0x35a7ce['jwMeM'](_0x43f066,_0x1df026);});});}static async[_0x4524d8(0xf0)](_0x1e2c8b){const _0x115154=_0x4524d8,_0x2c1aba={'gibME':_0x115154(0x12f),'UGeef':_0x115154(0x147),'xgVKP':function(_0x47f116,_0x252165){return _0x47f116(_0x252165);},'Licgl':_0x115154(0x109),'drGKh':function(_0x2a87cc,_0x13e5b1){return _0x2a87cc*_0x13e5b1;},'MLZph':function(_0x1dd533,_0x53b9f1){return _0x1dd533(_0x53b9f1);},'WeOeD':_0x115154(0x103),'kwIXS':function(_0x3345d8,_0x538703){return _0x3345d8+_0x538703;},'bpDny':_0x115154(0xf4),'VvyZE':_0x115154(0x153),'GxWlu':function(_0x4a4c0f,_0x389c0d){return _0x4a4c0f(_0x389c0d);},'fRbEq':function(_0x932f40,_0x4174ad,_0x5334f7,_0xaf22fa){return _0x932f40(_0x4174ad,_0x5334f7,_0xaf22fa);},'oKAem':_0x115154(0x126),'PSWUd':function(_0x2de3fa,_0x409491){return _0x2de3fa!==_0x409491;},'xlJiC':_0x115154(0x149),'yDLAg':'&rkey=','tXUQH':function(_0x4b1142,_0x23dc87){return _0x4b1142(_0x23dc87);},'YrDIe':_0x115154(0x105),'VoNMG':function(_0x400218,_0x46436f){return _0x400218>_0x46436f;},'BkqHG':function(_0x2c9925,_0x586430){return _0x2c9925(_0x586430);},'YLoas':function(_0x27659b,_0x3574b4,_0x1d42dc){return _0x27659b(_0x3574b4,_0x1d42dc);},'jmJza':function(_0x41f49c,_0x1c6ba9){return _0x41f49c+_0x1c6ba9;},'ygmbT':function(_0x4ba486,_0xea7fdf){return _0x4ba486+_0xea7fdf;},'VikLT':function(_0x1c8e5d,_0x4d2503){return _0x1c8e5d||_0x4d2503;},'xzXDa':'图片url获取失败'},_0x478e7b=_0x2c1aba[_0x115154(0x14c)](_0x1e2c8b[_0x115154(0x11a)],ChatType['group']),_0x46468b=_0x1e2c8b['elements'][_0x115154(0xed)](_0x286e58=>!!_0x286e58['picElement']);if(!_0x46468b)return'';const _0x23dd6c=_0x46468b[_0x115154(0x107)][_0x115154(0x136)],_0x273b80=_0x46468b[_0x115154(0x107)][_0x115154(0x124)],_0x308fb6=_0x46468b[_0x115154(0x107)]['md5HexStr'],_0x2c2fc1=_0x46468b[_0x115154(0x107)]['fileUuid'],_0x4c6580=_0x2468a4=>{const _0x2c8172=_0x115154;_0x478e7b?(privateImageRKey=_0x2468a4,lastGetPrivateRKeyTime=Date[_0x2c8172(0x101)]()):(groupImageRKey=_0x2468a4,lastGetGroupRKeyTime=Date[_0x2c8172(0x101)]());};if(_0x23dd6c){if(_0x23dd6c[_0x115154(0x12d)](_0x2c1aba[_0x115154(0x135)])){if(_0x23dd6c[_0x115154(0x155)](_0x2c1aba[_0x115154(0x117)]))return _0x2c1aba[_0x115154(0xf5)](IMAGE_HTTP_HOST_NT,_0x23dd6c);if(!hookApi['isAvailable']())return _0x2c1aba[_0x115154(0x130)](logDebug,_0x2c1aba[_0x115154(0x110)]),'';const _0x817beb=async()=>{const _0xc6f735=_0x115154,_0x29c1c0={'tegqS':function(_0x509004,_0x2deb68){return _0x509004(_0x2deb68);},'EWZiP':_0x2c1aba[_0xc6f735(0x146)]};_0x2c1aba[_0xc6f735(0x152)](logDebug,_0x2c1aba[_0xc6f735(0x143)]),NTQQFileApi[_0xc6f735(0x128)](_0x1e2c8b['msgId'],_0x1e2c8b[_0xc6f735(0x11a)],_0x1e2c8b[_0xc6f735(0x118)],_0x46468b['elementId'],'',_0x46468b[_0xc6f735(0x107)][_0xc6f735(0x150)],_0x2c1aba[_0xc6f735(0xe6)](0x3e8,0x1e),!![])['then'](_0xa5c6f4=>{})[_0xc6f735(0x151)](logError),await _0x2c1aba['MLZph'](sleep,0x3e8),_0x2c1aba['MLZph'](logDebug,_0x2c1aba[_0xc6f735(0x12e)]);const _0x270afe=hookApi[_0xc6f735(0xf1)]()||'',_0x30294e=_0x2c1aba[_0xc6f735(0xf5)](IMAGE_HTTP_HOST_NT,_0x23dd6c)+_0x270afe;if(_0x270afe)try{logDebug(_0x2c1aba[_0xc6f735(0x113)],_0x30294e),await new Promise((_0x1a2c47,_0x1cf5c9)=>{const _0x56ba61=_0xc6f735;_0x35b275[_0x56ba61(0xfd)](_0x30294e,_0xff0cae=>{const _0xbf9519=_0x56ba61;_0xff0cae[_0xbf9519(0x10f)]!==0xc8?_0x29c1c0[_0xbf9519(0xe8)](_0x1cf5c9,_0x29c1c0['EWZiP']):_0x29c1c0['tegqS'](_0x1a2c47,_0xff0cae);})['on'](_0x2c1aba[_0x56ba61(0x14b)],_0x1b3e9e=>{_0x1cf5c9(_0x1b3e9e);});}),logDebug(_0x2c1aba[_0xc6f735(0x154)],_0x30294e),_0x2c1aba[_0xc6f735(0x11c)](_0x4c6580,_0x270afe);}catch(_0x44b196){return _0x2c1aba[_0xc6f735(0x127)](logError,_0x2c1aba[_0xc6f735(0xe7)],_0x30294e,_0x44b196),'';}return _0x270afe;},_0x10353f=()=>new Promise((_0x5ec723,_0x3f2506)=>{const _0x5b9c07={'EANIE':function(_0x2a6df6){return _0x2a6df6();}};getRKeyTaskQueue['addTask'](async()=>{const _0x890b77=_0x24fa,_0x147301=await _0x5b9c07[_0x890b77(0xfe)](_0x817beb);_0x5ec723(_0x147301);});}),_0xd5ea3f=_0x478e7b?privateImageRKey:groupImageRKey,_0x1cc785=_0x478e7b?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x2c1aba['VoNMG'](Date[_0x115154(0x101)]()-_0x1cc785,rkeyExpireTime)||!_0xd5ea3f){_0x2c1aba[_0x115154(0x11b)](logDebug,_0x115154(0x13a)+_0x23dd6c+_0x115154(0xfa)+_0xd5ea3f);const _0x2074e6=await _0x10353f();if(_0x2074e6)return _0x2c1aba['kwIXS'](IMAGE_HTTP_HOST_NT,_0x23dd6c)+(''+_0x2074e6);else _0x2c1aba[_0x115154(0x123)](logError,'图片rkey获取失败',_0x23dd6c);}if(_0xd5ea3f)return _0x2c1aba[_0x115154(0xf5)](_0x2c1aba['jmJza'](IMAGE_HTTP_HOST_NT,_0x23dd6c),''+_0xd5ea3f);return'';}else return _0x2c1aba[_0x115154(0x115)](IMAGE_HTTP_HOST,_0x23dd6c);}else{if(_0x2c1aba[_0x115154(0x11f)](_0x308fb6,_0x273b80))return IMAGE_HTTP_HOST+_0x115154(0x132)+(_0x308fb6||_0x273b80)['toUpperCase']()+'/0';}return _0x2c1aba[_0x115154(0x123)](logDebug,_0x2c1aba[_0x115154(0x125)],_0x1e2c8b),'';}}export class NTQQFileCacheApi{static async[_0x4524d8(0x12a)](_0x54dfe6=!![]){return'';}static[_0x4524d8(0x140)](){return'';}static[_0x4524d8(0xe9)](_0x2036cf=['tmp',_0x4524d8(0x106)]){const _0x445f39=_0x4524d8;return napCatCore['session'][_0x445f39(0x10c)]()[_0x445f39(0xfb)](_0x2036cf);}static[_0x4524d8(0x142)](_0x32f1ab={}){const _0x524ff8=_0x4524d8;return napCatCore[_0x524ff8(0x108)][_0x524ff8(0x10c)]()[_0x524ff8(0x10a)](_0x32f1ab);}static[_0x4524d8(0xf2)](){const _0x33f28b=_0x4524d8;return napCatCore[_0x33f28b(0x108)]['getStorageCleanService']()['scanCache']();}static[_0x4524d8(0x137)](){return'';}static[_0x4524d8(0xef)](){return'';}static['getChatCacheList'](_0xf99f57,_0x5aa3a4=0x3e8,_0x37457c=0x0){const _0x3c9b6f=_0x4524d8;return napCatCore[_0x3c9b6f(0x108)]['getStorageCleanService']()['getChatCacheInfo'](_0xf99f57,_0x5aa3a4,0x1,_0x37457c);}static[_0x4524d8(0xf9)](_0x17cdb8,_0x138a0b=0x3e8,_0x42fcda){const _0x57f74e=_0x42fcda?_0x42fcda:{'fileType':_0x17cdb8};}static async[_0x4524d8(0xeb)](_0x84591b=[],_0x564a93=[]){const _0x487c76=_0x4524d8;return napCatCore[_0x487c76(0x108)][_0x487c76(0x10c)]()[_0x487c76(0x133)](_0x84591b,_0x564a93);}} \ No newline at end of file +const _0x79193a=_0x3d55;(function(_0x57a2b2,_0x1f3aa7){const _0x2e8692=_0x3d55,_0x1f1c10=_0x57a2b2();while(!![]){try{const _0x42813e=parseInt(_0x2e8692(0x203))/0x1+-parseInt(_0x2e8692(0x1f7))/0x2*(-parseInt(_0x2e8692(0x1c8))/0x3)+-parseInt(_0x2e8692(0x232))/0x4+-parseInt(_0x2e8692(0x1e6))/0x5*(parseInt(_0x2e8692(0x1cb))/0x6)+parseInt(_0x2e8692(0x1d0))/0x7*(parseInt(_0x2e8692(0x1f6))/0x8)+parseInt(_0x2e8692(0x20e))/0x9+-parseInt(_0x2e8692(0x210))/0xa;if(_0x42813e===_0x1f3aa7)break;else _0x1f1c10['push'](_0x1f1c10['shift']());}catch(_0x409210){_0x1f1c10['push'](_0x1f1c10['shift']());}}}(_0x5d07,0xe6960));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x11ddd4 from'path';import _0x394ffc from'fs';import _0x5861c3 from'fs/promises';import{logDebug,logError}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x327abe from'file-type';import{MsgListener}from'@/core/listeners';import _0x9ea2b2 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{hookApi}from'@/core/external/hook';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x5d07(){const _0x5148ef=['fBpAu','isAvailable','join','图片rkey获取失败','getStorageCleanService','ZBfBv','defaultFileDownloadPath','ext','set','117837gVWKth','getDesktopTmpPath','获取图片rkey...','4908WcFWYn','receive\x20downloadMedia\x20task',',\x20rkey:','getChatCacheList','Fasci','269934nkupxz','KlQKq','then','NBqlM','onLoginSuccess','yxXtE','sourcePath','rIFME','copyFile','includes','getCacheSessionPathList','group','downloadMedia','TcjCI','PIC','WVmWV','scanCache','eJvaZ','startsWith','getRKey','EdYcr','clearChatCache','3660pRPksk','MRfCj','fileTypeFromFile','getFileType','getMsgService','qfDCs','util','图片rkey有效','uploadFile','picElement','TBlGy','fileUuid','RoPJq','indexOf','downloadMedia\x20complete','downloadPath','352MXTFtr','12EbVsWh','get','clearCache','gKNLB','downloadRichMedia','getImageSize','AdNob','catch','getHotUpdateCachePath','HzgVo','md5HexStr','tnGre','1662318jopzFj','TVZig','originImageUrl','getChatCacheInfo','HnRIY','session','nIOgg','/download','xVOAo','unlink','find','12731913SMXIBN','hotUpdate','34554640mROKyX','onRichMediaDownloadComplete','GdiIX','clearChatCacheInfo','iJbJM','now','msgId','TtzGs','ayzkw','filePath','tmp','rjXeu','lmFQE','xkwna','QVYNs','setCacheSilentScan','addTask','qoyaf','ntBIe','addCacheScanedPaths','peerUid','existsSync','delete','getFileSize','JJITc','图片rkey有误','BcIQO','DdaZg','getRichMediaFilePathForGuild','hookApi\x20is\x20not\x20available','NUjiU','IkwQC','addListener','&rkey=','42628emlPes','addCacheScannedPaths','clearCacheDataByKeys','FgmjH','start\x20downloadMedia','/gchatpic_new/0/0-0-','getImageUrl','AHjez'];_0x5d07=function(){return _0x5148ef;};return _0x5d07();}import{sleep}from'@/common/utils/helper';import _0x546ee0 from'https';let privateImageRKey='',groupImageRKey='',lastGetPrivateRKeyTime=0x0,lastGetGroupRKeyTime=0x0;const rkeyExpireTime=0x3e8*0x3c*0x1e,getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x79193a(0x211)]=_0x32deb1=>{const _0x4236a2=_0x79193a,_0x1572c2={'GdiIX':function(_0x5c147b,_0x3aaa42){return _0x5c147b(_0x3aaa42);}};for(const [_0x3996ef,_0x1b1b7b]of downloadMediaTasks){_0x1572c2[_0x4236a2(0x212)](_0x1b1b7b,_0x32deb1),downloadMediaTasks[_0x4236a2(0x226)](_0x3996ef);}},setTimeout(()=>{const _0x4f860f=_0x79193a;napCatCore[_0x4f860f(0x1d4)](()=>{const _0x2a68e7=_0x4f860f;napCatCore[_0x2a68e7(0x230)](downloadMediaListener);});},0x64);function _0x3d55(_0x4ad99d,_0x2584a3){const _0x5d07bd=_0x5d07();return _0x3d55=function(_0x3d559b,_0x26db11){_0x3d559b=_0x3d559b-0x1bc;let _0x3d17ec=_0x5d07bd[_0x3d559b];return _0x3d17ec;},_0x3d55(_0x4ad99d,_0x2584a3);}export class NTQQFileApi{static async['getFileType'](_0x5bd7f9){const _0x4d22c2=_0x79193a;return _0x327abe[_0x4d22c2(0x1e8)](_0x5bd7f9);}static async[_0x79193a(0x1d8)](_0x6bb784,_0x10af1c){const _0x540b60=_0x79193a;await napCatCore[_0x540b60(0x1ec)][_0x540b60(0x1d8)](_0x6bb784,_0x10af1c);}static async[_0x79193a(0x227)](_0x1e0a2a){const _0x4fa3e8=_0x79193a;return await napCatCore[_0x4fa3e8(0x1ec)]['getFileSize'](_0x1e0a2a);}static async[_0x79193a(0x1ee)](_0x4f2f51,_0x86986a=ElementType[_0x79193a(0x1de)],_0xa98b66=0x0){const _0xe9424e=_0x79193a,_0x191e91={'LEbkU':function(_0x129279,_0x4000ac){return _0x129279+_0x4000ac;},'ayzkw':function(_0x591447,_0x324d94){return _0x591447===_0x324d94;}},_0x344cd7=await calculateFileMD5(_0x4f2f51);let _0x82f36=(await NTQQFileApi[_0xe9424e(0x1e9)](_0x4f2f51))?.[_0xe9424e(0x1c6)]||'';_0x82f36&&(_0x82f36=_0x191e91['LEbkU']('.',_0x82f36));let _0x14597b=''+_0x11ddd4['basename'](_0x4f2f51);_0x191e91[_0xe9424e(0x218)](_0x14597b[_0xe9424e(0x1f3)]('.'),-0x1)&&(_0x14597b+=_0x82f36);const _0x36a799=napCatCore[_0xe9424e(0x208)]['getMsgService']()[_0xe9424e(0x22c)]({'md5HexStr':_0x344cd7,'fileName':_0x14597b,'elementType':_0x86986a,'elementSubType':_0xa98b66,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x4f2f51,_0x36a799);const _0x3fda23=await NTQQFileApi['getFileSize'](_0x4f2f51);return{'md5':_0x344cd7,'fileName':_0x14597b,'path':_0x36a799,'fileSize':_0x3fda23,'ext':_0x82f36};}static async[_0x79193a(0x1dc)](_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33=0x3e8*0x3c*0x2,_0x5df687=![]){const _0x3d25a0=_0x79193a,_0x8164a7={'iJbJM':'下载超时','fBpAu':function(_0x31a3bf,_0x13181a,_0xfd50a8,_0x5156a3){return _0x31a3bf(_0x13181a,_0xfd50a8,_0x5156a3);},'ntBIe':function(_0x25a739,_0xce8cbf){return _0x25a739===_0xce8cbf;},'IkwQC':function(_0x220bb0,_0x45cc4f,_0x3db81f){return _0x220bb0(_0x45cc4f,_0x3db81f);},'DdaZg':function(_0x284789,_0x21d5b9){return _0x284789(_0x21d5b9);},'RoPJq':function(_0x25a8c4){return _0x25a8c4();},'TBlGy':function(_0x474977,_0x29292a,_0x3ad35b,_0x35d145,_0x4ca98e,_0x57ee25,_0x224bc3,_0x504b7e,_0xa89cf7,_0x43bc29){return _0x474977(_0x29292a,_0x3ad35b,_0x35d145,_0x4ca98e,_0x57ee25,_0x224bc3,_0x504b7e,_0xa89cf7,_0x43bc29);},'MRfCj':_0x3d25a0(0x236)};logDebug(_0x3d25a0(0x1cc),_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33,_0x5df687);if(_0xd27fe6&&_0x394ffc[_0x3d25a0(0x225)](_0xd27fe6)){if(_0x5df687)try{await _0x5861c3[_0x3d25a0(0x20c)](_0xd27fe6);}catch(_0x1f3683){}else return _0xd27fe6;}return _0x8164a7[_0x3d25a0(0x1f0)](logDebug,_0x8164a7[_0x3d25a0(0x1e7)],_0x3bd254,_0x416fc8,_0x494bb2,_0x3747d2,_0x4c14f2,_0xd27fe6,_0xc06f33,_0x5df687),new Promise((_0x3ec4a5,_0x579d1f)=>{const _0x6d9a1b=_0x3d25a0,_0x23435f={'nXdaN':function(_0x59c9e4,_0x4bc7f1,_0x2236c0,_0x3920ee){const _0x1578d3=_0x3d55;return _0x8164a7[_0x1578d3(0x1bf)](_0x59c9e4,_0x4bc7f1,_0x2236c0,_0x3920ee);},'AdNob':_0x6d9a1b(0x1f4),'eJvaZ':function(_0x25671d,_0x356e3b){const _0x2c2a64=_0x6d9a1b;return _0x8164a7[_0x2c2a64(0x222)](_0x25671d,_0x356e3b);},'rjXeu':function(_0x1f7a93,_0x1ed41b,_0x37d8d1){const _0x1cdd74=_0x6d9a1b;return _0x8164a7[_0x1cdd74(0x22f)](_0x1f7a93,_0x1ed41b,_0x37d8d1);},'lQyoi':function(_0x4b6440,_0x5e810b){const _0x5310b2=_0x6d9a1b;return _0x8164a7[_0x5310b2(0x22b)](_0x4b6440,_0x5e810b);}};let _0x519d4c=![];const _0x18ccb7=_0x1e9987=>{const _0x5afcde=_0x6d9a1b;_0x23435f['nXdaN'](logDebug,_0x23435f[_0x5afcde(0x1fd)],_0x1e9987,_0x3bd254);if(_0x23435f[_0x5afcde(0x1e1)](_0x1e9987[_0x5afcde(0x216)],_0x3bd254)){_0x519d4c=!![];let _0x286a5d=_0x1e9987[_0x5afcde(0x219)];if(_0x286a5d[_0x5afcde(0x1e2)]('\x5c')){const _0x3b9979=sessionConfig[_0x5afcde(0x1c5)];_0x23435f[_0x5afcde(0x21b)](logDebug,_0x5afcde(0x1f5),_0x3b9979),_0x286a5d=_0x11ddd4[_0x5afcde(0x1c1)](_0x3b9979,_0x286a5d);}_0x23435f['lQyoi'](_0x3ec4a5,_0x286a5d);}};downloadMediaTasks[_0x6d9a1b(0x1c7)](_0x8164a7[_0x6d9a1b(0x1f2)](randomUUID),_0x18ccb7),_0x8164a7[_0x6d9a1b(0x22f)](setTimeout,()=>{const _0x10ea67=_0x6d9a1b;!_0x519d4c&&_0x579d1f(_0x8164a7[_0x10ea67(0x214)]);},_0xc06f33),napCatCore[_0x6d9a1b(0x208)][_0x6d9a1b(0x1ea)]()[_0x6d9a1b(0x1fb)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3bd254,'chatType':_0x416fc8,'peerUid':_0x494bb2,'elementId':_0x3747d2,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4c14f2});});}static async[_0x79193a(0x1fc)](_0x3d7ebe){const _0x4a7ae9={'JJITc':function(_0x2712e7,_0x1aba86){return _0x2712e7(_0x1aba86);}};return new Promise((_0x513954,_0x1d8728)=>{_0x9ea2b2(_0x3d7ebe,(_0x42a0eb,_0x42d518)=>{const _0xd2a8b8=_0x3d55;_0x42a0eb?_0x4a7ae9[_0xd2a8b8(0x228)](_0x1d8728,_0x42a0eb):_0x513954(_0x42d518);});});}static async[_0x79193a(0x1bd)](_0x3c3363){const _0x21460d=_0x79193a,_0x55a5db={'nIOgg':function(_0x3d2cf9,_0xec7512){return _0x3d2cf9!==_0xec7512;},'TtzGs':function(_0x5f20dd,_0x2132eb){return _0x5f20dd(_0x2132eb);},'EdYcr':function(_0x998559,_0x415987){return _0x998559(_0x415987);},'zxzlq':_0x21460d(0x1ca),'NUjiU':function(_0x4673de,_0xebdb94){return _0x4673de*_0xebdb94;},'gekZQ':function(_0x1afbe5,_0x34538d){return _0x1afbe5(_0x34538d);},'yxXtE':function(_0x185cb9,_0x3be538){return _0x185cb9(_0x3be538);},'NBqlM':'开始调用moeHook获取rkey','gKNLB':function(_0x381aa9,_0x380328){return _0x381aa9+_0x380328;},'FgmjH':function(_0x4fbc85,_0x67e9e3){return _0x4fbc85+_0x67e9e3;},'qoyaf':function(_0x37a392,_0x4e391f,_0x48e9c2){return _0x37a392(_0x4e391f,_0x48e9c2);},'AHjez':'检查rkey是否有效','QVYNs':_0x21460d(0x1ed),'HnRIY':function(_0x20c63c,_0x39ec78,_0x110226,_0x1ce96c){return _0x20c63c(_0x39ec78,_0x110226,_0x1ce96c);},'xkwna':_0x21460d(0x229),'YIiCg':function(_0x1f397b){return _0x1f397b();},'ZBfBv':_0x21460d(0x20a),'BcIQO':_0x21460d(0x231),'IRfWF':_0x21460d(0x22d),'tnGre':function(_0x4f1779,_0x3be286){return _0x4f1779-_0x3be286;},'WVmWV':function(_0x4a4b5b){return _0x4a4b5b();},'rIFME':function(_0x42d1a5,_0x3779d6){return _0x42d1a5+_0x3779d6;},'TVZig':function(_0x47a29f,_0x347ed1,_0x11a74d){return _0x47a29f(_0x347ed1,_0x11a74d);},'KlQKq':function(_0x312209,_0x169211){return _0x312209+_0x169211;},'xVOAo':function(_0x38ed56,_0x1e0758){return _0x38ed56||_0x1e0758;},'qfDCs':function(_0x2ae1f6,_0x562ca9,_0x51f5d7){return _0x2ae1f6(_0x562ca9,_0x51f5d7);},'lmFQE':'图片url获取失败'},_0x4beee3=_0x55a5db[_0x21460d(0x209)](_0x3c3363['chatType'],ChatType[_0x21460d(0x1db)]),_0x32c2df=_0x3c3363['elements'][_0x21460d(0x20d)](_0x46d833=>!!_0x46d833[_0x21460d(0x1ef)]);if(!_0x32c2df)return'';const _0x43f572=_0x32c2df[_0x21460d(0x1ef)][_0x21460d(0x205)],_0x193c71=_0x32c2df[_0x21460d(0x1ef)]['md5HexStr'],_0x21270f=_0x32c2df[_0x21460d(0x1ef)][_0x21460d(0x201)],_0x14adbe=_0x32c2df['picElement'][_0x21460d(0x1f1)],_0x104c4d=_0x5757dc=>{const _0x2ce3f5=_0x21460d;_0x4beee3?(privateImageRKey=_0x5757dc,lastGetPrivateRKeyTime=Date[_0x2ce3f5(0x215)]()):(groupImageRKey=_0x5757dc,lastGetGroupRKeyTime=Date[_0x2ce3f5(0x215)]());};if(_0x43f572){if(_0x43f572[_0x21460d(0x1e2)](_0x55a5db[_0x21460d(0x1c4)])){if(_0x43f572[_0x21460d(0x1d9)](_0x55a5db[_0x21460d(0x22a)]))return IMAGE_HTTP_HOST_NT+_0x43f572;if(!hookApi[_0x21460d(0x1c0)]())return _0x55a5db[_0x21460d(0x217)](logDebug,_0x55a5db['IRfWF']),'';const _0x21aafa=async()=>{const _0xd292d0=_0x21460d,_0x3e040b={'Fasci':function(_0x4453a5,_0x3a2ba3){const _0x44d339=_0x3d55;return _0x55a5db[_0x44d339(0x209)](_0x4453a5,_0x3a2ba3);},'HzgVo':function(_0x13ac20,_0x43ba4c){const _0x1b046e=_0x3d55;return _0x55a5db[_0x1b046e(0x217)](_0x13ac20,_0x43ba4c);}};_0x55a5db[_0xd292d0(0x1e4)](logDebug,_0x55a5db['zxzlq']),NTQQFileApi[_0xd292d0(0x1dc)](_0x3c3363[_0xd292d0(0x216)],_0x3c3363['chatType'],_0x3c3363[_0xd292d0(0x224)],_0x32c2df['elementId'],'',_0x32c2df[_0xd292d0(0x1ef)][_0xd292d0(0x1d6)],_0x55a5db[_0xd292d0(0x22e)](0x3e8,0x1e),!![])[_0xd292d0(0x1d2)](_0x1e1de3=>{})[_0xd292d0(0x1fe)](logError),await _0x55a5db['gekZQ'](sleep,0x3e8),_0x55a5db[_0xd292d0(0x1d5)](logDebug,_0x55a5db[_0xd292d0(0x1d3)]);const _0x59bc30=hookApi[_0xd292d0(0x1e3)]()||'',_0x3265a8=_0x55a5db[_0xd292d0(0x1fa)](_0x55a5db[_0xd292d0(0x235)](IMAGE_HTTP_HOST_NT,_0x43f572),_0x59bc30);if(_0x59bc30)try{_0x55a5db[_0xd292d0(0x221)](logDebug,_0x55a5db[_0xd292d0(0x1be)],_0x3265a8),await new Promise((_0x1035f6,_0x95c3ef)=>{const _0x547ed0=_0xd292d0,_0x3d8f70={'TcjCI':function(_0x334a96,_0x5f2b50){const _0x570714=_0x3d55;return _0x3e040b[_0x570714(0x200)](_0x334a96,_0x5f2b50);}};_0x546ee0[_0x547ed0(0x1f8)](_0x3265a8,_0x55ded8=>{const _0x2fb144=_0x547ed0;_0x3e040b[_0x2fb144(0x1cf)](_0x55ded8['statusCode'],0xc8)?_0x95c3ef(_0x2fb144(0x1c2)):_0x3e040b[_0x2fb144(0x200)](_0x1035f6,_0x55ded8);})['on']('error',_0x579eb6=>{const _0x1b324d=_0x547ed0;_0x3d8f70[_0x1b324d(0x1dd)](_0x95c3ef,_0x579eb6);});}),_0x55a5db[_0xd292d0(0x221)](logDebug,_0x55a5db[_0xd292d0(0x21e)],_0x3265a8),_0x55a5db[_0xd292d0(0x1e4)](_0x104c4d,_0x59bc30);}catch(_0x39ef05){return _0x55a5db[_0xd292d0(0x207)](logError,_0x55a5db[_0xd292d0(0x21d)],_0x3265a8,_0x39ef05),'';}return _0x59bc30;},_0x2d060e=()=>new Promise((_0x52ecb8,_0x59074b)=>{const _0x3ca003=_0x21460d;getRKeyTaskQueue[_0x3ca003(0x220)](async()=>{const _0x23e3db=_0x3ca003,_0x19e93b=await _0x55a5db['YIiCg'](_0x21aafa);_0x55a5db[_0x23e3db(0x1d5)](_0x52ecb8,_0x19e93b);});}),_0x47ace2=_0x4beee3?privateImageRKey:groupImageRKey,_0xc25533=_0x4beee3?lastGetPrivateRKeyTime:lastGetGroupRKeyTime;if(_0x55a5db[_0x21460d(0x202)](Date[_0x21460d(0x215)](),_0xc25533)>rkeyExpireTime||!_0x47ace2){_0x55a5db[_0x21460d(0x1e4)](logDebug,'rkey过期或着未获取,\x20url:'+_0x43f572+_0x21460d(0x1cd)+_0x47ace2);const _0x3c4455=await _0x55a5db[_0x21460d(0x1df)](_0x2d060e);if(_0x3c4455)return _0x55a5db['FgmjH'](_0x55a5db[_0x21460d(0x1d7)](IMAGE_HTTP_HOST_NT,_0x43f572),''+_0x3c4455);else _0x55a5db[_0x21460d(0x204)](logError,_0x21460d(0x1c2),_0x43f572);}if(_0x47ace2)return _0x55a5db['rIFME'](_0x55a5db[_0x21460d(0x1d1)](IMAGE_HTTP_HOST_NT,_0x43f572),''+_0x47ace2);return'';}else return IMAGE_HTTP_HOST+_0x43f572;}else{if(_0x21270f||_0x193c71)return IMAGE_HTTP_HOST+_0x21460d(0x1bc)+_0x55a5db[_0x21460d(0x20b)](_0x21270f,_0x193c71)['toUpperCase']()+'/0';}return _0x55a5db[_0x21460d(0x1eb)](logDebug,_0x55a5db[_0x21460d(0x21c)],_0x3c3363),'';}}export class NTQQFileCacheApi{static async[_0x79193a(0x21f)](_0x3e3bb6=!![]){return'';}static[_0x79193a(0x1da)](){return'';}static[_0x79193a(0x1f9)](_0x7c4d4=[_0x79193a(0x21a),_0x79193a(0x20f)]){const _0x235a5c=_0x79193a;return napCatCore['session'][_0x235a5c(0x1c3)]()[_0x235a5c(0x234)](_0x7c4d4);}static[_0x79193a(0x233)](_0x3a9287={}){const _0x2784f5=_0x79193a;return napCatCore[_0x2784f5(0x208)][_0x2784f5(0x1c3)]()[_0x2784f5(0x223)](_0x3a9287);}static[_0x79193a(0x1e0)](){const _0x13fe7d=_0x79193a;return napCatCore[_0x13fe7d(0x208)][_0x13fe7d(0x1c3)]()[_0x13fe7d(0x1e0)]();}static[_0x79193a(0x1ff)](){return'';}static[_0x79193a(0x1c9)](){return'';}static[_0x79193a(0x1ce)](_0x584a2a,_0x36ea17=0x3e8,_0x4275b2=0x0){const _0x3648d8=_0x79193a;return napCatCore[_0x3648d8(0x208)][_0x3648d8(0x1c3)]()[_0x3648d8(0x206)](_0x584a2a,_0x36ea17,0x1,_0x4275b2);}static['getFileCacheInfo'](_0x12da18,_0x3a22ce=0x3e8,_0x31fbf3){const _0x31da90=_0x31fbf3?_0x31fbf3:{'fileType':_0x12da18};}static async[_0x79193a(0x1e5)](_0x4d0230=[],_0x24ba03=[]){const _0x399877=_0x79193a;return napCatCore[_0x399877(0x208)][_0x399877(0x1c3)]()[_0x399877(0x213)](_0x4d0230,_0x24ba03);}} \ 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 de812480..2534d17a 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x1f2916=_0x5bd2;function _0x5dc8(){const _0x1bd62b=['delete','2WBvubs','addListener','12795GOOPSR','1466853pqpHog','12921759pjVeDd','HUIUN','618mEFOuw','friendUid','getFriends','1956878uxDBjN','5830344vwQjPO','获取好友列表超时','session','Zlqxk','push','uin','xGOYM','getBuddyList','onLoginSuccess','626394TbhEtD','uid','handleFriendRequest','4UoTktE','IhVPp','14629908WTNwxz','11RZWZqR','fsYQx','10cCCFeR','开始获取好友列表'];_0x5dc8=function(){return _0x1bd62b;};return _0x5dc8();}(function(_0x45c43c,_0xa4679b){const _0x4c354b=_0x5bd2,_0x96e01c=_0x45c43c();while(!![]){try{const _0x116a9a=-parseInt(_0x4c354b(0x77))/0x1*(parseInt(_0x4c354b(0x6c))/0x2)+parseInt(_0x4c354b(0x7a))/0x3*(parseInt(_0x4c354b(0x6f))/0x4)+parseInt(_0x4c354b(0x79))/0x5*(parseInt(_0x4c354b(0x7d))/0x6)+parseInt(_0x4c354b(0x80))/0x7+parseInt(_0x4c354b(0x81))/0x8+parseInt(_0x4c354b(0x7b))/0x9*(-parseInt(_0x4c354b(0x74))/0xa)+parseInt(_0x4c354b(0x72))/0xb*(parseInt(_0x4c354b(0x71))/0xc);if(_0x116a9a===_0xa4679b)break;else _0x96e01c['push'](_0x96e01c['shift']());}catch(_0x194857){_0x96e01c['push'](_0x96e01c['shift']());}}}(_0x5dc8,0xe0181));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0x5bd2(_0x1e626b,_0x43538a){const _0x5dc8f4=_0x5dc8();return _0x5bd2=function(_0x5bd279,_0x47422d){_0x5bd279=_0x5bd279-0x67;let _0x47175b=_0x5dc8f4[_0x5bd279];return _0x47175b;},_0x5bd2(_0x1e626b,_0x43538a);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener['onBuddyListChange']=_0x582d3=>{const _0x591a14=_0x5bd2;for(const [_0x2c4f3e,_0x4dcbb9]of buddyChangeTasks){_0x4dcbb9(_0x582d3),buddyChangeTasks[_0x591a14(0x76)](_0x2c4f3e);}},setTimeout(()=>{const _0x33575d=_0x5bd2;napCatCore[_0x33575d(0x6b)](()=>{const _0x43d86c=_0x33575d;napCatCore[_0x43d86c(0x78)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x1f2916(0x7f)](_0xe641a6=![]){const _0x4b8f5b={'xGOYM':function(_0x245c1f,_0x5a6262){return _0x245c1f(_0x5a6262);},'ZjGgD':'获取好友列表超时','fsYQx':function(_0x2d3bb9,_0x276aae,_0x45c1e5){return _0x2d3bb9(_0x276aae,_0x45c1e5);},'Zlqxk':'获取好友列表完成','QwMva':function(_0x580075,_0x2e844c){return _0x580075(_0x2e844c);},'HUIUN':function(_0x3daa99){return _0x3daa99();}};return new Promise((_0x5305e0,_0x2588e3)=>{const _0x185d63=_0x5bd2,_0x398381={'IhVPp':function(_0x143476,_0x11fe90,_0x1a2cb5){return _0x4b8f5b['fsYQx'](_0x143476,_0x11fe90,_0x1a2cb5);},'VhUio':_0x4b8f5b[_0x185d63(0x84)],'dicdg':function(_0x51a20b,_0x58793c){return _0x4b8f5b['QwMva'](_0x51a20b,_0x58793c);}};let _0x5160a7=![];_0x4b8f5b[_0x185d63(0x73)](setTimeout,()=>{const _0x3fbe7b=_0x185d63;!_0x5160a7&&(_0x4b8f5b[_0x3fbe7b(0x69)](logDebug,_0x4b8f5b['ZjGgD']),_0x2588e3(_0x3fbe7b(0x82)));},0x1388);const _0x3bdb06=[],_0x5ccda0=_0x2ebed8=>{const _0x2965cf=_0x185d63;for(const _0x333ecd of _0x2ebed8){for(const _0xf2dc06 of _0x333ecd['buddyList']){_0x3bdb06[_0x2965cf(0x67)](_0xf2dc06),uid2UinMap[_0xf2dc06[_0x2965cf(0x6d)]]=_0xf2dc06[_0x2965cf(0x68)];}}_0x5160a7=!![],_0x398381[_0x2965cf(0x70)](logDebug,_0x398381['VhUio'],_0x3bdb06),_0x398381['dicdg'](_0x5305e0,_0x3bdb06);};buddyChangeTasks['set'](_0x4b8f5b[_0x185d63(0x7c)](randomUUID),_0x5ccda0),napCatCore[_0x185d63(0x83)]['getBuddyService']()[_0x185d63(0x6a)](_0xe641a6)['then'](_0x436504=>{const _0x383375=_0x185d63;logDebug(_0x383375(0x75),_0x436504);});});}static async[_0x1f2916(0x6e)](_0x3b2c9b,_0x1f82c1){const _0x34d560=_0x1f2916;napCatCore[_0x34d560(0x83)]['getBuddyService']()?.['approvalFriendRequest']({'friendUid':_0x3b2c9b[_0x34d560(0x7e)],'reqTime':_0x3b2c9b['reqTime'],'accept':_0x1f82c1});}} \ No newline at end of file +function _0xb09b(_0x3902ca,_0x5bd42c){const _0x4432f1=_0x4432();return _0xb09b=function(_0xb09bf5,_0x163f10){_0xb09bf5=_0xb09bf5-0xb6;let _0x2f0a8f=_0x4432f1[_0xb09bf5];return _0x2f0a8f;},_0xb09b(_0x3902ca,_0x5bd42c);}const _0x22e06b=_0xb09b;function _0x4432(){const _0x5d96e2=['3870748zQAcfX','获取好友列表完成','VzHxy','session','getBuddyList','addListener','friendUid','5990952OFepUu','buddyList','uin','getBuddyService','IKnOp','1OsKycs','approvalFriendRequest','delete','5ANtKHN','onBuddyListChange','set','getFriends','4134708lpobqD','bFlpM','handleFriendRequest','3395020wMKrke','1282540pXHNdP','1587980qMWvIt','4329102uMLkSV','NEgwk','CXwZd','push','开始获取好友列表','CmzzQ','275ewzTTo','then','reqTime','获取好友列表超时','LqKrS','24NDNFRX'];_0x4432=function(){return _0x5d96e2;};return _0x4432();}(function(_0x5c5445,_0x34db48){const _0x1f5785=_0xb09b,_0x5998d9=_0x5c5445();while(!![]){try{const _0x4c6061=parseInt(_0x1f5785(0xce))/0x1*(-parseInt(_0x1f5785(0xd9))/0x2)+-parseInt(_0x1f5785(0xb6))/0x3+parseInt(_0x1f5785(0xd8))/0x4*(-parseInt(_0x1f5785(0xd1))/0x5)+parseInt(_0x1f5785(0xc9))/0x6+-parseInt(_0x1f5785(0xc2))/0x7*(parseInt(_0x1f5785(0xc1))/0x8)+parseInt(_0x1f5785(0xd5))/0x9+parseInt(_0x1f5785(0xda))/0xa*(parseInt(_0x1f5785(0xbc))/0xb);if(_0x4c6061===_0x34db48)break;else _0x5998d9['push'](_0x5998d9['shift']());}catch(_0x3de18b){_0x5998d9['push'](_0x5998d9['shift']());}}}(_0x4432,0xcc13f));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();buddyListener[_0x22e06b(0xd2)]=_0x44e19c=>{const _0x534c33=_0x22e06b,_0x89e98e={'IKnOp':function(_0x3ec822,_0x54d3ab){return _0x3ec822(_0x54d3ab);}};for(const [_0x31e6d8,_0x57b237]of buddyChangeTasks){_0x89e98e[_0x534c33(0xcd)](_0x57b237,_0x44e19c),buddyChangeTasks[_0x534c33(0xd0)](_0x31e6d8);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4da5d6=_0xb09b;napCatCore[_0x4da5d6(0xc7)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x22e06b(0xd4)](_0xcf1309=![]){const _0x456b1b=_0x22e06b,_0x24a8ae={'NEgwk':function(_0x1f1149,_0x340ce1){return _0x1f1149(_0x340ce1);},'CXwZd':function(_0x589eae,_0x1076b3,_0x42c9b6){return _0x589eae(_0x1076b3,_0x42c9b6);},'CmzzQ':function(_0x46db28,_0x194f6d,_0x5670e2){return _0x46db28(_0x194f6d,_0x5670e2);},'bFlpM':_0x456b1b(0xc3),'LqKrS':function(_0x15932a,_0x388f1a,_0x2dde37){return _0x15932a(_0x388f1a,_0x2dde37);},'VzHxy':function(_0x437d5c){return _0x437d5c();}};return new Promise((_0xe4cc26,_0x40d77a)=>{const _0x2de5e1=_0x456b1b,_0x479a40={'gBqCh':function(_0x203a44,_0x3e206c,_0x1887eb){const _0x4a2ec3=_0xb09b;return _0x24a8ae[_0x4a2ec3(0xbb)](_0x203a44,_0x3e206c,_0x1887eb);},'urBaJ':_0x24a8ae[_0x2de5e1(0xd6)]};let _0x5e864e=![];_0x24a8ae[_0x2de5e1(0xc0)](setTimeout,()=>{const _0x5c22d5=_0x2de5e1;!_0x5e864e&&(_0x24a8ae['NEgwk'](logDebug,_0x5c22d5(0xbf)),_0x24a8ae[_0x5c22d5(0xb7)](_0x40d77a,_0x5c22d5(0xbf)));},0x1388);const _0x238ccd=[],_0x40a6f5=_0x186eeb=>{const _0x457a7c=_0x2de5e1;for(const _0x596ae0 of _0x186eeb){for(const _0xa4b72b of _0x596ae0[_0x457a7c(0xca)]){_0x238ccd[_0x457a7c(0xb9)](_0xa4b72b),uid2UinMap[_0xa4b72b['uid']]=_0xa4b72b[_0x457a7c(0xcb)];}}_0x5e864e=!![],_0x479a40['gBqCh'](logDebug,_0x479a40['urBaJ'],_0x238ccd),_0xe4cc26(_0x238ccd);};buddyChangeTasks[_0x2de5e1(0xd3)](_0x24a8ae[_0x2de5e1(0xc4)](randomUUID),_0x40a6f5),napCatCore[_0x2de5e1(0xc5)][_0x2de5e1(0xcc)]()[_0x2de5e1(0xc6)](_0xcf1309)[_0x2de5e1(0xbd)](_0x2a6d53=>{const _0x4bf9e1=_0x2de5e1;_0x24a8ae[_0x4bf9e1(0xb8)](logDebug,_0x4bf9e1(0xba),_0x2a6d53);});});}static async[_0x22e06b(0xd7)](_0xde3646,_0x2d48fd){const _0x2d5293=_0x22e06b;napCatCore['session']['getBuddyService']()?.[_0x2d5293(0xcf)]({'friendUid':_0xde3646[_0x2d5293(0xc8)],'reqTime':_0xde3646[_0x2d5293(0xbe)],'accept':_0x2d48fd});}} \ 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 7d62c23e..58f90481 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x3b7c7c=_0x2246;(function(_0x48f2de,_0x6cf367){const _0x4b39ba=_0x2246,_0x51ee6a=_0x48f2de();while(!![]){try{const _0x25cb27=parseInt(_0x4b39ba(0x19c))/0x1+-parseInt(_0x4b39ba(0x191))/0x2*(-parseInt(_0x4b39ba(0x1bc))/0x3)+parseInt(_0x4b39ba(0x196))/0x4*(parseInt(_0x4b39ba(0x192))/0x5)+-parseInt(_0x4b39ba(0x190))/0x6+-parseInt(_0x4b39ba(0x19b))/0x7+-parseInt(_0x4b39ba(0x1ae))/0x8*(parseInt(_0x4b39ba(0x1b3))/0x9)+-parseInt(_0x4b39ba(0x1af))/0xa;if(_0x25cb27===_0x6cf367)break;else _0x51ee6a['push'](_0x51ee6a['shift']());}catch(_0x4d93f5){_0x51ee6a['push'](_0x51ee6a['shift']());}}}(_0x3d6b,0x211c2));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener['onGroupListUpdate']=(_0x21d7a1,_0x1436d4)=>{const _0x1ad3c7=_0x2246,_0x20bb6d={'ZKUvC':function(_0x15dc66,_0x4b9280,_0x2f90ac){return _0x15dc66(_0x4b9280,_0x2f90ac);}};for(const [_0x47a628,_0x5edbc4]of groupMemberTasks){_0x20bb6d[_0x1ad3c7(0x1a0)](_0x5edbc4,_0x21d7a1,_0x1436d4),groupMemberTasks[_0x1ad3c7(0x1b4)](_0x47a628);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x33ae23=_0x2246;napCatCore[_0x33ae23(0x1b1)](groupListener);});},0x64);function _0x2246(_0x7a34f5,_0x1c7407){const _0x3d6b08=_0x3d6b();return _0x2246=function(_0x22460e,_0x2ab517){_0x22460e=_0x22460e-0x18f;let _0x16d75a=_0x3d6b08[_0x22460e];return _0x16d75a;},_0x2246(_0x7a34f5,_0x1c7407);}export class NTQQGroupApi{static async[_0x3b7c7c(0x1c3)](_0x3043f2=![]){const _0x46f124=_0x3b7c7c,_0x3256cc={'muBUe':function(_0x2ce87b,_0x30182d,_0x2874ab){return _0x2ce87b(_0x30182d,_0x2874ab);},'FYdnl':_0x46f124(0x1bb),'wsOaT':function(_0x6e618,_0x389e90,_0x435686){return _0x6e618(_0x389e90,_0x435686);}};let _0x388ff9=![];return new Promise((_0x31c0df,_0x527c2b)=>{const _0x284a6d=_0x46f124,_0x302097={'UhTRD':function(_0x4d9f1c,_0x424db3){return _0x4d9f1c(_0x424db3);},'BLnUn':_0x3256cc['FYdnl']};_0x3256cc[_0x284a6d(0x1a2)](setTimeout,()=>{const _0x25cea7=_0x284a6d;!_0x388ff9&&(_0x302097[_0x25cea7(0x193)](logDebug,_0x302097[_0x25cea7(0x19e)]),_0x302097[_0x25cea7(0x193)](_0x527c2b,_0x302097[_0x25cea7(0x19e)]));},0x1388);const _0x3ed725=(_0x5d6014,_0x12dc9e)=>{const _0x726b7=_0x284a6d;_0x388ff9=!![],_0x3256cc['muBUe'](logDebug,_0x726b7(0x1ba),_0x12dc9e),_0x31c0df(_0x12dc9e);};groupMemberTasks['set'](randomUUID(),_0x3ed725),napCatCore[_0x284a6d(0x1b8)][_0x284a6d(0x1a9)]()[_0x284a6d(0x1bf)](_0x3043f2)[_0x284a6d(0x1bd)]();});}static async[_0x3b7c7c(0x1c4)](_0x4b4deb,_0x37cd16=0xbb8){const _0x565443=_0x3b7c7c,_0x456830={'WYMhx':_0x565443(0x194),'jgRIr':function(_0x54c840,_0x209c4c){return _0x54c840!==_0x209c4c;},'yZbfm':function(_0x4be442,_0xa12b0b,_0x5bc0bf){return _0x4be442(_0xa12b0b,_0x5bc0bf);}},_0x3b3460=napCatCore['session'][_0x565443(0x1a9)](),_0x4bcc8b=_0x3b3460[_0x565443(0x198)](_0x4b4deb,_0x456830[_0x565443(0x1c0)]),_0x59829d=await _0x3b3460[_0x565443(0x1a6)](_0x4bcc8b,undefined,_0x37cd16);if(_0x456830[_0x565443(0x199)](_0x59829d['errCode'],0x0))throw _0x565443(0x1b6)+_0x59829d['errMsg'];return _0x456830[_0x565443(0x195)](logDebug,_0x565443(0x1a8)+_0x4b4deb+_0x565443(0x19d),_0x565443(0x1b7)+_0x59829d[_0x565443(0x1c1)][_0x565443(0x1a3)]),_0x59829d['result'][_0x565443(0x19a)][_0x565443(0x1ab)](_0x9cd7f3=>{const _0x240fcc=_0x565443;uid2UinMap[_0x9cd7f3[_0x240fcc(0x1be)]]=_0x9cd7f3[_0x240fcc(0x1c5)];}),_0x59829d['result'][_0x565443(0x19a)];}static async[_0x3b7c7c(0x1a5)](){}static async[_0x3b7c7c(0x1a4)](){}static async[_0x3b7c7c(0x1b2)](_0x71680b,_0x585c4d,_0x16d3b8){const _0x583a2a=_0x3b7c7c,_0x35806d={'fFEQU':function(_0x5cd70c,_0xd75dd){return _0x5cd70c||_0xd75dd;}};return napCatCore[_0x583a2a(0x1b8)][_0x583a2a(0x1a9)]()[_0x583a2a(0x1a1)](![],{'operateType':_0x585c4d,'targetMsg':{'seq':_0x71680b[_0x583a2a(0x1b5)],'type':_0x71680b[_0x583a2a(0x1c2)],'groupCode':_0x71680b[_0x583a2a(0x1ad)][_0x583a2a(0x1aa)],'postscript':_0x35806d[_0x583a2a(0x1b9)](_0x16d3b8,'')}});}static async[_0x3b7c7c(0x19f)](_0x15b124){const _0x17cb64=_0x3b7c7c;return napCatCore['session'][_0x17cb64(0x1a9)]()[_0x17cb64(0x19f)](_0x15b124);}static async[_0x3b7c7c(0x1b0)](_0x1f3d55,_0x5f1abf,_0x619fc3=![],_0x3bfab4=''){const _0x4c523d=_0x3b7c7c;return napCatCore[_0x4c523d(0x1b8)]['getGroupService']()[_0x4c523d(0x1b0)](_0x1f3d55,_0x5f1abf,_0x619fc3,_0x3bfab4);}static async['banMember'](_0x5f3fee,_0x227a52){const _0x3300ec=_0x3b7c7c;return napCatCore['session'][_0x3300ec(0x1a9)]()[_0x3300ec(0x18f)](_0x5f3fee,_0x227a52);}static async[_0x3b7c7c(0x1ac)](_0x4b0446,_0xaf9151){const _0x4a9302=_0x3b7c7c;return napCatCore[_0x4a9302(0x1b8)][_0x4a9302(0x1a9)]()['setGroupShutUp'](_0x4b0446,_0xaf9151);}static async['setMemberCard'](_0x1cfbb7,_0x1438bf,_0x2bbd71){const _0x4d96bd=_0x3b7c7c;return napCatCore['session'][_0x4d96bd(0x1a9)]()['modifyMemberCardName'](_0x1cfbb7,_0x1438bf,_0x2bbd71);}static async['setMemberRole'](_0x11f020,_0x2a635c,_0x24c3aa){const _0x4a5b7d=_0x3b7c7c;return napCatCore[_0x4a5b7d(0x1b8)][_0x4a5b7d(0x1a9)]()[_0x4a5b7d(0x1a7)](_0x11f020,_0x2a635c,_0x24c3aa);}static async[_0x3b7c7c(0x197)](_0x5adc10,_0x5bb120){const _0x361286=_0x3b7c7c;return napCatCore[_0x361286(0x1b8)][_0x361286(0x1a9)]()['modifyGroupName'](_0x5adc10,_0x5bb120,![]);}static async['setGroupTitle'](_0x453dc9,_0x2ab499,_0x44c1a6){}static['publishGroupBulletin'](_0x20eebf,_0x2908b0,_0x46f6f3){}}function _0x3d6b(){const _0x3b8e43=['BLnUn','quitGroup','ZKUvC','operateSysNotify','wsOaT','finish','getGroupIgnoreNotifies','getGroupNotifies','getNextMemberList','modifyMemberRole','获取群(','getGroupService','groupCode','forEach','banGroup','group','736760zFcpbY','1096510DIRhjK','kickMember','addListener','handleGroupRequest','18dBZXYf','delete','seq','获取群成员列表出错,','finish:\x20','session','fFEQU','获取群列表完成','获取群列表超时','3OROXXY','then','uid','getGroupList','WYMhx','result','type','getGroups','getGroupMembers','uin','setMemberShutUp','187992dQtXnJ','521044uihurn','5HZyEPO','UhTRD','groupMemberList_MainWindow','yZbfm','489008ynusxE','setGroupName','createMemberListScene','jgRIr','infos','1197693yWJOCh','249116mDFbpF',')成员列表结果:'];_0x3d6b=function(){return _0x3b8e43;};return _0x3d6b();} \ No newline at end of file +const _0x39a501=_0x5df3;(function(_0x12ff6f,_0x4d3ad9){const _0x1d7e57=_0x5df3,_0x2ab790=_0x12ff6f();while(!![]){try{const _0x5a7ed3=-parseInt(_0x1d7e57(0x110))/0x1+-parseInt(_0x1d7e57(0x115))/0x2+parseInt(_0x1d7e57(0xea))/0x3*(parseInt(_0x1d7e57(0xf2))/0x4)+parseInt(_0x1d7e57(0xfb))/0x5+parseInt(_0x1d7e57(0x11b))/0x6*(-parseInt(_0x1d7e57(0x111))/0x7)+parseInt(_0x1d7e57(0x113))/0x8+-parseInt(_0x1d7e57(0xeb))/0x9*(-parseInt(_0x1d7e57(0x11a))/0xa);if(_0x5a7ed3===_0x4d3ad9)break;else _0x2ab790['push'](_0x2ab790['shift']());}catch(_0x362fda){_0x2ab790['push'](_0x2ab790['shift']());}}}(_0x26a8,0x28caf));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x39a501(0x10c)]=(_0x1dbae9,_0x354d80)=>{const _0xafd13d=_0x39a501,_0x246630={'prDaW':function(_0x1230c7,_0x4d4aa2,_0x483caf){return _0x1230c7(_0x4d4aa2,_0x483caf);}};for(const [_0x3b1a58,_0x263356]of groupMemberTasks){_0x246630[_0xafd13d(0xef)](_0x263356,_0x1dbae9,_0x354d80),groupMemberTasks['delete'](_0x3b1a58);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x4095a9=_0x5df3;napCatCore[_0x4095a9(0x107)](groupListener);});},0x64);function _0x5df3(_0x56cf14,_0x7ff5dc){const _0x26a8ba=_0x26a8();return _0x5df3=function(_0x5df373,_0x4a7850){_0x5df373=_0x5df373-0xea;let _0x858a79=_0x26a8ba[_0x5df373];return _0x858a79;},_0x5df3(_0x56cf14,_0x7ff5dc);}function _0x26a8(){const _0xdf9030=['addListener','getGroupMembers','session','rkUBn','seq','onGroupListUpdate','errCode','infos','setGroupName','332675iPqxCs','61159ZQjaDE','getGroupService','1039448fXkNWo','quitGroup','554884cNjrVu','result','kickMember','获取群成员列表出错,','modifyMemberRole','150810gHucHr','156FTTHOt','获取群(','1011WIUSIQ','441XFQCaA','errMsg','QdhPT','setMemberCard','prDaW','then','publishGroupBulletin','12bFCWEC','getGroupIgnoreNotifies','groupCode','operateSysNotify','handleGroupRequest','获取群列表完成','forEach','Ndwrg','uid','672275WQFKQB','setMemberShutUp',')成员列表结果:','banGroup','getGroups','finish:\x20','uin','setGroupTitle','getGroupNotifies','modifyMemberCardName','WOayb','finish'];_0x26a8=function(){return _0xdf9030;};return _0x26a8();}export class NTQQGroupApi{static async[_0x39a501(0xff)](_0x4f41da=![]){const _0x34b1ab={'bEzGs':function(_0x377fff,_0x18f90e){return _0x377fff(_0x18f90e);},'QdhPT':function(_0x5c7d90,_0x4e8246){return _0x5c7d90(_0x4e8246);},'rkUBn':function(_0x105b96,_0x2a3fac,_0x417ffb){return _0x105b96(_0x2a3fac,_0x417ffb);},'Ndwrg':function(_0x2ad1aa){return _0x2ad1aa();}};let _0x564dcb=![];return new Promise((_0x482702,_0x222d66)=>{const _0x3227d3=_0x5df3,_0x14610f={'WOayb':function(_0x2f469f,_0x891f52){const _0x28455d=_0x5df3;return _0x34b1ab[_0x28455d(0xed)](_0x2f469f,_0x891f52);}};_0x34b1ab[_0x3227d3(0x10a)](setTimeout,()=>{const _0x3b8146=_0x3227d3;!_0x564dcb&&(_0x14610f[_0x3b8146(0x105)](logDebug,'获取群列表超时'),_0x14610f[_0x3b8146(0x105)](_0x222d66,'获取群列表超时'));},0x1388);const _0x264b4b=(_0xd213e0,_0x257067)=>{const _0x16c7e3=_0x3227d3;_0x564dcb=!![],logDebug(_0x16c7e3(0xf7),_0x257067),_0x34b1ab['bEzGs'](_0x482702,_0x257067);};groupMemberTasks['set'](_0x34b1ab[_0x3227d3(0xf9)](randomUUID),_0x264b4b),napCatCore[_0x3227d3(0x109)][_0x3227d3(0x112)]()['getGroupList'](_0x4f41da)[_0x3227d3(0xf0)]();});}static async[_0x39a501(0x108)](_0x35c845,_0x349906=0xbb8){const _0x2aa977=_0x39a501,_0x51571d={'BDjXL':'groupMemberList_MainWindow'},_0x2a6e33=napCatCore[_0x2aa977(0x109)]['getGroupService'](),_0x53a7f3=_0x2a6e33['createMemberListScene'](_0x35c845,_0x51571d['BDjXL']),_0x20fb0b=await _0x2a6e33['getNextMemberList'](_0x53a7f3,undefined,_0x349906);if(_0x20fb0b[_0x2aa977(0x10d)]!==0x0)throw _0x2aa977(0x118)+_0x20fb0b[_0x2aa977(0xec)];return logDebug(_0x2aa977(0x11c)+_0x35c845+_0x2aa977(0xfd),_0x2aa977(0x100)+_0x20fb0b['result'][_0x2aa977(0x106)]),_0x20fb0b[_0x2aa977(0x116)][_0x2aa977(0x10e)][_0x2aa977(0xf8)](_0x2d65eb=>{const _0x20d232=_0x2aa977;uid2UinMap[_0x2d65eb[_0x20d232(0xfa)]]=_0x2d65eb[_0x20d232(0x101)];}),_0x20fb0b['result'][_0x2aa977(0x10e)];}static async[_0x39a501(0x103)](){}static async[_0x39a501(0xf3)](){}static async[_0x39a501(0xf6)](_0x3f3d5e,_0x4a6000,_0x571017){const _0x2abf93=_0x39a501,_0x280574={'UNyon':function(_0x10271a,_0x196191){return _0x10271a||_0x196191;}};return napCatCore[_0x2abf93(0x109)][_0x2abf93(0x112)]()[_0x2abf93(0xf5)](![],{'operateType':_0x4a6000,'targetMsg':{'seq':_0x3f3d5e[_0x2abf93(0x10b)],'type':_0x3f3d5e['type'],'groupCode':_0x3f3d5e['group'][_0x2abf93(0xf4)],'postscript':_0x280574['UNyon'](_0x571017,'')}});}static async[_0x39a501(0x114)](_0x163e32){const _0xd09ab6=_0x39a501;return napCatCore[_0xd09ab6(0x109)]['getGroupService']()[_0xd09ab6(0x114)](_0x163e32);}static async[_0x39a501(0x117)](_0x1a19a0,_0xf5e3c8,_0x3f5bfb=![],_0x11568c=''){const _0x3e7ee7=_0x39a501;return napCatCore['session'][_0x3e7ee7(0x112)]()[_0x3e7ee7(0x117)](_0x1a19a0,_0xf5e3c8,_0x3f5bfb,_0x11568c);}static async['banMember'](_0x441af1,_0x4455d9){const _0x50904a=_0x39a501;return napCatCore[_0x50904a(0x109)]['getGroupService']()[_0x50904a(0xfc)](_0x441af1,_0x4455d9);}static async[_0x39a501(0xfe)](_0x4bf7cd,_0x364f50){return napCatCore['session']['getGroupService']()['setGroupShutUp'](_0x4bf7cd,_0x364f50);}static async[_0x39a501(0xee)](_0x192361,_0x5beb16,_0x24c238){const _0x29277b=_0x39a501;return napCatCore[_0x29277b(0x109)][_0x29277b(0x112)]()[_0x29277b(0x104)](_0x192361,_0x5beb16,_0x24c238);}static async['setMemberRole'](_0x5becfc,_0x3215d7,_0x4a097f){const _0x4edbf6=_0x39a501;return napCatCore[_0x4edbf6(0x109)][_0x4edbf6(0x112)]()[_0x4edbf6(0x119)](_0x5becfc,_0x3215d7,_0x4a097f);}static async[_0x39a501(0x10f)](_0x451289,_0x478be5){const _0x425294=_0x39a501;return napCatCore[_0x425294(0x109)][_0x425294(0x112)]()['modifyGroupName'](_0x451289,_0x478be5,![]);}static async[_0x39a501(0x102)](_0x3831e9,_0x582dae,_0x27ce89){}static[_0x39a501(0xf1)](_0x4f7e4e,_0x193796,_0x523b0d){}} \ 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 acc99c57..edeaff39 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -function _0x9fdd(){var _0x103895=['42096SyZNiT','2vDTXzu','38597gSctnN','63hgLlON','6WoPniF','781445KVRiKx','4911610XjasPI','1347350DerCUI','363288bUrcQM','394215VMGCnr'];_0x9fdd=function(){return _0x103895;};return _0x9fdd();}(function(_0xc41231,_0x101846){var _0x1b7a99=_0x1706,_0x4958da=_0xc41231();while(!![]){try{var _0x5e4dda=-parseInt(_0x1b7a99(0xa1))/0x1*(-parseInt(_0x1b7a99(0xa0))/0x2)+parseInt(_0x1b7a99(0x9e))/0x3+parseInt(_0x1b7a99(0x9f))/0x4+parseInt(_0x1b7a99(0x9c))/0x5*(parseInt(_0x1b7a99(0x99))/0x6)+-parseInt(_0x1b7a99(0x9a))/0x7+parseInt(_0x1b7a99(0x9d))/0x8*(parseInt(_0x1b7a99(0x98))/0x9)+-parseInt(_0x1b7a99(0x9b))/0xa;if(_0x5e4dda===_0x101846)break;else _0x4958da['push'](_0x4958da['shift']());}catch(_0x4e20c0){_0x4958da['push'](_0x4958da['shift']());}}}(_0x9fdd,0x284d5));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x1706(_0x14c24f,_0x18e4ea){var _0x9fdd62=_0x9fdd();return _0x1706=function(_0x1706fd,_0x5d2ff1){_0x1706fd=_0x1706fd-0x98;var _0x1781e9=_0x9fdd62[_0x1706fd];return _0x1781e9;},_0x1706(_0x14c24f,_0x18e4ea);}export*from'./webapi'; \ No newline at end of file +(function(_0x2a1bf8,_0x443a8f){var _0x2ed26b=_0x1003,_0x132155=_0x2a1bf8();while(!![]){try{var _0x5ae44d=-parseInt(_0x2ed26b(0xcb))/0x1*(parseInt(_0x2ed26b(0xc9))/0x2)+-parseInt(_0x2ed26b(0xcd))/0x3*(parseInt(_0x2ed26b(0xcf))/0x4)+parseInt(_0x2ed26b(0xd1))/0x5+-parseInt(_0x2ed26b(0xca))/0x6+parseInt(_0x2ed26b(0xd0))/0x7+-parseInt(_0x2ed26b(0xce))/0x8*(-parseInt(_0x2ed26b(0xc8))/0x9)+-parseInt(_0x2ed26b(0xd2))/0xa*(-parseInt(_0x2ed26b(0xcc))/0xb);if(_0x5ae44d===_0x443a8f)break;else _0x132155['push'](_0x132155['shift']());}catch(_0x1c9ada){_0x132155['push'](_0x132155['shift']());}}}(_0x2e10,0xbe598));export*from'./file';export*from'./friend';export*from'./group';function _0x2e10(){var _0x15d5e2=['10DvYQuQ','4393008CzkvLv','233797xcTrHA','11WWEqzq','21jkqPcb','8CJNKMh','717324JIRAdo','7825090wSFXaf','4878020LMorRL','4700390pfkWuj','12353661Xuwrtk'];_0x2e10=function(){return _0x15d5e2;};return _0x2e10();}export*from'./msg';function _0x1003(_0xfd512,_0x1c0a1e){var _0x2e1079=_0x2e10();return _0x1003=function(_0x100319,_0x188be6){_0x100319=_0x100319-0xc8;var _0x1b7d19=_0x2e1079[_0x100319];return _0x1b7d19;},_0x1003(_0xfd512,_0x1c0a1e);}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 e25d3913..fb8e801f 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x205654=_0x3939;(function(_0x38923b,_0x271d33){const _0x114ea2=_0x3939,_0x4ed2d3=_0x38923b();while(!![]){try{const _0xd8b96b=parseInt(_0x114ea2(0xbe))/0x1+-parseInt(_0x114ea2(0xa7))/0x2*(-parseInt(_0x114ea2(0x89))/0x3)+parseInt(_0x114ea2(0xc0))/0x4+-parseInt(_0x114ea2(0x99))/0x5*(parseInt(_0x114ea2(0x9f))/0x6)+parseInt(_0x114ea2(0xc2))/0x7*(parseInt(_0x114ea2(0xae))/0x8)+-parseInt(_0x114ea2(0x7f))/0x9*(-parseInt(_0x114ea2(0x80))/0xa)+-parseInt(_0x114ea2(0x90))/0xb*(parseInt(_0x114ea2(0xbb))/0xc);if(_0xd8b96b===_0x271d33)break;else _0x4ed2d3['push'](_0x4ed2d3['shift']());}catch(_0xe7d9c4){_0x4ed2d3['push'](_0x4ed2d3['shift']());}}}(_0x2803,0x8a113));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[_0x205654(0x93)]=_0x318f09=>{const _0x1632b7=_0x205654,_0x43843e={'YhBgN':function(_0x48827e,_0x5afe28){return _0x48827e instanceof _0x5afe28;}};for(const [_0x280f37,_0x213d04]of sentMsgTasks){_0x213d04(_0x318f09),sentMsgTasks[_0x1632b7(0xb2)](_0x280f37);}if(sendMessagePool[_0x318f09[_0x1632b7(0x82)]]){const _0x549e89=sendMessagePool[_0x318f09[_0x1632b7(0x82)]]?.(_0x318f09);_0x43843e[_0x1632b7(0x86)](_0x549e89,Promise)&&_0x549e89[_0x1632b7(0xa8)]()[_0x1632b7(0xa6)](logError);}},msgListener[_0x205654(0xad)]=_0x81556d=>{const _0x452e9f=_0x205654,_0x39966e={'sbHNy':function(_0x19ca79,_0x737b02){return _0x19ca79(_0x737b02);},'ovqqb':function(_0xf14f45,_0x3b72f0){return _0xf14f45(_0x3b72f0);}};_0x81556d[_0x452e9f(0x83)](_0x2c028d=>{const _0x5d977c=_0x452e9f;new Promise((_0xf7eef3,_0x524e3d)=>{const _0x4e4025=_0x3939;for(const _0xbc94e7 in sendSuccessCBMap){const _0x58fbc0=sendSuccessCBMap[_0xbc94e7],_0x29d9f0=_0x39966e[_0x4e4025(0x9d)](_0x58fbc0,_0x2c028d),_0x38d115=_0x12384b=>{_0x12384b&&delete sendSuccessCBMap[_0xbc94e7];};_0x29d9f0 instanceof Promise?_0x29d9f0[_0x4e4025(0xa8)](_0x38d115):_0x39966e[_0x4e4025(0xa0)](_0x38d115,_0x29d9f0);}})[_0x5d977c(0xa8)]()[_0x5d977c(0xa6)](log);});},setTimeout(()=>{const _0x549cdb=_0x205654;napCatCore[_0x549cdb(0x9b)](()=>{const _0x1d8bb2=_0x549cdb;napCatCore[_0x1d8bb2(0xa2)](msgListener);});},0x64);function _0x2803(){const _0x2914e6=['getMsgHistory','nick','getMsgService','activateChatAndGetHistory','1645960qRJEmU','toString','onLoginSuccess','yDDKz','sbHNy','com.tencent.multimsg','6PptqNc','ovqqb','chatType','addListener','setMsgRead','发送超时','parse','catch','114xlBbbC','then','jZjwL','setEmojiLike','getMultiMsg','gCZOp','onMsgInfoListUpdate','24AlCpdH','forwardMsg','sendMsg','kaLlj','delete','multiForwardMsgWithComment','guildId','iJYWT','arkElement','find','multiForwardMsg','nivSt','IDwwv','36696KsbVZD','msgId','ZuLdT','12380iYhUqc','SGmjU','4230268kcrIpU','getMsgsByMsgId','476189UnDOKD','recallMsg','set','elements','gpZFi','126RdwJea','193790EVsKlG','map','peerUid','forEach','FwoVD','VngNu','YhBgN','PtKVb','sendStatus','35769tTOdxL','getMsgsIncludeSelf','转发消息超时','iVbjH','activateChat','hbLYH','getMsgsBySeqAndCount','4785VERPsa','length','setMsgEmojiLikes','onAddSendMsg','session'];_0x2803=function(){return _0x2914e6;};return _0x2803();}function _0x3939(_0x1c1461,_0x51020c){const _0x28034f=_0x2803();return _0x3939=function(_0x393913,_0x1c9210){_0x393913=_0x393913-0x7c;let _0x2a2e11=_0x28034f[_0x393913];return _0x2a2e11;},_0x3939(_0x1c1461,_0x51020c);}export class NTQQMsgApi{static async[_0x205654(0xaa)](_0x434351,_0x253963,_0x3841fc,_0x497562=!![]){const _0x590918=_0x205654,_0x1ef198={'VngNu':function(_0x13a272,_0x497639){return _0x13a272>_0x497639;}};return _0x3841fc=_0x3841fc[_0x590918(0x9a)](),napCatCore['session'][_0x590918(0x97)]()[_0x590918(0x92)](_0x434351,_0x253963,_0x3841fc,_0x1ef198[_0x590918(0x85)](_0x3841fc[_0x590918(0x91)],0x3)?'2':'1',_0x497562);}static async[_0x205654(0xab)](_0x36f1d2,_0x19e6e5,_0x150af1){const _0x1b8348=_0x205654;return napCatCore[_0x1b8348(0x94)]['getMsgService']()[_0x1b8348(0xab)](_0x36f1d2,_0x19e6e5,_0x150af1);}static async[_0x205654(0xc1)](_0x606eea,_0x35c2b4){const _0x2ac80f=_0x205654;return await napCatCore[_0x2ac80f(0x94)][_0x2ac80f(0x97)]()[_0x2ac80f(0xc1)](_0x606eea,_0x35c2b4);}static async[_0x205654(0x8f)](_0x3449a5,_0x2f3960,_0x3ae1e9,_0x168721,_0xb146ca){const _0x3460d5=_0x205654;return await napCatCore[_0x3460d5(0x94)]['getMsgService']()[_0x3460d5(0x8f)](_0x3449a5,_0x2f3960,_0x3ae1e9,_0x168721,_0xb146ca);}static async[_0x205654(0x8d)](_0x3800e9){}static async[_0x205654(0x98)](_0x5ecb8c){}static async[_0x205654(0xa3)](_0x343b53){const _0x122539=_0x205654;return napCatCore['session'][_0x122539(0x97)]()['setMsgRead'](_0x343b53[_0x122539(0xa1)],_0x343b53['peerUid'],_0x343b53[_0x122539(0xb4)]);}static async[_0x205654(0x95)](_0x3eb89c,_0x5b8847,_0x52c5d1){const _0x1a3594=_0x205654;return napCatCore[_0x1a3594(0x94)]['getMsgService']()[_0x1a3594(0x8a)](_0x3eb89c,_0x5b8847,_0x52c5d1,!![]);}static async['fetchRecentContact'](){}static async[_0x205654(0xc3)](_0xb6f2b,_0x330996){const _0x1c2be0=_0x205654;await napCatCore[_0x1c2be0(0x94)][_0x1c2be0(0x97)]()[_0x1c2be0(0xc3)]({'chatType':_0xb6f2b[_0x1c2be0(0xa1)],'peerUid':_0xb6f2b[_0x1c2be0(0x82)]},_0x330996);}static async['sendMsg'](_0x390703,_0x45af1b,_0x442c0c=!![],_0x418808=0x2710){const _0x1981d6=_0x205654,_0xf3c5dd={'kaLlj':function(_0xbc71b9,_0x4e3ef0){return _0xbc71b9>_0x4e3ef0;},'ZuLdT':_0x1981d6(0xa4),'gpZFi':function(_0x13c2b7,_0x26ea00){return _0x13c2b7(_0x26ea00);},'OSOdU':function(_0x1bc831){return _0x1bc831();},'yDDKz':function(_0x169a1a,_0x10ad1d,_0x164ff1){return _0x169a1a(_0x10ad1d,_0x164ff1);},'SGmjU':function(_0x4ca065){return _0x4ca065();}},_0xb79b96=_0x390703[_0x1981d6(0x82)];let _0x535d82=0x0;const _0x18ed08=async()=>{const _0x1a7ef1=_0x1981d6;if(_0xf3c5dd[_0x1a7ef1(0xb1)](_0x535d82,_0x418808))throw _0xf3c5dd['ZuLdT'];const _0x272643=sendMessagePool[_0x390703[_0x1a7ef1(0x82)]];if(_0x272643)return await _0xf3c5dd[_0x1a7ef1(0x7e)](sleep,0x1f4),_0x535d82+=0x1f4,await _0x18ed08();else return;};return await _0xf3c5dd[_0x1981d6(0xbf)](_0x18ed08),new Promise((_0x168041,_0x66ede2)=>{const _0x33dcee=_0x1981d6,_0x581062={'nivSt':function(_0x3553ab,_0x3092c1){return _0x3553ab===_0x3092c1;},'iJYWT':function(_0x4d9976,_0x47100f){return _0x4d9976(_0x47100f);},'IDwwv':_0xf3c5dd[_0x33dcee(0xbd)]};let _0x32c099=![],_0x548824=null;const _0x2fb7e2=_0xf3c5dd['OSOdU'](randomUUID);sendSuccessCBMap[_0x2fb7e2]=_0x3f9ae3=>{const _0x45ad16=_0x33dcee;if(_0x581062[_0x45ad16(0xb9)](_0x3f9ae3[_0x45ad16(0xbc)],_0x548824?.[_0x45ad16(0xbc)])){if(_0x581062[_0x45ad16(0xb9)](_0x3f9ae3[_0x45ad16(0x88)],0x2))return delete sendSuccessCBMap[_0x2fb7e2],_0x32c099=!![],_0x581062[_0x45ad16(0xb5)](_0x168041,_0x3f9ae3),!![];return![];}return![];},sendMessagePool[_0xb79b96]=async _0x3b0b53=>{delete sendMessagePool[_0xb79b96],_0x548824=_0x3b0b53;},_0xf3c5dd[_0x33dcee(0x9c)](setTimeout,()=>{const _0x4cc036=_0x33dcee;if(_0x32c099)return;delete sendMessagePool[_0xb79b96],delete sendSuccessCBMap[_0x2fb7e2],_0x581062[_0x4cc036(0xb5)](_0x66ede2,_0x581062[_0x4cc036(0xba)]);},_0x418808);const _0x9d6cf0=napCatCore[_0x33dcee(0x94)][_0x33dcee(0x97)]()[_0x33dcee(0xb0)]('0',_0x390703,_0x45af1b,new Map());});}static async[_0x205654(0xaf)](_0x2a9810,_0x1d2488,_0x102fdc){const _0x4fccb4=_0x205654;return napCatCore[_0x4fccb4(0x94)][_0x4fccb4(0x97)]()[_0x4fccb4(0xaf)](_0x102fdc,_0x2a9810,[_0x1d2488],new Map());}static async[_0x205654(0xb8)](_0x2b68a2,_0xadeef4,_0x5f1a52){const _0x31d1f4=_0x205654,_0x281124={'gCZOp':function(_0x4e9208,_0x369804){return _0x4e9208!=_0x369804;},'iVbjH':function(_0x120fa1,_0x14a3f9){return _0x120fa1==_0x14a3f9;},'FEoxM':function(_0xc0ffb6,_0x196644){return _0xc0ffb6==_0x196644;},'PtKVb':function(_0x1c9e75,_0x5bd46f){return _0x1c9e75(_0x5bd46f);},'FwoVD':function(_0x2d51be){return _0x2d51be();},'jZjwL':function(_0x55eb54,_0x3a6e76,_0x40d3fe){return _0x55eb54(_0x3a6e76,_0x40d3fe);}},_0xfc33aa=_0x5f1a52[_0x31d1f4(0x81)](_0x50605d=>{const _0x54f95e=_0x31d1f4;return{'msgId':_0x50605d,'senderShowName':selfInfo[_0x54f95e(0x96)]};});return new Promise((_0x58180b,_0x13927f)=>{const _0x5510ac=_0x31d1f4,_0x31494d={'hbLYH':function(_0x173d28,_0x4bc03e){const _0x4cd21d=_0x3939;return _0x281124[_0x4cd21d(0x87)](_0x173d28,_0x4bc03e);},'PJpsb':_0x5510ac(0x8b)};let _0x176c8b=![];const _0x1e1a6b=_0x4d1bc4=>{const _0x30cdef=_0x5510ac,_0x19ede1=_0x4d1bc4[_0x30cdef(0x7d)][_0x30cdef(0xb7)](_0x3ab326=>_0x3ab326[_0x30cdef(0xb6)]);if(!_0x19ede1)return;const _0x568dca=JSON[_0x30cdef(0xa5)](_0x19ede1[_0x30cdef(0xb6)]['bytesData']);if(_0x281124[_0x30cdef(0xac)](_0x568dca['app'],_0x30cdef(0x9e)))return;_0x281124[_0x30cdef(0x8c)](_0x4d1bc4[_0x30cdef(0x82)],_0xadeef4[_0x30cdef(0x82)])&&_0x281124['FEoxM'](_0x4d1bc4['senderUid'],selfInfo['uid'])&&(_0x176c8b=!![],_0x281124[_0x30cdef(0x87)](_0x58180b,_0x4d1bc4));};sentMsgTasks[_0x5510ac(0x7c)](_0x281124[_0x5510ac(0x84)](randomUUID),_0x1e1a6b),_0x281124[_0x5510ac(0xa9)](setTimeout,()=>{const _0x27f15c=_0x5510ac;!_0x176c8b&&_0x31494d[_0x27f15c(0x8e)](_0x13927f,_0x31494d['PJpsb']);},0x1388),napCatCore[_0x5510ac(0x94)]['getMsgService']()[_0x5510ac(0xb3)](_0xfc33aa,_0x2b68a2,_0xadeef4,[],new Map());});}} \ No newline at end of file +const _0x414d3c=_0x2cfc;function _0x5a2d(){const _0xc4534b=['466216AoVtur','ZBktu','peerUid','map','getMsgsByMsgId','then','30657DOLBwe','bjVAH','getMsgsIncludeSelf','getMsgsBySeqAndCount','arkElement','28xgzBnX','com.tencent.multimsg','activateChat','parse','set','toString','sendMsg','setEmojiLike','OOuut','11181XyqGqx','sendStatus','499131SQIQRi','vMHDW','pOrdq','JuchC','forwardMsg','bwcgx','chatType','kcZGH','ChyNY','multiForwardMsg','988659JAofMd','FVxzY','1170wKnDPQ','setMsgEmojiLikes','addListener','onMsgInfoListUpdate','catch','nick','onAddSendMsg','find','boLZp','转发消息超时','417516WnjPTp','senderUid','forEach','zYPHR','6MROegi','guildId','recallMsg','69797ZSgTkx','FGkyA','发送超时','session','elements','getMultiMsg','YpYjl','length','5QiGPvY','onLoginSuccess','setMsgRead','getMsgService'];_0x5a2d=function(){return _0xc4534b;};return _0x5a2d();}(function(_0x3f5eee,_0x8d773a){const _0xf3b93e=_0x2cfc,_0x33a1a3=_0x3f5eee();while(!![]){try{const _0x353c26=-parseInt(_0xf3b93e(0x119))/0x1*(parseInt(_0xf3b93e(0x110))/0x2)+parseInt(_0xf3b93e(0x125))/0x3+parseInt(_0xf3b93e(0x131))/0x4*(-parseInt(_0xf3b93e(0x140))/0x5)+-parseInt(_0xf3b93e(0x135))/0x6*(parseInt(_0xf3b93e(0x138))/0x7)+-parseInt(_0xf3b93e(0x144))/0x8+parseInt(_0xf3b93e(0x11b))/0x9+-parseInt(_0xf3b93e(0x127))/0xa*(-parseInt(_0xf3b93e(0x10b))/0xb);if(_0x353c26===_0x8d773a)break;else _0x33a1a3['push'](_0x33a1a3['shift']());}catch(_0x47fb40){_0x33a1a3['push'](_0x33a1a3['shift']());}}}(_0x5a2d,0x5d3ea));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';function _0x2cfc(_0x239eb7,_0x56e040){const _0x5a2dbd=_0x5a2d();return _0x2cfc=function(_0x2cfc58,_0x217baa){_0x2cfc58=_0x2cfc58-0x10a;let _0x4a57ba=_0x5a2dbd[_0x2cfc58];return _0x4a57ba;},_0x2cfc(_0x239eb7,_0x56e040);}import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x414d3c(0x12d)]=_0x38e869=>{const _0x3c5a20=_0x414d3c,_0x4ae9f6={'zYPHR':function(_0x2f84cc,_0x2ba8a0){return _0x2f84cc(_0x2ba8a0);},'bwcgx':function(_0x581299,_0x29169d){return _0x581299 instanceof _0x29169d;}};for(const [_0x2d98d2,_0x489b68]of sentMsgTasks){_0x4ae9f6[_0x3c5a20(0x134)](_0x489b68,_0x38e869),sentMsgTasks['delete'](_0x2d98d2);}if(sendMessagePool[_0x38e869[_0x3c5a20(0x146)]]){const _0x1db6e7=sendMessagePool[_0x38e869[_0x3c5a20(0x146)]]?.(_0x38e869);_0x4ae9f6[_0x3c5a20(0x120)](_0x1db6e7,Promise)&&_0x1db6e7[_0x3c5a20(0x10a)]()[_0x3c5a20(0x12b)](logError);}},msgListener[_0x414d3c(0x12a)]=_0x13f287=>{const _0x307db7=_0x414d3c,_0x4b763c={'FGkyA':function(_0xad7ea5,_0x47e78e){return _0xad7ea5(_0x47e78e);}};_0x13f287[_0x307db7(0x133)](_0x57fbda=>{const _0x30a6f8=_0x307db7,_0x29d905={'bjVAH':function(_0x30d23b,_0x3a81f1){const _0x23c434=_0x2cfc;return _0x4b763c[_0x23c434(0x139)](_0x30d23b,_0x3a81f1);},'ChyNY':function(_0x2419c3,_0x2972fe){const _0x597899=_0x2cfc;return _0x4b763c[_0x597899(0x139)](_0x2419c3,_0x2972fe);}};new Promise((_0x531b77,_0x1055ca)=>{const _0x216cff=_0x2cfc;for(const _0x51362c in sendSuccessCBMap){const _0x408061=sendSuccessCBMap[_0x51362c],_0x1152d6=_0x29d905[_0x216cff(0x10c)](_0x408061,_0x57fbda),_0x55bf42=_0xdd69a=>{_0xdd69a&&delete sendSuccessCBMap[_0x51362c];};_0x1152d6 instanceof Promise?_0x1152d6[_0x216cff(0x10a)](_0x55bf42):_0x29d905[_0x216cff(0x123)](_0x55bf42,_0x1152d6);}})['then']()[_0x30a6f8(0x12b)](log);});},setTimeout(()=>{const _0x5bac6c=_0x414d3c;napCatCore[_0x5bac6c(0x141)](()=>{const _0x14e2f7=_0x5bac6c;napCatCore[_0x14e2f7(0x129)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x414d3c(0x117)](_0x26691d,_0x449dbb,_0x5b0429,_0x2efa22=!![]){const _0x532b2a=_0x414d3c,_0x3cad10={'vMHDW':function(_0x2c7f3a,_0x1600f0){return _0x2c7f3a>_0x1600f0;}};return _0x5b0429=_0x5b0429[_0x532b2a(0x115)](),napCatCore['session'][_0x532b2a(0x143)]()[_0x532b2a(0x128)](_0x26691d,_0x449dbb,_0x5b0429,_0x3cad10[_0x532b2a(0x11c)](_0x5b0429[_0x532b2a(0x13f)],0x3)?'2':'1',_0x2efa22);}static async[_0x414d3c(0x13d)](_0x85b34e,_0x521204,_0x312adc){const _0x4a7186=_0x414d3c;return napCatCore[_0x4a7186(0x13b)][_0x4a7186(0x143)]()['getMultiMsg'](_0x85b34e,_0x521204,_0x312adc);}static async[_0x414d3c(0x148)](_0x48a0c6,_0x5ea101){const _0x3bd958=_0x414d3c;return await napCatCore[_0x3bd958(0x13b)]['getMsgService']()[_0x3bd958(0x148)](_0x48a0c6,_0x5ea101);}static async[_0x414d3c(0x10e)](_0x104c7,_0x2ed430,_0x1cea28,_0x2ce65a,_0x13b369){const _0x2fee2b=_0x414d3c;return await napCatCore[_0x2fee2b(0x13b)][_0x2fee2b(0x143)]()['getMsgsBySeqAndCount'](_0x104c7,_0x2ed430,_0x1cea28,_0x2ce65a,_0x13b369);}static async[_0x414d3c(0x112)](_0x2c8541){}static async['activateChatAndGetHistory'](_0x31fb3f){}static async[_0x414d3c(0x142)](_0x151f63){const _0x38e078=_0x414d3c;return napCatCore['session']['getMsgService']()[_0x38e078(0x142)](_0x151f63[_0x38e078(0x121)],_0x151f63[_0x38e078(0x146)],_0x151f63[_0x38e078(0x136)]);}static async['getMsgHistory'](_0x5d7855,_0xaacfdc,_0x1c7063){const _0x5d96da=_0x414d3c;return napCatCore[_0x5d96da(0x13b)][_0x5d96da(0x143)]()[_0x5d96da(0x10d)](_0x5d7855,_0xaacfdc,_0x1c7063,!![]);}static async['fetchRecentContact'](){}static async[_0x414d3c(0x137)](_0x277624,_0x4e4c7b){const _0x508451=_0x414d3c;await napCatCore[_0x508451(0x13b)][_0x508451(0x143)]()['recallMsg']({'chatType':_0x277624[_0x508451(0x121)],'peerUid':_0x277624[_0x508451(0x146)]},_0x4e4c7b);}static async[_0x414d3c(0x116)](_0x4d818a,_0x374591,_0x22cac7=!![],_0x4b049c=0x2710){const _0x16dd95=_0x414d3c,_0x57724a={'YpYjl':function(_0x2fc296,_0x36f882){return _0x2fc296>_0x36f882;},'Fuskz':function(_0x2cae92,_0x53974c){return _0x2cae92(_0x53974c);},'OOuut':function(_0x38ed5b){return _0x38ed5b();},'boLZp':function(_0x5587c5,_0x506a51,_0x3f6c3d){return _0x5587c5(_0x506a51,_0x3f6c3d);},'xeSCf':function(_0x540a1){return _0x540a1();}},_0x5dc317=_0x4d818a[_0x16dd95(0x146)];let _0x428307=0x0;const _0x2c0ab=async()=>{const _0x465080=_0x16dd95;if(_0x57724a[_0x465080(0x13e)](_0x428307,_0x4b049c))throw _0x465080(0x13a);const _0x24dba2=sendMessagePool[_0x4d818a[_0x465080(0x146)]];if(_0x24dba2)return await _0x57724a['Fuskz'](sleep,0x1f4),_0x428307+=0x1f4,await _0x57724a['OOuut'](_0x2c0ab);else return;};return await _0x57724a['xeSCf'](_0x2c0ab),new Promise((_0x4e8a2b,_0x2660e1)=>{const _0x1ef2a7=_0x16dd95,_0x230158={'kcZGH':'发送超时'};let _0x3edf25=![],_0x4e249e=null;const _0x189495=_0x57724a[_0x1ef2a7(0x118)](randomUUID);sendSuccessCBMap[_0x189495]=_0x298eb4=>{const _0x293b54=_0x1ef2a7;if(_0x298eb4['msgId']===_0x4e249e?.['msgId']){if(_0x298eb4[_0x293b54(0x11a)]===0x2)return delete sendSuccessCBMap[_0x189495],_0x3edf25=!![],_0x4e8a2b(_0x298eb4),!![];return![];}return![];},sendMessagePool[_0x5dc317]=async _0x285a64=>{delete sendMessagePool[_0x5dc317],_0x4e249e=_0x285a64;},_0x57724a[_0x1ef2a7(0x12f)](setTimeout,()=>{const _0x2419eb=_0x1ef2a7;if(_0x3edf25)return;delete sendMessagePool[_0x5dc317],delete sendSuccessCBMap[_0x189495],_0x2660e1(_0x230158[_0x2419eb(0x122)]);},_0x4b049c);const _0x27991e=napCatCore[_0x1ef2a7(0x13b)][_0x1ef2a7(0x143)]()[_0x1ef2a7(0x116)]('0',_0x4d818a,_0x374591,new Map());});}static async[_0x414d3c(0x11f)](_0x1cfc5a,_0x328d4e,_0x16bf76){const _0x4dc678=_0x414d3c;return napCatCore[_0x4dc678(0x13b)]['getMsgService']()[_0x4dc678(0x11f)](_0x16bf76,_0x1cfc5a,[_0x328d4e],new Map());}static async[_0x414d3c(0x124)](_0x294464,_0x4fa026,_0x4600d4){const _0x27f8a9=_0x414d3c,_0x2f7524={'viiDM':function(_0xc09cd7,_0x12b994){return _0xc09cd7(_0x12b994);},'JuchC':function(_0x3fafc6,_0x5cac83){return _0x3fafc6!=_0x5cac83;},'QRtZX':_0x27f8a9(0x111),'pOrdq':function(_0x553789,_0x2dc40a){return _0x553789==_0x2dc40a;}},_0x463996=_0x4600d4[_0x27f8a9(0x147)](_0x52f80d=>{const _0x4751fb=_0x27f8a9;return{'msgId':_0x52f80d,'senderShowName':selfInfo[_0x4751fb(0x12c)]};});return new Promise((_0x531233,_0x1b490d)=>{const _0x38eea5=_0x27f8a9,_0x4571e6={'jmeNy':function(_0x352dee,_0xcc528a){const _0x4bf559=_0x2cfc;return _0x2f7524[_0x4bf559(0x11e)](_0x352dee,_0xcc528a);},'ZBktu':_0x2f7524['QRtZX'],'FVxzY':function(_0x6c8269,_0xc457dd){const _0x23e91c=_0x2cfc;return _0x2f7524[_0x23e91c(0x11d)](_0x6c8269,_0xc457dd);}};let _0x4e7c9b=![];const _0x318abe=_0x4bb370=>{const _0x2cdae2=_0x2cfc,_0x2055fd=_0x4bb370[_0x2cdae2(0x13c)][_0x2cdae2(0x12e)](_0x170be4=>_0x170be4[_0x2cdae2(0x10f)]);if(!_0x2055fd)return;const _0x328257=JSON[_0x2cdae2(0x113)](_0x2055fd[_0x2cdae2(0x10f)]['bytesData']);if(_0x4571e6['jmeNy'](_0x328257['app'],_0x4571e6[_0x2cdae2(0x145)]))return;_0x4571e6[_0x2cdae2(0x126)](_0x4bb370[_0x2cdae2(0x146)],_0x4fa026['peerUid'])&&_0x4571e6[_0x2cdae2(0x126)](_0x4bb370[_0x2cdae2(0x132)],selfInfo['uid'])&&(_0x4e7c9b=!![],_0x531233(_0x4bb370));};sentMsgTasks[_0x38eea5(0x114)](randomUUID(),_0x318abe),setTimeout(()=>{const _0x201c0a=_0x38eea5;!_0x4e7c9b&&_0x2f7524['viiDM'](_0x1b490d,_0x201c0a(0x130));},0x1388),napCatCore[_0x38eea5(0x13b)][_0x38eea5(0x143)]()['multiForwardMsgWithComment'](_0x463996,_0x294464,_0x4fa026,[],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 48ff6b2f..7f112565 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x4f9208,_0x51d0c5){var _0x406596=_0x3c1f,_0x540406=_0x4f9208();while(!![]){try{var _0x46d580=-parseInt(_0x406596(0x83))/0x1*(parseInt(_0x406596(0x72))/0x2)+-parseInt(_0x406596(0x73))/0x3*(parseInt(_0x406596(0x6e))/0x4)+parseInt(_0x406596(0x6f))/0x5*(parseInt(_0x406596(0x81))/0x6)+-parseInt(_0x406596(0x80))/0x7*(parseInt(_0x406596(0x6c))/0x8)+-parseInt(_0x406596(0x6d))/0x9*(-parseInt(_0x406596(0x7c))/0xa)+parseInt(_0x406596(0x7f))/0xb+parseInt(_0x406596(0x70))/0xc*(parseInt(_0x406596(0x6b))/0xd);if(_0x46d580===_0x51d0c5)break;else _0x540406['push'](_0x540406['shift']());}catch(_0x2f2db0){_0x540406['push'](_0x540406['shift']());}}}(_0x5644,0x260bc));import{logDebug}from'@/common/utils/log';export class MusicSign{['url'];constructor(_0x4bc913){var _0x1b6983=_0x3c1f;this[_0x1b6983(0x75)]=_0x4bc913;}['sign'](_0x191618){var _0x250a7e=_0x3c1f,_0x39465a={'qOOJc':function(_0x29392d,_0xc1f726){return _0x29392d(_0xc1f726);},'CTNUh':function(_0x5b65ed,_0x121c37){return _0x5b65ed(_0x121c37);},'enmAO':function(_0x145808,_0x5d2f18,_0x537830){return _0x145808(_0x5d2f18,_0x537830);},'GYTFc':function(_0x1cc13f,_0x32656d,_0x33f52c){return _0x1cc13f(_0x32656d,_0x33f52c);},'TbXTz':_0x250a7e(0x69),'UUzzY':_0x250a7e(0x71)};return new Promise((_0x299c60,_0x320caa)=>{var _0x5ba60b=_0x250a7e,_0x22afae={'PwXLZ':function(_0x1995fe,_0x6bf4b1){return _0x39465a['CTNUh'](_0x1995fe,_0x6bf4b1);},'xxlUF':function(_0x32bf86,_0x9405ed,_0x13bf7c){var _0x110cf0=_0x3c1f;return _0x39465a[_0x110cf0(0x7d)](_0x32bf86,_0x9405ed,_0x13bf7c);}};_0x39465a[_0x5ba60b(0x7e)](fetch,this[_0x5ba60b(0x75)],{'method':_0x39465a['TbXTz'],'headers':{'Content-Type':_0x39465a[_0x5ba60b(0x6a)]},'body':JSON[_0x5ba60b(0x74)](_0x191618)})['then'](_0x1ed907=>{var _0x209e1c=_0x5ba60b;return!_0x1ed907['ok']&&_0x22afae[_0x209e1c(0x79)](_0x320caa,_0x1ed907[_0x209e1c(0x7b)]),_0x1ed907[_0x209e1c(0x77)]();})[_0x5ba60b(0x7a)](_0x515031=>{var _0x56f8c8=_0x5ba60b;_0x22afae[_0x56f8c8(0x68)](logDebug,_0x56f8c8(0x82),_0x515031),_0x299c60(_0x515031);})[_0x5ba60b(0x76)](_0x34c30e=>{var _0xcea7d1=_0x5ba60b;_0x39465a[_0xcea7d1(0x78)](_0x320caa,_0x34c30e);});});}}function _0x3c1f(_0x4b5f93,_0x18754d){var _0x564451=_0x5644();return _0x3c1f=function(_0x3c1f80,_0x2237d3){_0x3c1f80=_0x3c1f80-0x68;var _0x513db1=_0x564451[_0x3c1f80];return _0x513db1;},_0x3c1f(_0x4b5f93,_0x18754d);}function _0x5644(){var _0x336a61=['stringify','url','catch','json','qOOJc','PwXLZ','then','statusText','2877310BBcuCK','enmAO','GYTFc','975524wnzJzm','266AzlXnf','78ebjVHG','音乐消息生成成功','1irKgQO','xxlUF','POST','UUzzY','1144858mcstbG','10216UaiWWw','9npbxti','284fnbEbl','61475bUaISL','12vNgBSb','application/json','537590AoOGCA','6387wfQInh'];_0x5644=function(){return _0x336a61;};return _0x5644();} \ No newline at end of file +var _0x358d61=_0x524c;function _0x524c(_0x25ab69,_0x44c7b5){var _0x181375=_0x1813();return _0x524c=function(_0x524c9e,_0x488120){_0x524c9e=_0x524c9e-0x17b;var _0x15f1a0=_0x181375[_0x524c9e];return _0x15f1a0;},_0x524c(_0x25ab69,_0x44c7b5);}(function(_0x2fe22c,_0x3f19c7){var _0xcbe38c=_0x524c,_0x6b40e6=_0x2fe22c();while(!![]){try{var _0x5ade29=parseInt(_0xcbe38c(0x193))/0x1*(-parseInt(_0xcbe38c(0x17e))/0x2)+parseInt(_0xcbe38c(0x184))/0x3*(-parseInt(_0xcbe38c(0x183))/0x4)+-parseInt(_0xcbe38c(0x180))/0x5+-parseInt(_0xcbe38c(0x192))/0x6+-parseInt(_0xcbe38c(0x17b))/0x7+parseInt(_0xcbe38c(0x181))/0x8+parseInt(_0xcbe38c(0x189))/0x9*(parseInt(_0xcbe38c(0x18f))/0xa);if(_0x5ade29===_0x3f19c7)break;else _0x6b40e6['push'](_0x6b40e6['shift']());}catch(_0x234be1){_0x6b40e6['push'](_0x6b40e6['shift']());}}}(_0x1813,0xcad91));function _0x1813(){var _0x47c2a7=['statusText','AdmXV','音乐消息生成成功','then','RmuuT','210MRzOKh','SVMwI','QIUVb','1874058IrutMz','203611csRrwA','nFTvd','7603764PiYvHP','mryvH','MluQd','2rpzmtA','json','6831925aQNqEE','3120976MHSbHc','url','1796Uzqpiz','11031tQpKbP','aXgzN','POST','catch','stringify','2168703kKTEsC'];_0x1813=function(){return _0x47c2a7;};return _0x1813();}import{logDebug}from'@/common/utils/log';export class MusicSign{[_0x358d61(0x182)];constructor(_0x377beb){var _0x1b2f7a=_0x358d61;this[_0x1b2f7a(0x182)]=_0x377beb;}['sign'](_0x5d2d43){var _0x23db92=_0x358d61,_0x404f99={'MluQd':function(_0x4e3d20,_0x17a615){return _0x4e3d20(_0x17a615);},'AdmXV':function(_0x3d0a6b,_0x3cfc31,_0x462ff0){return _0x3d0a6b(_0x3cfc31,_0x462ff0);},'SVMwI':_0x23db92(0x18c),'aXgzN':function(_0x26eb51,_0x4e8026){return _0x26eb51(_0x4e8026);},'nFTvd':function(_0x4b56ba,_0x23d143,_0x24bf6a){return _0x4b56ba(_0x23d143,_0x24bf6a);},'kPYRu':_0x23db92(0x186)};return new Promise((_0x3a0208,_0x2c8fd1)=>{var _0x53ff0e=_0x23db92,_0x3a8a19={'QIUVb':function(_0x587e19,_0x262637,_0x521ca1){var _0x5839d7=_0x524c;return _0x404f99[_0x5839d7(0x18b)](_0x587e19,_0x262637,_0x521ca1);},'mryvH':_0x404f99[_0x53ff0e(0x190)],'RmuuT':function(_0x1f70b4,_0x24e527){var _0x2d8e4b=_0x53ff0e;return _0x404f99[_0x2d8e4b(0x185)](_0x1f70b4,_0x24e527);}};_0x404f99[_0x53ff0e(0x194)](fetch,this[_0x53ff0e(0x182)],{'method':_0x404f99['kPYRu'],'headers':{'Content-Type':'application/json'},'body':JSON[_0x53ff0e(0x188)](_0x5d2d43)})[_0x53ff0e(0x18d)](_0x49d4a7=>{var _0x36bf28=_0x53ff0e;return!_0x49d4a7['ok']&&_0x404f99[_0x36bf28(0x17d)](_0x2c8fd1,_0x49d4a7[_0x36bf28(0x18a)]),_0x49d4a7[_0x36bf28(0x17f)]();})[_0x53ff0e(0x18d)](_0x2d08a3=>{var _0x43c24d=_0x53ff0e;_0x3a8a19[_0x43c24d(0x191)](logDebug,_0x3a8a19[_0x43c24d(0x17c)],_0x2d08a3),_0x3a8a19[_0x43c24d(0x18e)](_0x3a0208,_0x2d08a3);})[_0x53ff0e(0x187)](_0x42174a=>{_0x404f99['MluQd'](_0x2c8fd1,_0x42174a);});});}} \ 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 572354ec..6f7097ec 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x4a86f1=_0x5532;function _0x5532(_0x4db42e,_0x3ea30c){const _0x43cee9=_0x43ce();return _0x5532=function(_0x5532e8,_0x5489bd){_0x5532e8=_0x5532e8-0x17a;let _0xb06299=_0x43cee9[_0x5532e8];return _0xb06299;},_0x5532(_0x4db42e,_0x3ea30c);}(function(_0x16a4a6,_0x424928){const _0x272e65=_0x5532,_0x1329cc=_0x16a4a6();while(!![]){try{const _0x5ddb57=parseInt(_0x272e65(0x182))/0x1*(-parseInt(_0x272e65(0x196))/0x2)+-parseInt(_0x272e65(0x1b0))/0x3*(parseInt(_0x272e65(0x1bb))/0x4)+parseInt(_0x272e65(0x1a5))/0x5+parseInt(_0x272e65(0x185))/0x6+parseInt(_0x272e65(0x18e))/0x7*(parseInt(_0x272e65(0x18b))/0x8)+-parseInt(_0x272e65(0x18f))/0x9*(parseInt(_0x272e65(0x18c))/0xa)+-parseInt(_0x272e65(0x195))/0xb*(parseInt(_0x272e65(0x1a4))/0xc);if(_0x5ddb57===_0x424928)break;else _0x1329cc['push'](_0x1329cc['shift']());}catch(_0x1aa8ed){_0x1329cc['push'](_0x1329cc['shift']());}}}(_0x43ce,0x80e3e));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x43ce(){const _0x18907a=['NxHAO','result','eGHut','getUserDetailInfo','now','PskeyData','robotUinRanges','18708PYvqkr','Skey','forEach','errMsg','getProfileService','getProfileLikeService','Ogmua','setHeader','getRobotUinRange','skey','ESDPG','forceFetchClientKey','jBxsc','FLKEN','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','478777lIodLC','获取Pskey失败','getTipOffService','5783346DkgKoE','then','opWfK','zMdQy','like','cnQvU','1168VFNUPC','3182690FbfNKS','session','44849ZTaByw','18cdldBh','uin','getSelfInfo','brhIO','getUserDetailInfo\x20timeout','clientKey','132AvuHiG','4BtrCfz','FGIzw','PAUTb','&clientkey=','setQQAvatar','push','entries','hpHDZ','getMsgService','delete','jQliS','PskeyTime','uid','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','95772VgbWzy','2293975QXwYub','setBuddyProfileLike','XLgIh','setSelfOnlineStatus','set','keyIndex','mLqqr','getSkey','CreatTime','get','assign','90pQDnbt','onProfileDetailInfoChanged','fromEntries','yFjIA'];_0x43ce=function(){return _0x18907a;};return _0x43ce();}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x4a86f1(0x1b1)]=_0x3fde08=>{const _0x13a3e9=_0x4a86f1;userInfoCache[_0x3fde08[_0x13a3e9(0x1a2)]]=_0x3fde08,userDetailHandlers[_0x13a3e9(0x1bd)](_0x51276c=>_0x51276c(_0x3fde08));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x4a86f1(0x1a8)](_0x6c7cb5,_0x3f0c9f,_0x584a12){const _0x497a66=_0x4a86f1;return napCatCore[_0x497a66(0x18d)][_0x497a66(0x19e)]()['setStatus']({'status':_0x6c7cb5,'extStatus':_0x3f0c9f,'batteryStatus':_0x584a12});}static async[_0x4a86f1(0x189)](_0x544753,_0x2b9f0e=0x1){const _0x1269b5=_0x4a86f1;return napCatCore['session'][_0x1269b5(0x1c0)]()[_0x1269b5(0x1a6)]({'friendUid':_0x544753,'sourceId':0x47,'doLikeCount':_0x2b9f0e,'doLikeTollCount':0x0});}static async[_0x4a86f1(0x19a)](_0x68de97){const _0x5e65b9=_0x4a86f1,_0x3ab1f5=napCatCore[_0x5e65b9(0x18d)][_0x5e65b9(0x1bf)]()[_0x5e65b9(0x17a)](_0x68de97);return{'result':_0x3ab1f5?.[_0x5e65b9(0x1b5)],'errMsg':_0x3ab1f5?.[_0x5e65b9(0x1be)]};}static async[_0x4a86f1(0x191)](){}static async['getUserInfo'](_0xa23738){}static async[_0x4a86f1(0x1b7)](_0x18ec06){const _0x129160=_0x4a86f1,_0x293cc2={'ESDPG':function(_0x25acb0,_0x218aae){return _0x25acb0(_0x218aae);},'gdZTX':_0x129160(0x193),'ejQtI':function(_0x20381d,_0xd96ec1){return _0x20381d===_0xd96ec1;},'Ogmua':function(_0x83230c){return _0x83230c();},'mLqqr':function(_0x3567e4,_0x8cbe73,_0x434cba){return _0x3567e4(_0x8cbe73,_0x434cba);}},_0x1d18a7=napCatCore['session'][_0x129160(0x1bf)]();return new Promise((_0x1a4200,_0xff48b)=>{const _0x29690a=_0x129160,_0x2b1b86={'yFjIA':function(_0xd490e2,_0x51ea96){const _0x201b67=_0x5532;return _0x293cc2[_0x201b67(0x17d)](_0xd490e2,_0x51ea96);},'brhIO':_0x293cc2['gdZTX'],'xhIRp':function(_0x2eb598,_0x4a67be){return _0x293cc2['ejQtI'](_0x2eb598,_0x4a67be);}},_0x560779=_0x293cc2[_0x29690a(0x1c1)](randomUUID);let _0x154e00=![];_0x293cc2[_0x29690a(0x1ab)](setTimeout,()=>{const _0x546e4d=_0x29690a;!_0x154e00&&_0x2b1b86[_0x546e4d(0x1b3)](_0xff48b,_0x2b1b86[_0x546e4d(0x192)]);},0x1388),userDetailHandlers[_0x29690a(0x1a9)](_0x560779,_0x5465a7=>{const _0x279454=_0x29690a;_0x2b1b86['xhIRp'](_0x5465a7[_0x279454(0x1a2)],_0x18ec06)&&(_0x154e00=!![],userDetailHandlers[_0x279454(0x19f)](_0x560779),_0x2b1b86[_0x279454(0x1b3)](_0x1a4200,_0x5465a7));}),_0x1d18a7['getUserDetailInfoWithBizInfo'](_0x18ec06,[0x0])[_0x29690a(0x186)](_0x17aab7=>{});});}static async['getPSkey'](_0x3a46c0,_0x2115e7=!![]){const _0x3540e5=_0x4a86f1,_0x3e48d2={'jQliS':function(_0x5dccf4,_0x4a9cde){return _0x5dccf4>_0x4a9cde;},'hpHDZ':function(_0x3f28a2,_0x421c50){return _0x3f28a2-_0x421c50;},'cnQvU':function(_0x48f212,_0x198f8f){return _0x48f212===_0x198f8f;},'KMUdw':function(_0x121738,_0x5a1ce7,_0x44630e){return _0x121738(_0x5a1ce7,_0x44630e);},'FLKEN':_0x3540e5(0x183)};let _0x2755ad=[],_0x29f2d6={};for(let _0x2ca3ca in _0x3a46c0){let _0x4fbcf7=Credentials['PskeyData'][_0x3540e5(0x1ae)](_0x3a46c0[_0x2ca3ca]),_0x406e47=Credentials[_0x3540e5(0x1a1)]['get'](_0x3a46c0[_0x2ca3ca]);!_0x4fbcf7||!_0x406e47||_0x3e48d2[_0x3540e5(0x1a0)](_0x3e48d2[_0x3540e5(0x19d)](Date[_0x3540e5(0x1b8)](),_0x406e47),0x708*0x3e8)||!_0x2115e7?_0x2755ad[_0x3540e5(0x19b)](_0x3a46c0[_0x2ca3ca]):_0x29f2d6[_0x3a46c0[_0x2ca3ca]]=_0x4fbcf7;}let _0x14d62f={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x3e48d2['jQliS'](_0x2755ad['length'],0x0)&&(_0x14d62f=await napCatCore['session'][_0x3540e5(0x184)]()['getPskey'](_0x2755ad,!![]));let _0x138fc8=_0x14d62f['domainPskeyMap'];for(let _0x324807 of _0x138fc8[_0x3540e5(0x19c)]()){Credentials[_0x3540e5(0x1b9)][_0x3540e5(0x1a9)](_0x324807[0x0],_0x324807[0x1]),Credentials['PskeyTime'][_0x3540e5(0x1a9)](_0x324807[0x0],Date[_0x3540e5(0x1b8)]());}let _0x15bdbe=Object[_0x3540e5(0x1af)](Object[_0x3540e5(0x1b2)](_0x138fc8),_0x29f2d6);if(_0x3e48d2[_0x3540e5(0x18a)](_0x14d62f['result'],0x0))return _0x15bdbe;else _0x3e48d2['KMUdw'](logError,_0x3e48d2[_0x3540e5(0x180)],_0x14d62f[_0x3540e5(0x1be)]);return{};}static async[_0x4a86f1(0x17b)](){const _0x3ec935=_0x4a86f1,_0x546d3d=await napCatCore[_0x3ec935(0x18d)]['getRobotService']()[_0x3ec935(0x17b)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x546d3d?.['response']?.[_0x3ec935(0x1ba)];}static async[_0x4a86f1(0x1ac)](_0x4dc4ec=!![]){const _0x3533ef=_0x4a86f1,_0x50d351={'jBxsc':function(_0x265ceb,_0x1bd0ce){return _0x265ceb==_0x1bd0ce;},'FGIzw':function(_0x1cf89f,_0x1def26){return _0x1cf89f>_0x1def26;},'GIRXX':function(_0x19b145,_0x32e470){return _0x19b145-_0x32e470;},'IzLfG':function(_0x53c70d,_0x500fe4){return _0x53c70d*_0x500fe4;},'zMdQy':function(_0x40b81f,_0x1f6544){return _0x40b81f!==_0x1f6544;},'eGHut':function(_0x4ab1a9,_0x9c1bc5){return _0x4ab1a9+_0x9c1bc5;},'NxHAO':function(_0x507100,_0x85c260){return _0x507100+_0x85c260;},'efIEA':function(_0x1c1cc6,_0x47ac0b){return _0x1c1cc6+_0x47ac0b;},'opWfK':_0x3533ef(0x1a3),'PAUTb':function(_0x5b97d1,_0x39d155){return _0x5b97d1(_0x39d155);},'XLgIh':_0x3533ef(0x17c)};try{if(_0x50d351[_0x3533ef(0x17f)](Credentials[_0x3533ef(0x1ad)],0x0)||_0x50d351[_0x3533ef(0x197)](_0x50d351['GIRXX'](Date['now'](),Credentials[_0x3533ef(0x1ad)]),_0x50d351['IzLfG'](0x3e8,0xe10))||!_0x4dc4ec){const _0x5d2598=await napCatCore[_0x3533ef(0x18d)]['getTicketService']()[_0x3533ef(0x17e)]('');if(_0x50d351[_0x3533ef(0x188)](_0x5d2598[_0x3533ef(0x1b5)],0x0))return'';const _0x3b41d0=_0x5d2598[_0x3533ef(0x194)],_0x2a1eb5=_0x5d2598[_0x3533ef(0x1aa)],_0x4adf7d=_0x50d351[_0x3533ef(0x1b6)](_0x50d351[_0x3533ef(0x1b4)](_0x50d351[_0x3533ef(0x1b4)](_0x50d351['efIEA'](_0x50d351[_0x3533ef(0x1b6)](_0x3533ef(0x181),selfInfo[_0x3533ef(0x190)]),_0x3533ef(0x199)),_0x3b41d0),_0x50d351[_0x3533ef(0x187)]),_0x2a1eb5),_0x4265d3=await _0x50d351[_0x3533ef(0x198)](HttpGetCookies,_0x4adf7d),_0x49c996=_0x4265d3[_0x3533ef(0x1ae)](_0x50d351[_0x3533ef(0x1a7)]);if(!_0x49c996)return'';return Credentials['CreatTime']=Date['now'](),Credentials[_0x3533ef(0x1bc)]=_0x49c996,_0x49c996;}return Credentials[_0x3533ef(0x1bc)];}catch(_0x298884){}return undefined;}} \ No newline at end of file +const _0x49a647=_0x3411;(function(_0x2c10a8,_0x5baea3){const _0x11d725=_0x3411,_0x522753=_0x2c10a8();while(!![]){try{const _0x7fd982=parseInt(_0x11d725(0x21f))/0x1*(parseInt(_0x11d725(0x21a))/0x2)+-parseInt(_0x11d725(0x224))/0x3*(parseInt(_0x11d725(0x211))/0x4)+parseInt(_0x11d725(0x229))/0x5*(parseInt(_0x11d725(0x1e7))/0x6)+-parseInt(_0x11d725(0x1e9))/0x7*(parseInt(_0x11d725(0x209))/0x8)+parseInt(_0x11d725(0x204))/0x9*(parseInt(_0x11d725(0x1fc))/0xa)+parseInt(_0x11d725(0x21c))/0xb*(parseInt(_0x11d725(0x1f7))/0xc)+-parseInt(_0x11d725(0x1e2))/0xd;if(_0x7fd982===_0x5baea3)break;else _0x522753['push'](_0x522753['shift']());}catch(_0x36cb76){_0x522753['push'](_0x522753['shift']());}}}(_0x4bce,0x736bc));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x3411(_0x3c8ab2,_0x2ec85c){const _0x4bce81=_0x4bce();return _0x3411=function(_0x341128,_0x109f66){_0x341128=_0x341128-0x1e1;let _0x2295b3=_0x4bce81[_0x341128];return _0x2295b3;},_0x3411(_0x3c8ab2,_0x2ec85c);}function _0x4bce(){const _0xaff4a0=['aUzIs','swWxo','getSelfInfo','40uaDkCQ','clientKey','11ghPuXM','get','setHeader','29113SiLHxF','DlXUU','assign','BsnzQ','kZgcg','42AnYxre','errMsg','getRobotUinRange','oOreJ','PskeyData','175dowVKp','KjJnp','PskeyTime','10237487irdeSK','set','getRobotService','CreatTime','ekWOU','142134ofEDvL','NaShT','14QjSivT','keyIndex','getProfileService','LuNLX','push','uin','getPSkey','ZWvKG','iKfSK','Skey','yRhet','getSkey','getMsgService','setStatus','1895244uotJnL','gxxrD','entries','robotUinRanges','result','10vPdlRO','KScrK','onLoginSuccess','onProfileDetailInfoChanged','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','response','pMmjV','getProfileLikeService','178497VpKSnR','setQQAvatar','forceFetchClientKey','skey','forEach','625160wobZKp','session','then','getUserDetailInfo\x20timeout','like','length','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','now','49312bIbUES','setSelfOnlineStatus','getUserDetailInfoWithBizInfo','YnyeI','uid','fromEntries'];_0x4bce=function(){return _0xaff4a0;};return _0x4bce();}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x49a647(0x1ff)]=_0x32d816=>{const _0x2453e9=_0x49a647;userInfoCache[_0x32d816[_0x2453e9(0x215)]]=_0x32d816,userDetailHandlers[_0x2453e9(0x208)](_0x238679=>_0x238679(_0x32d816));},setTimeout(()=>{const _0x2f19f9=_0x49a647;napCatCore[_0x2f19f9(0x1fe)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x49a647(0x212)](_0x14cead,_0x17759b,_0x5e548a){const _0x31b817=_0x49a647;return napCatCore['session'][_0x31b817(0x1f5)]()[_0x31b817(0x1f6)]({'status':_0x14cead,'extStatus':_0x17759b,'batteryStatus':_0x5e548a});}static async[_0x49a647(0x20d)](_0x18f1ea,_0x476f91=0x1){const _0x55224b=_0x49a647;return napCatCore[_0x55224b(0x20a)][_0x55224b(0x203)]()['setBuddyProfileLike']({'friendUid':_0x18f1ea,'sourceId':0x47,'doLikeCount':_0x476f91,'doLikeTollCount':0x0});}static async[_0x49a647(0x205)](_0x47f3a9){const _0x55a8fe=_0x49a647,_0x127593=napCatCore[_0x55a8fe(0x20a)][_0x55a8fe(0x1eb)]()[_0x55a8fe(0x21e)](_0x47f3a9);return{'result':_0x127593?.[_0x55a8fe(0x1fb)],'errMsg':_0x127593?.['errMsg']};}static async[_0x49a647(0x219)](){}static async['getUserInfo'](_0xb26268){}static async['getUserDetailInfo'](_0x429ba4){const _0x232b97=_0x49a647,_0x3ab293={'yRhet':_0x232b97(0x20c),'DlXUU':function(_0x5e87bd,_0x16b0fa){return _0x5e87bd===_0x16b0fa;},'visyy':function(_0x2ee567){return _0x2ee567();}},_0x47ac05=napCatCore[_0x232b97(0x20a)][_0x232b97(0x1eb)]();return new Promise((_0x235f67,_0x132988)=>{const _0x1c7194=_0x232b97,_0x4dbbdf={'kZgcg':function(_0x2b9678,_0x1acc3c){const _0x471783=_0x3411;return _0x3ab293[_0x471783(0x220)](_0x2b9678,_0x1acc3c);},'ZWvKG':function(_0x533ed1,_0x58af3a){return _0x533ed1(_0x58af3a);}},_0x308583=_0x3ab293['visyy'](randomUUID);let _0x154db4=![];setTimeout(()=>{const _0x17ec71=_0x3411;!_0x154db4&&_0x132988(_0x3ab293[_0x17ec71(0x1f3)]);},0x1388),userDetailHandlers[_0x1c7194(0x1e3)](_0x308583,_0x1e98c9=>{const _0x22877b=_0x1c7194;_0x4dbbdf[_0x22877b(0x223)](_0x1e98c9['uid'],_0x429ba4)&&(_0x154db4=!![],userDetailHandlers['delete'](_0x308583),_0x4dbbdf[_0x22877b(0x1f0)](_0x235f67,_0x1e98c9));}),_0x47ac05[_0x1c7194(0x213)](_0x429ba4,[0x0])[_0x1c7194(0x20b)](_0xab2ed6=>{});});}static async[_0x49a647(0x1ef)](_0x480f6d,_0x1ef817=!![]){const _0x13fd20=_0x49a647,_0xc90908={'YnyeI':function(_0x44c738,_0x4f2968){return _0x44c738||_0x4f2968;},'aUzIs':function(_0x2e9959,_0x29d94a){return _0x2e9959>_0x29d94a;},'IwumI':function(_0x4b78fb,_0x4fc415){return _0x4b78fb-_0x4fc415;},'BsnzQ':function(_0x44a251,_0x4d86b7){return _0x44a251>_0x4d86b7;},'KjJnp':function(_0x12150f,_0x4cb6ea){return _0x12150f===_0x4cb6ea;},'oOreJ':'获取Pskey失败'};let _0x3b0f1e=[],_0x5286df={};for(let _0x102427 in _0x480f6d){let _0x3a8a84=Credentials['PskeyData'][_0x13fd20(0x21d)](_0x480f6d[_0x102427]),_0x590bc7=Credentials[_0x13fd20(0x1e1)][_0x13fd20(0x21d)](_0x480f6d[_0x102427]);_0xc90908[_0x13fd20(0x214)](!_0x3a8a84,!_0x590bc7)||_0xc90908[_0x13fd20(0x217)](_0xc90908['IwumI'](Date[_0x13fd20(0x210)](),_0x590bc7),0x708*0x3e8)||!_0x1ef817?_0x3b0f1e[_0x13fd20(0x1ed)](_0x480f6d[_0x102427]):_0x5286df[_0x480f6d[_0x102427]]=_0x3a8a84;}let _0x4731c9={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0xc90908[_0x13fd20(0x222)](_0x3b0f1e[_0x13fd20(0x20e)],0x0)&&(_0x4731c9=await napCatCore[_0x13fd20(0x20a)]['getTipOffService']()['getPskey'](_0x3b0f1e,!![]));let _0x19750e=_0x4731c9['domainPskeyMap'];for(let _0x12f340 of _0x19750e[_0x13fd20(0x1f9)]()){Credentials[_0x13fd20(0x228)][_0x13fd20(0x1e3)](_0x12f340[0x0],_0x12f340[0x1]),Credentials[_0x13fd20(0x1e1)][_0x13fd20(0x1e3)](_0x12f340[0x0],Date['now']());}let _0xbb9627=Object[_0x13fd20(0x221)](Object[_0x13fd20(0x216)](_0x19750e),_0x5286df);if(_0xc90908[_0x13fd20(0x22a)](_0x4731c9[_0x13fd20(0x1fb)],0x0))return _0xbb9627;else logError(_0xc90908[_0x13fd20(0x227)],_0x4731c9[_0x13fd20(0x225)]);return{};}static async[_0x49a647(0x226)](){const _0x586921=_0x49a647,_0x51933d=await napCatCore[_0x586921(0x20a)][_0x586921(0x1e4)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x51933d?.[_0x586921(0x201)]?.[_0x586921(0x1fa)];}static async[_0x49a647(0x1f4)](_0x294c84=!![]){const _0xaef6e1=_0x49a647,_0x2fd556={'NaShT':function(_0x553a00,_0xbaf0e4){return _0x553a00==_0xbaf0e4;},'dhYlC':function(_0x44caaf,_0xa1751f){return _0x44caaf>_0xa1751f;},'pMmjV':function(_0x1fb5fa,_0xb70270){return _0x1fb5fa-_0xb70270;},'ekWOU':function(_0x3bbbf8,_0x5c74c4){return _0x3bbbf8*_0x5c74c4;},'swWxo':function(_0x396266,_0x5c8280){return _0x396266!==_0x5c8280;},'gxxrD':function(_0x5df8f8,_0x2a44ee){return _0x5df8f8+_0x2a44ee;},'iKfSK':function(_0xd16177,_0x3d4dbd){return _0xd16177+_0x3d4dbd;},'KbCWy':function(_0x10f1c7,_0x39667b){return _0x10f1c7+_0x39667b;},'XvVvg':'&clientkey=','KScrK':_0xaef6e1(0x20f),'hmyAy':function(_0x4b394e,_0xfd7a6f){return _0x4b394e(_0xfd7a6f);},'LuNLX':_0xaef6e1(0x207)};try{if(_0x2fd556[_0xaef6e1(0x1e8)](Credentials['CreatTime'],0x0)||_0x2fd556['dhYlC'](_0x2fd556[_0xaef6e1(0x202)](Date[_0xaef6e1(0x210)](),Credentials[_0xaef6e1(0x1e5)]),_0x2fd556[_0xaef6e1(0x1e6)](0x3e8,0xe10))||!_0x294c84){const _0x3933d1=await napCatCore[_0xaef6e1(0x20a)]['getTicketService']()[_0xaef6e1(0x206)]('');if(_0x2fd556[_0xaef6e1(0x218)](_0x3933d1['result'],0x0))return'';const _0x33010a=_0x3933d1[_0xaef6e1(0x21b)],_0x261f2b=_0x3933d1[_0xaef6e1(0x1ea)],_0x318f4c=_0x2fd556[_0xaef6e1(0x1f8)](_0x2fd556[_0xaef6e1(0x1f1)](_0x2fd556['gxxrD'](_0x2fd556['KbCWy'](_0xaef6e1(0x200),selfInfo[_0xaef6e1(0x1ee)]),_0x2fd556['XvVvg']),_0x33010a)+_0x2fd556[_0xaef6e1(0x1fd)],_0x261f2b),_0x5d7b4e=await _0x2fd556['hmyAy'](HttpGetCookies,_0x318f4c),_0x1d03bc=_0x5d7b4e['get'](_0x2fd556[_0xaef6e1(0x1ec)]);if(!_0x1d03bc)return'';return Credentials[_0xaef6e1(0x1e5)]=Date[_0xaef6e1(0x210)](),Credentials[_0xaef6e1(0x1f2)]=_0x1d03bc,_0x1d03bc;}return Credentials[_0xaef6e1(0x1f2)];}catch(_0x37f399){}return undefined;}} \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index 192661af..1aa0d322 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x4bdccc=_0x42b4;function _0x11d1(){const _0x2056b9=['&bkn=','CwFhU','bnlFR','10bCPDOc','MCIQI','UVCid','sHcoL','zxAoR','text','xJLzn','hyrls','ceil','CRCIB','3800748YpvKPt','set','biYOA','httpDataText','spyxL','wWCyI','pcUQf','getGroupEssenceMsg','SMCTp','ETEri','dIRjz','getPSkey','ekyTr','VVtSp','90TiBuxj','errcode','setGroupNotice','dDYYN','push','EOlBi','sTnNR','GroupTime','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','&group_code=','BBUMB','yLrzX','RJeJt','164257nYRQfO','ldflU','NoUWS','ySrUA','wrTDC','p_skey=','ImmEp','45rQXTDH','mems','orPtz','&text=','NLoCL','tddav','jFYKH','OxpEz','application/x-www-form-urlencoded','qun.qq.com','now','pBAYE','&page_start=','DYMdk','YfcdE','83238TvKtKD','EaaIv','toString','2292858OmeBTI','&end=','kEeNJ','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','OSnQr','FKiLI','uin','ZuZfs','genBkn','ENggc','fnWjK','Lbavn','HSzOv','MbkUk','WTVvL','10sDzdFN','yrNuU','MryQB','HBgkh','webapi\x20获取群成员','aeOgD','httpDataJson','tiTOX','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','eCabL','LMjjm','retcode','wNCjl','HKEwD','JwMxG','uGnNL','POST','GET','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','getSkey','TyVub',';\x20p_uin=o','156472mAcwcl','HEAD','&qid=','qOvkL','count','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','581qgNoXc','biwwH','pXJqT','1495056GNTaSh','csBhi','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','ugLgh','DNUZp','YPJwL','GroupData','zjNaY','TFXtZ','vIitj','1943931pQZjxv','Efoqv',';\x20skey=','Slcdd'];_0x11d1=function(){return _0x2056b9;};return _0x11d1();}(function(_0x213d6d,_0x438552){const _0xc180da=_0x42b4,_0x3fc491=_0x213d6d();while(!![]){try{const _0x594611=parseInt(_0xc180da(0x1ac))/0x1*(parseInt(_0xc180da(0x187))/0x2)+parseInt(_0xc180da(0x1c5))/0x3+parseInt(_0xc180da(0x16d))/0x4*(parseInt(_0xc180da(0x1d4))/0x5)+parseInt(_0xc180da(0x1c2))/0x6*(-parseInt(_0xc180da(0x173))/0x7)+parseInt(_0xc180da(0x176))/0x8*(-parseInt(_0xc180da(0x1b3))/0x9)+-parseInt(_0xc180da(0x19f))/0xa*(-parseInt(_0xc180da(0x180))/0xb)+-parseInt(_0xc180da(0x191))/0xc;if(_0x594611===_0x438552)break;else _0x3fc491['push'](_0x3fc491['shift']());}catch(_0x56fd69){_0x3fc491['push'](_0x3fc491['shift']());}}}(_0x11d1,0xcfef2));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x42b4(_0x477a7c,_0x5d47b0){const _0x11d19c=_0x11d1();return _0x42b4=function(_0x42b481,_0xddbd62){_0x42b481=_0x42b481-0x168;let _0x1ea50a=_0x11d19c[_0x42b481];return _0x1ea50a;},_0x42b4(_0x477a7c,_0x5d47b0);}import{NTQQUserApi}from'./user';export class WebApi{static async[_0x4bdccc(0x198)](_0x4b1033,_0x112fc2){const _0x45cb36=_0x4bdccc,_0x123fa1={'CRCIB':_0x45cb36(0x1bc),'ZuZfs':function(_0xba894e,_0x5ea880){return _0xba894e+_0x5ea880;},'HBgkh':function(_0x402086,_0x1722f9){return _0x402086+_0x1722f9;},'biwwH':_0x45cb36(0x1b1),'dDYYN':_0x45cb36(0x182),'pBAYE':_0x45cb36(0x16c),'RJeJt':';\x20uin=o','Efoqv':function(_0x2f7b62,_0x5ccfc0){return _0x2f7b62||_0x5ccfc0;},'xJLzn':function(_0x57927c,_0x296672){return _0x57927c+_0x296672;},'sTnNR':_0x45cb36(0x1a8),'MryQB':_0x45cb36(0x1bf),'orPtz':'&page_limit=20','KRhxc':_0x45cb36(0x168),'CwFhU':function(_0x53dc61,_0x1e5900){return _0x53dc61!==_0x1e5900;}},_0x59eab5=(await NTQQUserApi['getPSkey'](['qun.qq.com']))[_0x123fa1[_0x45cb36(0x190)]],_0x23c764=await NTQQUserApi[_0x45cb36(0x16a)](),_0x413eb3=_0x123fa1[_0x45cb36(0x1cc)](_0x123fa1[_0x45cb36(0x1cc)](_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1['HBgkh'](_0x123fa1[_0x45cb36(0x174)],_0x59eab5)+_0x123fa1[_0x45cb36(0x1a2)],_0x23c764),_0x123fa1[_0x45cb36(0x1be)])+selfInfo[_0x45cb36(0x1cb)],_0x123fa1[_0x45cb36(0x1ab)])+selfInfo[_0x45cb36(0x1cb)];if(_0x123fa1[_0x45cb36(0x181)](!_0x23c764,!_0x59eab5))return undefined;const _0x18a22f=WebApi['genBkn'](_0x23c764),_0x5d59ab=_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1[_0x45cb36(0x1d7)](_0x123fa1[_0x45cb36(0x18d)](_0x123fa1['xJLzn'](_0x123fa1['HBgkh'](_0x45cb36(0x178),_0x18a22f)+_0x123fa1[_0x45cb36(0x1a5)],_0x4b1033),_0x123fa1[_0x45cb36(0x1d6)]),_0x112fc2),_0x123fa1[_0x45cb36(0x1b5)]),_0x441222=await WebApi['httpDataJson'](_0x5d59ab,_0x123fa1['KRhxc'],'',_0x413eb3);if(_0x123fa1[_0x45cb36(0x185)](_0x441222[_0x45cb36(0x1df)],0x0))return undefined;return _0x441222;}static async['getGroupMembers'](_0x35facf,_0x2ab8d4=!![]){const _0x3c7161=_0x4bdccc,_0x190ec5={'vZpLY':function(_0x25ea6d,_0x50ec8c,_0x349400){return _0x25ea6d(_0x50ec8c,_0x349400);},'MbkUk':function(_0x8783d,_0x2564da){return _0x8783d>_0x2564da;},'BBUMB':_0x3c7161(0x1bc),'kEeNJ':function(_0x31d9d5,_0x5dbbf9){return _0x31d9d5+_0x5dbbf9;},'YfcdE':function(_0x561dfd,_0x2588e5){return _0x561dfd+_0x2588e5;},'NLoCL':_0x3c7161(0x1b1),'DNUZp':_0x3c7161(0x182),'bnlFR':_0x3c7161(0x16c),'OSnQr':function(_0x2a610d,_0x3e7a2b){return _0x2a610d||_0x3e7a2b;},'Slcdd':_0x3c7161(0x169),'ekyTr':_0x3c7161(0x1e4),'TyVub':function(_0x965da4,_0xaf0c6f){return _0x965da4!==_0xaf0c6f;},'DYMdk':function(_0x101c1f,_0x11f474){return _0x101c1f/_0x11f474;},'SMCTp':function(_0x527b27,_0x37f757){return _0x527b27<=_0x37f757;},'ewwLn':function(_0x2d07bc,_0x390a80){return _0x2d07bc+_0x390a80;},'tbnvT':function(_0xace40e,_0x12625b){return _0xace40e+_0x12625b;},'HKEwD':function(_0x12ac00,_0x33a5ec){return _0x12ac00+_0x33a5ec;},'ImmEp':_0x3c7161(0x1a7),'LMjjm':function(_0x2440c6,_0x2df7b7){return _0x2440c6*_0x2df7b7;},'mFjDJ':function(_0x1d23b4,_0x18d4bc){return _0x1d23b4-_0x18d4bc;},'ENggc':'&sort=1&gc=','tddav':_0x3c7161(0x184),'uGnNL':function(_0x19a30e,_0x2dab7d){return _0x19a30e<=_0x2dab7d;},'OxpEz':function(_0x58eca2,_0x4860f3){return _0x58eca2!==_0x4860f3;}};_0x190ec5['vZpLY'](logDebug,_0x3c7161(0x1d8),_0x35facf);let _0x130e17=WebGroupData[_0x3c7161(0x17c)]['get'](_0x35facf),_0x2974f1=WebGroupData[_0x3c7161(0x1a6)]['get'](_0x35facf),_0x3edc40=new Array();if(!_0x2974f1||_0x190ec5[_0x3c7161(0x1d2)](Date['now']()-_0x2974f1,0x708*0x3e8)||!_0x2ab8d4){const _0x3cbdcc=(await NTQQUserApi[_0x3c7161(0x19c)]([_0x190ec5[_0x3c7161(0x1a9)]]))['qun.qq.com'],_0x2dffb0=await NTQQUserApi['getSkey'](),_0x172b7d=_0x190ec5[_0x3c7161(0x1c7)](_0x190ec5[_0x3c7161(0x1c1)](_0x190ec5[_0x3c7161(0x1b7)],_0x3cbdcc)+_0x190ec5[_0x3c7161(0x17a)]+_0x2dffb0+_0x190ec5[_0x3c7161(0x186)],selfInfo['uin']);if(_0x190ec5[_0x3c7161(0x1c9)](!_0x2dffb0,!_0x3cbdcc))return _0x3edc40;const _0x7aaa4d=WebApi[_0x3c7161(0x1cd)](_0x2dffb0),_0x38803d=[],_0x434f5e=await WebApi[_0x3c7161(0x1da)](_0x190ec5[_0x3c7161(0x1c7)](_0x190ec5[_0x3c7161(0x1c1)](_0x190ec5[_0x3c7161(0x183)],_0x35facf),_0x3c7161(0x184))+_0x7aaa4d,_0x190ec5[_0x3c7161(0x19d)],'',_0x172b7d);if(!_0x434f5e?.[_0x3c7161(0x171)]||_0x190ec5[_0x3c7161(0x16b)](_0x434f5e?.[_0x3c7161(0x1a0)],0x0)||!_0x434f5e?.[_0x3c7161(0x1b4)])return[];else for(const _0x1e3869 in _0x434f5e[_0x3c7161(0x1b4)]){_0x3edc40[_0x3c7161(0x1a3)](_0x434f5e[_0x3c7161(0x1b4)][_0x1e3869]);}const _0x1d7a2e=Math[_0x3c7161(0x18f)](_0x190ec5[_0x3c7161(0x1c0)](_0x434f5e[_0x3c7161(0x171)],0x28));for(let _0x3d6946=0x2;_0x190ec5[_0x3c7161(0x199)](_0x3d6946,_0x1d7a2e);_0x3d6946++){const _0x49071e=WebApi[_0x3c7161(0x1da)](_0x190ec5['ewwLn'](_0x190ec5['tbnvT'](_0x190ec5['tbnvT'](_0x190ec5[_0x3c7161(0x1e1)](_0x190ec5[_0x3c7161(0x1b2)],_0x190ec5['LMjjm'](_0x190ec5['mFjDJ'](_0x3d6946,0x1),0x28))+_0x3c7161(0x1c6)+_0x190ec5[_0x3c7161(0x1de)](_0x3d6946,0x28),_0x190ec5[_0x3c7161(0x1ce)])+_0x35facf,_0x190ec5[_0x3c7161(0x1b8)]),_0x7aaa4d),_0x190ec5['ekyTr'],'',_0x172b7d);_0x38803d[_0x3c7161(0x1a3)](_0x49071e);}for(let _0x3f8317=0x1;_0x190ec5[_0x3c7161(0x1e3)](_0x3f8317,_0x1d7a2e);_0x3f8317++){const _0x26e6db=await _0x38803d[_0x3f8317];if(!_0x26e6db?.[_0x3c7161(0x171)]||_0x190ec5[_0x3c7161(0x1ba)](_0x26e6db?.[_0x3c7161(0x1a0)],0x0)||!_0x26e6db?.['mems'])continue;for(const _0x421a50 in _0x26e6db[_0x3c7161(0x1b4)]){_0x3edc40[_0x3c7161(0x1a3)](_0x26e6db[_0x3c7161(0x1b4)][_0x421a50]);}}WebGroupData[_0x3c7161(0x17c)][_0x3c7161(0x192)](_0x35facf,_0x3edc40),WebGroupData['GroupTime'][_0x3c7161(0x192)](_0x35facf,Date[_0x3c7161(0x1bd)]());}else _0x3edc40=_0x130e17;return _0x3edc40;}static async[_0x4bdccc(0x1a1)](_0x5ed8d7,_0x2f8957=''){const _0x4d3aef=_0x4bdccc,_0x463325={'eCabL':_0x4d3aef(0x1bc),'vIitj':function(_0x176f31,_0x130a9c){return _0x176f31+_0x130a9c;},'jFYKH':function(_0x4ff79f,_0x5601c3){return _0x4ff79f+_0x5601c3;},'JwMxG':function(_0xce5952,_0x2fedcd){return _0xce5952+_0x2fedcd;},'XmKdJ':function(_0x770976,_0x5c4e14){return _0x770976+_0x5c4e14;},'wNCjl':_0x4d3aef(0x182),'zxAoR':function(_0x55c107,_0x36d382){return _0x55c107||_0x36d382;},'mqkCk':function(_0x5c8970,_0x4ca4cd){return _0x5c8970+_0x4ca4cd;},'wrTDC':function(_0x233469,_0x211e22){return _0x233469+_0x211e22;},'dIRjz':function(_0x2b3b55,_0x568893){return _0x2b3b55+_0x568893;},'hyrls':'qid=','aeOgD':_0x4d3aef(0x1b6),'tiTOX':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','WTVvL':_0x4d3aef(0x1dc),'MCIQI':_0x4d3aef(0x168)},_0x34f4bf=(await NTQQUserApi[_0x4d3aef(0x19c)]([_0x463325['eCabL']]))[_0x463325[_0x4d3aef(0x1dd)]],_0x30a105=await NTQQUserApi['getSkey'](),_0x410885=_0x463325[_0x4d3aef(0x17f)](_0x463325[_0x4d3aef(0x1b9)](_0x463325[_0x4d3aef(0x1e2)](_0x463325['XmKdJ'](_0x463325[_0x4d3aef(0x17f)](_0x4d3aef(0x1b1),_0x34f4bf),_0x463325[_0x4d3aef(0x1e0)]),_0x30a105),';\x20p_uin=o'),selfInfo[_0x4d3aef(0x1cb)]);let _0x40aaa2=undefined;if(_0x463325[_0x4d3aef(0x18b)](!_0x30a105,!_0x34f4bf))return undefined;const _0x5612fd=WebApi[_0x4d3aef(0x1cd)](_0x30a105),_0xe8a33d=_0x463325['mqkCk'](_0x463325[_0x4d3aef(0x1b0)](_0x463325[_0x4d3aef(0x19b)](_0x463325[_0x4d3aef(0x1b0)](_0x463325[_0x4d3aef(0x18e)],_0x5ed8d7)+_0x4d3aef(0x184),_0x5612fd)+_0x463325[_0x4d3aef(0x1d9)],_0x2f8957),_0x463325[_0x4d3aef(0x1db)]),_0xc9c91b=_0x463325[_0x4d3aef(0x1d3)]+_0x5612fd;try{return _0x40aaa2=await WebApi[_0x4d3aef(0x1da)](_0xc9c91b,_0x463325[_0x4d3aef(0x188)],'',_0x410885),_0x40aaa2;}catch(_0xd70462){return undefined;}return undefined;}static async['getGrouptNotice'](_0x11d401){const _0x2351d8=_0x4bdccc,_0x1fd761={'HSzOv':'qun.qq.com','fnWjK':function(_0x4dec1f,_0x504e5b){return _0x4dec1f+_0x504e5b;},'VVtSp':function(_0x22bf1e,_0x15662b){return _0x22bf1e+_0x15662b;},'FKiLI':function(_0x3dcb86,_0x3057a2){return _0x3dcb86+_0x3057a2;},'EOlBi':_0x2351d8(0x1b1),'roVvn':_0x2351d8(0x182),'YPJwL':';\x20p_uin=o','TFXtZ':function(_0x53ff58,_0x41009e){return _0x53ff58||_0x41009e;},'REsMf':function(_0x487e87,_0x4b7be8){return _0x487e87+_0x4b7be8;},'ETEri':function(_0x9f6633,_0x5e5286){return _0x9f6633+_0x5e5286;},'wvxLV':function(_0x2ca8f7,_0x3aba37){return _0x2ca8f7+_0x3aba37;},'Lbavn':function(_0x3935d3,_0x28f740){return _0x3935d3+_0x28f740;},'ySrUA':_0x2351d8(0x1c8),'imBBJ':_0x2351d8(0x16f),'csBhi':_0x2351d8(0x172),'vWBat':_0x2351d8(0x168),'ldflU':function(_0x1940b7,_0x16c398){return _0x1940b7!==_0x16c398;}},_0xc08f87=(await NTQQUserApi[_0x2351d8(0x19c)]([_0x1fd761[_0x2351d8(0x1d1)]]))[_0x1fd761['HSzOv']],_0x30ea97=await NTQQUserApi['getSkey'](),_0x1e91dd=_0x1fd761[_0x2351d8(0x1cf)](_0x1fd761[_0x2351d8(0x19e)](_0x1fd761[_0x2351d8(0x1ca)](_0x1fd761[_0x2351d8(0x1ca)](_0x1fd761['fnWjK'](_0x1fd761[_0x2351d8(0x1a4)],_0xc08f87),_0x1fd761['roVvn']),_0x30ea97),_0x1fd761[_0x2351d8(0x17b)]),selfInfo[_0x2351d8(0x1cb)]);let _0x956b65=undefined;if(_0x1fd761[_0x2351d8(0x17e)](!_0x30ea97,!_0xc08f87))return undefined;const _0x51fad6=WebApi[_0x2351d8(0x1cd)](_0x30ea97),_0x1a9798=_0x1fd761['REsMf'](_0x1fd761[_0x2351d8(0x19a)](_0x1fd761['wvxLV'](_0x1fd761[_0x2351d8(0x1d0)](_0x1fd761[_0x2351d8(0x1af)],_0x51fad6),_0x1fd761['imBBJ']),_0x11d401),_0x1fd761[_0x2351d8(0x177)]);try{_0x956b65=await WebApi[_0x2351d8(0x1da)](_0x1a9798,_0x1fd761['vWBat'],'',_0x1e91dd);if(_0x1fd761[_0x2351d8(0x1ad)](_0x956b65?.['ec'],0x0))return undefined;return _0x956b65;}catch(_0x263a51){return undefined;}return undefined;}static async[_0x4bdccc(0x194)](_0x1c6954='',_0xfda3a8=_0x4bdccc(0x168),_0x303f25='',_0x5e5528=''){const _0x21455f=_0x4bdccc,_0x361b82={'yLrzX':function(_0x4f2c50,_0x477c3a){return _0x4f2c50===_0x477c3a;},'qOvkL':_0x21455f(0x168),'pXJqT':_0x21455f(0x16e),'zjNaY':function(_0x5432ea,_0x5c93a1,_0x21faa8){return _0x5432ea(_0x5c93a1,_0x21faa8);},'UVCid':function(_0xab16de,_0x4f0f3a){return _0xab16de(_0x4f0f3a);}};let _0x133bf4='';return new Promise(async(_0x1e2a5c,_0x30ff9e)=>{const _0x4bd35f=_0x21455f;try{let _0x1ef9ae=undefined;_0x361b82[_0x4bd35f(0x1aa)](_0xfda3a8,_0x361b82[_0x4bd35f(0x170)])||_0x361b82[_0x4bd35f(0x1aa)](_0xfda3a8,_0x361b82[_0x4bd35f(0x175)])?_0x1ef9ae=await fetch(_0x1c6954,{'method':_0xfda3a8,'headers':{'Content-Type':_0x4bd35f(0x1bb),'Cookie':_0x5e5528}}):_0x1ef9ae=await _0x361b82[_0x4bd35f(0x17d)](fetch,_0x1c6954,{'method':_0xfda3a8,'headers':{'Content-Type':'application/x-www-form-urlencoded','Cookie':_0x5e5528},'body':_0x303f25});if(_0x1ef9ae['ok'])_0x133bf4=await _0x1ef9ae[_0x4bd35f(0x18c)]();else{}}catch(_0x3ce868){}_0x361b82[_0x4bd35f(0x189)](_0x1e2a5c,_0x133bf4);});}static async[_0x4bdccc(0x1da)](_0x961f70='',_0x2a5391=_0x4bdccc(0x168),_0x11621c='',_0x3979c9=''){const _0x49fd04=_0x4bdccc,_0x14f3be={'wWCyI':function(_0x448c84,_0x4a27b5){return _0x448c84===_0x4a27b5;},'spyxL':'GET','aZGCs':function(_0x90b23e,_0x455857){return _0x90b23e===_0x455857;},'zbhjs':'HEAD','sHcoL':function(_0x2889fd,_0x4378e2,_0x3f379d){return _0x2889fd(_0x4378e2,_0x3f379d);},'yrNuU':_0x49fd04(0x1bb),'NoUWS':function(_0x4d2348,_0x3c39ea){return _0x4d2348(_0x3c39ea);}};let _0x1b4d62=undefined;return new Promise(async(_0x57e6f2,_0x4687c9)=>{const _0x118fe5=_0x49fd04;try{let _0x3eeaa8=undefined;_0x14f3be[_0x118fe5(0x196)](_0x2a5391,_0x14f3be[_0x118fe5(0x195)])||_0x14f3be['aZGCs'](_0x2a5391,_0x14f3be['zbhjs'])?_0x3eeaa8=await _0x14f3be['sHcoL'](fetch,_0x961f70,{'method':_0x2a5391,'headers':{'Content-Type':_0x14f3be[_0x118fe5(0x1d5)],'Cookie':_0x3979c9}}):_0x3eeaa8=await _0x14f3be[_0x118fe5(0x18a)](fetch,_0x961f70,{'method':_0x2a5391,'headers':{'Content-Type':_0x118fe5(0x1bb),'Cookie':_0x3979c9},'body':_0x11621c});if(_0x3eeaa8['ok'])_0x1b4d62=await _0x3eeaa8['json']();else{}}catch(_0x424ecf){}_0x14f3be[_0x118fe5(0x1ae)](_0x57e6f2,_0x1b4d62);});}static[_0x4bdccc(0x1cd)](_0x42bfac){const _0x4594fa=_0x4bdccc,_0x3293db={'pcUQf':function(_0x15a3bf,_0x592d6d){return _0x15a3bf||_0x592d6d;},'EaaIv':function(_0x2bb9e0,_0x53f26a){return _0x2bb9e0+_0x53f26a;},'ugLgh':function(_0x591f0b,_0x3ba044){return _0x591f0b<<_0x3ba044;},'biYOA':function(_0x3e0c35,_0x4aa11a){return _0x3e0c35&_0x4aa11a;}};_0x42bfac=_0x3293db[_0x4594fa(0x197)](_0x42bfac,'');let _0x4c9611=0x1505;for(let _0x1ce44e=0x0;_0x1ce44e<_0x42bfac['length'];_0x1ce44e++){const _0x55d868=_0x42bfac['charCodeAt'](_0x1ce44e);_0x4c9611=_0x3293db[_0x4594fa(0x1c3)](_0x3293db[_0x4594fa(0x1c3)](_0x4c9611,_0x3293db[_0x4594fa(0x179)](_0x4c9611,0x5)),_0x55d868);}return _0x3293db[_0x4594fa(0x193)](_0x4c9611,0x7fffffff)[_0x4594fa(0x1c4)]();}} \ No newline at end of file +function _0x5918(){const _0x2dae9f=['getPSkey','webapi\x20获取群成员','DKyKS','YniTt','POST','application/x-www-form-urlencoded','7973900MppQQX','mems','HifCK','HbpET',';\x20p_uin=o','SlRWI','HEAD','charCodeAt','xxqMY','oLhYR','&page_limit=20','31643573OMBnJJ','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','bMBWv','GGlET',';\x20uin=o','CZnJX','QwVMl','aRizY','qun.qq.com','GET','httpDataText','push','tVHoR','WCkFW','&bkn=','vlkPi','COOrU','TkpwW','thcqS','getGrouptNotice','getGroupMembers','128040nqcApf','tlhwB','BtXrW','hQhLz','BBpxF','wJgFm','genBkn','oHUbG','&sort=1&gc=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','559092swvXuT','qid=','396MrZgjD','YiCCm','189QJQWrm','Ecwuj','pIKkA','BUpUd','&page_start=','AjbYH','15JNpSde','SoqaD','text','axyRs','12xWQbQJ','wuGuB','&group_code=','iyeiz','XzLHx','HoZVD','HRXgL','GroupTime','IHYqI','ZrseO','FwjGj','18310opBAym','AFopo','MBWKm','unXBt','&qid=','get','RzMTr','KQDFF','kTwNE','VZxeZ',';\x20skey=','fcYet','kQRSk','3942aEETBC','NYLXW','BtZHX','OTOIp','&text=','2EwChrC','oJJdw','p_skey=','GroupData','json','dRaMf','xhzWJ','now','acWir','set','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','gAIsI','IZouy','setGroupNotice','65055ALONMW','ceil','uin','httpDataJson','aEdKF','getSkey','count','&end=','errcode','258202gyzGME'];_0x5918=function(){return _0x2dae9f;};return _0x5918();}function _0x3e7b(_0x17d059,_0x5cb90a){const _0x5918d2=_0x5918();return _0x3e7b=function(_0x3e7ba3,_0x39d4d7){_0x3e7ba3=_0x3e7ba3-0x11a;let _0x5ec9df=_0x5918d2[_0x3e7ba3];return _0x5ec9df;},_0x3e7b(_0x17d059,_0x5cb90a);}const _0x4fd49f=_0x3e7b;(function(_0x10448a,_0x4d584b){const _0x28bc51=_0x3e7b,_0x2c02b5=_0x10448a();while(!![]){try{const _0x31a2c9=parseInt(_0x28bc51(0x141))/0x1*(-parseInt(_0x28bc51(0x12a))/0x2)+-parseInt(_0x28bc51(0x17c))/0x3*(-parseInt(_0x28bc51(0x172))/0x4)+-parseInt(_0x28bc51(0x138))/0x5*(-parseInt(_0x28bc51(0x174))/0x6)+parseInt(_0x28bc51(0x176))/0x7*(parseInt(_0x28bc51(0x168))/0x8)+parseInt(_0x28bc51(0x125))/0x9*(parseInt(_0x28bc51(0x18b))/0xa)+parseInt(_0x28bc51(0x148))/0xb+-parseInt(_0x28bc51(0x180))/0xc*(parseInt(_0x28bc51(0x153))/0xd);if(_0x31a2c9===_0x4d584b)break;else _0x2c02b5['push'](_0x2c02b5['shift']());}catch(_0x3f8d18){_0x2c02b5['push'](_0x2c02b5['shift']());}}}(_0x5918,0xc93d9));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';export class WebApi{static async['getGroupEssenceMsg'](_0x9c24a7,_0x20fc67){const _0x333572=_0x3e7b,_0x4afba1={'YniTt':'qun.qq.com','Ecwuj':function(_0x4231ce,_0x5d0add){return _0x4231ce+_0x5d0add;},'unXBt':function(_0x516026,_0x29d773){return _0x516026+_0x29d773;},'hQhLz':function(_0x74f9e9,_0x41a7b5){return _0x74f9e9+_0x41a7b5;},'oLhYR':';\x20skey=','EDpJW':function(_0x552844,_0x4e2a51){return _0x552844||_0x4e2a51;},'SoqaD':function(_0x593773,_0x1333b5){return _0x593773+_0x1333b5;},'TkpwW':function(_0x1acd63,_0x2d41fe){return _0x1acd63+_0x2d41fe;},'nBnSv':function(_0xe37bc,_0x4378bc){return _0xe37bc+_0x4378bc;},'tVHoR':_0x333572(0x182),'oHUbG':_0x333572(0x152),'kQRSk':function(_0x41c491,_0xa6beff){return _0x41c491!==_0xa6beff;}},_0x2fd12f=(await NTQQUserApi[_0x333572(0x142)]([_0x4afba1[_0x333572(0x145)]]))[_0x4afba1[_0x333572(0x145)]],_0xd408ef=await NTQQUserApi[_0x333572(0x13d)](),_0x217088=_0x4afba1[_0x333572(0x177)](_0x4afba1[_0x333572(0x11b)](_0x4afba1['Ecwuj'](_0x4afba1[_0x333572(0x16b)]('p_skey=',_0x2fd12f)+_0x4afba1[_0x333572(0x151)],_0xd408ef),_0x333572(0x14c))+selfInfo[_0x333572(0x13a)]+_0x333572(0x157),selfInfo[_0x333572(0x13a)]);if(_0x4afba1['EDpJW'](!_0xd408ef,!_0x2fd12f))return undefined;const _0x3b4a68=WebApi['genBkn'](_0xd408ef),_0x673dc1=_0x4afba1[_0x333572(0x11b)](_0x4afba1[_0x333572(0x17d)](_0x4afba1[_0x333572(0x164)](_0x4afba1['nBnSv']('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x3b4a68),_0x4afba1[_0x333572(0x15f)]),_0x9c24a7)+_0x333572(0x17a)+_0x20fc67,_0x4afba1[_0x333572(0x16f)]),_0x2ca919=await WebApi[_0x333572(0x13b)](_0x673dc1,'GET','',_0x217088);if(_0x4afba1[_0x333572(0x124)](_0x2ca919['retcode'],0x0))return undefined;return _0x2ca919;}static async[_0x4fd49f(0x167)](_0x394d7c,_0x3b334e=!![]){const _0x42c1d6=_0x4fd49f,_0x498a77={'gAIsI':_0x42c1d6(0x143),'HLnrN':function(_0x5be84f,_0x56b7f6){return _0x5be84f-_0x56b7f6;},'CkWnu':_0x42c1d6(0x15b),'GGlET':function(_0x4bc487,_0x2792f5){return _0x4bc487+_0x2792f5;},'wJgFm':function(_0x5af371,_0x91626f){return _0x5af371+_0x91626f;},'EnGTk':_0x42c1d6(0x12c),'CZnJX':_0x42c1d6(0x122),'IHYqI':';\x20p_uin=o','tlhwB':function(_0x383ce7,_0x29246e){return _0x383ce7+_0x29246e;},'COOrU':function(_0x59f571,_0x596106){return _0x59f571+_0x596106;},'ZrseO':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','bMBWv':_0x42c1d6(0x146),'BBpxF':function(_0x27cca4,_0x6deee9){return _0x27cca4!==_0x6deee9;},'DKyKS':function(_0xeadd17,_0x50055a){return _0xeadd17/_0x50055a;},'YKLxK':function(_0x447f20,_0x23db9c){return _0x447f20<=_0x23db9c;},'oJJdw':function(_0x1594e0,_0x285be0){return _0x1594e0+_0x285be0;},'PuvSc':function(_0x21e73d,_0x1cbc95){return _0x21e73d+_0x1cbc95;},'HifCK':function(_0x5c404c,_0x7d211e){return _0x5c404c+_0x7d211e;},'kvXkT':_0x42c1d6(0x171),'QwVMl':function(_0x4de4db,_0x182729){return _0x4de4db-_0x182729;},'xhzWJ':function(_0x3443a0,_0x275163){return _0x3443a0*_0x275163;},'gmEJT':_0x42c1d6(0x170),'vlkPi':function(_0x316af6,_0x2bb9c6){return _0x316af6!==_0x2bb9c6;}};logDebug(_0x498a77[_0x42c1d6(0x135)],_0x394d7c);let _0x23c8bd=WebGroupData[_0x42c1d6(0x12d)][_0x42c1d6(0x11d)](_0x394d7c),_0x5632f0=WebGroupData[_0x42c1d6(0x187)][_0x42c1d6(0x11d)](_0x394d7c),_0x2f8d56=new Array();if(!_0x5632f0||_0x498a77['HLnrN'](Date[_0x42c1d6(0x131)](),_0x5632f0)>0x708*0x3e8||!_0x3b334e){const _0x315e4b=(await NTQQUserApi[_0x42c1d6(0x142)]([_0x42c1d6(0x15b)]))[_0x498a77['CkWnu']],_0x24ca0b=await NTQQUserApi[_0x42c1d6(0x13d)](),_0x3555b7=_0x498a77['GGlET'](_0x498a77[_0x42c1d6(0x156)](_0x498a77['GGlET'](_0x498a77[_0x42c1d6(0x16d)](_0x498a77['EnGTk'],_0x315e4b),_0x498a77[_0x42c1d6(0x158)]),_0x24ca0b)+_0x498a77[_0x42c1d6(0x188)],selfInfo[_0x42c1d6(0x13a)]);if(!_0x24ca0b||!_0x315e4b)return _0x2f8d56;const _0x517bcc=WebApi[_0x42c1d6(0x16e)](_0x24ca0b),_0x363bff=[],_0x3ac7a0=await WebApi[_0x42c1d6(0x13b)](_0x498a77[_0x42c1d6(0x169)](_0x498a77[_0x42c1d6(0x163)](_0x498a77[_0x42c1d6(0x189)]+_0x394d7c,_0x42c1d6(0x161)),_0x517bcc),_0x498a77[_0x42c1d6(0x155)],'',_0x3555b7);if(!_0x3ac7a0?.['count']||_0x498a77[_0x42c1d6(0x16c)](_0x3ac7a0?.[_0x42c1d6(0x140)],0x0)||!_0x3ac7a0?.[_0x42c1d6(0x149)])return[];else for(const _0xea3213 in _0x3ac7a0[_0x42c1d6(0x149)]){_0x2f8d56['push'](_0x3ac7a0['mems'][_0xea3213]);}const _0x12e61a=Math[_0x42c1d6(0x139)](_0x498a77[_0x42c1d6(0x144)](_0x3ac7a0['count'],0x28));for(let _0x586566=0x2;_0x498a77['YKLxK'](_0x586566,_0x12e61a);_0x586566++){const _0x2d6e8b=WebApi[_0x42c1d6(0x13b)](_0x498a77['COOrU'](_0x498a77[_0x42c1d6(0x12b)](_0x498a77[_0x42c1d6(0x12b)](_0x498a77['PuvSc'](_0x498a77['PuvSc'](_0x498a77[_0x42c1d6(0x14a)](_0x498a77['kvXkT'],_0x498a77[_0x42c1d6(0x159)](_0x586566,0x1)*0x28),_0x42c1d6(0x13f)),_0x498a77[_0x42c1d6(0x130)](_0x586566,0x28)),_0x498a77['gmEJT']),_0x394d7c)+_0x42c1d6(0x161),_0x517bcc),_0x498a77[_0x42c1d6(0x155)],'',_0x3555b7);_0x363bff[_0x42c1d6(0x15e)](_0x2d6e8b);}for(let _0x39631d=0x1;_0x39631d<=_0x12e61a;_0x39631d++){const _0x5605c6=await _0x363bff[_0x39631d];if(!_0x5605c6?.[_0x42c1d6(0x13e)]||_0x498a77[_0x42c1d6(0x162)](_0x5605c6?.['errcode'],0x0)||!_0x5605c6?.[_0x42c1d6(0x149)])continue;for(const _0x291701 in _0x5605c6[_0x42c1d6(0x149)]){_0x2f8d56[_0x42c1d6(0x15e)](_0x5605c6[_0x42c1d6(0x149)][_0x291701]);}}WebGroupData[_0x42c1d6(0x12d)][_0x42c1d6(0x133)](_0x394d7c,_0x2f8d56),WebGroupData[_0x42c1d6(0x187)][_0x42c1d6(0x133)](_0x394d7c,Date[_0x42c1d6(0x131)]());}else _0x2f8d56=_0x23c8bd;return _0x2f8d56;}static async[_0x4fd49f(0x137)](_0x1d5bde,_0x5cf013=''){const _0x382bc2=_0x4fd49f,_0x110c2e={'fcYet':_0x382bc2(0x15b),'HoZVD':function(_0x5a4218,_0x2d520c){return _0x5a4218+_0x2d520c;},'HRXgL':_0x382bc2(0x12c),'IZouy':';\x20p_uin=o','SlRWI':function(_0x1146ea,_0x454add){return _0x1146ea+_0x454add;},'wuGuB':_0x382bc2(0x173),'dRaMf':_0x382bc2(0x129),'aRizY':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','pbVnk':_0x382bc2(0x134),'MBWKm':'GET'},_0x357d56=(await NTQQUserApi[_0x382bc2(0x142)]([_0x110c2e[_0x382bc2(0x123)]]))['qun.qq.com'],_0x109a27=await NTQQUserApi['getSkey'](),_0x22e48a=_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x186)]+_0x357d56,_0x382bc2(0x122)),_0x109a27),_0x110c2e[_0x382bc2(0x136)]),selfInfo['uin']);let _0x2d9e39=undefined;if(!_0x109a27||!_0x357d56)return undefined;const _0x3652e8=WebApi[_0x382bc2(0x16e)](_0x109a27),_0x2f7cea=_0x110c2e[_0x382bc2(0x185)](_0x110c2e[_0x382bc2(0x185)](_0x110c2e['HoZVD'](_0x110c2e[_0x382bc2(0x14d)](_0x110c2e[_0x382bc2(0x181)],_0x1d5bde),_0x382bc2(0x161)),_0x3652e8),_0x110c2e[_0x382bc2(0x12f)])+_0x5cf013+_0x110c2e[_0x382bc2(0x15a)],_0x462eec=_0x110c2e['pbVnk']+_0x3652e8;try{return _0x2d9e39=await WebApi['httpDataJson'](_0x462eec,_0x110c2e[_0x382bc2(0x11a)],'',_0x22e48a),_0x2d9e39;}catch(_0x760758){return undefined;}return undefined;}static async[_0x4fd49f(0x166)](_0x536d30){const _0x5485d5=_0x4fd49f,_0x1c4ca0={'axyRs':_0x5485d5(0x15b),'fdfNP':function(_0x23f67b,_0x3629fe){return _0x23f67b+_0x3629fe;},'BtXrW':function(_0x2c29d0,_0x58e5ce){return _0x2c29d0+_0x58e5ce;},'xxqMY':function(_0x5efbf9,_0x10a567){return _0x5efbf9+_0x10a567;},'sLRrH':';\x20skey=','YiCCm':';\x20p_uin=o','thcqS':function(_0x25a8a4,_0x2f7da2){return _0x25a8a4+_0x2f7da2;},'aEdKF':function(_0x3927c0,_0x2d8c1f){return _0x3927c0+_0x2d8c1f;},'Hppws':'https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','XzLHx':_0x5485d5(0x11c),'kTwNE':_0x5485d5(0x154),'iyeiz':_0x5485d5(0x15c),'pIKkA':function(_0x12e0d7,_0x270cdd){return _0x12e0d7!==_0x270cdd;}},_0x3b9292=(await NTQQUserApi[_0x5485d5(0x142)]([_0x1c4ca0[_0x5485d5(0x17f)]]))[_0x5485d5(0x15b)],_0x48b8ec=await NTQQUserApi[_0x5485d5(0x13d)](),_0x5bb049=_0x1c4ca0['fdfNP'](_0x1c4ca0[_0x5485d5(0x16a)](_0x1c4ca0['xxqMY'](_0x1c4ca0[_0x5485d5(0x16a)](_0x1c4ca0[_0x5485d5(0x16a)](_0x5485d5(0x12c),_0x3b9292),_0x1c4ca0['sLRrH']),_0x48b8ec),_0x1c4ca0[_0x5485d5(0x175)]),selfInfo[_0x5485d5(0x13a)]);let _0x140b9a=undefined;if(!_0x48b8ec||!_0x3b9292)return undefined;const _0x5789b8=WebApi['genBkn'](_0x48b8ec),_0x23302f=_0x1c4ca0[_0x5485d5(0x150)](_0x1c4ca0[_0x5485d5(0x165)](_0x1c4ca0[_0x5485d5(0x13c)](_0x1c4ca0['Hppws'],_0x5789b8)+_0x1c4ca0[_0x5485d5(0x184)],_0x536d30),_0x1c4ca0[_0x5485d5(0x120)]);try{_0x140b9a=await WebApi[_0x5485d5(0x13b)](_0x23302f,_0x1c4ca0[_0x5485d5(0x183)],'',_0x5bb049);if(_0x1c4ca0[_0x5485d5(0x178)](_0x140b9a?.['ec'],0x0))return undefined;return _0x140b9a;}catch(_0x359f14){return undefined;}return undefined;}static async[_0x4fd49f(0x15d)](_0x3a74d4='',_0xf9f252='GET',_0x3ebd89='',_0x2dc76f=''){const _0x12fb8e=_0x4fd49f,_0x1c1743={'bfvwd':function(_0x1e4224,_0x101f3c){return _0x1e4224===_0x101f3c;},'VZxeZ':_0x12fb8e(0x15c),'BUpUd':function(_0x420710,_0x32e8a9){return _0x420710===_0x32e8a9;},'acWir':_0x12fb8e(0x14e),'FwjGj':function(_0x4f433d,_0x2c0bf1,_0x8d7cce){return _0x4f433d(_0x2c0bf1,_0x8d7cce);},'OTOIp':_0x12fb8e(0x147),'AFopo':function(_0x564b09,_0x31a29d){return _0x564b09(_0x31a29d);}};let _0x56a4e1='';return new Promise(async(_0x4c1a42,_0x2c7556)=>{const _0x1f4c6e=_0x12fb8e;try{let _0x5a80a8=undefined;_0x1c1743['bfvwd'](_0xf9f252,_0x1c1743[_0x1f4c6e(0x121)])||_0x1c1743[_0x1f4c6e(0x179)](_0xf9f252,_0x1c1743[_0x1f4c6e(0x132)])?_0x5a80a8=await _0x1c1743[_0x1f4c6e(0x18a)](fetch,_0x3a74d4,{'method':_0xf9f252,'headers':{'Content-Type':_0x1c1743[_0x1f4c6e(0x128)],'Cookie':_0x2dc76f}}):_0x5a80a8=await fetch(_0x3a74d4,{'method':_0xf9f252,'headers':{'Content-Type':_0x1c1743[_0x1f4c6e(0x128)],'Cookie':_0x2dc76f},'body':_0x3ebd89});if(_0x5a80a8['ok'])_0x56a4e1=await _0x5a80a8[_0x1f4c6e(0x17e)]();else{}}catch(_0xa99c4e){}_0x1c1743[_0x1f4c6e(0x18c)](_0x4c1a42,_0x56a4e1);});}static async[_0x4fd49f(0x13b)](_0x86a70a='',_0x7dcab6=_0x4fd49f(0x15c),_0x4172dc='',_0x4298df=''){const _0x312b44=_0x4fd49f,_0x2a97e6={'AjbYH':function(_0x2e7eb0,_0x21e6cf){return _0x2e7eb0===_0x21e6cf;},'NYLXW':_0x312b44(0x15c),'HbpET':function(_0x44cfd4,_0x4a8f0f,_0x2728fc){return _0x44cfd4(_0x4a8f0f,_0x2728fc);},'RzMTr':_0x312b44(0x147),'BtZHX':function(_0x3b4c66,_0x38716b,_0x42deb3){return _0x3b4c66(_0x38716b,_0x42deb3);},'ZGkoP':function(_0xc3b31b,_0x1b1ec0){return _0xc3b31b(_0x1b1ec0);}};let _0x458ef1=undefined;return new Promise(async(_0x2c4090,_0x57cf9f)=>{const _0x75a8a8=_0x312b44;try{let _0x1974d0=undefined;_0x2a97e6[_0x75a8a8(0x17b)](_0x7dcab6,_0x2a97e6[_0x75a8a8(0x126)])||_0x2a97e6[_0x75a8a8(0x17b)](_0x7dcab6,_0x75a8a8(0x14e))?_0x1974d0=await _0x2a97e6[_0x75a8a8(0x14b)](fetch,_0x86a70a,{'method':_0x7dcab6,'headers':{'Content-Type':_0x2a97e6[_0x75a8a8(0x11e)],'Cookie':_0x4298df}}):_0x1974d0=await _0x2a97e6[_0x75a8a8(0x127)](fetch,_0x86a70a,{'method':_0x7dcab6,'headers':{'Content-Type':_0x75a8a8(0x147),'Cookie':_0x4298df},'body':_0x4172dc});if(_0x1974d0['ok'])_0x458ef1=await _0x1974d0[_0x75a8a8(0x12e)]();else{}}catch(_0x4a8201){}_0x2a97e6['ZGkoP'](_0x2c4090,_0x458ef1);});}static[_0x4fd49f(0x16e)](_0x1ab708){const _0x395fb9=_0x4fd49f,_0x1a29bd={'nvBdy':function(_0x32b237,_0x37393f){return _0x32b237||_0x37393f;},'estpc':function(_0x578ce2,_0x2b1bae){return _0x578ce2<_0x2b1bae;},'KQDFF':function(_0x411edc,_0x382f16){return _0x411edc+_0x382f16;},'WCkFW':function(_0x5f3351,_0x511c52){return _0x5f3351<<_0x511c52;},'byjvA':function(_0x2aa57c,_0x5032af){return _0x2aa57c&_0x5032af;}};_0x1ab708=_0x1a29bd['nvBdy'](_0x1ab708,'');let _0x56e44c=0x1505;for(let _0x486974=0x0;_0x1a29bd['estpc'](_0x486974,_0x1ab708['length']);_0x486974++){const _0x142734=_0x1ab708[_0x395fb9(0x14f)](_0x486974);_0x56e44c=_0x1a29bd[_0x395fb9(0x11f)](_0x56e44c+_0x1a29bd[_0x395fb9(0x160)](_0x56e44c,0x5),_0x142734);}return _0x1a29bd['byjvA'](_0x56e44c,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 3fa3a994..352c8fde 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x5cf6ba=_0xe79d;(function(_0xb3ff45,_0x3a8884){const _0x496221=_0xe79d,_0x4d878d=_0xb3ff45();while(!![]){try{const _0x1e7c06=-parseInt(_0x496221(0xb2))/0x1*(-parseInt(_0x496221(0x118))/0x2)+parseInt(_0x496221(0xda))/0x3+-parseInt(_0x496221(0x163))/0x4+-parseInt(_0x496221(0x111))/0x5*(-parseInt(_0x496221(0x12a))/0x6)+-parseInt(_0x496221(0x161))/0x7+-parseInt(_0x496221(0x165))/0x8+parseInt(_0x496221(0xc1))/0x9*(-parseInt(_0x496221(0x11a))/0xa);if(_0x1e7c06===_0x3a8884)break;else _0x4d878d['push'](_0x4d878d['shift']());}catch(_0x48de5d){_0x4d878d['push'](_0x4d878d['shift']());}}}(_0x4fa1,0xa76ae));import _0x4e07b2 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x51dafe from'node:path';import _0x4dc077 from'node:os';import _0x23bc08 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x4fa1(){const _0x4e6d98=['split','addKernelProfileListener','NodeIKernelMsgListener','125HViAJZ','iUbxH','tipsDesc','./NapCat/data','UyYGs','addListener','initConfig','134614uDgpui','msgId','1690fPbmzh','addKernelLoginListener','WOygP','\x20has\x20no\x20method\x20','本账号数据/缓存目录:','util','session','LbiZd','resolve','getBuddyService','NodeIKernelSessionListener','loginErrorInfo','packet_received','ProfileListener','initSession','CVfKr','250806ilVPLP','init\x20failed\x20','EhoRM','rOGPI','mkdirSync','pngBase64QrcodeData','mQNmR','wuhjY','getMsgService','ZBvNo','获取二维码登录超时','updateMsg','last_message_time','curVersion','onUserLoggedIn','PQkiR','devUid','没有可快速登录的QQ号','infos','quickLogin','pDNSw','AGdWd','GGnKP','onGroupListUpdate','hpNFw','TPFpp','Tkdxi','启动失败:\x20','groupMemberList_MainWindow','name','xrfUi','addMsg','NodeQQNTWrapperUtil','isQuickLogin','loginListener','catch','proxyHandler','dataPathGlobal','tipsTitle','qoVlx','init','assign','initSession\x20failed','isaeg','message_received','getNextMemberList','message_sent','onRecvMsg','stringify','NodeIKernelBuddyListener','fCRDu','digest','onQRCodeSessionFailed','wZpds','nDFQF','8773541jWTgZr','XZoqv','1043328yxtRtV','TBIAt','1272520RvPeXW','FjbbY','get','jYjeG','NodeIQQNTWrapperSession','gSlKf','NodeIGlobalAdapter','NodeIKernelLoginListener','pOvcz','SWkAu','ECKnf','nwAhJ','map','CCchd','floor','GroupListener','onMsgInfoListUpdate','LocalLoginInfoList','createMemberListScene','createHash','loginService','XPuuR','engine','4phKUOv','NodeIKernelProfileListener','set','onProfileDetailInfoChanged','prOZM','length','md5','xvEgb','nKHRe','rGNIz','result','bQnRf','onRecvSysMsg','replace','NodeIKernelLoginService','7263dicGCi','onBuddyListChange','initWithDeskTopConfig','_GW_B','MsgListener','consoleLog','onQRCodeLoginSucceed','getLoginList','./nt_qq/global','consoleLogLevel','data:image/png;base64,','ktpYr','BNVBI','constructor',')\x20在线状态变更','Wphig','addKernelBuddyListener','UiQFY','DtVLR','nKVjE','uWURf','OVEyU','onSelfStatusChanged','gEtzv','iLoIT','3543396rNlpqb','passwordLogin','sceneId','then','onKickedOffLine','errMsg','homedir','recallTime','uid','HHlsT','startNT','JdOZA','push','onLineDev','NodeIKernelGroupListener','clientType','OoWeo','getProfileService','登录失败','read','eOXIA','groupCode','ODgLq','QAYjo','now',')已登录,无法重复登录','140022008','V1_WIN_NQ_','jalvn','quickLoginWithUin','xVnfW','JPHdm','nWZNc','当前账号(','hex','uin','ABWuZ','find','getGroupService','forEach','base64','dataPath','getNTUserDataInfoConfig','lYMXT','BuddyListener','gACKr','getBuddyList','onLoginSuccessFuncList','getQRCodePicture','vralS','HCQvB','-v2.db'];_0x4fa1=function(){return _0x4e6d98;};return _0x4fa1();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';function _0xe79d(_0x454103,_0x16a0cb){const _0x4fa198=_0x4fa1();return _0xe79d=function(_0xe79d41,_0x34c58a){_0xe79d41=_0xe79d41-0x9c;let _0x13198b=_0x4fa198[_0xe79d41];return _0x13198b;},_0xe79d(_0x454103,_0x16a0cb);}import{sleep}from'@/common/utils/helper';import _0x5c2610 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';export class NapCatCore{['session'];['util'];[_0x5cf6ba(0xb1)];[_0x5cf6ba(0xaf)];['loginListener'];[_0x5cf6ba(0x109)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x41b943=_0x5cf6ba,mnhads={'vralS':function(x,y){return x===y;},'TPFpp':'undefined'};if(mnhads[_0x41b943(0x10b)](typeof target[prop],mnhads[_0x41b943(0x143)]))return(...args)=>{const _0xd15825=_0x41b943;logDebug(target[_0xd15825(0xce)]['name']+_0xd15825(0x11d)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x4ee99e=_0x5cf6ba,_0x449cc6={'CVfKr':function(_0x1fb71e,_0x4dfbd3){return _0x1fb71e(_0x4dfbd3);},'kzzzd':function(_0x26ebc2,_0x12d06b){return _0x26ebc2+_0x12d06b;},'CzFUt':function(_0x70fef1,_0x156467){return _0x70fef1+_0x156467;},'xvEgb':_0x4ee99e(0xfb),'nDFQF':_0x4ee99e(0xf3),'ABWuZ':function(_0x280b64,_0x1e05c7,_0x45a294){return _0x280b64(_0x1e05c7,_0x45a294);},'isaeg':_0x4ee99e(0x154),'JdOZA':'数据库初始化失败','nKHRe':_0x4ee99e(0x114),'RolCV':_0x4ee99e(0x11e),'BUIIN':function(_0x410568,_0x191fb0,_0x459cc3){return _0x410568(_0x191fb0,_0x459cc3);},'ZBvNo':_0x4ee99e(0xec),'eOXIA':function(_0x5462c4,_0x47e757,_0x5176c7){return _0x5462c4(_0x47e757,_0x5176c7);}};this[_0x4ee99e(0xb1)]=new _0x4e07b2['NodeIQQNTWrapperEngine'](),this[_0x4ee99e(0x11f)]=new _0x4e07b2[(_0x4ee99e(0x14a))](),this['loginService']=new _0x4e07b2[(_0x4ee99e(0xc0))](),this[_0x4ee99e(0x120)]=new _0x4e07b2[(_0x4ee99e(0x9f))](),this['loginListener']=new LoginListener(),this[_0x4ee99e(0x14c)][_0x4ee99e(0x138)]=_0x29acb2=>{const _0x5a96e5=_0x4ee99e;_0x449cc6[_0x5a96e5(0x129)](logError,_0x449cc6['kzzzd'](_0x449cc6['CzFUt'](_0x449cc6[_0x5a96e5(0xb9)],_0x29acb2),_0x449cc6[_0x5a96e5(0x160)]));},this[_0x4ee99e(0x14c)][_0x4ee99e(0xc7)]=_0x1ba56f=>{const _0x2bb174=_0x4ee99e,_0x423da9={'qoVlx':function(_0x567a02,_0x17b4d2,_0x7fc86d){const _0x3dc374=_0xe79d;return _0x449cc6[_0x3dc374(0xfe)](_0x567a02,_0x17b4d2,_0x7fc86d);},'EwjEY':_0x449cc6[_0x2bb174(0xe5)],'HCQvB':function(_0x2c872b,_0x472bdb){return _0x2c872b instanceof _0x472bdb;},'SWkAu':function(_0x5af8d0,_0x4b9ff6){return _0x449cc6['CVfKr'](_0x5af8d0,_0x4b9ff6);},'AGdWd':_0x449cc6[_0x2bb174(0xba)],'rGNIz':function(_0x11ccaf,_0x38e4ff,_0x102cf8){return _0x449cc6['ABWuZ'](_0x11ccaf,_0x38e4ff,_0x102cf8);},'DtVLR':_0x449cc6['RolCV']};this[_0x2bb174(0x128)](_0x1ba56f['uin'],_0x1ba56f[_0x2bb174(0xe2)])['then'](_0x35284e=>{const _0xb0ac69=_0x2bb174,_0x39bfb3={'fCRDu':function(_0x21afe7,_0x48151c,_0x5c39b1){return _0x21afe7(_0x48151c,_0x5c39b1);},'iLoIT':function(_0x1b86b9,_0x487f5a){const _0x4ffdf1=_0xe79d;return _0x423da9[_0x4ffdf1(0x10c)](_0x1b86b9,_0x487f5a);}};selfInfo[_0xb0ac69(0xfd)]=_0x1ba56f['uin'],selfInfo[_0xb0ac69(0xe2)]=_0x1ba56f[_0xb0ac69(0xe2)],napCatConfig[_0xb0ac69(0xed)](),_0x423da9[_0xb0ac69(0x151)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0xb0ac69(0xca)]),_0x423da9[_0xb0ac69(0xa4)](enableFileLog,napCatConfig['fileLog']),_0x423da9[_0xb0ac69(0xa4)](enableConsoleLog,napCatConfig[_0xb0ac69(0xc6)]),setLogSelfInfo(selfInfo);const _0x216c5d=_0x51dafe['resolve'](this[_0xb0ac69(0x103)],_0x423da9[_0xb0ac69(0x13f)]);_0x23bc08[_0xb0ac69(0x12e)](_0x216c5d,{'recursive':!![]}),_0x423da9[_0xb0ac69(0xbb)](logDebug,_0x423da9[_0xb0ac69(0xd3)],_0x216c5d),dbUtil[_0xb0ac69(0x152)](_0x51dafe[_0xb0ac69(0x122)](_0x216c5d,'./'+_0x1ba56f[_0xb0ac69(0xfd)]+_0xb0ac69(0x10d)))[_0xb0ac69(0xdd)](()=>{const _0x2f149c=_0xb0ac69,_0x2a66e1={'OVEyU':function(_0x2d0be6,_0x55f191,_0x231e95){const _0x3cc7f4=_0xe79d;return _0x39bfb3[_0x3cc7f4(0x15c)](_0x2d0be6,_0x55f191,_0x231e95);},'WOygP':function(_0x1307f2,_0x58d825){const _0x1837f3=_0xe79d;return _0x39bfb3[_0x1837f3(0xd9)](_0x1307f2,_0x58d825);}};this['initDataListener'](),this[_0x2f149c(0x109)][_0x2f149c(0xa7)](_0x148300=>{new Promise((_0x36be3e,_0x45002c)=>{const _0x4cc497=_0xe79d,_0x576566=_0x2a66e1[_0x4cc497(0xd6)](_0x148300,_0x1ba56f[_0x4cc497(0xfd)],_0x1ba56f[_0x4cc497(0xe2)]);_0x2a66e1[_0x4cc497(0x11c)](_0x576566,Promise)&&_0x576566['then'](_0x36be3e)['catch'](_0x45002c);})['then']();});})[_0xb0ac69(0x14d)](_0x76062e=>{const _0x5d0cae=_0xb0ac69;_0x423da9[_0x5d0cae(0x151)](logError,_0x423da9['EwjEY'],_0x76062e);});})[_0x2bb174(0x14d)](_0x66f2f8=>{const _0xbb7356=_0x2bb174;_0x449cc6[_0xbb7356(0xfe)](logError,_0x449cc6[_0xbb7356(0x155)],_0x66f2f8);throw new Error(_0xbb7356(0x145)+JSON[_0xbb7356(0x15a)](_0x66f2f8));});},this[_0x4ee99e(0x14c)][_0x4ee99e(0x15e)]=_0x5b6029=>{const _0x440036=_0x4ee99e;_0x449cc6['BUIIN'](logError,_0x449cc6[_0x440036(0x133)],_0x5b6029);},this[_0x4ee99e(0x14c)]['onLoginFailed']=_0x2c5d62=>{const _0x36c74a=_0x4ee99e;_0x449cc6[_0x36c74a(0xee)](logError,_0x449cc6[_0x36c74a(0x133)],_0x2c5d62);},this['loginListener']=new Proxy(this[_0x4ee99e(0x14c)],this['proxyHandler']),this[_0x4ee99e(0xaf)][_0x4ee99e(0x11b)](new _0x4e07b2[(_0x4ee99e(0xa2))](this[_0x4ee99e(0x14c)])),this[_0x4ee99e(0x117)]();}get[_0x5cf6ba(0x103)](){const _0x4482b3=_0x5cf6ba;let _0x418444=this['util'][_0x4482b3(0x104)]();return!_0x418444&&(_0x418444=_0x51dafe[_0x4482b3(0x122)](_0x4dc077[_0x4482b3(0xe0)](),'./.config/QQ'),_0x23bc08[_0x4482b3(0x12e)](_0x418444,{'recursive':!![]})),_0x418444;}get['dataPathGlobal'](){const _0x36d8e0=_0x5cf6ba,_0xf544a7={'UiQFY':_0x36d8e0(0xc9)};return _0x51dafe[_0x36d8e0(0x122)](this['dataPath'],_0xf544a7[_0x36d8e0(0xd2)]);}[_0x5cf6ba(0x117)](){const _0x1e0120=_0x5cf6ba;this[_0x1e0120(0xb1)][_0x1e0120(0xc3)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x1e0120(0x137)],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':_0x1e0120(0xf5)+qqVersionConfigInfo['curVersion'][_0x1e0120(0xbf)]('-','_')+_0x1e0120(0xc4),'global_path_config':{'desktopGlobalPath':this[_0x1e0120(0x14f)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4e07b2[(_0x1e0120(0xa1))](new GlobalAdapter())),this[_0x1e0120(0xaf)][_0x1e0120(0x117)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x1e0120(0x14f)],'clientVer':qqVersionConfigInfo[_0x1e0120(0x137)],'hostName':hostname});}[_0x5cf6ba(0x128)](_0x3e5fd9,_0x377592){const _0x535f2a=_0x5cf6ba,_0x1d9733={'Tkdxi':function(_0x18dfb1,_0xf4de46){return _0x18dfb1===_0xf4de46;},'EhoRM':function(_0x4dbbfb,_0x5c8d13){return _0x4dbbfb(_0x5c8d13);},'pDNSw':function(_0x517144,_0xdd8019,_0x262913,_0x76f47a){return _0x517144(_0xdd8019,_0x262913,_0x76f47a);},'LbiZd':_0x535f2a(0x12b)};return new Promise((_0x1b0f12,_0xf47a7d)=>{const _0x198b00=_0x535f2a,_0x1f3c18={'jalvn':function(_0x8ae783,_0x4d6aa8){const _0x583c6c=_0xe79d;return _0x1d9733[_0x583c6c(0x144)](_0x8ae783,_0x4d6aa8);},'wuhjY':function(_0x3cb733,_0x338d24){const _0x430d54=_0xe79d;return _0x1d9733[_0x430d54(0x12c)](_0x3cb733,_0x338d24);}},_0x4891fe=_0x1d9733[_0x198b00(0x13e)](genSessionConfig,_0x3e5fd9,_0x377592,this['dataPath']),_0x5d33e2=new SessionListener();_0x5d33e2['onSessionInitComplete']=_0x5841ae=>{const _0x84094a=_0x198b00;if(_0x1f3c18[_0x84094a(0xf6)](_0x5841ae,0x0))return _0x1f3c18[_0x84094a(0x131)](_0x1b0f12,0x0);_0xf47a7d(_0x5841ae);},this['session'][_0x198b00(0x152)](_0x4891fe,new _0x4e07b2['NodeIDependsAdapter'](new DependsAdapter()),new _0x4e07b2['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x4e07b2[(_0x198b00(0x124))](_0x5d33e2));try{this[_0x198b00(0x120)][_0x198b00(0xe4)](0x0);}catch(_0x4ec69b){try{this[_0x198b00(0x120)][_0x198b00(0xe4)]();}catch(_0x19b469){_0xf47a7d(_0x1d9733[_0x198b00(0x121)]+_0x19b469);}}});}['initDataListener'](){const _0x3d4dd6=_0x5cf6ba,_0x5644fa={'OoWeo':function(_0x31ea84,_0x229718){return _0x31ea84===_0x229718;},'KyJaA':function(_0x37e85e,_0x20b00a){return _0x37e85e(_0x20b00a);},'xrfUi':function(_0xc8b53c,_0x18ea24){return _0xc8b53c+_0x18ea24;},'HHlsT':function(_0x3f6e2e,_0x1850a6){return _0x3f6e2e+_0x1850a6;},'FjbbY':'账号设备(','EkMMj':_0x3d4dd6(0xcf),'XPuuR':function(_0x53ec67,_0x496007){return _0x53ec67+_0x496007;},'nKVjE':function(_0x2b63d0,_0x16ece0){return _0x2b63d0/_0x16ece0;},'JPHdm':function(_0x3ce02c,_0x4095bc){return _0x3ce02c/_0x4095bc;},'rOGPI':function(_0x4602c0,_0x261302){return _0x4602c0===_0x261302;},'gACKr':_0x3d4dd6(0x146)},_0x327f48=new MsgListener();_0x327f48[_0x3d4dd6(0xe7)]=_0x2660b1=>{const _0x148643=_0x3d4dd6,_0x3052cc={'BNVBI':function(_0x380342,_0x2b01ef){const _0x2af5ed=_0xe79d;return _0x5644fa[_0x2af5ed(0xea)](_0x380342,_0x2b01ef);},'CCchd':function(_0x15ad91,_0x3dc15a){return _0x5644fa['KyJaA'](_0x15ad91,_0x3dc15a);},'xVnfW':function(_0x19e100,_0xea6889){const _0x1f2c4b=_0xe79d;return _0x5644fa[_0x1f2c4b(0x148)](_0x19e100,_0xea6889);},'bQnRf':function(_0x2f8410,_0x5b9e7b){const _0x472d75=_0xe79d;return _0x5644fa[_0x472d75(0xe3)](_0x2f8410,_0x5b9e7b);},'hpNFw':_0x5644fa[_0x148643(0x9c)],'JIRZn':_0x5644fa['EkMMj']};_0x2660b1[_0x148643(0xa7)](_0x490349=>{const _0x572d42=_0x148643;_0x3052cc[_0x572d42(0xcd)](_0x490349[_0x572d42(0xe9)],0x2)&&_0x3052cc[_0x572d42(0xa8)](log,_0x3052cc[_0x572d42(0xf8)](_0x3052cc[_0x572d42(0xbd)](_0x3052cc[_0x572d42(0x142)],_0x490349[_0x572d42(0x13a)]),_0x3052cc['JIRZn']));});},_0x327f48[_0x3d4dd6(0xde)]=_0x19b461=>{const _0x405b50=_0x3d4dd6;log(_0x5644fa['XPuuR'](_0x5644fa[_0x405b50(0xb0)]('[KickedOffLine]\x20[',_0x19b461[_0x405b50(0x150)])+']\x20',_0x19b461[_0x405b50(0x113)]));},_0x327f48[_0x3d4dd6(0xab)]=_0x5eef7a=>{const _0x375da0=_0x3d4dd6,_0x5e6bb9={'wZpds':function(_0x3da5fc,_0x5628cf){return _0x5644fa['OoWeo'](_0x3da5fc,_0x5628cf);}};stat[_0x375da0(0x126)]+=0x1,_0x5eef7a[_0x375da0(0xa7)](_0x243430=>{const _0x3c299b=_0x375da0;_0x5e6bb9[_0x3c299b(0x15f)](_0x243430[_0x3c299b(0xe1)],'0')?dbUtil[_0x3c299b(0x149)](_0x243430)['then']()[_0x3c299b(0x14d)]():dbUtil['getMsgByLongId'](_0x243430[_0x3c299b(0x119)])[_0x3c299b(0xdd)](_0x30a289=>{const _0x2dc3a8=_0x3c299b;_0x30a289&&(_0x30a289[_0x2dc3a8(0xe1)]=_0x243430[_0x2dc3a8(0xe1)],dbUtil[_0x2dc3a8(0x135)](_0x30a289)[_0x2dc3a8(0xdd)]());});});},_0x327f48['onAddSendMsg']=_0x406aa6=>{const _0xf12ee4=_0x3d4dd6;stat['packet_sent']+=0x1,stat[_0xf12ee4(0x158)]+=0x1,stat['last_message_time']=Math[_0xf12ee4(0xa9)](_0x5644fa[_0xf12ee4(0xd4)](Date[_0xf12ee4(0xf2)](),0x3e8));},_0x327f48[_0x3d4dd6(0x159)]=_0x206a28=>{const _0x338ef2=_0x3d4dd6;stat['packet_received']+=0x1,stat[_0x338ef2(0x156)]+=_0x206a28[_0x338ef2(0xb7)],stat[_0x338ef2(0x136)]=Math[_0x338ef2(0xa9)](_0x5644fa[_0x338ef2(0xf9)](Date['now'](),0x3e8));},_0x327f48[_0x3d4dd6(0xbe)]=(..._0x461ca0)=>{stat['packet_received']+=0x1;},this['addListener'](_0x327f48);const _0x6974ce=new BuddyListener();_0x6974ce[_0x3d4dd6(0xc2)]=_0x291931=>{const _0x1534ea=_0x3d4dd6;for(const _0x2f380b of _0x291931){for(const _0x435c5e of _0x2f380b['buddyList']){const _0x1c39ca=friends['get'](_0x435c5e[_0x1534ea(0xe2)]);uid2UinMap[_0x435c5e[_0x1534ea(0xe2)]]=_0x435c5e[_0x1534ea(0xfd)],_0x1c39ca?Object['assign'](_0x1c39ca,_0x435c5e):friends[_0x1534ea(0xb4)](_0x435c5e['uid'],_0x435c5e);}}},this[_0x3d4dd6(0x116)](_0x6974ce),this[_0x3d4dd6(0x120)][_0x3d4dd6(0x123)]()[_0x3d4dd6(0x108)](!![])[_0x3d4dd6(0xdd)](_0x76b13=>{});const _0x56cfcc=new ProfileListener();_0x56cfcc[_0x3d4dd6(0xb5)]=_0x413677=>{const _0x3f4893=_0x3d4dd6;_0x5644fa[_0x3f4893(0x12d)](_0x413677[_0x3f4893(0xe2)],selfInfo[_0x3f4893(0xe2)])&&Object['assign'](selfInfo,_0x413677);},_0x56cfcc[_0x3d4dd6(0xd7)]=_0x20498d=>{},this[_0x3d4dd6(0x116)](_0x56cfcc);const _0x2a09ef=new GroupListener();_0x2a09ef[_0x3d4dd6(0x141)]=(_0x1869bd,_0x3d24cf)=>{const _0x1aab31=_0x3d4dd6,_0x1f43c0={'lYMXT':_0x5644fa[_0x1aab31(0x107)]};_0x3d24cf[_0x1aab31(0xa7)](_0x27d6a3=>{const _0xf9949c=_0x1aab31,_0x2748d7=groups[_0xf9949c(0x9d)](_0x27d6a3[_0xf9949c(0xef)]);if(_0x2748d7)Object['assign'](_0x2748d7,_0x27d6a3);else{groups['set'](_0x27d6a3[_0xf9949c(0xef)],_0x27d6a3);const _0x348662=this[_0xf9949c(0x120)][_0xf9949c(0x100)]()[_0xf9949c(0xad)](_0x27d6a3[_0xf9949c(0xef)],_0x1f43c0[_0xf9949c(0x105)]);this[_0xf9949c(0x120)][_0xf9949c(0x100)]()[_0xf9949c(0x157)](_0x348662,undefined,0xbb8)[_0xf9949c(0xdd)](_0x57d14f=>{});}});},_0x2a09ef['onMemberListChange']=_0x193030=>{const _0x473533=_0x3d4dd6,_0x2f6e95=_0x193030[_0x473533(0xdc)][_0x473533(0x10e)]('_')[0x0];if(groupMembers['has'](_0x2f6e95)){const _0x3b6f12=groupMembers[_0x473533(0x9d)](_0x2f6e95);_0x193030[_0x473533(0x13c)]['forEach']((_0xcc88e2,_0x1f0c30)=>{const _0x467281=_0x473533,_0x3c6895=_0x3b6f12[_0x467281(0x9d)](_0x1f0c30);_0x3c6895?Object[_0x467281(0x153)](_0x3c6895,_0xcc88e2):_0x3b6f12['set'](_0x1f0c30,_0xcc88e2);});}else groupMembers['set'](_0x2f6e95,_0x193030['infos']);},_0x2a09ef['onMemberInfoChange']=(_0x40a6e3,_0x2773f1,_0x5c8af6)=>{const _0x32e972=_0x3d4dd6;_0x5c8af6['forEach']((_0x1c2cb7,_0x1681a2)=>{const _0xa3dc55=_0xe79d;uid2UinMap[_0x1681a2]=_0x1c2cb7[_0xa3dc55(0xfd)];});const _0x312b56=groupMembers['get'](_0x40a6e3);_0x312b56?_0x5c8af6[_0x32e972(0x101)]((_0x585aa2,_0x50f976)=>{const _0x4ad01e=_0x32e972,_0x276768=_0x312b56['get'](_0x50f976);_0x276768?Object[_0x4ad01e(0x153)](_0x276768,_0x585aa2):_0x312b56['set'](_0x50f976,_0x585aa2);}):groupMembers[_0x32e972(0xb4)](_0x40a6e3,_0x5c8af6);},this[_0x3d4dd6(0x116)](_0x2a09ef);}[_0x5cf6ba(0x116)](_0x134b05){const _0x41758d=_0x5cf6ba,_0x3fe7a0={'jYjeG':_0x41758d(0x106),'Wphig':_0x41758d(0xc5),'ODgLq':_0x41758d(0x127)};_0x134b05=new Proxy(_0x134b05,this[_0x41758d(0x14e)]);switch(_0x134b05[_0x41758d(0xce)][_0x41758d(0x147)]){case _0x3fe7a0[_0x41758d(0x9e)]:{return this[_0x41758d(0x120)][_0x41758d(0x123)]()[_0x41758d(0xd1)](new _0x4e07b2[(_0x41758d(0x15b))](_0x134b05));}case _0x41758d(0xaa):{return this[_0x41758d(0x120)][_0x41758d(0x100)]()['addKernelGroupListener'](new _0x4e07b2[(_0x41758d(0xe8))](_0x134b05));}case _0x3fe7a0[_0x41758d(0xd0)]:{return this[_0x41758d(0x120)][_0x41758d(0x132)]()['addKernelMsgListener'](new _0x4e07b2[(_0x41758d(0x110))](_0x134b05));}case _0x3fe7a0[_0x41758d(0xf0)]:{return this['session'][_0x41758d(0xeb)]()[_0x41758d(0x10f)](new _0x4e07b2[(_0x41758d(0xb3))](_0x134b05));}default:return-0x1;}}['onLoginSuccess'](_0x51ed48){const _0x23f818=_0x5cf6ba;this[_0x23f818(0x109)][_0x23f818(0xe6)](_0x51ed48);}async[_0x5cf6ba(0x13d)](_0x1bfa4f){const _0x2a8198=_0x5cf6ba,_0x4d594e={'XZoqv':_0x2a8198(0x13b),'uWURf':function(_0x1a4f81,_0x42f00d){return _0x1a4f81(_0x42f00d);},'voFxk':function(_0x58f0a6,_0x16e5da){return _0x58f0a6+_0x16e5da;},'TBIAt':'快速登录失败\x20'},_0x27cba7=await this['loginService'][_0x2a8198(0xc8)]();if(_0x27cba7['result']!==0x0)throw new Error(_0x4d594e[_0x2a8198(0x162)]);const _0x107ed3=_0x27cba7[_0x2a8198(0xac)][_0x2a8198(0xff)](_0xe342aa=>_0xe342aa[_0x2a8198(0xfd)]===_0x1bfa4f);if(!_0x107ed3||!_0x107ed3?.[_0x2a8198(0x14b)])throw new Error(_0x1bfa4f+'快速登录不可用');await _0x4d594e[_0x2a8198(0xd5)](sleep,0x3e8);const _0x5459ea=await this[_0x2a8198(0xaf)][_0x2a8198(0xf7)](_0x1bfa4f);if(!_0x5459ea[_0x2a8198(0xbc)])throw new Error(_0x4d594e['voFxk'](_0x4d594e[_0x2a8198(0x164)],_0x5459ea[_0x2a8198(0x125)][_0x2a8198(0xdf)]));return _0x5459ea;}async['qrLogin'](){const _0x186feb=_0x5cf6ba,_0x2be612={'pOvcz':_0x186feb(0x134),'UyYGs':_0x186feb(0xcb),'nWZNc':_0x186feb(0x102),'ktpYr':function(_0xde21df,_0x338855){return _0xde21df(_0x338855);},'mZMjW':function(_0x4bdf20,_0xd99f0b,_0x202e51){return _0x4bdf20(_0xd99f0b,_0x202e51);}};let _0x56d7cb=![];return new Promise((_0x152f6d,_0x18388d)=>{const _0x4306c6=_0x186feb,_0x12c074={'mQNmR':function(_0x46769d,_0x13c1b5){return _0x46769d(_0x13c1b5);},'GGnKP':_0x2be612[_0x4306c6(0xa3)],'gSlKf':_0x2be612[_0x4306c6(0x115)],'BzHqO':_0x2be612[_0x4306c6(0xfa)],'PQkiR':function(_0x301399,_0x126992){const _0x5696cf=_0x4306c6;return _0x2be612[_0x5696cf(0xcc)](_0x301399,_0x126992);}};_0x2be612['mZMjW'](setTimeout,()=>{const _0x4962f5=_0x4306c6;!_0x56d7cb&&_0x12c074[_0x4962f5(0x130)](_0x18388d,_0x12c074[_0x4962f5(0x140)]);},0x2710),this[_0x4306c6(0x14c)]['onQRCodeGetPicture']=_0x30eca0=>{const _0x4a17d0=_0x4306c6;_0x56d7cb=!![];const _0x3756c1=_0x30eca0[_0x4a17d0(0x12f)][_0x4a17d0(0x10e)](_0x12c074[_0x4a17d0(0xa0)])[0x1],_0x15c8b7=Buffer['from'](_0x3756c1,_0x12c074['BzHqO']);_0x12c074[_0x4a17d0(0x139)](_0x152f6d,{'url':_0x30eca0['qrcodeUrl'],'base64':_0x30eca0[_0x4a17d0(0x12f)],'buffer':_0x15c8b7});},this[_0x4306c6(0xaf)][_0x4306c6(0x10a)]();});}async['passwordLogin'](_0x47a438,_0x23e469,_0x3e76bd,_0x33bf2c,_0x152802){const _0x4c7e4c=_0x5cf6ba,_0x559dbd={'gEtzv':_0x4c7e4c(0xb8),'jOfkI':_0x4c7e4c(0xfc),'ECKnf':function(_0x4d7290,_0xe0a73){return _0x4d7290&&_0xe0a73;},'QAYjo':function(_0x33732f,_0x1087a1){return _0x33732f||_0x1087a1;},'nwAhJ':function(_0x4e38e3,_0x32092a){return _0x4e38e3(_0x32092a);},'iUbxH':_0x4c7e4c(0xf4),'prOZM':'140022013'},_0x37bba5=_0x5c2610[_0x4c7e4c(0xae)](_0x559dbd[_0x4c7e4c(0xd8)])['update'](_0x23e469)[_0x4c7e4c(0x15d)](_0x559dbd['jOfkI']),_0x45844e={'uin':_0x47a438,'passwordMd5':_0x37bba5,'step':_0x559dbd[_0x4c7e4c(0xa5)](_0x3e76bd,_0x33bf2c)&&_0x152802?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x559dbd[_0x4c7e4c(0xf1)](_0x3e76bd,''),'proofWaterRand':_0x559dbd[_0x4c7e4c(0xf1)](_0x33bf2c,''),'proofWaterSid':_0x559dbd[_0x4c7e4c(0xf1)](_0x152802,'')};await this[_0x4c7e4c(0xaf)][_0x4c7e4c(0xc8)](),await _0x559dbd[_0x4c7e4c(0xa6)](sleep,0x3e8);const _0x2cb7bd=await this['loginService'][_0x4c7e4c(0xdb)](_0x45844e);switch(_0x2cb7bd['result']){case'0':{break;}case _0x559dbd[_0x4c7e4c(0x112)]:{break;}case'4':case _0x559dbd[_0x4c7e4c(0xb6)]:default:}}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x368ad9=_0x352e;(function(_0xffd36,_0x5bb761){const _0x3c35ad=_0x352e,_0x3ad062=_0xffd36();while(!![]){try{const _0x4aa288=parseInt(_0x3c35ad(0x130))/0x1+parseInt(_0x3c35ad(0x10d))/0x2*(-parseInt(_0x3c35ad(0x103))/0x3)+parseInt(_0x3c35ad(0x148))/0x4*(parseInt(_0x3c35ad(0x13d))/0x5)+-parseInt(_0x3c35ad(0x168))/0x6*(parseInt(_0x3c35ad(0x110))/0x7)+-parseInt(_0x3c35ad(0x10a))/0x8+-parseInt(_0x3c35ad(0xed))/0x9*(-parseInt(_0x3c35ad(0x13a))/0xa)+-parseInt(_0x3c35ad(0xd4))/0xb*(parseInt(_0x3c35ad(0xd7))/0xc);if(_0x4aa288===_0x5bb761)break;else _0x3ad062['push'](_0x3ad062['shift']());}catch(_0x105e93){_0x3ad062['push'](_0x3ad062['shift']());}}}(_0x295d,0x4273a));import _0x334000 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1d0e83 from'node:path';import _0x35f8e9 from'node:os';import _0x2fd441 from'node:fs';function _0x352e(_0x1fc6f6,_0x238261){const _0x295db=_0x295d();return _0x352e=function(_0x352ed4,_0x1118cd){_0x352ed4=_0x352ed4-0xd1;let _0x5d540d=_0x295db[_0x352ed4];return _0x5d540d;},_0x352e(_0x1fc6f6,_0x238261);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';function _0x295d(){const _0x5ef1c5=['getLoginList','map','groupCode','onBuddyListChange','mkdirSync','buddyList','./NapCat/data','sMFir','fODkU','TyHLT','ZeAhw','engine','xobdC','getQRCodePicture','GuAxR','OSLUW','pngBase64QrcodeData','NBgZW','1242PMdrFL','onGroupListUpdate','push','GroupListener','consoleLogLevel','QBYLq','iBalV','infos','获取二维码登录超时','YTFOo','find','\x20has\x20no\x20method\x20','split','-v2.db','initDataListener','jEnFV','没有可快速登录的QQ号','OTQGw','UwZSE','curVersion','assign','uoeYq','657pBPJtr','onMemberInfoChange','qrLogin','onLoginSuccess','getMsgByLongId','addKernelMsgListener','result','2807792eLQDqT','get','VHBLC','628JbLUOH','addKernelGroupListener','MsgListener','392lcqOvD','onUserLoggedIn','homedir','session',')已登录,无法重复登录','read','[KickedOffLine]\x20[','fileLog','has','msgId','xiuEH','md5','initWithDeskTopConfig','qrcodeUrl','NodeIKernelProfileListener','PSfNN','onSessionInitComplete','getNextMemberList','启动失败:\x20','pBvJC','sceneId','initSession\x20failed','onSelfStatusChanged','addKernelLoginListener','init\x20failed\x20','oVbWH','FqYVS','onLoginFailed','isQuickLogin','init','errMsg','quickLoginWithUin','440965MYxnak','floor','LCZlD','CMeoQ','nbszr','resolve','dataPathGlobal','length','Kkopt','proxyHandler','30100ohrjso','passwordLogin','uin','121385WGBUXl','onProfileDetailInfoChanged','etuKP','message_sent','etlrz','getBuddyService','NodeIKernelLoginService','onQRCodeLoginSucceed','V1_WIN_NQ_','NodeIKernelSessionListener','账号设备(','44IQPzdH','initSession','util','dnjKf','now','keqTN','set','快速登录失败\x20','from','onRecvMsg','onQRCodeGetPicture','catch','Lygcq','onMemberListChange','当前账号(','BuddyListener','digest','NodeQQNTWrapperUtil','NomvM',')\x20在线状态变更','140022013','KweUi','getNTUserDataInfoConfig','快速登录不可用','./nt_qq/global','NodeIQQNTWrapperSession','HPWXI','RiQDn','dOeeA','140022008','onRecvSysMsg','loginErrorInfo','34536bjcsya','devUid','last_message_time','packet_sent','loginListener','NodeIDependsAdapter','Hcrov','onQRCodeSessionFailed','createHash','NodeIKernelLoginListener','replace','GvuJK','uexDX','onMsgInfoListUpdate','tYTfc','quickLogin','getMsgService','addListener','getProfileService','startNT','getBuddyList','NodeIKernelGroupListener','then','packet_received','ACTzv','data:image/png;base64,','stringify','clientType','tipsDesc','getGroupService','forEach','wzzSb','onAddSendMsg','onLoginSuccessFuncList','NodeIKernelMsgListener','constructor','uid','VxMjE','recallTime','xSPDY','base64','HrZKa','createMemberListScene','数据库初始化失败','dataPath','本账号数据/缓存目录:','undefined','name','oCJIh','NABLL','loginService','登录失败','bcWRy','NodeIKernelBuddyListener','addMsg','sKifE','Windows\x2010\x20Pro','1200430roWQav','update','initConfig','12VBLxrv','consoleLog','pXuwy','NodeIQQNTWrapperEngine'];_0x295d=function(){return _0x5ef1c5;};return _0x295d();}import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x41e555 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';export class NapCatCore{[_0x368ad9(0x113)];[_0x368ad9(0x14a)];[_0x368ad9(0xe6)];[_0x368ad9(0x19a)];[_0x368ad9(0x16c)];[_0x368ad9(0x189)]=[];[_0x368ad9(0x139)]={'get'(target,prop,receiver){const _0x510f18=_0x368ad9,zUYCXC={'keqTN':function(x,y){return x===y;},'NomvM':_0x510f18(0x196)};if(zUYCXC[_0x510f18(0x14d)](typeof target[prop],zUYCXC[_0x510f18(0x15a)]))return(...args)=>{const _0x23edb0=_0x510f18;logDebug(target['constructor']['name']+_0x23edb0(0xf8)+prop);};return Reflect[_0x510f18(0x10b)](target,prop,receiver);}};constructor(){const _0x415e69=_0x368ad9,_0x106a6c={'xSPDY':function(_0x55859d,_0x175234){return _0x55859d+_0x175234;},'tYTfc':_0x415e69(0x156),'HPWXI':_0x415e69(0x114),'PSfNN':function(_0x4f2ec6,_0x37e7ee,_0x55d426){return _0x4f2ec6(_0x37e7ee,_0x55d426);},'pXuwy':_0x415e69(0x125),'uexDX':_0x415e69(0x193),'GuAxR':function(_0xba12d5,_0x1b58fc,_0xe63dfd){return _0xba12d5(_0x1b58fc,_0xe63dfd);},'nbszr':function(_0x2a5b82,_0x580229){return _0x2a5b82(_0x580229);},'UwZSE':_0x415e69(0xe1),'vNRoZ':_0x415e69(0x195),'NABLL':_0x415e69(0x19b)};this[_0x415e69(0xe6)]=new _0x334000[(_0x415e69(0xda))](),this[_0x415e69(0x14a)]=new _0x334000[(_0x415e69(0x159))](),this[_0x415e69(0x19a)]=new _0x334000[(_0x415e69(0x143))](),this['session']=new _0x334000[(_0x415e69(0x161))](),this[_0x415e69(0x16c)]=new LoginListener(),this['loginListener'][_0x415e69(0x111)]=_0x3ca7c4=>{const _0x362760=_0x415e69;logError(_0x106a6c[_0x362760(0x18f)](_0x106a6c[_0x362760(0x176)]+_0x3ca7c4,_0x106a6c[_0x362760(0x162)]));},this['loginListener'][_0x415e69(0x144)]=_0x40d3aa=>{const _0x5c1dbe=_0x415e69,_0x224356={'OSLUW':_0x106a6c[_0x5c1dbe(0x174)],'wzzSb':function(_0x3b2c94,_0x44dd6b,_0x38864b){const _0x3e68b3=_0x5c1dbe;return _0x106a6c[_0x3e68b3(0xe9)](_0x3b2c94,_0x44dd6b,_0x38864b);},'QBYLq':function(_0x2f5ea6,_0x4de21b){return _0x2f5ea6(_0x4de21b);},'oCJIh':function(_0x138e6b,_0x930da0){const _0x29add4=_0x5c1dbe;return _0x106a6c[_0x29add4(0x134)](_0x138e6b,_0x930da0);},'uoeYq':_0x106a6c[_0x5c1dbe(0xff)],'CMeoQ':_0x106a6c['vNRoZ']};this[_0x5c1dbe(0x149)](_0x40d3aa[_0x5c1dbe(0x13c)],_0x40d3aa[_0x5c1dbe(0x18c)])[_0x5c1dbe(0x17e)](_0x34fe6e=>{const _0x8ac347=_0x5c1dbe,_0xc5b473={'KweUi':_0x224356[_0x8ac347(0xea)]};selfInfo[_0x8ac347(0x13c)]=_0x40d3aa['uin'],selfInfo['uid']=_0x40d3aa[_0x8ac347(0x18c)],napCatConfig[_0x8ac347(0x115)](),_0x224356[_0x8ac347(0x187)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x8ac347(0xf1)]),_0x224356[_0x8ac347(0xf2)](enableFileLog,napCatConfig[_0x8ac347(0x117)]),_0x224356[_0x8ac347(0x198)](enableConsoleLog,napCatConfig[_0x8ac347(0xd8)]),_0x224356[_0x8ac347(0xf2)](setLogSelfInfo,selfInfo);const _0x4ec488=_0x1d0e83[_0x8ac347(0x135)](this['dataPath'],_0x224356[_0x8ac347(0x102)]);_0x2fd441[_0x8ac347(0xdf)](_0x4ec488,{'recursive':!![]}),_0x224356[_0x8ac347(0x187)](logDebug,_0x224356[_0x8ac347(0x133)],_0x4ec488),dbUtil['init'](_0x1d0e83[_0x8ac347(0x135)](_0x4ec488,'./'+_0x40d3aa['uin']+_0x8ac347(0xfa)))[_0x8ac347(0x17e)](()=>{const _0x31b565=_0x8ac347,_0x32c5b1={'dOeeA':function(_0x39df3e,_0x49cd93,_0x164297){return _0x39df3e(_0x49cd93,_0x164297);}};this[_0x31b565(0xfb)](),this[_0x31b565(0x189)][_0x31b565(0xdc)](_0x520c38=>{const _0x59171d=_0x31b565,_0x195d09={'dnjKf':function(_0x70b4e0,_0x54939d,_0x1eb621){const _0x2414f5=_0x352e;return _0x32c5b1[_0x2414f5(0x164)](_0x70b4e0,_0x54939d,_0x1eb621);},'ZeAhw':function(_0x9ae186,_0x241f5f){return _0x9ae186 instanceof _0x241f5f;}};new Promise((_0xf0555d,_0x1580a0)=>{const _0x2f2761=_0x352e,_0x54f9dd=_0x195d09[_0x2f2761(0x14b)](_0x520c38,_0x40d3aa[_0x2f2761(0x13c)],_0x40d3aa[_0x2f2761(0x18c)]);_0x195d09[_0x2f2761(0xe5)](_0x54f9dd,Promise)&&_0x54f9dd[_0x2f2761(0x17e)](_0xf0555d)[_0x2f2761(0x153)](_0x1580a0);})[_0x59171d(0x17e)]();});})[_0x8ac347(0x153)](_0x2769a1=>{const _0x35aa03=_0x8ac347;logError(_0xc5b473[_0x35aa03(0x15d)],_0x2769a1);});})['catch'](_0x3a1ae4=>{const _0x25d704=_0x5c1dbe;_0x106a6c[_0x25d704(0x11f)](logError,_0x106a6c[_0x25d704(0xd9)],_0x3a1ae4);throw new Error(_0x25d704(0x122)+JSON[_0x25d704(0x182)](_0x3a1ae4));});},this['loginListener'][_0x415e69(0x16f)]=_0x562dd3=>{const _0x42aa6a=_0x415e69;logError(_0x106a6c[_0x42aa6a(0x199)],_0x562dd3);},this[_0x415e69(0x16c)][_0x415e69(0x12b)]=_0x61f34e=>{const _0x7331b2=_0x415e69;logError(_0x106a6c[_0x7331b2(0x199)],_0x61f34e);},this[_0x415e69(0x16c)]=new Proxy(this['loginListener'],this[_0x415e69(0x139)]),this[_0x415e69(0x19a)][_0x415e69(0x127)](new _0x334000[(_0x415e69(0x171))](this[_0x415e69(0x16c)])),this[_0x415e69(0xd6)]();}get['dataPath'](){const _0x257d6a=_0x368ad9,_0x19e333={'WEdZL':'./.config/QQ'};let _0x4b3eee=this[_0x257d6a(0x14a)][_0x257d6a(0x15e)]();return!_0x4b3eee&&(_0x4b3eee=_0x1d0e83[_0x257d6a(0x135)](_0x35f8e9[_0x257d6a(0x112)](),_0x19e333['WEdZL']),_0x2fd441['mkdirSync'](_0x4b3eee,{'recursive':!![]})),_0x4b3eee;}get[_0x368ad9(0x136)](){const _0x46beea=_0x368ad9,_0xab06ce={'IbMHU':_0x46beea(0x160)};return _0x1d0e83[_0x46beea(0x135)](this[_0x46beea(0x194)],_0xab06ce['IbMHU']);}['initConfig'](){const _0x513f83=_0x368ad9,_0x2cc7e1={'FqYVS':_0x513f83(0xd3)};this['engine'][_0x513f83(0x11c)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x513f83(0x100)],'os_version':_0x2cc7e1[_0x513f83(0x12a)],'use_xlog':!![],'qua':_0x513f83(0x145)+qqVersionConfigInfo[_0x513f83(0x100)][_0x513f83(0x172)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x513f83(0x136)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x334000['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x513f83(0x19a)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x513f83(0x100)],'hostName':hostname});}[_0x368ad9(0x149)](_0x7b323d,_0x37f981){const _0x38520f={'sqQmJ':function(_0x437e44,_0x263916){return _0x437e44===_0x263916;},'RiQDn':function(_0x237dbe,_0x4cd0b1){return _0x237dbe(_0x4cd0b1);},'etlrz':function(_0x2ab980,_0x26ec22,_0x4c7f69,_0x40b99d){return _0x2ab980(_0x26ec22,_0x4c7f69,_0x40b99d);},'NBgZW':function(_0x52996e,_0xf68629){return _0x52996e+_0xf68629;}};return new Promise((_0x5d5d4b,_0x411774)=>{const _0x484d6b=_0x352e,_0x57c426=_0x38520f[_0x484d6b(0x141)](genSessionConfig,_0x7b323d,_0x37f981,this['dataPath']),_0x11e583=new SessionListener();_0x11e583[_0x484d6b(0x120)]=_0x2a30fd=>{const _0xec3573=_0x484d6b;if(_0x38520f['sqQmJ'](_0x2a30fd,0x0))return _0x38520f[_0xec3573(0x163)](_0x5d5d4b,0x0);_0x411774(_0x2a30fd);},this['session'][_0x484d6b(0x12d)](_0x57c426,new _0x334000[(_0x484d6b(0x16d))](new DependsAdapter()),new _0x334000['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x334000[(_0x484d6b(0x146))](_0x11e583));try{this['session']['startNT'](0x0);}catch(_0x128d68){try{this[_0x484d6b(0x113)][_0x484d6b(0x17b)]();}catch(_0x39f29e){_0x38520f[_0x484d6b(0x163)](_0x411774,_0x38520f[_0x484d6b(0xec)](_0x484d6b(0x128),_0x39f29e));}}});}[_0x368ad9(0xfb)](){const _0x3b403d=_0x368ad9,_0x28e9ed={'sosug':function(_0x5b1b82,_0xf362ae){return _0x5b1b82===_0xf362ae;},'oVbWH':function(_0x3702de,_0x8fc395){return _0x3702de+_0x8fc395;},'pBvJC':_0x3b403d(0x147),'amFLY':_0x3b403d(0x15b),'StbsN':function(_0x325a23,_0x4cec7d){return _0x325a23(_0x4cec7d);},'UjGwz':function(_0x185aac,_0xf62f91){return _0x185aac+_0xf62f91;},'ACTzv':function(_0x57173b,_0x46ae90){return _0x57173b+_0x46ae90;},'lmsKb':function(_0x2581c4,_0x1408dc){return _0x2581c4+_0x1408dc;},'sKifE':_0x3b403d(0x116),'iBalV':function(_0xd236c2,_0x31aede){return _0xd236c2===_0x31aede;},'TyHLT':function(_0x34eb58,_0xf63c4e){return _0x34eb58/_0xf63c4e;},'OTQGw':function(_0x3881bc,_0x2c614f){return _0x3881bc/_0x2c614f;}},_0x304ec6=new MsgListener();_0x304ec6['onLineDev']=_0x4b6afd=>{const _0x5c9161=_0x3b403d;_0x4b6afd[_0x5c9161(0xdc)](_0x25a830=>{const _0xde5a52=_0x5c9161;_0x28e9ed['sosug'](_0x25a830[_0xde5a52(0x183)],0x2)&&log(_0x28e9ed[_0xde5a52(0x129)](_0x28e9ed['oVbWH'](_0x28e9ed[_0xde5a52(0x123)],_0x25a830[_0xde5a52(0x169)]),_0x28e9ed['amFLY']));});},_0x304ec6['onKickedOffLine']=_0x3fa783=>{const _0x1654f6=_0x3b403d;_0x28e9ed['StbsN'](log,_0x28e9ed['UjGwz'](_0x28e9ed[_0x1654f6(0x180)](_0x28e9ed['lmsKb'](_0x28e9ed[_0x1654f6(0xd2)],_0x3fa783['tipsTitle']),']\x20'),_0x3fa783[_0x1654f6(0x184)]));},_0x304ec6[_0x3b403d(0x175)]=_0x312d6d=>{const _0x348fc4=_0x3b403d;stat[_0x348fc4(0x17f)]+=0x1,_0x312d6d[_0x348fc4(0xdc)](_0x4d0471=>{const _0x5c4ddb=_0x348fc4;_0x28e9ed[_0x5c4ddb(0xf3)](_0x4d0471[_0x5c4ddb(0x18e)],'0')?dbUtil[_0x5c4ddb(0xd1)](_0x4d0471)['then']()['catch']():dbUtil[_0x5c4ddb(0x107)](_0x4d0471[_0x5c4ddb(0x119)])['then'](_0x1a2d99=>{const _0x2207a4=_0x5c4ddb;_0x1a2d99&&(_0x1a2d99[_0x2207a4(0x18e)]=_0x4d0471[_0x2207a4(0x18e)],dbUtil['updateMsg'](_0x1a2d99)['then']());});});},_0x304ec6[_0x3b403d(0x188)]=_0x25604e=>{const _0x4064d8=_0x3b403d;stat[_0x4064d8(0x16b)]+=0x1,stat[_0x4064d8(0x140)]+=0x1,stat[_0x4064d8(0x16a)]=Math[_0x4064d8(0x131)](_0x28e9ed[_0x4064d8(0xe4)](Date[_0x4064d8(0x14c)](),0x3e8));},_0x304ec6[_0x3b403d(0x151)]=_0x4e630c=>{const _0x1c4691=_0x3b403d;stat[_0x1c4691(0x17f)]+=0x1,stat['message_received']+=_0x4e630c[_0x1c4691(0x137)],stat[_0x1c4691(0x16a)]=Math['floor'](_0x28e9ed[_0x1c4691(0xfe)](Date[_0x1c4691(0x14c)](),0x3e8));},_0x304ec6[_0x3b403d(0x166)]=(..._0x5a03be)=>{const _0x1a7a9f=_0x3b403d;stat[_0x1a7a9f(0x17f)]+=0x1;},this[_0x3b403d(0x179)](_0x304ec6);const _0x2aee0f=new BuddyListener();_0x2aee0f[_0x3b403d(0xde)]=_0x955368=>{const _0x280af3=_0x3b403d;for(const _0x51f591 of _0x955368){for(const _0x453e9b of _0x51f591[_0x280af3(0xe0)]){const _0x3cc983=friends[_0x280af3(0x10b)](_0x453e9b[_0x280af3(0x18c)]);uid2UinMap[_0x453e9b[_0x280af3(0x18c)]]=_0x453e9b['uin'],_0x3cc983?Object[_0x280af3(0x101)](_0x3cc983,_0x453e9b):friends[_0x280af3(0x14e)](_0x453e9b[_0x280af3(0x18c)],_0x453e9b);}}},this[_0x3b403d(0x179)](_0x2aee0f),this[_0x3b403d(0x113)][_0x3b403d(0x142)]()[_0x3b403d(0x17c)](!![])[_0x3b403d(0x17e)](_0x205217=>{});const _0x491dcc=new ProfileListener();_0x491dcc[_0x3b403d(0x13e)]=_0x22e52d=>{const _0x306609=_0x3b403d;_0x22e52d[_0x306609(0x18c)]===selfInfo[_0x306609(0x18c)]&&Object[_0x306609(0x101)](selfInfo,_0x22e52d);},_0x491dcc[_0x3b403d(0x126)]=_0x1e7ac2=>{},this[_0x3b403d(0x179)](_0x491dcc);const _0x49880f=new GroupListener();_0x49880f[_0x3b403d(0xee)]=(_0x3a000b,_0x550786)=>{const _0x465081=_0x3b403d;_0x550786[_0x465081(0xdc)](_0x24663e=>{const _0xc9a45b=_0x465081,_0x3e378a=groups[_0xc9a45b(0x10b)](_0x24663e[_0xc9a45b(0xdd)]);if(_0x3e378a)Object[_0xc9a45b(0x101)](_0x3e378a,_0x24663e);else{groups['set'](_0x24663e[_0xc9a45b(0xdd)],_0x24663e);const _0x2c0492=this[_0xc9a45b(0x113)]['getGroupService']()[_0xc9a45b(0x192)](_0x24663e[_0xc9a45b(0xdd)],'groupMemberList_MainWindow');this[_0xc9a45b(0x113)][_0xc9a45b(0x185)]()[_0xc9a45b(0x121)](_0x2c0492,undefined,0xbb8)[_0xc9a45b(0x17e)](_0x341b88=>{});}});},_0x49880f[_0x3b403d(0x155)]=_0x61204e=>{const _0xa079d=_0x3b403d,_0x71c66b=_0x61204e[_0xa079d(0x124)]['split']('_')[0x0];if(groupMembers[_0xa079d(0x118)](_0x71c66b)){const _0x1ba8be=groupMembers['get'](_0x71c66b);_0x61204e[_0xa079d(0xf4)][_0xa079d(0x186)]((_0x15b1d4,_0x2a0a8d)=>{const _0x542d0c=_0xa079d,_0x1771d8=_0x1ba8be[_0x542d0c(0x10b)](_0x2a0a8d);_0x1771d8?Object['assign'](_0x1771d8,_0x15b1d4):_0x1ba8be[_0x542d0c(0x14e)](_0x2a0a8d,_0x15b1d4);});}else groupMembers[_0xa079d(0x14e)](_0x71c66b,_0x61204e[_0xa079d(0xf4)]);},_0x49880f[_0x3b403d(0x104)]=(_0x28166c,_0x5c7962,_0x1bd262)=>{const _0x461930=_0x3b403d;_0x1bd262[_0x461930(0x186)]((_0x6588b9,_0x1d682b)=>{const _0x19c32d=_0x461930;uid2UinMap[_0x1d682b]=_0x6588b9[_0x19c32d(0x13c)];});const _0x1e8382=groupMembers[_0x461930(0x10b)](_0x28166c);_0x1e8382?_0x1bd262[_0x461930(0x186)]((_0x55ce0d,_0x5c4099)=>{const _0x5abd82=_0x461930,_0x1f9bb3=_0x1e8382[_0x5abd82(0x10b)](_0x5c4099);_0x1f9bb3?Object[_0x5abd82(0x101)](_0x1f9bb3,_0x55ce0d):_0x1e8382[_0x5abd82(0x14e)](_0x5c4099,_0x55ce0d);}):groupMembers[_0x461930(0x14e)](_0x28166c,_0x1bd262);},this['addListener'](_0x49880f);}[_0x368ad9(0x179)](_0x27c99a){const _0x89b1a9=_0x368ad9,_0x34fed1={'xiuEH':_0x89b1a9(0x157),'etuKP':_0x89b1a9(0xf0),'sMFir':_0x89b1a9(0x10f)};_0x27c99a=new Proxy(_0x27c99a,this[_0x89b1a9(0x139)]);switch(_0x27c99a[_0x89b1a9(0x18b)][_0x89b1a9(0x197)]){case _0x34fed1[_0x89b1a9(0x11a)]:{return this[_0x89b1a9(0x113)]['getBuddyService']()['addKernelBuddyListener'](new _0x334000[(_0x89b1a9(0x19d))](_0x27c99a));}case _0x34fed1[_0x89b1a9(0x13f)]:{return this[_0x89b1a9(0x113)][_0x89b1a9(0x185)]()[_0x89b1a9(0x10e)](new _0x334000[(_0x89b1a9(0x17d))](_0x27c99a));}case _0x34fed1[_0x89b1a9(0xe2)]:{return this['session'][_0x89b1a9(0x178)]()[_0x89b1a9(0x108)](new _0x334000[(_0x89b1a9(0x18a))](_0x27c99a));}case'ProfileListener':{return this[_0x89b1a9(0x113)][_0x89b1a9(0x17a)]()['addKernelProfileListener'](new _0x334000[(_0x89b1a9(0x11e))](_0x27c99a));}default:return-0x1;}}[_0x368ad9(0x106)](_0x376bcb){const _0xe1a501=_0x368ad9;this[_0xe1a501(0x189)][_0xe1a501(0xef)](_0x376bcb);}async[_0x368ad9(0x177)](_0x5a7460){const _0x2620ff=_0x368ad9,_0x4e2a58={'Hcrov':function(_0x3d049d,_0x3fb154){return _0x3d049d!==_0x3fb154;},'bcWRy':_0x2620ff(0xfd),'Lygcq':function(_0x2447f4,_0x6ad7e9){return _0x2447f4(_0x6ad7e9);},'jEnFV':function(_0x1036c4,_0x258b7a){return _0x1036c4+_0x258b7a;},'VHBLC':_0x2620ff(0x14f)},_0x45f28a=await this['loginService'][_0x2620ff(0xdb)]();if(_0x4e2a58[_0x2620ff(0x16e)](_0x45f28a[_0x2620ff(0x109)],0x0))throw new Error(_0x4e2a58[_0x2620ff(0x19c)]);const _0x30561c=_0x45f28a['LocalLoginInfoList'][_0x2620ff(0xf7)](_0x37c5a1=>_0x37c5a1[_0x2620ff(0x13c)]===_0x5a7460);if(!_0x30561c||!_0x30561c?.[_0x2620ff(0x12c)])throw new Error(_0x5a7460+_0x2620ff(0x15f));await _0x4e2a58[_0x2620ff(0x154)](sleep,0x3e8);const _0x536a75=await this['loginService'][_0x2620ff(0x12f)](_0x5a7460);if(!_0x536a75[_0x2620ff(0x109)])throw new Error(_0x4e2a58[_0x2620ff(0xfc)](_0x4e2a58[_0x2620ff(0x10c)],_0x536a75[_0x2620ff(0x167)][_0x2620ff(0x12e)]));return _0x536a75;}async[_0x368ad9(0x105)](){const _0x331cd4=_0x368ad9,_0x384ff1={'LCZlD':function(_0x105975,_0x31e2f6){return _0x105975(_0x31e2f6);},'VxMjE':_0x331cd4(0x181),'YTFOo':_0x331cd4(0x190),'Kkopt':function(_0xac0911,_0x3e1368,_0x2f10b7){return _0xac0911(_0x3e1368,_0x2f10b7);}};let _0x3dd2e3=![];return new Promise((_0xf30bc6,_0x347cf0)=>{const _0x295eec=_0x331cd4;_0x384ff1[_0x295eec(0x138)](setTimeout,()=>{const _0x439fb5=_0x295eec;!_0x3dd2e3&&_0x384ff1[_0x439fb5(0x132)](_0x347cf0,_0x439fb5(0xf5));},0x2710),this[_0x295eec(0x16c)][_0x295eec(0x152)]=_0x43809f=>{const _0xa01e65=_0x295eec;_0x3dd2e3=!![];const _0x46e738=_0x43809f[_0xa01e65(0xeb)][_0xa01e65(0xf9)](_0x384ff1[_0xa01e65(0x18d)])[0x1],_0x221300=Buffer[_0xa01e65(0x150)](_0x46e738,_0x384ff1[_0xa01e65(0xf6)]);_0xf30bc6({'url':_0x43809f[_0xa01e65(0x11d)],'base64':_0x43809f[_0xa01e65(0xeb)],'buffer':_0x221300});},this['loginService'][_0x295eec(0xe8)]();});}async[_0x368ad9(0x13b)](_0x2ea8b0,_0x1137dd,_0xfd8040,_0x46de45,_0x507861){const _0x46996a=_0x368ad9,_0x4906d0={'fODkU':_0x46996a(0x11b),'GvuJK':'hex','xobdC':function(_0x404151,_0xebecf){return _0x404151||_0xebecf;},'HrZKa':_0x46996a(0x15c)},_0xc002f8=_0x41e555[_0x46996a(0x170)](_0x4906d0[_0x46996a(0xe3)])[_0x46996a(0xd5)](_0x1137dd)[_0x46996a(0x158)](_0x4906d0[_0x46996a(0x173)]),_0x800ee7={'uin':_0x2ea8b0,'passwordMd5':_0xc002f8,'step':_0xfd8040&&_0x46de45&&_0x507861?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xfd8040||'','proofWaterRand':_0x4906d0[_0x46996a(0xe7)](_0x46de45,''),'proofWaterSid':_0x507861||''};await this[_0x46996a(0x19a)][_0x46996a(0xdb)](),await sleep(0x3e8);const _0x102483=await this['loginService'][_0x46996a(0x13b)](_0x800ee7);switch(_0x102483[_0x46996a(0x109)]){case'0':{break;}case _0x46996a(0x165):{break;}case'4':case _0x4906d0[_0x46996a(0x191)]:default:}}}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 c06d43a8..530b5b17 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x3d59ec,_0x3ed073){const _0x49ffc8=_0x3147,_0xff8478=_0x3d59ec();while(!![]){try{const _0x302823=-parseInt(_0x49ffc8(0xd6))/0x1*(-parseInt(_0x49ffc8(0xd1))/0x2)+parseInt(_0x49ffc8(0xcb))/0x3*(-parseInt(_0x49ffc8(0xdd))/0x4)+-parseInt(_0x49ffc8(0xdc))/0x5+-parseInt(_0x49ffc8(0xde))/0x6+parseInt(_0x49ffc8(0xd8))/0x7*(-parseInt(_0x49ffc8(0xdf))/0x8)+parseInt(_0x49ffc8(0xd4))/0x9+parseInt(_0x49ffc8(0xca))/0xa*(parseInt(_0x49ffc8(0xd7))/0xb);if(_0x302823===_0x3ed073)break;else _0xff8478['push'](_0xff8478['shift']());}catch(_0x4af7bf){_0xff8478['push'](_0xff8478['shift']());}}}(_0x1921,0x3c510));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x4759b6){const _0x901d1b=_0x3147;groups[_0x901d1b(0xc9)](_0x4759b6),groupMembers[_0x901d1b(0xc9)](_0x4759b6);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':'NapCat未能正常启动,请检查日志查看错误'};export async function getFriend(_0x47b838){const _0x5bafba=_0x3147,_0xccd218={'Bpyuv':function(_0x471b12,_0x1e032d){return _0x471b12(_0x1e032d);}};_0x47b838=_0x47b838[_0x5bafba(0xcd)]();if(_0xccd218['Bpyuv'](isNumeric,_0x47b838)){const _0xf929ee=Array[_0x5bafba(0xd0)](friends[_0x5bafba(0xd3)]());return _0xf929ee[_0x5bafba(0xce)](_0x4002f8=>_0x4002f8[_0x5bafba(0xda)]===_0x47b838);}else return friends['get'](_0x47b838);}export async function getGroup(_0x49e00e){const _0x27844a=_0x3147;let _0x25aefc=groups['get'](_0x49e00e[_0x27844a(0xcd)]());if(!_0x25aefc)try{const _0x2ddf18=await NTQQGroupApi[_0x27844a(0xcc)]();_0x2ddf18['length']&&_0x2ddf18['forEach'](_0x81cbad=>{groups['set'](_0x81cbad['groupCode'],_0x81cbad);});}catch(_0x384c9f){return undefined;}return _0x25aefc=groups['get'](_0x49e00e[_0x27844a(0xcd)]()),_0x25aefc;}export async function getGroupMember(_0x73953d,_0x345f2b){const _0x47f4d6=_0x3147,_0x18b599={'zNPXS':function(_0x59f911,_0x5dd9bb){return _0x59f911(_0x5dd9bb);},'pJasP':function(_0x2c3a18){return _0x2c3a18();}};_0x73953d=_0x73953d[_0x47f4d6(0xcd)](),_0x345f2b=_0x345f2b['toString']();let _0x2d8dea=groupMembers['get'](_0x73953d);if(!_0x2d8dea)try{_0x2d8dea=await NTQQGroupApi[_0x47f4d6(0xdb)](_0x73953d),groupMembers[_0x47f4d6(0xd5)](_0x73953d,_0x2d8dea);}catch(_0x3d8540){return null;}const _0x5bd497=()=>{const _0x4b2f43=_0x47f4d6;let _0x5e4c89=undefined;return _0x18b599[_0x4b2f43(0xd2)](isNumeric,_0x345f2b)?_0x5e4c89=Array[_0x4b2f43(0xd0)](_0x2d8dea[_0x4b2f43(0xd3)]())['find'](_0x5af490=>_0x5af490[_0x4b2f43(0xda)]===_0x345f2b):_0x5e4c89=_0x2d8dea[_0x4b2f43(0xd9)](_0x345f2b),_0x5e4c89;};let _0x5daed6=_0x18b599['pJasP'](_0x5bd497);return!_0x5daed6&&(_0x2d8dea=await NTQQGroupApi[_0x47f4d6(0xdb)](_0x73953d),_0x5daed6=_0x18b599[_0x47f4d6(0xcf)](_0x5bd497)),_0x5daed6;}export const uid2UinMap={};function _0x3147(_0xfdd785,_0x23fd64){const _0x19215a=_0x1921();return _0x3147=function(_0x314752,_0x433251){_0x314752=_0x314752-0xc9;let _0x5cdaae=_0x19215a[_0x314752];return _0x5cdaae;},_0x3147(_0xfdd785,_0x23fd64);}export function getUidByUin(_0x4bcc9c){for(const _0x5f1a90 in uid2UinMap){if(uid2UinMap[_0x5f1a90]===_0x4bcc9c)return _0x5f1a90;}}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};function _0x1921(){const _0x18f478=['8weWJxs','zNPXS','values','4258818IWnhAn','set','92413PnXTtT','44warNKt','4578cwzPbK','get','uin','getGroupMembers','57275YTJGEh','140wNwqIN','1429092dUmBPm','4856lbRDUb','delete','512830LGLNEj','13227WuAOlF','getGroups','toString','find','pJasP','from'];_0x1921=function(){return _0x18f478;};return _0x1921();} \ No newline at end of file +const _0x58b778=_0x1f40;(function(_0x5c4d9d,_0x432197){const _0x2051b8=_0x1f40,_0x50af37=_0x5c4d9d();while(!![]){try{const _0x5d57fe=parseInt(_0x2051b8(0x198))/0x1+parseInt(_0x2051b8(0x19b))/0x2+parseInt(_0x2051b8(0x18a))/0x3+parseInt(_0x2051b8(0x18c))/0x4*(-parseInt(_0x2051b8(0x1a0))/0x5)+parseInt(_0x2051b8(0x195))/0x6*(parseInt(_0x2051b8(0x19c))/0x7)+parseInt(_0x2051b8(0x193))/0x8+parseInt(_0x2051b8(0x19e))/0x9*(-parseInt(_0x2051b8(0x194))/0xa);if(_0x5d57fe===_0x432197)break;else _0x50af37['push'](_0x50af37['shift']());}catch(_0x218640){_0x50af37['push'](_0x50af37['shift']());}}}(_0x42b8,0x397f0));import{isNumeric}from'@/common/utils/helper';function _0x1f40(_0x1d000a,_0xc96dee){const _0x42b83a=_0x42b8();return _0x1f40=function(_0x1f40c8,_0x55ce58){_0x1f40c8=_0x1f40c8-0x189;let _0x851118=_0x42b83a[_0x1f40c8];return _0x851118;},_0x1f40(_0x1d000a,_0xc96dee);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x42b8(){const _0x319fbe=['2357780rNIjYj','6MMsswc','groupCode','QvfEs','235074FZfPDI','toString','XLWpS','717430uIWvLJ','3205097xlOJJg','set','36sEcJsA','NapCat未能正常启动,请检查日志查看错误','2269805IVhaIL','find','forEach','629751pmuQjQ','getGroupMembers','4CJmbjD','uin','get','values','WUbAO','delete','getGroups','2968000GzGbqg'];_0x42b8=function(){return _0x319fbe;};return _0x42b8();}export function deleteGroup(_0x917e2d){const _0x32c655=_0x1f40;groups['delete'](_0x917e2d),groupMembers[_0x32c655(0x191)](_0x917e2d);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x58b778(0x19f)};export async function getFriend(_0x267319){const _0x49be8e=_0x58b778;_0x267319=_0x267319['toString']();if(isNumeric(_0x267319)){const _0x4e1084=Array['from'](friends[_0x49be8e(0x18f)]());return _0x4e1084[_0x49be8e(0x1a1)](_0x37f896=>_0x37f896[_0x49be8e(0x18d)]===_0x267319);}else return friends[_0x49be8e(0x18e)](_0x267319);}export async function getGroup(_0x5daf95){const _0x5740ec=_0x58b778;let _0x21ba1b=groups[_0x5740ec(0x18e)](_0x5daf95['toString']());if(!_0x21ba1b)try{const _0x5e80b7=await NTQQGroupApi[_0x5740ec(0x192)]();_0x5e80b7['length']&&_0x5e80b7[_0x5740ec(0x189)](_0x118e1c=>{const _0x2a69f9=_0x5740ec;groups['set'](_0x118e1c[_0x2a69f9(0x196)],_0x118e1c);});}catch(_0x3aad8f){return undefined;}return _0x21ba1b=groups[_0x5740ec(0x18e)](_0x5daf95[_0x5740ec(0x199)]()),_0x21ba1b;}export async function getGroupMember(_0x4a1362,_0x5e2205){const _0x42e90a=_0x58b778,_0x548216={'QvfEs':function(_0x18b775,_0x22a190){return _0x18b775(_0x22a190);},'WUbAO':function(_0xb00809){return _0xb00809();}};_0x4a1362=_0x4a1362[_0x42e90a(0x199)](),_0x5e2205=_0x5e2205[_0x42e90a(0x199)]();let _0x6b495=groupMembers['get'](_0x4a1362);if(!_0x6b495)try{_0x6b495=await NTQQGroupApi[_0x42e90a(0x18b)](_0x4a1362),groupMembers[_0x42e90a(0x19d)](_0x4a1362,_0x6b495);}catch(_0x589d8c){return null;}const _0x253c52=()=>{const _0x40dde8=_0x42e90a;let _0x5a78b7=undefined;return _0x548216[_0x40dde8(0x197)](isNumeric,_0x5e2205)?_0x5a78b7=Array['from'](_0x6b495[_0x40dde8(0x18f)]())[_0x40dde8(0x1a1)](_0x40168f=>_0x40168f[_0x40dde8(0x18d)]===_0x5e2205):_0x5a78b7=_0x6b495['get'](_0x5e2205),_0x5a78b7;};let _0x1e76b5=_0x253c52();return!_0x1e76b5&&(_0x6b495=await NTQQGroupApi[_0x42e90a(0x18b)](_0x4a1362),_0x1e76b5=_0x548216[_0x42e90a(0x190)](_0x253c52)),_0x1e76b5;}export const uid2UinMap={};export function getUidByUin(_0x294750){const _0x593173=_0x58b778,_0x17d2c5={'XLWpS':function(_0x1ed55d,_0x31d9bc){return _0x1ed55d===_0x31d9bc;}};for(const _0x47d2e6 in uid2UinMap){if(_0x17d2c5[_0x593173(0x19a)](uid2UinMap[_0x47d2e6],_0x294750))return _0x47d2e6;}}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 b7234996..306cb83e 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x6cb6e4,_0x381f8e){var _0x3ff6be=_0x1a22,_0xd734b5=_0x6cb6e4();while(!![]){try{var _0x2f9a7b=parseInt(_0x3ff6be(0xa3))/0x1*(parseInt(_0x3ff6be(0xb3))/0x2)+-parseInt(_0x3ff6be(0xa8))/0x3+-parseInt(_0x3ff6be(0xb2))/0x4*(-parseInt(_0x3ff6be(0xa0))/0x5)+parseInt(_0x3ff6be(0xa9))/0x6*(-parseInt(_0x3ff6be(0xa4))/0x7)+-parseInt(_0x3ff6be(0xaf))/0x8*(parseInt(_0x3ff6be(0xae))/0x9)+parseInt(_0x3ff6be(0xa1))/0xa*(-parseInt(_0x3ff6be(0xb1))/0xb)+parseInt(_0x3ff6be(0xad))/0xc*(parseInt(_0x3ff6be(0xac))/0xd);if(_0x2f9a7b===_0x381f8e)break;else _0xd734b5['push'](_0xd734b5['shift']());}catch(_0x797491){_0xd734b5['push'](_0xd734b5['shift']());}}}(_0x4d60,0x1f2c7));export var CacheFileType;(function(_0x12de4b){var _0x580846=_0x1a22,_0x5f23a1={'mtWjY':_0x580846(0xa5),'Ijjcz':_0x580846(0x9f),'YFxxZ':'AUDIO','pVABp':'DOCUMENT','rfZyx':_0x580846(0xa2)};_0x12de4b[_0x12de4b[_0x580846(0xa5)]=0x0]=_0x5f23a1['mtWjY'],_0x12de4b[_0x12de4b[_0x5f23a1[_0x580846(0xa7)]]=0x1]=_0x580846(0x9f),_0x12de4b[_0x12de4b[_0x580846(0xa6)]=0x2]=_0x5f23a1[_0x580846(0xb0)],_0x12de4b[_0x12de4b[_0x5f23a1['pVABp']]=0x3]=_0x5f23a1[_0x580846(0xaa)],_0x12de4b[_0x12de4b[_0x580846(0xa2)]=0x4]=_0x5f23a1[_0x580846(0xab)];}(CacheFileType||(CacheFileType={})));function _0x1a22(_0x2227b3,_0x25318c){var _0x4d6004=_0x4d60();return _0x1a22=function(_0x1a2274,_0x593518){_0x1a2274=_0x1a2274-0x9f;var _0x13692e=_0x4d6004[_0x1a2274];return _0x13692e;},_0x1a22(_0x2227b3,_0x25318c);}function _0x4d60(){var _0x1e1c9b=['10dknZLv','OTHER','3979kAORdX','441idObIS','IMAGE','AUDIO','Ijjcz','99486ptWtFv','12972hWoynO','pVABp','rfZyx','2510365ycZDld','24ckUCYl','569133mqrUfK','16MWbzmT','YFxxZ','1442221yrCgBS','339484jRiwNX','42ZPItIp','VIDEO','5aYWhzZ'];_0x4d60=function(){return _0x1e1c9b;};return _0x4d60();} \ No newline at end of file +function _0x3810(_0x366983,_0x19f28b){var _0x242e09=_0x242e();return _0x3810=function(_0x3810f2,_0x53f69b){_0x3810f2=_0x3810f2-0x1e0;var _0x209b7b=_0x242e09[_0x3810f2];return _0x209b7b;},_0x3810(_0x366983,_0x19f28b);}function _0x242e(){var _0x2aacaa=['311307sKdMKM','179062DuGlVV','ertHG','VIDEO','kCNJG','621jmScxj','1746438VAxVbK','split','YnYQK','1164905mxUIdQ','5830ghwype','851736WKdIJx','OTHER','5yESkFv','2|0|4|1|3','aPBIR','DOCUMENT','1408388FJtqmr','2UXMfwA','IMAGE','AUDIO'];_0x242e=function(){return _0x2aacaa;};return _0x242e();}(function(_0x248ef5,_0x23cbd3){var _0x28daec=_0x3810,_0x393067=_0x248ef5();while(!![]){try{var _0x278951=parseInt(_0x28daec(0x1ea))/0x1+-parseInt(_0x28daec(0x1e6))/0x2*(-parseInt(_0x28daec(0x1e9))/0x3)+-parseInt(_0x28daec(0x1e5))/0x4*(-parseInt(_0x28daec(0x1e1))/0x5)+-parseInt(_0x28daec(0x1ef))/0x6+-parseInt(_0x28daec(0x1f2))/0x7+parseInt(_0x28daec(0x1f4))/0x8+parseInt(_0x28daec(0x1ee))/0x9*(-parseInt(_0x28daec(0x1f3))/0xa);if(_0x278951===_0x23cbd3)break;else _0x393067['push'](_0x393067['shift']());}catch(_0x146772){_0x393067['push'](_0x393067['shift']());}}}(_0x242e,0x3b7e0));export var CacheFileType;(function(_0x17f029){var _0x52d3e7=_0x3810,_0x5e14af={'DLKYt':_0x52d3e7(0x1e2),'YnYQK':_0x52d3e7(0x1ec),'ertHG':_0x52d3e7(0x1e4),'kCNJG':_0x52d3e7(0x1e7),'aPBIR':_0x52d3e7(0x1e0),'szmey':_0x52d3e7(0x1e8)},_0x101b43=_0x5e14af['DLKYt'][_0x52d3e7(0x1f0)]('|'),_0x7acc09=0x0;while(!![]){switch(_0x101b43[_0x7acc09++]){case'0':_0x17f029[_0x17f029[_0x5e14af[_0x52d3e7(0x1f1)]]=0x1]=_0x5e14af[_0x52d3e7(0x1f1)];continue;case'1':_0x17f029[_0x17f029[_0x5e14af['ertHG']]=0x3]=_0x5e14af[_0x52d3e7(0x1eb)];continue;case'2':_0x17f029[_0x17f029[_0x5e14af[_0x52d3e7(0x1ed)]]=0x0]=_0x5e14af[_0x52d3e7(0x1ed)];continue;case'3':_0x17f029[_0x17f029[_0x5e14af['aPBIR']]=0x4]=_0x5e14af[_0x52d3e7(0x1e3)];continue;case'4':_0x17f029[_0x17f029[_0x5e14af['szmey']]=0x2]=_0x52d3e7(0x1e8);continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 1aafdfab..3e5ad2d6 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x2151c7=_0x4445;(function(_0x2b27f8,_0x20ae54){const _0x1df64c=_0x4445,_0x335c92=_0x2b27f8();while(!![]){try{const _0xea9956=-parseInt(_0x1df64c(0xb7))/0x1*(parseInt(_0x1df64c(0xa5))/0x2)+-parseInt(_0x1df64c(0xda))/0x3*(-parseInt(_0x1df64c(0xd4))/0x4)+parseInt(_0x1df64c(0xe2))/0x5*(-parseInt(_0x1df64c(0xd3))/0x6)+-parseInt(_0x1df64c(0xbd))/0x7+-parseInt(_0x1df64c(0xba))/0x8*(parseInt(_0x1df64c(0xe9))/0x9)+-parseInt(_0x1df64c(0xd5))/0xa+parseInt(_0x1df64c(0xa2))/0xb;if(_0xea9956===_0x20ae54)break;else _0x335c92['push'](_0x335c92['shift']());}catch(_0x454bd2){_0x335c92['push'](_0x335c92['shift']());}}}(_0x21c9,0x92d0a));function _0x4445(_0x3b7dcb,_0x266c17){const _0x21c9cb=_0x21c9();return _0x4445=function(_0x44455d,_0x496185){_0x44455d=_0x44455d-0xa1;let _0x24cf70=_0x21c9cb[_0x44455d];return _0x24cf70;},_0x4445(_0x3b7dcb,_0x266c17);}import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3837aa}from'node:fs';import _0x215996 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x21c9(){const _0xf31ac=['uqVzR','iUYng','stringify','VIDEO','60635GAbMOp','dice','face','pic','AglfC','文件异常,大小为0','[骰子]','4194zpmGdM','writeFile','error','mface','uJwwR','TrCwO','IFQJk','UxgRv','NwHLf','mp4','CnQvk','viPmG','toString','获取视频信息失败','DesZU','39535166VXpZoN','语音转换失败,\x20请检查语音文件是否正常','图片信息','60908daFTsG','path','screenshots','bzwDc','notAt','EVUrE','xazsm','ptt','text','dirname','replace','FACE','GPNdt','normal','[商城表情]','etFpY','PTT','Ori','1LBAzRZ','video','height','14264TITlvb','pRIja','then','5875254fZDucU','time','unlink','uulxR','file','reply','string','ark','获取视频封面失败,使用默认封面','FILE','dEMfs','getImageSize','catch','sep','TEXT','uploadFile','rps','视频信息','width','quQtL','ARK','end','402CtyLZl','262916dGIaNZ','6110470wqYhpV','gxShc','size','VDIPV','qXzxU','6iRZCKN','set','[包剪锤]','ZQXnp'];_0x21c9=function(){return _0xf31ac;};return _0x21c9();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x2151c7(0xad)](_0x132f5b){const _0x5bd5dc=_0x2151c7;return{'elementType':ElementType[_0x5bd5dc(0xcb)],'elementId':'','textElement':{'content':_0x132f5b,'atType':AtType[_0x5bd5dc(0xa9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x19a66a,_0x16429f,_0x2dbccd,_0x2c28f3){const _0xd5a9f=_0x2151c7;return{'elementType':ElementType[_0xd5a9f(0xcb)],'elementId':'','textElement':{'content':'@'+_0x2c28f3,'atType':_0x2dbccd,'atUid':_0x19a66a,'atTinyId':'','atNtUid':_0x16429f}};}static[_0x2151c7(0xc2)](_0x4670e1,_0x28459d,_0x37f2ee,_0x1ce38d){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x4670e1,'replayMsgId':_0x28459d,'senderUin':_0x37f2ee,'senderUinStr':_0x1ce38d}};}static async[_0x2151c7(0xe5)](_0x3b56ec,_0x598523='',_0x5a3c06=0x0){const _0x121ab6=_0x2151c7,_0x157af1={'etFpY':function(_0x37886e,_0x32d633){return _0x37886e===_0x32d633;},'iUYng':'文件异常,大小为0','IFQJk':function(_0x291d47,_0x33dd05){return _0x291d47(_0x33dd05);},'quQtL':function(_0x3975b3,_0x1799f7,_0x38682f){return _0x3975b3(_0x1799f7,_0x38682f);},'zDXUr':_0x121ab6(0xa4)},{md5:_0x44bcdb,fileName:_0x354ae8,path:_0x3cbbad,fileSize:_0x11416f}=await NTQQFileApi[_0x121ab6(0xcc)](_0x3b56ec,ElementType['PIC'],_0x5a3c06);if(_0x157af1[_0x121ab6(0xb4)](_0x11416f,0x0))throw _0x157af1[_0x121ab6(0xdf)];const _0x5ea6de=await NTQQFileApi[_0x121ab6(0xc8)](_0x3b56ec),_0x5b1c94={'md5HexStr':_0x44bcdb,'fileSize':_0x11416f[_0x121ab6(0xf5)](),'picWidth':_0x5ea6de?.[_0x121ab6(0xcf)],'picHeight':_0x5ea6de?.['height'],'fileName':_0x354ae8,'sourcePath':_0x3cbbad,'original':!![],'picType':_0x157af1[_0x121ab6(0xef)](isGIF,_0x3b56ec)?PicType['gif']:PicType['jpg'],'picSubType':_0x5a3c06,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x598523};return _0x157af1[_0x121ab6(0xd0)](logDebug,_0x157af1['zDXUr'],_0x5b1c94),{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x5b1c94};}static async[_0x2151c7(0xc1)](_0x31980e,_0x47c924=''){const _0x4d0044=_0x2151c7,_0x14f7c9={'pRIja':'文件异常,大小为0'},{md5:_0x9df140,fileName:_0x1507ed,path:_0x5ee1e7,fileSize:_0x527f27}=await NTQQFileApi['uploadFile'](_0x31980e,ElementType[_0x4d0044(0xc6)]);if(_0x527f27===0x0)throw _0x14f7c9[_0x4d0044(0xbb)];const _0xec28d0={'elementType':ElementType[_0x4d0044(0xc6)],'elementId':'','fileElement':{'fileName':_0x47c924||_0x1507ed,'filePath':_0x5ee1e7,'fileSize':_0x527f27['toString']()}};return _0xec28d0;}static async[_0x2151c7(0xb8)](_0x92a40d,_0x49f7f8='',_0x4887ae=''){const _0x52662e=_0x2151c7,_0x94727d={'loGza':function(_0x439997,_0x52bd03){return _0x439997(_0x52bd03);},'dEMfs':function(_0x2e7c64,_0x5dee99,_0x4bee93){return _0x2e7c64(_0x5dee99,_0x4bee93);},'CnQvk':_0x52662e(0xc5),'hGUeQ':function(_0x2b3d72,_0x11f96d){return _0x2b3d72(_0x11f96d);},'uJwwR':_0x52662e(0xd2),'uqVzR':function(_0x59eee5,_0x4371a3){return _0x59eee5+_0x4371a3;},'TrCwO':function(_0xc83645,_0x112f10){return _0xc83645===_0x112f10;},'wYNGZ':_0x52662e(0xe7),'VDIPV':function(_0x140d11,_0x2c95e4){return _0x140d11(_0x2c95e4);},'gxShc':_0x52662e(0xa6),'UxgRv':_0x52662e(0xf2),'GPNdt':function(_0xcd187b,_0x5ee268,_0x176f2f){return _0xcd187b(_0x5ee268,_0x176f2f);},'DesZU':_0x52662e(0xce),'ZQXnp':_0x52662e(0xf6),'qXzxU':function(_0x36ca4f,_0x15f1c2){return _0x36ca4f||_0x15f1c2;}},{fileName:_0x3ab3ec,path:_0x2ade46,fileSize:_0x2d3996,md5:_0x4c6fe9}=await NTQQFileApi[_0x52662e(0xcc)](_0x92a40d,ElementType[_0x52662e(0xe1)]);if(_0x94727d[_0x52662e(0xee)](_0x2d3996,0x0))throw _0x94727d['wYNGZ'];const _0x246ee6=_0x94727d[_0x52662e(0xd8)](require,_0x94727d[_0x52662e(0xd6)]);let _0x76e449=_0x2ade46[_0x52662e(0xaf)](_0x246ee6[_0x52662e(0xca)]+_0x52662e(0xb6)+_0x246ee6[_0x52662e(0xca)],_0x246ee6[_0x52662e(0xca)]+'Thumb'+_0x246ee6[_0x52662e(0xca)]);_0x76e449=_0x246ee6[_0x52662e(0xae)](_0x76e449);let _0x16c07e={'width':0x780,'height':0x438,'time':0xf,'format':_0x94727d[_0x52662e(0xf0)],'size':_0x2d3996,'filePath':_0x92a40d};try{_0x16c07e=await getVideoInfo(_0x2ade46),_0x94727d[_0x52662e(0xb1)](logDebug,_0x94727d[_0x52662e(0xa1)],_0x16c07e);}catch(_0x17a4b0){logError(_0x94727d[_0x52662e(0xdd)],_0x17a4b0);}const _0xf0417e=new Promise((_0xc80297,_0x5046db)=>{const _0x145b95=_0x52662e,_0x5ebd7a={'EVUrE':function(_0x56c34c,_0x3c8506){return _0x94727d['loGza'](_0x56c34c,_0x3c8506);},'bzwDc':function(_0x4e27a8,_0x1a4969,_0x475868){const _0x5ab06e=_0x4445;return _0x94727d[_0x5ab06e(0xc7)](_0x4e27a8,_0x1a4969,_0x475868);},'AglfC':_0x94727d[_0x145b95(0xf3)]},_0xa56550=_0x4c6fe9+'_0.png',_0x35b14d=_0x246ee6['join'](_0x76e449,_0xa56550);_0x94727d['hGUeQ'](_0x215996,_0x92a40d)['on'](_0x94727d[_0x145b95(0xed)],()=>{})['on'](_0x145b95(0xeb),_0x13835b=>{const _0x45ad03=_0x145b95;_0x5ebd7a[_0x45ad03(0xa8)](logDebug,_0x5ebd7a[_0x45ad03(0xe6)],_0x13835b),_0x4887ae?_0x3837aa['copyFile'](_0x4887ae,_0x35b14d)['then'](()=>{const _0x3f3c34=_0x45ad03;_0x5ebd7a[_0x3f3c34(0xaa)](_0xc80297,_0x35b14d);})[_0x45ad03(0xc9)](_0x5046db):_0x3837aa[_0x45ad03(0xea)](_0x35b14d,defaultVideoThumb)[_0x45ad03(0xbc)](()=>{_0xc80297(_0x35b14d);})[_0x45ad03(0xc9)](_0x5046db);})[_0x145b95(0xa7)]({'timestamps':[0x0],'filename':_0xa56550,'folder':_0x76e449,'size':_0x94727d[_0x145b95(0xde)](_0x16c07e['width']+'x',_0x16c07e[_0x145b95(0xb9)])})['on'](_0x94727d[_0x145b95(0xed)],()=>{const _0x2faa55=_0x145b95;_0x5ebd7a[_0x2faa55(0xaa)](_0xc80297,_0x35b14d);});}),_0x58555c=new Map(),_0x1762bd=await _0xf0417e,_0x172d07=(await _0x3837aa['stat'](_0x1762bd))[_0x52662e(0xd7)];_0x58555c[_0x52662e(0xdb)](0x0,_0x1762bd);const _0x59993b=await calculateFileMD5(_0x1762bd),_0x3d8b88={'elementType':ElementType[_0x52662e(0xe1)],'elementId':'','videoElement':{'fileName':_0x94727d[_0x52662e(0xd9)](_0x49f7f8,_0x3ab3ec),'filePath':_0x2ade46,'videoMd5':_0x4c6fe9,'thumbMd5':_0x59993b,'fileTime':_0x16c07e[_0x52662e(0xbe)],'thumbPath':_0x58555c,'thumbSize':_0x172d07,'thumbWidth':_0x16c07e['width'],'thumbHeight':_0x16c07e[_0x52662e(0xb9)],'fileSize':''+_0x2d3996}};return _0x3d8b88;}static async[_0x2151c7(0xac)](_0x5d4586){const _0x54ab07=_0x2151c7,_0x50a420={'mVbPg':_0x54ab07(0xa3),'ZgjRi':_0x54ab07(0xe7)},{converted:_0xdb720f,path:_0x561b6d,duration:_0x4eed7a}=await encodeSilk(_0x5d4586);if(!_0x561b6d)throw _0x50a420['mVbPg'];const {md5:_0x2507d2,fileName:_0x53d7d2,path:_0x404aeb,fileSize:_0x2a48c8}=await NTQQFileApi[_0x54ab07(0xcc)](_0x561b6d,ElementType['PTT']);if(_0x2a48c8===0x0)throw _0x50a420['ZgjRi'];return _0xdb720f&&_0x3837aa[_0x54ab07(0xbf)](_0x561b6d)[_0x54ab07(0xbc)](),{'elementType':ElementType[_0x54ab07(0xb5)],'elementId':'','pttElement':{'fileName':_0x53d7d2,'filePath':_0x404aeb,'md5HexStr':_0x2507d2,'fileSize':_0x2a48c8,'duration':_0x4eed7a||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[_0x2151c7(0xe4)](_0x58b571){const _0x301cba=_0x2151c7,_0x32d2e9={'NwHLf':function(_0x55ddb8,_0x13eafb){return _0x55ddb8<_0x13eafb;}};return{'elementType':ElementType[_0x301cba(0xb0)],'elementId':'','faceElement':{'faceIndex':_0x58b571,'faceType':_0x32d2e9[_0x301cba(0xf1)](_0x58b571,0xde)?FaceType[_0x301cba(0xb2)]:FaceType['normal2']}};}static[_0x2151c7(0xec)](_0x152124,_0xaa4048,_0x297ea0,_0x417518){const _0x4f1083=_0x2151c7,_0x367e61={'UAOoW':_0x4f1083(0xb3)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x152124,'emojiId':_0xaa4048,'key':_0x297ea0,'faceName':_0x417518||mFaceCache['get'](_0xaa4048)||_0x367e61['UAOoW']}};}static['dice'](_0x4b865d){const _0xe2ec27=_0x2151c7;return{'elementType':ElementType[_0xe2ec27(0xb0)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0xe2ec27(0xe3)],'faceType':FaceType['dice'],'faceText':_0xe2ec27(0xe8),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2151c7(0xcd)](_0x4c1382){const _0x510bb9=_0x2151c7,_0x32e6d0={'xazsm':_0x510bb9(0xdc)};return{'elementType':ElementType[_0x510bb9(0xb0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x32e6d0[_0x510bb9(0xab)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x2151c7(0xc4)](_0x27ee6d){const _0x210326=_0x2151c7,_0x476d71={'viPmG':function(_0x57720b,_0x13fd2d){return _0x57720b!==_0x13fd2d;},'uulxR':_0x210326(0xc3)};return _0x476d71[_0x210326(0xf4)](typeof _0x27ee6d,_0x476d71[_0x210326(0xc0)])&&(_0x27ee6d=JSON[_0x210326(0xe0)](_0x27ee6d)),{'elementType':ElementType[_0x210326(0xd1)],'elementId':'','arkElement':{'bytesData':_0x27ee6d,'linkInfo':null,'subElementType':null}};}static['markdown'](_0x86ea89){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x86ea89}};}} \ No newline at end of file +function _0x3505(_0x3115ce,_0x5cdeb5){const _0x3fdb8a=_0x3fdb();return _0x3505=function(_0x3505a5,_0x1337d1){_0x3505a5=_0x3505a5-0xfc;let _0x343a2e=_0x3fdb8a[_0x3505a5];return _0x343a2e;},_0x3505(_0x3115ce,_0x5cdeb5);}function _0x3fdb(){const _0x468b47=['语音转换失败,\x20请检查语音文件是否正常','hPEHR','获取视频信息失败','[骰子]','file','FACE','1443804qraERo','文件异常,大小为0','PTT','width','sep','end','ark','PvCml','20297616fKJVIi','[商城表情]','FILE','get','path','BbqCa','ptt','face','Ori','REPLY','eamPz','stringify','[包剪锤]','copyFile','HBzfW','769526PxVhwH','height','aMZrP','3801620JjCYsW','yrNFB','hcbRe','Thumb','dirname','set','error','dice','markdown','27579gxgoZC','DmDJB','pHqeh','reply','uploadFile','wINSn','701712jYetuV','yDEsu','图片信息','GbeGw','KPHiJ','RmOrv','writeFile','yhDIl','normal','PIWAR','mface','mp4','screenshots','toString','oihlx','weTor','MARKDOWN','KwEwl','catch','then','size','text','normal2','rps','PiuAA','128HQvUEZ','time','PIC','getImageSize','OinEV','MFACE','jpg','获取视频封面失败,使用默认封面','TEXT','ARK','notAt','Auxmy','KrhvP','_0.png','8317974VythMB'];_0x3fdb=function(){return _0x468b47;};return _0x3fdb();}const _0x5a89e0=_0x3505;(function(_0x2c4bb7,_0x3d47c6){const _0xd854ae=_0x3505,_0x9e99f6=_0x2c4bb7();while(!![]){try{const _0x14e671=-parseInt(_0xd854ae(0x118))/0x1+parseInt(_0xd854ae(0x143))/0x2*(-parseInt(_0xd854ae(0x124))/0x3)+parseInt(_0xd854ae(0x12a))/0x4+parseInt(_0xd854ae(0x11b))/0x5+-parseInt(_0xd854ae(0x101))/0x6+-parseInt(_0xd854ae(0x151))/0x7+parseInt(_0xd854ae(0x109))/0x8;if(_0x14e671===_0x3d47c6)break;else _0x9e99f6['push'](_0x9e99f6['shift']());}catch(_0x17bdbc){_0x9e99f6['push'](_0x9e99f6['shift']());}}}(_0x3fdb,0xa7850));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0xf72998}from'node:fs';import _0x1698a9 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[_0x5a89e0(0x13f)](_0xb35236){const _0x49d867=_0x5a89e0;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xb35236,'atType':AtType[_0x49d867(0x14d)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x330b8d,_0x5519a9,_0x55395b,_0x522f1a){const _0x3915d1=_0x5a89e0;return{'elementType':ElementType[_0x3915d1(0x14b)],'elementId':'','textElement':{'content':'@'+_0x522f1a,'atType':_0x55395b,'atUid':_0x330b8d,'atTinyId':'','atNtUid':_0x5519a9}};}static[_0x5a89e0(0x127)](_0x2cee85,_0x14ee7f,_0x32e412,_0x16bab3){const _0x1d831c=_0x5a89e0;return{'elementType':ElementType[_0x1d831c(0x112)],'elementId':'','replyElement':{'replayMsgSeq':_0x2cee85,'replayMsgId':_0x14ee7f,'senderUin':_0x32e412,'senderUinStr':_0x16bab3}};}static async['pic'](_0x4746fb,_0x3e0939='',_0x2f4ef8=0x0){const _0x53f698=_0x5a89e0,_0x456c6b={'CRFjQ':function(_0x55babe,_0x5ed018){return _0x55babe===_0x5ed018;},'Auxmy':'文件异常,大小为0','HWeAT':function(_0x411eff,_0x518c3e){return _0x411eff(_0x518c3e);},'hcbRe':_0x53f698(0x12c)},{md5:_0x24b600,fileName:_0x5b08ef,path:_0x39a6b4,fileSize:_0x165f14}=await NTQQFileApi[_0x53f698(0x128)](_0x4746fb,ElementType[_0x53f698(0x145)],_0x2f4ef8);if(_0x456c6b['CRFjQ'](_0x165f14,0x0))throw _0x456c6b[_0x53f698(0x14e)];const _0x31faa6=await NTQQFileApi[_0x53f698(0x146)](_0x4746fb),_0x1d1e8b={'md5HexStr':_0x24b600,'fileSize':_0x165f14[_0x53f698(0x137)](),'picWidth':_0x31faa6?.[_0x53f698(0x104)],'picHeight':_0x31faa6?.[_0x53f698(0x119)],'fileName':_0x5b08ef,'sourcePath':_0x39a6b4,'original':!![],'picType':_0x456c6b['HWeAT'](isGIF,_0x4746fb)?PicType['gif']:PicType[_0x53f698(0x149)],'picSubType':_0x2f4ef8,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3e0939};return logDebug(_0x456c6b[_0x53f698(0x11d)],_0x1d1e8b),{'elementType':ElementType[_0x53f698(0x145)],'elementId':'','picElement':_0x1d1e8b};}static async[_0x5a89e0(0xff)](_0x5be058,_0xe620d4=''){const _0x37f04b=_0x5a89e0,_0x31e900={'HBzfW':function(_0x4e8e19,_0x1a901f){return _0x4e8e19===_0x1a901f;},'yrNFB':_0x37f04b(0x102),'DmDJB':function(_0x5cf528,_0x2a5e78){return _0x5cf528||_0x2a5e78;}},{md5:_0x17d08f,fileName:_0x34e4ed,path:_0x57ef90,fileSize:_0x3640c7}=await NTQQFileApi[_0x37f04b(0x128)](_0x5be058,ElementType[_0x37f04b(0x10b)]);if(_0x31e900[_0x37f04b(0x117)](_0x3640c7,0x0))throw _0x31e900[_0x37f04b(0x11c)];const _0x2acc42={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x31e900[_0x37f04b(0x125)](_0xe620d4,_0x34e4ed),'filePath':_0x57ef90,'fileSize':_0x3640c7[_0x37f04b(0x137)]()}};return _0x2acc42;}static async['video'](_0x154c2c,_0x3c0653='',_0x5f27b0=''){const _0x555839=_0x5a89e0,_0x3819a6={'wINSn':function(_0x3c346c,_0x34c587,_0x74abe3){return _0x3c346c(_0x34c587,_0x74abe3);},'aMZrP':_0x555839(0x14a),'eamPz':_0x555839(0x106),'KrhvP':_0x555839(0x121),'yDEsu':function(_0x16e928,_0x389c3e){return _0x16e928+_0x389c3e;},'LnBnu':_0x555839(0x102),'yhDIl':function(_0x2df881,_0x502897){return _0x2df881(_0x502897);},'KwEwl':_0x555839(0x10d),'RmOrv':_0x555839(0x135),'PiuAA':function(_0x477d64,_0x391ca6){return _0x477d64(_0x391ca6);},'hPEHR':'视频信息','PrtYU':_0x555839(0xfd),'BbqCa':function(_0x502e02,_0x388fe7){return _0x502e02(_0x388fe7);},'GbeGw':function(_0x2b9432,_0x3d9b6a){return _0x2b9432+_0x3d9b6a;}},{fileName:_0x24fe98,path:_0x1f89b6,fileSize:_0x5e7c7b,md5:_0x59d572}=await NTQQFileApi[_0x555839(0x128)](_0x154c2c,ElementType['VIDEO']);if(_0x5e7c7b===0x0)throw _0x3819a6['LnBnu'];const _0x50eeac=_0x3819a6[_0x555839(0x131)](require,_0x3819a6[_0x555839(0x13b)]);let _0x113ef8=_0x1f89b6['replace'](_0x50eeac['sep']+_0x555839(0x111)+_0x50eeac[_0x555839(0x105)],_0x50eeac[_0x555839(0x105)]+_0x555839(0x11e)+_0x50eeac[_0x555839(0x105)]);_0x113ef8=_0x50eeac[_0x555839(0x11f)](_0x113ef8);let _0x178207={'width':0x780,'height':0x438,'time':0xf,'format':_0x3819a6[_0x555839(0x12f)],'size':_0x5e7c7b,'filePath':_0x154c2c};try{_0x178207=await _0x3819a6[_0x555839(0x142)](getVideoInfo,_0x1f89b6),_0x3819a6[_0x555839(0x129)](logDebug,_0x3819a6[_0x555839(0xfc)],_0x178207);}catch(_0x3f20f4){_0x3819a6[_0x555839(0x129)](logError,_0x3819a6['PrtYU'],_0x3f20f4);}const _0x37421a=new Promise((_0x2b87b4,_0x42e2f4)=>{const _0x2ae8a8=_0x555839,_0x161795={'KPHiJ':function(_0x5c6f82,_0x2e84c0){return _0x5c6f82(_0x2e84c0);}},_0x3d45df=_0x59d572+_0x2ae8a8(0x150),_0x2493f5=_0x50eeac['join'](_0x113ef8,_0x3d45df);_0x1698a9(_0x154c2c)['on'](_0x3819a6[_0x2ae8a8(0x113)],()=>{})['on'](_0x3819a6[_0x2ae8a8(0x14f)],_0x4d0763=>{const _0x1f9681=_0x2ae8a8;_0x3819a6[_0x1f9681(0x129)](logDebug,_0x3819a6[_0x1f9681(0x11a)],_0x4d0763),_0x5f27b0?_0xf72998[_0x1f9681(0x116)](_0x5f27b0,_0x2493f5)['then'](()=>{const _0x24ec0b=_0x1f9681;_0x161795[_0x24ec0b(0x12e)](_0x2b87b4,_0x2493f5);})[_0x1f9681(0x13c)](_0x42e2f4):_0xf72998[_0x1f9681(0x130)](_0x2493f5,defaultVideoThumb)[_0x1f9681(0x13d)](()=>{_0x2b87b4(_0x2493f5);})['catch'](_0x42e2f4);})[_0x2ae8a8(0x136)]({'timestamps':[0x0],'filename':_0x3d45df,'folder':_0x113ef8,'size':_0x3819a6[_0x2ae8a8(0x12b)](_0x178207['width']+'x',_0x178207[_0x2ae8a8(0x119)])})['on'](_0x3819a6[_0x2ae8a8(0x113)],()=>{_0x2b87b4(_0x2493f5);});}),_0x13ac9e=new Map(),_0x44735b=await _0x37421a,_0xc8e93e=(await _0xf72998['stat'](_0x44735b))[_0x555839(0x13e)];_0x13ac9e[_0x555839(0x120)](0x0,_0x44735b);const _0x4b1ee1=await _0x3819a6[_0x555839(0x10e)](calculateFileMD5,_0x44735b),_0x353bea={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x3c0653||_0x24fe98,'filePath':_0x1f89b6,'videoMd5':_0x59d572,'thumbMd5':_0x4b1ee1,'fileTime':_0x178207[_0x555839(0x144)],'thumbPath':_0x13ac9e,'thumbSize':_0xc8e93e,'thumbWidth':_0x178207[_0x555839(0x104)],'thumbHeight':_0x178207[_0x555839(0x119)],'fileSize':_0x3819a6[_0x555839(0x12d)]('',_0x5e7c7b)}};return _0x353bea;}static async[_0x5a89e0(0x10f)](_0x1bef7a){const _0x24001b=_0x5a89e0,_0x1f0d62={'weTor':function(_0x59cf84,_0x3117c4){return _0x59cf84(_0x3117c4);},'PIWAR':_0x24001b(0x152),'pHqeh':function(_0x1879fb,_0x13730f){return _0x1879fb===_0x13730f;},'iwkEY':'文件异常,大小为0','OinEV':function(_0x4cde8e,_0x2b7a9a){return _0x4cde8e||_0x2b7a9a;}},{converted:_0x2148b5,path:_0x4bc9b7,duration:_0x567b6b}=await _0x1f0d62[_0x24001b(0x139)](encodeSilk,_0x1bef7a);if(!_0x4bc9b7)throw _0x1f0d62[_0x24001b(0x133)];const {md5:_0x509e78,fileName:_0x4bf71b,path:_0x480e5c,fileSize:_0x1c30e2}=await NTQQFileApi[_0x24001b(0x128)](_0x4bc9b7,ElementType['PTT']);if(_0x1f0d62[_0x24001b(0x126)](_0x1c30e2,0x0))throw _0x1f0d62['iwkEY'];return _0x2148b5&&_0xf72998['unlink'](_0x4bc9b7)['then'](),{'elementType':ElementType[_0x24001b(0x103)],'elementId':'','pttElement':{'fileName':_0x4bf71b,'filePath':_0x480e5c,'md5HexStr':_0x509e78,'fileSize':_0x1c30e2,'duration':_0x1f0d62[_0x24001b(0x147)](_0x567b6b,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[_0x5a89e0(0x110)](_0xf5aed2){const _0x113a1e=_0x5a89e0,_0x150637={'PvCml':function(_0x1e436b,_0x3d89a0){return _0x1e436b<_0x3d89a0;}};return{'elementType':ElementType[_0x113a1e(0x100)],'elementId':'','faceElement':{'faceIndex':_0xf5aed2,'faceType':_0x150637[_0x113a1e(0x108)](_0xf5aed2,0xde)?FaceType[_0x113a1e(0x132)]:FaceType[_0x113a1e(0x140)]}};}static[_0x5a89e0(0x134)](_0xbbd5e1,_0xecc3ae,_0x117935,_0x1b6e40){const _0x300877=_0x5a89e0,_0x346779={'UhwTX':_0x300877(0x10a)};return{'elementType':ElementType[_0x300877(0x148)],'marketFaceElement':{'emojiPackageId':_0xbbd5e1,'emojiId':_0xecc3ae,'key':_0x117935,'faceName':_0x1b6e40||mFaceCache[_0x300877(0x10c)](_0xecc3ae)||_0x346779['UhwTX']}};}static[_0x5a89e0(0x122)](_0x574746){const _0x8fd682=_0x5a89e0;return{'elementType':ElementType[_0x8fd682(0x100)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x8fd682(0x122)],'faceType':FaceType[_0x8fd682(0x122)],'faceText':_0x8fd682(0xfe),'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a89e0(0x141)](_0x191cbd){const _0x1612e2=_0x5a89e0,_0x3b58b7={'gsvAk':_0x1612e2(0x115)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x3b58b7['gsvAk'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a89e0(0x107)](_0x311cb1){const _0x59760e=_0x5a89e0,_0x215893={'oihlx':'string'};return typeof _0x311cb1!==_0x215893[_0x59760e(0x138)]&&(_0x311cb1=JSON[_0x59760e(0x114)](_0x311cb1)),{'elementType':ElementType[_0x59760e(0x14c)],'elementId':'','arkElement':{'bytesData':_0x311cb1,'linkInfo':null,'subElementType':null}};}static[_0x5a89e0(0x123)](_0x38c45e){const _0x16a607=_0x5a89e0;return{'elementType':ElementType[_0x16a607(0x13a)],'elementId':'','markdownElement':{'content':_0x38c45e}};}} \ 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 60d673ae..ac4b2b70 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x34f06d,_0x144da9){var _0x54602d=_0x5bab,_0x1be27b=_0x34f06d();while(!![]){try{var _0x728763=-parseInt(_0x54602d(0xba))/0x1+-parseInt(_0x54602d(0xbe))/0x2*(parseInt(_0x54602d(0xc3))/0x3)+-parseInt(_0x54602d(0xc2))/0x4+-parseInt(_0x54602d(0xbc))/0x5+parseInt(_0x54602d(0xbf))/0x6*(parseInt(_0x54602d(0xb6))/0x7)+parseInt(_0x54602d(0xb7))/0x8*(-parseInt(_0x54602d(0xbb))/0x9)+parseInt(_0x54602d(0xc1))/0xa;if(_0x728763===_0x144da9)break;else _0x1be27b['push'](_0x1be27b['shift']());}catch(_0x4d0364){_0x1be27b['push'](_0x1be27b['shift']());}}}(_0x2b45,0xa3110));export var GroupMemberRole;(function(_0x17091e){var _0x5ca705=_0x5bab,_0x1d23a4={'UGfjB':'normal','DMzYo':_0x5ca705(0xc0)};_0x17091e[_0x17091e[_0x5ca705(0xb9)]=0x2]=_0x1d23a4['UGfjB'],_0x17091e[_0x17091e[_0x5ca705(0xb8)]=0x3]=_0x5ca705(0xb8),_0x17091e[_0x17091e[_0x1d23a4[_0x5ca705(0xbd)]]=0x4]=_0x5ca705(0xc0);}(GroupMemberRole||(GroupMemberRole={})));function _0x5bab(_0x48c799,_0x4b5d94){var _0x2b452c=_0x2b45();return _0x5bab=function(_0x5bab8a,_0x358704){_0x5bab8a=_0x5bab8a-0xb6;var _0x3a4ef8=_0x2b452c[_0x5bab8a];return _0x3a4ef8;},_0x5bab(_0x48c799,_0x4b5d94);}function _0x2b45(){var _0x3ea401=['18svkgnP','274760bEXWZr','DMzYo','2620742JAMHyq','564858dwVJBL','owner','34412690hflAjy','598096nasdsM','3lBeZMf','21jwEhcT','1769216URgNUt','admin','normal','1098627tAQJTZ'];_0x2b45=function(){return _0x3ea401;};return _0x2b45();} \ No newline at end of file +(function(_0x524f51,_0x43ba6f){var _0x2bd5f9=_0x59fb,_0x5e2c19=_0x524f51();while(!![]){try{var _0x36c211=parseInt(_0x2bd5f9(0xf3))/0x1*(parseInt(_0x2bd5f9(0xed))/0x2)+-parseInt(_0x2bd5f9(0xee))/0x3+-parseInt(_0x2bd5f9(0xe7))/0x4*(parseInt(_0x2bd5f9(0xe5))/0x5)+-parseInt(_0x2bd5f9(0xf1))/0x6+-parseInt(_0x2bd5f9(0xea))/0x7*(-parseInt(_0x2bd5f9(0xeb))/0x8)+-parseInt(_0x2bd5f9(0xe8))/0x9+parseInt(_0x2bd5f9(0xe9))/0xa;if(_0x36c211===_0x43ba6f)break;else _0x5e2c19['push'](_0x5e2c19['shift']());}catch(_0x2a950c){_0x5e2c19['push'](_0x5e2c19['shift']());}}}(_0x5c59,0xa33b7));function _0x59fb(_0x148c46,_0x570cec){var _0x5c592b=_0x5c59();return _0x59fb=function(_0x59fbc3,_0x802899){_0x59fbc3=_0x59fbc3-0xe5;var _0x1baec8=_0x5c592b[_0x59fbc3];return _0x1baec8;},_0x59fb(_0x148c46,_0x570cec);}function _0x5c59(){var _0x198e48=['20544770bpewZy','8404151UUGUWN','8SiDXTm','XxomN','2136090JxakPg','3996768ZPXGSx','admin','poTdz','1863510aNzWWV','normal','1vESvbO','35XwKkQy','Tqltg','679268BJhBBN','7406604gamjnP'];_0x5c59=function(){return _0x198e48;};return _0x5c59();}export var GroupMemberRole;(function(_0x4724ad){var _0x12c6bf=_0x59fb,_0x20ab51={'poTdz':_0x12c6bf(0xf2),'XxomN':_0x12c6bf(0xef),'Tqltg':'owner'};_0x4724ad[_0x4724ad[_0x20ab51[_0x12c6bf(0xf0)]]=0x2]=_0x20ab51['poTdz'],_0x4724ad[_0x4724ad[_0x20ab51[_0x12c6bf(0xec)]]=0x3]=_0x20ab51[_0x12c6bf(0xec)],_0x4724ad[_0x4724ad[_0x20ab51['Tqltg']]=0x4]=_0x20ab51[_0x12c6bf(0xe6)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index 42b3b091..41aeb7c6 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x3a91cd,_0x399347){var _0x1520b8=_0x5b9a,_0x25d2f8=_0x3a91cd();while(!![]){try{var _0x31dce8=-parseInt(_0x1520b8(0x72))/0x1+-parseInt(_0x1520b8(0x79))/0x2*(-parseInt(_0x1520b8(0x77))/0x3)+-parseInt(_0x1520b8(0x76))/0x4+-parseInt(_0x1520b8(0x70))/0x5*(-parseInt(_0x1520b8(0x75))/0x6)+-parseInt(_0x1520b8(0x71))/0x7*(parseInt(_0x1520b8(0x74))/0x8)+-parseInt(_0x1520b8(0x78))/0x9*(-parseInt(_0x1520b8(0x6f))/0xa)+-parseInt(_0x1520b8(0x73))/0xb;if(_0x31dce8===_0x399347)break;else _0x25d2f8['push'](_0x25d2f8['shift']());}catch(_0x479096){_0x25d2f8['push'](_0x25d2f8['shift']());}}}(_0x2c1f,0xd1ae4));export*from'./user';export*from'./group';export*from'./msg';function _0x2c1f(){var _0x286429=['65FgGAdz','10173639WaDKgb','644621UqSxuJ','2399397Ptjith','8oTbDda','705102kfrJfx','1915344acVFxo','11355ktrerC','3771513OFXPQV','902MRltLM','10FOTLad'];_0x2c1f=function(){return _0x286429;};return _0x2c1f();}export*from'./notify';function _0x5b9a(_0x3796b1,_0x56b332){var _0x2c1f2b=_0x2c1f();return _0x5b9a=function(_0x5b9af5,_0xc8f1db){_0x5b9af5=_0x5b9af5-0x6f;var _0x2a9419=_0x2c1f2b[_0x5b9af5];return _0x2a9419;},_0x5b9a(_0x3796b1,_0x56b332);}export*from'./cache';export*from'./constructor'; \ No newline at end of file +(function(_0x45b209,_0x32587a){var _0x16774b=_0x29c2,_0x11a345=_0x45b209();while(!![]){try{var _0x1dc6a5=-parseInt(_0x16774b(0x101))/0x1*(parseInt(_0x16774b(0xfb))/0x2)+-parseInt(_0x16774b(0x100))/0x3*(-parseInt(_0x16774b(0x104))/0x4)+parseInt(_0x16774b(0x105))/0x5+-parseInt(_0x16774b(0xff))/0x6+parseInt(_0x16774b(0x102))/0x7+parseInt(_0x16774b(0xfd))/0x8*(parseInt(_0x16774b(0xfe))/0x9)+parseInt(_0x16774b(0x103))/0xa*(-parseInt(_0x16774b(0xfc))/0xb);if(_0x1dc6a5===_0x32587a)break;else _0x11a345['push'](_0x11a345['shift']());}catch(_0x584f13){_0x11a345['push'](_0x11a345['shift']());}}}(_0x55ee,0xf0a11));export*from'./user';export*from'./group';function _0x29c2(_0xa2d5c8,_0x29ca22){var _0x55eeef=_0x55ee();return _0x29c2=function(_0x29c2ed,_0x48d0c6){_0x29c2ed=_0x29c2ed-0xfb;var _0x2bb8d6=_0x55eeef[_0x29c2ed];return _0x2bb8d6;},_0x29c2(_0xa2d5c8,_0x29ca22);}export*from'./msg';export*from'./notify';export*from'./cache';function _0x55ee(){var _0x4a53d6=['8rzjLmF','4622409twucwT','5352060QSTvlI','363972pSQkWq','1008853AZhiiG','1646036qVavZL','60aIZqFi','32sejcQW','9835415oGkTLA','2MWpHqt','1466564oKgaOd'];_0x55ee=function(){return _0x4a53d6;};return _0x55ee();}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 e01728ba..29f8f73f 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x38aa10=_0x5853;(function(_0x4f49ac,_0x2f2419){var _0x13459a=_0x5853,_0x32ba35=_0x4f49ac();while(!![]){try{var _0x4f23ca=-parseInt(_0x13459a(0x211))/0x1*(parseInt(_0x13459a(0x20f))/0x2)+parseInt(_0x13459a(0x215))/0x3+-parseInt(_0x13459a(0x224))/0x4*(-parseInt(_0x13459a(0x213))/0x5)+-parseInt(_0x13459a(0x1f9))/0x6*(parseInt(_0x13459a(0x21a))/0x7)+-parseInt(_0x13459a(0x21f))/0x8+parseInt(_0x13459a(0x222))/0x9+-parseInt(_0x13459a(0x20c))/0xa*(parseInt(_0x13459a(0x20d))/0xb);if(_0x4f23ca===_0x2f2419)break;else _0x32ba35['push'](_0x32ba35['shift']());}catch(_0x5a300c){_0x32ba35['push'](_0x32ba35['shift']());}}}(_0x196e,0x3dd27));export var ElementType;(function(_0x4f547b){var _0x5a4583=_0x5853,_0x316312={'fvTOE':_0x5a4583(0x207),'JVvrr':_0x5a4583(0x1fa),'Kybrn':_0x5a4583(0x1fb),'iTCFW':_0x5a4583(0x216),'haraQ':'REPLY','rqGgL':_0x5a4583(0x1f4),'CVNDh':'ARK','YPeUc':_0x5a4583(0x209),'OKowO':'PIC','HbiLT':'TEXT','TZcGA':_0x5a4583(0x22e)},_0x262847=_0x316312[_0x5a4583(0x227)][_0x5a4583(0x1fe)]('|'),_0x59a603=0x0;while(!![]){switch(_0x262847[_0x59a603++]){case'0':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x221)]]=0x5]=_0x316312[_0x5a4583(0x221)];continue;case'1':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x218)]]=0x4]=_0x5a4583(0x1fb);continue;case'2':_0x4f547b[_0x4f547b[_0x316312['iTCFW']]=0x6]=_0x316312['iTCFW'];continue;case'3':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x1f3)]]=0x7]=_0x316312[_0x5a4583(0x1f3)];continue;case'4':_0x4f547b[_0x4f547b[_0x316312['rqGgL']]=0x3]='FILE';continue;case'5':_0x4f547b[_0x4f547b[_0x5a4583(0x20a)]=0xa]=_0x316312[_0x5a4583(0x219)];continue;case'6':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x22c)]]=0xb]=_0x316312[_0x5a4583(0x22c)];continue;case'7':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x220)]]=0x2]=_0x316312[_0x5a4583(0x220)];continue;case'8':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x229)]]=0x1]=_0x316312[_0x5a4583(0x229)];continue;case'9':_0x4f547b[_0x4f547b[_0x316312[_0x5a4583(0x21d)]]=0xe]=_0x316312[_0x5a4583(0x21d)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x42f50b){var _0x4d4ee0=_0x5853,_0x47f34e={'drzjv':_0x4d4ee0(0x204),'txhSK':_0x4d4ee0(0x202)};_0x42f50b[_0x42f50b[_0x4d4ee0(0x204)]=0x7d0]=_0x47f34e[_0x4d4ee0(0x21e)],_0x42f50b[_0x42f50b[_0x47f34e[_0x4d4ee0(0x200)]]=0x3e8]=_0x4d4ee0(0x202);}(PicType||(PicType={})));function _0x5853(_0x2d0777,_0x4fd20b){var _0x196e55=_0x196e();return _0x5853=function(_0x5853dc,_0x5a7a25){_0x5853dc=_0x5853dc-0x1f3;var _0x5b4969=_0x196e55[_0x5853dc];return _0x5b4969;},_0x5853(_0x2d0777,_0x4fd20b);}export var PicSubType;(function(_0x252dd1){var _0x4b4e60=_0x5853,_0x14d403={'LOaSQ':'normal','MRwqq':_0x4b4e60(0x201)};_0x252dd1[_0x252dd1[_0x14d403[_0x4b4e60(0x210)]]=0x0]=_0x14d403[_0x4b4e60(0x210)],_0x252dd1[_0x252dd1[_0x14d403[_0x4b4e60(0x223)]]=0x1]=_0x14d403[_0x4b4e60(0x223)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x22e306){var _0x4d0155=_0x5853,_0x3ad860={'wkNvq':_0x4d0155(0x1fc),'fMEQT':_0x4d0155(0x22b)};_0x22e306[_0x22e306[_0x3ad860['wkNvq']]=0x0]=_0x3ad860['wkNvq'],_0x22e306[_0x22e306[_0x3ad860[_0x4d0155(0x1f8)]]=0x1]=_0x3ad860['fMEQT'],_0x22e306[_0x22e306[_0x4d0155(0x22a)]=0x2]=_0x4d0155(0x22a);}(AtType||(AtType={})));export var ChatType;(function(_0x2c16d){var _0xbcba14=_0x5853,_0x13579f={'FItyT':_0xbcba14(0x1f6),'TzdAD':_0xbcba14(0x230),'ykCEC':_0xbcba14(0x22f)};_0x2c16d[_0x2c16d[_0x13579f['FItyT']]=0x1]='friend',_0x2c16d[_0x2c16d[_0xbcba14(0x230)]=0x2]=_0x13579f['TzdAD'],_0x2c16d[_0x2c16d['temp']=0x64]=_0x13579f[_0xbcba14(0x205)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x38aa10(0x208);export const IMAGE_HTTP_HOST_NT=_0x38aa10(0x206);export var GrayTipElementSubType;(function(_0x13921e){var _0x27aa9f=_0x38aa10,_0x43eefe={'sXOay':_0x27aa9f(0x212),'MqyvH':_0x27aa9f(0x1f5)};_0x13921e[_0x13921e[_0x43eefe[_0x27aa9f(0x226)]]=0xc]=_0x43eefe[_0x27aa9f(0x226)],_0x13921e[_0x13921e[_0x43eefe['MqyvH']]=0x11]=_0x27aa9f(0x1f5);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;function _0x196e(){var _0x3097b4=['atAll','YPeUc','whFIG','MARKDOWN','temp','group','RPS','haraQ','FILE','MEMBER_NEW_TITLE','friend','kicked','fMEQT','187926rfaWHK','VIDEO','PTT','notAt','qExtY','split','memberIncrease','txhSK','face','jpg','normal','gif','ykCEC','https://multimedia.nt.qq.com.cn','8|7|4|1|0|2|3|5|6|9','https://gchat.qpic.cn','MFACE','ARK','fsfFX','70WqecDT','68233BrvZfu','CFLUT','2PjGYlc','LOaSQ','111242IDdkdR','INVITE_NEW_MEMBER','204220IkYpjO','Fpmpt','502326XNDhZg','FACE','dice','Kybrn','CVNDh','7oYzXeq','ban','JBNhr','TZcGA','drzjv','2129104yGnjpf','OKowO','JVvrr','3370743xHBnVD','MRwqq','16yznfQH','MASIA','sXOay','fvTOE','normal2','HbiLT','atUser'];_0x196e=function(){return _0x3097b4;};return _0x196e();}(function(_0x7f8071){var _0x289dd2=_0x38aa10,_0x408063={'JBNhr':_0x289dd2(0x203),'fsfFX':_0x289dd2(0x228),'whFIG':'dice'};_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x21c)]]=0x1]=_0x408063['JBNhr'],_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x20b)]]=0x2]=_0x408063[_0x289dd2(0x20b)],_0x7f8071[_0x7f8071[_0x408063[_0x289dd2(0x22d)]]=0x3]=_0x408063[_0x289dd2(0x22d)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x48691d){var _0x45e830=_0x38aa10,_0x4cff6f={'qExtY':_0x45e830(0x217),'CFLUT':_0x45e830(0x231)};_0x48691d[_0x48691d[_0x4cff6f[_0x45e830(0x1fd)]]=0x166]=_0x4cff6f['qExtY'],_0x48691d[_0x48691d[_0x4cff6f[_0x45e830(0x20e)]]=0x167]=_0x4cff6f[_0x45e830(0x20e)];}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x10a81f){var _0x44617e=_0x38aa10,_0x9ad435={'Fpmpt':_0x44617e(0x1ff),'MASIA':_0x44617e(0x1f7)};_0x10a81f[_0x10a81f[_0x9ad435[_0x44617e(0x214)]]=0x1]=_0x9ad435['Fpmpt'],_0x10a81f[_0x10a81f[_0x9ad435[_0x44617e(0x225)]]=0x3]=_0x44617e(0x1f7),_0x10a81f[_0x10a81f[_0x44617e(0x21b)]=0x8]=_0x44617e(0x21b);}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x488be0=_0x43e5;(function(_0x3b9968,_0x578304){var _0x19c75d=_0x43e5,_0x5320f5=_0x3b9968();while(!![]){try{var _0x6febbd=parseInt(_0x19c75d(0x95))/0x1*(-parseInt(_0x19c75d(0x85))/0x2)+-parseInt(_0x19c75d(0x86))/0x3+-parseInt(_0x19c75d(0x9b))/0x4*(parseInt(_0x19c75d(0xa8))/0x5)+parseInt(_0x19c75d(0xa0))/0x6*(-parseInt(_0x19c75d(0x93))/0x7)+-parseInt(_0x19c75d(0xa1))/0x8+parseInt(_0x19c75d(0x8a))/0x9+parseInt(_0x19c75d(0x9a))/0xa;if(_0x6febbd===_0x578304)break;else _0x5320f5['push'](_0x5320f5['shift']());}catch(_0x390a2e){_0x5320f5['push'](_0x5320f5['shift']());}}}(_0x1079,0x83958));export var ElementType;(function(_0x34b300){var _0x1a7e09=_0x43e5,_0x50a690={'DpEao':'VIDEO','eyyuN':_0x1a7e09(0xb3),'EVNKH':'ARK','hQbHW':_0x1a7e09(0x82),'UvGcD':_0x1a7e09(0xad),'SEKSV':_0x1a7e09(0x81),'YVezW':_0x1a7e09(0xa2),'nDBiR':'MARKDOWN','RuKBB':_0x1a7e09(0x87),'OHNqD':'PIC'},_0x369532='6|9|1|3|0|4|5|2|8|7'[_0x1a7e09(0x90)]('|'),_0x76260e=0x0;while(!![]){switch(_0x369532[_0x76260e++]){case'0':_0x34b300[_0x34b300[_0x50a690['DpEao']]=0x5]=_0x1a7e09(0x8e);continue;case'1':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x8b)]]=0x3]='FILE';continue;case'2':_0x34b300[_0x34b300[_0x50a690['EVNKH']]=0xa]=_0x50a690['EVNKH'];continue;case'3':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0xaa)]]=0x4]=_0x50a690[_0x1a7e09(0xaa)];continue;case'4':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x8d)]]=0x6]=_0x1a7e09(0xad);continue;case'5':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x88)]]=0x7]=_0x50a690[_0x1a7e09(0x88)];continue;case'6':_0x34b300[_0x34b300[_0x50a690['YVezW']]=0x1]=_0x50a690[_0x1a7e09(0xa9)];continue;case'7':_0x34b300[_0x34b300['MARKDOWN']=0xe]=_0x50a690[_0x1a7e09(0xb1)];continue;case'8':_0x34b300[_0x34b300[_0x50a690[_0x1a7e09(0x9f)]]=0xb]='MFACE';continue;case'9':_0x34b300[_0x34b300[_0x50a690['OHNqD']]=0x2]=_0x50a690['OHNqD'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x33e3e6){var _0x3d15c3=_0x43e5,_0x73d9a={'RvRTD':'gif'};_0x33e3e6[_0x33e3e6[_0x73d9a[_0x3d15c3(0x92)]]=0x7d0]=_0x3d15c3(0x97),_0x33e3e6[_0x33e3e6['jpg']=0x3e8]=_0x3d15c3(0xa3);}(PicType||(PicType={})));export var PicSubType;(function(_0x40710d){var _0x1ff1d3=_0x43e5,_0x309a23={'rnlTP':'normal','LAQEw':_0x1ff1d3(0x94)};_0x40710d[_0x40710d[_0x1ff1d3(0xa7)]=0x0]=_0x309a23['rnlTP'],_0x40710d[_0x40710d[_0x309a23['LAQEw']]=0x1]=_0x309a23[_0x1ff1d3(0x91)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x39233e){var _0x5f547a=_0x43e5,_0x50950c={'YAgIZ':_0x5f547a(0x9e),'VKCPh':_0x5f547a(0xb5),'nfrnN':'atUser'};_0x39233e[_0x39233e[_0x50950c['YAgIZ']]=0x0]=_0x50950c[_0x5f547a(0xae)],_0x39233e[_0x39233e[_0x50950c['VKCPh']]=0x1]=_0x50950c['VKCPh'],_0x39233e[_0x39233e[_0x5f547a(0x80)]=0x2]=_0x50950c[_0x5f547a(0x98)];}(AtType||(AtType={})));export var ChatType;(function(_0x42b044){var _0x540b1e=_0x43e5,_0x352437={'eAjWS':_0x540b1e(0xb4),'GPOkL':_0x540b1e(0xa4),'UwnAE':_0x540b1e(0x8c)};_0x42b044[_0x42b044[_0x352437[_0x540b1e(0xb0)]]=0x1]='friend',_0x42b044[_0x42b044[_0x540b1e(0xa4)]=0x2]=_0x352437['GPOkL'],_0x42b044[_0x42b044[_0x352437[_0x540b1e(0xab)]]=0x64]=_0x540b1e(0x8c);}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0x488be0(0x83);function _0x43e5(_0x2da7ee,_0x159a3c){var _0x10793b=_0x1079();return _0x43e5=function(_0x43e543,_0x2bae32){_0x43e543=_0x43e543-0x80;var _0x35e264=_0x10793b[_0x43e543];return _0x35e264;},_0x43e5(_0x2da7ee,_0x159a3c);}export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x24da2f){var _0x3d4dfa=_0x488be0,_0x9ee84c={'oVUvm':'MEMBER_NEW_TITLE'};_0x24da2f[_0x24da2f['INVITE_NEW_MEMBER']=0xc]=_0x3d4dfa(0x99),_0x24da2f[_0x24da2f[_0x9ee84c[_0x3d4dfa(0x84)]]=0x11]=_0x9ee84c[_0x3d4dfa(0x84)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x220b87){var _0x334418=_0x488be0,_0x19454d={'FKtNI':_0x334418(0xa7),'OKhUI':'normal2','AwkxU':_0x334418(0x89)};_0x220b87[_0x220b87[_0x19454d[_0x334418(0x9d)]]=0x1]=_0x19454d[_0x334418(0x9d)],_0x220b87[_0x220b87[_0x334418(0xa6)]=0x2]=_0x19454d[_0x334418(0xb2)],_0x220b87[_0x220b87[_0x19454d[_0x334418(0xaf)]]=0x3]=_0x19454d[_0x334418(0xaf)];}(FaceType||(FaceType={})));function _0x1079(){var _0x5f6588=['ban','FKtNI','notAt','RuKBB','3872658IbKuEI','1892232OOADNY','TEXT','jpg','group','wwLGM','normal2','normal','5Otrxgz','YVezW','hQbHW','UwnAE','kicked','FACE','YAgIZ','AwkxU','eAjWS','nDBiR','OKhUI','FILE','friend','atAll','atUser','REPLY','PTT','https://gchat.qpic.cn','oVUvm','2CMRAUc','3079302FydkBj','MFACE','SEKSV','dice','3656070IsCzyN','eyyuN','temp','UvGcD','VIDEO','unaRt','split','LAQEw','RvRTD','7fgRvtE','face','521791uKLlQn','RPS','gif','nfrnN','INVITE_NEW_MEMBER','32303960CqZaFi','2669844IFdNcC'];_0x1079=function(){return _0x5f6588;};return _0x1079();}export var FaceIndex;(function(_0x87e5bc){var _0x4e1e51=_0x488be0,_0x135262={'unaRt':_0x4e1e51(0x89)};_0x87e5bc[_0x87e5bc[_0x135262[_0x4e1e51(0x8f)]]=0x166]=_0x135262['unaRt'],_0x87e5bc[_0x87e5bc[_0x4e1e51(0x96)]=0x167]=_0x4e1e51(0x96);}(FaceIndex||(FaceIndex={})));export var TipGroupElementType;(function(_0x17948d){var _0x4a4fd3=_0x488be0,_0x20358={'dWDCm':'memberIncrease','wwLGM':_0x4a4fd3(0xac),'gJksp':'ban'};_0x17948d[_0x17948d[_0x20358['dWDCm']]=0x1]=_0x20358['dWDCm'],_0x17948d[_0x17948d[_0x20358[_0x4a4fd3(0xa5)]]=0x3]=_0x4a4fd3(0xac),_0x17948d[_0x17948d[_0x20358['gJksp']]=0x8]=_0x4a4fd3(0x9c);}(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 d1977b78..524b023e 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x54da4a,_0x286c8c){var _0x262576=_0x2b1b,_0x538671=_0x54da4a();while(!![]){try{var _0x2e215d=-parseInt(_0x262576(0x7c))/0x1+parseInt(_0x262576(0x75))/0x2*(-parseInt(_0x262576(0x70))/0x3)+-parseInt(_0x262576(0x68))/0x4+-parseInt(_0x262576(0x78))/0x5*(parseInt(_0x262576(0x88))/0x6)+-parseInt(_0x262576(0x84))/0x7*(parseInt(_0x262576(0x79))/0x8)+parseInt(_0x262576(0x80))/0x9+parseInt(_0x262576(0x7f))/0xa;if(_0x2e215d===_0x286c8c)break;else _0x538671['push'](_0x538671['shift']());}catch(_0x32a676){_0x538671['push'](_0x538671['shift']());}}}(_0x54e4,0x77497));export var GroupNotifyTypes;(function(_0x6f0696){var _0x1e4ede=_0x2b1b,_0x20513f={'ItOqO':_0x1e4ede(0x76),'MvIhS':_0x1e4ede(0x72),'QCtda':_0x1e4ede(0x81),'YMIYO':_0x1e4ede(0x8a),'PEoiB':_0x1e4ede(0x6f),'oddtO':_0x1e4ede(0x6a),'mzxQK':_0x1e4ede(0x6b),'vMUrB':_0x1e4ede(0x71)},_0x39e7a8=_0x20513f['ItOqO'][_0x1e4ede(0x87)]('|'),_0x4f3bee=0x0;while(!![]){switch(_0x39e7a8[_0x4f3bee++]){case'0':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x7b)]]=0xb]=_0x20513f['MvIhS'];continue;case'1':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x8b)]]=0x4]=_0x20513f['QCtda'];continue;case'2':_0x6f0696[_0x6f0696[_0x20513f['YMIYO']]=0xd]=_0x1e4ede(0x8a);continue;case'3':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x69)]]=0x9]=_0x20513f['PEoiB'];continue;case'4':_0x6f0696[_0x6f0696[_0x1e4ede(0x6d)]=0x7]=_0x1e4ede(0x6d);continue;case'5':_0x6f0696[_0x6f0696[_0x1e4ede(0x6a)]=0x8]=_0x20513f[_0x1e4ede(0x7a)];continue;case'6':_0x6f0696[_0x6f0696[_0x1e4ede(0x6b)]=0x1]=_0x20513f[_0x1e4ede(0x89)];continue;case'7':_0x6f0696[_0x6f0696[_0x20513f[_0x1e4ede(0x85)]]=0xc]='ADMIN_UNSET';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x2b1b(_0x4c4cf5,_0x421d9a){var _0x54e45=_0x54e4();return _0x2b1b=function(_0x2b1b22,_0x4a2acc){_0x2b1b22=_0x2b1b22-0x68;var _0x34083b=_0x54e45[_0x2b1b22];return _0x34083b;},_0x2b1b(_0x4c4cf5,_0x421d9a);}export var GroupNotifyStatus;(function(_0x488f3a){var _0x22ce5d=_0x2b1b,_0x3d0570={'ckqKA':'IGNORE','BCzsk':_0x22ce5d(0x74),'FLmJb':_0x22ce5d(0x6c)};_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x7d)]]=0x0]=_0x22ce5d(0x82),_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x86)]]=0x1]=_0x3d0570[_0x22ce5d(0x86)],_0x488f3a[_0x488f3a['APPROVE']=0x2]=_0x22ce5d(0x77),_0x488f3a[_0x488f3a[_0x3d0570[_0x22ce5d(0x7e)]]=0x3]=_0x3d0570[_0x22ce5d(0x7e)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x54e4(){var _0x21e957=['773555gGbnoN','ckqKA','FLmJb','21649640lBeLvr','8320365HysZZm','INVITED_JOIN','IGNORE','iucVn','7903MdTvkk','vMUrB','BCzsk','split','72TLdWFu','mzxQK','ADMIN_UNSET_OTHER','QCtda','1744556lCmPkz','PEoiB','ADMIN_SET','INVITE_ME','REJECT','JOIN_REQUEST','approve','KICK_MEMBER','11547xrKifU','ADMIN_UNSET','MEMBER_EXIT','HXTRj','WAIT_HANDLE','134klnkzP','6|1|4|5|3|0|7|2','APPROVE','221465Wtuhph','4264LASVBj','oddtO','MvIhS'];_0x54e4=function(){return _0x21e957;};return _0x54e4();}(function(_0x551363){var _0x93028=_0x2b1b,_0x2aafdb={'iucVn':_0x93028(0x6e),'HXTRj':'reject'};_0x551363[_0x551363[_0x2aafdb['iucVn']]=0x1]=_0x2aafdb[_0x93028(0x83)],_0x551363[_0x551363[_0x2aafdb[_0x93028(0x73)]]=0x2]=_0x2aafdb[_0x93028(0x73)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={}))); \ No newline at end of file +(function(_0x4b0b90,_0x491576){var _0x48d13b=_0x231e,_0x43659d=_0x4b0b90();while(!![]){try{var _0x17f563=-parseInt(_0x48d13b(0x1f4))/0x1*(-parseInt(_0x48d13b(0x1e5))/0x2)+-parseInt(_0x48d13b(0x1fa))/0x3*(parseInt(_0x48d13b(0x1f0))/0x4)+parseInt(_0x48d13b(0x203))/0x5+parseInt(_0x48d13b(0x1fb))/0x6+parseInt(_0x48d13b(0x1fc))/0x7+parseInt(_0x48d13b(0x1f6))/0x8+parseInt(_0x48d13b(0x1ff))/0x9*(-parseInt(_0x48d13b(0x1f9))/0xa);if(_0x17f563===_0x491576)break;else _0x43659d['push'](_0x43659d['shift']());}catch(_0x7e9cd2){_0x43659d['push'](_0x43659d['shift']());}}}(_0x31a9,0x9aa12));export var GroupNotifyTypes;function _0x31a9(){var _0x59aa77=['APPROVE','4113WnxSVD','REJECT','ADMIN_SET','zaCoH','4100345BkGKkp','KICK_MEMBER','INVITE_ME','reject','37886xnbAti','INVITED_JOIN','THSPT','iyHMX','split','5|6|0|1|7|4|3|2','FRwwu','BzRpU','VmPBx','SDRSc','JOIN_REQUEST','4421452IjHyvg','ADMIN_UNSET','WAIT_HANDLE','iobFF','61oMCVqj','TGIzP','7995224AClIHf','IGNORE','EaFMM','45070KLchkl','3RrmTfq','2198418IVbdOu','3199182WOCnur','approve'];_0x31a9=function(){return _0x59aa77;};return _0x31a9();}(function(_0x51f78d){var _0xe21b33=_0x231e,_0x40cd0f={'iyHMX':_0xe21b33(0x1ea),'EaFMM':_0xe21b33(0x201),'BzRpU':'ADMIN_UNSET_OTHER','VmPBx':'MEMBER_EXIT','iobFF':_0xe21b33(0x1e3),'zaCoH':_0xe21b33(0x1e6)},_0x3358c6=_0x40cd0f[_0xe21b33(0x1e8)][_0xe21b33(0x1e9)]('|'),_0x825d3e=0x0;while(!![]){switch(_0x3358c6[_0x825d3e++]){case'0':_0x51f78d[_0x51f78d['JOIN_REQUEST']=0x7]=_0xe21b33(0x1ef);continue;case'1':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1f8)]]=0x8]=_0x40cd0f['EaFMM'];continue;case'2':_0x51f78d[_0x51f78d[_0x40cd0f['BzRpU']]=0xd]=_0x40cd0f[_0xe21b33(0x1ec)];continue;case'3':_0x51f78d[_0x51f78d['ADMIN_UNSET']=0xc]=_0xe21b33(0x1f1);continue;case'4':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1ed)]]=0xb]=_0x40cd0f['VmPBx'];continue;case'5':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x1f3)]]=0x1]=_0xe21b33(0x1e3);continue;case'6':_0x51f78d[_0x51f78d[_0x40cd0f[_0xe21b33(0x202)]]=0x4]=_0x40cd0f[_0xe21b33(0x202)];continue;case'7':_0x51f78d[_0x51f78d['KICK_MEMBER']=0x9]=_0xe21b33(0x204);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2a1a1e){var _0x46d189=_0x231e,_0x1ffc95={'SDRSc':_0x46d189(0x1f7),'FRwwu':_0x46d189(0x1f2),'MxEgB':_0x46d189(0x1fe),'TGIzP':_0x46d189(0x200)};_0x2a1a1e[_0x2a1a1e[_0x46d189(0x1f7)]=0x0]=_0x1ffc95[_0x46d189(0x1ee)],_0x2a1a1e[_0x2a1a1e[_0x1ffc95[_0x46d189(0x1eb)]]=0x1]=_0x1ffc95[_0x46d189(0x1eb)],_0x2a1a1e[_0x2a1a1e[_0x1ffc95['MxEgB']]=0x2]=_0x1ffc95['MxEgB'],_0x2a1a1e[_0x2a1a1e[_0x1ffc95[_0x46d189(0x1f5)]]=0x3]=_0x1ffc95[_0x46d189(0x1f5)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x231e(_0x409670,_0x5758ff){var _0x31a913=_0x31a9();return _0x231e=function(_0x231e65,_0x46f733){_0x231e65=_0x231e65-0x1e3;var _0x43bcdc=_0x31a913[_0x231e65];return _0x43bcdc;},_0x231e(_0x409670,_0x5758ff);}export var GroupRequestOperateTypes;(function(_0x3769de){var _0x2282bb=_0x231e,_0x36edef={'THSPT':_0x2282bb(0x1e4)};_0x3769de[_0x3769de['approve']=0x1]=_0x2282bb(0x1fd),_0x3769de[_0x3769de[_0x36edef[_0x2282bb(0x1e7)]]=0x2]=_0x36edef[_0x2282bb(0x1e7)];}(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 2738424d..af600995 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x334d(_0x59969f,_0x2f4209){var _0xc3f303=_0xc3f3();return _0x334d=function(_0x334d86,_0x1badd0){_0x334d86=_0x334d86-0x17b;var _0x2fe6c0=_0xc3f303[_0x334d86];return _0x2fe6c0;},_0x334d(_0x59969f,_0x2f4209);}(function(_0x4f4dc2,_0x33c021){var _0x8084e2=_0x334d,_0x3274c1=_0x4f4dc2();while(!![]){try{var _0x5b5702=parseInt(_0x8084e2(0x17f))/0x1+parseInt(_0x8084e2(0x17e))/0x2+-parseInt(_0x8084e2(0x183))/0x3+-parseInt(_0x8084e2(0x182))/0x4+-parseInt(_0x8084e2(0x184))/0x5*(-parseInt(_0x8084e2(0x17d))/0x6)+-parseInt(_0x8084e2(0x186))/0x7*(-parseInt(_0x8084e2(0x188))/0x8)+parseInt(_0x8084e2(0x185))/0x9*(parseInt(_0x8084e2(0x17c))/0xa);if(_0x5b5702===_0x33c021)break;else _0x3274c1['push'](_0x3274c1['shift']());}catch(_0x6b35b3){_0x3274c1['push'](_0x3274c1['shift']());}}}(_0xc3f3,0x7656e));function _0xc3f3(){var _0x41fc1=['1657062DjoSTn','1015TyqSBp','1607193ZEmaNt','7hEPFXu','opVuO','2971160NKBCok','WkDPj','30SBKAhq','318rqhVTF','117486yMGYpD','596734HtSEUn','female','unknown','2145160zBkKQe'];_0xc3f3=function(){return _0x41fc1;};return _0xc3f3();}export var Sex;(function(_0x96d292){var _0x1bdc1a=_0x334d,_0x13186c={'VJAVL':'male','WkDPj':_0x1bdc1a(0x180),'opVuO':_0x1bdc1a(0x181)};_0x96d292[_0x96d292[_0x13186c['VJAVL']]=0x1]=_0x13186c['VJAVL'],_0x96d292[_0x96d292[_0x13186c[_0x1bdc1a(0x17b)]]=0x2]=_0x13186c[_0x1bdc1a(0x17b)],_0x96d292[_0x96d292[_0x1bdc1a(0x181)]=0xff]=_0x13186c[_0x1bdc1a(0x187)];}(Sex||(Sex={}))); \ No newline at end of file +function _0x3208(_0x45d081,_0x4696e8){var _0x166863=_0x1668();return _0x3208=function(_0x320865,_0x3474c7){_0x320865=_0x320865-0xbe;var _0x42584f=_0x166863[_0x320865];return _0x42584f;},_0x3208(_0x45d081,_0x4696e8);}function _0x1668(){var _0x37824a=['12bvNSjb','27RoAWqz','40670rDqbHe','RqKLY','2066572MLbBEz','4182854eSVicR','female','20diTusk','1482952AOvXnx','35rWZkGH','3qTyuci','lIYMj','unknown','1100175zKeCBU','aBpgK','4775826RmqFlW','38jXDoAP','560442wnhEQS','male'];_0x1668=function(){return _0x37824a;};return _0x1668();}(function(_0x3db104,_0x1a089c){var _0x1646a5=_0x3208,_0x28a4d5=_0x3db104();while(!![]){try{var _0x34fbf1=parseInt(_0x1646a5(0xc5))/0x1*(-parseInt(_0x1646a5(0xca))/0x2)+-parseInt(_0x1646a5(0xbf))/0x3*(parseInt(_0x1646a5(0xcc))/0x4)+parseInt(_0x1646a5(0xc2))/0x5+parseInt(_0x1646a5(0xc6))/0x6*(parseInt(_0x1646a5(0xbe))/0x7)+-parseInt(_0x1646a5(0xd0))/0x8*(-parseInt(_0x1646a5(0xc9))/0x9)+parseInt(_0x1646a5(0xcf))/0xa*(parseInt(_0x1646a5(0xc4))/0xb)+parseInt(_0x1646a5(0xc8))/0xc*(-parseInt(_0x1646a5(0xcd))/0xd);if(_0x34fbf1===_0x1a089c)break;else _0x28a4d5['push'](_0x28a4d5['shift']());}catch(_0x248298){_0x28a4d5['push'](_0x28a4d5['shift']());}}}(_0x1668,0x7a29a));export var Sex;(function(_0x1e0705){var _0x46429d=_0x3208,_0x48f60d={'aBpgK':_0x46429d(0xc7),'lIYMj':'female','RqKLY':_0x46429d(0xc1)};_0x1e0705[_0x1e0705[_0x46429d(0xc7)]=0x1]=_0x48f60d[_0x46429d(0xc3)],_0x1e0705[_0x1e0705[_0x48f60d[_0x46429d(0xc0)]]=0x2]=_0x46429d(0xce),_0x1e0705[_0x1e0705[_0x48f60d[_0x46429d(0xcb)]]=0xff]=_0x48f60d[_0x46429d(0xcb)];}(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 32f44e5f..84644e5f 100644 --- a/src/core.lib/src/external/hook.js +++ b/src/core.lib/src/external/hook.js @@ -1 +1 @@ -const _0x68de9d=_0x3014;(function(_0x54a3fe,_0xd057da){const _0x19ddc9=_0x3014,_0x2d96b2=_0x54a3fe();while(!![]){try{const _0x2ec535=parseInt(_0x19ddc9(0x14e))/0x1+parseInt(_0x19ddc9(0x148))/0x2*(parseInt(_0x19ddc9(0x143))/0x3)+-parseInt(_0x19ddc9(0x146))/0x4+-parseInt(_0x19ddc9(0x155))/0x5+parseInt(_0x19ddc9(0x150))/0x6+-parseInt(_0x19ddc9(0x156))/0x7*(parseInt(_0x19ddc9(0x141))/0x8)+parseInt(_0x19ddc9(0x142))/0x9*(-parseInt(_0x19ddc9(0x145))/0xa);if(_0x2ec535===_0xd057da)break;else _0x2d96b2['push'](_0x2d96b2['shift']());}catch(_0x42f8f5){_0x2d96b2['push'](_0x2d96b2['shift']());}}}(_0x4e91,0xd3d1e));import{logError}from'@/common/utils/log';function _0x3014(_0x70a672,_0x56aa5f){const _0x4e9114=_0x4e91();return _0x3014=function(_0x301478,_0x8483fb){_0x301478=_0x301478-0x141;let _0x53c3d7=_0x4e9114[_0x301478];return _0x53c3d7;},_0x3014(_0x70a672,_0x56aa5f);}import{cpModule}from'@/common/utils/cpmodule';function _0x4e91(){const _0x1468be=['UiEsW','50yqbVlK','6733984bbCHlM','OMRJp','4BWYxsD','加载\x20moehoo\x20失败','isAvailable','HookRkey','getRKey','WtIKS','1128119FSyyzx','./MoeHoo.node','8361984FXiqeX','moeHook','version','RNdnk','GetRkey','898910OUziLI','19334ScrYrm','MoeHoo','3752accBCF','121347TFYyMB','2357853WykhHI'];_0x4e91=function(){return _0x1468be;};return _0x4e91();}import{qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';qqVersionConfigInfo;class HookApi{[_0x68de9d(0x151)]=null;constructor(){const _0x2bb174=_0x68de9d,_0x4b92ac={'WtIKS':function(_0x37b6bb,_0x556556){return _0x37b6bb(_0x556556);},'RNdnk':_0x2bb174(0x157),'OMRJp':_0x2bb174(0x14f),'UiEsW':function(_0x2ec470,_0x3c3ba0,_0x4031b6){return _0x2ec470(_0x3c3ba0,_0x4031b6);},'QWLTl':_0x2bb174(0x149)};try{_0x4b92ac[_0x2bb174(0x14d)](cpModule,_0x4b92ac[_0x2bb174(0x153)]),this['moeHook']=_0x4b92ac[_0x2bb174(0x14d)](require,_0x4b92ac[_0x2bb174(0x147)]),this[_0x2bb174(0x151)][_0x2bb174(0x14b)](qqPkgInfo[_0x2bb174(0x152)]);}catch(_0x51fb17){_0x4b92ac[_0x2bb174(0x144)](logError,_0x4b92ac['QWLTl'],_0x51fb17);}}[_0x68de9d(0x14c)](){const _0x4c31e3=_0x68de9d;return this['moeHook']?.[_0x4c31e3(0x154)]()||'';}[_0x68de9d(0x14a)](){const _0x49744a=_0x68de9d;return!!this[_0x49744a(0x151)];}}export const hookApi=new HookApi(); \ No newline at end of file +const _0xda4c7d=_0x1013;(function(_0x34124d,_0x5d9a8a){const _0x1069fe=_0x1013,_0x2baa18=_0x34124d();while(!![]){try{const _0x4638af=-parseInt(_0x1069fe(0x1c7))/0x1+-parseInt(_0x1069fe(0x1d7))/0x2+-parseInt(_0x1069fe(0x1d4))/0x3+-parseInt(_0x1069fe(0x1cb))/0x4+-parseInt(_0x1069fe(0x1d9))/0x5+parseInt(_0x1069fe(0x1d1))/0x6*(-parseInt(_0x1069fe(0x1cc))/0x7)+parseInt(_0x1069fe(0x1d6))/0x8;if(_0x4638af===_0x5d9a8a)break;else _0x2baa18['push'](_0x2baa18['shift']());}catch(_0x2989cf){_0x2baa18['push'](_0x2baa18['shift']());}}}(_0x3df0,0xcf7a3));import{logError}from'@/common/utils/log';function _0x3df0(){const _0x57bf37=['MoeHoo','ykxsb','tJNqz','ZUytJ','6HKiMLb','HookRkey','moeHook','3737574qBjNjk','EeSnY','46200240EFzNSo','2401890TrnKpV','isAvailable','3024915PzQaXR','iWSeH','getRKey','加载\x20moehoo\x20失败','156233kNgAXU','version','GetRkey','./MoeHoo.node','6469260TinxrL','699083uOjDev'];_0x3df0=function(){return _0x57bf37;};return _0x3df0();}import{cpModule}from'@/common/utils/cpmodule';import{qqPkgInfo}from'@/common/utils/QQBasicInfo';function _0x1013(_0x5cb0d7,_0x34c309){const _0x3df096=_0x3df0();return _0x1013=function(_0x101318,_0x28167e){_0x101318=_0x101318-0x1c5;let _0x722f8f=_0x3df096[_0x101318];return _0x722f8f;},_0x1013(_0x5cb0d7,_0x34c309);}class HookApi{['moeHook']=null;constructor(){const _0x4c04bc=_0x1013,_0x1407f8={'iWSeH':function(_0x571a69,_0x468963){return _0x571a69(_0x468963);},'ykxsb':_0x4c04bc(0x1cd),'EeSnY':_0x4c04bc(0x1ca),'tJNqz':function(_0x25d1bc,_0xdb6706,_0x51a3da){return _0x25d1bc(_0xdb6706,_0x51a3da);},'ZUytJ':_0x4c04bc(0x1c6)};try{_0x1407f8[_0x4c04bc(0x1da)](cpModule,_0x1407f8[_0x4c04bc(0x1ce)]),this[_0x4c04bc(0x1d3)]=require(_0x1407f8[_0x4c04bc(0x1d5)]),this[_0x4c04bc(0x1d3)][_0x4c04bc(0x1d2)](qqPkgInfo[_0x4c04bc(0x1c8)]);}catch(_0x460cac){_0x1407f8[_0x4c04bc(0x1cf)](logError,_0x1407f8[_0x4c04bc(0x1d0)],_0x460cac);}}[_0xda4c7d(0x1c5)](){const _0x5d6f96=_0xda4c7d;return this['moeHook']?.[_0x5d6f96(0x1c9)]()||'';}[_0xda4c7d(0x1d8)](){const _0x4bec7f=_0xda4c7d;return!!this[_0x4bec7f(0x1d3)];}}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 e50489cf..43ee8e51 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x49e515,_0x218994){var _0x16a41e=_0x4556,_0x1305a4=_0x49e515();while(!![]){try{var _0x545de8=parseInt(_0x16a41e(0x10d))/0x1+parseInt(_0x16a41e(0x107))/0x2*(parseInt(_0x16a41e(0x10c))/0x3)+-parseInt(_0x16a41e(0x10e))/0x4+parseInt(_0x16a41e(0x10a))/0x5*(parseInt(_0x16a41e(0x10f))/0x6)+-parseInt(_0x16a41e(0x110))/0x7+-parseInt(_0x16a41e(0x108))/0x8*(parseInt(_0x16a41e(0x10b))/0x9)+parseInt(_0x16a41e(0x109))/0xa;if(_0x545de8===_0x218994)break;else _0x1305a4['push'](_0x1305a4['shift']());}catch(_0x36d065){_0x1305a4['push'](_0x1305a4['shift']());}}}(_0x1d50,0x980bc));import _0x1f6593 from'./wrapper';function _0x1d50(){var _0x1c7808=['6632843wLjgAJ','2158118SZdQUZ','3033064ueuYTg','15769720CnMXIZ','5faymKf','27BrmGht','3JenBAf','251890jTLzdM','1368944qKTBsG','852258qAfiJW'];_0x1d50=function(){return _0x1c7808;};return _0x1d50();}export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1f6593 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4556(_0x357614,_0x1eb47d){var _0x1d5053=_0x1d50();return _0x4556=function(_0x4556ce,_0x139a23){_0x4556ce=_0x4556ce-0x107;var _0x4a1826=_0x1d5053[_0x4556ce];return _0x4a1826;},_0x4556(_0x357614,_0x1eb47d);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x4764bf,_0x26e8ec){var _0x295cd7=_0x2452,_0x1b043b=_0x4764bf();while(!![]){try{var _0x55a5b7=parseInt(_0x295cd7(0xfe))/0x1*(-parseInt(_0x295cd7(0xf6))/0x2)+parseInt(_0x295cd7(0xfb))/0x3*(-parseInt(_0x295cd7(0xfa))/0x4)+parseInt(_0x295cd7(0xfc))/0x5+parseInt(_0x295cd7(0xfd))/0x6*(parseInt(_0x295cd7(0xf7))/0x7)+-parseInt(_0x295cd7(0xf9))/0x8*(parseInt(_0x295cd7(0xff))/0x9)+parseInt(_0x295cd7(0xf8))/0xa+-parseInt(_0x295cd7(0x100))/0xb;if(_0x55a5b7===_0x26e8ec)break;else _0x1b043b['push'](_0x1b043b['shift']());}catch(_0x5c2e15){_0x1b043b['push'](_0x1b043b['shift']());}}}(_0x26ef,0x3efbf));function _0x26ef(){var _0x406473=['346293BLdMuP','5683227KeMFjo','260574hfHIeA','7owvotb','4231480ugLKrH','8DrzDHW','6444lYPiOR','282rOlytM','1949025UGxbtZ','1691310EvpKTQ','1ZquTzs'];_0x26ef=function(){return _0x406473;};return _0x26ef();}import _0x4fbfb4 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x2452(_0x375aca,_0x1f7986){var _0x26ef77=_0x26ef();return _0x2452=function(_0x245241,_0x2971da){_0x245241=_0x245241-0xf6;var _0x13599d=_0x26ef77[_0x245241];return _0x13599d;},_0x2452(_0x375aca,_0x1f7986);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x4fbfb4 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 f47db6dc..f4fda665 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x4327(){var _0x3edd38=['onCheckBuddySettingResult','899017mZrQGO','2015829IJXHyu','onAddBuddyNeedVerify','onAddMeSettingChanged','1898970tbDAoQ','onNickUpdated','onBuddyRemarkUpdated','462165GyzGTX','onBuddyListChange','onSmartInfos','1456784Ljofln','onAvatarUrlUpdated','2MYoZBB','5534424lzSzqE','onDoubtBuddyReqChange','onBuddyReqChange','onBuddyInfoChange','onSpacePermissionInfos','onDelBatchBuddyInfos','onBuddyDetailInfoChange','3973524SRHUKT'];_0x4327=function(){return _0x3edd38;};return _0x4327();}var _0x31d3aa=_0x2959;function _0x2959(_0x27d17d,_0x107139){var _0x4327eb=_0x4327();return _0x2959=function(_0x2959f1,_0x16bcf3){_0x2959f1=_0x2959f1-0xb5;var _0x5a2983=_0x4327eb[_0x2959f1];return _0x5a2983;},_0x2959(_0x27d17d,_0x107139);}(function(_0x5a327e,_0x2d6c71){var _0x3cf76a=_0x2959,_0x1a55b4=_0x5a327e();while(!![]){try{var _0x3eaad6=-parseInt(_0x3cf76a(0xbf))/0x1*(-parseInt(_0x3cf76a(0xc4))/0x2)+-parseInt(_0x3cf76a(0xb9))/0x3+parseInt(_0x3cf76a(0xc2))/0x4+parseInt(_0x3cf76a(0xbc))/0x5+-parseInt(_0x3cf76a(0xb6))/0x6+-parseInt(_0x3cf76a(0xb8))/0x7+parseInt(_0x3cf76a(0xc5))/0x8;if(_0x3eaad6===_0x2d6c71)break;else _0x1a55b4['push'](_0x1a55b4['shift']());}catch(_0x17f147){_0x1a55b4['push'](_0x1a55b4['shift']());}}}(_0x4327,0x6a482));export class BuddyListener{[_0x31d3aa(0xba)](_0x42b8da){}[_0x31d3aa(0xbb)](_0x13997d){}[_0x31d3aa(0xc3)](_0x4d9175){}['onBlockChanged'](_0x5f5a96){}[_0x31d3aa(0xb5)](_0x35b891){}[_0x31d3aa(0xc8)](_0x33f681){}[_0x31d3aa(0xc0)](_0x366c55){}[_0x31d3aa(0xbe)](_0x324695){}[_0x31d3aa(0xc7)](_0x30e8c2){}['onBuddyReqUnreadCntChange'](_0x495e5a){}[_0x31d3aa(0xb7)](_0x17ceb7){}[_0x31d3aa(0xca)](_0x18b040){}[_0x31d3aa(0xc6)](_0x32d410){}['onDoubtBuddyReqUnreadNumChange'](_0x212276){}[_0x31d3aa(0xbd)](_0x35b1ad){}[_0x31d3aa(0xc1)](_0x433fae){}[_0x31d3aa(0xc9)](_0x50871c){}} \ No newline at end of file +var _0x14cda7=_0x37ed;(function(_0x2f4593,_0x5f5a11){var _0x5d5892=_0x37ed,_0x54b1a5=_0x2f4593();while(!![]){try{var _0x5273f7=-parseInt(_0x5d5892(0xc8))/0x1+-parseInt(_0x5d5892(0xd0))/0x2+parseInt(_0x5d5892(0xc7))/0x3*(-parseInt(_0x5d5892(0xbf))/0x4)+parseInt(_0x5d5892(0xd2))/0x5+-parseInt(_0x5d5892(0xca))/0x6*(-parseInt(_0x5d5892(0xc6))/0x7)+-parseInt(_0x5d5892(0xcc))/0x8+parseInt(_0x5d5892(0xc0))/0x9*(parseInt(_0x5d5892(0xce))/0xa);if(_0x5273f7===_0x5f5a11)break;else _0x54b1a5['push'](_0x54b1a5['shift']());}catch(_0x5dd0f5){_0x54b1a5['push'](_0x54b1a5['shift']());}}}(_0x38b2,0x4d29b));export class BuddyListener{[_0x14cda7(0xcd)](_0x178491){}[_0x14cda7(0xd5)](_0x3da378){}['onAvatarUrlUpdated'](_0x3b8ba1){}[_0x14cda7(0xcb)](_0x244a14){}[_0x14cda7(0xd4)](_0x23e8ba){}['onBuddyInfoChange'](_0x2b971a){}['onBuddyListChange'](_0x235f2d){}[_0x14cda7(0xc1)](_0xc6a92){}[_0x14cda7(0xd1)](_0x2b62a3){}[_0x14cda7(0xc3)](_0x143fe7){}[_0x14cda7(0xc5)](_0x586005){}['onDelBatchBuddyInfos'](_0x1d7e3b){}[_0x14cda7(0xc9)](_0x3b569b){}[_0x14cda7(0xd3)](_0x553a50){}[_0x14cda7(0xcf)](_0x233484){}[_0x14cda7(0xc4)](_0x57334c){}[_0x14cda7(0xc2)](_0x5ebb8f){}}function _0x37ed(_0x244def,_0x19110f){var _0x38b20d=_0x38b2();return _0x37ed=function(_0x37ed5e,_0x5dacad){_0x37ed5e=_0x37ed5e-0xbf;var _0xdf660d=_0x38b20d[_0x37ed5e];return _0xdf660d;},_0x37ed(_0x244def,_0x19110f);}function _0x38b2(){var _0x328b2b=['7AlszXT','1427145osVPfv','129130fqDcco','onDoubtBuddyReqChange','295698THSsPV','onBlockChanged','669528XCWxoL','onAddBuddyNeedVerify','39820wYliNO','onNickUpdated','314510UTtCbL','onBuddyReqChange','3153725VKvpZt','onDoubtBuddyReqUnreadNumChange','onBuddyDetailInfoChange','onAddMeSettingChanged','4dDlEpy','1089QzDqYN','onBuddyRemarkUpdated','onSpacePermissionInfos','onBuddyReqUnreadCntChange','onSmartInfos','onCheckBuddySettingResult'];_0x38b2=function(){return _0x328b2b;};return _0x38b2();} \ 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 802bbf02..a6e3310d 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x145e4d=_0x58af;(function(_0x49a5f7,_0x4ed130){var _0x15ee84=_0x58af,_0xa82ebc=_0x49a5f7();while(!![]){try{var _0x163a52=-parseInt(_0x15ee84(0x16f))/0x1*(parseInt(_0x15ee84(0x168))/0x2)+parseInt(_0x15ee84(0x16d))/0x3*(-parseInt(_0x15ee84(0x16e))/0x4)+parseInt(_0x15ee84(0x16b))/0x5+parseInt(_0x15ee84(0x165))/0x6*(parseInt(_0x15ee84(0x16c))/0x7)+parseInt(_0x15ee84(0x167))/0x8+-parseInt(_0x15ee84(0x169))/0x9*(parseInt(_0x15ee84(0x164))/0xa)+parseInt(_0x15ee84(0x16a))/0xb;if(_0x163a52===_0x4ed130)break;else _0xa82ebc['push'](_0xa82ebc['shift']());}catch(_0x2c9c47){_0xa82ebc['push'](_0xa82ebc['shift']());}}}(_0xe0ba,0x943c3));function _0x58af(_0xb319a6,_0x436391){var _0xe0bac=_0xe0ba();return _0x58af=function(_0x58af19,_0x57237b){_0x58af19=_0x58af19-0x164;var _0x18ed8a=_0xe0bac[_0x58af19];return _0x18ed8a;},_0x58af(_0xb319a6,_0x436391);}function _0xe0ba(){var _0x49d8cd=['889ojxZHE','3jMBrGo','2403112PapvOT','29vpKRAL','130Lustym','22092nHnuoo','onFileSearch','5761936WaImYY','78506PtmePY','236619djEFaN','11678172JMSHYL','2192805YgrOJN'];_0xe0ba=function(){return _0x49d8cd;};return _0xe0ba();}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x5579a5){}['onSessionListChanged'](..._0x52f06b){}['onSessionChanged'](..._0x385086){}['onFileListChanged'](..._0x452eaf){}[_0x145e4d(0x166)](..._0x50a379){}} \ No newline at end of file +function _0x133e(_0x43a552,_0x2a0793){var _0xecf01b=_0xecf0();return _0x133e=function(_0x133e1b,_0x528b7e){_0x133e1b=_0x133e1b-0x10c;var _0x37848b=_0xecf01b[_0x133e1b];return _0x37848b;},_0x133e(_0x43a552,_0x2a0793);}function _0xecf0(){var _0x887cb3=['10930MvJPBS','onFileSearch','510JBAkQQ','5555msxDSq','1288RUgVUt','287637jsorHh','9500kKizif','onFileListChanged','55727SRpkcy','10bvgpib','3056560NGgSPc','266499eUuBto','onFileStatusChanged','107cOfYCW','35988nAVnLu','onSessionChanged'];_0xecf0=function(){return _0x887cb3;};return _0xecf0();}var _0x103a4a=_0x133e;(function(_0x3bdb95,_0x5e2d9a){var _0x5f0f8b=_0x133e,_0x3b3127=_0x3bdb95();while(!![]){try{var _0x3adaab=-parseInt(_0x5f0f8b(0x114))/0x1*(-parseInt(_0x5f0f8b(0x10d))/0x2)+parseInt(_0x5f0f8b(0x10c))/0x3+-parseInt(_0x5f0f8b(0x11b))/0x4*(parseInt(_0x5f0f8b(0x117))/0x5)+-parseInt(_0x5f0f8b(0x119))/0x6*(parseInt(_0x5f0f8b(0x10f))/0x7)+-parseInt(_0x5f0f8b(0x111))/0x8+parseInt(_0x5f0f8b(0x112))/0x9*(parseInt(_0x5f0f8b(0x110))/0xa)+parseInt(_0x5f0f8b(0x11a))/0xb*(parseInt(_0x5f0f8b(0x115))/0xc);if(_0x3adaab===_0x5e2d9a)break;else _0x3b3127['push'](_0x3b3127['shift']());}catch(_0x1ae0b0){_0x3b3127['push'](_0x3b3127['shift']());}}}(_0xecf0,0x5e234));export class KernelFileAssistantListener{[_0x103a4a(0x113)](..._0x5809e7){}['onSessionListChanged'](..._0x3b1b7b){}[_0x103a4a(0x116)](..._0x1a1768){}[_0x103a4a(0x10e)](..._0xb97bb1){}[_0x103a4a(0x118)](..._0x41b512){}} \ 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 06b534ee..5e0b2520 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x513487=_0x3cf2;function _0x544a(){var _0x4598c2=['onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','lVnOM','347564dYThaR','onGroupSingleScreenNotifies','onGroupArkInviteStateResult:','onGroupBulletinRichMediaDownloadComplete','iZAhi','log','onSearchMemberChange','868143xWpwlP','onMemberInfoChange','onMemberInfoChange:','onGroupBulletinRemindNotify:','6RbYSmR','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupDetailInfoChange','onGroupExtListUpdate','kZYYE','onGroupBulletinRichMediaProgressUpdate:','onMemberListChange:','onGroupNotifiesUpdated','RGEGt','22316668MehSDq','onMemberListChange','4828064jRgUzE','onGroupNotifiesUpdated:','276196vvrprU','onJoinGroupNoVerifyFlag','onGroupStatisticInfoChange:','wiUgD','vRKvE','onGroupListUpdate','488783MBsMNX','onGroupNotifiesUnreadCountUpdated','Htods','onGroupBulletinChange:','onJoinGroupNoVerifyFlag:','13870LyuCdy','54TLDUsf','EcbNu','onGroupConfMemberChange','EeXQv','onGroupArkInviteStateResult','PDxJs','wWGGQ','onShutUpMemberListChanged','onGroupStatisticInfoChange','onGroupFirstBulletinNotify','onJoinGroupNotify:','onGroupsMsgMaskResult','onGroupListUpdate:','onGroupAllInfoChange','onGroupsMsgMaskResult:','1782KefSjS','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange:','onGroupBulletinRemindNotify','onGroupExtListUpdate:','onGroupConfMemberChange:','vwcvv','onGroupAllInfoChange:','45XFilmr','wHZAU','onGetGroupBulletinListResult','onGroupMemberLevelInfoChange'];_0x544a=function(){return _0x4598c2;};return _0x544a();}(function(_0x3a4493,_0x19e7ba){var _0x519f4e=_0x3cf2,_0x2816aa=_0x3a4493();while(!![]){try{var _0x4d66ef=parseInt(_0x519f4e(0x91))/0x1+-parseInt(_0x519f4e(0x7d))/0x2*(parseInt(_0x519f4e(0xbc))/0x3)+-parseInt(_0x519f4e(0x8b))/0x4*(parseInt(_0x519f4e(0xae))/0x5)+-parseInt(_0x519f4e(0x97))/0x6*(-parseInt(_0x519f4e(0xb5))/0x7)+-parseInt(_0x519f4e(0x89))/0x8+parseInt(_0x519f4e(0xa6))/0x9*(-parseInt(_0x519f4e(0x96))/0xa)+parseInt(_0x519f4e(0x87))/0xb;if(_0x4d66ef===_0x19e7ba)break;else _0x2816aa['push'](_0x2816aa['shift']());}catch(_0x2969c6){_0x2816aa['push'](_0x2816aa['shift']());}}}(_0x544a,0x91af1));export class GroupListener{[_0x513487(0xb1)](..._0x424953){}[_0x513487(0xb0)](..._0x4b7fe8){}[_0x513487(0xa4)](..._0x52aed4){}['onGroupBulletinChange'](..._0x2a0125){}[_0x513487(0xa9)](..._0x280c98){}[_0x513487(0x9b)](..._0x5e734a){}['onGroupBulletinRichMediaDownloadComplete'](..._0x2553e1){}[_0x513487(0x99)](..._0x420939){}['onGroupDetailInfoChange'](..._0x3b115a){}[_0x513487(0x81)](..._0x22ddf4){}[_0x513487(0xa0)](..._0x1a92ca){}[_0x513487(0x90)](_0x31a19e,_0x240fa1){}[_0x513487(0x85)](_0x1465d7,_0x7e941f){}[_0x513487(0xa7)](..._0x125446){}[_0x513487(0x92)](..._0x3a1439){}[_0x513487(0xb6)](..._0x3492a7){}[_0x513487(0xa2)](..._0x90f457){}[_0x513487(0x9f)](..._0x5bc53b){}[_0x513487(0x7f)](..._0x2fedb5){}[_0x513487(0x8c)](..._0x64ef71){}[_0x513487(0xbd)](_0x290a7f,_0x19ffd7,_0x37f60b){}[_0x513487(0x88)](_0x33637e){}['onSearchMemberChange'](..._0x3fecfb){}[_0x513487(0x9e)](..._0x498604){}}function _0x3cf2(_0x38a07c,_0x439ab1){var _0x544af3=_0x544a();return _0x3cf2=function(_0x3cf2db,_0x555073){_0x3cf2db=_0x3cf2db-0x7c;var _0x24b2ed=_0x544af3[_0x3cf2db];return _0x24b2ed;},_0x3cf2(_0x38a07c,_0x439ab1);}export class DebugGroupListener{[_0x513487(0xb1)](..._0x2c01f0){var _0xd97ac=_0x513487,_0x16f0b5={'tzoOu':'onGroupMemberLevelInfoChange:'};console[_0xd97ac(0xba)](_0x16f0b5['tzoOu'],..._0x2c01f0);}[_0x513487(0xb0)](..._0x147f9e){var _0x124f2d=_0x513487;console[_0x124f2d(0xba)]('onGetGroupBulletinListResult:',..._0x147f9e);}['onGroupAllInfoChange'](..._0x577046){var _0x59604d=_0x513487,_0x599e11={'RGEGt':_0x59604d(0xad)};console[_0x59604d(0xba)](_0x599e11[_0x59604d(0x86)],..._0x577046);}['onGroupBulletinChange'](..._0x57ffba){var _0x48a243=_0x513487,_0xd06217={'kZYYE':_0x48a243(0x94)};console[_0x48a243(0xba)](_0xd06217[_0x48a243(0x82)],..._0x57ffba);}[_0x513487(0xa9)](..._0x47ca9d){var _0x5a9edd=_0x513487,_0x52756a={'wHZAU':_0x5a9edd(0x7c)};console['log'](_0x52756a[_0x5a9edd(0xaf)],..._0x47ca9d);}[_0x513487(0x9b)](..._0x203e88){var _0x1aeafc=_0x513487,_0x55b0d3={'wiUgD':_0x1aeafc(0xb7)};console[_0x1aeafc(0xba)](_0x55b0d3[_0x1aeafc(0x8e)],..._0x203e88);}[_0x513487(0xb8)](..._0x47a1c3){var _0x460ac4=_0x513487;console[_0x460ac4(0xba)]('onGroupBulletinRichMediaDownloadComplete:',..._0x47a1c3);}[_0x513487(0x99)](..._0xe5de33){var _0x5def2e=_0x513487;console[_0x5def2e(0xba)](_0x5def2e(0xab),..._0xe5de33);}[_0x513487(0x80)](..._0x2b3291){var _0x1b8e1a=_0x513487;console[_0x1b8e1a(0xba)](_0x1b8e1a(0xa8),..._0x2b3291);}['onGroupExtListUpdate'](..._0x5431d4){var _0x51748f=_0x513487,_0x41f76c={'iZAhi':_0x51748f(0xaa)};console['log'](_0x41f76c[_0x51748f(0xb9)],..._0x5431d4);}[_0x513487(0xa0)](..._0x2c8ad9){var _0x465183=_0x513487,_0x5ae3a1={'EeXQv':_0x465183(0xb3)};console['log'](_0x5ae3a1[_0x465183(0x9a)],..._0x2c8ad9);}[_0x513487(0x90)](..._0x90476){var _0x5e152c=_0x513487,_0x353c16={'Htods':_0x5e152c(0xa3)};console[_0x5e152c(0xba)](_0x353c16[_0x5e152c(0x93)],..._0x90476);}[_0x513487(0x85)](..._0x10b9f6){var _0x46dfe7=_0x513487,_0x1a002a={'EcbNu':_0x46dfe7(0x8a)};console[_0x46dfe7(0xba)](_0x1a002a[_0x46dfe7(0x98)],..._0x10b9f6);}[_0x513487(0xa7)](..._0x17bdfb){var _0x220514=_0x513487,_0x327db7={'UDStk':_0x220514(0x83)};console['log'](_0x327db7['UDStk'],..._0x17bdfb);}[_0x513487(0x92)](..._0x4c1630){var _0xc18773=_0x513487,_0x31f341={'PDxJs':'onGroupNotifiesUnreadCountUpdated:'};console[_0xc18773(0xba)](_0x31f341[_0xc18773(0x9c)],..._0x4c1630);}[_0x513487(0xb6)](..._0x531294){var _0xaccb39=_0x513487;console[_0xaccb39(0xba)](_0xaccb39(0xb2),..._0x531294);}[_0x513487(0xa2)](..._0x570b8b){var _0x5d9f89=_0x513487;console[_0x5d9f89(0xba)](_0x5d9f89(0xa5),..._0x570b8b);}['onGroupStatisticInfoChange'](..._0x3a5110){var _0x50c285=_0x513487,_0x5690da={'vwcvv':_0x50c285(0x8d)};console[_0x50c285(0xba)](_0x5690da[_0x50c285(0xac)],..._0x3a5110);}[_0x513487(0x7f)](..._0x5b0aaa){var _0x58b226=_0x513487;console['log'](_0x58b226(0xa1),..._0x5b0aaa);}[_0x513487(0x8c)](..._0x2f28b1){var _0x10f253=_0x513487;console[_0x10f253(0xba)](_0x10f253(0x95),..._0x2f28b1);}[_0x513487(0xbd)](_0x17968a,_0xebf1a1,_0x4ee417){var _0xa86f08=_0x513487,_0x287a61={'wWGGQ':_0xa86f08(0xbe)};console['log'](_0x287a61[_0xa86f08(0x9d)],_0x17968a,_0xebf1a1,_0x4ee417);}[_0x513487(0x88)](..._0x3ded5a){var _0x373ae9=_0x513487;console[_0x373ae9(0xba)](_0x373ae9(0x84),..._0x3ded5a);}[_0x513487(0xbb)](..._0x5575e5){var _0x462605=_0x513487,_0x2ea779={'lVnOM':'onSearchMemberChange:'};console[_0x462605(0xba)](_0x2ea779[_0x462605(0xb4)],..._0x5575e5);}[_0x513487(0x9e)](..._0x16ea04){var _0x6c5c65=_0x513487,_0x535ccc={'vRKvE':_0x6c5c65(0x7e)};console[_0x6c5c65(0xba)](_0x535ccc[_0x6c5c65(0x8f)],..._0x16ea04);}} \ No newline at end of file +var _0xb4b798=_0xbc70;(function(_0x5db542,_0x442cf4){var _0x4e6a12=_0xbc70,_0x19a498=_0x5db542();while(!![]){try{var _0x5e8790=parseInt(_0x4e6a12(0x1e7))/0x1+parseInt(_0x4e6a12(0x217))/0x2*(parseInt(_0x4e6a12(0x207))/0x3)+parseInt(_0x4e6a12(0x1f5))/0x4*(parseInt(_0x4e6a12(0x1f9))/0x5)+parseInt(_0x4e6a12(0x1df))/0x6*(parseInt(_0x4e6a12(0x1fc))/0x7)+-parseInt(_0x4e6a12(0x203))/0x8*(-parseInt(_0x4e6a12(0x20d))/0x9)+-parseInt(_0x4e6a12(0x215))/0xa+-parseInt(_0x4e6a12(0x1ee))/0xb;if(_0x5e8790===_0x442cf4)break;else _0x19a498['push'](_0x19a498['shift']());}catch(_0x34238b){_0x19a498['push'](_0x19a498['shift']());}}}(_0x5df2,0x78d02));function _0xbc70(_0x36bbd7,_0x4cef2){var _0x5df2b2=_0x5df2();return _0xbc70=function(_0xbc70a7,_0x291912){_0xbc70a7=_0xbc70a7-0x1de;var _0x249051=_0x5df2b2[_0xbc70a7];return _0x249051;},_0xbc70(_0x36bbd7,_0x4cef2);}export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x5c7096){}['onGetGroupBulletinListResult'](..._0x90ffd5){}[_0xb4b798(0x1f4)](..._0xfeb12e){}[_0xb4b798(0x208)](..._0x139b54){}[_0xb4b798(0x1ea)](..._0x13a919){}[_0xb4b798(0x1e1)](..._0xa50f8){}[_0xb4b798(0x211)](..._0x3c7140){}[_0xb4b798(0x1ed)](..._0x82b60a){}[_0xb4b798(0x1e0)](..._0x3b7c26){}[_0xb4b798(0x1e2)](..._0x2bba41){}[_0xb4b798(0x214)](..._0x4c6045){}[_0xb4b798(0x202)](_0x3b8c87,_0x1ea73c){}[_0xb4b798(0x1fe)](_0xd10f85,_0x15dddb){}[_0xb4b798(0x204)](..._0x3fcab0){}[_0xb4b798(0x1fa)](..._0x206225){}[_0xb4b798(0x1e3)](..._0x585c93){}[_0xb4b798(0x1f0)](..._0xb681ae){}[_0xb4b798(0x1f1)](..._0x30b714){}[_0xb4b798(0x1e8)](..._0x570a95){}[_0xb4b798(0x205)](..._0x51ee3d){}['onMemberInfoChange'](_0x4c45b6,_0x4ef187,_0x1bedb8){}[_0xb4b798(0x206)](_0x321f1b){}[_0xb4b798(0x1f6)](..._0x5f0eaa){}[_0xb4b798(0x210)](..._0x510cfd){}}export class DebugGroupListener{[_0xb4b798(0x209)](..._0x188d60){var _0x902a63=_0xb4b798,_0x13b6d2={'wKMqP':'onGroupMemberLevelInfoChange:'};console[_0x902a63(0x20c)](_0x13b6d2[_0x902a63(0x1ff)],..._0x188d60);}['onGetGroupBulletinListResult'](..._0x1bea70){var _0x483798=_0xb4b798;console[_0x483798(0x20c)]('onGetGroupBulletinListResult:',..._0x1bea70);}['onGroupAllInfoChange'](..._0x45074f){var _0x44fd1b=_0xb4b798;console[_0x44fd1b(0x20c)](_0x44fd1b(0x20e),..._0x45074f);}[_0xb4b798(0x208)](..._0x1794eb){var _0x2ed059=_0xb4b798,_0xc46cf0={'VeFwn':'onGroupBulletinChange:'};console[_0x2ed059(0x20c)](_0xc46cf0['VeFwn'],..._0x1794eb);}[_0xb4b798(0x1ea)](..._0x4dd412){var _0x4b84c7=_0xb4b798;console[_0x4b84c7(0x20c)]('onGroupBulletinRemindNotify:',..._0x4dd412);}[_0xb4b798(0x1e1)](..._0x2e7df5){var _0xed1ddc=_0xb4b798,_0x1f1095={'Dovtq':_0xed1ddc(0x20b)};console[_0xed1ddc(0x20c)](_0x1f1095[_0xed1ddc(0x1ef)],..._0x2e7df5);}[_0xb4b798(0x211)](..._0x39aa33){var _0x8c5b01={'Ecrrj':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x8c5b01['Ecrrj'],..._0x39aa33);}[_0xb4b798(0x1ed)](..._0x370b8e){var _0x28bce9=_0xb4b798;console[_0x28bce9(0x20c)](_0x28bce9(0x200),..._0x370b8e);}[_0xb4b798(0x1e0)](..._0x1e9b0b){var _0x116486=_0xb4b798;console[_0x116486(0x20c)](_0x116486(0x1eb),..._0x1e9b0b);}[_0xb4b798(0x1e2)](..._0x3c9898){var _0x33bd1c=_0xb4b798,_0x49649c={'SSlHw':'onGroupExtListUpdate:'};console[_0x33bd1c(0x20c)](_0x49649c[_0x33bd1c(0x1e5)],..._0x3c9898);}['onGroupFirstBulletinNotify'](..._0x16572d){var _0x141b60=_0xb4b798,_0x4cb7b3={'PMWYj':_0x141b60(0x1f2)};console[_0x141b60(0x20c)](_0x4cb7b3['PMWYj'],..._0x16572d);}[_0xb4b798(0x202)](..._0xe70d32){var _0x33e77d=_0xb4b798,_0x1d5e42={'keGRA':_0x33e77d(0x1e6)};console[_0x33e77d(0x20c)](_0x1d5e42['keGRA'],..._0xe70d32);}[_0xb4b798(0x1fe)](..._0x4cfb69){var _0x5b0a25=_0xb4b798;console[_0x5b0a25(0x20c)](_0x5b0a25(0x1f3),..._0x4cfb69);}[_0xb4b798(0x204)](..._0x161db){var _0x2a2014=_0xb4b798;console[_0x2a2014(0x20c)]('onGroupBulletinRichMediaProgressUpdate:',..._0x161db);}[_0xb4b798(0x1fa)](..._0x2d11a7){var _0x4d7d6f=_0xb4b798,_0x207c2b={'HaZds':_0x4d7d6f(0x212)};console[_0x4d7d6f(0x20c)](_0x207c2b[_0x4d7d6f(0x1ec)],..._0x2d11a7);}[_0xb4b798(0x1e3)](..._0x271f50){var _0x564e5d=_0xb4b798;console[_0x564e5d(0x20c)](_0x564e5d(0x1f8),..._0x271f50);}[_0xb4b798(0x1f0)](..._0x50674f){var _0x47751b=_0xb4b798;console['log'](_0x47751b(0x213),..._0x50674f);}[_0xb4b798(0x1f1)](..._0x221192){var _0x41bdf6=_0xb4b798,_0xd145cb={'WgDSy':_0x41bdf6(0x1e4)};console[_0x41bdf6(0x20c)](_0xd145cb[_0x41bdf6(0x1f7)],..._0x221192);}['onJoinGroupNotify'](..._0x45454b){var _0x56fe41={'rARaD':'onJoinGroupNotify:'};console['log'](_0x56fe41['rARaD'],..._0x45454b);}[_0xb4b798(0x205)](..._0xf41556){var _0x1c165d=_0xb4b798,_0x17905f={'bcPbM':_0x1c165d(0x1de)};console[_0x1c165d(0x20c)](_0x17905f[_0x1c165d(0x1e9)],..._0xf41556);}[_0xb4b798(0x216)](_0x50d130,_0x8567e6,_0x4c0d7b){var _0xcc530c=_0xb4b798,_0x5955f5={'uQqEF':_0xcc530c(0x20a)};console[_0xcc530c(0x20c)](_0x5955f5[_0xcc530c(0x201)],_0x50d130,_0x8567e6,_0x4c0d7b);}[_0xb4b798(0x206)](..._0x1b070a){var _0x4e1e4a=_0xb4b798,_0x5cac32={'titSW':'onMemberListChange:'};console[_0x4e1e4a(0x20c)](_0x5cac32[_0x4e1e4a(0x20f)],..._0x1b070a);}[_0xb4b798(0x1f6)](..._0x5676ea){var _0x2d90ee=_0xb4b798,_0x56ba9c={'GNTOC':_0x2d90ee(0x1fb)};console[_0x2d90ee(0x20c)](_0x56ba9c[_0x2d90ee(0x1fd)],..._0x5676ea);}['onShutUpMemberListChanged'](..._0x4840aa){var _0x3b3b7a=_0xb4b798;console[_0x3b3b7a(0x20c)](_0x3b3b7a(0x218),..._0x4840aa);}}function _0x5df2(){var _0x33192b=['onGroupStatisticInfoChange:','SSlHw','onGroupListUpdate:','442562edsIMG','onJoinGroupNotify','bcPbM','onGroupBulletinRemindNotify','onGroupDetailInfoChange:','HaZds','onGroupConfMemberChange','9992037eFjLzS','Dovtq','onGroupsMsgMaskResult','onGroupStatisticInfoChange','onGroupFirstBulletinNotify:','onGroupNotifiesUpdated:','onGroupAllInfoChange','124328uqYgoI','onSearchMemberChange','WgDSy','onGroupSingleScreenNotifies:','115TwjFzz','onGroupNotifiesUnreadCountUpdated','onSearchMemberChange:','126babgYz','GNTOC','onGroupNotifiesUpdated','wKMqP','onGroupConfMemberChange:','uQqEF','onGroupListUpdate','1608iLnDqE','onGroupBulletinRichMediaProgressUpdate','onJoinGroupNoVerifyFlag','onMemberListChange','1178091XyttcE','onGroupBulletinChange','onGroupMemberLevelInfoChange','onMemberInfoChange:','onGroupArkInviteStateResult:','log','21537nKzMjo','onGroupAllInfoChange:','titSW','onShutUpMemberListChanged','onGroupBulletinRichMediaDownloadComplete','onGroupNotifiesUnreadCountUpdated:','onGroupsMsgMaskResult:','onGroupFirstBulletinNotify','8831790JDcVkT','onMemberInfoChange','2EQKKCZ','onShutUpMemberListChanged:','onJoinGroupNoVerifyFlag:','85086IoyLyc','onGroupDetailInfoChange','onGroupArkInviteStateResult','onGroupExtListUpdate','onGroupSingleScreenNotifies'];_0x5df2=function(){return _0x33192b;};return _0x5df2();} \ 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 cec09cf1..9638806c 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x39cd07=_0x4dbc;function _0x4dbc(_0x7315b3,_0x214bfa){var _0x4554b8=_0x4554();return _0x4dbc=function(_0x4dbcbb,_0x5d44a0){_0x4dbcbb=_0x4dbcbb-0x90;var _0x56233b=_0x4554b8[_0x4dbcbb];return _0x56233b;},_0x4dbc(_0x7315b3,_0x214bfa);}function _0x4554(){var _0x5345a3=['1074563wYpTMZ','12560PjwQVG','48387TPhRmu','onLoginState','438374TIGoSv','onLogoutFailed','onQRCodeLoginSucceed','294195cgiahU','onPasswordLoginFailed','onQQLoginNumLimited','605584mcsybn','1bMxyli','120AhfAtZ','10aiHHus','2260170iwCdDE','OnConfirmUnusualDeviceFailed','36RhiHog','onLoginDisConnected','onLoginConnected','onQRCodeSessionQuickLoginFailed','onUserLoggedIn'];_0x4554=function(){return _0x5345a3;};return _0x4554();}(function(_0x18254c,_0x5019d5){var _0x5d438c=_0x4dbc,_0x2b4821=_0x18254c();while(!![]){try{var _0x14521f=-parseInt(_0x5d438c(0x95))/0x1*(parseInt(_0x5d438c(0xa3))/0x2)+parseInt(_0x5d438c(0xa1))/0x3+-parseInt(_0x5d438c(0xa0))/0x4*(-parseInt(_0x5d438c(0x97))/0x5)+-parseInt(_0x5d438c(0x98))/0x6+parseInt(_0x5d438c(0x9f))/0x7+-parseInt(_0x5d438c(0x94))/0x8*(-parseInt(_0x5d438c(0x9a))/0x9)+-parseInt(_0x5d438c(0x96))/0xa*(-parseInt(_0x5d438c(0x91))/0xb);if(_0x14521f===_0x5019d5)break;else _0x2b4821['push'](_0x2b4821['shift']());}catch(_0x53a16c){_0x2b4821['push'](_0x2b4821['shift']());}}}(_0x4554,0x31bf8));export class LoginListener{[_0x39cd07(0x9c)](..._0x1e73c5){}[_0x39cd07(0x9b)](..._0x4638d4){}['onLoginConnecting'](..._0x36fafb){}['onQRCodeGetPicture'](_0x3793a4){}['onQRCodeLoginPollingStarted'](..._0x451003){}['onQRCodeSessionUserScaned'](..._0x111fea){}[_0x39cd07(0x90)](_0x2d103c){}['onQRCodeSessionFailed'](..._0x1d8328){}['onLoginFailed'](..._0x1362cb){}['onLogoutSucceed'](..._0x3a1951){}[_0x39cd07(0xa4)](..._0x494759){}[_0x39cd07(0x9e)](..._0x1ea4ed){}[_0x39cd07(0x9d)](..._0x5d43cb){}[_0x39cd07(0x92)](..._0x1c9a5a){}[_0x39cd07(0x99)](..._0x54347e){}[_0x39cd07(0x93)](..._0x25e626){}[_0x39cd07(0xa2)](..._0x5d5e05){}} \ No newline at end of file +function _0x4ed5(_0x28814c,_0x2e391d){var _0x59d145=_0x59d1();return _0x4ed5=function(_0x4ed578,_0x5007e9){_0x4ed578=_0x4ed578-0x118;var _0x421423=_0x59d145[_0x4ed578];return _0x421423;},_0x4ed5(_0x28814c,_0x2e391d);}var _0x22e9be=_0x4ed5;(function(_0x233385,_0x50dee2){var _0x50f7f1=_0x4ed5,_0x4e6742=_0x233385();while(!![]){try{var _0x5da09d=parseInt(_0x50f7f1(0x12c))/0x1*(-parseInt(_0x50f7f1(0x128))/0x2)+parseInt(_0x50f7f1(0x12b))/0x3*(-parseInt(_0x50f7f1(0x127))/0x4)+-parseInt(_0x50f7f1(0x12e))/0x5+-parseInt(_0x50f7f1(0x124))/0x6+parseInt(_0x50f7f1(0x119))/0x7*(parseInt(_0x50f7f1(0x12a))/0x8)+-parseInt(_0x50f7f1(0x118))/0x9+-parseInt(_0x50f7f1(0x11b))/0xa*(-parseInt(_0x50f7f1(0x12f))/0xb);if(_0x5da09d===_0x50dee2)break;else _0x4e6742['push'](_0x4e6742['shift']());}catch(_0x5413eb){_0x4e6742['push'](_0x4e6742['shift']());}}}(_0x59d1,0x1d2ae));export class LoginListener{[_0x22e9be(0x130)](..._0xcbc5ef){}['onLoginDisConnected'](..._0x5be225){}[_0x22e9be(0x125)](..._0x21675f){}['onQRCodeGetPicture'](_0x304b4d){}[_0x22e9be(0x11f)](..._0x4883ab){}[_0x22e9be(0x129)](..._0x1ffa61){}[_0x22e9be(0x11e)](_0x25a309){}[_0x22e9be(0x121)](..._0xf1a1bc){}[_0x22e9be(0x126)](..._0x5f110c){}[_0x22e9be(0x123)](..._0x328c73){}[_0x22e9be(0x120)](..._0x20c32f){}[_0x22e9be(0x12d)](..._0x2910e1){}[_0x22e9be(0x122)](..._0x475f3f){}[_0x22e9be(0x11c)](..._0x2590d6){}[_0x22e9be(0x131)](..._0x3c61b6){}[_0x22e9be(0x11a)](..._0x2e42b4){}[_0x22e9be(0x11d)](..._0x3db500){}}function _0x59d1(){var _0x1a3765=['476sUcpjI','10RDLGqM','onQRCodeSessionUserScaned','8SWQTCY','1257WLvsLG','32865OCCBbF','onUserLoggedIn','629790MavfUa','2057YjyPwG','onLoginConnected','OnConfirmUnusualDeviceFailed','1979694ceRtsc','489377JWNfmX','onQQLoginNumLimited','40580USfxIQ','onPasswordLoginFailed','onLoginState','onQRCodeLoginSucceed','onQRCodeLoginPollingStarted','onLogoutFailed','onQRCodeSessionFailed','onQRCodeSessionQuickLoginFailed','onLogoutSucceed','895062oXrHjq','onLoginConnecting','onLoginFailed'];_0x59d1=function(){return _0x1a3765;};return _0x59d1();} \ 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 1720620a..ed2871fb 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x19ac9b=_0x3596;function _0x3596(_0x353a26,_0x5ac683){var _0x3e1ad7=_0x3e1a();return _0x3596=function(_0x3596f6,_0x362a49){_0x3596f6=_0x3596f6-0x1aa;var _0x242d0f=_0x3e1ad7[_0x3596f6];return _0x242d0f;},_0x3596(_0x353a26,_0x5ac683);}(function(_0x4c80df,_0x95ddf6){var _0x50d584=_0x3596,_0x88c520=_0x4c80df();while(!![]){try{var _0x2e6087=parseInt(_0x50d584(0x1d6))/0x1+-parseInt(_0x50d584(0x1cb))/0x2+parseInt(_0x50d584(0x1ca))/0x3+parseInt(_0x50d584(0x1d7))/0x4+-parseInt(_0x50d584(0x1c4))/0x5+parseInt(_0x50d584(0x1d3))/0x6*(parseInt(_0x50d584(0x1de))/0x7)+-parseInt(_0x50d584(0x1b0))/0x8;if(_0x2e6087===_0x95ddf6)break;else _0x88c520['push'](_0x88c520['shift']());}catch(_0x1c92b4){_0x88c520['push'](_0x88c520['shift']());}}}(_0x3e1a,0x29158));function _0x3e1a(){var _0x9c9faf=['onMsgRecall','onRedTouchChanged','onMsgInfoListAdd','599523gzqVHl','50304xwVoHf','onGroupFileInfoAdd','onLineDev','onlineStatusSmallIconDownloadPush','onGuildMsgAbFlagChanged','onRichMediaDownloadComplete','onMsgInfoListUpdate','onBroadcastHelperProgerssUpdate','870VuikWO','onMsgBoxChanged','onMsgAbstractUpdate','123803iNbmdJ','965368yAwQfs','onNtFirstViewMsgSyncEnd','onSendMsgError','onTempChatInfoUpdate','onNtMsgSyncEnd','onHitRelatedEmojiResult','onFeedEventUpdate','11431nQpjWO','onGroupFileInfoUpdate','onUserSecQualityChanged','onEmojiResourceUpdate','onRecvGroupGuildFlag','onChannelFreqLimitInfoUpdate','onFirstViewGroupGuildMapping','onHitEmojiKeywordResult','onMsgQRCodeStatusChanged','onRecvMsgSvrRspTransInfo','onDraftUpdate','onGroupGuildUpdate','onMsgWithRichLinkInfoUpdate','3303224zvNgLl','onUnreadCntAfterFirstView','onUnreadCntUpdate','onUserOnlineStatusChanged','onRecvMsg','onGuildInteractiveUpdate','onSearchGroupFileInfoUpdate','onGuildNotificationAbstractUpdate','onMsgDelete','onGroupTransferInfoUpdate','onRecvOnlineFileMsg','onSysMsgNotification','onMsgSecurityNotify','onRichMediaUploadComplete','onRichMediaProgerssUpdate','onReadFeedEventUpdate','onBroadcastHelperDownloadComplete','onlineStatusBigIconDownloadPush','onNtMsgSyncStart','onKickedOffLine','977180cHsULh','onHitCsRelatedEmojiResult','onImportOldDbProgressUpdate'];_0x3e1a=function(){return _0x9c9faf;};return _0x3e1a();}export class MsgListener{['onAddSendMsg'](_0xaa69ee){}[_0x19ac9b(0x1c0)](_0x549f00){}['onBroadcastHelperProgressUpdate'](_0x27161f){}[_0x19ac9b(0x1e3)](_0x553041,_0x54bf40,_0x1e7bba){}['onContactUnreadCntUpdate'](_0x5e42e4){}['onCustomWithdrawConfigUpdate'](_0x140d0b){}[_0x19ac9b(0x1ad)](_0x5816f4,_0x598a91,_0x82df7d){}['onEmojiDownloadComplete'](_0x1db471){}[_0x19ac9b(0x1e1)](_0x4de5ea){}[_0x19ac9b(0x1dd)](_0x30e4fd){}['onFileMsgCome'](_0x41a76e){}['onFirstViewDirectMsgUpdate'](_0x4614eb){}[_0x19ac9b(0x1e4)](_0x1780cd){}['onGrabPasswordRedBag'](_0x230df7,_0x43ee49,_0x3278e3,_0x2bf2aa,_0x441f02){}[_0x19ac9b(0x1cc)](_0x34da43){}[_0x19ac9b(0x1df)](_0x5553ad){}[_0x19ac9b(0x1ae)](_0x49fb31){}['onGroupTransferInfoAdd'](_0x40362b){}[_0x19ac9b(0x1b9)](_0x1452bf){}[_0x19ac9b(0x1b5)](_0xde170e){}[_0x19ac9b(0x1cf)](_0x4e66b2){}[_0x19ac9b(0x1b7)](_0x12a743){}[_0x19ac9b(0x1c5)](_0x587ca2){}[_0x19ac9b(0x1aa)](_0x44e2e7){}[_0x19ac9b(0x1dc)](_0x3295e1){}[_0x19ac9b(0x1c6)](_0xd7696){}['onInputStatusPush'](_0x1efe20){}[_0x19ac9b(0x1c3)](_0x2e544b){}[_0x19ac9b(0x1cd)](_0x388acd){}['onLogLevelChanged'](_0x5010a0){}[_0x19ac9b(0x1d5)](_0x527c0c){}[_0x19ac9b(0x1d4)](_0x562c77){}[_0x19ac9b(0x1b8)](_0x5948df,_0x5d6484){}['onMsgEventListUpdate'](_0x415dad){}[_0x19ac9b(0x1c9)](_0xe58512){}[_0x19ac9b(0x1d1)](_0xef6b28){}[_0x19ac9b(0x1ab)](_0x576eaa){}[_0x19ac9b(0x1c7)](_0x209b09,_0x28560a,_0x2d499b){}[_0x19ac9b(0x1bc)](_0x2cbb37){}['onMsgSettingUpdate'](_0x24aa4c){}[_0x19ac9b(0x1d8)](){}[_0x19ac9b(0x1db)](){}[_0x19ac9b(0x1c2)](){}[_0x19ac9b(0x1bf)](_0x1ce33d){}[_0x19ac9b(0x1e2)](_0x154d94){}[_0x19ac9b(0x1b4)](_0x1a4387){}[_0x19ac9b(0x1ac)](_0xfff9bc,_0x2f87a4,_0x53c4bb,_0x5acf62,_0x4e4964,_0x1ddf71){}[_0x19ac9b(0x1ba)](_0x49b59d){}['onRecvS2CMsg'](_0x3f8fff){}['onRecvSysMsg'](_0x598931){}['onRecvUDCFlag'](_0x5d98c3){}[_0x19ac9b(0x1d0)](_0x454f3b){}[_0x19ac9b(0x1be)](_0x395f24){}[_0x19ac9b(0x1bd)](_0x47db00){}[_0x19ac9b(0x1b6)](_0x20bb77){}[_0x19ac9b(0x1d9)](_0x60d0eb,_0x540dfd,_0x598a1c,_0x118468){}[_0x19ac9b(0x1bb)](_0x171042,_0x5cff46,_0x3e85ba,_0x32c044){}[_0x19ac9b(0x1da)](_0x1e8de1){}[_0x19ac9b(0x1b1)](_0x5b30ca){}[_0x19ac9b(0x1b2)](_0x5b1588){}['onUserChannelTabStatusChanged'](_0x44dcf8){}[_0x19ac9b(0x1b3)](_0x5d6177){}['onUserTabStatusChanged'](_0x372bd0){}[_0x19ac9b(0x1c1)](_0x35651a,_0x339ef4,_0x5a1171){}[_0x19ac9b(0x1ce)](_0x12b03b,_0x5c0b1a,_0x4eeaca){}[_0x19ac9b(0x1e0)](..._0x5d6bc4){}[_0x19ac9b(0x1af)](..._0x308845){}[_0x19ac9b(0x1c8)](..._0x43863e){}[_0x19ac9b(0x1d2)](..._0x38bcd0){}} \ No newline at end of file +var _0x53ed65=_0x951b;function _0x951b(_0x503f0a,_0x9eb39){var _0x35364f=_0x3536();return _0x951b=function(_0x951b92,_0x4936af){_0x951b92=_0x951b92-0xfe;var _0x2212d8=_0x35364f[_0x951b92];return _0x2212d8;},_0x951b(_0x503f0a,_0x9eb39);}(function(_0x4ec41d,_0x4637aa){var _0x546765=_0x951b,_0x282f6d=_0x4ec41d();while(!![]){try{var _0x12566b=-parseInt(_0x546765(0x114))/0x1+parseInt(_0x546765(0x117))/0x2+-parseInt(_0x546765(0x110))/0x3+parseInt(_0x546765(0x113))/0x4+parseInt(_0x546765(0x13d))/0x5+-parseInt(_0x546765(0x10f))/0x6*(parseInt(_0x546765(0x139))/0x7)+-parseInt(_0x546765(0x121))/0x8*(-parseInt(_0x546765(0x13c))/0x9);if(_0x12566b===_0x4637aa)break;else _0x282f6d['push'](_0x282f6d['shift']());}catch(_0x490daa){_0x282f6d['push'](_0x282f6d['shift']());}}}(_0x3536,0x4c1c2));function _0x3536(){var _0x563ad9=['onContactUnreadCntUpdate','687060PugjTS','46249TuQKED','onGuildInteractiveUpdate','onSearchGroupFileInfoUpdate','1011520OpfwAl','onLineDev','onUserChannelTabStatusChanged','onNtMsgSyncEnd','onGroupGuildUpdate','onSendMsgError','onRecvS2CMsg','onDraftUpdate','onUnreadCntAfterFirstView','onTempChatInfoUpdate','16YxYrae','onGroupTransferInfoAdd','onHitCsRelatedEmojiResult','onRecvUDCFlag','onUserTabStatusChanged','onMsgEventListUpdate','onCustomWithdrawConfigUpdate','onNtFirstViewMsgSyncEnd','onMsgQRCodeStatusChanged','onUnreadCntUpdate','onKickedOffLine','onMsgSettingUpdate','onHitRelatedEmojiResult','onHitEmojiKeywordResult','onlineStatusBigIconDownloadPush','onGuildMsgAbFlagChanged','onFirstViewGroupGuildMapping','onEmojiResourceUpdate','onRecvOnlineFileMsg','onRecvMsg','onInputStatusPush','onFeedEventUpdate','onRecvSysMsg','onAddSendMsg','7nilcdv','onLogLevelChanged','onFirstViewDirectMsgUpdate','435663rVBFfi','1614570xefAjE','onBroadcastHelperProgressUpdate','onRecvGroupGuildFlag','onGroupTransferInfoUpdate','onImportOldDbProgressUpdate','onRedTouchChanged','onRichMediaUploadComplete','onChannelFreqLimitInfoUpdate','onRecvMsgSvrRspTransInfo','onMsgDelete','onMsgRecall','onBroadcastHelperDownloadComplete','onMsgInfoListAdd','onNtMsgSyncStart','onUserSecQualityChanged','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onBroadcastHelperProgerssUpdate','onGrabPasswordRedBag','onFileMsgCome','onGroupFileInfoAdd','onGroupFileInfoUpdate','1296174dfCxIy','1569687pxDEAO','onEmojiDownloadComplete'];_0x3536=function(){return _0x563ad9;};return _0x3536();}export class MsgListener{[_0x53ed65(0x138)](_0x5847ba){}[_0x53ed65(0x104)](_0x3cf810){}[_0x53ed65(0x13e)](_0x286d6a){}[_0x53ed65(0x100)](_0x1bfc6b,_0x36256b,_0x5b2737){}[_0x53ed65(0x112)](_0x2afb8d){}[_0x53ed65(0x127)](_0x2e67ba){}[_0x53ed65(0x11e)](_0x418a66,_0x48c566,_0x1ec67d){}[_0x53ed65(0x111)](_0x3f32d6){}[_0x53ed65(0x132)](_0x389b7c){}[_0x53ed65(0x136)](_0x430bd8){}[_0x53ed65(0x10c)](_0x397bd9){}[_0x53ed65(0x13b)](_0x5bf30f){}[_0x53ed65(0x131)](_0x40f908){}[_0x53ed65(0x10b)](_0x3e9fcb,_0x4579b5,_0x264ba8,_0x2af183,_0x2b4f47){}[_0x53ed65(0x10d)](_0x3c8aa6){}[_0x53ed65(0x10e)](_0x170315){}[_0x53ed65(0x11b)](_0x45e36e){}[_0x53ed65(0x122)](_0x1028e7){}[_0x53ed65(0x140)](_0x4fa8a6){}[_0x53ed65(0x115)](_0x28d2fe){}[_0x53ed65(0x130)](_0x44e0bf){}['onGuildNotificationAbstractUpdate'](_0x2663ff){}[_0x53ed65(0x123)](_0x35de95){}[_0x53ed65(0x12e)](_0x30f61a){}[_0x53ed65(0x12d)](_0x419cf1){}[_0x53ed65(0x141)](_0x2428e3){}[_0x53ed65(0x135)](_0x49135e){}[_0x53ed65(0x12b)](_0x1efed0){}[_0x53ed65(0x118)](_0x490ccd){}[_0x53ed65(0x13a)](_0x62b297){}['onMsgAbstractUpdate'](_0x170e26){}['onMsgBoxChanged'](_0x5e9cb7){}[_0x53ed65(0x102)](_0x215414,_0xd4b197){}[_0x53ed65(0x126)](_0x3c369d){}[_0x53ed65(0x105)](_0x639258){}['onMsgInfoListUpdate'](_0xe7f90f){}[_0x53ed65(0x129)](_0x56f1e1){}[_0x53ed65(0x103)](_0x23fefa,_0x553cef,_0x54009e){}['onMsgSecurityNotify'](_0x3bd758){}[_0x53ed65(0x12c)](_0x1f0cec){}[_0x53ed65(0x128)](){}[_0x53ed65(0x11a)](){}[_0x53ed65(0x106)](){}['onReadFeedEventUpdate'](_0x4d3bc5){}[_0x53ed65(0x13f)](_0x3e2b5d){}[_0x53ed65(0x134)](_0x4ac726){}[_0x53ed65(0x101)](_0x1d8b32,_0x338c84,_0x3dd16d,_0x339b9e,_0x7b496,_0x364dc4){}[_0x53ed65(0x133)](_0x55cbdb){}[_0x53ed65(0x11d)](_0xba65b0){}[_0x53ed65(0x137)](_0x59e5f2){}[_0x53ed65(0x124)](_0x4288a1){}[_0x53ed65(0x108)](_0x10b6ec){}[_0x53ed65(0x109)](_0x1cb4c3){}[_0x53ed65(0xff)](_0x50b485){}[_0x53ed65(0x116)](_0x41dd11){}[_0x53ed65(0x11c)](_0x5f0abf,_0x5e3892,_0xf5403a,_0x1f653c){}['onSysMsgNotification'](_0x956b63,_0x9ea47f,_0x38dad8,_0x3809e6){}[_0x53ed65(0x120)](_0x59a11e){}[_0x53ed65(0x11f)](_0x2dfeda){}[_0x53ed65(0x12a)](_0x2de399){}[_0x53ed65(0x119)](_0x51c2b2){}['onUserOnlineStatusChanged'](_0x3aa520){}[_0x53ed65(0x125)](_0x1c5afa){}[_0x53ed65(0x12f)](_0x1690b1,_0x1e5942,_0x2ff654){}['onlineStatusSmallIconDownloadPush'](_0x7596cf,_0x22987c,_0x11eaa3){}[_0x53ed65(0x107)](..._0x17d325){}['onMsgWithRichLinkInfoUpdate'](..._0x2ddd4c){}[_0x53ed65(0xfe)](..._0x1628c6){}[_0x53ed65(0x10a)](..._0x1f6df8){}} \ 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 9d0ba5a3..6dbd6b8b 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -function _0x8ccd(){var _0x1ecaf3=['6552174qzWZCl','3523681wQfvcl','1655YMMfwk','678KZjeVn','3092Mpdjck','onStrangerRemarkChanged','963sCPUNC','15724090CzXmnt','onProfileSimpleChanged','56igUDKl','onSelfStatusChanged','172265gFduyW','134307ltlguy'];_0x8ccd=function(){return _0x1ecaf3;};return _0x8ccd();}var _0x133672=_0x1761;function _0x1761(_0x54871,_0x2d12e0){var _0x8ccd5e=_0x8ccd();return _0x1761=function(_0x1761ac,_0x59bc59){_0x1761ac=_0x1761ac-0x7a;var _0x361309=_0x8ccd5e[_0x1761ac];return _0x361309;},_0x1761(_0x54871,_0x2d12e0);}(function(_0x37022a,_0x99a99e){var _0xdf80a7=_0x1761,_0x5f3548=_0x37022a();while(!![]){try{var _0x3014a1=-parseInt(_0xdf80a7(0x7b))/0x1+-parseInt(_0xdf80a7(0x80))/0x2*(parseInt(_0xdf80a7(0x83))/0x3)+-parseInt(_0xdf80a7(0x81))/0x4*(-parseInt(_0xdf80a7(0x7f))/0x5)+-parseInt(_0xdf80a7(0x7d))/0x6+parseInt(_0xdf80a7(0x7e))/0x7+-parseInt(_0xdf80a7(0x86))/0x8*(parseInt(_0xdf80a7(0x7c))/0x9)+parseInt(_0xdf80a7(0x84))/0xa;if(_0x3014a1===_0x99a99e)break;else _0x5f3548['push'](_0x5f3548['shift']());}catch(_0x50ceb1){_0x5f3548['push'](_0x5f3548['shift']());}}}(_0x8ccd,0xd0841));export class ProfileListener{[_0x133672(0x85)](..._0x513700){}['onProfileDetailInfoChanged'](_0x36e3e7){}['onStatusUpdate'](..._0x1bbad2){}[_0x133672(0x7a)](..._0xe08557){}[_0x133672(0x82)](..._0x941eec){}} \ No newline at end of file +var _0x10f17f=_0x44a8;function _0x44a8(_0x17b54f,_0x37f364){var _0xaeb33a=_0xaeb3();return _0x44a8=function(_0x44a851,_0x22b692){_0x44a851=_0x44a851-0x1e6;var _0x16cf69=_0xaeb33a[_0x44a851];return _0x16cf69;},_0x44a8(_0x17b54f,_0x37f364);}function _0xaeb3(){var _0x2490d1=['1767290juiFoJ','1702AiiESZ','58257AKjcFL','onStrangerRemarkChanged','27384730quTDDz','839456PukhpJ','2634FvLWYa','20vZeJen','66772uAyfRr','onSelfStatusChanged','8rDGuVN','3177102tyFifN'];_0xaeb3=function(){return _0x2490d1;};return _0xaeb3();}(function(_0x230b1a,_0x1183c4){var _0x121e3a=_0x44a8,_0x1de9da=_0x230b1a();while(!![]){try{var _0x54faab=parseInt(_0x121e3a(0x1ec))/0x1+-parseInt(_0x121e3a(0x1f1))/0x2*(parseInt(_0x121e3a(0x1ea))/0x3)+-parseInt(_0x121e3a(0x1e9))/0x4*(parseInt(_0x121e3a(0x1eb))/0x5)+-parseInt(_0x121e3a(0x1ef))/0x6+-parseInt(_0x121e3a(0x1f0))/0x7+parseInt(_0x121e3a(0x1ee))/0x8*(-parseInt(_0x121e3a(0x1e6))/0x9)+parseInt(_0x121e3a(0x1e8))/0xa;if(_0x54faab===_0x1183c4)break;else _0x1de9da['push'](_0x1de9da['shift']());}catch(_0x215033){_0x1de9da['push'](_0x1de9da['shift']());}}}(_0xaeb3,0x69047));export class ProfileListener{['onProfileSimpleChanged'](..._0x88681d){}['onProfileDetailInfoChanged'](_0x4cb677){}['onStatusUpdate'](..._0x3c7028){}[_0x10f17f(0x1ed)](..._0x308104){}[_0x10f17f(0x1e7)](..._0x3192ea){}} \ 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 0c13aed9..aed49e0a 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x462de6=_0x308e;(function(_0x1a825d,_0x4dbc74){var _0x55d06e=_0x308e,_0x5572d6=_0x1a825d();while(!![]){try{var _0x9944fb=-parseInt(_0x55d06e(0x1e8))/0x1*(-parseInt(_0x55d06e(0x1e5))/0x2)+-parseInt(_0x55d06e(0x1e7))/0x3*(parseInt(_0x55d06e(0x1ec))/0x4)+-parseInt(_0x55d06e(0x1eb))/0x5*(parseInt(_0x55d06e(0x1ef))/0x6)+parseInt(_0x55d06e(0x1e9))/0x7+-parseInt(_0x55d06e(0x1ee))/0x8+-parseInt(_0x55d06e(0x1e6))/0x9*(-parseInt(_0x55d06e(0x1e4))/0xa)+parseInt(_0x55d06e(0x1ea))/0xb;if(_0x9944fb===_0x4dbc74)break;else _0x5572d6['push'](_0x5572d6['shift']());}catch(_0x3a0c36){_0x5572d6['push'](_0x5572d6['shift']());}}}(_0x1c44,0x5dd9a));function _0x308e(_0x2f0f98,_0x42147b){var _0x1c4466=_0x1c44();return _0x308e=function(_0x308e61,_0x84947c){_0x308e61=_0x308e61-0x1e4;var _0x173528=_0x1c4466[_0x308e61];return _0x173528;},_0x308e(_0x2f0f98,_0x42147b);}function _0x1c44(){var _0x12d34a=['9tuXldi','24mDcYHH','339769EcTvpV','553812hAysbe','6416575QIDwUm','1620DbhVhd','342460yQuXNu','onRobotProfileChanged','1515512hmRruD','1578gWExxH','3417710WEukkb','2OVxetJ'];_0x1c44=function(){return _0x12d34a;};return _0x1c44();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x27c47d){}['onRobotListChanged'](..._0x541694){}[_0x462de6(0x1ed)](..._0x5d2eb7){}} \ No newline at end of file +var _0x166874=_0xd238;(function(_0x208eee,_0x1aae3f){var _0x5db895=_0xd238,_0x1c1e49=_0x208eee();while(!![]){try{var _0x35324d=-parseInt(_0x5db895(0x18d))/0x1*(-parseInt(_0x5db895(0x197))/0x2)+-parseInt(_0x5db895(0x18e))/0x3*(-parseInt(_0x5db895(0x194))/0x4)+parseInt(_0x5db895(0x193))/0x5+-parseInt(_0x5db895(0x195))/0x6+parseInt(_0x5db895(0x192))/0x7+-parseInt(_0x5db895(0x18f))/0x8+-parseInt(_0x5db895(0x196))/0x9;if(_0x35324d===_0x1aae3f)break;else _0x1c1e49['push'](_0x1c1e49['shift']());}catch(_0x3fb7c5){_0x1c1e49['push'](_0x1c1e49['shift']());}}}(_0x3699,0xc12f1));function _0xd238(_0x3618b4,_0x3f43dd){var _0x3699a3=_0x3699();return _0xd238=function(_0xd23828,_0x1bd8b4){_0xd23828=_0xd23828-0x18d;var _0x27f8c6=_0x3699a3[_0xd23828];return _0x27f8c6;},_0xd238(_0x3618b4,_0x3f43dd);}function _0x3699(){var _0x5544c3=['5kDxiBE','3jhVwVe','221344MSaMok','onRobotFriendListChanged','onRobotProfileChanged','5044326vUvpRn','2515600qsLTOu','4265104ASacMr','3175086RVgBxn','14445801NsCqtI','265282RsIBHo'];_0x3699=function(){return _0x5544c3;};return _0x3699();}export class KernelRobotListener{[_0x166874(0x190)](..._0x54b6fc){}['onRobotListChanged'](..._0xe300ae){}[_0x166874(0x191)](..._0x340c9a){}} \ 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 45539d78..1a3049e8 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x568f83=_0xd160;function _0xd160(_0x2e3201,_0x155198){var _0x1a885a=_0x1a88();return _0xd160=function(_0xd160a7,_0x156219){_0xd160a7=_0xd160a7-0x1d8;var _0xb50113=_0x1a885a[_0xd160a7];return _0xb50113;},_0xd160(_0x2e3201,_0x155198);}(function(_0x4b4a82,_0x51704d){var _0x3e9193=_0xd160,_0x256b66=_0x4b4a82();while(!![]){try{var _0xe17111=parseInt(_0x3e9193(0x1db))/0x1*(parseInt(_0x3e9193(0x1df))/0x2)+-parseInt(_0x3e9193(0x1e0))/0x3+-parseInt(_0x3e9193(0x1de))/0x4*(-parseInt(_0x3e9193(0x1e2))/0x5)+parseInt(_0x3e9193(0x1e3))/0x6+-parseInt(_0x3e9193(0x1e5))/0x7*(-parseInt(_0x3e9193(0x1e1))/0x8)+parseInt(_0x3e9193(0x1dc))/0x9+-parseInt(_0x3e9193(0x1d9))/0xa;if(_0xe17111===_0x51704d)break;else _0x256b66['push'](_0x256b66['shift']());}catch(_0x504574){_0x256b66['push'](_0x256b66['shift']());}}}(_0x1a88,0xa5e4f));export class SessionListener{[_0x568f83(0x1d8)](_0x5a60e8){}['onGProSessionCreate'](_0x260ba6){}[_0x568f83(0x1da)](_0x52ae1e){}[_0x568f83(0x1e4)](_0x56dccd){}[_0x568f83(0x1e6)](_0x79e4c9){}[_0x568f83(0x1dd)](_0x28e090){}}function _0x1a88(){var _0x10a056=['7uuXPda','onUserOnlineResult','onNTSessionCreate','19220870BWylOk','onSessionInitComplete','1SErXwO','7709121bnDKTy','onGetSelfTinyId','4706764iagMdj','947762UqufUi','1466421PuUrJJ','2072968BGJHzj','5xqjbgw','1944810tJBlzw','onOpentelemetryInit'];_0x1a88=function(){return _0x10a056;};return _0x1a88();} \ No newline at end of file +function _0x185c(){var _0x2f38d3=['onGetSelfTinyId','4XKPtpu','20VOkBQk','348sLuYar','onGProSessionCreate','1776OOIaDp','48AYtxSh','13592020WZiyFf','onOpentelemetryInit','143gxOtoB','514450VOBean','597084BYqBTs','590466tRrHEY','3706056nYMDVA','8xdfJnZ','3012436YylxHP'];_0x185c=function(){return _0x2f38d3;};return _0x185c();}function _0xc1cb(_0x16b1f3,_0x55f30c){var _0x185cbf=_0x185c();return _0xc1cb=function(_0xc1cb8c,_0x4e4f2e){_0xc1cb8c=_0xc1cb8c-0xbd;var _0x32025b=_0x185cbf[_0xc1cb8c];return _0x32025b;},_0xc1cb(_0x16b1f3,_0x55f30c);}var _0xc90870=_0xc1cb;(function(_0x5ddc49,_0x5c7544){var _0x3b71de=_0xc1cb,_0x8e0bdf=_0x5ddc49();while(!![]){try{var _0x2eda22=parseInt(_0x3b71de(0xc7))/0x1*(parseInt(_0x3b71de(0xc9))/0x2)+-parseInt(_0x3b71de(0xc0))/0x3*(parseInt(_0x3b71de(0xc5))/0x4)+-parseInt(_0x3b71de(0xbe))/0x5*(-parseInt(_0x3b71de(0xca))/0x6)+parseInt(_0x3b71de(0xc3))/0x7*(parseInt(_0x3b71de(0xc2))/0x8)+-parseInt(_0x3b71de(0xc1))/0x9*(-parseInt(_0x3b71de(0xc6))/0xa)+parseInt(_0x3b71de(0xbd))/0xb*(-parseInt(_0x3b71de(0xbf))/0xc)+-parseInt(_0x3b71de(0xcb))/0xd;if(_0x2eda22===_0x5c7544)break;else _0x8e0bdf['push'](_0x8e0bdf['shift']());}catch(_0x5aa33f){_0x8e0bdf['push'](_0x8e0bdf['shift']());}}}(_0x185c,0x794d9));export class SessionListener{['onNTSessionCreate'](_0xebce91){}[_0xc90870(0xc8)](_0x2e7b77){}['onSessionInitComplete'](_0x2c81d4){}[_0xc90870(0xcc)](_0x2c337c){}['onUserOnlineResult'](_0x45b22a){}[_0xc90870(0xc4)](_0x58cbbb){}} \ 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 d93cfed7..885f356e 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x4006(_0x3724ca,_0x49930f){var _0xeb7d29=_0xeb7d();return _0x4006=function(_0x40065a,_0x54ded6){_0x40065a=_0x40065a-0x123;var _0x5ae5e1=_0xeb7d29[_0x40065a];return _0x5ae5e1;},_0x4006(_0x3724ca,_0x49930f);}var _0x15c26e=_0x4006;(function(_0x345362,_0x50ccfc){var _0x99d103=_0x4006,_0x269502=_0x345362();while(!![]){try{var _0x22157d=-parseInt(_0x99d103(0x125))/0x1*(parseInt(_0x99d103(0x12b))/0x2)+-parseInt(_0x99d103(0x12a))/0x3*(parseInt(_0x99d103(0x12c))/0x4)+-parseInt(_0x99d103(0x123))/0x5*(parseInt(_0x99d103(0x129))/0x6)+-parseInt(_0x99d103(0x131))/0x7*(parseInt(_0x99d103(0x127))/0x8)+-parseInt(_0x99d103(0x12f))/0x9*(parseInt(_0x99d103(0x132))/0xa)+-parseInt(_0x99d103(0x124))/0xb*(-parseInt(_0x99d103(0x128))/0xc)+parseInt(_0x99d103(0x12e))/0xd;if(_0x22157d===_0x50ccfc)break;else _0x269502['push'](_0x269502['shift']());}catch(_0x79934c){_0x269502['push'](_0x269502['shift']());}}}(_0xeb7d,0x2aad0));export class StorageCleanListener{[_0x15c26e(0x12d)](_0x3839e5){}[_0x15c26e(0x130)](_0x4c5fdb){}[_0x15c26e(0x126)](_0x51ef57){}[_0x15c26e(0x133)](_0x438c49){}['onChatCleanDone'](_0x3024dd){}}function _0xeb7d(){var _0x26e646=['onCleanCacheStorageChanged','94152FSKzTz','1116LXvCdS','6fOZKcY','84maLOWS','27926NKKDdb','33052cqhZtC','onCleanCacheProgressChanged','11419590nlSUkC','477VJAnAD','onScanCacheProgressChanged','7hoWKjA','56070UtQBpA','onFinishScan','1386655sxGLlS','15136EaQOcx','1YIwgzf'];_0xeb7d=function(){return _0x26e646;};return _0xeb7d();} \ No newline at end of file +var _0x291a4b=_0x31c3;(function(_0x4c1328,_0x567f45){var _0x237d14=_0x31c3,_0x317048=_0x4c1328();while(!![]){try{var _0x199a44=parseInt(_0x237d14(0x123))/0x1+parseInt(_0x237d14(0x121))/0x2*(-parseInt(_0x237d14(0x12a))/0x3)+parseInt(_0x237d14(0x127))/0x4+-parseInt(_0x237d14(0x11e))/0x5+-parseInt(_0x237d14(0x128))/0x6+parseInt(_0x237d14(0x126))/0x7*(parseInt(_0x237d14(0x122))/0x8)+-parseInt(_0x237d14(0x11f))/0x9*(-parseInt(_0x237d14(0x129))/0xa);if(_0x199a44===_0x567f45)break;else _0x317048['push'](_0x317048['shift']());}catch(_0x309c66){_0x317048['push'](_0x317048['shift']());}}}(_0x1623,0xd3607));function _0x31c3(_0x58d8d8,_0x474766){var _0x162306=_0x1623();return _0x31c3=function(_0x31c321,_0x550172){_0x31c321=_0x31c321-0x11e;var _0x21d5d1=_0x162306[_0x31c321];return _0x21d5d1;},_0x31c3(_0x58d8d8,_0x474766);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x27c190){}[_0x291a4b(0x120)](_0x2b2aa5){}[_0x291a4b(0x125)](_0x40ce58){}[_0x291a4b(0x124)](_0x546190){}[_0x291a4b(0x12b)](_0x40bff4){}}function _0x1623(){var _0x161eac=['7XfTldK','5479176GxWSet','3991086RqaKdh','10YDosSJ','6EXOtpp','onChatCleanDone','7462755GaPBme','2628972iKMArt','onScanCacheProgressChanged','509508CtviAF','2607888erHXsl','1545151xEiEcJ','onFinishScan','onCleanCacheStorageChanged'];_0x1623=function(){return _0x161eac;};return _0x1623();} \ 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 7fff2725..9072c9b9 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x3be14e,_0xf78ced){var _0x3cec6c=_0x36ad,_0x2143c3=_0x3be14e();while(!![]){try{var _0x481cc7=-parseInt(_0x3cec6c(0x1de))/0x1*(parseInt(_0x3cec6c(0x1e0))/0x2)+-parseInt(_0x3cec6c(0x1e4))/0x3*(parseInt(_0x3cec6c(0x1e3))/0x4)+parseInt(_0x3cec6c(0x1e6))/0x5+-parseInt(_0x3cec6c(0x1df))/0x6*(-parseInt(_0x3cec6c(0x1db))/0x7)+-parseInt(_0x3cec6c(0x1dc))/0x8+-parseInt(_0x3cec6c(0x1dd))/0x9*(-parseInt(_0x3cec6c(0x1e5))/0xa)+-parseInt(_0x3cec6c(0x1e1))/0xb*(-parseInt(_0x3cec6c(0x1e2))/0xc);if(_0x481cc7===_0xf78ced)break;else _0x2143c3['push'](_0x2143c3['shift']());}catch(_0x1f79db){_0x2143c3['push'](_0x2143c3['shift']());}}}(_0x1f3f,0xe2b21));export*from'./NodeIKernelSessionListener';function _0x36ad(_0x4a2311,_0xa27e53){var _0x1f3fff=_0x1f3f();return _0x36ad=function(_0x36ad4b,_0xba3e2c){_0x36ad4b=_0x36ad4b-0x1db;var _0x2f1f71=_0x1f3fff[_0x36ad4b];return _0x2f1f71;},_0x36ad(_0x4a2311,_0xa27e53);}function _0x1f3f(){var _0x30cc52=['778370eeJFIv','7fBJcHn','11242736xsdnXg','27855nDSKEc','214OwAWOg','1207704qGYwbe','12398YBkcjo','12648097crQgRK','36MBfxgQ','4solGKK','1254978TXIIFi','880mtcLNr'];_0x1f3f=function(){return _0x30cc52;};return _0x1f3f();}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'; \ No newline at end of file +(function(_0x2e9c06,_0x42879d){var _0xd32a88=_0x144f,_0x3e897e=_0x2e9c06();while(!![]){try{var _0x5122ef=parseInt(_0xd32a88(0x1ee))/0x1*(-parseInt(_0xd32a88(0x1f3))/0x2)+-parseInt(_0xd32a88(0x1f7))/0x3*(parseInt(_0xd32a88(0x1f1))/0x4)+-parseInt(_0xd32a88(0x1f0))/0x5*(parseInt(_0xd32a88(0x1ef))/0x6)+parseInt(_0xd32a88(0x1ed))/0x7*(-parseInt(_0xd32a88(0x1f5))/0x8)+-parseInt(_0xd32a88(0x1f8))/0x9+-parseInt(_0xd32a88(0x1f6))/0xa*(-parseInt(_0xd32a88(0x1f2))/0xb)+-parseInt(_0xd32a88(0x1f4))/0xc*(-parseInt(_0xd32a88(0x1f9))/0xd);if(_0x5122ef===_0x42879d)break;else _0x3e897e['push'](_0x3e897e['shift']());}catch(_0x290729){_0x3e897e['push'](_0x3e897e['shift']());}}}(_0x1b2d,0xe2551));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x144f(_0x3d7303,_0x2369f0){var _0x1b2dbb=_0x1b2d();return _0x144f=function(_0x144f9a,_0x2f32d0){_0x144f9a=_0x144f9a-0x1ed;var _0xa69a2=_0x1b2dbb[_0x144f9a];return _0xa69a2;},_0x144f(_0x3d7303,_0x2369f0);}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x1b2d(){var _0x3930b0=['1028452XzJRHQ','9027258qTmrLP','5BDVpte','276VzMBvv','38093dIYzTD','2lsyTKW','25171548SGHbgX','32BQAaAt','450RPAkDb','77829lSzHCU','14236596TJdlFX','52fPNQpF','3000179jySpil'];_0x1b2d=function(){return _0x3930b0;};return _0x1b2d();} \ 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 058487d4..268718f6 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x40a4(_0x2d1ad8,_0xeaceb1){var _0x3e6353=_0x3e63();return _0x40a4=function(_0x40a49b,_0x365fb0){_0x40a49b=_0x40a49b-0x1bb;var _0x35579a=_0x3e6353[_0x40a49b];return _0x35579a;},_0x40a4(_0x2d1ad8,_0xeaceb1);}(function(_0xb59f8c,_0x147af3){var _0x18f353=_0x40a4,_0x568d6a=_0xb59f8c();while(!![]){try{var _0x1d735f=-parseInt(_0x18f353(0x1c3))/0x1+parseInt(_0x18f353(0x1bb))/0x2+parseInt(_0x18f353(0x1bf))/0x3*(-parseInt(_0x18f353(0x1be))/0x4)+-parseInt(_0x18f353(0x1c1))/0x5+parseInt(_0x18f353(0x1bd))/0x6+-parseInt(_0x18f353(0x1c2))/0x7*(parseInt(_0x18f353(0x1bc))/0x8)+parseInt(_0x18f353(0x1c0))/0x9;if(_0x1d735f===_0x147af3)break;else _0x568d6a['push'](_0x568d6a['shift']());}catch(_0x1f024a){_0x568d6a['push'](_0x568d6a['shift']());}}}(_0x3e63,0x29089));export var GeneralCallResultStatus;function _0x3e63(){var _0x1ddd9e=['376IpgBsE','8637GTaxlQ','4361553tRaKWv','596200udwPIO','1673KwWOKY','202861ZZoEHw','543336CloWvM','7672SousZJ','1402296lnanIW'];_0x3e63=function(){return _0x1ddd9e;};return _0x3e63();}(function(_0x4c7acb){_0x4c7acb[_0x4c7acb['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x1a9b55,_0x2dc370){var _0x5692a8=_0x8e85,_0x301b1c=_0x1a9b55();while(!![]){try{var _0x48a9ac=-parseInt(_0x5692a8(0x73))/0x1+parseInt(_0x5692a8(0x68))/0x2*(-parseInt(_0x5692a8(0x6c))/0x3)+-parseInt(_0x5692a8(0x6b))/0x4*(parseInt(_0x5692a8(0x71))/0x5)+parseInt(_0x5692a8(0x74))/0x6*(-parseInt(_0x5692a8(0x6a))/0x7)+-parseInt(_0x5692a8(0x6f))/0x8*(parseInt(_0x5692a8(0x72))/0x9)+parseInt(_0x5692a8(0x69))/0xa*(parseInt(_0x5692a8(0x6e))/0xb)+parseInt(_0x5692a8(0x70))/0xc*(parseInt(_0x5692a8(0x6d))/0xd);if(_0x48a9ac===_0x2dc370)break;else _0x301b1c['push'](_0x301b1c['shift']());}catch(_0x300323){_0x301b1c['push'](_0x301b1c['shift']());}}}(_0x4d53,0xcd3f3));function _0x8e85(_0x2121ff,_0x401222){var _0x4d53a3=_0x4d53();return _0x8e85=function(_0x8e8544,_0x424754){_0x8e8544=_0x8e8544-0x68;var _0x230501=_0x4d53a3[_0x8e8544];return _0x230501;},_0x8e85(_0x2121ff,_0x401222);}export var GeneralCallResultStatus;function _0x4d53(){var _0x44ed55=['175295gnNmCE','106866cdvNso','959090yteQlk','370ixGrYl','105QMamWR','30944njmRnI','6YCTHpH','364767LORzOr','312906LaGMLd','8jHmvum','648UiSBDJ','205ZOPgoL','74439bqVDKN'];_0x4d53=function(){return _0x44ed55;};return _0x4d53();}(function(_0x364a87){_0x364a87[_0x364a87['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 c3500419..618dc1a6 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x2f6b29,_0x24015c){var _0x6bf383=_0x172c,_0x4414a9=_0x2f6b29();while(!![]){try{var _0x1997da=parseInt(_0x6bf383(0x1c3))/0x1+-parseInt(_0x6bf383(0x1c6))/0x2*(parseInt(_0x6bf383(0x1c5))/0x3)+-parseInt(_0x6bf383(0x1cb))/0x4+parseInt(_0x6bf383(0x1c2))/0x5*(parseInt(_0x6bf383(0x1c4))/0x6)+parseInt(_0x6bf383(0x1c8))/0x7*(parseInt(_0x6bf383(0x1c9))/0x8)+-parseInt(_0x6bf383(0x1ca))/0x9*(-parseInt(_0x6bf383(0x1cd))/0xa)+parseInt(_0x6bf383(0x1cc))/0xb*(-parseInt(_0x6bf383(0x1c7))/0xc);if(_0x1997da===_0x24015c)break;else _0x4414a9['push'](_0x4414a9['shift']());}catch(_0x46fd46){_0x4414a9['push'](_0x4414a9['shift']());}}}(_0x41dc,0xe748c));function _0x172c(_0x3a0955,_0x5ad3fd){var _0x41dca2=_0x41dc();return _0x172c=function(_0x172c66,_0x2e0d4b){_0x172c66=_0x172c66-0x1c2;var _0x1fb8eb=_0x41dca2[_0x172c66];return _0x1fb8eb;},_0x172c(_0x3a0955,_0x5ad3fd);}export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x41dc(){var _0xafab8=['5ayjTzr','247928LiezLm','10673394CprhPP','2416029eEtZBI','2FkZYhg','888KJRZHn','119lgofHT','687272bDHVUn','62235xYjvNW','5163916zXDzuw','176957zmfnVC','1080hvVQpJ'];_0x41dc=function(){return _0xafab8;};return _0x41dc();}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x218915,_0x9f3e38){var _0x26dfbf=_0x19e2,_0x26e5f0=_0x218915();while(!![]){try{var _0x3d55f0=-parseInt(_0x26dfbf(0x126))/0x1*(-parseInt(_0x26dfbf(0x128))/0x2)+-parseInt(_0x26dfbf(0x129))/0x3*(parseInt(_0x26dfbf(0x12e))/0x4)+-parseInt(_0x26dfbf(0x12c))/0x5+-parseInt(_0x26dfbf(0x130))/0x6*(-parseInt(_0x26dfbf(0x12a))/0x7)+-parseInt(_0x26dfbf(0x12f))/0x8+-parseInt(_0x26dfbf(0x12b))/0x9+parseInt(_0x26dfbf(0x12d))/0xa*(parseInt(_0x26dfbf(0x127))/0xb);if(_0x3d55f0===_0x9f3e38)break;else _0x26e5f0['push'](_0x26e5f0['shift']());}catch(_0x3266aa){_0x26e5f0['push'](_0x26e5f0['shift']());}}}(_0x5d1b,0xeb9fb));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x19e2(_0x44706a,_0x387c70){var _0x5d1bc7=_0x5d1b();return _0x19e2=function(_0x19e268,_0x39a1db){_0x19e268=_0x19e268-0x126;var _0x4ac24e=_0x5d1bc7[_0x19e268];return _0x4ac24e;},_0x19e2(_0x44706a,_0x387c70);}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';function _0x5d1b(){var _0x3b63ad=['237969ryBywu','517CtiSJG','16nkhCsn','1676043vIHXmJ','1246NcvklL','6666021HNCAss','833800zvaVup','206200yMRsdZ','8bbSakt','4832512iYXsXh','24306oVBnLW'];_0x5d1b=function(){return _0x3b63ad;};return _0x5d1b();} \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index af226d6f..a554de77 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x440502,_0x5d928c){const _0x17f6de=_0x41e8,_0x545cf5=_0x440502();while(!![]){try{const _0x1532fb=parseInt(_0x17f6de(0x15f))/0x1+-parseInt(_0x17f6de(0x16e))/0x2+-parseInt(_0x17f6de(0x16a))/0x3+-parseInt(_0x17f6de(0x173))/0x4+-parseInt(_0x17f6de(0x171))/0x5*(parseInt(_0x17f6de(0x162))/0x6)+parseInt(_0x17f6de(0x169))/0x7*(parseInt(_0x17f6de(0x16d))/0x8)+parseInt(_0x17f6de(0x165))/0x9*(parseInt(_0x17f6de(0x172))/0xa);if(_0x1532fb===_0x5d928c)break;else _0x545cf5['push'](_0x545cf5['shift']());}catch(_0x520513){_0x545cf5['push'](_0x545cf5['shift']());}}}(_0x20af,0xc2cec));function _0x41e8(_0xab90c1,_0x5ef97d){const _0x20afb8=_0x20af();return _0x41e8=function(_0x41e85b,_0xf1deab){_0x41e85b=_0x41e85b-0x15f;let _0x8e412b=_0x20afb8[_0x41e85b];return _0x8e412b;},_0x41e8(_0xab90c1,_0x5ef97d);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x12da2a from'node:path';import _0x4f5550 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x20af(){const _0x433739=['LQAbv','zVNmi','fHSzG','WTokY','version','1327974IyWHAi','curVersion','assign','12msjmfh','mkdirSync','join','11079mEikOb','readFileSync','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','guid.txt','14orFsdK','4185591fOWOHP','utf-8','NapCat','3017936VHTMqH','2818096RDbYSs','writeFileSync','temp','2602745uJdVBV','21600uTsRgT','392572RsdNZg'];_0x20af=function(){return _0x433739;};return _0x20af();}export function genSessionConfig(_0x491872,_0x24d7c3,_0x32b9df){const _0x264c40=_0x41e8,_0x9b3cd4={'LJREu':_0x264c40(0x16c),'LQAbv':_0x264c40(0x170),'WTokY':_0x264c40(0x168),'fHSzG':function(_0x10788d){return _0x10788d();},'zVNmi':_0x264c40(0x167)},_0xb22d52=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x9b3cd4['LJREu'],_0x9b3cd4[_0x264c40(0x174)]);_0x4f5550[_0x264c40(0x163)](_0xb22d52,{'recursive':!![]});const _0x4f15f7=_0x12da2a[_0x264c40(0x164)](_0x32b9df,_0x264c40(0x16c),_0x9b3cd4[_0x264c40(0x177)]);let _0x4cde58=_0x9b3cd4[_0x264c40(0x176)](randomUUID);try{_0x4cde58=_0x4f5550[_0x264c40(0x166)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x264c40(0x16b));}catch(_0x3f49ba){_0x4f5550[_0x264c40(0x16f)](_0x12da2a[_0x264c40(0x164)](_0x4f15f7),_0x4cde58,_0x264c40(0x16b));}const _0x132231={'selfUin':_0x491872,'selfUid':_0x24d7c3,'desktopPathConfig':{'account_path':_0x32b9df},'clientVer':qqVersionConfigInfo[_0x264c40(0x160)],'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':_0xb22d52,'deviceInfo':{'guid':_0x4cde58,'buildVer':qqPkgInfo[_0x264c40(0x178)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9b3cd4[_0x264c40(0x175)]};return Object[_0x264c40(0x161)](sessionConfig,_0x132231),_0x132231;} \ No newline at end of file +(function(_0x55fa57,_0x3fa8fd){const _0x7d0509=_0x252c,_0x3495e5=_0x55fa57();while(!![]){try{const _0x11dd83=parseInt(_0x7d0509(0xa5))/0x1*(parseInt(_0x7d0509(0xa6))/0x2)+parseInt(_0x7d0509(0xb2))/0x3+parseInt(_0x7d0509(0xb1))/0x4*(parseInt(_0x7d0509(0xb4))/0x5)+parseInt(_0x7d0509(0xb9))/0x6+parseInt(_0x7d0509(0xa8))/0x7*(-parseInt(_0x7d0509(0xb3))/0x8)+parseInt(_0x7d0509(0xaa))/0x9*(-parseInt(_0x7d0509(0xb7))/0xa)+-parseInt(_0x7d0509(0xad))/0xb*(-parseInt(_0x7d0509(0xba))/0xc);if(_0x11dd83===_0x3fa8fd)break;else _0x3495e5['push'](_0x3495e5['shift']());}catch(_0x123921){_0x3495e5['push'](_0x3495e5['shift']());}}}(_0x48ac,0x5d4c8));function _0x48ac(){const _0x173512=['5366502QmGSxz','BLmih','assign','77aoHrRm','lEmRm','join','rHloX','40SucuSG','1562454rAjgfO','201080OiDulP','205890LfDEDJ','peoBK','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','10KsWLlz','hZNOw','222906gFbquo','76152SlPpCm','writeFileSync','guid.txt','version','23XakQTL','10006BcjAKq','NapCat','42YrZrQK','readFileSync'];_0x48ac=function(){return _0x173512;};return _0x48ac();}function _0x252c(_0x302e15,_0x5c4555){const _0x48acf6=_0x48ac();return _0x252c=function(_0x252cb8,_0x3bbb6b){_0x252cb8=_0x252cb8-0xa3;let _0x20c318=_0x48acf6[_0x252cb8];return _0x20c318;},_0x252c(_0x302e15,_0x5c4555);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x113e05 from'node:path';import _0x318cd3 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x516791,_0x396a50,_0xb1dc51){const _0xa5035b=_0x252c,_0x2eef46={'rHloX':_0xa5035b(0xa7),'BLmih':'temp','peoBK':_0xa5035b(0xa3),'lEmRm':function(_0x219350){return _0x219350();},'hZNOw':'utf-8'},_0x1bce6a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,_0x2eef46[_0xa5035b(0xb0)],_0x2eef46[_0xa5035b(0xab)]);_0x318cd3['mkdirSync'](_0x1bce6a,{'recursive':!![]});const _0x1bd58a=_0x113e05[_0xa5035b(0xaf)](_0xb1dc51,'NapCat',_0x2eef46[_0xa5035b(0xb5)]);let _0x145ff2=_0x2eef46[_0xa5035b(0xae)](randomUUID);try{_0x145ff2=_0x318cd3[_0xa5035b(0xa9)](_0x113e05['join'](_0x1bd58a),_0x2eef46[_0xa5035b(0xb8)]);}catch(_0xd1ab63){_0x318cd3[_0xa5035b(0xbb)](_0x113e05['join'](_0x1bd58a),_0x145ff2,_0x2eef46[_0xa5035b(0xb8)]);}const _0x169398={'selfUin':_0x516791,'selfUid':_0x396a50,'desktopPathConfig':{'account_path':_0xb1dc51},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x1bce6a,'deviceInfo':{'guid':_0x145ff2,'buildVer':qqPkgInfo[_0xa5035b(0xa4)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0xa5035b(0xb6)};return Object[_0xa5035b(0xac)](sessionConfig,_0x169398),_0x169398;} \ 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 92d51fe0..249c45ab 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x44fd6e=_0x12d2;(function(_0x188d20,_0x5df739){const _0x570f0b=_0x12d2,_0x3e2924=_0x188d20();while(!![]){try{const _0x2a816b=parseInt(_0x570f0b(0x151))/0x1*(-parseInt(_0x570f0b(0x152))/0x2)+parseInt(_0x570f0b(0x15c))/0x3+-parseInt(_0x570f0b(0x159))/0x4+parseInt(_0x570f0b(0x154))/0x5*(parseInt(_0x570f0b(0x15a))/0x6)+parseInt(_0x570f0b(0x161))/0x7+-parseInt(_0x570f0b(0x15d))/0x8*(parseInt(_0x570f0b(0x157))/0x9)+-parseInt(_0x570f0b(0x15f))/0xa*(-parseInt(_0x570f0b(0x153))/0xb);if(_0x2a816b===_0x5df739)break;else _0x3e2924['push'](_0x3e2924['shift']());}catch(_0x205e5f){_0x3e2924['push'](_0x3e2924['shift']());}}}(_0x3097,0xd2fe9));import _0x324a0c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x3097(){const _0x4b8dad=['376011aVfPGa','INFO','3589592cItUIP','1115154kJldNw','.json','636618Zcflmy','8Cfomer','DEBUG','9533050VkiSuO','consoleLog','4543707BqParQ','join','consoleLogLevel','fileLog','251HyiqBV','7494CqJBBk','11iwSXMa','25nwIMyi','getConfigDir','fileLogLevel'];_0x3097=function(){return _0x4b8dad;};return _0x3097();}class Config extends ConfigBase{[_0x44fd6e(0x150)]=!![];[_0x44fd6e(0x160)]=!![];[_0x44fd6e(0x156)]=LogLevel[_0x44fd6e(0x15e)];[_0x44fd6e(0x14f)]=LogLevel[_0x44fd6e(0x158)];constructor(){super();}['getConfigPath'](){const _0x1b2d23=_0x44fd6e;return _0x324a0c[_0x1b2d23(0x162)](this[_0x1b2d23(0x155)](),'napcat_'+selfInfo['uin']+_0x1b2d23(0x15b));}}function _0x12d2(_0x23ecbf,_0xa0faf1){const _0x3097c1=_0x3097();return _0x12d2=function(_0x12d266,_0x448396){_0x12d266=_0x12d266-0x14f;let _0x2db0f4=_0x3097c1[_0x12d266];return _0x2db0f4;},_0x12d2(_0x23ecbf,_0xa0faf1);}export const napCatConfig=new Config(); \ No newline at end of file +const _0x1bffbc=_0x481a;(function(_0x31b7ca,_0x55e348){const _0x3288f8=_0x481a,_0x5f2eab=_0x31b7ca();while(!![]){try{const _0x2de4b3=-parseInt(_0x3288f8(0x12b))/0x1*(parseInt(_0x3288f8(0x127))/0x2)+-parseInt(_0x3288f8(0x133))/0x3+parseInt(_0x3288f8(0x124))/0x4*(-parseInt(_0x3288f8(0x12c))/0x5)+parseInt(_0x3288f8(0x129))/0x6+-parseInt(_0x3288f8(0x12f))/0x7+-parseInt(_0x3288f8(0x136))/0x8*(-parseInt(_0x3288f8(0x126))/0x9)+parseInt(_0x3288f8(0x135))/0xa*(parseInt(_0x3288f8(0x128))/0xb);if(_0x2de4b3===_0x55e348)break;else _0x5f2eab['push'](_0x5f2eab['shift']());}catch(_0x2110d6){_0x5f2eab['push'](_0x5f2eab['shift']());}}}(_0x3538,0x685df));function _0x3538(){const _0x21fc00=['consoleLogLevel','INFO','395697bVpjUI','join','490UNirOS','8FAebaI','getConfigPath','DEBUG','316wSNqjT','getConfigDir','5760486gEEjJN','410cCAswl','59169wfmFui','1604598ikyxcp','napcat_','393leXlHW','29765jQtJiN','uin','.json','425740xSlzxD','fileLog'];_0x3538=function(){return _0x21fc00;};return _0x3538();}import _0x319717 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x481a(_0x265df7,_0x15aca2){const _0x353879=_0x3538();return _0x481a=function(_0x481ad2,_0x3e6afa){_0x481ad2=_0x481ad2-0x124;let _0x9beecf=_0x353879[_0x481ad2];return _0x9beecf;},_0x481a(_0x265df7,_0x15aca2);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x1bffbc(0x130)]=!![];['consoleLog']=!![];['fileLogLevel']=LogLevel[_0x1bffbc(0x138)];[_0x1bffbc(0x131)]=LogLevel[_0x1bffbc(0x132)];constructor(){super();}[_0x1bffbc(0x137)](){const _0x2a592e=_0x1bffbc;return _0x319717[_0x2a592e(0x134)](this[_0x2a592e(0x125)](),_0x2a592e(0x12a)+selfInfo[_0x2a592e(0x12d)]+_0x2a592e(0x12e));}}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 fe4f2706..0a2a6b8c 100644 --- a/src/core.lib/src/utils/db.js +++ b/src/core.lib/src/utils/db.js @@ -1 +1 @@ -const _0x4208f9=_0x1973;(function(_0x3c7c13,_0x9396e8){const _0x46a110=_0x1973,_0x2ec686=_0x3c7c13();while(!![]){try{const _0x5b7521=-parseInt(_0x46a110(0x1df))/0x1+parseInt(_0x46a110(0x1fe))/0x2+parseInt(_0x46a110(0x242))/0x3*(-parseInt(_0x46a110(0x255))/0x4)+parseInt(_0x46a110(0x208))/0x5*(-parseInt(_0x46a110(0x211))/0x6)+-parseInt(_0x46a110(0x201))/0x7*(parseInt(_0x46a110(0x232))/0x8)+-parseInt(_0x46a110(0x22e))/0x9*(parseInt(_0x46a110(0x245))/0xa)+parseInt(_0x46a110(0x1e2))/0xb;if(_0x5b7521===_0x9396e8)break;else _0x2ec686['push'](_0x2ec686['shift']());}catch(_0x56d312){_0x2ec686['push'](_0x2ec686['shift']());}}}(_0x3902,0x97c09));import _0x2c75ff from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';function _0x3902(){const _0x5d2899=['uin','668YPdyse','getMsgBySeq','CJdqM','element','QpzFe','KdWGv','getMsg','now','updateMsg\x20db\x20error','msgTime','db\x20could\x20not\x20get\x20temp\x20uin\x20map','has','run','path','db\x20getMsgByLongId\x20error','forEach','SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?','close','Could\x20not\x20get\x20msg','getUidByTempUin','db\x20could\x20not\x20add\x20temp\x20uin','uuid','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','YevUF','HVEGK','FrgOV','hpxuP','updateFileCache','createTable','cUdtY','记录消息到数据库,\x20消息长id:\x20','gzIEL','686392AcZdXd','FkIIM','globalMsgShortId','24523928mmtfyX','\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)','wPxKg','FnAKH','getReceivedTempUinMap','all','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','AtUZt','ZAwdw',',\x20seq:\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)','addMsg','then','XMAmB','getFileCache','cvEyo','Method\x20not\x20implemented.','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','FFWiE','errno','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','EhYkg','\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)','iAeRX','catch','BrDZi','QlbGj','peerUid','1160666ezPsWU','getMsgByLongId','name','762797suqnpR','url','Database','PHwtg','getMsgsByMsgId','HYDtU','chatType','57950mBkZlm','ifjeG','assign','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','uid','nezBo','qaMUP','Could\x20not\x20create\x20table\x20files','zjszL','12mtVEQx','VrKMp','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','stringify','efiYZ','delete','getCurrentMaxShortId','jkAve','stack','init','LWCGf','db\x20could\x20not\x20update\x20file\x20cache','yEOJj','fSrzl','get','UcRFT','oVfXC','清理消息缓存','db\x20could\x20not\x20add\x20file','更新消息,\x20shortId:','getMsgByShortId','PztWA','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','db\x20could\x20not\x20get\x20file\x20cache','ZAFFI','maxId','prepare','getFileCacheByName','tVYEE','1212201imHPAy','rJZoZ','Could\x20not\x20create\x20table\x20temp_uins','toString','8mGBekt','TfcYH','updateMsg','TMtnU','HLRAz','IEWzp','aSvGQ','YbSYq','ajhwO','SgAZA','msgId','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','opLTs','NpcpT','rFqZI','SELECT\x20*\x20FROM\x20temp_uins','17346cJjpzl','YycIf','pOwvI','30hyNyoZ','db\x20could\x20not\x20add\x20msg','lodJn','FyOST',',\x20短id:\x20','shortId','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','parse','size','Could\x20not\x20connect\x20to\x20database','pQUoT','msgSeq','msgCache','set','MVQmu'];_0x3902=function(){return _0x5d2899;};return _0x3902();}function _0x1973(_0x48b620,_0x4d13d1){const _0x39028a=_0x3902();return _0x1973=function(_0x197317,_0x4e5fd1){_0x197317=_0x197317-0x1d1;let _0x2c6774=_0x39028a[_0x197317];return _0x2c6774;},_0x1973(_0x48b620,_0x4d13d1);}class DBUtilBase{['db'];async[_0x4208f9(0x21a)](_0x3b392e){const _0x53359d=_0x4208f9,_0x64c2f9={'hwnHO':_0x53359d(0x24e),'HYDtU':function(_0x524755,_0xd61a41){return _0x524755(_0xd61a41);},'obDVG':function(_0x1a8971,_0x11b38a){return _0x1a8971|_0x11b38a;}};if(this['db'])return;return new Promise((_0x18a4ad,_0x4801d6)=>{const _0x4f75d4=_0x53359d;this['db']=new _0x2c75ff[(_0x4f75d4(0x203))](_0x3b392e,_0x64c2f9['obDVG'](_0x2c75ff['OPEN_READWRITE'],_0x2c75ff['OPEN_CREATE']),_0x478462=>{const _0x46451b=_0x4f75d4;if(_0x478462){logError(_0x64c2f9['hwnHO'],_0x478462),_0x64c2f9[_0x46451b(0x206)](_0x4801d6,_0x478462);return;}this[_0x46451b(0x1db)](),_0x18a4ad();});});}['createTable'](){const _0x2e10b3=_0x4208f9,_0x34a96c={'EhYkg':_0x2e10b3(0x1f2)};throw new Error(_0x34a96c[_0x2e10b3(0x1f7)]);}[_0x4208f9(0x266)](){const _0x1851a2=_0x4208f9;this['db']?.[_0x1851a2(0x266)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();['globalMsgShortId']=-0x7ffffff8;constructor(){const _0x1bdce2=_0x4208f9,_0x28b324={'wPxKg':function(_0x2a7a23,_0x18d177){return _0x2a7a23>_0x18d177;},'kGRbt':function(_0x303c4b,_0x408d40){return _0x303c4b-_0x408d40;},'TMtnU':function(_0x23984e,_0x172f0c){return _0x23984e*_0x172f0c;},'FkIIM':function(_0x53464d,_0x6354d9){return _0x53464d(_0x6354d9);},'efiYZ':_0x1bdce2(0x222)};super();const _0x22f6a3=_0x28b324[_0x1bdce2(0x235)](0x3e8*0x3c,0xa);setInterval(()=>{const _0x2b86c2=_0x1bdce2,_0xf3aa21={'AtUZt':function(_0x4948df,_0x1b2a6c){const _0x449292=_0x1973;return _0x28b324[_0x449292(0x1e4)](_0x4948df,_0x1b2a6c);},'gYZlo':function(_0x15cf0c,_0xe254f3){return _0x28b324['kGRbt'](_0x15cf0c,_0xe254f3);},'PHwtg':function(_0x1ab648,_0x51515d){return _0x28b324['TMtnU'](_0x1ab648,_0x51515d);},'TfcYH':function(_0xe57cb,_0x1876ef){const _0x20dc2=_0x1973;return _0x28b324[_0x20dc2(0x1e0)](_0xe57cb,_0x1876ef);}};_0x28b324['FkIIM'](logDebug,_0x28b324[_0x2b86c2(0x215)]),this[_0x2b86c2(0x251)][_0x2b86c2(0x264)]((_0x389851,_0x1b572e)=>{const _0x4e8304=_0x2b86c2;_0xf3aa21[_0x4e8304(0x1e9)](_0xf3aa21['gYZlo'](Date[_0x4e8304(0x25c)](),_0xf3aa21[_0x4e8304(0x204)](_0xf3aa21[_0x4e8304(0x233)](parseInt,_0x389851[_0x4e8304(0x25e)]),0x3e8)),_0x22f6a3)&&this[_0x4e8304(0x251)][_0x4e8304(0x216)](_0x1b572e);});},_0x22f6a3);}async[_0x4208f9(0x21a)](_0x394246){const _0x15aaf1=_0x4208f9;await super['init'](_0x394246),this[_0x15aaf1(0x1e1)]=await this[_0x15aaf1(0x217)]();}['createTable'](){const _0x195770=_0x4208f9,_0x9a1343={'oVfXC':function(_0x36cb50,_0x33d12a,_0x33c602){return _0x36cb50(_0x33d12a,_0x33c602);},'rFqZI':_0x195770(0x20f),'LWCGf':function(_0xf57000,_0x1f8dfa,_0x5e05ab){return _0xf57000(_0x1f8dfa,_0x5e05ab);}},_0x287919=_0x195770(0x1f8);this['db'][_0x195770(0x261)](_0x287919,function(_0x21424b){const _0x80613d=_0x195770;_0x21424b&&logError('Could\x20not\x20create\x20table\x20msgs',_0x21424b[_0x80613d(0x219)]);});const _0xc37e1b=_0x195770(0x1e3);this['db'][_0x195770(0x261)](_0xc37e1b,function(_0x2a2062){const _0x57913d=_0x195770;_0x2a2062&&_0x9a1343[_0x57913d(0x221)](logError,_0x9a1343[_0x57913d(0x240)],_0x2a2062);});const _0x3f959e=_0x195770(0x1ec);this['db'][_0x195770(0x261)](_0x3f959e,function(_0x5dfb48){const _0x4e5a1d=_0x195770;_0x5dfb48&&_0x9a1343[_0x4e5a1d(0x21b)](logError,_0x4e5a1d(0x230),_0x5dfb48);});}async[_0x4208f9(0x217)](){const _0x5766b6=_0x4208f9,_0x5a26ae={'qaMUP':function(_0x5ea368,_0x162c0b,_0xc9cd32){return _0x5ea368(_0x162c0b,_0xc9cd32);},'nezBo':function(_0x24155f,_0x46d395){return _0x24155f(_0x46d395);},'nWpbv':'数据库中消息最大短id','IEWzp':_0x5766b6(0x23d)};return new Promise((_0x1eb3f3,_0x5da55b)=>{const _0x2fa146=_0x5766b6,_0x50866f={'jkAve':function(_0x477ec6,_0x2bb76b,_0x1b0798){const _0x2cc077=_0x1973;return _0x5a26ae[_0x2cc077(0x20e)](_0x477ec6,_0x2bb76b,_0x1b0798);},'iAeRX':function(_0x4e7ddf,_0x44de80){const _0x251594=_0x1973;return _0x5a26ae[_0x251594(0x20d)](_0x4e7ddf,_0x44de80);},'zqatQ':function(_0x411d38,_0x3c42bf,_0x4af007){return _0x411d38(_0x3c42bf,_0x4af007);},'YevUF':_0x5a26ae['nWpbv']};this['db'][_0x2fa146(0x21f)](_0x5a26ae[_0x2fa146(0x237)],(_0x1f9530,_0x363dc5)=>{const _0x462d46=_0x2fa146;if(_0x1f9530)return _0x50866f[_0x462d46(0x218)](logDebug,_0x462d46(0x1f3),_0x1f9530),_0x50866f['iAeRX'](_0x1eb3f3,-0x7ffffff8);_0x50866f['zqatQ'](logDebug,_0x50866f[_0x462d46(0x1d6)],_0x363dc5?.[_0x462d46(0x22a)]),_0x50866f[_0x462d46(0x1f9)](_0x1eb3f3,_0x363dc5?.[_0x462d46(0x22a)]??-0x7ffffff8);});});}async[_0x4208f9(0x25b)](_0x18b6b2,_0x2322a9){const _0x193a19=_0x4208f9,_0x2d702a={'yEOJj':function(_0x177252,_0x3a1873){return _0x177252(_0x3a1873);},'FyOST':function(_0x38473f,_0x1f8ba6,_0x554616,_0x3d14e7,_0x30588f){return _0x38473f(_0x1f8ba6,_0x554616,_0x3d14e7,_0x30588f);},'NpcpT':_0x193a19(0x1d1),'DSFRB':function(_0x2c665b,_0x2a77e3){return _0x2c665b(_0x2a77e3);}},_0x330a31=this['db'][_0x193a19(0x22b)](_0x18b6b2);return new Promise((_0x15fc31,_0xa21e4a)=>{const _0x3cff9b=_0x193a19;_0x330a31[_0x3cff9b(0x21f)](..._0x2322a9,(_0x45cd1f,_0x4bb394)=>{const _0x2365aa=_0x3cff9b,_0x472fb0={'HLRAz':function(_0x4da4d1,_0x161834){const _0x84d37=_0x1973;return _0x2d702a[_0x84d37(0x21d)](_0x4da4d1,_0x161834);}};if(_0x45cd1f)return _0x2d702a[_0x2365aa(0x248)](logError,_0x2d702a[_0x2365aa(0x23f)],_0x45cd1f,_0x18b6b2,_0x2322a9),_0x2d702a['DSFRB'](_0x15fc31,null);if(!_0x4bb394){_0x2d702a['yEOJj'](_0x15fc31,null);return;}const _0x5f128c=_0x4bb394['longId'];NTQQMsgApi[_0x2365aa(0x205)]({'peerUid':_0x4bb394['peerUid'],'chatType':_0x4bb394[_0x2365aa(0x207)]},[_0x5f128c])[_0x2365aa(0x1ee)](_0x1312ab=>{const _0x353289=_0x2365aa,_0x13b431=_0x1312ab['msgList'][0x0];if(!_0x13b431){_0x15fc31(null);return;}_0x13b431['id']=_0x4bb394[_0x353289(0x24a)],_0x15fc31(_0x13b431);})[_0x2365aa(0x1fa)](_0x1f5103=>{const _0x4aecf1=_0x2365aa;_0x472fb0[_0x4aecf1(0x236)](_0x15fc31,null);});});});}async[_0x4208f9(0x225)](_0x3f802f){const _0x4b55d0=_0x4208f9,_0x24bcfa={'pQUoT':_0x4b55d0(0x1d5)};if(this[_0x4b55d0(0x251)][_0x4b55d0(0x260)](_0x3f802f))return this[_0x4b55d0(0x251)]['get'](_0x3f802f);const _0x33fe46=_0x24bcfa[_0x4b55d0(0x24f)];return this['getMsg'](_0x33fe46,[_0x3f802f]);}async[_0x4208f9(0x1ff)](_0x34604d){const _0x5318e3=_0x4208f9,_0x24bf15={'ZnDrk':_0x5318e3(0x24b)};if(this[_0x5318e3(0x251)][_0x5318e3(0x260)](_0x34604d))return this['msgCache']['get'](_0x34604d);return this[_0x5318e3(0x25b)](_0x24bf15['ZnDrk'],[_0x34604d]);}async[_0x4208f9(0x256)](_0x4503e6,_0x472b5a){const _0x406d94=_0x4208f9,_0x50fef1={'YbSYq':_0x406d94(0x227)},_0xf41d4d=_0x50fef1[_0x406d94(0x239)];return this[_0x406d94(0x25b)](_0xf41d4d,[_0x4503e6,_0x472b5a]);}async[_0x4208f9(0x1ed)](_0x5c51be,_0x360eff=!![]){const _0x401825=_0x4208f9,_0x29f2ca={'aSvGQ':function(_0x445a8d,_0x1b6b75,_0x34b14d){return _0x445a8d(_0x1b6b75,_0x34b14d);},'CJdqM':_0x401825(0x20b),'qPBPu':function(_0xec7150,_0x5dd47d){return _0xec7150===_0x5dd47d;},'lodJn':_0x401825(0x246),'YycIf':_0x401825(0x1e8),'RZHqJ':function(_0x2d6706,_0x123e1d){return _0x2d6706(_0x123e1d);}},_0x23579d=await this[_0x401825(0x1ff)](_0x5c51be[_0x401825(0x23c)]);if(_0x23579d){if(_0x360eff)this[_0x401825(0x234)](_0x5c51be)[_0x401825(0x1ee)]();return _0x23579d['id'];}const _0x55d9e4=this['db'][_0x401825(0x22b)](_0x29f2ca[_0x401825(0x243)]),_0x8caa29=++this[_0x401825(0x1e1)];return _0x5c51be['id']=_0x8caa29,_0x29f2ca['RZHqJ'](logDebug,_0x401825(0x1dd)+_0x5c51be[_0x401825(0x23c)]+_0x401825(0x249)+_0x5c51be['id']),this[_0x401825(0x251)]['set'](_0x8caa29,_0x5c51be),this[_0x401825(0x251)]['set'](_0x5c51be[_0x401825(0x23c)],_0x5c51be),_0x55d9e4[_0x401825(0x261)](this[_0x401825(0x1e1)],_0x5c51be[_0x401825(0x23c)],_0x5c51be['msgSeq'][_0x401825(0x231)](),_0x5c51be[_0x401825(0x1fd)],_0x5c51be['chatType'],_0x1d598c=>{const _0x157f65=_0x401825,_0x5b14b0={'MVQmu':function(_0x14e2ed,_0x156ed4,_0x212cf7){const _0x33216b=_0x1973;return _0x29f2ca[_0x33216b(0x238)](_0x14e2ed,_0x156ed4,_0x212cf7);},'fSrzl':_0x29f2ca[_0x157f65(0x257)]};_0x1d598c&&(_0x29f2ca['qPBPu'](_0x1d598c[_0x157f65(0x1f5)],0x13)?this[_0x157f65(0x1ff)](_0x5c51be[_0x157f65(0x23c)])['then'](_0x40e3b4=>{const _0x4d9925=_0x157f65;_0x40e3b4?(this['msgCache'][_0x4d9925(0x252)](_0x8caa29,_0x40e3b4),this[_0x4d9925(0x251)]['set'](_0x40e3b4[_0x4d9925(0x23c)],_0x40e3b4)):_0x5b14b0[_0x4d9925(0x253)](logError,_0x5b14b0[_0x4d9925(0x21e)],_0x1d598c);})[_0x157f65(0x1fa)](_0x5d34c0=>logError(_0x157f65(0x263),_0x5d34c0)):logError(_0x29f2ca[_0x157f65(0x247)],_0x1d598c));}),_0x8caa29;}async[_0x4208f9(0x234)](_0x37dce7){const _0x4ca285=_0x4208f9,_0x2d289e={'KdWGv':function(_0x4bdca3,_0xa93431,_0x5f59be){return _0x4bdca3(_0xa93431,_0x5f59be);},'rJZoZ':_0x4ca285(0x25d),'XMAmB':'UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?'},_0x1fc9b4=this[_0x4ca285(0x251)]['get'](_0x37dce7[_0x4ca285(0x23c)]);_0x1fc9b4&&Object[_0x4ca285(0x20a)](_0x1fc9b4,_0x37dce7);logDebug(_0x4ca285(0x224)+_0x37dce7['id']+_0x4ca285(0x1eb)+_0x37dce7[_0x4ca285(0x250)]+',\x20msgId:\x20'+_0x37dce7['msgId']);const _0x175b16=this['db'][_0x4ca285(0x22b)](_0x2d289e[_0x4ca285(0x1ef)]);_0x175b16[_0x4ca285(0x261)](_0x37dce7[_0x4ca285(0x250)],_0x37dce7['msgId'],_0x21b6d9=>{const _0x13816e=_0x4ca285;_0x21b6d9&&_0x2d289e[_0x13816e(0x25a)](logError,_0x2d289e[_0x13816e(0x22f)],_0x21b6d9);});}async['addFileCache'](_0x5132db){const _0x23bd6c=_0x4208f9,_0x11c92d={'CnqRN':function(_0x55f2ed,_0x1717eb,_0x461f4f){return _0x55f2ed(_0x1717eb,_0x461f4f);},'ZAwdw':_0x23bd6c(0x223),'SgAZA':function(_0x330d82,_0x4d80b0){return _0x330d82(_0x4d80b0);},'cvEyo':'INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)'},_0x219eeb=this['db'][_0x23bd6c(0x22b)](_0x11c92d[_0x23bd6c(0x1f1)]);return new Promise((_0x4ca0e4,_0x33b695)=>{const _0x214c26=_0x23bd6c;_0x219eeb[_0x214c26(0x261)](_0x5132db[_0x214c26(0x200)],_0x5132db[_0x214c26(0x262)],_0x5132db[_0x214c26(0x202)],_0x5132db[_0x214c26(0x24d)],_0x5132db['uuid'],_0x5132db['elementType'],JSON[_0x214c26(0x214)](_0x5132db[_0x214c26(0x258)]),_0x5132db['elementId'],_0x5132db[_0x214c26(0x23c)],function(_0x24d0ee){const _0x19a457=_0x214c26;_0x24d0ee&&(_0x11c92d['CnqRN'](logError,_0x11c92d[_0x19a457(0x1ea)],_0x24d0ee),_0x33b695(_0x24d0ee)),_0x11c92d[_0x19a457(0x23b)](_0x4ca0e4,null);});});}async[_0x4208f9(0x1f0)](_0x5b553c,_0x36d23f){const _0x32be6f=_0x4208f9,_0x2e3cba={'ifjeG':function(_0x798560,_0x3bd98b,_0x3fd32e){return _0x798560(_0x3bd98b,_0x3fd32e);},'QlbGj':_0x32be6f(0x228),'tFTIM':function(_0x4143c6,_0x33dc92){return _0x4143c6(_0x33dc92);}},_0x80bbd7=this['db'][_0x32be6f(0x22b)](_0x5b553c);return new Promise((_0x1af499,_0x287526)=>{const _0x517594=_0x32be6f,_0x1904fc={'ZAFFI':function(_0xe710d8,_0x3d1126,_0x29ff7b){const _0x511d72=_0x1973;return _0x2e3cba[_0x511d72(0x209)](_0xe710d8,_0x3d1126,_0x29ff7b);},'zjszL':_0x2e3cba[_0x517594(0x1fc)],'PztWA':function(_0x29775b,_0x32d5bb){return _0x2e3cba['tFTIM'](_0x29775b,_0x32d5bb);}};_0x80bbd7[_0x517594(0x21f)](..._0x36d23f,(_0x3b6bc2,_0x29f37c)=>{const _0x19ccc5=_0x517594;_0x3b6bc2&&(_0x1904fc[_0x19ccc5(0x229)](logError,_0x1904fc[_0x19ccc5(0x210)],_0x3b6bc2),_0x1904fc['PztWA'](_0x287526,_0x3b6bc2)),_0x29f37c&&(_0x29f37c[_0x19ccc5(0x258)]=JSON[_0x19ccc5(0x24c)](_0x29f37c[_0x19ccc5(0x258)])),_0x1904fc[_0x19ccc5(0x226)](_0x1af499,_0x29f37c);});});}async[_0x4208f9(0x22c)](_0x334741){const _0x58b097=_0x4208f9;return this['getFileCache'](_0x58b097(0x265),[_0x334741]);}async['getFileCacheByUuid'](_0x5ae504){const _0x3d948a=_0x4208f9,_0x5ae88c={'FnAKH':'SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?'};return this[_0x3d948a(0x1f0)](_0x5ae88c[_0x3d948a(0x1e5)],[_0x5ae504]);}async[_0x4208f9(0x1da)](_0xc3e00c){const _0x2fefe3=_0x4208f9,_0x89a8dd={'UcRFT':_0x2fefe3(0x21c)},_0x465253=this['db'][_0x2fefe3(0x22b)](_0x2fefe3(0x213));return new Promise((_0x4a2966,_0x3cc310)=>{const _0x22ba3d=_0x2fefe3,_0x441698={'hpxuP':_0x89a8dd[_0x22ba3d(0x220)],'CLieJ':function(_0x5e741d,_0x2fa6d8){return _0x5e741d(_0x2fa6d8);}};_0x465253[_0x22ba3d(0x261)](_0xc3e00c['path'],_0xc3e00c['url'],_0xc3e00c[_0x22ba3d(0x1d4)],function(_0x27f286){const _0x92e993=_0x22ba3d;_0x27f286&&(logError(_0x441698[_0x92e993(0x1d9)],_0x27f286),_0x441698['CLieJ'](_0x3cc310,_0x27f286)),_0x4a2966(null);});});}async[_0x4208f9(0x1e6)](){const _0x5eba4f=_0x4208f9,_0x2f4282={'opLTs':function(_0x90c132,_0x518b55,_0x46310d){return _0x90c132(_0x518b55,_0x46310d);},'cUdtY':function(_0x194197,_0x4014b9){return _0x194197(_0x4014b9);}},_0xa3efcd=_0x5eba4f(0x241);return new Promise((_0xb19223,_0x2d3d1c)=>{const _0x113594=_0x5eba4f,_0xb0230f={'yTMoy':function(_0x2cf261,_0x5dc6be,_0xa4083){const _0x40bcb1=_0x1973;return _0x2f4282[_0x40bcb1(0x23e)](_0x2cf261,_0x5dc6be,_0xa4083);},'VrKMp':_0x113594(0x25f),'FFWiE':function(_0x1d2081,_0x7be2e9){const _0x44622b=_0x113594;return _0x2f4282[_0x44622b(0x1dc)](_0x1d2081,_0x7be2e9);}};this['db'][_0x113594(0x1e7)](_0xa3efcd,(_0x35da49,_0x49597b)=>{const _0x357a1d=_0x113594;_0x35da49&&(_0xb0230f['yTMoy'](logError,_0xb0230f[_0x357a1d(0x212)],_0x35da49),_0x2d3d1c(_0x35da49));const _0x1d3176={};_0x49597b['forEach'](_0xb46920=>{const _0x26bda2=_0x357a1d;_0x1d3176[_0xb46920[_0x26bda2(0x254)]]=_0xb46920[_0x26bda2(0x20c)];}),_0xb0230f[_0x357a1d(0x1f4)](_0xb19223,_0x1d3176);});});}async['getUidByTempUin'](_0x391061){const _0x34fafa=_0x4208f9,_0x16f79f={'QpzFe':_0x34fafa(0x25f),'HVEGK':function(_0x5e666f,_0x52640f){return _0x5e666f(_0x52640f);},'FrgOV':_0x34fafa(0x1f6)},_0x49d1d0=_0x16f79f[_0x34fafa(0x1d8)];return new Promise((_0x35187d,_0x463784)=>{const _0x55f027=_0x34fafa,_0xc98479={'ajhwO':function(_0x4ff317,_0x5f0ba6,_0x8c197b){return _0x4ff317(_0x5f0ba6,_0x8c197b);},'gzIEL':_0x16f79f[_0x55f027(0x259)],'tVYEE':function(_0x26fd47,_0x1561b4){const _0x155e29=_0x55f027;return _0x16f79f[_0x155e29(0x1d7)](_0x26fd47,_0x1561b4);},'BrDZi':function(_0x56508a,_0x58920d){const _0x5d21f2=_0x55f027;return _0x16f79f[_0x5d21f2(0x1d7)](_0x56508a,_0x58920d);}};this['db'][_0x55f027(0x21f)](_0x49d1d0,[_0x391061],(_0x249eba,_0x53eba8)=>{const _0x633e8a=_0x55f027;_0x249eba&&(_0xc98479[_0x633e8a(0x23a)](logError,_0xc98479[_0x633e8a(0x1de)],_0x249eba),_0xc98479[_0x633e8a(0x22d)](_0x463784,_0x249eba)),_0xc98479[_0x633e8a(0x1fb)](_0x35187d,_0x53eba8?.['uid']);});});}async['addTempUin'](_0x149c15,_0x908812){const _0x2fe9ea=_0x4208f9,_0xfed9bc={'yHXEt':function(_0x45c3e0,_0x1438d2){return _0x45c3e0(_0x1438d2);},'pOwvI':'INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)'},_0x3092f0=await this[_0x2fe9ea(0x1d2)](_0x149c15);if(!_0x3092f0){const _0x56797e=this['db'][_0x2fe9ea(0x22b)](_0xfed9bc[_0x2fe9ea(0x244)]);return new Promise((_0x2d702d,_0x3c7aac)=>{const _0x2f6923=_0x2fe9ea;_0x56797e[_0x2f6923(0x261)](_0x149c15,_0x908812,function(_0xbc0f16){const _0x3f2668=_0x2f6923;_0xbc0f16&&(logError(_0x3f2668(0x1d3),_0xbc0f16),_0x3c7aac(_0xbc0f16)),_0xfed9bc['yHXEt'](_0x2d702d,null);});});}}}export const dbUtil=new DBUtil(); \ No newline at end of file +const _0x55333a=_0x57e7;(function(_0x20272c,_0x56587f){const _0x395291=_0x57e7,_0x41d5be=_0x20272c();while(!![]){try{const _0x43eb25=parseInt(_0x395291(0x199))/0x1+-parseInt(_0x395291(0x1a1))/0x2+-parseInt(_0x395291(0x14e))/0x3+parseInt(_0x395291(0x164))/0x4+-parseInt(_0x395291(0x1a7))/0x5+parseInt(_0x395291(0x146))/0x6+parseInt(_0x395291(0x154))/0x7*(-parseInt(_0x395291(0x1a9))/0x8);if(_0x43eb25===_0x56587f)break;else _0x41d5be['push'](_0x41d5be['shift']());}catch(_0x191a23){_0x41d5be['push'](_0x41d5be['shift']());}}}(_0x5545,0xa6517));import _0x4548cb from'sqlite3';function _0x57e7(_0x4619d1,_0x391fd3){const _0x554563=_0x5545();return _0x57e7=function(_0x57e7c9,_0x81bf93){_0x57e7c9=_0x57e7c9-0x138;let _0x43d0b7=_0x554563[_0x57e7c9];return _0x43d0b7;},_0x57e7(_0x4619d1,_0x391fd3);}import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x55333a(0x194)](_0x35b02c){const _0x52fabd=_0x55333a,_0x59d17f={'WaUtu':_0x52fabd(0x190),'LLZlV':function(_0x4a0c82,_0x457575){return _0x4a0c82(_0x457575);},'ErDHH':function(_0x437fa5,_0x279eb8){return _0x437fa5|_0x279eb8;}};if(this['db'])return;return new Promise((_0x415213,_0x1bea17)=>{const _0x3b1109=_0x52fabd,_0x52c24b={'YlBcF':_0x59d17f['WaUtu'],'iklMm':function(_0x24425e,_0x336461){return _0x59d17f['LLZlV'](_0x24425e,_0x336461);}};this['db']=new _0x4548cb[(_0x3b1109(0x177))](_0x35b02c,_0x59d17f['ErDHH'](_0x4548cb[_0x3b1109(0x1a2)],_0x4548cb[_0x3b1109(0x171)]),_0x219f07=>{const _0x28a6c3=_0x3b1109;if(_0x219f07){logError(_0x52c24b['YlBcF'],_0x219f07),_0x52c24b[_0x28a6c3(0x1b7)](_0x1bea17,_0x219f07);return;}this[_0x28a6c3(0x1aa)](),_0x415213();});});}['createTable'](){const _0x4c9b73=_0x55333a,_0x2e0c16={'hpOxZ':_0x4c9b73(0x1ad)};throw new Error(_0x2e0c16[_0x4c9b73(0x1b8)]);}[_0x55333a(0x155)](){const _0x5b4eaa=_0x55333a;this['db']?.[_0x5b4eaa(0x155)]();}}class DBUtil extends DBUtilBase{['msgCache']=new Map();[_0x55333a(0x163)]=-0x7ffffff8;constructor(){const _0x65a4d5=_0x55333a,_0x37e539={'ovZNg':function(_0x1d002b,_0x10c2de){return _0x1d002b>_0x10c2de;},'cOmQy':function(_0x59990a,_0x1a8246){return _0x59990a-_0x1a8246;},'fMEWV':function(_0x47dc0d,_0x1574b8){return _0x47dc0d*_0x1574b8;},'NACOT':function(_0x1f17c2,_0x4aced6){return _0x1f17c2(_0x4aced6);},'lAWhb':function(_0x26e294,_0x348364){return _0x26e294*_0x348364;},'GbsgQ':function(_0x25de4f,_0xff233f,_0x3bdf49){return _0x25de4f(_0xff233f,_0x3bdf49);}};super();const _0x45095c=_0x37e539[_0x65a4d5(0x16d)](0x3e8,0x3c)*0xa;_0x37e539[_0x65a4d5(0x1ae)](setInterval,()=>{const _0x6fb0a9=_0x65a4d5;_0x37e539[_0x6fb0a9(0x148)](logDebug,_0x6fb0a9(0x183)),this[_0x6fb0a9(0x14b)][_0x6fb0a9(0x1b4)]((_0x2fc6dc,_0x5f5da6)=>{const _0x1a0bc7=_0x6fb0a9;_0x37e539[_0x1a0bc7(0x1bf)](_0x37e539['cOmQy'](Date['now'](),_0x37e539[_0x1a0bc7(0x165)](_0x37e539[_0x1a0bc7(0x148)](parseInt,_0x2fc6dc[_0x1a0bc7(0x1c8)]),0x3e8)),_0x45095c)&&this['msgCache'][_0x1a0bc7(0x18b)](_0x5f5da6);});},_0x45095c);}async['init'](_0x40cb04){const _0x458029=_0x55333a;await super[_0x458029(0x194)](_0x40cb04),this[_0x458029(0x163)]=await this[_0x458029(0x188)]();}[_0x55333a(0x1aa)](){const _0x304d9c=_0x55333a,_0x4f284d={'rcvnn':function(_0x333909,_0x2dfc4d,_0x36cc34){return _0x333909(_0x2dfc4d,_0x36cc34);},'naIzY':_0x304d9c(0x16b),'eQWtu':_0x304d9c(0x19d),'obxkm':function(_0x2a3a93,_0x2c2603,_0x73460d){return _0x2a3a93(_0x2c2603,_0x73460d);}},_0xc0b6f2=_0x304d9c(0x13a);this['db'][_0x304d9c(0x1be)](_0xc0b6f2,function(_0x37d01f){const _0x3fb4fd=_0x304d9c;_0x37d01f&&_0x4f284d[_0x3fb4fd(0x19e)](logError,_0x4f284d[_0x3fb4fd(0x14a)],_0x37d01f[_0x3fb4fd(0x156)]);});const _0x1a5fbd=_0x304d9c(0x16f);this['db'][_0x304d9c(0x1be)](_0x1a5fbd,function(_0x44bd40){const _0x4dc565=_0x304d9c;_0x44bd40&&_0x4f284d[_0x4dc565(0x19e)](logError,_0x4f284d[_0x4dc565(0x1bc)],_0x44bd40);});const _0x2f1faa=_0x304d9c(0x15f);this['db'][_0x304d9c(0x1be)](_0x2f1faa,function(_0x5e532d){const _0x226e17=_0x304d9c;_0x5e532d&&_0x4f284d[_0x226e17(0x191)](logError,_0x226e17(0x17d),_0x5e532d);});}async['getCurrentMaxShortId'](){const _0x36841a=_0x55333a,_0x57d1fe={'FHeeq':_0x36841a(0x168),'acQlK':function(_0x5762ee,_0x230970){return _0x5762ee(_0x230970);},'nSsKQ':_0x36841a(0x13f),'qJuRy':_0x36841a(0x16e)};return new Promise((_0x13a87b,_0x31a22c)=>{const _0x3f27d7=_0x36841a;this['db'][_0x3f27d7(0x174)](_0x57d1fe[_0x3f27d7(0x13e)],(_0x5822dd,_0x4bcdef)=>{const _0x2daa50=_0x3f27d7;if(_0x5822dd)return logDebug(_0x57d1fe[_0x2daa50(0x1b2)],_0x5822dd),_0x57d1fe[_0x2daa50(0x142)](_0x13a87b,-0x7ffffff8);logDebug(_0x57d1fe[_0x2daa50(0x147)],_0x4bcdef?.['maxId']),_0x57d1fe[_0x2daa50(0x142)](_0x13a87b,_0x4bcdef?.[_0x2daa50(0x144)]??-0x7ffffff8);});});}async[_0x55333a(0x1a5)](_0x48a1d6,_0x517fb9){const _0xc85ec2=_0x55333a,_0x4efeef={'vaidL':function(_0x38f1f5,_0x2c0d9c,_0x59882e,_0x197926,_0x34d0bc){return _0x38f1f5(_0x2c0d9c,_0x59882e,_0x197926,_0x34d0bc);},'UOGeD':function(_0x23a016,_0x22e71e){return _0x23a016(_0x22e71e);}},_0x4e474a=this['db'][_0xc85ec2(0x1a0)](_0x48a1d6);return new Promise((_0x41b23d,_0x658f3d)=>{const _0x651823=_0xc85ec2,_0x228a76={'eIlSu':function(_0xfca80f,_0x90bd72){const _0x294fb3=_0x57e7;return _0x4efeef[_0x294fb3(0x13c)](_0xfca80f,_0x90bd72);}};_0x4e474a[_0x651823(0x174)](..._0x517fb9,(_0x3e4b43,_0x43a872)=>{const _0x46526f=_0x651823,_0x252b3c={'WBJrq':function(_0x12eb9d,_0x385241){return _0x12eb9d(_0x385241);}};if(_0x3e4b43)return _0x4efeef[_0x46526f(0x145)](logError,'Could\x20not\x20get\x20msg',_0x3e4b43,_0x48a1d6,_0x517fb9),_0x41b23d(null);if(!_0x43a872){_0x4efeef[_0x46526f(0x13c)](_0x41b23d,null);return;}const _0x19e9f0=_0x43a872[_0x46526f(0x14d)];NTQQMsgApi[_0x46526f(0x17b)]({'peerUid':_0x43a872['peerUid'],'chatType':_0x43a872['chatType']},[_0x19e9f0])['then'](_0x39af58=>{const _0x252044=_0x46526f,_0x58465b=_0x39af58[_0x252044(0x1ab)][0x0];if(!_0x58465b){_0x228a76[_0x252044(0x1c6)](_0x41b23d,null);return;}_0x58465b['id']=_0x43a872[_0x252044(0x1bb)],_0x41b23d(_0x58465b);})[_0x46526f(0x175)](_0x3530aa=>{const _0x562753=_0x46526f;_0x252b3c[_0x562753(0x15c)](_0x41b23d,null);});});});}async[_0x55333a(0x181)](_0x4fbd76){const _0x592561=_0x55333a,_0x16e6bb={'KPGzJ':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?'};if(this[_0x592561(0x14b)][_0x592561(0x169)](_0x4fbd76))return this[_0x592561(0x14b)][_0x592561(0x174)](_0x4fbd76);const _0x231fe8=_0x16e6bb[_0x592561(0x14c)];return this['getMsg'](_0x231fe8,[_0x4fbd76]);}async[_0x55333a(0x139)](_0x1d6395){const _0x27d9c4=_0x55333a,_0x804c05={'WRHWA':'SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?'};if(this[_0x27d9c4(0x14b)][_0x27d9c4(0x169)](_0x1d6395))return this[_0x27d9c4(0x14b)][_0x27d9c4(0x174)](_0x1d6395);return this['getMsg'](_0x804c05[_0x27d9c4(0x141)],[_0x1d6395]);}async[_0x55333a(0x1a8)](_0x3a6f33,_0x3a787e){const _0x2b890d=_0x55333a,_0x368988={'CADef':_0x2b890d(0x172)},_0x39100c=_0x368988[_0x2b890d(0x18a)];return this['getMsg'](_0x39100c,[_0x3a6f33,_0x3a787e]);}async['addMsg'](_0x41680f,_0x43453a=!![]){const _0x408a13=_0x55333a,_0x33cbba={'IEjJE':function(_0x45d333,_0x17ea18,_0x4e2182){return _0x45d333(_0x17ea18,_0x4e2182);},'juCqs':function(_0x5d6516,_0x11cd76){return _0x5d6516===_0x11cd76;},'GyiCW':function(_0xe2e0f4,_0x9619a6,_0x284770){return _0xe2e0f4(_0x9619a6,_0x284770);},'AfLdX':'db\x20could\x20not\x20add\x20msg','GhyWe':'INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','BdBGu':function(_0x52b4bd,_0x5710b2){return _0x52b4bd(_0x5710b2);}},_0x34f511=await this[_0x408a13(0x139)](_0x41680f[_0x408a13(0x1bd)]);if(_0x34f511){if(_0x43453a)this[_0x408a13(0x17f)](_0x41680f)[_0x408a13(0x152)]();return _0x34f511['id'];}const _0x10c7f0=this['db'][_0x408a13(0x1a0)](_0x33cbba[_0x408a13(0x178)]),_0x2d9493=++this[_0x408a13(0x163)];return _0x41680f['id']=_0x2d9493,_0x33cbba['BdBGu'](logDebug,'记录消息到数据库,\x20消息长id:\x20'+_0x41680f['msgId']+_0x408a13(0x1a4)+_0x41680f['id']),this['msgCache'][_0x408a13(0x196)](_0x2d9493,_0x41680f),this[_0x408a13(0x14b)][_0x408a13(0x196)](_0x41680f[_0x408a13(0x1bd)],_0x41680f),_0x10c7f0['run'](this['globalMsgShortId'],_0x41680f[_0x408a13(0x1bd)],_0x41680f[_0x408a13(0x14f)][_0x408a13(0x1b6)](),_0x41680f[_0x408a13(0x1c7)],_0x41680f[_0x408a13(0x1c4)],_0x361f81=>{const _0x1e77b6=_0x408a13;_0x361f81&&(_0x33cbba[_0x1e77b6(0x15a)](_0x361f81[_0x1e77b6(0x15d)],0x13)?this[_0x1e77b6(0x139)](_0x41680f['msgId'])[_0x1e77b6(0x152)](_0x51a57a=>{const _0x180c83=_0x1e77b6;_0x51a57a?(this[_0x180c83(0x14b)][_0x180c83(0x196)](_0x2d9493,_0x51a57a),this[_0x180c83(0x14b)]['set'](_0x51a57a[_0x180c83(0x1bd)],_0x51a57a)):_0x33cbba['IEjJE'](logError,_0x180c83(0x179),_0x361f81);})[_0x1e77b6(0x175)](_0xb7296a=>logError(_0x1e77b6(0x1b1),_0xb7296a)):_0x33cbba[_0x1e77b6(0x157)](logError,_0x33cbba[_0x1e77b6(0x185)],_0x361f81));}),_0x2d9493;}async['updateMsg'](_0x4109d9){const _0x25715d=_0x55333a,_0x578f2c={'XvCJS':function(_0x45df94,_0x7a8732,_0xb7d731){return _0x45df94(_0x7a8732,_0xb7d731);},'ybuKK':_0x25715d(0x1c0)},_0x79cefd=this[_0x25715d(0x14b)]['get'](_0x4109d9['msgId']);_0x79cefd&&Object[_0x25715d(0x176)](_0x79cefd,_0x4109d9);logDebug(_0x25715d(0x189)+_0x4109d9['id']+_0x25715d(0x170)+_0x4109d9[_0x25715d(0x14f)]+_0x25715d(0x195)+_0x4109d9[_0x25715d(0x1bd)]);const _0x1d5b65=this['db']['prepare'](_0x25715d(0x1b9));_0x1d5b65[_0x25715d(0x1be)](_0x4109d9[_0x25715d(0x14f)],_0x4109d9[_0x25715d(0x1bd)],_0x1e330f=>{const _0xcb1e8e=_0x25715d;_0x1e330f&&_0x578f2c[_0xcb1e8e(0x180)](logError,_0x578f2c[_0xcb1e8e(0x18e)],_0x1e330f);});}async[_0x55333a(0x1c3)](_0xbe638c){const _0x2d8432=_0x55333a,_0x1e44c6={'QZlck':_0x2d8432(0x140),'RNOmN':function(_0x2ff2a5,_0x148050){return _0x2ff2a5(_0x148050);},'FotMW':function(_0x80960d,_0x49bc64){return _0x80960d(_0x49bc64);}},_0x3d51d5=this['db']['prepare'](_0x2d8432(0x1a6));return new Promise((_0x32de76,_0x459711)=>{const _0x11de84=_0x2d8432,_0x3f61c4={'HODWe':function(_0x362292,_0x36c590,_0x3df70b){return _0x362292(_0x36c590,_0x3df70b);},'tAPWU':_0x1e44c6['QZlck'],'Wsghj':function(_0x364eac,_0x38c198){const _0x5ea061=_0x57e7;return _0x1e44c6[_0x5ea061(0x159)](_0x364eac,_0x38c198);},'ZvrHL':function(_0x177cea,_0x4139cf){const _0x459403=_0x57e7;return _0x1e44c6[_0x459403(0x17c)](_0x177cea,_0x4139cf);}};_0x3d51d5['run'](_0xbe638c[_0x11de84(0x182)],_0xbe638c[_0x11de84(0x16c)],_0xbe638c['url'],_0xbe638c[_0x11de84(0x13b)],_0xbe638c[_0x11de84(0x149)],_0xbe638c['elementType'],JSON[_0x11de84(0x18c)](_0xbe638c['element']),_0xbe638c[_0x11de84(0x1c5)],_0xbe638c[_0x11de84(0x1bd)],function(_0x5c5c85){const _0x45e53f=_0x11de84;_0x5c5c85&&(_0x3f61c4['HODWe'](logError,_0x3f61c4[_0x45e53f(0x184)],_0x5c5c85),_0x3f61c4['Wsghj'](_0x459711,_0x5c5c85)),_0x3f61c4['ZvrHL'](_0x32de76,null);});});}async['getFileCache'](_0x396663,_0x4c7fb0){const _0x33b8ba=_0x55333a,_0x25912d={'wrqou':function(_0x415fdd,_0x1b2b0a,_0x250935){return _0x415fdd(_0x1b2b0a,_0x250935);},'JFtoc':_0x33b8ba(0x19f),'qtTjw':function(_0x15c9e8,_0x5dd1ae){return _0x15c9e8(_0x5dd1ae);}},_0x58713d=this['db']['prepare'](_0x396663);return new Promise((_0x2923c1,_0x4a2c37)=>{const _0x421017=_0x33b8ba,_0x54559d={'ceacB':function(_0xe184e6,_0x4f5665,_0x243485){const _0x7890c8=_0x57e7;return _0x25912d[_0x7890c8(0x150)](_0xe184e6,_0x4f5665,_0x243485);},'Iwhxk':_0x25912d[_0x421017(0x17a)],'irfqv':function(_0x588e08,_0x5aa858){return _0x25912d['qtTjw'](_0x588e08,_0x5aa858);}};_0x58713d['get'](..._0x4c7fb0,(_0x2430da,_0x42f3ac)=>{const _0x44bbf8=_0x421017;_0x2430da&&(_0x54559d['ceacB'](logError,_0x54559d[_0x44bbf8(0x1b0)],_0x2430da),_0x4a2c37(_0x2430da)),_0x42f3ac&&(_0x42f3ac['element']=JSON[_0x44bbf8(0x18d)](_0x42f3ac['element'])),_0x54559d[_0x44bbf8(0x19c)](_0x2923c1,_0x42f3ac);});});}async['getFileCacheByName'](_0x451e23){const _0x46e721=_0x55333a;return this[_0x46e721(0x186)]('SELECT\x20*\x20FROM\x20files\x20WHERE\x20name\x20=\x20?',[_0x451e23]);}async['getFileCacheByUuid'](_0x1c48f6){const _0x5a73eb=_0x55333a,_0x44af42={'zkTEv':_0x5a73eb(0x153)};return this['getFileCache'](_0x44af42[_0x5a73eb(0x17e)],[_0x1c48f6]);}async[_0x55333a(0x166)](_0x3ccd5e){const _0x113de0=_0x55333a,_0x7156f1={'TzfPv':_0x113de0(0x162)},_0x325035=this['db'][_0x113de0(0x1a0)](_0x7156f1[_0x113de0(0x1c1)]);return new Promise((_0x2faa46,_0x1a0f78)=>{const _0x1cba0c=_0x113de0,_0x87c693={'iYiva':function(_0x2f6b98,_0x521cfc,_0x3190c7){return _0x2f6b98(_0x521cfc,_0x3190c7);}};_0x325035[_0x1cba0c(0x1be)](_0x3ccd5e[_0x1cba0c(0x16c)],_0x3ccd5e[_0x1cba0c(0x13d)],_0x3ccd5e[_0x1cba0c(0x149)],function(_0x352c50){const _0x563fb5=_0x1cba0c;_0x352c50&&(_0x87c693[_0x563fb5(0x193)](logError,_0x563fb5(0x192),_0x352c50),_0x1a0f78(_0x352c50)),_0x2faa46(null);});});}async[_0x55333a(0x1a3)](){const _0x5049e8=_0x55333a,_0x5ac977={'Bfuuf':function(_0x3baf21,_0x99752a,_0xf90c16){return _0x3baf21(_0x99752a,_0xf90c16);},'sBUVU':'db\x20could\x20not\x20get\x20temp\x20uin\x20map','YHaJt':function(_0x4a9457,_0x4bd39d){return _0x4a9457(_0x4bd39d);}},_0x15f820=_0x5049e8(0x173);return new Promise((_0x55323e,_0x1bab7a)=>{const _0x32d83a=_0x5049e8,_0x247c82={'zQaPP':function(_0x4e0a7d,_0x4218fb,_0x174acb){const _0x369353=_0x57e7;return _0x5ac977[_0x369353(0x18f)](_0x4e0a7d,_0x4218fb,_0x174acb);},'NPqGk':_0x5ac977[_0x32d83a(0x1b5)],'gNEUJ':function(_0x4bcba0,_0x335976){const _0x1150c6=_0x32d83a;return _0x5ac977[_0x1150c6(0x15e)](_0x4bcba0,_0x335976);}};this['db'][_0x32d83a(0x15b)](_0x15f820,(_0x2565a7,_0x468ecf)=>{const _0x15bcdc=_0x32d83a;_0x2565a7&&(_0x247c82[_0x15bcdc(0x138)](logError,_0x247c82['NPqGk'],_0x2565a7),_0x247c82['gNEUJ'](_0x1bab7a,_0x2565a7));const _0x2ea7fa={};_0x468ecf[_0x15bcdc(0x1b4)](_0x283e78=>{const _0x639d6=_0x15bcdc;_0x2ea7fa[_0x283e78[_0x639d6(0x198)]]=_0x283e78[_0x639d6(0x16a)];}),_0x247c82['gNEUJ'](_0x55323e,_0x2ea7fa);});});}async[_0x55333a(0x1c2)](_0xb98ebf){const _0x451e58=_0x55333a,_0x1ada7d={'rNRTu':function(_0x484bed,_0x1acb64,_0x530f3c){return _0x484bed(_0x1acb64,_0x530f3c);},'BfJsq':_0x451e58(0x19b),'WnXeD':function(_0x1e9544,_0x57e00e){return _0x1e9544(_0x57e00e);},'HAxmK':_0x451e58(0x19a)},_0x174810=_0x1ada7d['HAxmK'];return new Promise((_0x35b20c,_0x15312b)=>{const _0x180066=_0x451e58,_0x155715={'SnMqx':function(_0x24534c,_0x2e5735,_0x4d4f36){return _0x1ada7d['rNRTu'](_0x24534c,_0x2e5735,_0x4d4f36);},'bBuyV':_0x1ada7d[_0x180066(0x167)],'GjgKK':function(_0x20548d,_0x356553){return _0x20548d(_0x356553);},'UMnpZ':function(_0x23b7b4,_0x4721ee){const _0x29b8a8=_0x180066;return _0x1ada7d[_0x29b8a8(0x160)](_0x23b7b4,_0x4721ee);}};this['db'][_0x180066(0x174)](_0x174810,[_0xb98ebf],(_0x451f31,_0x3a8c06)=>{const _0x1acff2=_0x180066;_0x451f31&&(_0x155715[_0x1acff2(0x197)](logError,_0x155715[_0x1acff2(0x1b3)],_0x451f31),_0x155715['GjgKK'](_0x15312b,_0x451f31)),_0x155715[_0x1acff2(0x151)](_0x35b20c,_0x3a8c06?.['uid']);});});}async[_0x55333a(0x161)](_0x26bdd5,_0x37a798){const _0x32b273=_0x55333a,_0x26052f={'KIoPM':function(_0x337ee1,_0x4ee2f4,_0x425a4c){return _0x337ee1(_0x4ee2f4,_0x425a4c);},'QnIyA':_0x32b273(0x158),'yjsVO':function(_0x5e7c06,_0x291ffa){return _0x5e7c06(_0x291ffa);},'PTuCe':_0x32b273(0x187)},_0x14539b=await this[_0x32b273(0x1c2)](_0x26bdd5);if(!_0x14539b){const _0x20a6b5=this['db'][_0x32b273(0x1a0)](_0x26052f[_0x32b273(0x1af)]);return new Promise((_0x5e9025,_0x296e6d)=>{_0x20a6b5['run'](_0x26bdd5,_0x37a798,function(_0x3fc0d7){const _0x4c3f72=_0x57e7;_0x3fc0d7&&(_0x26052f[_0x4c3f72(0x1ac)](logError,_0x26052f[_0x4c3f72(0x1ba)],_0x3fc0d7),_0x26052f[_0x4c3f72(0x143)](_0x296e6d,_0x3fc0d7)),_0x5e9025(null);});});}}}function _0x5545(){const _0x2c0557=['\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)','size','UOGeD','url','qJuRy','数据库中消息最大短id','db\x20could\x20not\x20add\x20file','WRHWA','acQlK','yjsVO','maxId','vaidL','5417706DQBGwc','nSsKQ','NACOT','uuid','naIzY','msgCache','KPGzJ','longId','482247GcIbWf','msgSeq','wrqou','UMnpZ','then','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','305333pcqZnF','close','stack','GyiCW','db\x20could\x20not\x20add\x20temp\x20uin','RNOmN','juCqs','all','WBJrq','errno','YHaJt','\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)','WnXeD','addTempUin','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','globalMsgShortId','4912300TqJmyJ','fMEWV','updateFileCache','BfJsq','Could\x20not\x20get\x20max\x20short\x20id,\x20Use\x20default\x20-2147483640','has','uid','Could\x20not\x20create\x20table\x20msgs','path','lAWhb','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','\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)',',\x20seq:\x20','OPEN_CREATE','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','SELECT\x20*\x20FROM\x20temp_uins','get','catch','assign','Database','GhyWe','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','JFtoc','getMsgsByMsgId','FotMW','Could\x20not\x20create\x20table\x20temp_uins','zkTEv','updateMsg','XvCJS','getMsgByShortId','name','清理消息缓存','tAPWU','AfLdX','getFileCache','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','getCurrentMaxShortId','更新消息,\x20shortId:','CADef','delete','stringify','parse','ybuKK','Bfuuf','Could\x20not\x20connect\x20to\x20database','obxkm','db\x20could\x20not\x20update\x20file\x20cache','iYiva','init',',\x20msgId:\x20','set','SnMqx','uin','265676tVSLzH','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','db\x20could\x20not\x20get\x20temp\x20uin\x20map','irfqv','Could\x20not\x20create\x20table\x20files','rcvnn','db\x20could\x20not\x20get\x20file\x20cache','prepare','230052krHvcs','OPEN_READWRITE','getReceivedTempUinMap',',\x20短id:\x20','getMsg','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','1091780swQTab','getMsgBySeq','224UoLltO','createTable','msgList','KIoPM','Method\x20not\x20implemented.','GbsgQ','PTuCe','Iwhxk','db\x20getMsgByLongId\x20error','FHeeq','bBuyV','forEach','sBUVU','toString','iklMm','hpOxZ','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','QnIyA','shortId','eQWtu','msgId','run','ovZNg','updateMsg\x20db\x20error','TzfPv','getUidByTempUin','addFileCache','chatType','elementId','eIlSu','peerUid','msgTime','zQaPP','getMsgByLongId'];_0x5545=function(){return _0x2c0557;};return _0x5545();}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 d061d68f..e142899a 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x47f3a7=_0x3f27;function _0x3695(){const _0x55a216=['existsSync','execPath','resources/app/versions/','2JzNSWm','join','resolve','12676aBwTHA','1760444itmNNi','./resources/app/wrapper.node','923712YgQPdF','7937810qCZZIq','8vcpzdC','405774JdBBvl','620316PrckVj','curVersion','dirname','/wrapper.node','6rAUASi','789545TJToun'];_0x3695=function(){return _0x55a216;};return _0x3695();}(function(_0x4d9d3c,_0x4f9b61){const _0x39d869=_0x3f27,_0x3eabb3=_0x4d9d3c();while(!![]){try{const _0x54695e=parseInt(_0x39d869(0x1e9))/0x1*(-parseInt(_0x39d869(0x1ec))/0x2)+-parseInt(_0x39d869(0x1ef))/0x3+parseInt(_0x39d869(0x1f3))/0x4+-parseInt(_0x39d869(0x1f8))/0x5*(parseInt(_0x39d869(0x1f7))/0x6)+-parseInt(_0x39d869(0x1ed))/0x7+-parseInt(_0x39d869(0x1f1))/0x8*(parseInt(_0x39d869(0x1f2))/0x9)+parseInt(_0x39d869(0x1f0))/0xa;if(_0x54695e===_0x4f9b61)break;else _0x3eabb3['push'](_0x3eabb3['shift']());}catch(_0x4f245b){_0x3eabb3['push'](_0x3eabb3['shift']());}}}(_0x3695,0x2a6e1));import _0x3a1f11 from'node:path';function _0x3f27(_0x12c9ff,_0x827aeb){const _0x369557=_0x3695();return _0x3f27=function(_0x3f27cd,_0x53b59f){_0x3f27cd=_0x3f27cd-0x1e7;let _0x452d5d=_0x369557[_0x3f27cd];return _0x452d5d;},_0x3f27(_0x12c9ff,_0x827aeb);}import _0x2ed59d from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x3a1f11[_0x47f3a7(0x1eb)](_0x3a1f11[_0x47f3a7(0x1f5)](process[_0x47f3a7(0x1e7)]),_0x47f3a7(0x1ee));!_0x2ed59d[_0x47f3a7(0x1f9)](wrapperNodePath)&&(wrapperNodePath=_0x3a1f11[_0x47f3a7(0x1ea)](_0x3a1f11['dirname'](process['execPath']),_0x47f3a7(0x1e8)+qqVersionConfigInfo[_0x47f3a7(0x1f4)]+_0x47f3a7(0x1f6)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file +function _0x26ba(_0x47e092,_0x20f262){const _0x451e83=_0x451e();return _0x26ba=function(_0x26bafb,_0x34a8a5){_0x26bafb=_0x26bafb-0x13d;let _0x48fff8=_0x451e83[_0x26bafb];return _0x48fff8;},_0x26ba(_0x47e092,_0x20f262);}function _0x451e(){const _0x5de46e=['1544LnzOjv','26042148rvrGDF','dirname','join','48162BnmIxC','555708yipXRt','2492785asIJUJ','resolve','execPath','277835jCZrrw','30cyeBHU','curVersion','/wrapper.node','4066296ZBScPy','31969qpODnE'];_0x451e=function(){return _0x5de46e;};return _0x451e();}const _0x949678=_0x26ba;(function(_0x538f9e,_0xae9b32){const _0x4b42bf=_0x26ba,_0x5d95b6=_0x538f9e();while(!![]){try{const _0x47437b=-parseInt(_0x4b42bf(0x146))/0x1+-parseInt(_0x4b42bf(0x141))/0x2*(parseInt(_0x4b42bf(0x147))/0x3)+parseInt(_0x4b42bf(0x142))/0x4+-parseInt(_0x4b42bf(0x143))/0x5+-parseInt(_0x4b42bf(0x14a))/0x6+-parseInt(_0x4b42bf(0x14b))/0x7*(parseInt(_0x4b42bf(0x13d))/0x8)+parseInt(_0x4b42bf(0x13e))/0x9;if(_0x47437b===_0xae9b32)break;else _0x5d95b6['push'](_0x5d95b6['shift']());}catch(_0x1cdd1f){_0x5d95b6['push'](_0x5d95b6['shift']());}}}(_0x451e,0x6f5d6));import _0xc19b2e from'node:path';import _0x43a083 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0xc19b2e[_0x949678(0x144)](_0xc19b2e[_0x949678(0x13f)](process[_0x949678(0x145)]),'./resources/app/wrapper.node');!_0x43a083['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xc19b2e[_0x949678(0x140)](_0xc19b2e[_0x949678(0x13f)](process[_0x949678(0x145)]),'resources/app/versions/'+qqVersionConfigInfo[_0x949678(0x148)]+_0x949678(0x149)));const QQWrapper=require(wrapperNodePath);export default QQWrapper; \ No newline at end of file