diff --git a/src/core b/src/core index 658ff94d6..f7e1d4cc8 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 658ff94d697732edb652af089e2308a563dee740 +Subproject commit f7e1d4cc856df7eadc907a3742615160212d3170 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 7d126f028..d61125c42 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5d45ba=_0x45f4;function _0x45f4(_0x44e490,_0x38aec7){var _0x5deaca=_0x5dea();return _0x45f4=function(_0x45f456,_0x523741){_0x45f456=_0x45f456-0x1e4;var _0x3d1278=_0x5deaca[_0x45f456];return _0x3d1278;},_0x45f4(_0x44e490,_0x38aec7);}function _0x5dea(){var _0x5e735a=['onMSFStatusChange','2RIaAEC','29480eRCTKF','getGroupCode','987KrMoNx','623040RfwnOX','7007900oHOLDG','1531677nVKMUZ','1196928xWXwkP','4734whVRoh','885912SGCfCF','onMSFSsoError','3075smPsjw'];_0x5dea=function(){return _0x5e735a;};return _0x5dea();}(function(_0x545333,_0x220bfc){var _0xccd8c7=_0x45f4,_0x397e66=_0x545333();while(!![]){try{var _0x1670ce=parseInt(_0xccd8c7(0x1ee))/0x1+-parseInt(_0xccd8c7(0x1ea))/0x2*(parseInt(_0xccd8c7(0x1f0))/0x3)+-parseInt(_0xccd8c7(0x1e6))/0x4+parseInt(_0xccd8c7(0x1e8))/0x5*(-parseInt(_0xccd8c7(0x1e5))/0x6)+parseInt(_0xccd8c7(0x1ed))/0x7*(parseInt(_0xccd8c7(0x1eb))/0x8)+-parseInt(_0xccd8c7(0x1e4))/0x9+parseInt(_0xccd8c7(0x1ef))/0xa;if(_0x1670ce===_0x220bfc)break;else _0x397e66['push'](_0x397e66['shift']());}catch(_0x14bdbf){_0x397e66['push'](_0x397e66['shift']());}}}(_0x5dea,0x7865f));export class DependsAdapter{[_0x5d45ba(0x1e9)](_0x233c16,_0x171c24){}[_0x5d45ba(0x1e7)](_0x4352a7){}[_0x5d45ba(0x1ec)](_0x1f0d4d){}} \ No newline at end of file +var _0x19d08f=_0x5895;function _0x5895(_0x472c83,_0x3c8a68){var _0x1a5902=_0x1a59();return _0x5895=function(_0x58955f,_0x375025){_0x58955f=_0x58955f-0x178;var _0xf5db49=_0x1a5902[_0x58955f];return _0xf5db49;},_0x5895(_0x472c83,_0x3c8a68);}function _0x1a59(){var _0x1fa1b3=['36RAnFrw','getGroupCode','563674UvVTiK','6avsGsS','595330yoxjBS','367245GGOjid','15916868MSGiMH','963036duIyRl','7BxEuQz','4632640qoTqjv','1622965eQfLCn','onMSFSsoError','6ZUVIfd'];_0x1a59=function(){return _0x1fa1b3;};return _0x1a59();}(function(_0x511e5a,_0x19a96f){var _0x1aa257=_0x5895,_0x404976=_0x511e5a();while(!![]){try{var _0x1a0568=-parseInt(_0x1aa257(0x179))/0x1+parseInt(_0x1aa257(0x183))/0x2*(-parseInt(_0x1aa257(0x180))/0x3)+-parseInt(_0x1aa257(0x17b))/0x4+parseInt(_0x1aa257(0x17e))/0x5*(-parseInt(_0x1aa257(0x184))/0x6)+-parseInt(_0x1aa257(0x17c))/0x7*(-parseInt(_0x1aa257(0x17d))/0x8)+parseInt(_0x1aa257(0x181))/0x9*(-parseInt(_0x1aa257(0x178))/0xa)+parseInt(_0x1aa257(0x17a))/0xb;if(_0x1a0568===_0x19a96f)break;else _0x404976['push'](_0x404976['shift']());}catch(_0x200042){_0x404976['push'](_0x404976['shift']());}}}(_0x1a59,0x47351));export class DependsAdapter{['onMSFStatusChange'](_0xe80259,_0x5da335){}[_0x19d08f(0x17f)](_0xdb2e76){}[_0x19d08f(0x182)](_0x1ca655){}} \ 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 2d76630d0..1be0f042e 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x2ad13b=_0x5ad7;function _0x4abb(){var _0x537a7a=['960EgeVWp','dispatchRequest','408695KXFapV','2884005wZkLBy','9770MtJYqU','3jaaltY','20005qnGMxX','dispatchCall','56796vkJMjW','3515132HgWJlD','2nhLcWD','8063UAUcTe','595567GFPAyM','8uWYFGt','dispatchCallWithJson','91OzMSBM'];_0x4abb=function(){return _0x537a7a;};return _0x4abb();}function _0x5ad7(_0x4429e8,_0x54b55a){var _0x4abbee=_0x4abb();return _0x5ad7=function(_0x5ad780,_0x16ed60){_0x5ad780=_0x5ad780-0xdc;var _0x271b7d=_0x4abbee[_0x5ad780];return _0x271b7d;},_0x5ad7(_0x4429e8,_0x54b55a);}(function(_0x100fff,_0x190d9d){var _0x4b5ca9=_0x5ad7,_0x5b7594=_0x100fff();while(!![]){try{var _0x22741a=parseInt(_0x4b5ca9(0xe5))/0x1*(-parseInt(_0x4b5ca9(0xdd))/0x2)+parseInt(_0x4b5ca9(0xe8))/0x3*(parseInt(_0x4b5ca9(0xdc))/0x4)+-parseInt(_0x4b5ca9(0xe9))/0x5*(-parseInt(_0x4b5ca9(0xe3))/0x6)+parseInt(_0x4b5ca9(0xdf))/0x7*(parseInt(_0x4b5ca9(0xe0))/0x8)+parseInt(_0x4b5ca9(0xe6))/0x9+-parseInt(_0x4b5ca9(0xe7))/0xa*(parseInt(_0x4b5ca9(0xde))/0xb)+-parseInt(_0x4b5ca9(0xeb))/0xc*(-parseInt(_0x4b5ca9(0xe2))/0xd);if(_0x22741a===_0x190d9d)break;else _0x5b7594['push'](_0x5b7594['shift']());}catch(_0x4590fd){_0x5b7594['push'](_0x5b7594['shift']());}}}(_0x4abb,0xcb4fc));export class DispatcherAdapter{[_0x2ad13b(0xe4)](_0x5dfd5e){}[_0x2ad13b(0xea)](_0x403d38){}[_0x2ad13b(0xe1)](_0x4cbb31){}} \ No newline at end of file +function _0x1603(_0x2d6410,_0x45ca94){var _0x490dd3=_0x490d();return _0x1603=function(_0x1603f9,_0x34fb11){_0x1603f9=_0x1603f9-0x172;var _0x5bdac5=_0x490dd3[_0x1603f9];return _0x5bdac5;},_0x1603(_0x2d6410,_0x45ca94);}var _0x467c14=_0x1603;function _0x490d(){var _0x5aaa2a=['9934kVdwXc','5428260FmlYyj','dispatchCallWithJson','3718603jjiBCI','92QrEWPx','3020988aWhtsN','8975xPvEOu','24IrcGWs','121fxlhyd','1674873KRUChZ','3966GrFWkn','16YqBNSK','176084NweZJU'];_0x490d=function(){return _0x5aaa2a;};return _0x490d();}(function(_0x3d45a1,_0x2ca3db){var _0x46dada=_0x1603,_0x275b8b=_0x3d45a1();while(!![]){try{var _0x540d37=-parseInt(_0x46dada(0x178))/0x1*(-parseInt(_0x46dada(0x17c))/0x2)+-parseInt(_0x46dada(0x172))/0x3*(-parseInt(_0x46dada(0x177))/0x4)+-parseInt(_0x46dada(0x17e))/0x5*(-parseInt(_0x46dada(0x175))/0x6)+parseInt(_0x46dada(0x17b))/0x7*(parseInt(_0x46dada(0x176))/0x8)+-parseInt(_0x46dada(0x174))/0x9+parseInt(_0x46dada(0x179))/0xa+-parseInt(_0x46dada(0x173))/0xb*(parseInt(_0x46dada(0x17d))/0xc);if(_0x540d37===_0x2ca3db)break;else _0x275b8b['push'](_0x275b8b['shift']());}catch(_0x4b9c71){_0x275b8b['push'](_0x275b8b['shift']());}}}(_0x490d,0x9d9c7));export class DispatcherAdapter{['dispatchRequest'](_0x192cef){}['dispatchCall'](_0x357038){}[_0x467c14(0x17a)](_0x237c55){}} \ 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 3ed82a690..c29072d2c 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x2bb3(_0x267c6d,_0x1247a3){var _0x3def98=_0x3def();return _0x2bb3=function(_0x2bb39d,_0x325723){_0x2bb39d=_0x2bb39d-0x78;var _0x3faebe=_0x3def98[_0x2bb39d];return _0x3faebe;},_0x2bb3(_0x267c6d,_0x1247a3);}function _0x3def(){var _0x56165c=['4mqqXzq','getAppSetting','onShowErrUITips','337mJmBvt','27410ZqvQxp','24087KDNYIC','onUpdateGeneralFlag','1128325DTaioB','2165184TLeQPz','1322VfwLGi','onGetOfflineMsg','7qNgjyy','fixPicImgType','651620itOfyS','1206IJQKhl','onInstallFinished','onLog','1867832vyYIfb','onGetSrvCalTime'];_0x3def=function(){return _0x56165c;};return _0x3def();}var _0x36a2bd=_0x2bb3;(function(_0x52181f,_0x516809){var _0x192a57=_0x2bb3,_0x12551c=_0x52181f();while(!![]){try{var _0x64e0a8=-parseInt(_0x192a57(0x7f))/0x1*(-parseInt(_0x192a57(0x85))/0x2)+-parseInt(_0x192a57(0x81))/0x3*(-parseInt(_0x192a57(0x7c))/0x4)+-parseInt(_0x192a57(0x89))/0x5+parseInt(_0x192a57(0x84))/0x6+-parseInt(_0x192a57(0x87))/0x7*(-parseInt(_0x192a57(0x7a))/0x8)+parseInt(_0x192a57(0x8a))/0x9*(-parseInt(_0x192a57(0x80))/0xa)+-parseInt(_0x192a57(0x83))/0xb;if(_0x64e0a8===_0x516809)break;else _0x12551c['push'](_0x12551c['shift']());}catch(_0x4d98de){_0x12551c['push'](_0x12551c['shift']());}}}(_0x3def,0x36ea8));export class GlobalAdapter{[_0x36a2bd(0x79)](..._0xdfd026){}[_0x36a2bd(0x7b)](..._0x566313){}[_0x36a2bd(0x7e)](..._0xc632c7){}[_0x36a2bd(0x88)](..._0x93abce){}[_0x36a2bd(0x7d)](..._0x40986f){}[_0x36a2bd(0x78)](..._0x1aee90){}[_0x36a2bd(0x82)](..._0xe07080){}[_0x36a2bd(0x86)](..._0x5efbe9){}} \ No newline at end of file +var _0x58d783=_0x437c;function _0x437c(_0x23de80,_0x96edff){var _0xd5108b=_0xd510();return _0x437c=function(_0x437c29,_0x212a65){_0x437c29=_0x437c29-0x1bd;var _0x21a097=_0xd5108b[_0x437c29];return _0x21a097;},_0x437c(_0x23de80,_0x96edff);}(function(_0x30f2c7,_0x23abc6){var _0x436c46=_0x437c,_0x615af=_0x30f2c7();while(!![]){try{var _0x14b8a6=-parseInt(_0x436c46(0x1c8))/0x1*(-parseInt(_0x436c46(0x1c4))/0x2)+-parseInt(_0x436c46(0x1be))/0x3+parseInt(_0x436c46(0x1c0))/0x4+parseInt(_0x436c46(0x1c7))/0x5+parseInt(_0x436c46(0x1ca))/0x6+parseInt(_0x436c46(0x1c2))/0x7*(-parseInt(_0x436c46(0x1c6))/0x8)+-parseInt(_0x436c46(0x1c9))/0x9*(parseInt(_0x436c46(0x1bf))/0xa);if(_0x14b8a6===_0x23abc6)break;else _0x615af['push'](_0x615af['shift']());}catch(_0x4ebfe3){_0x615af['push'](_0x615af['shift']());}}}(_0xd510,0xed1bb));function _0xd510(){var _0x5730de=['791dbZrkq','6537699spkkwM','9937986xBMrob','onGetSrvCalTime','3685911RDpUxZ','30yOdeCT','1133932bDNbvf','getAppSetting','357BFjdLs','onLog','3570uAbwUM','onShowErrUITips','121752JfebBA','9017425IUpuTD'];_0xd510=function(){return _0x5730de;};return _0xd510();}export class GlobalAdapter{[_0x58d783(0x1c3)](..._0x586074){}[_0x58d783(0x1bd)](..._0x5da6c7){}[_0x58d783(0x1c5)](..._0x5bc6a2){}['fixPicImgType'](..._0x12be31){}[_0x58d783(0x1c1)](..._0x6a8351){}['onInstallFinished'](..._0x514bd4){}['onUpdateGeneralFlag'](..._0x451c76){}['onGetOfflineMsg'](..._0x3c274f){}} \ 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 c84ce22c8..eae34138c 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -function _0x5650(_0x1ae3cc,_0xf41a1d){var _0x32cec8=_0x32ce();return _0x5650=function(_0x565038,_0x1dd77a){_0x565038=_0x565038-0x10f;var _0x48a686=_0x32cec8[_0x565038];return _0x48a686;},_0x5650(_0x1ae3cc,_0xf41a1d);}(function(_0x27376f,_0x108381){var _0x257d8f=_0x5650,_0x10125b=_0x27376f();while(!![]){try{var _0x39d84b=parseInt(_0x257d8f(0x116))/0x1+-parseInt(_0x257d8f(0x111))/0x2*(parseInt(_0x257d8f(0x10f))/0x3)+parseInt(_0x257d8f(0x113))/0x4+parseInt(_0x257d8f(0x112))/0x5+-parseInt(_0x257d8f(0x110))/0x6+parseInt(_0x257d8f(0x114))/0x7+-parseInt(_0x257d8f(0x115))/0x8;if(_0x39d84b===_0x108381)break;else _0x10125b['push'](_0x10125b['shift']());}catch(_0x30eb3a){_0x10125b['push'](_0x10125b['shift']());}}}(_0x32ce,0x9b19d));function _0x32ce(){var _0x37dd4a=['5793970WlAjAs','3839372UEjMdl','7728679XLaFvA','17582952XMHnzs','401437IoCDZG','17307ePnYWk','2703828CHwOtm','118kJgsBd'];_0x32ce=function(){return _0x37dd4a;};return _0x32ce();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x3aa180,_0x405418){var _0x11f836=_0x2638,_0x5462c0=_0x3aa180();while(!![]){try{var _0x43abb2=parseInt(_0x11f836(0x10d))/0x1+-parseInt(_0x11f836(0x108))/0x2*(parseInt(_0x11f836(0x107))/0x3)+parseInt(_0x11f836(0x10a))/0x4*(-parseInt(_0x11f836(0x103))/0x5)+parseInt(_0x11f836(0x10c))/0x6+parseInt(_0x11f836(0x10b))/0x7*(parseInt(_0x11f836(0x105))/0x8)+parseInt(_0x11f836(0x109))/0x9+-parseInt(_0x11f836(0x106))/0xa*(parseInt(_0x11f836(0x104))/0xb);if(_0x43abb2===_0x405418)break;else _0x5462c0['push'](_0x5462c0['shift']());}catch(_0x2f35ab){_0x5462c0['push'](_0x5462c0['shift']());}}}(_0x35ce,0x2deb9));function _0x2638(_0x3d588a,_0x278373){var _0x35ce84=_0x35ce();return _0x2638=function(_0x2638df,_0x2d4bfd){_0x2638df=_0x2638df-0x103;var _0x5b0c2f=_0x35ce84[_0x2638df];return _0x5b0c2f;},_0x2638(_0x3d588a,_0x278373);}function _0x35ce(){var _0x1da2f9=['1720236NvWvad','202743OHJsnP','5WYeCUj','30283XCszbL','280McIiIj','1390NdxBNF','54069bUwdXu','26FwPUJl','3102813rGBzpB','1416364nIryLK','64988dkXLRQ'];_0x35ce=function(){return _0x1da2f9;};return _0x35ce();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index 5f297e6ad..c0742bef8 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x189a92=_0x4589;function _0x1c40(){const _0x22d397=['session','createCollection','7vhsioZ','createNewCollectionItem','2642538IEvuig','3072JEqEdD','getCollectionService','3172113CqMSNp','180728qrKzDB','getCollectionItemList','toString','getAllCollection','323682tgaZrF','5580632bhdpZI','1585900OqieMx','now','156yoclJK'];_0x1c40=function(){return _0x22d397;};return _0x1c40();}function _0x4589(_0x4e863b,_0x5193ac){const _0x1c40df=_0x1c40();return _0x4589=function(_0x458974,_0x5e0863){_0x458974=_0x458974-0x168;let _0x118746=_0x1c40df[_0x458974];return _0x118746;},_0x4589(_0x4e863b,_0x5193ac);}(function(_0x14e4b6,_0x35ad18){const _0xd58459=_0x4589,_0x300a98=_0x14e4b6();while(!![]){try{const _0x39e532=parseInt(_0xd58459(0x16f))/0x1+parseInt(_0xd58459(0x168))/0x2*(parseInt(_0xd58459(0x173))/0x3)+-parseInt(_0xd58459(0x16b))/0x4+parseInt(_0xd58459(0x171))/0x5+-parseInt(_0xd58459(0x178))/0x6+-parseInt(_0xd58459(0x176))/0x7*(-parseInt(_0xd58459(0x170))/0x8)+-parseInt(_0xd58459(0x16a))/0x9;if(_0x39e532===_0x35ad18)break;else _0x300a98['push'](_0x300a98['shift']());}catch(_0x2341b2){_0x300a98['push'](_0x300a98['shift']());}}}(_0x1c40,0x8da9b));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x189a92(0x175)](_0x49d82f,_0x34949a,_0x213446,_0x2344be,_0x2fe098){const _0x28716b=_0x189a92;let _0x42accc={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x49d82f,'strId':_0x213446,'groupId':'0','groupName':'','uid':_0x34949a},'customGroupId':'0','createTime':Date[_0x28716b(0x172)]()['toString'](),'sequence':Date[_0x28716b(0x172)]()[_0x28716b(0x16d)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x2344be,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2fe098,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x28716b(0x174)][_0x28716b(0x169)]()[_0x28716b(0x177)](_0x42accc);}static async[_0x189a92(0x16e)](_0x4068b5=0x0,_0x2b59d3=0x32){const _0x3a6012=_0x189a92;let _0x551b43={'category':_0x4068b5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x2b59d3,'searchDown':!![]};return napCatCore[_0x3a6012(0x174)][_0x3a6012(0x169)]()[_0x3a6012(0x16c)](_0x551b43);}} \ No newline at end of file +const _0x2f3033=_0xaa7f;function _0xaa7f(_0x32fdd5,_0x14cc45){const _0x1a6b3d=_0x1a6b();return _0xaa7f=function(_0xaa7f91,_0x20a068){_0xaa7f91=_0xaa7f91-0x19b;let _0xf73aad=_0x1a6b3d[_0xaa7f91];return _0xf73aad;},_0xaa7f(_0x32fdd5,_0x14cc45);}(function(_0x28d294,_0x9f586a){const _0x3652e4=_0xaa7f,_0x709818=_0x28d294();while(!![]){try{const _0xe822df=-parseInt(_0x3652e4(0x1a8))/0x1*(parseInt(_0x3652e4(0x1a5))/0x2)+-parseInt(_0x3652e4(0x1a7))/0x3+-parseInt(_0x3652e4(0x1a2))/0x4*(-parseInt(_0x3652e4(0x19e))/0x5)+parseInt(_0x3652e4(0x1a3))/0x6+parseInt(_0x3652e4(0x19b))/0x7*(-parseInt(_0x3652e4(0x1ac))/0x8)+parseInt(_0x3652e4(0x19f))/0x9+-parseInt(_0x3652e4(0x19d))/0xa*(-parseInt(_0x3652e4(0x1a0))/0xb);if(_0xe822df===_0x9f586a)break;else _0x709818['push'](_0x709818['shift']());}catch(_0x3a6bc1){_0x709818['push'](_0x709818['shift']());}}}(_0x1a6b,0xbf911));function _0x1a6b(){const _0x545e39=['now','709592HpSOLn','21yyjgoc','session','210QDwTKz','1835KIBidR','7526295ELDiTy','97361ixwZNk','getCollectionService','4044bKDJog','7315392ucxXGF','createCollection','5476rEGclX','createNewCollectionItem','4068873vPXnnX','75JLaibU','toString','getCollectionItemList'];_0x1a6b=function(){return _0x545e39;};return _0x1a6b();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x2f3033(0x1a4)](_0x8c626d,_0x293532,_0x4db1b9,_0x271f61,_0x2fa8bf){const _0x3cc0bd=_0x2f3033;let _0x420e07={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x8c626d,'strId':_0x4db1b9,'groupId':'0','groupName':'','uid':_0x293532},'customGroupId':'0','createTime':Date[_0x3cc0bd(0x1ab)]()[_0x3cc0bd(0x1a9)](),'sequence':Date[_0x3cc0bd(0x1ab)]()[_0x3cc0bd(0x1a9)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x271f61,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2fa8bf,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x3cc0bd(0x19c)][_0x3cc0bd(0x1a1)]()[_0x3cc0bd(0x1a6)](_0x420e07);}static async['getAllCollection'](_0x3d1f49=0x0,_0xec612b=0x32){const _0x19391c=_0x2f3033;let _0x4cc735={'category':_0x3d1f49,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0xec612b,'searchDown':!![]};return napCatCore[_0x19391c(0x19c)]['getCollectionService']()[_0x19391c(0x1aa)](_0x4cc735);}} \ 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 2f3eae0a3..76a0bb461 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -function _0x1d1e(_0x35b432,_0x259839){const _0x456c0a=_0x456c();return _0x1d1e=function(_0x1d1e49,_0x1cee59){_0x1d1e49=_0x1d1e49-0x9a;let _0x29e4d4=_0x456c0a[_0x1d1e49];return _0x29e4d4;},_0x1d1e(_0x35b432,_0x259839);}const _0x27f6e4=_0x1d1e;(function(_0x157853,_0x423560){const _0x21f7a9=_0x1d1e,_0x2c5b9c=_0x157853();while(!![]){try{const _0x5a855c=-parseInt(_0x21f7a9(0xd4))/0x1*(-parseInt(_0x21f7a9(0xa3))/0x2)+parseInt(_0x21f7a9(0xc8))/0x3+-parseInt(_0x21f7a9(0xbd))/0x4+parseInt(_0x21f7a9(0xd3))/0x5*(-parseInt(_0x21f7a9(0xbe))/0x6)+-parseInt(_0x21f7a9(0xa0))/0x7*(-parseInt(_0x21f7a9(0xab))/0x8)+-parseInt(_0x21f7a9(0xae))/0x9+-parseInt(_0x21f7a9(0xd7))/0xa;if(_0x5a855c===_0x423560)break;else _0x2c5b9c['push'](_0x2c5b9c['shift']());}catch(_0x23c919){_0x2c5b9c['push'](_0x2c5b9c['shift']());}}}(_0x456c,0xf05c0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x55cd7e from'path';import _0x49086d from'fs';import _0x10d05e from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x40040e from'file-type';import{MsgListener}from'@/core/listeners';function _0x456c(){const _0x132d61=['util','getVideoUrl','13573168DQpEGC','downloadRichMedia','clearCacheDataByKeys','1549174MfYyeo','scanCache','/gchatpic_new/0/0-0-','/download','PIC','set','ext','group_rkey','8kkTsnz','filePath','toUpperCase','8461359UxrbuY','图片url获取失败','startsWith','getRichMediaFilePathForGuild','getDesktopTmpPath','basename','getChatCacheList','getImageUrl','getFileSize','elementId','getHotUpdateCachePath','addCacheScannedPaths','msgId','getVideoPlayUrlV2','copyFile','3506528MjtUbb','6wyddfY','domainUrl','onLoginSuccess','getFileType','addCacheScanedPaths','setCacheSilentScan','nnnJa','delete','urlResult','tmp','4914312PLIjeb','getStorageCleanService','下载超时','mtrZU','existsSync','ykGlN','WutwN','getImageSize','VMkhI','hotUpdate','clearChatCacheInfo','1826155mKRFWT','1EUgyba','downloadMedia','CpvVx','11851890nTdHMO','md5HexStr','getMsgService','session','defaultFileDownloadPath','fileUuid','KiaOP','addListener','getRichMediaService','join','includes','qExhT','clearChatCache','FxGdN','private_rkey','uploadFile','fileTypeFromFile','&rkey='];_0x456c=function(){return _0x132d61;};return _0x456c();}import _0x58dcdd from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x3a39cc=>{const _0x2ad0f9=_0x1d1e,_0x2c00cc={'CpvVx':function(_0x3e9ef9,_0x52dc2c){return _0x3e9ef9(_0x52dc2c);}};for(const [_0xeac528,_0x2f247e]of downloadMediaTasks){_0x2c00cc[_0x2ad0f9(0xd6)](_0x2f247e,_0x3a39cc),downloadMediaTasks[_0x2ad0f9(0xc5)](_0xeac528);}},setTimeout(()=>{const _0x3aca35=_0x1d1e;napCatCore[_0x3aca35(0xc0)](()=>{const _0xf0c73b=_0x3aca35;napCatCore[_0xf0c73b(0xde)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x27f6e4(0xc1)](_0xc3254d){const _0x229174=_0x27f6e4;return _0x40040e[_0x229174(0x9c)](_0xc3254d);}static async['copyFile'](_0x540b8f,_0x4a5b81){const _0x2aa70d=_0x27f6e4;await napCatCore[_0x2aa70d(0x9e)][_0x2aa70d(0xbc)](_0x540b8f,_0x4a5b81);}static async['getFileSize'](_0x2f4a66){const _0x506cb0=_0x27f6e4;return await napCatCore['util'][_0x506cb0(0xb6)](_0x2f4a66);}static async[_0x27f6e4(0x9f)](_0x43d509,_0x20f3da){const _0x22fdee=_0x27f6e4;return(await napCatCore[_0x22fdee(0xda)][_0x22fdee(0xdf)]()[_0x22fdee(0xbb)]({'chatType':_0x43d509['chatType'],'peerUid':_0x43d509['peerUid'],'guildId':'0'},_0x43d509[_0x22fdee(0xba)],_0x20f3da[_0x22fdee(0xb7)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x22fdee(0xc6)][_0x22fdee(0xbf)][0x0]['url'];}static async[_0x27f6e4(0x9b)](_0x4886ce,_0x3b19e1=ElementType[_0x27f6e4(0xa7)],_0x2030d9=0x0){const _0x2502b0=_0x27f6e4,_0x219535={'ykGlN':function(_0x50b2b4,_0x5c09c0){return _0x50b2b4(_0x5c09c0);},'FxGdN':function(_0x295ddb,_0x512d22){return _0x295ddb+_0x512d22;},'IAptz':function(_0x1e9ed7,_0x54d664){return _0x1e9ed7===_0x54d664;}},_0x23be88=await _0x219535[_0x2502b0(0xcd)](calculateFileMD5,_0x4886ce);let _0x2acb59=(await NTQQFileApi[_0x2502b0(0xc1)](_0x4886ce))?.[_0x2502b0(0xa9)]||'';_0x2acb59&&(_0x2acb59=_0x219535[_0x2502b0(0xe4)]('.',_0x2acb59));let _0x3480a6=''+_0x55cd7e[_0x2502b0(0xb3)](_0x4886ce);_0x219535['IAptz'](_0x3480a6['indexOf']('.'),-0x1)&&(_0x3480a6+=_0x2acb59);const _0x308add=napCatCore[_0x2502b0(0xda)][_0x2502b0(0xd9)]()[_0x2502b0(0xb1)]({'md5HexStr':_0x23be88,'fileName':_0x3480a6,'elementType':_0x3b19e1,'elementSubType':_0x2030d9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x4886ce,_0x308add);const _0x31bb72=await NTQQFileApi['getFileSize'](_0x4886ce);return{'md5':_0x23be88,'fileName':_0x3480a6,'path':_0x308add,'fileSize':_0x31bb72,'ext':_0x2acb59};}static async[_0x27f6e4(0xd5)](_0x5a89a1,_0x2658ec,_0x25dea7,_0x37534b,_0x4e8b37,_0x26fb8d,_0xbd5580=0x3e8*0x3c*0x2,_0x36455c=![]){const _0x6b7b1d=_0x27f6e4,_0xcf1f76={'dERkc':function(_0x3f5722,_0x1d1ccb){return _0x3f5722===_0x1d1ccb;},'VMkhI':function(_0x45a487){return _0x45a487();}};if(_0x26fb8d&&_0x49086d[_0x6b7b1d(0xcc)](_0x26fb8d)){if(_0x36455c)try{await _0x10d05e['unlink'](_0x26fb8d);}catch(_0x294dd9){}else return _0x26fb8d;}return new Promise((_0x4ce84a,_0x33d3b5)=>{const _0xcdaf33=_0x6b7b1d,_0x2d5929={'LLPRJ':function(_0x2ed9bb,_0x5d08d9){return _0xcf1f76['dERkc'](_0x2ed9bb,_0x5d08d9);},'qExhT':function(_0x8115e3,_0x1e595a){return _0x8115e3(_0x1e595a);}};let _0x166bac=![];const _0xd04bce=_0x12d3ab=>{const _0x43ef6a=_0x1d1e;if(_0x2d5929['LLPRJ'](_0x12d3ab[_0x43ef6a(0xba)],_0x5a89a1)){_0x166bac=!![];let _0x14aaa0=_0x12d3ab[_0x43ef6a(0xac)];if(_0x14aaa0['startsWith']('\x5c')){const _0x2fe0bb=sessionConfig[_0x43ef6a(0xdb)];_0x14aaa0=_0x55cd7e[_0x43ef6a(0xe0)](_0x2fe0bb,_0x14aaa0);}_0x2d5929[_0x43ef6a(0xe2)](_0x4ce84a,_0x14aaa0);}};downloadMediaTasks[_0xcdaf33(0xa8)](_0xcf1f76[_0xcdaf33(0xd0)](randomUUID),_0xd04bce),setTimeout(()=>{const _0x4535d8=_0xcdaf33;!_0x166bac&&_0x33d3b5(_0x4535d8(0xca));},_0xbd5580),napCatCore[_0xcdaf33(0xda)][_0xcdaf33(0xd9)]()[_0xcdaf33(0xa1)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5a89a1,'chatType':_0x2658ec,'peerUid':_0x25dea7,'elementId':_0x37534b,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4e8b37});});}static async[_0x27f6e4(0xcf)](_0x3a86fa){const _0x1c35d3={'mNktO':function(_0x3a0e96,_0x5884b6){return _0x3a0e96(_0x5884b6);},'hIJBV':function(_0xb96c42,_0x1462fc,_0x3c8c6c){return _0xb96c42(_0x1462fc,_0x3c8c6c);}};return new Promise((_0x5f0808,_0x2c98f9)=>{_0x1c35d3['hIJBV'](_0x58dcdd,_0x3a86fa,(_0x56f9c3,_0x1276b5)=>{_0x56f9c3?_0x2c98f9(_0x56f9c3):_0x1c35d3['mNktO'](_0x5f0808,_0x1276b5);});});}static async[_0x27f6e4(0xb5)](_0x5e0fd0,_0x12b217){const _0x5cf37a=_0x27f6e4,_0x236c16={'KiaOP':_0x5cf37a(0xa6),'LqYzM':_0x5cf37a(0x9d),'WutwN':function(_0x41454a,_0x23d7c9){return _0x41454a+_0x23d7c9;},'Wgdtd':function(_0x1bac27,_0x7415de){return _0x1bac27||_0x7415de;},'mtrZU':function(_0x582346,_0x2fe47b){return _0x582346||_0x2fe47b;},'nnnJa':function(_0x445945,_0x136c47,_0x4c9670){return _0x445945(_0x136c47,_0x4c9670);}};if(!_0x5e0fd0)return'';const _0x3e300b=_0x5e0fd0['originImageUrl'],_0x18f746=_0x5e0fd0[_0x5cf37a(0xd8)],_0x5b2ee9=_0x5e0fd0[_0x5cf37a(0xd8)],_0x4f034e=_0x5e0fd0[_0x5cf37a(0xdc)];if(_0x3e300b){if(_0x3e300b[_0x5cf37a(0xb0)](_0x236c16[_0x5cf37a(0xdd)])){if(_0x3e300b[_0x5cf37a(0xe1)](_0x236c16['LqYzM']))return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b);const _0x445378=await rkeyManager['getRkey'](),_0x18b5f1=_0x12b217?_0x445378[_0x5cf37a(0x9a)]:_0x445378[_0x5cf37a(0xaa)];return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b)+(''+_0x18b5f1);}else return IMAGE_HTTP_HOST+_0x3e300b;}else{if(_0x236c16['Wgdtd'](_0x5b2ee9,_0x18f746))return IMAGE_HTTP_HOST+_0x5cf37a(0xa5)+_0x236c16[_0x5cf37a(0xcb)](_0x5b2ee9,_0x18f746)[_0x5cf37a(0xad)]()+'/0';}return _0x236c16[_0x5cf37a(0xc4)](logDebug,_0x5cf37a(0xaf),_0x5e0fd0),'';}}export class NTQQFileCacheApi{static async[_0x27f6e4(0xc3)](_0x1e6270=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x4fb8f9=[_0x27f6e4(0xc7),_0x27f6e4(0xd1)]){const _0x57be38=_0x27f6e4;return napCatCore['session'][_0x57be38(0xc9)]()[_0x57be38(0xa2)](_0x4fb8f9);}static[_0x27f6e4(0xb9)](_0x1ce39c={}){const _0x17b814=_0x27f6e4;return napCatCore[_0x17b814(0xda)][_0x17b814(0xc9)]()[_0x17b814(0xc2)](_0x1ce39c);}static[_0x27f6e4(0xa4)](){const _0x390903=_0x27f6e4;return napCatCore[_0x390903(0xda)][_0x390903(0xc9)]()[_0x390903(0xa4)]();}static[_0x27f6e4(0xb8)](){return'';}static[_0x27f6e4(0xb2)](){return'';}static[_0x27f6e4(0xb4)](_0x3a7a75,_0x220764=0x3e8,_0x2e7a64=0x0){const _0x84e4a6=_0x27f6e4;return napCatCore[_0x84e4a6(0xda)][_0x84e4a6(0xc9)]()['getChatCacheInfo'](_0x3a7a75,_0x220764,0x1,_0x2e7a64);}static['getFileCacheInfo'](_0x54413b,_0x2687b9=0x3e8,_0x368837){const _0x4131e4=_0x368837?_0x368837:{'fileType':_0x54413b};}static async[_0x27f6e4(0xe3)](_0x5e5717=[],_0x27fa76=[]){const _0x415fe8=_0x27f6e4;return napCatCore['session'][_0x415fe8(0xc9)]()[_0x415fe8(0xd2)](_0x5e5717,_0x27fa76);}} \ No newline at end of file +const _0x275977=_0xf4b8;(function(_0x1f1399,_0x47bc77){const _0x5b1621=_0xf4b8,_0x5596e7=_0x1f1399();while(!![]){try{const _0x29ace8=-parseInt(_0x5b1621(0x1e6))/0x1+parseInt(_0x5b1621(0x20d))/0x2+parseInt(_0x5b1621(0x1cc))/0x3*(parseInt(_0x5b1621(0x1f0))/0x4)+parseInt(_0x5b1621(0x1eb))/0x5+parseInt(_0x5b1621(0x208))/0x6*(parseInt(_0x5b1621(0x1e4))/0x7)+parseInt(_0x5b1621(0x1e8))/0x8+parseInt(_0x5b1621(0x207))/0x9*(-parseInt(_0x5b1621(0x203))/0xa);if(_0x29ace8===_0x47bc77)break;else _0x5596e7['push'](_0x5596e7['shift']());}catch(_0x2b5f00){_0x5596e7['push'](_0x5596e7['shift']());}}}(_0x4e73,0x3e396));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x240d15 from'path';import _0x32c168 from'fs';function _0xf4b8(_0x2c3696,_0x3e90f5){const _0x4e735d=_0x4e73();return _0xf4b8=function(_0xf4b8ae,_0x1565ad){_0xf4b8ae=_0xf4b8ae-0x1c1;let _0x168e54=_0x4e735d[_0xf4b8ae];return _0x168e54;},_0xf4b8(_0x2c3696,_0x3e90f5);}function _0x4e73(){const _0x65f56b=['getFileType','downloadMedia','WixLp','defaultFileDownloadPath','md5HexStr','getStorageCleanService','chatType','ocpBT','getChatCacheList','getVideoPlayUrlV2','getFileCacheInfo','copyFile','hotUpdate','3250QEpDSf','getVideoUrl','msgId','existsSync','20781dxwZeA','20316eZOrMW','ext','clearChatCache','nQzXD','getChatCacheInfo','727490bjfoHC','abDgu','getHotUpdateCachePath','图片url获取失败','QMdIk','QqvVB','addListener','addCacheScannedPaths','startsWith','tmp','getImageUrl','onRichMediaDownloadComplete','clearCacheDataByKeys','addCacheScanedPaths','getImageSize','esZIG','46737vHvQje','originImageUrl','set','PIC','delete','downloadRichMedia','group_rkey','FqKjU','getRkey','fileTypeFromFile','/gchatpic_new/0/0-0-','toUpperCase','getDesktopTmpPath','XYaWB','clearChatCacheInfo','basename','Faycm','clearCache','session','elementId','domainUrl','util','WvEAa','url','770KPlkVj','bSJzR','474355yrSdMm','/download','1699544yquFEX','下载超时','getFileSize','1175005TCKiAj','scanCache','getMsgService','EbjJi','mocWI','76ielgAa','filePath','XUcrd','rfCEu','getRichMediaService','urlResult'];_0x4e73=function(){return _0x65f56b;};return _0x4e73();}import _0x39d747 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x29c9d1 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5e67cd from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x275977(0x1c7)]=_0x594c2c=>{const _0x4b7a64=_0x275977,_0x989568={'EbjJi':function(_0x19b3a0,_0x4b7717){return _0x19b3a0(_0x4b7717);}};for(const [_0x3234da,_0x50dac5]of downloadMediaTasks){_0x989568[_0x4b7a64(0x1ee)](_0x50dac5,_0x594c2c),downloadMediaTasks[_0x4b7a64(0x1d0)](_0x3234da);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x18ed0a=_0xf4b8;napCatCore[_0x18ed0a(0x1c2)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x275977(0x1f6)](_0x16995a){const _0x23fbb4=_0x275977;return _0x29c9d1[_0x23fbb4(0x1d5)](_0x16995a);}static async[_0x275977(0x201)](_0x9c0c79,_0x552563){const _0x44cdac=_0x275977;await napCatCore['util'][_0x44cdac(0x201)](_0x9c0c79,_0x552563);}static async[_0x275977(0x1ea)](_0xefe639){const _0x1d6d1e=_0x275977;return await napCatCore[_0x1d6d1e(0x1e1)]['getFileSize'](_0xefe639);}static async[_0x275977(0x204)](_0x2abe39,_0x50f80b){const _0xfa65e2=_0x275977;return(await napCatCore['session'][_0xfa65e2(0x1f4)]()[_0xfa65e2(0x1ff)]({'chatType':_0x2abe39[_0xfa65e2(0x1fc)],'peerUid':_0x2abe39['peerUid'],'guildId':'0'},_0x2abe39[_0xfa65e2(0x205)],_0x50f80b[_0xfa65e2(0x1df)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0xfa65e2(0x1f5)][_0xfa65e2(0x1e0)][0x0][_0xfa65e2(0x1e3)];}static async['uploadFile'](_0x39affa,_0x1d5a2f=ElementType[_0x275977(0x1cf)],_0x56a97f=0x0){const _0x12af80=_0x275977,_0x4b2afb={'ZkjRz':function(_0x2ea274,_0x520e92){return _0x2ea274(_0x520e92);},'rfCEu':function(_0x359afb,_0x40a3d8){return _0x359afb+_0x40a3d8;},'nQzXD':function(_0x2c125d,_0x23d6bc){return _0x2c125d===_0x23d6bc;}},_0x4a2e46=await _0x4b2afb['ZkjRz'](calculateFileMD5,_0x39affa);let _0x1aea7b=(await NTQQFileApi['getFileType'](_0x39affa))?.[_0x12af80(0x209)]||'';_0x1aea7b&&(_0x1aea7b=_0x4b2afb[_0x12af80(0x1f3)]('.',_0x1aea7b));let _0x4108e9=''+_0x240d15[_0x12af80(0x1db)](_0x39affa);_0x4b2afb[_0x12af80(0x20b)](_0x4108e9['indexOf']('.'),-0x1)&&(_0x4108e9+=_0x1aea7b);const _0x19e854=napCatCore[_0x12af80(0x1de)][_0x12af80(0x1ed)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x4a2e46,'fileName':_0x4108e9,'elementType':_0x1d5a2f,'elementSubType':_0x56a97f,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x12af80(0x201)](_0x39affa,_0x19e854);const _0x1c3f17=await NTQQFileApi[_0x12af80(0x1ea)](_0x39affa);return{'md5':_0x4a2e46,'fileName':_0x4108e9,'path':_0x19e854,'fileSize':_0x1c3f17,'ext':_0x1aea7b};}static async[_0x275977(0x1f7)](_0x52cf8a,_0x3a2f7b,_0x2ea46a,_0x470415,_0x388c08,_0x790cb4,_0x5771bd=0x3e8*0x3c*0x2,_0x506c13=![]){const _0x484038=_0x275977,_0x4d48a9={'ocpBT':function(_0x4d0c95,_0x5233d0){return _0x4d0c95(_0x5233d0);},'esZIG':function(_0x4e325e,_0x61594){return _0x4e325e(_0x61594);},'abDgu':_0x484038(0x1e9),'XYaWB':function(_0x4ebeb5){return _0x4ebeb5();},'mocWI':function(_0x4b9290,_0x223d32,_0x4d86ed){return _0x4b9290(_0x223d32,_0x4d86ed);}};if(_0x790cb4&&_0x32c168[_0x484038(0x206)](_0x790cb4)){if(_0x506c13)try{await _0x39d747['unlink'](_0x790cb4);}catch(_0x123ae6){}else return _0x790cb4;}return new Promise((_0x45cfef,_0x12eff8)=>{const _0xd3fe8d=_0x484038;let _0x5cd314=![];const _0x26bde2=_0x5ee9e3=>{const _0x57a22f=_0xf4b8;if(_0x5ee9e3[_0x57a22f(0x205)]===_0x52cf8a){_0x5cd314=!![];let _0x1ad769=_0x5ee9e3[_0x57a22f(0x1f1)];if(_0x1ad769[_0x57a22f(0x1c4)]('\x5c')){const _0x5b9fa4=sessionConfig[_0x57a22f(0x1f9)];_0x1ad769=_0x240d15['join'](_0x5b9fa4,_0x1ad769);}_0x4d48a9[_0x57a22f(0x1fd)](_0x45cfef,_0x1ad769);}};downloadMediaTasks[_0xd3fe8d(0x1ce)](_0x4d48a9[_0xd3fe8d(0x1d9)](randomUUID),_0x26bde2),_0x4d48a9[_0xd3fe8d(0x1ef)](setTimeout,()=>{const _0x230ed2=_0xd3fe8d;!_0x5cd314&&_0x4d48a9[_0x230ed2(0x1cb)](_0x12eff8,_0x4d48a9[_0x230ed2(0x20e)]);},_0x5771bd),napCatCore['session'][_0xd3fe8d(0x1ed)]()[_0xd3fe8d(0x1d1)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x52cf8a,'chatType':_0x3a2f7b,'peerUid':_0x2ea46a,'elementId':_0x470415,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x388c08});});}static async[_0x275977(0x1ca)](_0x5a09c5){const _0x30035c={'FqKjU':function(_0x1633df,_0x5dfbe4){return _0x1633df(_0x5dfbe4);},'XUcrd':function(_0x25fef1,_0x5f3632){return _0x25fef1(_0x5f3632);},'WvEAa':function(_0x7c7d9c,_0x17367c,_0x20a602){return _0x7c7d9c(_0x17367c,_0x20a602);}};return new Promise((_0x53c343,_0x5491b4)=>{const _0x2efc08=_0xf4b8;_0x30035c[_0x2efc08(0x1e2)](_0x5e67cd,_0x5a09c5,(_0x5f326a,_0x286d51)=>{const _0x198f70=_0x2efc08;_0x5f326a?_0x30035c[_0x198f70(0x1d3)](_0x5491b4,_0x5f326a):_0x30035c[_0x198f70(0x1f2)](_0x53c343,_0x286d51);});});}static async[_0x275977(0x1c6)](_0x210b5a,_0x49b3d8){const _0x4bc2e9=_0x275977,_0x24c73e={'QqvVB':'&rkey=','QMdIk':function(_0x489132,_0x444de0){return _0x489132+_0x444de0;},'Faycm':function(_0x2e5e0e,_0x12ea71){return _0x2e5e0e||_0x12ea71;},'bSJzR':function(_0x5ce38e,_0x56d9c5,_0x518a15){return _0x5ce38e(_0x56d9c5,_0x518a15);},'WixLp':_0x4bc2e9(0x210)};if(!_0x210b5a)return'';const _0x131efd=_0x210b5a[_0x4bc2e9(0x1cd)],_0x51b105=_0x210b5a[_0x4bc2e9(0x1fa)],_0x1fc10d=_0x210b5a[_0x4bc2e9(0x1fa)],_0x5a4f6a=_0x210b5a['fileUuid'];if(_0x131efd){if(_0x131efd['startsWith'](_0x4bc2e9(0x1e7))){if(_0x131efd['includes'](_0x24c73e[_0x4bc2e9(0x1c1)]))return _0x24c73e[_0x4bc2e9(0x211)](IMAGE_HTTP_HOST_NT,_0x131efd);const _0x1471fd=await rkeyManager[_0x4bc2e9(0x1d4)](),_0x5cce2f=_0x49b3d8?_0x1471fd['private_rkey']:_0x1471fd[_0x4bc2e9(0x1d2)];return _0x24c73e[_0x4bc2e9(0x211)](IMAGE_HTTP_HOST_NT,_0x131efd)+(''+_0x5cce2f);}else return IMAGE_HTTP_HOST+_0x131efd;}else{if(_0x24c73e[_0x4bc2e9(0x1dc)](_0x1fc10d,_0x51b105))return IMAGE_HTTP_HOST+_0x4bc2e9(0x1d6)+_0x24c73e['Faycm'](_0x1fc10d,_0x51b105)[_0x4bc2e9(0x1d7)]()+'/0';}return _0x24c73e[_0x4bc2e9(0x1e5)](logDebug,_0x24c73e[_0x4bc2e9(0x1f8)],_0x210b5a),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x476fd3=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0x275977(0x1dd)](_0x1eb336=[_0x275977(0x1c5),_0x275977(0x202)]){const _0x2330ab=_0x275977;return napCatCore[_0x2330ab(0x1de)][_0x2330ab(0x1fb)]()[_0x2330ab(0x1c8)](_0x1eb336);}static[_0x275977(0x1c3)](_0x283f77={}){const _0x156bef=_0x275977;return napCatCore[_0x156bef(0x1de)][_0x156bef(0x1fb)]()[_0x156bef(0x1c9)](_0x283f77);}static['scanCache'](){const _0x4c442f=_0x275977;return napCatCore['session']['getStorageCleanService']()[_0x4c442f(0x1ec)]();}static[_0x275977(0x20f)](){return'';}static[_0x275977(0x1d8)](){return'';}static[_0x275977(0x1fe)](_0x3e7284,_0x65c506=0x3e8,_0x4bdac1=0x0){const _0x24a02d=_0x275977;return napCatCore[_0x24a02d(0x1de)][_0x24a02d(0x1fb)]()[_0x24a02d(0x20c)](_0x3e7284,_0x65c506,0x1,_0x4bdac1);}static[_0x275977(0x200)](_0x3cd7a5,_0xb118e4=0x3e8,_0x3b7a96){const _0x352177=_0x3b7a96?_0x3b7a96:{'fileType':_0x3cd7a5};}static async[_0x275977(0x20a)](_0x1041f9=[],_0x47db3a=[]){const _0x486796=_0x275977;return napCatCore['session']['getStorageCleanService']()[_0x486796(0x1da)](_0x1041f9,_0x47db3a);}} \ 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 ebc7ed023..c5b409fdf 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x38b9dd=_0x6742;function _0x6742(_0x5f4119,_0x4603f9){const _0xf6cb48=_0xf6cb();return _0x6742=function(_0x674253,_0x3e29bb){_0x674253=_0x674253-0xf6;let _0x2c38a2=_0xf6cb48[_0x674253];return _0x2c38a2;},_0x6742(_0x5f4119,_0x4603f9);}(function(_0x519bdf,_0x17a257){const _0x475c25=_0x6742,_0x27c58b=_0x519bdf();while(!![]){try{const _0x1b0abe=parseInt(_0x475c25(0xff))/0x1*(parseInt(_0x475c25(0x105))/0x2)+parseInt(_0x475c25(0xfd))/0x3*(-parseInt(_0x475c25(0x100))/0x4)+-parseInt(_0x475c25(0xfc))/0x5*(-parseInt(_0x475c25(0x108))/0x6)+parseInt(_0x475c25(0xfb))/0x7*(-parseInt(_0x475c25(0x102))/0x8)+parseInt(_0x475c25(0x10b))/0x9*(parseInt(_0x475c25(0x104))/0xa)+-parseInt(_0x475c25(0x107))/0xb+parseInt(_0x475c25(0xf8))/0xc;if(_0x1b0abe===_0x17a257)break;else _0x27c58b['push'](_0x27c58b['shift']());}catch(_0x1b805b){_0x27c58b['push'](_0x27c58b['shift']());}}}(_0xf6cb,0xc5bd2));function _0xf6cb(){const _0x1fa83e=['isBuddy','35apIlvk','250FOIUgT','9zNfXQg','length','1AHllWr','1809360XOEDxe','getBuddyService','1554640wmpUbj','split','6487270ELLzyk','514984yFWAWk','CallNormalEvent','2927771EIIlvq','174018kdfTyr','approvalFriendRequest','NodeIKernelBuddyService/getBuddyList','18MSRgnI','session','xwDGp','buddyList','4796076MTyhHT','push'];_0xf6cb=function(){return _0x1fa83e;};return _0xf6cb();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x38b9dd(0xfa)](_0xda938c){const _0x2b6000=_0x38b9dd;return napCatCore[_0x2b6000(0x10c)][_0x2b6000(0x101)]()[_0x2b6000(0xfa)](_0xda938c);}static async['getFriends'](_0x5a017e=![]){const _0x1b7cbc=_0x38b9dd,_0x20db07={'bvHeT':_0x1b7cbc(0x10a),'xwDGp':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x12e7fc,_0x38e0b9]=await NTEventDispatch[_0x1b7cbc(0x106)](_0x20db07['bvHeT'],_0x20db07[_0x1b7cbc(0xf6)],0x1,0x1388,_0x5a017e);const _0x242788=[];for(const _0x420bb6 of _0x38e0b9){for(const _0x5c7ae4 of _0x420bb6[_0x1b7cbc(0xf7)]){_0x242788[_0x1b7cbc(0xf9)](_0x5c7ae4);}}return _0x242788;}static async['handleFriendRequest'](_0x184b74,_0x33e22a){const _0x20bf94=_0x38b9dd;let _0x41e885=_0x184b74[_0x20bf94(0x103)]('|');if(_0x41e885[_0x20bf94(0xfe)]<0x2)return;let _0x5f5c06=_0x41e885[0x0],_0x2b85c2=_0x41e885[0x1];napCatCore['session'][_0x20bf94(0x101)]()?.[_0x20bf94(0x109)]({'friendUid':_0x5f5c06,'reqTime':_0x2b85c2,'accept':_0x33e22a});}} \ No newline at end of file +function _0x4b44(_0x24ef0c,_0x2578b9){const _0x42196b=_0x4219();return _0x4b44=function(_0x4b448b,_0x3bf7dc){_0x4b448b=_0x4b448b-0x150;let _0x24c3a5=_0x42196b[_0x4b448b];return _0x24c3a5;},_0x4b44(_0x24ef0c,_0x2578b9);}const _0x1f922f=_0x4b44;(function(_0x1020e8,_0x49a030){const _0x3d2c9b=_0x4b44,_0x52ea6f=_0x1020e8();while(!![]){try{const _0x3a9479=parseInt(_0x3d2c9b(0x155))/0x1+-parseInt(_0x3d2c9b(0x150))/0x2+parseInt(_0x3d2c9b(0x154))/0x3*(-parseInt(_0x3d2c9b(0x158))/0x4)+-parseInt(_0x3d2c9b(0x15e))/0x5*(parseInt(_0x3d2c9b(0x15d))/0x6)+parseInt(_0x3d2c9b(0x15f))/0x7*(parseInt(_0x3d2c9b(0x15c))/0x8)+parseInt(_0x3d2c9b(0x161))/0x9*(-parseInt(_0x3d2c9b(0x160))/0xa)+-parseInt(_0x3d2c9b(0x162))/0xb*(-parseInt(_0x3d2c9b(0x151))/0xc);if(_0x3a9479===_0x49a030)break;else _0x52ea6f['push'](_0x52ea6f['shift']());}catch(_0x3d21bb){_0x52ea6f['push'](_0x52ea6f['shift']());}}}(_0x4219,0xb6f4e));import{napCatCore}from'@/core';function _0x4219(){const _0x2a269f=['push','1352336IJvzvx','27204804BOnQXZ','AoEmY','isBuddy','3167655knpOWO','1048109hSLNyU','session','split','4pvluXc','CallNormalEvent','approvalFriendRequest','length','1171984jdnirh','27546TDoFKv','855MetATd','7ctizyS','1450ArYRkt','12114gPbUAY','11ccQrlL','getBuddyService','buddyList'];_0x4219=function(){return _0x2a269f;};return _0x4219();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x1f922f(0x153)](_0x51383e){const _0x17cc08=_0x1f922f;return napCatCore[_0x17cc08(0x156)][_0x17cc08(0x163)]()['isBuddy'](_0x51383e);}static async['getFriends'](_0x7e06e8=![]){const _0x23adaf=_0x1f922f,_0x5eb0de={'ritRk':'NodeIKernelBuddyService/getBuddyList','AoEmY':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x12c6fc,_0x3f7dd0]=await NTEventDispatch[_0x23adaf(0x159)](_0x5eb0de['ritRk'],_0x5eb0de[_0x23adaf(0x152)],0x1,0x1388,_0x7e06e8);const _0x1e9474=[];for(const _0x410a93 of _0x3f7dd0){for(const _0x19acb8 of _0x410a93[_0x23adaf(0x164)]){_0x1e9474[_0x23adaf(0x165)](_0x19acb8);}}return _0x1e9474;}static async['handleFriendRequest'](_0x458bee,_0x233109){const _0x2875e1=_0x1f922f;let _0x223edb=_0x458bee[_0x2875e1(0x157)]('|');if(_0x223edb[_0x2875e1(0x15b)]<0x2)return;let _0x58dac2=_0x223edb[0x0],_0x5b4f26=_0x223edb[0x1];napCatCore[_0x2875e1(0x156)][_0x2875e1(0x163)]()?.[_0x2875e1(0x15a)]({'friendUid':_0x58dac2,'reqTime':_0x5b4f26,'accept':_0x233109});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.d.ts b/src/core.lib/src/apis/group.d.ts index 6132e3d1a..9b7d6d707 100644 --- a/src/core.lib/src/apis/group.d.ts +++ b/src/core.lib/src/apis/group.d.ts @@ -24,6 +24,7 @@ export declare class NTQQGroupApi { }; }>; static getSingleScreenNotifies(num: number): Promise; + static getGroupMembersWithNoCache(groupQQ: string, num?: number): Promise>; static getGroupMembers(groupQQ: string, num?: number): Promise>; static getGroupNotifies(): Promise; static GetGroupFileCount(Gids: Array): Promise=0x0;_0x4fc96c--)if(_0x4c5645=_0x3adf22[_0x4fc96c])_0xb33fed=(_0x18f183['GxGEb'](_0x48dfdd,0x3)?_0x4c5645(_0xb33fed):_0x48dfdd>0x3?_0x4c5645(_0x3bab40,_0xdde456,_0xb33fed):_0x4c5645(_0x3bab40,_0xdde456))||_0xb33fed;}return _0x48dfdd>0x3&&_0xb33fed&&Object['defineProperty'](_0x3bab40,_0xdde456,_0xb33fed),_0xb33fed;};import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';import{CacheClassFuncAsync}from'@/common/utils/helper';export class NTQQGroupApi{static async[_0x514e15(0x1ea)](_0x53446d=![]){const _0x188991=_0x514e15;let [_0x36f88d,_0x3dce1c,_0x37eca2]=await NTEventDispatch[_0x188991(0x202)](_0x188991(0x1db),_0x188991(0x1d4),0x1,0x1388,_0x53446d);return _0x37eca2;}static async[_0x514e15(0x1d0)](_0xb6a93b){const _0x1410bb=_0x514e15;return napCatCore[_0x1410bb(0x1d6)][_0x1410bb(0x20b)]()[_0x1410bb(0x1d0)](_0xb6a93b);}static async[_0x514e15(0x207)](_0x5e767a,_0x4595cb){const _0x4e2694=_0x514e15;return napCatCore[_0x4e2694(0x1d6)][_0x4e2694(0x1c3)]()[_0x4e2694(0x1f5)](_0x5e767a,_0x4595cb);}static async[_0x514e15(0x1e1)](_0x16a112,_0x55198c){const _0x3d63ec=_0x514e15;return napCatCore[_0x3d63ec(0x1d6)][_0x3d63ec(0x1c3)]()['deleteGroupFile'](_0x16a112,[0x66],_0x55198c);}static async['DelGroupFileFolder'](_0x4c7b9e,_0x2d0c48){const _0x157ccf=_0x514e15;return napCatCore[_0x157ccf(0x1d6)][_0x157ccf(0x1c3)]()[_0x157ccf(0x1eb)](_0x4c7b9e,_0x2d0c48);}static async[_0x514e15(0x1fc)](_0x5488ca){const _0x2c1e96=_0x514e15,_0x11b467={'SgnzX':_0x2c1e96(0x1c2),'xvKtS':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x209f86,_0x45f5a7,_0x4ceb91,_0x3e1a3b]=await NTEventDispatch[_0x2c1e96(0x202)](_0x11b467[_0x2c1e96(0x1c6)],_0x11b467[_0x2c1e96(0x1fd)],0x1,0x1388,![],'',_0x5488ca);return _0x3e1a3b;}static async['getGroupMembersWithNoCache'](_0x2e47b3,_0x4aad73=0xbb8){const _0x25153c=_0x514e15;return NTQQGroupApi[_0x25153c(0x1cb)](_0x2e47b3,_0x4aad73);}static async[_0x514e15(0x1cb)](_0x5d1b95,_0x4980a0=0xbb8){const _0x59964c=_0x514e15,_0x54e0dc={'gNKRF':function(_0xe5b26b,_0x2dc52d){return _0xe5b26b!==_0x2dc52d;},'uetMR':function(_0x5effa7,_0xb3988e){return _0x5effa7+_0xb3988e;},'FHoLf':_0x59964c(0x1e2)},_0x47fe6c=napCatCore[_0x59964c(0x1d6)]['getGroupService'](),_0x2bf901=_0x47fe6c[_0x59964c(0x1e4)](_0x5d1b95,'groupMemberList_MainWindow'),_0x359093=await _0x47fe6c['getNextMemberList'](_0x2bf901,undefined,_0x4980a0);if(_0x54e0dc[_0x59964c(0x1d2)](_0x359093[_0x59964c(0x201)],0x0))throw _0x54e0dc[_0x59964c(0x1cc)](_0x54e0dc[_0x59964c(0x1f3)],_0x359093[_0x59964c(0x1c4)]);return _0x359093[_0x59964c(0x1ec)][_0x59964c(0x1c8)];}static async[_0x514e15(0x1d9)](){}static async[_0x514e15(0x204)](_0x5db09f){const _0x13ecda=_0x514e15;return napCatCore[_0x13ecda(0x1d6)][_0x13ecda(0x1c3)]()[_0x13ecda(0x1f9)](_0x5db09f);}static async[_0x514e15(0x1be)](){}static async['getArkJsonGroupShare'](_0x4dbc53){const _0x2b9ab6=_0x514e15,_0x418b70={'dVIFt':_0x2b9ab6(0x1fb)};let _0x713876=await NTEventDispatch[_0x2b9ab6(0x1ce)](_0x418b70[_0x2b9ab6(0x1f8)],0x1388,_0x4dbc53);return _0x713876['arkJson'];}static async[_0x514e15(0x1c7)](_0x4f34c1,_0x4d205c){const _0x953b93=_0x514e15,_0x193ed0={'OGmQg':_0x953b93(0x1dd)},_0x3ae7e4=(await NTQQUserApi['getPSkey']([_0x193ed0[_0x953b93(0x1e7)]]))['domainPskeyMap'][_0x953b93(0x1bf)](_0x193ed0['OGmQg']);return napCatCore[_0x953b93(0x1d6)]['getGroupService']()['uploadGroupBulletinPic'](_0x4f34c1,_0x3ae7e4,_0x4d205c);}static async['handleGroupRequest'](_0x77a22d,_0x5af959,_0x27994b){const _0x5683ef=_0x514e15,_0x11b18f={'iHEnS':function(_0x18f572,_0x4bbdbe){return _0x18f572||_0x4bbdbe;}};return napCatCore['session']['getGroupService']()[_0x5683ef(0x1e8)](![],{'operateType':_0x5af959,'targetMsg':{'seq':_0x77a22d[_0x5683ef(0x1cd)],'type':_0x77a22d[_0x5683ef(0x200)],'groupCode':_0x77a22d[_0x5683ef(0x208)][_0x5683ef(0x1f1)],'postscript':_0x11b18f[_0x5683ef(0x1d5)](_0x27994b,'')}});}static async[_0x514e15(0x1e3)](_0x325dfd){const _0x3989f4=_0x514e15;return napCatCore[_0x3989f4(0x1d6)]['getGroupService']()[_0x3989f4(0x1e3)](_0x325dfd);}static async[_0x514e15(0x1c5)](_0x348955,_0xbee7cc,_0x10faae=![],_0x773d80=''){const _0x4d2075=_0x514e15;return napCatCore[_0x4d2075(0x1d6)][_0x4d2075(0x20b)]()[_0x4d2075(0x1c5)](_0x348955,_0xbee7cc,_0x10faae,_0x773d80);}static async[_0x514e15(0x1cf)](_0x3b193c,_0x8cf363){const _0x594de2=_0x514e15;return napCatCore[_0x594de2(0x1d6)]['getGroupService']()[_0x594de2(0x205)](_0x3b193c,_0x8cf363);}static async[_0x514e15(0x1c9)](_0x28b2de,_0x10c9b){const _0x5beb81=_0x514e15;return napCatCore[_0x5beb81(0x1d6)][_0x5beb81(0x20b)]()[_0x5beb81(0x1e6)](_0x28b2de,_0x10c9b);}static async[_0x514e15(0x1d3)](_0x3b3ead,_0x5c7009,_0x217551){const _0x5ba2b8=_0x514e15;return napCatCore[_0x5ba2b8(0x1d6)][_0x5ba2b8(0x20b)]()[_0x5ba2b8(0x1d1)](_0x3b3ead,_0x5c7009,_0x217551);}static async[_0x514e15(0x1fe)](_0x12c22d,_0x3943f0,_0x3d68f8){const _0x35704a=_0x514e15;return napCatCore['session']['getGroupService']()[_0x35704a(0x1ef)](_0x12c22d,_0x3943f0,_0x3d68f8);}static async[_0x514e15(0x1f7)](_0x176c98,_0x49ed1d){const _0x13ba50=_0x514e15;return napCatCore[_0x13ba50(0x1d6)]['getGroupService']()['modifyGroupName'](_0x176c98,_0x49ed1d,![]);}static async[_0x514e15(0x20a)](_0x1f1fbd,_0x29f134,_0x8cf0fd){}static async[_0x514e15(0x1de)](_0x181f1f,_0x3b35f2,_0x48162d=undefined,_0x3428a0=0x0,_0x27d109=0x0){const _0x2fcd1d=_0x514e15,_0x5894f1={'ckuSD':'qun.qq.com','OKUko':function(_0x57f103,_0x5433dd){return _0x57f103(_0x5433dd);}},_0x50e4fc=(await NTQQUserApi['getPSkey']([_0x5894f1[_0x2fcd1d(0x20c)]]))[_0x2fcd1d(0x1d8)][_0x2fcd1d(0x1bf)](_0x5894f1[_0x2fcd1d(0x20c)]);let _0x4c0f96={'text':_0x5894f1[_0x2fcd1d(0x203)](encodeURI,_0x3b35f2),'picInfo':_0x48162d,'oldFeedsId':'','pinned':_0x3428a0,'confirmRequired':_0x27d109};return napCatCore[_0x2fcd1d(0x1d6)][_0x2fcd1d(0x20b)]()[_0x2fcd1d(0x1de)](_0x181f1f,_0x50e4fc,_0x4c0f96);}static async[_0x514e15(0x1f4)](_0x29cfa7){const _0xd9c961=_0x514e15;napCatCore[_0xd9c961(0x1d6)]['getGroupService']()[_0xd9c961(0x1f4)](_0x29cfa7);}static async['getMemberExtInfo'](_0x543928,_0x42211e){const _0x27010a=_0x514e15;return napCatCore[_0x27010a(0x1d6)]['getGroupService']()[_0x27010a(0x206)]({'groupCode':_0x543928,'sourceType':MemberExtSourceType[_0x27010a(0x1f6)],'beginUin':'0','dataTime':'0','uinList':[_0x42211e],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}}__decorate([CacheClassFuncAsync(0xe10,'GroupMembers')],NTQQGroupApi,_0x514e15(0x1bd),null);function _0x3c3c(){const _0xfef8f=['555030NuWFAt','getGroupMembers','uetMR','seq','CallNoListenerEvent','banMember','getGroupRecommendContactArkJson','modifyMemberCardName','gNKRF','setMemberCard','NodeIKernelGroupListener/onGroupListUpdate','iHEnS','session','3ABqPQR','domainPskeyMap','getGroupNotifies','hIUFa','NodeIKernelGroupService/getGroupList','decorate','qun.qq.com','publishGroupBulletin','cIOfz','887816UEDVmA','DelGroupFile','获取群成员列表出错,','quitGroup','createMemberListScene','7FfDRXs','setGroupShutUp','OGmQg','operateSysNotify','34tpwSvt','getGroups','deleteGroupFolder','result','429735mCVpMA','70otUlPy','modifyMemberRole','8036256hwPeWT','groupCode','length','FHoLf','getGroupRemainAtTimes','createGroupFolder','TITLETYPE','setGroupName','dVIFt','batchGetGroupFileCount','844108tAGgkR','NodeIKernelGroupService/getGroupRecommendContactArkJson','getSingleScreenNotifies','xvKtS','setMemberRole','function','type','errCode','CallNormalEvent','OKUko','GetGroupFileCount','setMemberShutUp','getMemberExtInfo','CreatGroupFileFolder','group','iLitN','setGroupTitle','getGroupService','ckuSD','540617LTvAae','kHdgU','getGroupMembersWithNoCache','getGroupIgnoreNotifies','get','6ESPJgP','1466NrdUmP','NodeIKernelGroupService/getSingleScreenNotifies','getRichMediaService','errMsg','kickMember','SgnzX','uploadGroupBulletinPic','infos','banGroup'];_0x3c3c=function(){return _0xfef8f;};return _0x3c3c();} \ 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 76ee4acc4..edcd0fab9 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0xf43e1d,_0xfe3510){var _0x156f83=_0x8d4f,_0x2318e8=_0xf43e1d();while(!![]){try{var _0x444f23=-parseInt(_0x156f83(0x1d7))/0x1+-parseInt(_0x156f83(0x1d2))/0x2*(-parseInt(_0x156f83(0x1d5))/0x3)+parseInt(_0x156f83(0x1db))/0x4*(parseInt(_0x156f83(0x1d4))/0x5)+parseInt(_0x156f83(0x1d3))/0x6+-parseInt(_0x156f83(0x1da))/0x7+-parseInt(_0x156f83(0x1d8))/0x8+parseInt(_0x156f83(0x1d6))/0x9*(-parseInt(_0x156f83(0x1d9))/0xa);if(_0x444f23===_0xfe3510)break;else _0x2318e8['push'](_0x2318e8['shift']());}catch(_0xdb940e){_0x2318e8['push'](_0x2318e8['shift']());}}}(_0x5588,0x5300d));function _0x8d4f(_0x17f65c,_0x471b53){var _0x558833=_0x5588();return _0x8d4f=function(_0x8d4f25,_0x9c09b0){_0x8d4f25=_0x8d4f25-0x1d2;var _0x1bace1=_0x558833[_0x8d4f25];return _0x1bace1;},_0x8d4f(_0x17f65c,_0x471b53);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x5588(){var _0x58c4f1=['1754052ixDstc','11444Yeedri','3314820dEuNab','5SzRtVq','69umNHua','466209seGaaZ','82564ssMTBq','1289448IbYljA','30WuGlZO','2684220zQkQaU'];_0x5588=function(){return _0x58c4f1;};return _0x5588();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x123982,_0x521644){var _0x49e2ea=_0x1e93,_0x26a629=_0x123982();while(!![]){try{var _0x4656c7=parseInt(_0x49e2ea(0xe4))/0x1+-parseInt(_0x49e2ea(0xe5))/0x2+-parseInt(_0x49e2ea(0xe7))/0x3*(-parseInt(_0x49e2ea(0xe3))/0x4)+parseInt(_0x49e2ea(0xe6))/0x5*(-parseInt(_0x49e2ea(0xdf))/0x6)+-parseInt(_0x49e2ea(0xe1))/0x7+parseInt(_0x49e2ea(0xe8))/0x8+-parseInt(_0x49e2ea(0xe2))/0x9*(-parseInt(_0x49e2ea(0xe0))/0xa);if(_0x4656c7===_0x521644)break;else _0x26a629['push'](_0x26a629['shift']());}catch(_0x3cad39){_0x26a629['push'](_0x26a629['shift']());}}}(_0x3490,0x19dd9));export*from'./file';export*from'./friend';function _0x1e93(_0x2c2963,_0x4cf962){var _0x349059=_0x3490();return _0x1e93=function(_0x1e931b,_0x25e7e0){_0x1e931b=_0x1e931b-0xdf;var _0x341acd=_0x349059[_0x1e931b];return _0x341acd;},_0x1e93(_0x2c2963,_0x4cf962);}export*from'./group';export*from'./msg';function _0x3490(){var _0x44a5b5=['124280sIfhZH','8790rwBHWL','95510WXrtoS','645197caoNib','126ClDuyr','20vwVBmq','23045rBjLuM','264196yNQRLr','130unAYbE','117606KAUdZp'];_0x3490=function(){return _0x44a5b5;};return _0x3490();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index 4b2491a77..a2db253f3 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x15cab1=_0x58d6;(function(_0x3c2d82,_0x5ebf50){const _0x5bfa66=_0x58d6,_0x344877=_0x3c2d82();while(!![]){try{const _0x2cb2b6=-parseInt(_0x5bfa66(0x228))/0x1+-parseInt(_0x5bfa66(0x225))/0x2*(-parseInt(_0x5bfa66(0x227))/0x3)+-parseInt(_0x5bfa66(0x20d))/0x4*(-parseInt(_0x5bfa66(0x226))/0x5)+-parseInt(_0x5bfa66(0x1ed))/0x6+-parseInt(_0x5bfa66(0x208))/0x7+-parseInt(_0x5bfa66(0x1fc))/0x8+parseInt(_0x5bfa66(0x1f1))/0x9;if(_0x2cb2b6===_0x5ebf50)break;else _0x344877['push'](_0x344877['shift']());}catch(_0x133ad8){_0x344877['push'](_0x344877['shift']());}}}(_0x197a,0x6f6b9));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={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x15cab1(0x22a)]=_0x1b18b5=>{const _0x4e24e4=_0x15cab1;for(const [_0x5618c4,_0x5bfa41]of GroupFileInfoUpdateTasks){_0x5bfa41(_0x1b18b5),GroupFileInfoUpdateTasks[_0x4e24e4(0x1f9)](_0x5618c4);}},msgListener[_0x15cab1(0x21f)]=_0x31ba8c=>{const _0x5ad046=_0x15cab1,_0x27abeb={'OLkUH':function(_0x1b9d22,_0x7db89b){return _0x1b9d22(_0x7db89b);},'kjMxv':function(_0x5d1ffe,_0x27f166){return _0x5d1ffe instanceof _0x27f166;}};for(const [_0x257a68,_0x575d03]of sentMsgTasks){_0x27abeb['OLkUH'](_0x575d03,_0x31ba8c),sentMsgTasks[_0x5ad046(0x1f9)](_0x257a68);}if(sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]){const _0x51becb=sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]?.(_0x31ba8c);_0x27abeb['kjMxv'](_0x51becb,Promise)&&_0x51becb['then']()[_0x5ad046(0x20f)](logError);}},msgListener[_0x15cab1(0x22e)]=_0x1db113=>{const _0x403bf0=_0x15cab1,_0x284710={'UXwuP':function(_0x1bf9b5,_0x1c3e6c){return _0x1bf9b5(_0x1c3e6c);},'hxJtd':function(_0x3b3a2b,_0x419a83){return _0x3b3a2b(_0x419a83);}};_0x1db113[_0x403bf0(0x209)](_0x555d21=>{const _0x51e3d2=_0x403bf0;new Promise((_0x29636d,_0x4b7498)=>{const _0x5b7f7b=_0x58d6;for(const _0x533e5f in sendSuccessCBMap){const _0x13a7ac=sendSuccessCBMap[_0x533e5f],_0x426678=_0x284710[_0x5b7f7b(0x1f7)](_0x13a7ac,_0x555d21),_0x5dd812=_0x14ebb8=>{_0x14ebb8&&delete sendSuccessCBMap[_0x533e5f];};_0x426678 instanceof Promise?_0x426678[_0x5b7f7b(0x1f0)](_0x5dd812):_0x284710[_0x5b7f7b(0x212)](_0x5dd812,_0x426678);}})['then']()[_0x51e3d2(0x20f)](log);});},setTimeout(()=>{const _0x479407=_0x15cab1;napCatCore[_0x479407(0x1fd)](()=>{const _0x393879=_0x479407;napCatCore[_0x393879(0x1eb)](msgListener);});},0x64);function _0x58d6(_0x154e8f,_0x346750){const _0x197a50=_0x197a();return _0x58d6=function(_0x58d61c,_0x5cb1e9){_0x58d61c=_0x58d61c-0x1eb;let _0x64b0=_0x197a50[_0x58d61c];return _0x64b0;},_0x58d6(_0x154e8f,_0x346750);}export class NTQQMsgApi{static async[_0x15cab1(0x22f)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x3d02a1=!![]){const _0x4dffc9=_0x15cab1,_0x4719e1={'YAPGF':function(_0x1c6285,_0x3f0855){return _0x1c6285>_0x3f0855;}};return _0x5c0c98=_0x5c0c98['toString'](),napCatCore['session'][_0x4dffc9(0x207)]()[_0x4dffc9(0x1f3)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x4719e1['YAPGF'](_0x5c0c98[_0x4dffc9(0x1fa)],0x3)?'2':'1',_0x3d02a1);}static async[_0x15cab1(0x201)](_0x3adc03,_0x4780f4,_0x971bde){const _0x250c1f=_0x15cab1;return napCatCore['session'][_0x250c1f(0x207)]()[_0x250c1f(0x201)](_0x3adc03,_0x4780f4,_0x971bde);}static async[_0x15cab1(0x1f5)](_0x4e316e,_0x4d0369){const _0xcec66=_0x15cab1;return await napCatCore[_0xcec66(0x20c)][_0xcec66(0x207)]()[_0xcec66(0x1f5)](_0x4e316e,_0x4d0369);}static async['getMsgsBySeqAndCount'](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb){const _0x593c31=_0x15cab1;return await napCatCore[_0x593c31(0x20c)][_0x593c31(0x207)]()[_0x593c31(0x218)](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb);}static async[_0x15cab1(0x20e)](_0x3cab7f){}static async[_0x15cab1(0x224)](_0x5c9e0a){}static async[_0x15cab1(0x222)](_0xd5db5){const _0x300df4=_0x15cab1;return napCatCore['session'][_0x300df4(0x207)]()[_0x300df4(0x222)](_0xd5db5);}static async[_0x15cab1(0x1f6)](_0x1a55ff,_0x160b12){const _0x361597={'tFQVT':function(_0x5d2436,_0x5c2c71){return _0x5d2436(_0x5c2c71);},'FzrpD':'获取群文件列表超时','aaNAh':function(_0xccf56a,_0x33c118){return _0xccf56a(_0x33c118);},'NGvXf':function(_0xb01369,_0x4f3c4c,_0xaf9ed7){return _0xb01369(_0x4f3c4c,_0xaf9ed7);},'AcAhH':function(_0x4f90d1){return _0x4f90d1();}};return new Promise(async(_0x284e7c,_0x4ad866)=>{const _0x3050fd=_0x58d6;let _0x32ecfb=![];_0x361597[_0x3050fd(0x214)](setTimeout,()=>{const _0x401b4f=_0x3050fd;!_0x32ecfb&&_0x361597[_0x401b4f(0x1ec)](_0x4ad866,_0x361597['FzrpD']);},0x1388);const _0x367b92=_0x39b1a2=>{const _0x5f07e5=_0x3050fd;_0x32ecfb=!![],_0x361597[_0x5f07e5(0x217)](_0x284e7c,_0x39b1a2[_0x5f07e5(0x229)]);};GroupFileInfoUpdateTasks[_0x3050fd(0x1ff)](_0x361597[_0x3050fd(0x22c)](randomUUID),_0x367b92),await napCatCore['session'][_0x3050fd(0x203)]()[_0x3050fd(0x1f6)](_0x1a55ff,_0x160b12);});}static async[_0x15cab1(0x210)](_0x202736,_0x55e2a5,_0x30667d){const _0x306512=_0x15cab1;return napCatCore[_0x306512(0x20c)][_0x306512(0x207)]()[_0x306512(0x211)](_0x202736,_0x55e2a5,_0x30667d,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x5cc12c,_0x47a93b){const _0x3ca279=_0x15cab1;await napCatCore[_0x3ca279(0x20c)]['getMsgService']()['recallMsg']({'chatType':_0x5cc12c[_0x3ca279(0x21e)],'peerUid':_0x5cc12c['peerUid']},_0x47a93b);}static async[_0x15cab1(0x232)](_0x34c4bf,_0x105970,_0x56d2e2=!![],_0x55d830=0x2710){const _0x47f707=_0x15cab1,_0x269db6={'drSJf':'发送超时','QSPaD':function(_0x29249b,_0x2f27d7){return _0x29249b(_0x2f27d7);},'dchQF':function(_0x2afb8a){return _0x2afb8a();},'zcxtA':function(_0x285ff1,_0x2f090b){return _0x285ff1===_0x2f090b;},'jtUmW':function(_0x4acfe){return _0x4acfe();},'NJBjF':function(_0x3ea2ff,_0x4ce401,_0x5a98a8){return _0x3ea2ff(_0x4ce401,_0x5a98a8);}},_0x1669f2=_0x34c4bf[_0x47f707(0x22b)];let _0x5f2c8e=0x0;const _0xdf73b=async()=>{const _0x57a695=_0x47f707;if(_0x5f2c8e>_0x55d830)throw _0x269db6[_0x57a695(0x21a)];const _0x2c78fa=sendMessagePool[_0x34c4bf[_0x57a695(0x22b)]];if(_0x2c78fa)return await _0x269db6['QSPaD'](sleep,0x1f4),_0x5f2c8e+=0x1f4,await _0x269db6[_0x57a695(0x220)](_0xdf73b);else return;};return await _0x269db6[_0x47f707(0x220)](_0xdf73b),new Promise((_0x18eded,_0x4c2b39)=>{const _0x4d9551=_0x47f707;let _0x5056ad=![],_0x36eac9=null;const _0x1a063b=_0x269db6[_0x4d9551(0x219)](randomUUID);sendSuccessCBMap[_0x1a063b]=_0x37d2cc=>{const _0x244e8d=_0x4d9551;if(_0x37d2cc[_0x244e8d(0x20b)]===_0x36eac9?.[_0x244e8d(0x20b)]){if(_0x269db6[_0x244e8d(0x205)](_0x37d2cc['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1a063b],_0x5056ad=!![],_0x269db6[_0x244e8d(0x206)](_0x18eded,_0x37d2cc),!![];return![];}return![];},sendMessagePool[_0x1669f2]=async _0x348a03=>{delete sendMessagePool[_0x1669f2],_0x36eac9=_0x348a03;},_0x269db6[_0x4d9551(0x202)](setTimeout,()=>{const _0x2d83f8=_0x4d9551;if(_0x5056ad)return;delete sendMessagePool[_0x1669f2],delete sendSuccessCBMap[_0x1a063b],_0x269db6[_0x2d83f8(0x206)](_0x4c2b39,'发送超时');},_0x55d830);const _0x2e1e6d=napCatCore['session'][_0x4d9551(0x207)]()[_0x4d9551(0x232)]('0',_0x34c4bf,_0x105970,new Map());});}static async[_0x15cab1(0x22d)](_0x2adb3a,_0x1cac20,_0x1ccc05){const _0x2afbcb=_0x15cab1;return napCatCore[_0x2afbcb(0x20c)][_0x2afbcb(0x207)]()[_0x2afbcb(0x22d)](_0x1ccc05,_0x2adb3a,[_0x1cac20],new Map());}static async[_0x15cab1(0x1ef)](_0x28ef98,_0x216954,_0x1322c3){const _0x38b16d=_0x15cab1,_0x4ecad7={'KOwLP':'com.tencent.multimsg','LKRAb':function(_0x196249,_0x275bbb){return _0x196249==_0x275bbb;},'VabYi':function(_0x29c972,_0x438017){return _0x29c972==_0x438017;},'MMbbQ':function(_0x54650b,_0x5541a6){return _0x54650b(_0x5541a6);},'hnqLz':_0x38b16d(0x1f2)},_0x1e4c77=_0x1322c3[_0x38b16d(0x1f4)](_0x1d076e=>{const _0x317b59=_0x38b16d;return{'msgId':_0x1d076e,'senderShowName':selfInfo[_0x317b59(0x230)]};});return new Promise((_0x2da6cd,_0x1dcd17)=>{const _0x15d0b=_0x38b16d,_0x39043c={'lnybS':function(_0xa1fefe,_0x4a4617){return _0xa1fefe!=_0x4a4617;},'eClyv':_0x4ecad7[_0x15d0b(0x1fb)],'WSKko':function(_0x420748,_0x19b2d0){const _0x16f308=_0x15d0b;return _0x4ecad7[_0x16f308(0x1f8)](_0x420748,_0x19b2d0);},'ZhEGO':function(_0x11d624,_0xfb3ea5){return _0x4ecad7['VabYi'](_0x11d624,_0xfb3ea5);},'ZdCfV':function(_0x26e82d,_0x313104){const _0xf81153=_0x15d0b;return _0x4ecad7[_0xf81153(0x204)](_0x26e82d,_0x313104);},'CIqPO':_0x4ecad7[_0x15d0b(0x216)]};let _0x24bdac=![];const _0x468be8=_0x47c63d=>{const _0x4ba3ed=_0x15d0b,_0x38179b=_0x47c63d[_0x4ba3ed(0x21d)][_0x4ba3ed(0x21b)](_0x5dd6f2=>_0x5dd6f2[_0x4ba3ed(0x233)]);if(!_0x38179b)return;const _0x41ddee=JSON[_0x4ba3ed(0x21c)](_0x38179b[_0x4ba3ed(0x233)][_0x4ba3ed(0x213)]);if(_0x39043c[_0x4ba3ed(0x1ee)](_0x41ddee['app'],_0x39043c[_0x4ba3ed(0x215)]))return;_0x39043c[_0x4ba3ed(0x231)](_0x47c63d[_0x4ba3ed(0x22b)],_0x216954[_0x4ba3ed(0x22b)])&&_0x39043c[_0x4ba3ed(0x20a)](_0x47c63d[_0x4ba3ed(0x1fe)],selfInfo[_0x4ba3ed(0x200)])&&(_0x24bdac=!![],_0x2da6cd(_0x47c63d));};sentMsgTasks[_0x15d0b(0x1ff)](randomUUID(),_0x468be8),setTimeout(()=>{const _0x2ad737=_0x15d0b;!_0x24bdac&&_0x39043c[_0x2ad737(0x221)](_0x1dcd17,_0x39043c[_0x2ad737(0x223)]);},0x1388),napCatCore['session'][_0x15d0b(0x207)]()['multiForwardMsgWithComment'](_0x1e4c77,_0x28ef98,_0x216954,[],new Map());});}}function _0x197a(){const _0x2bda50=['jtUmW','drSJf','find','parse','elements','chatType','onAddSendMsg','dchQF','ZdCfV','setMsgRead','CIqPO','activateChatAndGetHistory','8018ehVUbp','8150muyubV','327xFUoQk','598718nzSLCC','item','onGroupFileInfoUpdate','peerUid','AcAhH','forwardMsg','onMsgInfoListUpdate','setEmojiLike','nick','WSKko','sendMsg','arkElement','addListener','tFQVT','2452536rxVfxn','lnybS','multiForwardMsg','then','13862997phPJKe','转发消息超时','setMsgEmojiLikes','map','getMsgsByMsgId','getGroupFileList','UXwuP','LKRAb','delete','length','KOwLP','847008cRSQVo','onLoginSuccess','senderUid','set','uid','getMultiMsg','NJBjF','getRichMediaService','MMbbQ','zcxtA','QSPaD','getMsgService','3012849KELVEt','forEach','ZhEGO','msgId','session','56lRpjWR','activateChat','catch','getMsgHistory','getMsgsIncludeSelf','hxJtd','bytesData','NGvXf','eClyv','hnqLz','aaNAh','getMsgsBySeqAndCount'];_0x197a=function(){return _0x2bda50;};return _0x197a();} \ No newline at end of file +const _0x1ac338=_0x2858;(function(_0x2ed178,_0x49399b){const _0x4567e1=_0x2858,_0x593573=_0x2ed178();while(!![]){try{const _0xaa43b=parseInt(_0x4567e1(0xb7))/0x1*(parseInt(_0x4567e1(0x95))/0x2)+parseInt(_0x4567e1(0x92))/0x3*(parseInt(_0x4567e1(0x87))/0x4)+-parseInt(_0x4567e1(0x8c))/0x5*(parseInt(_0x4567e1(0xcd))/0x6)+parseInt(_0x4567e1(0x99))/0x7*(-parseInt(_0x4567e1(0x8f))/0x8)+parseInt(_0x4567e1(0xbe))/0x9+parseInt(_0x4567e1(0xa4))/0xa+parseInt(_0x4567e1(0x97))/0xb;if(_0xaa43b===_0x49399b)break;else _0x593573['push'](_0x593573['shift']());}catch(_0x42373d){_0x593573['push'](_0x593573['shift']());}}}(_0x514f,0xac06f));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x514f(){const _0x256efb=['fetchRecentContact','112998yHloHS','setMsgRead','getMsgService','QbHvD','getMsgHistory','setEmojiLike','find','ZdpaC','getGroupFileList','UZvtz','zFCcG','addListener','发送超时','12108JqnUWt','then','setMsgEmojiLikes','sendStatus','session','185swuwvo','CObSg','app','215608ZTtnUn','HQkWE','senderUid','81YEheML','delete','activateChat','5008EfthvG','uid','4033689eiqBlU','onLoginSuccess','273sQLcEo','iPkoQ','lJAsz','getMultiMsg','bytesData','sendMsg','set','getRichMediaService','peerUid','onAddSendMsg','nUgqv','7236620KCmXya','UDHYC','DRbcC','ktoTX','cfCac','getMsgsBySeqAndCount','ANWWl','nick','arkElement','VejCE','activateChatAndGetHistory','getMsgsByMsgId','forwardMsg','inKeV','length','elements','ShalP','recallMsg','com.tencent.multimsg','251hoMkjo','获取群文件列表超时','jvHct','onMsgInfoListUpdate','msgId','转发消息超时','chatType','5867451etiYKP','QjjKR','item','QUXvN','getMsgsIncludeSelf','LaWTY','multiForwardMsgWithComment','forEach','Tzhwo','caTFG','vTpPq','zNyys','catch','bZCEB'];_0x514f=function(){return _0x256efb;};return _0x514f();}import{sleep}from'@/common/utils/helper';function _0x2858(_0xeedde4,_0x557228){const _0x514f8b=_0x514f();return _0x2858=function(_0x285805,_0x4ba029){_0x285805=_0x285805-0x7f;let _0x586b98=_0x514f8b[_0x285805];return _0x586b98;},_0x2858(_0xeedde4,_0x557228);}import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x27209d=>{const _0x23c212=_0x2858,_0xedf545={'QbHvD':function(_0x16ee4f,_0x4f61e1){return _0x16ee4f(_0x4f61e1);}};for(const [_0x46d5f3,_0x6d0693]of GroupFileInfoUpdateTasks){_0xedf545[_0x23c212(0xd0)](_0x6d0693,_0x27209d),GroupFileInfoUpdateTasks[_0x23c212(0x93)](_0x46d5f3);}},msgListener[_0x1ac338(0xa2)]=_0x305732=>{const _0x23f1a2=_0x1ac338,_0x750513={'CObSg':function(_0xac3aa3,_0x23ac46){return _0xac3aa3(_0x23ac46);}};for(const [_0x2b8225,_0x250acd]of sentMsgTasks){_0x750513[_0x23f1a2(0x8d)](_0x250acd,_0x305732),sentMsgTasks['delete'](_0x2b8225);}if(sendMessagePool[_0x305732['peerUid']]){const _0x413dd8=sendMessagePool[_0x305732[_0x23f1a2(0xa1)]]?.(_0x305732);_0x413dd8 instanceof Promise&&_0x413dd8['then']()[_0x23f1a2(0xca)](logError);}},msgListener[_0x1ac338(0xba)]=_0x302cd0=>{const _0x1a6c24=_0x1ac338,_0x406475={'QUXvN':function(_0x189ae1,_0x3f72bb){return _0x189ae1(_0x3f72bb);},'DRbcC':function(_0x3c241c,_0x559d96){return _0x3c241c instanceof _0x559d96;}};_0x302cd0[_0x1a6c24(0xc5)](_0x315020=>{const _0x362857=_0x1a6c24,_0x43beac={'VejCE':function(_0x533320,_0x2d7306){const _0x242600=_0x2858;return _0x406475[_0x242600(0xc1)](_0x533320,_0x2d7306);},'zFCcG':function(_0x1d6b8e,_0x13a09b){const _0x4efca6=_0x2858;return _0x406475[_0x4efca6(0xa6)](_0x1d6b8e,_0x13a09b);}};new Promise((_0x404e8c,_0x24a0fb)=>{const _0x218d6f=_0x2858;for(const _0x17bad8 in sendSuccessCBMap){const _0x1e63ae=sendSuccessCBMap[_0x17bad8],_0x5b28b0=_0x43beac[_0x218d6f(0xad)](_0x1e63ae,_0x315020),_0x2cc253=_0x5c14c4=>{_0x5c14c4&&delete sendSuccessCBMap[_0x17bad8];};_0x43beac[_0x218d6f(0x84)](_0x5b28b0,Promise)?_0x5b28b0[_0x218d6f(0x88)](_0x2cc253):_0x2cc253(_0x5b28b0);}})[_0x362857(0x88)]()['catch'](log);});},setTimeout(()=>{const _0x34ea4e=_0x1ac338;napCatCore[_0x34ea4e(0x98)](()=>{const _0x221e0e=_0x34ea4e;napCatCore[_0x221e0e(0x85)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1ac338(0x7f)](_0x287f81,_0x1a0c7f,_0x15e0fd,_0x3f6f4a=!![]){const _0x16f7e1=_0x1ac338,_0x299daa={'vTpPq':function(_0x1165d0,_0x1d1e9d){return _0x1165d0>_0x1d1e9d;}};return _0x15e0fd=_0x15e0fd['toString'](),napCatCore[_0x16f7e1(0x8b)][_0x16f7e1(0xcf)]()[_0x16f7e1(0x89)](_0x287f81,_0x1a0c7f,_0x15e0fd,_0x299daa[_0x16f7e1(0xc8)](_0x15e0fd[_0x16f7e1(0xb2)],0x3)?'2':'1',_0x3f6f4a);}static async[_0x1ac338(0x9c)](_0x331dc0,_0x1a7ee3,_0x2b940c){const _0x2d7277=_0x1ac338;return napCatCore[_0x2d7277(0x8b)][_0x2d7277(0xcf)]()[_0x2d7277(0x9c)](_0x331dc0,_0x1a7ee3,_0x2b940c);}static async[_0x1ac338(0xaf)](_0x3a6c41,_0x500d40){const _0x79ffac=_0x1ac338;return await napCatCore[_0x79ffac(0x8b)][_0x79ffac(0xcf)]()[_0x79ffac(0xaf)](_0x3a6c41,_0x500d40);}static async[_0x1ac338(0xa9)](_0x355579,_0x34221c,_0x2a64a5,_0x43b939,_0x59bf27){const _0x149724=_0x1ac338;return await napCatCore['session'][_0x149724(0xcf)]()[_0x149724(0xa9)](_0x355579,_0x34221c,_0x2a64a5,_0x43b939,_0x59bf27);}static async[_0x1ac338(0x94)](_0x1eb000){}static async[_0x1ac338(0xae)](_0x20e77f){}static async[_0x1ac338(0xce)](_0x49efaa){const _0x402c32=_0x1ac338;return napCatCore[_0x402c32(0x8b)][_0x402c32(0xcf)]()['setMsgRead'](_0x49efaa);}static async[_0x1ac338(0x82)](_0x5cb898,_0x1687df){const _0x290904={'iPkoQ':function(_0x44b24c,_0x4da698){return _0x44b24c(_0x4da698);},'fimuY':function(_0x22c011,_0x55caad){return _0x22c011(_0x55caad);},'ANWWl':function(_0x1f06ed,_0x6ae18f,_0x223dd9){return _0x1f06ed(_0x6ae18f,_0x223dd9);}};return new Promise(async(_0x3597db,_0x484b34)=>{const _0x2402d4=_0x2858;let _0x23ff49=![];_0x290904[_0x2402d4(0xaa)](setTimeout,()=>{const _0x47fd8d=_0x2402d4;!_0x23ff49&&_0x290904[_0x47fd8d(0x9a)](_0x484b34,_0x47fd8d(0xb8));},0x1388);const _0x394f77=_0x514d92=>{const _0x4b96e6=_0x2402d4;_0x23ff49=!![],_0x290904['fimuY'](_0x3597db,_0x514d92[_0x4b96e6(0xc0)]);};GroupFileInfoUpdateTasks[_0x2402d4(0x9f)](randomUUID(),_0x394f77),await napCatCore[_0x2402d4(0x8b)][_0x2402d4(0xa0)]()[_0x2402d4(0x82)](_0x5cb898,_0x1687df);});}static async[_0x1ac338(0xd1)](_0xd82c04,_0x79d742,_0xe459b6){const _0xdcc383=_0x1ac338;return napCatCore[_0xdcc383(0x8b)][_0xdcc383(0xcf)]()[_0xdcc383(0xc2)](_0xd82c04,_0x79d742,_0xe459b6,!![]);}static async[_0x1ac338(0xcc)](){}static async[_0x1ac338(0xb5)](_0x3fe504,_0x29b9ea){const _0x2c5e7c=_0x1ac338;await napCatCore[_0x2c5e7c(0x8b)][_0x2c5e7c(0xcf)]()['recallMsg']({'chatType':_0x3fe504[_0x2c5e7c(0xbd)],'peerUid':_0x3fe504[_0x2c5e7c(0xa1)]},_0x29b9ea);}static async[_0x1ac338(0x9e)](_0x4cd911,_0x17bba4,_0x3ba579=!![],_0x1853b6=0x2710){const _0xc65cf6=_0x1ac338,_0x1842af={'caTFG':function(_0x5e61c5,_0x2318ac){return _0x5e61c5>_0x2318ac;},'ShalP':function(_0x388d24,_0x3eaea0){return _0x388d24(_0x3eaea0);},'zNyys':function(_0x556a45,_0x2c7ac7){return _0x556a45===_0x2c7ac7;},'ZdpaC':function(_0x485015,_0x2f24ed){return _0x485015(_0x2f24ed);},'ktoTX':'发送超时','jvHct':function(_0x4794b6){return _0x4794b6();}},_0x5848ca=_0x4cd911[_0xc65cf6(0xa1)];let _0x44edd7=0x0;const _0x4b0b33=async()=>{const _0x175096=_0xc65cf6;if(_0x1842af[_0x175096(0xc7)](_0x44edd7,_0x1853b6))throw _0x175096(0x86);const _0x3b11fb=sendMessagePool[_0x4cd911[_0x175096(0xa1)]];if(_0x3b11fb)return await _0x1842af[_0x175096(0xb4)](sleep,0x1f4),_0x44edd7+=0x1f4,await _0x4b0b33();else return;};return await _0x1842af[_0xc65cf6(0xb9)](_0x4b0b33),new Promise((_0x5af983,_0x24bf2c)=>{const _0x269d5a=_0xc65cf6,_0x34ad77={'sjeAV':function(_0x3ec4fd,_0xef196a){const _0x4912ce=_0x2858;return _0x1842af[_0x4912ce(0xc9)](_0x3ec4fd,_0xef196a);},'inKeV':function(_0xb08939,_0x56ffbb){const _0x31d430=_0x2858;return _0x1842af[_0x31d430(0x81)](_0xb08939,_0x56ffbb);},'TWkem':_0x1842af[_0x269d5a(0xa7)]};let _0x166698=![],_0x1223ed=null;const _0x4ca3bb=randomUUID();sendSuccessCBMap[_0x4ca3bb]=_0x1080fa=>{const _0x262c6e=_0x269d5a;if(_0x34ad77['sjeAV'](_0x1080fa[_0x262c6e(0xbb)],_0x1223ed?.[_0x262c6e(0xbb)])){if(_0x1080fa[_0x262c6e(0x8a)]===0x2)return delete sendSuccessCBMap[_0x4ca3bb],_0x166698=!![],_0x34ad77[_0x262c6e(0xb1)](_0x5af983,_0x1080fa),!![];return![];}return![];},sendMessagePool[_0x5848ca]=async _0x2a56f3=>{delete sendMessagePool[_0x5848ca],_0x1223ed=_0x2a56f3;},setTimeout(()=>{if(_0x166698)return;delete sendMessagePool[_0x5848ca],delete sendSuccessCBMap[_0x4ca3bb],_0x34ad77['inKeV'](_0x24bf2c,_0x34ad77['TWkem']);},_0x1853b6);const _0x1586dc=napCatCore[_0x269d5a(0x8b)][_0x269d5a(0xcf)]()['sendMsg']('0',_0x4cd911,_0x17bba4,new Map());});}static async[_0x1ac338(0xb0)](_0x567cf1,_0x2d6241,_0x4d839b){const _0x199c1a=_0x1ac338;return napCatCore['session'][_0x199c1a(0xcf)]()[_0x199c1a(0xb0)](_0x4d839b,_0x567cf1,[_0x2d6241],new Map());}static async['multiForwardMsg'](_0x5f5085,_0x185805,_0x1db402){const _0x2e6601=_0x1ac338,_0x288723={'PVrbO':function(_0x148476,_0x461e0a){return _0x148476(_0x461e0a);},'UZvtz':function(_0x542f28,_0x1b5538){return _0x542f28!=_0x1b5538;},'nUgqv':_0x2e6601(0xb6),'HQkWE':function(_0x1e91da,_0x1e1761){return _0x1e91da==_0x1e1761;},'UDHYC':function(_0x35eea2,_0x2f3fa0){return _0x35eea2(_0x2f3fa0);},'LaWTY':function(_0x308f22){return _0x308f22();},'QjjKR':function(_0x10d2c0,_0x32679b,_0x3e5f37){return _0x10d2c0(_0x32679b,_0x3e5f37);}},_0x18239f=_0x1db402['map'](_0x54ba8a=>{const _0x4875cc=_0x2e6601;return{'msgId':_0x54ba8a,'senderShowName':selfInfo[_0x4875cc(0xab)]};});return new Promise((_0x5d59f1,_0x5a428f)=>{const _0x25546d=_0x2e6601,_0x3ee075={'lJAsz':function(_0x264139,_0xf27781){const _0x2e4cd7=_0x2858;return _0x288723[_0x2e4cd7(0x83)](_0x264139,_0xf27781);},'bZCEB':_0x288723[_0x25546d(0xa3)],'cfCac':function(_0x186939,_0x37b41e){const _0x12626c=_0x25546d;return _0x288723[_0x12626c(0x90)](_0x186939,_0x37b41e);},'Tzhwo':function(_0x3688ab,_0x451ffa){const _0x411739=_0x25546d;return _0x288723[_0x411739(0xa5)](_0x3688ab,_0x451ffa);}};let _0x38c613=![];const _0x4b0d19=_0xa7a001=>{const _0x438d4a=_0x25546d,_0x5642f9=_0xa7a001[_0x438d4a(0xb3)][_0x438d4a(0x80)](_0xe02a2d=>_0xe02a2d['arkElement']);if(!_0x5642f9)return;const _0xa30595=JSON['parse'](_0x5642f9[_0x438d4a(0xac)][_0x438d4a(0x9d)]);if(_0x3ee075[_0x438d4a(0x9b)](_0xa30595[_0x438d4a(0x8e)],_0x3ee075[_0x438d4a(0xcb)]))return;_0xa7a001[_0x438d4a(0xa1)]==_0x185805['peerUid']&&_0x3ee075[_0x438d4a(0xa8)](_0xa7a001[_0x438d4a(0x91)],selfInfo[_0x438d4a(0x96)])&&(_0x38c613=!![],_0x3ee075[_0x438d4a(0xc6)](_0x5d59f1,_0xa7a001));};sentMsgTasks[_0x25546d(0x9f)](_0x288723[_0x25546d(0xc3)](randomUUID),_0x4b0d19),_0x288723[_0x25546d(0xbf)](setTimeout,()=>{const _0x9a2f55=_0x25546d;!_0x38c613&&_0x288723['PVrbO'](_0x5a428f,_0x9a2f55(0xbc));},0x1388),napCatCore['session'][_0x25546d(0xcf)]()[_0x25546d(0xc4)](_0x18239f,_0x5f5085,_0x185805,[],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 a275e6966..561ebc3fc 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x2adea,_0x1e8481){const _0x43d7eb=_0x11b2,_0x5ece13=_0x2adea();while(!![]){try{const _0x5bb758=parseInt(_0x43d7eb(0xfa))/0x1*(parseInt(_0x43d7eb(0xbf))/0x2)+parseInt(_0x43d7eb(0xae))/0x3*(parseInt(_0x43d7eb(0xe6))/0x4)+-parseInt(_0x43d7eb(0xdd))/0x5+-parseInt(_0x43d7eb(0xe1))/0x6+parseInt(_0x43d7eb(0xe2))/0x7+parseInt(_0x43d7eb(0xc6))/0x8+-parseInt(_0x43d7eb(0xd1))/0x9;if(_0x5bb758===_0x1e8481)break;else _0x5ece13['push'](_0x5ece13['shift']());}catch(_0x4682b7){_0x5ece13['push'](_0x5ece13['shift']());}}}(_0x4f61,0x28f10));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x4f61(){const _0x7d7da3=['title','com.tencent.qqreader.share','normal','6cxVgAi','track_info','https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','MiniApp\x20JSON\x20消息生成失败','fUSHm','卡片图片不正确','xIfUg','qTbvH','NDiKh','&type=0','QCDgK','mid','p_skey','uin','POST','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','p_skey=','2RrDizD','stringify','preview','&type=8','NCwvY','HttpGetJson','JDlUB','1818736kvyBqU','cover','TGphe','pnwiC','jumpUrl','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','oPBnd','singer','com.tencent.miniapp.lua','WODii','unlink','2885742aZVsTc','ZobIq','name','PqPjI','KZLbj',';\x20skey=','ursTv','ZQpCT','HhLei','yTSwL','application/json','0.0.0.1','232475UBsnhh','tagIcon','inFOF','tag','702324xQyngo','1736336fLyGBZ',';\x20uin=o','\x5c/\x5c/','ndyKE','101132MbnpGd','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','wayMB','sourcelogo','music','pcZzJ','liyFa','9a63343c32d5a16bcde653eb97faa25d','RDBWK','LTopH','ADgcX','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','prompt','tianxuan.imgJumpArk','KmUqj','uin=o10086','GET','YuxkP','dvKNK','InyhY','125927HfJtLV','replace','IwSQW','NxhKg'];_0x4f61=function(){return _0x7d7da3;};return _0x4f61();}import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x463dcc from'node:fs';export async function SignMiniApp(_0x905b49){const _0x4c9cc2=_0x11b2,_0x36b0e4={'pcZzJ':_0x4c9cc2(0xce),'KBSZS':_0x4c9cc2(0xf3),'NxhKg':'miniapp','xIfUg':_0x4c9cc2(0xe4),'IwSQW':function(_0x10cb16,_0x20cbfb){return _0x10cb16+_0x20cbfb;},'vFcua':function(_0x33a21f,_0x47e6bc){return _0x33a21f+_0x47e6bc;},'QCDgK':_0x4c9cc2(0xd6),'CxLuh':';\x20p_uin=o','yTSwL':_0x4c9cc2(0xe3),'KZLbj':function(_0x58472a,_0x9ea659){return _0x58472a+_0x9ea659;},'NCwvY':_0x4c9cc2(0xf1),'XOXlf':function(_0x10d4db,_0x1b5076){return _0x10d4db(_0x1b5076);},'HJgYK':'GET','LTopH':_0x4c9cc2(0xb1)};let _0xbe7d9d={'app':_0x36b0e4[_0x4c9cc2(0xeb)],'bizsrc':_0x36b0e4['KBSZS'],'view':_0x36b0e4[_0x4c9cc2(0xaa)],'prompt':_0x905b49[_0x4c9cc2(0xf2)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x905b49[_0x4c9cc2(0xab)],'preview':_0x905b49[_0x4c9cc2(0xc1)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'jumpUrl':_0x905b49[_0x4c9cc2(0xca)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4['xIfUg']),'tag':_0x905b49[_0x4c9cc2(0xe0)],'tagIcon':_0x905b49[_0x4c9cc2(0xde)]['replace'](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'source':_0x905b49['source'],'sourcelogo':_0x905b49[_0x4c9cc2(0xe9)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)])}}},_0x4a9f82=await NTQQUserApi['getQzoneCookies']();const _0x2dba41=WebApi['genBkn'](_0x4a9f82['p_skey']),_0x49f886=_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4['vFcua'](_0x4c9cc2(0xbe)+_0x4a9f82[_0x4c9cc2(0xba)]+_0x36b0e4[_0x4c9cc2(0xb8)],_0x4a9f82['skey']),_0x36b0e4['CxLuh'])+selfInfo[_0x4c9cc2(0xbb)]+_0x36b0e4[_0x4c9cc2(0xda)],selfInfo[_0x4c9cc2(0xbb)]);let _0x31b2fb=_0x36b0e4['KZLbj'](_0x36b0e4[_0x4c9cc2(0xd5)](_0x36b0e4[_0x4c9cc2(0xc3)],_0x2dba41)+'&ark=',_0x36b0e4['XOXlf'](encodeURIComponent,JSON[_0x4c9cc2(0xc0)](_0xbe7d9d))),_0x596fa8='';try{let _0x8daed3=await RequestUtil[_0x4c9cc2(0xc4)](_0x31b2fb,_0x36b0e4['HJgYK'],undefined,{'Cookie':_0x49f886});_0x596fa8=_0x8daed3['data']['signed_ark'];}catch(_0x540be8){logDebug(_0x36b0e4[_0x4c9cc2(0xef)],_0x540be8);}return _0x596fa8;}function _0x11b2(_0x2ca7c1,_0x411209){const _0x4f61f6=_0x4f61();return _0x11b2=function(_0x11b261,_0x12bdb9){_0x11b261=_0x11b261-0xaa;let _0x134664=_0x4f61f6[_0x11b261];return _0x134664;},_0x11b2(_0x2ca7c1,_0x411209);}export async function SignMusicInternal(_0x9a5a42,_0x45b2cb,_0x27c562,_0x569ab7,_0x2c735d){const _0xfb0e6=_0x11b2,_0x411dfe={'RDBWK':_0xfb0e6(0xac),'WODii':_0xfb0e6(0xed),'ZQpCT':_0xfb0e6(0xad),'ursTv':function(_0x138570,_0x5347ec){return _0x138570+_0x5347ec;},'NDiKh':'https://i.y.qq.com/v8/playsong.html?songmid=','HhLei':_0xfb0e6(0xb7),'ADgcX':_0xfb0e6(0xbd),'InyhY':'QQ音乐','dvKNK':'[分享]','TGphe':_0xfb0e6(0xdc),'ZobIq':_0xfb0e6(0xbc),'fUSHm':_0xfb0e6(0xf5),'tfQxE':_0xfb0e6(0xdb)};let _0x577123=_0xfb0e6(0xe7),_0x1ee3e7={'app':_0x411dfe[_0xfb0e6(0xee)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x411dfe[_0xfb0e6(0xcf)],'type':_0x411dfe[_0xfb0e6(0xd8)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x45b2cb,'jumpUrl':_0x411dfe[_0xfb0e6(0xd7)](_0x411dfe[_0xfb0e6(0xb6)]+_0x569ab7,_0x411dfe[_0xfb0e6(0xd9)]),'musicUrl':_0x2c735d,'preview':_0x27c562,'cover':_0x27c562,'sourceMsgId':'0','source_icon':_0x411dfe[_0xfb0e6(0xf0)],'source_url':'','tag':_0x411dfe[_0xfb0e6(0xf9)],'title':_0x9a5a42,'uin':0x2766}},'prompt':_0x411dfe[_0xfb0e6(0xf8)]+_0x9a5a42,'ver':_0x411dfe[_0xfb0e6(0xc8)],'view':_0xfb0e6(0xea)},_0xc00afb=await RequestUtil['HttpGetJson'](_0x577123,_0x411dfe[_0xfb0e6(0xd2)],_0x1ee3e7,{'Cookie':_0x411dfe[_0xfb0e6(0xb2)],'Content-Type':_0x411dfe['tfQxE']});return _0xc00afb;}export async function CreateMusicThridWay0(_0x279485='',_0x5ce8dc=''){const _0x4ac138=_0x11b2,_0xe5abd2={'YuxkP':function(_0x2776a5,_0x154acb){return _0x2776a5+_0x154acb;},'inFOF':_0x4ac138(0xcb),'PqPjI':function(_0x288edc,_0x4ee0b7){return _0x288edc+_0x4ee0b7;},'ndyKE':function(_0x42f49f,_0x4ff9b6){return _0x42f49f+_0x4ff9b6;},'wayMB':'https://api.leafone.cn/api/qqmusic?id=','DvsKf':_0x4ac138(0xc2),'pnwiC':_0x4ac138(0xf6)};if(_0x5ce8dc==''){let _0x4a8938=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xf7)](_0x4ac138(0xb0),_0x279485)+_0xe5abd2[_0x4ac138(0xdf)],_0x4ac138(0xf6),undefined);_0x5ce8dc=_0x4a8938['songinfo']?.['data']?.[_0x4ac138(0xaf)][_0x4ac138(0xb9)];}let _0x54a6b8=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xd4)](_0xe5abd2[_0x4ac138(0xe5)](_0xe5abd2[_0x4ac138(0xe8)],_0x5ce8dc),_0xe5abd2['DvsKf']),_0xe5abd2[_0x4ac138(0xc9)],undefined);return{..._0x54a6b8['data'],'mid':_0x5ce8dc};}export async function CreateMusicThridWay1(_0x590c85='',_0x2c8c33=''){}export async function SignMusicWrapper(_0x240789=''){const _0x20596e=_0x11b2,_0x26cf06={'liyFa':function(_0x128746,_0x4e778d){return _0x128746(_0x4e778d);},'oPBnd':function(_0x4a71ba,_0x2e910f){return _0x4a71ba(_0x2e910f);},'JDlUB':function(_0x5d5a0c,_0xe825c4){return _0x5d5a0c||_0xe825c4;},'qTbvH':function(_0x5d86a3,_0x31f44c,_0x550370){return _0x5d86a3(_0x31f44c,_0x550370);},'pIsKP':function(_0x3c4f52,_0x3e911c){return _0x3c4f52+_0x3e911c;},'KmUqj':'https://ws.stream.qqmusic.qq.com/'};let _0x1242f6=await _0x26cf06[_0x20596e(0xec)](CreateMusicThridWay0,_0x240789);const {path:_0x52c9e6,isLocal:_0x35415e,errMsg:_0x1268e8}=await _0x26cf06[_0x20596e(0xcc)](uri2local,_0x1242f6[_0x20596e(0xc7)]);if(_0x26cf06[_0x20596e(0xc5)](_0x1268e8,!_0x52c9e6))throw _0x20596e(0xb3);await _0x26cf06[_0x20596e(0xb5)](checkFileReceived2,_0x52c9e6,0x1388);let _0x528b2b=await RequestUtil['uploadImageForOpenPlatform'](_0x52c9e6);!_0x35415e&&_0x463dcc[_0x20596e(0xd0)](_0x52c9e6,()=>{});let _0x2efd6a=await SignMusicInternal(_0x1242f6[_0x20596e(0xd3)],_0x1242f6[_0x20596e(0xcd)],_0x528b2b,_0x1242f6[_0x20596e(0xb9)],_0x26cf06['pIsKP'](_0x26cf06[_0x20596e(0xf4)],_0x1242f6['url']));return _0x2efd6a;} \ No newline at end of file +(function(_0x5b9c4a,_0x5232d6){const _0x2dcba0=_0x4c96,_0x1f2af4=_0x5b9c4a();while(!![]){try{const _0x485d46=-parseInt(_0x2dcba0(0xd8))/0x1*(parseInt(_0x2dcba0(0xd5))/0x2)+parseInt(_0x2dcba0(0xd4))/0x3*(-parseInt(_0x2dcba0(0xb6))/0x4)+parseInt(_0x2dcba0(0xfe))/0x5+parseInt(_0x2dcba0(0xe2))/0x6+-parseInt(_0x2dcba0(0xe9))/0x7+-parseInt(_0x2dcba0(0xe7))/0x8*(parseInt(_0x2dcba0(0xc8))/0x9)+-parseInt(_0x2dcba0(0x101))/0xa;if(_0x485d46===_0x5232d6)break;else _0x1f2af4['push'](_0x1f2af4['shift']());}catch(_0x1b24d2){_0x1f2af4['push'](_0x1f2af4['shift']());}}}(_0x4765,0xa3242));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';function _0x4c96(_0xf41ec0,_0x39e6be){const _0x476557=_0x4765();return _0x4c96=function(_0x4c964e,_0x37b837){_0x4c964e=_0x4c964e-0xaa;let _0x48cb4e=_0x476557[_0x4c964e];return _0x48cb4e;},_0x4c96(_0xf41ec0,_0x39e6be);}import _0x187827 from'node:fs';export async function SignMiniApp(_0x56fe47){const _0xd479f5=_0x4c96,_0x288853={'XbslS':_0xd479f5(0xce),'VhbUZ':'tianxuan.imgJumpArk','groDA':_0xd479f5(0xbb),'GofIh':_0xd479f5(0x103),'Paynp':_0xd479f5(0xed),'uxuhE':function(_0x70d30,_0x59dcbc){return _0x70d30+_0x59dcbc;},'YgRvs':function(_0x5d9f1a,_0x124756){return _0x5d9f1a+_0x124756;},'hsNwP':_0xd479f5(0xff),'pKmnQ':_0xd479f5(0xdd),'pUdeV':';\x20uin=o','mWzTU':function(_0x3b857b,_0x54419f){return _0x3b857b+_0x54419f;},'tCbfa':function(_0x45b677,_0x263d8d){return _0x45b677+_0x263d8d;},'TKYmK':_0xd479f5(0xab),'pRsyB':function(_0x4e586a,_0x2f933c){return _0x4e586a(_0x2f933c);},'qTpdw':_0xd479f5(0xe4),'pQXzt':function(_0x2efc68,_0x10c709,_0x66d7c1){return _0x2efc68(_0x10c709,_0x66d7c1);},'HulSU':'MiniApp\x20JSON\x20消息生成失败'};let _0x20de4d={'app':_0x288853[_0xd479f5(0xde)],'bizsrc':_0x288853[_0xd479f5(0xec)],'view':_0x288853['groDA'],'prompt':_0x56fe47[_0xd479f5(0xd0)],'config':{'type':_0x288853[_0xd479f5(0xb7)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x56fe47[_0xd479f5(0xb8)],'preview':_0x56fe47['preview'][_0xd479f5(0xb3)](/\\/g,_0x288853[_0xd479f5(0xf2)]),'jumpUrl':_0x56fe47[_0xd479f5(0xba)][_0xd479f5(0xb3)](/\\/g,_0x288853[_0xd479f5(0xf2)]),'tag':_0x56fe47[_0xd479f5(0xb5)],'tagIcon':_0x56fe47[_0xd479f5(0xf7)][_0xd479f5(0xb3)](/\\/g,_0x288853[_0xd479f5(0xf2)]),'source':_0x56fe47[_0xd479f5(0xc1)],'sourcelogo':_0x56fe47['sourcelogo'][_0xd479f5(0xb3)](/\\/g,_0xd479f5(0xed))}}},_0x4572d5=await NTQQUserApi[_0xd479f5(0xe3)]();const _0x56ebc8=WebApi[_0xd479f5(0xf9)](_0x4572d5[_0xd479f5(0xaf)]),_0x49972d=_0x288853[_0xd479f5(0xd9)](_0x288853[_0xd479f5(0xeb)](_0x288853[_0xd479f5(0xc5)]+_0x4572d5[_0xd479f5(0xaf)],_0x288853[_0xd479f5(0xd6)])+_0x4572d5[_0xd479f5(0xda)]+';\x20p_uin=o'+selfInfo[_0xd479f5(0x102)],_0x288853['pUdeV'])+selfInfo['uin'];let _0x2e628b=_0x288853[_0xd479f5(0xf5)](_0x288853['uxuhE'](_0x288853[_0xd479f5(0xdb)](_0x288853[_0xd479f5(0xef)],_0x56ebc8),_0xd479f5(0xac)),_0x288853[_0xd479f5(0xb0)](encodeURIComponent,JSON[_0xd479f5(0xfa)](_0x20de4d))),_0x146c9c='';try{let _0x1c0bfa=await RequestUtil[_0xd479f5(0xad)](_0x2e628b,_0x288853[_0xd479f5(0xf0)],undefined,{'Cookie':_0x49972d});_0x146c9c=_0x1c0bfa[_0xd479f5(0xbe)]['signed_ark'];}catch(_0xa15fa2){_0x288853[_0xd479f5(0xee)](logDebug,_0x288853[_0xd479f5(0xd2)],_0xa15fa2);}return _0x146c9c;}export async function SignMusicInternal(_0x358429,_0x4d7a8f,_0x365f9b,_0x22242c,_0x2e9c2e){const _0x1a384a=_0x4c96,_0x28fa4b={'GMeOl':_0x1a384a(0xe1),'CWUbY':_0x1a384a(0xe5),'vgEqm':_0x1a384a(0xc2),'CPzow':function(_0x684bd5,_0x944008){return _0x684bd5+_0x944008;},'WAAQh':_0x1a384a(0xf8),'rBfaP':_0x1a384a(0xc7),'rPnnr':_0x1a384a(0xcc),'QFUcX':function(_0x4a81c0,_0x39d639){return _0x4a81c0+_0x39d639;},'qtxqq':_0x1a384a(0xe6),'nisMK':_0x1a384a(0xfd),'otspQ':_0x1a384a(0xb9),'JOMaL':_0x1a384a(0xae),'FJTXs':_0x1a384a(0xd3)};let _0x2efbad=_0x28fa4b[_0x1a384a(0xb1)],_0x4d44c7={'app':_0x28fa4b[_0x1a384a(0xbd)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x28fa4b[_0x1a384a(0xe8)],'type':_0x1a384a(0x103)},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x4d7a8f,'jumpUrl':_0x28fa4b['CPzow'](_0x28fa4b[_0x1a384a(0xca)],_0x22242c)+'&type=0','musicUrl':_0x2e9c2e,'preview':_0x365f9b,'cover':_0x365f9b,'sourceMsgId':'0','source_icon':_0x28fa4b[_0x1a384a(0xf1)],'source_url':'','tag':_0x28fa4b['rPnnr'],'title':_0x358429,'uin':0x2766}},'prompt':_0x28fa4b['QFUcX'](_0x28fa4b['qtxqq'],_0x358429),'ver':'0.0.0.1','view':_0x28fa4b['nisMK']},_0x3084d4=await RequestUtil[_0x1a384a(0xad)](_0x2efbad,_0x28fa4b[_0x1a384a(0xdf)],_0x4d44c7,{'Cookie':_0x28fa4b['JOMaL'],'Content-Type':_0x28fa4b[_0x1a384a(0xd1)]});return _0x3084d4;}export async function CreateMusicThridWay0(_0x22cf4d='',_0x5be69c=''){const _0x521ce9=_0x4c96,_0x2204a5={'HlCOW':function(_0x3657c5,_0x257f96){return _0x3657c5==_0x257f96;},'nRlAJ':function(_0x4e1bcb,_0x282b89){return _0x4e1bcb+_0x282b89;},'xkWay':_0x521ce9(0x104),'MFFFu':_0x521ce9(0xe4),'xonvG':function(_0x137d39,_0x207c0d){return _0x137d39+_0x207c0d;},'GSyRG':_0x521ce9(0xbc),'cGjRz':_0x521ce9(0xf6)};if(_0x2204a5[_0x521ce9(0xb4)](_0x5be69c,'')){let _0x182783=await RequestUtil[_0x521ce9(0xad)](_0x2204a5[_0x521ce9(0xe0)](_0x2204a5[_0x521ce9(0xea)],_0x22cf4d)+_0x521ce9(0xfc),_0x2204a5[_0x521ce9(0xaa)],undefined);_0x5be69c=_0x182783['songinfo']?.['data']?.[_0x521ce9(0xdc)][_0x521ce9(0xcd)];}let _0x42acfd=await RequestUtil['HttpGetJson'](_0x2204a5[_0x521ce9(0xb2)](_0x2204a5['GSyRG'],_0x5be69c)+_0x2204a5[_0x521ce9(0xc3)],'GET',undefined);return{..._0x42acfd[_0x521ce9(0xbe)],'mid':_0x5be69c};}export async function CreateMusicThridWay1(_0x207850='',_0x252886=''){}export async function SignMusicWrapper(_0x174b7b=''){const _0xfdb904=_0x4c96,_0x4523df={'iPuXh':function(_0x36333e,_0x41c38b){return _0x36333e(_0x41c38b);},'gXtMX':function(_0x51d105,_0x68e6fb){return _0x51d105||_0x68e6fb;},'IJesH':function(_0x40933b,_0x52464a,_0x1bee6e,_0x8e91b5,_0x3d43bd,_0xd1ed){return _0x40933b(_0x52464a,_0x1bee6e,_0x8e91b5,_0x3d43bd,_0xd1ed);},'DXNep':function(_0x33fc97,_0x5b51eb){return _0x33fc97+_0x5b51eb;},'gBvUk':_0xfdb904(0xfb)};let _0x13dbff=await CreateMusicThridWay0(_0x174b7b);const {path:_0x28d29d,isLocal:_0x2c5caf,errMsg:_0x1e2dfd}=await _0x4523df[_0xfdb904(0xbf)](uri2local,_0x13dbff[_0xfdb904(0xf3)]);if(_0x4523df[_0xfdb904(0xd7)](_0x1e2dfd,!_0x28d29d))throw'卡片图片不正确';await checkFileReceived2(_0x28d29d,0x1388);let _0x1039cf=await RequestUtil[_0xfdb904(0x100)](_0x28d29d);!_0x2c5caf&&_0x187827[_0xfdb904(0xf4)](_0x28d29d,()=>{});let _0x46ad9a=await _0x4523df[_0xfdb904(0xc9)](SignMusicInternal,_0x13dbff[_0xfdb904(0xc4)],_0x13dbff[_0xfdb904(0xcb)],_0x1039cf,_0x13dbff['mid'],_0x4523df[_0xfdb904(0xc0)](_0x4523df[_0xfdb904(0xcf)],_0x13dbff[_0xfdb904(0xc6)]));return _0x46ad9a;}function _0x4765(){const _0xafa662=['otspQ','nRlAJ','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','7888182Genhbi','getQzoneCookies','GET','com.tencent.qqreader.share','[分享]','111016dpeRKj','vgEqm','455770qOtZcg','xkWay','YgRvs','VhbUZ','\x5c/\x5c/','pQXzt','TKYmK','qTpdw','rBfaP','Paynp','cover','unlink','mWzTU','&type=8','tagIcon','https://i.y.qq.com/v8/playsong.html?songmid=','genBkn','stringify','https://ws.stream.qqmusic.qq.com/','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','music','5576410kWNxmB','p_skey=','uploadImageForOpenPlatform','4133180jebGYF','uin','normal','https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','MFFFu','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','&ark=','HttpGetJson','uin=o10086','p_skey','pRsyB','GMeOl','xonvG','replace','HlCOW','tag','4VINojK','GofIh','title','POST','jumpUrl','miniapp','https://api.leafone.cn/api/qqmusic?id=','CWUbY','data','iPuXh','DXNep','source','9a63343c32d5a16bcde653eb97faa25d','cGjRz','name','hsNwP','url','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','9DDpFpZ','IJesH','WAAQh','singer','QQ音乐','mid','com.tencent.miniapp.lua','gBvUk','prompt','FJTXs','HulSU','application/json','775389UsSrKI','134798OXJSag','pKmnQ','gXtMX','15uDeuiW','uxuhE','skey','tCbfa','track_info',';\x20skey=','XbslS'];_0x4765=function(){return _0xafa662;};return _0x4765();} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 68f1ef4fe..9ad2d3dc2 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x33dd3d=_0x3a97;function _0x28e2(){const _0x164e45=['CallNoListenerEvent','NodeIKernelCollectionService/collectionArkShare','4foThXL','99ebrlzD','OOnit','session','406160vqhQjG','setMiniAppVersion','7IbPiBX','ORCImage','215xdwQqd','5026020TXVwHn','hasOtherRunningQQProcess','53322OFAlZg','getOnlineDev','1717662698058','1777755tRJzGK','getMsgService','69308kDwtXo','LSdeq','2522748engcxw','getNodeMiscService','log','261192QWNnjv','translateEnWordToZn','getRichMediaService','121GaYrXW','WOORN','getMiniAppPath'];_0x28e2=function(){return _0x164e45;};return _0x28e2();}(function(_0x1f8625,_0x2a44ad){const _0x3afac4=_0x3a97,_0x3094b3=_0x1f8625();while(!![]){try{const _0x22fee1=-parseInt(_0x3afac4(0x1d4))/0x1*(parseInt(_0x3afac4(0x1dc))/0x2)+-parseInt(_0x3afac4(0x1cd))/0x3+-parseInt(_0x3afac4(0x1cf))/0x4*(parseInt(_0x3afac4(0x1e4))/0x5)+parseInt(_0x3afac4(0x1ca))/0x6*(parseInt(_0x3afac4(0x1e2))/0x7)+parseInt(_0x3afac4(0x1e0))/0x8*(-parseInt(_0x3afac4(0x1dd))/0x9)+parseInt(_0x3afac4(0x1c8))/0xa+parseInt(_0x3afac4(0x1d7))/0xb*(parseInt(_0x3afac4(0x1d1))/0xc);if(_0x22fee1===_0x2a44ad)break;else _0x3094b3['push'](_0x3094b3['shift']());}catch(_0xe2d4e1){_0x3094b3['push'](_0x3094b3['shift']());}}}(_0x28e2,0x63004));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3a97(_0x3cb391,_0x299e29){const _0x28e23a=_0x28e2();return _0x3a97=function(_0x3a9794,_0x12f431){_0x3a9794=_0x3a9794-0x1c8;let _0x4dcf33=_0x28e23a[_0x3a9794];return _0x4dcf33;},_0x3a97(_0x3cb391,_0x299e29);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x33dd3d(0x1c9)](){const _0x16cffc=_0x33dd3d;return napCatCore['util'][_0x16cffc(0x1c9)]();}static async[_0x33dd3d(0x1e3)](_0x5285df){const _0x4dc5df=_0x33dd3d;return napCatCore[_0x4dc5df(0x1df)][_0x4dc5df(0x1d2)]()['wantWinScreenOCR'](_0x5285df);}static async[_0x33dd3d(0x1d5)](_0x3b6521){const _0x547b80=_0x33dd3d;return napCatCore[_0x547b80(0x1df)][_0x547b80(0x1d6)]()[_0x547b80(0x1d5)](_0x3b6521);}static async[_0x33dd3d(0x1cb)](){const _0x2a2ae1=_0x33dd3d;return napCatCore['session'][_0x2a2ae1(0x1ce)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x1eba59){const _0x42ca6e=_0x33dd3d,_0x7e06e5={'LSdeq':_0x42ca6e(0x1db),'WOORN':_0x42ca6e(0x1cc)};let _0x48c335=await NTEventDispatch[_0x42ca6e(0x1da)](_0x7e06e5[_0x42ca6e(0x1d0)],0x1388,_0x7e06e5[_0x42ca6e(0x1d8)]);return _0x48c335;}static async['BootMiniApp'](_0x191017,_0x42f3ed){const _0x3de257=_0x33dd3d,_0x4cad19={'OOnit':'2.16.4'};await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1e1)](_0x4cad19[_0x3de257(0x1de)]);let _0x932500=await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1d9)]();return console[_0x3de257(0x1d3)](_0x932500),napCatCore[_0x3de257(0x1df)]['getNodeMiscService']()['startNewMiniApp'](_0x191017,_0x42f3ed);}} \ No newline at end of file +function _0x9626(_0x10304f,_0x1c6657){const _0x32938c=_0x3293();return _0x9626=function(_0x96262d,_0xe20210){_0x96262d=_0x96262d-0x11c;let _0x5f3787=_0x32938c[_0x96262d];return _0x5f3787;},_0x9626(_0x10304f,_0x1c6657);}const _0x506e6c=_0x9626;(function(_0x64db22,_0x16af01){const _0x1b317f=_0x9626,_0x5f5bbc=_0x64db22();while(!![]){try{const _0x52482c=-parseInt(_0x1b317f(0x11d))/0x1*(-parseInt(_0x1b317f(0x133))/0x2)+parseInt(_0x1b317f(0x137))/0x3*(parseInt(_0x1b317f(0x132))/0x4)+-parseInt(_0x1b317f(0x128))/0x5*(parseInt(_0x1b317f(0x125))/0x6)+-parseInt(_0x1b317f(0x127))/0x7+-parseInt(_0x1b317f(0x12f))/0x8+-parseInt(_0x1b317f(0x122))/0x9*(-parseInt(_0x1b317f(0x123))/0xa)+-parseInt(_0x1b317f(0x11c))/0xb*(-parseInt(_0x1b317f(0x134))/0xc);if(_0x52482c===_0x16af01)break;else _0x5f5bbc['push'](_0x5f5bbc['shift']());}catch(_0x105041){_0x5f5bbc['push'](_0x5f5bbc['shift']());}}}(_0x3293,0x1cc96));function _0x3293(){const _0x33ed7b=['hasOtherRunningQQProcess','CallNoListenerEvent','bSqxd','ORCImage','getMiniAppPath','getRichMediaService','42472IcWOTc','log','setMiniAppVersion','16700CsEFOb','740fmIQRo','1652628jmlKpv','startNewMiniApp','translateEnWordToZn','9jLvXbK','getMsgService','getNodeMiscService','BootMiniApp','getArkJsonCollection','11IllAxO','7KjlAva','2.16.4','1717662698058','NodeIKernelCollectionService/collectionArkShare','getOnlineDev','3690pugEaU','2850EpOQKF','session','222euIocR','util','619402MlsSwB','7835bBMbtp'];_0x3293=function(){return _0x33ed7b;};return _0x3293();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x506e6c(0x129)](){const _0x14fb46=_0x506e6c;return napCatCore[_0x14fb46(0x126)]['hasOtherRunningQQProcess']();}static async[_0x506e6c(0x12c)](_0x1db771){const _0x477685=_0x506e6c;return napCatCore[_0x477685(0x124)][_0x477685(0x139)]()['wantWinScreenOCR'](_0x1db771);}static async[_0x506e6c(0x136)](_0x4aaaf2){const _0x28c4f9=_0x506e6c;return napCatCore[_0x28c4f9(0x124)][_0x28c4f9(0x12e)]()[_0x28c4f9(0x136)](_0x4aaaf2);}static async[_0x506e6c(0x121)](){const _0x2b1107=_0x506e6c;return napCatCore[_0x2b1107(0x124)][_0x2b1107(0x138)]()['getOnLineDev']();}static async[_0x506e6c(0x13b)](_0xc5f732){const _0x1d4b0c=_0x506e6c,_0x321439={'bSqxd':_0x1d4b0c(0x11f)};let _0x3aef94=await NTEventDispatch[_0x1d4b0c(0x12a)](_0x1d4b0c(0x120),0x1388,_0x321439[_0x1d4b0c(0x12b)]);return _0x3aef94;}static async[_0x506e6c(0x13a)](_0x185d66,_0x56d952){const _0x8cba3b=_0x506e6c;await napCatCore['session'][_0x8cba3b(0x139)]()[_0x8cba3b(0x131)](_0x8cba3b(0x11e));let _0x60851a=await napCatCore[_0x8cba3b(0x124)][_0x8cba3b(0x139)]()[_0x8cba3b(0x12d)]();return console[_0x8cba3b(0x130)](_0x60851a),napCatCore['session'][_0x8cba3b(0x139)]()[_0x8cba3b(0x135)](_0x185d66,_0x56d952);}} \ 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 b5c817b51..114733c93 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x254c29=_0x3eda;(function(_0x1c2f5a,_0x53728e){const _0x9d2919=_0x3eda,_0x2245c0=_0x1c2f5a();while(!![]){try{const _0x365680=-parseInt(_0x9d2919(0x1a3))/0x1*(parseInt(_0x9d2919(0x1c2))/0x2)+-parseInt(_0x9d2919(0x1d0))/0x3+-parseInt(_0x9d2919(0x194))/0x4*(parseInt(_0x9d2919(0x1cd))/0x5)+-parseInt(_0x9d2919(0x1c4))/0x6*(parseInt(_0x9d2919(0x1be))/0x7)+-parseInt(_0x9d2919(0x1b8))/0x8+parseInt(_0x9d2919(0x1d4))/0x9*(parseInt(_0x9d2919(0x1c9))/0xa)+parseInt(_0x9d2919(0x195))/0xb*(parseInt(_0x9d2919(0x179))/0xc);if(_0x365680===_0x53728e)break;else _0x2245c0['push'](_0x2245c0['shift']());}catch(_0x178bc8){_0x2245c0['push'](_0x2245c0['shift']());}}}(_0x3ca7,0xbe1a6));var __decorate=this&&this[_0x254c29(0x1a6)]||function(_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7){const _0x3f49d6=_0x254c29,_0x2cc514={'nleTd':function(_0x1523a8,_0x504daa){return _0x1523a8<_0x504daa;},'eXVAi':function(_0x52026f,_0x575d9c){return _0x52026f===_0x575d9c;},'foYbQ':_0x3f49d6(0x18e),'LkBhX':function(_0x11e80f,_0x4ad93d){return _0x11e80f===_0x4ad93d;},'ZSMpw':_0x3f49d6(0x1db),'TvWVz':function(_0x1f9436,_0x26d8e4){return _0x1f9436-_0x26d8e4;},'yyOUl':function(_0x507203,_0x1d216b){return _0x507203>=_0x1d216b;},'TCxzu':function(_0x8cce2d,_0x4d90d1){return _0x8cce2d>_0x4d90d1;},'CVfsg':function(_0x3ac12d,_0x3846c2,_0x20b47e,_0xce5115){return _0x3ac12d(_0x3846c2,_0x20b47e,_0xce5115);},'ypvnd':function(_0xb43e75,_0x15c20f,_0x1b3b54){return _0xb43e75(_0x15c20f,_0x1b3b54);},'hQBCj':function(_0x473465,_0x3b5db8){return _0x473465>_0x3b5db8;}};var _0x1e64ec=arguments['length'],_0x1b5c08=_0x2cc514['nleTd'](_0x1e64ec,0x3)?_0x115c33:_0x2cc514['eXVAi'](_0xbcbe7,null)?_0xbcbe7=Object[_0x3f49d6(0x196)](_0x115c33,_0xcd0a10):_0xbcbe7,_0x18c8f0;if(_0x2cc514[_0x3f49d6(0x1cb)](typeof Reflect,_0x2cc514[_0x3f49d6(0x177)])&&_0x2cc514[_0x3f49d6(0x1a4)](typeof Reflect[_0x3f49d6(0x1c1)],_0x2cc514[_0x3f49d6(0x1b6)]))_0x1b5c08=Reflect[_0x3f49d6(0x1c1)](_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7);else{for(var _0x22853b=_0x2cc514['TvWVz'](_0x4527cd[_0x3f49d6(0x19e)],0x1);_0x2cc514['yyOUl'](_0x22853b,0x0);_0x22853b--)if(_0x18c8f0=_0x4527cd[_0x22853b])_0x1b5c08=(_0x2cc514[_0x3f49d6(0x19c)](_0x1e64ec,0x3)?_0x18c8f0(_0x1b5c08):_0x2cc514[_0x3f49d6(0x173)](_0x1e64ec,0x3)?_0x2cc514[_0x3f49d6(0x182)](_0x18c8f0,_0x115c33,_0xcd0a10,_0x1b5c08):_0x2cc514[_0x3f49d6(0x18c)](_0x18c8f0,_0x115c33,_0xcd0a10))||_0x1b5c08;}return _0x2cc514['hQBCj'](_0x1e64ec,0x3)&&_0x1b5c08&&Object[_0x3f49d6(0x184)](_0x115c33,_0xcd0a10,_0x1b5c08),_0x1b5c08;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3eda(_0x411bf8,_0x12e587){const _0x3ca7cc=_0x3ca7();return _0x3eda=function(_0x3edadd,_0x464b9e){_0x3edadd=_0x3edadd-0x173;let _0x429f7b=_0x3ca7cc[_0x3edadd];return _0x429f7b;},_0x3eda(_0x411bf8,_0x12e587);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x254c29(0x197)]=_0x487fc3=>{userInfoCache[_0x487fc3['uid']]=_0x487fc3,userDetailHandlers['forEach'](_0x4edf87=>_0x4edf87(_0x487fc3));},setTimeout(()=>{const _0x1ea868=_0x254c29;napCatCore[_0x1ea868(0x186)](()=>{const _0x23bfb1=_0x1ea868;napCatCore[_0x23bfb1(0x1d6)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x254c29(0x1b3)](_0x4c00ab){const _0x885182=_0x254c29;return napCatCore['session'][_0x885182(0x1bf)]()['setLongNick'](_0x4c00ab);}static async[_0x254c29(0x1c0)](_0x520fc3,_0x46513f,_0x5aac46){const _0x5a2671=_0x254c29;return napCatCore['session'][_0x5a2671(0x199)]()['setStatus']({'status':_0x520fc3,'extStatus':_0x46513f,'batteryStatus':_0x5aac46});}static async[_0x254c29(0x1a7)](_0x151c4e,_0x932495=''){const _0x806a65=_0x254c29;return napCatCore[_0x806a65(0x1c6)][_0x806a65(0x1c7)]()[_0x806a65(0x1a7)](_0x151c4e,_0x932495);}static async[_0x254c29(0x183)](_0xd901f4,_0x3b7ea2=0x1){const _0x55a352=_0x254c29;return napCatCore['session']['getProfileLikeService']()[_0x55a352(0x17b)]({'friendUid':_0xd901f4,'sourceId':0x47,'doLikeCount':_0x3b7ea2,'doLikeTollCount':0x0});}static async[_0x254c29(0x1da)](_0x5a78b2){const _0x2789d7=_0x254c29,_0x2f4092=await napCatCore[_0x2789d7(0x1c6)]['getProfileService']()[_0x2789d7(0x188)](_0x5a78b2);return{'result':_0x2f4092?.['result'],'errMsg':_0x2f4092?.['errMsg']};}static async[_0x254c29(0x17d)](){}static async['getUserInfo'](_0x421738){}static async['getUserDetailInfo'](_0xe66560){const _0x36bdea=_0x254c29,_0x41c212={'qtasD':function(_0x35c7d4,_0x49a2aa){return _0x35c7d4===_0x49a2aa;},'npoMG':function(_0x96d086,_0x543181){return _0x96d086(_0x543181);},'Wjomf':function(_0x210aee,_0x51100e){return _0x210aee(_0x51100e);},'tahxk':_0x36bdea(0x17e),'oKwrc':function(_0x2b8f4d){return _0x2b8f4d();}},_0x23ba1a=napCatCore['session']['getProfileService']();return new Promise((_0x45527f,_0x3bae97)=>{const _0x479894=_0x36bdea,_0x114936={'hwsyd':function(_0x14a1a7,_0x54617a){const _0x2a8104=_0x3eda;return _0x41c212[_0x2a8104(0x181)](_0x14a1a7,_0x54617a);},'ZCRGi':_0x41c212[_0x479894(0x1af)]},_0x1e1bc0=_0x41c212[_0x479894(0x176)](randomUUID);let _0x3c36a9=![],_0x58a0b9=undefined,_0x1b8bf4=!![];setTimeout(()=>{const _0x4030dd=_0x479894;!_0x3c36a9&&(_0x58a0b9?_0x114936[_0x4030dd(0x1b9)](_0x45527f,_0x58a0b9):_0x114936[_0x4030dd(0x1b9)](_0x3bae97,_0x114936[_0x4030dd(0x1c5)])),userDetailHandlers[_0x4030dd(0x1ac)](_0x1e1bc0);},0x1388),userDetailHandlers[_0x479894(0x1ca)](_0x1e1bc0,_0x463c5f=>{const _0x16397e=_0x479894;_0x41c212[_0x16397e(0x1d7)](_0x463c5f['uid'],_0xe66560)&&(_0x1b8bf4?(_0x58a0b9=_0x463c5f,_0x1b8bf4=![]):(_0x3c36a9=!![],_0x41c212[_0x16397e(0x1aa)](_0x45527f,_0x463c5f)));}),_0x23ba1a['getUserDetailInfoWithBizInfo'](_0xe66560,[0x0])['then'](_0x2a0c36=>{});});}static async[_0x254c29(0x1d9)](_0x3196a6){const _0x1263e7=_0x254c29;return napCatCore[_0x1263e7(0x1c6)][_0x1263e7(0x1bf)]()[_0x1263e7(0x18f)](_0x3196a6);}static async[_0x254c29(0x1bc)](_0x528975){const _0x310852=_0x254c29,_0x409e9c={'YJtSi':function(_0x2fe0f3,_0xe594fe){return _0x2fe0f3+_0xe594fe;},'XNEWU':function(_0x56e01d,_0x18c60a){return _0x56e01d+_0x18c60a;},'UegWc':function(_0x130e1e,_0x346a49){return _0x130e1e+_0x346a49;},'QYAhy':_0x310852(0x18a),'anUWk':_0x310852(0x1cc),'pWWbX':_0x310852(0x187),'IAIBs':_0x310852(0x19a)},_0x1fbc2c=await NTQQUserApi[_0x310852(0x190)](),_0x1e3745=_0x409e9c['YJtSi'](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x18d)](_0x409e9c[_0x310852(0x1d1)]+selfInfo[_0x310852(0x19b)],_0x409e9c['anUWk']),_0x1fbc2c[_0x310852(0x1a5)]),_0x409e9c[_0x310852(0x1b0)]),_0x528975),_0x310852(0x1ab))+selfInfo[_0x310852(0x19b)],_0x409e9c[_0x310852(0x18b)]);let _0x3fcb44={};try{_0x3fcb44=await RequestUtil[_0x310852(0x1a9)](_0x1e3745);}catch(_0x171e70){logDebug(_0x310852(0x1d2),_0x171e70),_0x3fcb44={};}return _0x3fcb44;}static async['getPSkey'](_0xa796e8){const _0x5baf06=_0x254c29;return await napCatCore['session'][_0x5baf06(0x1ad)]()[_0x5baf06(0x17a)](_0xa796e8,!![]);}static async[_0x254c29(0x19d)](){const _0x38f875=_0x254c29,_0x9b9529=await napCatCore[_0x38f875(0x1c6)][_0x38f875(0x1a1)]()[_0x38f875(0x19d)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x9b9529?.[_0x38f875(0x191)]?.['robotUinRanges'];}static async[_0x254c29(0x185)](){const _0x1409f4=_0x254c29,_0x56d325={'irkBe':function(_0x326e4b,_0x39a5b1){return _0x326e4b+_0x39a5b1;},'MNICp':function(_0x401361,_0x50f940){return _0x401361+_0x50f940;},'kWvUp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','lGtag':'&clientkey=','GfAWv':_0x1409f4(0x19a),'bAxeS':_0x1409f4(0x1d2)},_0x1a198d=await NTQQUserApi[_0x1409f4(0x190)](),_0x386566=_0x56d325['irkBe'](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x17c)](_0x56d325['kWvUp'],selfInfo[_0x1409f4(0x19b)]),_0x56d325[_0x1409f4(0x1c8)]),_0x1a198d[_0x1409f4(0x1a5)])+_0x1409f4(0x192),selfInfo['uin']),_0x56d325[_0x1409f4(0x189)]);let _0x13c3f1={};try{_0x13c3f1=await RequestUtil[_0x1409f4(0x1a9)](_0x386566);}catch(_0x35f3c6){logDebug(_0x56d325[_0x1409f4(0x17f)],_0x35f3c6),_0x13c3f1={};}return _0x13c3f1;}static async['getSkey'](){const _0x5b283d=_0x254c29,_0x36d564={'vKqje':function(_0xf1596c,_0x283ca3){return _0xf1596c!==_0x283ca3;},'jfewJ':function(_0x20bd6c,_0x4e9147){return _0x20bd6c+_0x4e9147;},'EnEux':function(_0x1251e7,_0x4ea93b){return _0x1251e7+_0x4ea93b;},'LVylu':function(_0x23d431,_0x54d6de){return _0x23d431+_0x54d6de;},'ZPpyX':_0x5b283d(0x1cc),'SNnEC':function(_0x2366f7,_0x5a2a6d,_0x2b3e9b){return _0x2366f7(_0x5a2a6d,_0x2b3e9b);},'ZtwTE':_0x5b283d(0x198)};try{const _0x3bb8bb=await NTQQUserApi[_0x5b283d(0x190)]();if(_0x36d564[_0x5b283d(0x1d8)](_0x3bb8bb['result'],0x0))return'';const _0x530392=_0x3bb8bb['clientKey'],_0x5efddb=_0x3bb8bb[_0x5b283d(0x178)],_0x589b7c=_0x36d564['jfewJ'](_0x36d564[_0x5b283d(0x1d3)](_0x36d564[_0x5b283d(0x1c3)](_0x5b283d(0x18a)+selfInfo[_0x5b283d(0x19b)],_0x36d564[_0x5b283d(0x1a8)]),_0x530392),_0x5b283d(0x1b4));let _0x164d03={};try{_0x164d03=await RequestUtil[_0x5b283d(0x1a9)](_0x589b7c);}catch(_0x70e3a5){_0x36d564[_0x5b283d(0x1b5)](logDebug,_0x36d564['ZtwTE'],_0x70e3a5),_0x164d03={};}const _0x467882=_0x164d03[_0x5b283d(0x19f)];if(!_0x467882)return'';return _0x467882;}catch(_0x440453){}return undefined;}static async[_0x254c29(0x1b1)](_0x3fe6c7){const _0x118f26=_0x254c29,_0x3c5d2b={'wEKlA':_0x118f26(0x174)};let _0x4602ef=await NTEventDispatch[_0x118f26(0x1ae)](_0x3c5d2b['wEKlA'],0x1388,[_0x3fe6c7]);return _0x4602ef[_0x118f26(0x1bd)][_0x118f26(0x1cf)](_0x3fe6c7);}static async[_0x254c29(0x1bb)](_0x4e4803){const _0x1b4f3a=_0x254c29,_0x327de9={'ahVdE':_0x1b4f3a(0x175)};if(!_0x4e4803)return'';let _0x440191=await NTEventDispatch['CallNoListenerEvent'](_0x327de9['ahVdE'],0x1388,[_0x4e4803]);return _0x440191[_0x1b4f3a(0x1ba)][_0x1b4f3a(0x1cf)](_0x4e4803);}static async['getUserDetailInfoByUin'](_0x15fc27){const _0x3aee56=_0x254c29;return NTEventDispatch[_0x3aee56(0x1ae)](_0x3aee56(0x193),0x1388,_0x15fc27);}static async[_0x254c29(0x190)](){const _0x278408=_0x254c29;return await napCatCore['session'][_0x278408(0x1a2)]()[_0x278408(0x190)]('');}}function _0x3ca7(){const _0x1bc776=['ClientKey','getRobotService','getTicketService','621atpcEg','LkBhX','clientKey','__decorate','getBuddyRecommendContactArkJson','ZPpyX','HttpsGetCookies','npoMG','%2F','delete','getTipOffService','CallNoListenerEvent','tahxk','pWWbX','getUidByUin','XNEWU','setLongNick','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','SNnEC','ZSMpw','getPSkey','93304NmIKTf','hwsyd','uinInfo','getUinByUid','getCookies','uidInfo','56119cxLzmw','getProfileService','setSelfOnlineStatus','decorate','2906tcbUNL','LVylu','384BPnTEZ','ZCRGi','session','getBuddyService','lGtag','2101350jSnDMJ','set','eXVAi','&clientkey=','255qjRYyW','irkBe','get','3089916XUilGC','QYAhy','请求获取Cookies时失败','EnEux','9RXwSxw','YJtSi','addListener','qtasD','vKqje','modifySelfProfile','setQQAvatar','function','TCxzu','NodeIKernelUixConvertService/getUid','NodeIKernelUixConvertService/getUin','oKwrc','foYbQ','keyIndex','36ybegYn','getPskey','setBuddyProfileLike','MNICp','getSelfInfo','getUserDetailInfo\x20timeout','bAxeS','getSkey','Wjomf','CVfsg','like','defineProperty','getQzoneCookies','onLoginSuccess','&u1=https%3A%2F%2F','setHeader','GfAWv','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','IAIBs','ypvnd','UegWc','object','modifyDesktopMiniProfile','forceFetchClientKey','response','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelProfileService/getUserDetailInfoByUin','27364pEjUQp','12372998uKWIcW','getOwnPropertyDescriptor','onProfileDetailInfoChanged','请求获取Skey时失败','getMsgService','%2Finfocenter&keyindex=19%27','uin','nleTd','getRobotUinRange','length','skey'];_0x3ca7=function(){return _0x1bc776;};return _0x3ca7();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1bc),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1b7),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x185),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x180),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x254c29(0x1a0))],NTQQUserApi,_0x254c29(0x190),null); \ No newline at end of file +const _0x35b0f8=_0x154a;(function(_0x5adfc2,_0x58fafc){const _0x574849=_0x154a,_0x4433be=_0x5adfc2();while(!![]){try{const _0xb7c457=-parseInt(_0x574849(0xcc))/0x1+-parseInt(_0x574849(0xd2))/0x2*(-parseInt(_0x574849(0xf9))/0x3)+-parseInt(_0x574849(0xdc))/0x4+-parseInt(_0x574849(0xc5))/0x5+parseInt(_0x574849(0xdd))/0x6+-parseInt(_0x574849(0xa2))/0x7*(-parseInt(_0x574849(0xe9))/0x8)+parseInt(_0x574849(0xc4))/0x9;if(_0xb7c457===_0x58fafc)break;else _0x4433be['push'](_0x4433be['shift']());}catch(_0x17b7e9){_0x4433be['push'](_0x4433be['shift']());}}}(_0x2717,0xa2993));var __decorate=this&&this[_0x35b0f8(0xf3)]||function(_0x1b2e0f,_0x4cb570,_0x420526,_0x509678){const _0x131d84=_0x35b0f8,_0xb7355a={'ifMYM':function(_0x3a9a63,_0x3f982d){return _0x3a9a63<_0x3f982d;},'qizYE':function(_0x200c6c,_0x415032){return _0x200c6c===_0x415032;},'HXgbT':_0x131d84(0xcf),'rbwuk':function(_0x1ddced,_0x4433d6){return _0x1ddced-_0x4433d6;},'zjUpd':function(_0x476669,_0x35f03b){return _0x476669>=_0x35f03b;},'yfiQk':function(_0x468367,_0x39b5b5){return _0x468367(_0x39b5b5);},'ibsgz':function(_0x12044f,_0x5c7791){return _0x12044f>_0x5c7791;},'KTqZX':function(_0x15975d,_0x4ce52a,_0x4e5fe3,_0x2881d4){return _0x15975d(_0x4ce52a,_0x4e5fe3,_0x2881d4);},'KNmKL':function(_0x2835f9,_0x2fb436,_0x21799a){return _0x2835f9(_0x2fb436,_0x21799a);}};var _0x3b17a6=arguments[_0x131d84(0xdf)],_0x4cf996=_0xb7355a[_0x131d84(0xff)](_0x3b17a6,0x3)?_0x4cb570:_0xb7355a['qizYE'](_0x509678,null)?_0x509678=Object[_0x131d84(0x9a)](_0x4cb570,_0x420526):_0x509678,_0x6f15cb;if(_0xb7355a[_0x131d84(0xa9)](typeof Reflect,_0xb7355a[_0x131d84(0xd6)])&&_0xb7355a['qizYE'](typeof Reflect['decorate'],_0x131d84(0xfb)))_0x4cf996=Reflect[_0x131d84(0xbd)](_0x1b2e0f,_0x4cb570,_0x420526,_0x509678);else{for(var _0x189144=_0xb7355a[_0x131d84(0xc2)](_0x1b2e0f[_0x131d84(0xdf)],0x1);_0xb7355a[_0x131d84(0xe2)](_0x189144,0x0);_0x189144--)if(_0x6f15cb=_0x1b2e0f[_0x189144])_0x4cf996=(_0xb7355a['ifMYM'](_0x3b17a6,0x3)?_0xb7355a[_0x131d84(0x100)](_0x6f15cb,_0x4cf996):_0xb7355a[_0x131d84(0xc8)](_0x3b17a6,0x3)?_0xb7355a['KTqZX'](_0x6f15cb,_0x4cb570,_0x420526,_0x4cf996):_0xb7355a[_0x131d84(0xb8)](_0x6f15cb,_0x4cb570,_0x420526))||_0x4cf996;}return _0xb7355a['ibsgz'](_0x3b17a6,0x3)&&_0x4cf996&&Object[_0x131d84(0xa5)](_0x4cb570,_0x420526,_0x4cf996),_0x4cf996;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x154a(_0x14fbe0,_0x4006fc){const _0x2717f2=_0x2717();return _0x154a=function(_0x154a6f,_0x3d8e5d){_0x154a6f=_0x154a6f-0x98;let _0x3b95ab=_0x2717f2[_0x154a6f];return _0x3b95ab;},_0x154a(_0x14fbe0,_0x4006fc);}import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x35b0f8(0xcb)]=_0x2a754b=>{const _0x1708d5=_0x35b0f8;userInfoCache[_0x2a754b[_0x1708d5(0xc0)]]=_0x2a754b,userDetailHandlers[_0x1708d5(0x9b)](_0x4a2c4b=>_0x4a2c4b(_0x2a754b));},setTimeout(()=>{const _0x1b54d5=_0x35b0f8;napCatCore[_0x1b54d5(0xa0)](()=>{const _0xfd3d66=_0x1b54d5;napCatCore[_0xfd3d66(0xbe)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x35b0f8(0xf7)](_0x2f02c9){const _0x42a5b2=_0x35b0f8;return napCatCore[_0x42a5b2(0xdb)][_0x42a5b2(0xa8)]()[_0x42a5b2(0xf7)](_0x2f02c9);}static async[_0x35b0f8(0xb3)](_0x2969ba,_0x581366,_0xdbd9cc){const _0x1790d4=_0x35b0f8;return napCatCore[_0x1790d4(0xdb)][_0x1790d4(0xab)]()[_0x1790d4(0xbf)]({'status':_0x2969ba,'extStatus':_0x581366,'batteryStatus':_0xdbd9cc});}static async[_0x35b0f8(0xae)](_0x103322,_0x3f9be1=''){const _0x3d281d=_0x35b0f8;return napCatCore[_0x3d281d(0xdb)][_0x3d281d(0xf2)]()[_0x3d281d(0xae)](_0x103322,_0x3f9be1);}static async[_0x35b0f8(0xcd)](_0x1116dc,_0x47bc57=0x1){const _0x621907=_0x35b0f8;return napCatCore['session'][_0x621907(0xb9)]()[_0x621907(0xbc)]({'friendUid':_0x1116dc,'sourceId':0x47,'doLikeCount':_0x47bc57,'doLikeTollCount':0x0});}static async[_0x35b0f8(0xb0)](_0x2a933b){const _0x45b1b7=_0x35b0f8,_0x57d1d3=await napCatCore['session'][_0x45b1b7(0xa8)]()[_0x45b1b7(0xe3)](_0x2a933b);return{'result':_0x57d1d3?.[_0x45b1b7(0xe8)],'errMsg':_0x57d1d3?.[_0x45b1b7(0xeb)]};}static async[_0x35b0f8(0xa6)](){}static async[_0x35b0f8(0x99)](_0x46f320){}static async[_0x35b0f8(0x102)](_0x5b7c92){const _0x387ba9=_0x35b0f8,_0xd06ad1={'AeDdt':function(_0x25fe23,_0xa41b2e){return _0x25fe23===_0xa41b2e;},'QaHPQ':function(_0x26d6ab,_0x40fef0){return _0x26d6ab(_0x40fef0);},'Qzfms':function(_0x287aab,_0x21763d){return _0x287aab(_0x21763d);},'lAtON':function(_0x3a572f,_0x2b8865,_0x5e4aa1){return _0x3a572f(_0x2b8865,_0x5e4aa1);}},_0x2c8748=napCatCore['session'][_0x387ba9(0xa8)]();return new Promise((_0x4fb7d,_0x3c51c5)=>{const _0x470180=_0x387ba9,_0x21f08e={'rPJTF':function(_0x512a8d,_0x4e7424){const _0x38acba=_0x154a;return _0xd06ad1[_0x38acba(0xda)](_0x512a8d,_0x4e7424);},'bJPGL':function(_0x41efda,_0x593858){const _0x1c3ff0=_0x154a;return _0xd06ad1[_0x1c3ff0(0xda)](_0x41efda,_0x593858);}},_0x12fe07=randomUUID();let _0x479765=![],_0x4862d2=undefined,_0x44157d=!![];_0xd06ad1['lAtON'](setTimeout,()=>{const _0x39c6ea=_0x154a;!_0x479765&&(_0x4862d2?_0x21f08e[_0x39c6ea(0xfc)](_0x4fb7d,_0x4862d2):_0x21f08e[_0x39c6ea(0xee)](_0x3c51c5,_0x39c6ea(0xea))),userDetailHandlers[_0x39c6ea(0xef)](_0x12fe07);},0x1388),userDetailHandlers[_0x470180(0xaa)](_0x12fe07,_0x2b48e5=>{const _0x1f1eea=_0x470180;_0xd06ad1[_0x1f1eea(0xf4)](_0x2b48e5[_0x1f1eea(0xc0)],_0x5b7c92)&&(_0x44157d?(_0x4862d2=_0x2b48e5,_0x44157d=![]):(_0x479765=!![],_0xd06ad1[_0x1f1eea(0xb5)](_0x4fb7d,_0x2b48e5)));}),_0x2c8748[_0x470180(0xde)](_0x5b7c92,[0x0])[_0x470180(0xe6)](_0xbebbf7=>{});});}static async[_0x35b0f8(0xc6)](_0x119904){const _0x327828=_0x35b0f8;return napCatCore[_0x327828(0xdb)]['getProfileService']()[_0x327828(0xe7)](_0x119904);}static async[_0x35b0f8(0xf6)](_0x148520){const _0x4c6063=_0x35b0f8,_0x57c543={'FLpWU':function(_0x1664a2,_0x59125f){return _0x1664a2+_0x59125f;},'vomGV':function(_0x54ef83,_0x4a2a95){return _0x54ef83+_0x4a2a95;},'heKDK':'&u1=https%3A%2F%2F','bfzXk':_0x4c6063(0xd9),'ReQgz':_0x4c6063(0xe4)},_0x3df8d5=await NTQQUserApi[_0x4c6063(0xfa)](),_0x40c209=_0x57c543[_0x4c6063(0xb4)](_0x57c543[_0x4c6063(0xb4)](_0x57c543[_0x4c6063(0xa7)](_0x57c543[_0x4c6063(0xb4)](_0x4c6063(0xca),selfInfo[_0x4c6063(0xa1)])+'&clientkey=',_0x3df8d5['clientKey'])+_0x57c543[_0x4c6063(0xc1)]+_0x148520,'%2F')+selfInfo[_0x4c6063(0xa1)],_0x57c543[_0x4c6063(0xc9)]);let _0x4a1d7d={};try{_0x4a1d7d=await RequestUtil[_0x4c6063(0xfd)](_0x40c209);}catch(_0x1eee10){logDebug(_0x57c543['ReQgz'],_0x1eee10),_0x4a1d7d={};}return _0x4a1d7d;}static async[_0x35b0f8(0xd7)](_0x199f42){const _0x1c5ba4=_0x35b0f8;return await napCatCore[_0x1c5ba4(0xdb)][_0x1c5ba4(0xce)]()[_0x1c5ba4(0xfe)](_0x199f42,!![]);}static async[_0x35b0f8(0xe0)](){const _0x113f42=_0x35b0f8,_0x28d024=await napCatCore[_0x113f42(0xdb)][_0x113f42(0xbb)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x28d024?.[_0x113f42(0xad)]?.[_0x113f42(0xba)];}static async[_0x35b0f8(0xc7)](){const _0xf61693=_0x35b0f8,_0x37e845={'TzCHj':function(_0xfec6dc,_0x4c74fe){return _0xfec6dc+_0x4c74fe;},'WrKdM':function(_0xb93d01,_0x463cfb){return _0xb93d01+_0x463cfb;},'QVwer':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','Jktrv':_0xf61693(0xd0),'OrhfS':_0xf61693(0xd9),'qkkAy':function(_0x1a8dd3,_0x23e748,_0x501c21){return _0x1a8dd3(_0x23e748,_0x501c21);},'YxaHl':_0xf61693(0xe4)},_0x31b7d5=await NTQQUserApi[_0xf61693(0xfa)](),_0xd89f67=_0x37e845['TzCHj'](_0x37e845[_0xf61693(0xb1)](_0x37e845[_0xf61693(0xb1)](_0x37e845[_0xf61693(0xac)](_0x37e845[_0xf61693(0xd8)]+selfInfo[_0xf61693(0xa1)],_0x37e845[_0xf61693(0xb7)])+_0x31b7d5[_0xf61693(0xaf)],_0xf61693(0x9c)),selfInfo[_0xf61693(0xa1)]),_0x37e845[_0xf61693(0xec)]);let _0x51cfe5={};try{_0x51cfe5=await RequestUtil[_0xf61693(0xfd)](_0xd89f67);}catch(_0x1b8d2b){_0x37e845[_0xf61693(0xed)](logDebug,_0x37e845['YxaHl'],_0x1b8d2b),_0x51cfe5={};}return _0x51cfe5;}static async['getSkey'](){const _0x489163=_0x35b0f8,_0x3312e3={'HvWIX':function(_0x20b181,_0xb880b6){return _0x20b181!==_0xb880b6;},'fpeIw':function(_0x5588e8,_0x556283){return _0x5588e8+_0x556283;},'yMVMz':function(_0x5dc3d1,_0x48d3bb){return _0x5dc3d1+_0x48d3bb;},'QVtXw':function(_0x1142db,_0x14c41a){return _0x1142db+_0x14c41a;},'EngCV':function(_0xfdc1d1,_0x12a3d6){return _0xfdc1d1+_0x12a3d6;},'eoPiS':_0x489163(0xca),'IRtHT':_0x489163(0xd0),'zfppC':_0x489163(0xf5),'NheYA':function(_0x423bd0,_0xec202e,_0x57d802){return _0x423bd0(_0xec202e,_0x57d802);},'lHMRQ':'请求获取Skey时失败'};try{const _0x5d880c=await NTQQUserApi[_0x489163(0xfa)]();if(_0x3312e3[_0x489163(0xd5)](_0x5d880c[_0x489163(0xe8)],0x0))return'';const _0x4d9103=_0x5d880c[_0x489163(0xaf)],_0x374d0b=_0x5d880c[_0x489163(0xc3)],_0x3b4ade=_0x3312e3[_0x489163(0x98)](_0x3312e3['yMVMz'](_0x3312e3['QVtXw'](_0x3312e3[_0x489163(0xf8)](_0x3312e3['eoPiS'],selfInfo['uin']),_0x3312e3[_0x489163(0x9e)]),_0x4d9103),_0x3312e3['zfppC']);let _0x34209c={};try{_0x34209c=await RequestUtil[_0x489163(0xfd)](_0x3b4ade);}catch(_0x35cdf7){_0x3312e3[_0x489163(0xe5)](logDebug,_0x3312e3[_0x489163(0xd4)],_0x35cdf7),_0x34209c={};}const _0x46a563=_0x34209c[_0x489163(0xd1)];if(!_0x46a563)return'';return _0x46a563;}catch(_0x4be797){}return undefined;}static async[_0x35b0f8(0xb2)](_0x3230c4){const _0x26a917=_0x35b0f8,_0x5b16b0={'TVCes':'NodeIKernelUixConvertService/getUid'};let _0x16e6f3=await NTEventDispatch[_0x26a917(0x9f)](_0x5b16b0['TVCes'],0x1388,[_0x3230c4]);return _0x16e6f3[_0x26a917(0xf0)][_0x26a917(0x101)](_0x3230c4);}static async['getUinByUid'](_0x592c09){const _0xfdfc6b=_0x35b0f8,_0x13ad89={'NoDLF':_0xfdfc6b(0x9d)};if(!_0x592c09)return'';let _0x186a78=await NTEventDispatch[_0xfdfc6b(0x9f)](_0x13ad89[_0xfdfc6b(0xa4)],0x1388,[_0x592c09]);return _0x186a78[_0xfdfc6b(0xe1)]['get'](_0x592c09);}static async['getUserDetailInfoByUin'](_0x3f8536){const _0x469fa0=_0x35b0f8,_0x2d01d3={'dwGSn':_0x469fa0(0xb6)};return NTEventDispatch[_0x469fa0(0x9f)](_0x2d01d3[_0x469fa0(0xa3)],0x1388,_0x3f8536);}static async[_0x35b0f8(0xfa)](){const _0x525db9=_0x35b0f8;return await napCatCore[_0x525db9(0xdb)]['getTicketService']()[_0x525db9(0xfa)]('');}}function _0x2717(){const _0x1fc8dd=['fpeIw','getUserInfo','getOwnPropertyDescriptor','forEach','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelUixConvertService/getUin','IRtHT','CallNoListenerEvent','onLoginSuccess','uin','5357149cLvIGz','dwGSn','NoDLF','defineProperty','getSelfInfo','vomGV','getProfileService','qizYE','set','getMsgService','WrKdM','response','getBuddyRecommendContactArkJson','clientKey','setQQAvatar','TzCHj','getUidByUin','setSelfOnlineStatus','FLpWU','QaHPQ','NodeIKernelProfileService/getUserDetailInfoByUin','Jktrv','KNmKL','getProfileLikeService','robotUinRanges','getRobotService','setBuddyProfileLike','decorate','addListener','setStatus','uid','heKDK','rbwuk','keyIndex','17177958ZyQFBP','6149790NUvnAT','modifySelfProfile','getQzoneCookies','ibsgz','bfzXk','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','onProfileDetailInfoChanged','282332lkwgtf','like','getTipOffService','object','&clientkey=','skey','152226OPANEq','ClientKey','lHMRQ','HvWIX','HXgbT','getPSkey','QVwer','%2Finfocenter&keyindex=19%27','Qzfms','session','4074872SsnbvO','2224896xNZVsF','getUserDetailInfoWithBizInfo','length','getRobotUinRange','uinInfo','zjUpd','setHeader','请求获取Cookies时失败','NheYA','then','modifyDesktopMiniProfile','result','8XBVBmi','getUserDetailInfo\x20timeout','errMsg','OrhfS','qkkAy','bJPGL','delete','uidInfo','getSkey','getBuddyService','__decorate','AeDdt','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','getCookies','setLongNick','EngCV','6rQnQdT','forceFetchClientKey','function','rPJTF','HttpsGetCookies','getPskey','ifMYM','yfiQk','get','getUserDetailInfo'];_0x2717=function(){return _0x1fc8dd;};return _0x2717();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x35b0f8(0xf6),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getPSkey',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x35b0f8(0xc7),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x35b0f8(0xf1),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x35b0f8(0xd3))],NTQQUserApi,_0x35b0f8(0xfa),null); \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index d050000b0..452302713 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x46f1af=_0x5c96;function _0x3ecd(){const _0x45d9c7=['strong_newbie_list','HvbKS','trim','VWPlJ','webapi_get_group_members','talkative','LcUda','legend','cNttr','avatar','mOAhC','1046184aIDwTm','&sort=1&gc=','tsJyJ','TALKACTIVE','OMARD','gtxxv','BeiGT','ZsQKn','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','mems','parse','qGTUk','&text=','getGroupEssenceMsg','LPqYo','503982WWNihJ','push','PPciA','SHQLu','slUpm','swrZm','dkIyV','rPVMh','获取快乐源泉失败','getGrouptNotice','setGroupNotice','rSjqu','VVYMx','&qid=','845840mVLopA','sMzmB','UvjUt','CtBRU','&end=','actorList','emotion_list','wQigb','aevSC','2105543QrjGkW','swjwY','&bkn=','CLRHB','fmtff','ALL','__decorate','decorate','DSZHB','cCHvx','toString','vphiz','yJTCu','LEGEND','SJUcY','cXMkx','4GsIAkR','VtmUC','&page_start=','talkative_list','zcJje','genBkn','domainPskeyMap','qOFEg','sToTy','get','fkHlz',';\x20uin=o','defineProperty','kJYBo','oCesI','match','legend_list','description','name','LrHgI','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','DBewY','AroGZ','PuTGU','kZcLT','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20',';\x20skey=','getSkey','performer_list','XoBhT','38022VugTsx','NKdej','yfnxC','mgdSf','uiKmG','TzhAI','HgMWK','performer','XBRaw','bPQtN','PERFROMER','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','UupLp','Nzrlx','qUnIJ','getOwnPropertyDescriptor','function','GET','nFnLM','object','ZPAat','获取群聊炽焰失败','emotion','errcode','yWQXD','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','wQRbz','ROeNT','losRh','qTgdl','getPSkey','qun.qq.com',';\x20p_uin=o','8469WlCtXq','1674489AuCKcx','nAaLh','oqjWt','YMkFJ','OosaY','WLnJj','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','strong_newbie','desc','count','jjtDW','HttpGetJson','length','EMOTION','szLBy','BkduU','&type=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','p_skey=','UgJZB','qid=','Ksckx','charCodeAt','10PoSyOR','469lHBjMb','YDmdc','rEIyn','pSVtw','biMUm','uin','uErWS','wRfGa','HttpGetText','Kyxcn','HIvvH','获取群聊之火失败','all','BiiwW','1648LYEdYt','STORONGE_NEWBI','HsRLi','POST','rArAz','mnTnv'];_0x3ecd=function(){return _0x45d9c7;};return _0x3ecd();}function _0x5c96(_0x43b93d,_0x1eb1e8){const _0x3ecd11=_0x3ecd();return _0x5c96=function(_0x5c9609,_0x443dff){_0x5c9609=_0x5c9609-0xca;let _0x544683=_0x3ecd11[_0x5c9609];return _0x544683;},_0x5c96(_0x43b93d,_0x1eb1e8);}(function(_0x277056,_0x39a66d){const _0x56169f=_0x5c96,_0x4489be=_0x277056();while(!![]){try{const _0x168c7e=parseInt(_0x56169f(0x159))/0x1+-parseInt(_0x56169f(0x14a))/0x2+-parseInt(_0x56169f(0x113))/0x3*(-parseInt(_0x56169f(0xd3))/0x4)+parseInt(_0x56169f(0x167))/0x5+parseInt(_0x56169f(0xf1))/0x6*(-parseInt(_0x56169f(0x12b))/0x7)+parseInt(_0x56169f(0x139))/0x8*(-parseInt(_0x56169f(0x112))/0x9)+parseInt(_0x56169f(0x12a))/0xa*(parseInt(_0x56169f(0x170))/0xb);if(_0x168c7e===_0x39a66d)break;else _0x4489be['push'](_0x4489be['shift']());}catch(_0x1ddb5b){_0x4489be['push'](_0x4489be['shift']());}}}(_0x3ecd,0x44a79));var __decorate=this&&this[_0x46f1af(0x176)]||function(_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f){const _0x1c87eb=_0x46f1af,_0x4a20a5={'waMGU':function(_0x6e750b,_0x1ea3e9){return _0x6e750b<_0x1ea3e9;},'LrHgI':function(_0x4795c9,_0x18442f){return _0x4795c9===_0x18442f;},'fmtff':function(_0x590865,_0x381058){return _0x590865===_0x381058;},'tMCTl':_0x1c87eb(0x104),'biMUm':_0x1c87eb(0x101),'HIvvH':function(_0x115734,_0x2d1e12){return _0x115734>=_0x2d1e12;},'VVYMx':function(_0x547d84,_0x3bada6){return _0x547d84<_0x3bada6;},'BeiGT':function(_0x3d5308,_0x49e4f3){return _0x3d5308>_0x49e4f3;},'qOFEg':function(_0x4a82e3,_0x39d03c,_0x5710a2,_0xdc4b28){return _0x4a82e3(_0x39d03c,_0x5710a2,_0xdc4b28);},'VtmUC':function(_0x118d6e,_0x59b02f,_0x4c13aa){return _0x118d6e(_0x59b02f,_0x4c13aa);}};var _0x44cd02=arguments[_0x1c87eb(0x11f)],_0x879ad=_0x4a20a5['waMGU'](_0x44cd02,0x3)?_0x512e4a:_0x4a20a5[_0x1c87eb(0xe6)](_0x1dbf5f,null)?_0x1dbf5f=Object[_0x1c87eb(0x100)](_0x512e4a,_0x321976):_0x1dbf5f,_0x4d968f;if(_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect,_0x4a20a5['tMCTl'])&&_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect[_0x1c87eb(0xca)],_0x4a20a5[_0x1c87eb(0x12f)]))_0x879ad=Reflect[_0x1c87eb(0xca)](_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f);else{for(var _0x3e3204=_0x3c95f2['length']-0x1;_0x4a20a5[_0x1c87eb(0x135)](_0x3e3204,0x0);_0x3e3204--)if(_0x4d968f=_0x3c95f2[_0x3e3204])_0x879ad=(_0x4a20a5[_0x1c87eb(0x165)](_0x44cd02,0x3)?_0x4d968f(_0x879ad):_0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)?_0x4a20a5[_0x1c87eb(0xda)](_0x4d968f,_0x512e4a,_0x321976,_0x879ad):_0x4a20a5[_0x1c87eb(0xd4)](_0x4d968f,_0x512e4a,_0x321976))||_0x879ad;}return _0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)&&_0x879ad&&Object[_0x1c87eb(0xdf)](_0x512e4a,_0x321976,_0x879ad),_0x879ad;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0x5ccbae){const _0x1ab3e5=_0x46f1af,_0x335943={'dVmBC':_0x1ab3e5(0x137),'UgJZB':'TALKACTIVE','OMARD':_0x1ab3e5(0x144),'HsRLi':_0x1ab3e5(0xfb),'oqjWt':_0x1ab3e5(0xd0),'WLnJj':_0x1ab3e5(0x13a),'NKdej':_0x1ab3e5(0x120),'losRh':_0x1ab3e5(0x107)};_0x5ccbae['ALL']=_0x335943['dVmBC'],_0x5ccbae[_0x335943[_0x1ab3e5(0x126)]]=_0x335943[_0x1ab3e5(0x14e)],_0x5ccbae[_0x335943[_0x1ab3e5(0x13b)]]=_0x1ab3e5(0xf8),_0x5ccbae[_0x335943[_0x1ab3e5(0x115)]]=_0x1ab3e5(0x146),_0x5ccbae[_0x335943[_0x1ab3e5(0x118)]]=_0x1ab3e5(0x11a),_0x5ccbae[_0x335943[_0x1ab3e5(0xf2)]]=_0x335943[_0x1ab3e5(0x10d)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x46f1af(0x157)](_0x562ec8,_0x326817){const _0x77e4ae=_0x46f1af,_0x32db28={'buEnm':_0x77e4ae(0x110),'wQigb':function(_0x351838,_0x5ea94c){return _0x351838+_0x5ea94c;},'nAaLh':function(_0x55bd89,_0x4f39bd){return _0x55bd89+_0x4f39bd;},'mgdSf':function(_0x8b3222,_0x91d6b3){return _0x8b3222+_0x91d6b3;},'TzhAI':'p_skey=','szLBy':';\x20skey=','yWQXD':_0x77e4ae(0xde),'cNttr':function(_0x3266c7,_0x345856){return _0x3266c7||_0x345856;},'kJYBo':function(_0x1055ac,_0x258f61){return _0x1055ac+_0x258f61;},'yJTCu':function(_0x51742d,_0x2f9d4f){return _0x51742d+_0x2f9d4f;},'HgMWK':_0x77e4ae(0x152),'hbzpe':'&page_limit=20','cXMkx':_0x77e4ae(0x102),'FAeKV':function(_0x1e9617,_0xe2f2a4){return _0x1e9617!==_0xe2f2a4;}},_0xef6679=(await NTQQUserApi[_0x77e4ae(0x10f)]([_0x32db28['buEnm']]))[_0x77e4ae(0xd9)][_0x77e4ae(0xdc)](_0x77e4ae(0x110)),_0x5e9196=await NTQQUserApi[_0x77e4ae(0xee)](),_0x3f5d3d=_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0xf4)](_0x32db28[_0x77e4ae(0xf6)],_0xef6679),_0x32db28[_0x77e4ae(0x121)])+_0x5e9196+';\x20p_uin=o'+selfInfo[_0x77e4ae(0x130)],_0x32db28[_0x77e4ae(0x109)]),selfInfo[_0x77e4ae(0x130)]);if(_0x32db28[_0x77e4ae(0x147)](!_0x5e9196,!_0xef6679))return undefined;const _0x2cdb34=WebApi[_0x77e4ae(0xd8)](_0x5e9196),_0x1c8de0=_0x32db28['nAaLh'](_0x32db28[_0x77e4ae(0xe0)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0xcf)](_0x32db28['wQigb'](_0x32db28[_0x77e4ae(0xf7)],_0x2cdb34)+'&group_code=',_0x562ec8),_0x77e4ae(0xd5)),_0x326817),_0x32db28['hbzpe']);let _0x5cdd94;try{_0x5cdd94=await RequestUtil[_0x77e4ae(0x11e)](_0x1c8de0,_0x32db28[_0x77e4ae(0xd2)],'',{'Cookie':_0x3f5d3d});}catch{return undefined;}if(_0x32db28['FAeKV'](_0x5cdd94['retcode'],0x0))return undefined;return _0x5cdd94;}static async['getGroupMembers'](_0x4f2f10,_0x14de2a=!![]){const _0x2401a5=_0x46f1af,_0x3c7d98={'BiiwW':function(_0x1f8e86,_0x91b301){return _0x1f8e86+_0x91b301;},'mnTnv':function(_0x8fc230,_0x390468){return _0x8fc230+_0x390468;},'XBRaw':function(_0x3603d6,_0x4be173){return _0x3603d6+_0x4be173;},'vNzbJ':';\x20skey=','swjwY':';\x20p_uin=o','oUCkI':function(_0xc05d7b,_0x270d93){return _0xc05d7b||_0x270d93;},'pfsKt':function(_0x267abd,_0x15770c){return _0x267abd+_0x15770c;},'LcUda':'&bkn=','OosaY':_0x2401a5(0x13c),'ZsQKn':function(_0x4ef793,_0x2c44d9){return _0x4ef793!==_0x2c44d9;},'MqNfH':function(_0x289187,_0x2add71){return _0x289187+_0x2add71;},'BWseL':function(_0x10acd0,_0x491b49){return _0x10acd0+_0x491b49;},'cCHvx':function(_0x2412e4,_0x48fed7){return _0x2412e4+_0x48fed7;},'dkIyV':function(_0x18b296,_0x1f4230){return _0x18b296+_0x1f4230;},'VWPlJ':function(_0x183463,_0x3445a8){return _0x183463+_0x3445a8;},'rArAz':_0x2401a5(0xe7),'slUpm':function(_0x4ca409,_0x44b366){return _0x4ca409*_0x44b366;},'rEIyn':function(_0x3ba0d4,_0x3dba61){return _0x3ba0d4-_0x3dba61;},'rPVMh':function(_0x48164f,_0x1bf1a5){return _0x48164f*_0x1bf1a5;},'qTgdl':_0x2401a5(0x14b),'yfnxC':function(_0x9192e6,_0x20f93e){return _0x9192e6<=_0x20f93e;}};let _0x1fd9ce=new Array();try{const _0x342d41=(await NTQQUserApi[_0x2401a5(0x10f)]([_0x2401a5(0x110)]))[_0x2401a5(0xd9)][_0x2401a5(0xdc)](_0x2401a5(0x110)),_0x4fd9e6=await NTQQUserApi['getSkey'](),_0xe25233=_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98['mnTnv'](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98[_0x2401a5(0xf9)]('p_skey=',_0x342d41),_0x3c7d98['vNzbJ']),_0x4fd9e6),_0x3c7d98[_0x2401a5(0x171)]),selfInfo[_0x2401a5(0x130)]);if(_0x3c7d98['oUCkI'](!_0x4fd9e6,!_0x342d41))return _0x1fd9ce;const _0x3d2574=WebApi[_0x2401a5(0xd8)](_0x4fd9e6),_0x4d89ca=[],_0x3e6036=await RequestUtil[_0x2401a5(0x11e)](_0x3c7d98['pfsKt'](_0x3c7d98['XBRaw'](_0x2401a5(0x124),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)])+_0x3d2574,_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});if(!_0x3e6036?.['count']||_0x3c7d98[_0x2401a5(0x151)](_0x3e6036?.['errcode'],0x0)||!_0x3e6036?.[_0x2401a5(0x153)])return[];else for(const _0x4b26cd in _0x3e6036[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x3e6036[_0x2401a5(0x153)][_0x4b26cd]);}const _0x550034=Math['ceil'](_0x3e6036[_0x2401a5(0x11c)]/0x28);for(let _0xa2ff9b=0x2;_0xa2ff9b<=_0x550034;_0xa2ff9b++){const _0x2340bd=RequestUtil['HttpGetJson'](_0x3c7d98['MqNfH'](_0x3c7d98['BWseL'](_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0xcc)](_0x3c7d98[_0x2401a5(0x15f)](_0x3c7d98[_0x2401a5(0x142)](_0x3c7d98[_0x2401a5(0x13d)],_0x3c7d98[_0x2401a5(0x15d)](_0x3c7d98[_0x2401a5(0x12d)](_0xa2ff9b,0x1),0x28))+_0x2401a5(0x16b),_0x3c7d98[_0x2401a5(0x160)](_0xa2ff9b,0x28)),_0x3c7d98[_0x2401a5(0x10e)]),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)]),_0x3d2574),_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});_0x4d89ca[_0x2401a5(0x15a)](_0x2340bd);}for(let _0xdc97dd=0x1;_0x3c7d98[_0x2401a5(0xf3)](_0xdc97dd,_0x550034);_0xdc97dd++){const _0x2d0749=await _0x4d89ca[_0xdc97dd];if(!_0x2d0749?.[_0x2401a5(0x11c)]||_0x3c7d98[_0x2401a5(0x151)](_0x2d0749?.[_0x2401a5(0x108)],0x0)||!_0x2d0749?.[_0x2401a5(0x153)])continue;for(const _0x58a580 in _0x2d0749[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x2d0749[_0x2401a5(0x153)][_0x58a580]);}}}catch{return _0x1fd9ce;}return _0x1fd9ce;}static async[_0x46f1af(0x163)](_0x5e2569,_0x15a62a=''){const _0x43fd6c=_0x46f1af,_0xce5224={'FBvHw':_0x43fd6c(0x110),'mOAhC':function(_0x2756f7,_0xb92f89){return _0x2756f7+_0xb92f89;},'HvbKS':function(_0x3d6098,_0x349825){return _0x3d6098+_0x349825;},'UupLp':function(_0x33f572,_0x5a98a3){return _0x33f572+_0x5a98a3;},'yfLxs':_0x43fd6c(0x125),'CtBRU':function(_0x10f74a,_0x24b79c){return _0x10f74a+_0x24b79c;},'AroGZ':function(_0x2f6a8e,_0x3bd120){return _0x2f6a8e+_0x3bd120;},'PPciA':function(_0x481b5e,_0xc72beb){return _0x481b5e+_0xc72beb;},'lRjkG':_0x43fd6c(0x127),'SHQLu':function(_0x2a5c3a,_0x4fd9e3){return _0x2a5c3a+_0x4fd9e3;},'wRfGa':_0x43fd6c(0x119),'Nzrlx':'GET'},_0x50c674=(await NTQQUserApi['getPSkey']([_0xce5224['FBvHw']]))[_0x43fd6c(0xd9)][_0x43fd6c(0xdc)](_0x43fd6c(0x110)),_0x347090=await NTQQUserApi['getSkey'](),_0x582a75=_0xce5224[_0x43fd6c(0x149)](_0xce5224[_0x43fd6c(0x140)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x149)](_0xce5224['yfLxs'],_0x50c674)+_0x43fd6c(0xed),_0x347090),_0x43fd6c(0x111)),selfInfo[_0x43fd6c(0x130)]);let _0x27606b=undefined;if(!_0x347090||!_0x50c674)return undefined;const _0x50a201=WebApi['genBkn'](_0x347090),_0x2d3b6f=_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x16a)](_0xce5224[_0x43fd6c(0xe9)](_0xce5224[_0x43fd6c(0x15b)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224['lRjkG']+_0x5e2569,_0x43fd6c(0x172)),_0x50a201),_0x43fd6c(0x156)),_0x15a62a),_0x43fd6c(0xfc)),_0x42f70d=_0xce5224[_0x43fd6c(0x15c)](_0xce5224[_0x43fd6c(0x132)],_0x50a201);try{return _0x27606b=await RequestUtil[_0x43fd6c(0x11e)](_0x42f70d,_0xce5224[_0x43fd6c(0xfe)],'',{'Cookie':_0x582a75}),_0x27606b;}catch(_0x30b2dd){return undefined;}return undefined;}static async[_0x46f1af(0x162)](_0x2d2b0b){const _0x359362=_0x46f1af,_0x517bf3={'yYXgN':_0x359362(0x110),'qGTUk':function(_0x41ddbd,_0x4cdb41){return _0x41ddbd+_0x4cdb41;},'sKkhC':function(_0x3074e9,_0x4146bd){return _0x3074e9+_0x4146bd;},'sToTy':function(_0x696e87,_0xfe429c){return _0x696e87+_0xfe429c;},'uiKmG':function(_0x19466b,_0xb59ffd){return _0x19466b+_0xb59ffd;},'rSjqu':'p_skey=','UvjUt':_0x359362(0x111),'qUnIJ':function(_0x757e9a,_0x2d1337){return _0x757e9a||_0x2d1337;},'swrZm':_0x359362(0x10a),'LPqYo':_0x359362(0x166),'SJUcY':_0x359362(0xec),'cRDPa':function(_0x4bf1e3,_0x59a0d7){return _0x4bf1e3!==_0x59a0d7;}},_0x2cb1ab=(await NTQQUserApi[_0x359362(0x10f)]([_0x517bf3['yYXgN']]))['domainPskeyMap'][_0x359362(0xdc)](_0x359362(0x110)),_0x212735=await NTQQUserApi[_0x359362(0xee)](),_0x545820=_0x517bf3[_0x359362(0x155)](_0x517bf3[_0x359362(0x155)](_0x517bf3['sKkhC'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0xf5)](_0x517bf3[_0x359362(0x164)],_0x2cb1ab),_0x359362(0xed)),_0x212735),_0x517bf3[_0x359362(0x169)]),selfInfo['uin']);let _0x32fd73=undefined;if(_0x517bf3[_0x359362(0xff)](!_0x212735,!_0x2cb1ab))return undefined;const _0x48cd0a=WebApi['genBkn'](_0x212735),_0x110a07=_0x517bf3['uiKmG'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0x15e)]+_0x48cd0a+_0x517bf3[_0x359362(0x158)],_0x2d2b0b),_0x517bf3[_0x359362(0xd1)]);try{_0x32fd73=await RequestUtil['HttpGetJson'](_0x110a07,_0x359362(0x102),'',{'Cookie':_0x545820});if(_0x517bf3['cRDPa'](_0x32fd73?.['ec'],0x0))return undefined;return _0x32fd73;}catch(_0x115b29){return undefined;}return undefined;}static[_0x46f1af(0xd8)](_0x5e8670){const _0x435b34=_0x46f1af,_0x3bc2e8={'sMzmB':function(_0x31df13,_0x92ed1){return _0x31df13||_0x92ed1;},'XiXYV':function(_0x234e07,_0x495000){return _0x234e07<_0x495000;},'uErWS':function(_0x4cd0e9,_0x3da5a0){return _0x4cd0e9+_0x3da5a0;},'YDmdc':function(_0x555325,_0x6a63a1){return _0x555325+_0x6a63a1;},'vphiz':function(_0x176b06,_0x2560ea){return _0x176b06<<_0x2560ea;},'tsJyJ':function(_0x4d0384,_0xf0821e){return _0x4d0384&_0xf0821e;}};_0x5e8670=_0x3bc2e8[_0x435b34(0x168)](_0x5e8670,'');let _0x4275c7=0x1505;for(let _0x5e0427=0x0;_0x3bc2e8['XiXYV'](_0x5e0427,_0x5e8670['length']);_0x5e0427++){const _0x3f67d4=_0x5e8670[_0x435b34(0x129)](_0x5e0427);_0x4275c7=_0x3bc2e8[_0x435b34(0x131)](_0x3bc2e8[_0x435b34(0x12c)](_0x4275c7,_0x3bc2e8[_0x435b34(0xce)](_0x4275c7,0x5)),_0x3f67d4);}return _0x3bc2e8[_0x435b34(0x14c)](_0x4275c7,0x7fffffff)[_0x435b34(0xcd)]();}static async['getGroupHonorInfo'](_0x4d63aa,_0x1403e2){const _0x2b8eba=_0x46f1af,_0x395d6a={'CLRHB':function(_0x4dba0f,_0x553cff){return _0x4dba0f+_0x553cff;},'oCesI':'https://qun.qq.com/interactive/honorlist?gc=','ZPAat':_0x2b8eba(0x123),'DSZHB':_0x2b8eba(0x102),'DBewY':function(_0x167eb6,_0x599193){return _0x167eb6===_0x599193;},'bPQtN':function(_0x4fa224,_0x1930dc,_0x30586d,_0x1bf77c){return _0x4fa224(_0x1930dc,_0x30586d,_0x1bf77c);},'PuTGU':'获取当前群荣耀失败','Ksckx':_0x2b8eba(0x110),'BkduU':function(_0x446553,_0x1c6e7b){return _0x446553||_0x1c6e7b;},'wQRbz':function(_0x4297fb,_0x1c3bab){return _0x4297fb+_0x1c3bab;},'Kyxcn':function(_0x48812e,_0x539cae){return _0x48812e+_0x539cae;},'nFnLM':_0x2b8eba(0x125),'kZcLT':';\x20skey=','CxFeC':';\x20p_uin=o','gtxxv':_0x2b8eba(0xde),'zcJje':function(_0x14957b,_0x18645d){return _0x14957b===_0x18645d;},'XOzFD':'获取龙王信息失败','YMkFJ':function(_0x2d7f79,_0x2fcca8){return _0x2d7f79(_0x2fcca8);},'pSVtw':function(_0x578382,_0x573d2f){return _0x578382===_0x573d2f;},'jjtDW':function(_0xcb7b6,_0xd80522,_0x42557b){return _0xcb7b6(_0xd80522,_0x42557b);},'aevSC':_0x2b8eba(0x136),'XoBhT':_0x2b8eba(0x106),'sPUbv':function(_0x5b8e61,_0x181b86){return _0x5b8e61===_0x181b86;},'fkHlz':_0x2b8eba(0x161),'ROeNT':function(_0x3d9af9,_0x381a45,_0x14b329){return _0x3d9af9(_0x381a45,_0x14b329);},'fkszD':function(_0x37d4bc,_0x4e07ae){return _0x37d4bc===_0x4e07ae;}},_0x11188d=(await NTQQUserApi[_0x2b8eba(0x10f)]([_0x395d6a[_0x2b8eba(0x128)]]))['domainPskeyMap'][_0x2b8eba(0xdc)](_0x395d6a[_0x2b8eba(0x128)]),_0x239d5d=await NTQQUserApi[_0x2b8eba(0xee)]();if(_0x395d6a[_0x2b8eba(0x122)](!_0x239d5d,!_0x11188d))return undefined;async function _0x21e173(_0x6e2715,_0x2f3d5e){const _0x270fbc=_0x2b8eba;let _0x209718=_0x395d6a['CLRHB'](_0x395d6a[_0x270fbc(0x173)](_0x395d6a[_0x270fbc(0xe1)]+_0x6e2715,_0x395d6a[_0x270fbc(0x105)]),_0x2f3d5e['toString']()),_0x2d9358='',_0x498c9d;try{_0x2d9358=await RequestUtil[_0x270fbc(0x133)](_0x209718,_0x395d6a[_0x270fbc(0xcb)],'',{'Cookie':_0x1974dc});const _0x59e786=_0x2d9358[_0x270fbc(0xe2)](/window\.__INITIAL_STATE__=(.*?);/);return _0x59e786&&(_0x498c9d=JSON[_0x270fbc(0x154)](_0x59e786[0x1][_0x270fbc(0x141)]())),_0x395d6a[_0x270fbc(0xe8)](_0x2f3d5e,0x1)?_0x498c9d?.['talkativeList']:_0x498c9d?.[_0x270fbc(0x16c)];}catch(_0x269472){_0x395d6a[_0x270fbc(0xfa)](logDebug,_0x395d6a[_0x270fbc(0xea)],_0x209718,_0x269472);}return undefined;}let _0x43603c={'group_id':_0x4d63aa};const _0x1974dc=_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x173)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x134)](_0x395d6a[_0x2b8eba(0x103)],_0x11188d),_0x395d6a[_0x2b8eba(0xeb)])+_0x239d5d,_0x395d6a['CxFeC']),selfInfo[_0x2b8eba(0x130)]),_0x395d6a[_0x2b8eba(0x14f)])+selfInfo[_0x2b8eba(0x130)];if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0x14d)])||_0x395d6a[_0x2b8eba(0xd7)](_0x1403e2,WebHonorType['ALL']))try{let _0x5e3c1e=await _0x21e173(_0x4d63aa,0x1);if(!_0x5e3c1e)throw new Error(_0x395d6a['XOzFD']);_0x43603c['current_talkative']={'user_id':_0x5e3c1e[0x0]?.[_0x2b8eba(0x130)],'avatar':_0x5e3c1e[0x0]?.[_0x2b8eba(0x148)],'nickname':_0x5e3c1e[0x0]?.[_0x2b8eba(0xe5)],'day_count':0x0,'description':_0x5e3c1e[0x0]?.['desc']},_0x43603c[_0x2b8eba(0xd6)]=[];for(const _0x2455ef of _0x5e3c1e){_0x43603c[_0x2b8eba(0xd6)]['push']({'user_id':_0x2455ef?.[_0x2b8eba(0x130)],'avatar':_0x2455ef?.[_0x2b8eba(0x148)],'description':_0x2455ef?.[_0x2b8eba(0x11b)],'day_count':0x0,'nickname':_0x2455ef?.[_0x2b8eba(0xe5)]});}}catch(_0x1250bf){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x1250bf);}if(_0x395d6a['pSVtw'](_0x1403e2,WebHonorType['PERFROMER'])||_0x395d6a[_0x2b8eba(0x12e)](_0x1403e2,WebHonorType[_0x2b8eba(0x175)]))try{let _0x119d3d=await _0x395d6a['jjtDW'](_0x21e173,_0x4d63aa,0x2);if(!_0x119d3d)throw new Error(_0x395d6a[_0x2b8eba(0x16f)]);_0x43603c[_0x2b8eba(0xef)]=[];for(const _0x54f0a3 of _0x119d3d){_0x43603c[_0x2b8eba(0xef)][_0x2b8eba(0x15a)]({'user_id':_0x54f0a3?.[_0x2b8eba(0x130)],'nickname':_0x54f0a3?.[_0x2b8eba(0xe5)],'avatar':_0x54f0a3?.[_0x2b8eba(0x148)],'description':_0x54f0a3?.[_0x2b8eba(0x11b)]});}}catch(_0x9259ba){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x9259ba);}if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0xfb)])||_0x1403e2===WebHonorType['ALL'])try{let _0x39e67e=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x3);if(!_0x39e67e)throw new Error(_0x395d6a[_0x2b8eba(0xf0)]);_0x43603c[_0x2b8eba(0xe3)]=[];for(const _0x45b493 of _0x39e67e){_0x43603c[_0x2b8eba(0xe3)][_0x2b8eba(0x15a)]({'user_id':_0x45b493?.['uin'],'nickname':_0x45b493?.[_0x2b8eba(0xe5)],'avatar':_0x45b493?.[_0x2b8eba(0x148)],'desc':_0x45b493?.['description']});}}catch(_0x5a81c6){_0x395d6a['jjtDW'](logDebug,_0x2b8eba(0x106),_0x5a81c6);}if(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x1403e2===WebHonorType['ALL'])try{let _0x4cdf62=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x6);if(!_0x4cdf62)throw new Error(_0x395d6a[_0x2b8eba(0xdd)]);_0x43603c[_0x2b8eba(0x16d)]=[];for(const _0x1d187e of _0x4cdf62){_0x43603c['emotion_list'][_0x2b8eba(0x15a)]({'user_id':_0x1d187e?.['uin'],'nickname':_0x1d187e?.[_0x2b8eba(0xe5)],'avatar':_0x1d187e?.['avatar'],'desc':_0x1d187e?.[_0x2b8eba(0xe4)]});}}catch(_0x5d1374){_0x395d6a[_0x2b8eba(0x10c)](logDebug,_0x395d6a[_0x2b8eba(0xdd)],_0x5d1374);}return(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x395d6a['fkszD'](_0x1403e2,WebHonorType['ALL']))&&(_0x43603c[_0x2b8eba(0x13f)]=[]),_0x43603c;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x46f1af(0x143))],WebApi,'getGroupEssenceMsg',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,'getGroupMembers',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'GroupHonorInfo')],WebApi,'getGroupHonorInfo',null); \ No newline at end of file +const _0x2fbfa6=_0x2993;(function(_0x21ede2,_0x3f57cc){const _0x5a777d=_0x2993,_0x130923=_0x21ede2();while(!![]){try{const _0x31d967=-parseInt(_0x5a777d(0x98))/0x1+-parseInt(_0x5a777d(0xc9))/0x2+-parseInt(_0x5a777d(0x8d))/0x3+-parseInt(_0x5a777d(0x90))/0x4*(-parseInt(_0x5a777d(0xd7))/0x5)+parseInt(_0x5a777d(0x74))/0x6*(parseInt(_0x5a777d(0x102))/0x7)+parseInt(_0x5a777d(0xda))/0x8*(parseInt(_0x5a777d(0x110))/0x9)+-parseInt(_0x5a777d(0x10c))/0xa*(-parseInt(_0x5a777d(0xf2))/0xb);if(_0x31d967===_0x3f57cc)break;else _0x130923['push'](_0x130923['shift']());}catch(_0x56bca8){_0x130923['push'](_0x130923['shift']());}}}(_0x48c0,0x8f3ff));var __decorate=this&&this[_0x2fbfa6(0xa4)]||function(_0x444d71,_0x5281e9,_0xb791f6,_0x59649e){const _0xb976ba=_0x2fbfa6,_0x576892={'tgVRv':function(_0x58aadd,_0x11f90b){return _0x58aadd<_0x11f90b;},'FNTUQ':function(_0x203341,_0x34e527){return _0x203341===_0x34e527;},'Hrvjs':'object','MXrNB':_0xb976ba(0xa6),'OPIQC':function(_0x14fda6,_0x1b3401){return _0x14fda6-_0x1b3401;},'JUmuI':function(_0xd4e216,_0x31f1b5){return _0xd4e216>=_0x31f1b5;},'oQqiD':function(_0x47dbd9,_0x441793){return _0x47dbd9(_0x441793);},'knyME':function(_0x54f800,_0x802c42,_0x4021df,_0x49e5a5){return _0x54f800(_0x802c42,_0x4021df,_0x49e5a5);},'EOcbu':function(_0x236e68,_0xbeef8e){return _0x236e68>_0xbeef8e;}};var _0xeebc37=arguments['length'],_0x55390f=_0x576892['tgVRv'](_0xeebc37,0x3)?_0x5281e9:_0x576892['FNTUQ'](_0x59649e,null)?_0x59649e=Object[_0xb976ba(0x71)](_0x5281e9,_0xb791f6):_0x59649e,_0x24a279;if(_0x576892[_0xb976ba(0x70)](typeof Reflect,_0x576892[_0xb976ba(0xb6)])&&_0x576892[_0xb976ba(0x70)](typeof Reflect[_0xb976ba(0x87)],_0x576892[_0xb976ba(0xbc)]))_0x55390f=Reflect['decorate'](_0x444d71,_0x5281e9,_0xb791f6,_0x59649e);else{for(var _0x59257b=_0x576892[_0xb976ba(0xa3)](_0x444d71[_0xb976ba(0x107)],0x1);_0x576892['JUmuI'](_0x59257b,0x0);_0x59257b--)if(_0x24a279=_0x444d71[_0x59257b])_0x55390f=(_0x576892[_0xb976ba(0x99)](_0xeebc37,0x3)?_0x576892[_0xb976ba(0x84)](_0x24a279,_0x55390f):_0xeebc37>0x3?_0x576892[_0xb976ba(0xa9)](_0x24a279,_0x5281e9,_0xb791f6,_0x55390f):_0x24a279(_0x5281e9,_0xb791f6))||_0x55390f;}return _0x576892['EOcbu'](_0xeebc37,0x3)&&_0x55390f&&Object[_0xb976ba(0xad)](_0x5281e9,_0xb791f6,_0x55390f),_0x55390f;};import{selfInfo}from'@/core/data';function _0x48c0(){const _0xf5a74b=['YSdEl','lnJcF','1013068yyYbTa','RDfBI','UmdCT','ALL','QMJdL','NobYk','strong_newbie','get','WlLgV','toString','emotion_list','wlNBB','mAVMZ','talkative','205KrsdDU','lJYoP','domainPskeyMap','6079384TFBLQe','lBgHx','KufCy','LmtPJ','iYsTy','KSynq','ttmEM','WbqAG','rOzsq','DCCJn','EtYim','legend','retcode','all','GLDib','AluWh','VstMo','name','webapi_get_group_members','YgiHc','UYJdk','&bkn=','ztXVH','genBkn','9639003OlgRsN','HttpGetJson','wbqxL','sIRpy','POST','ROVZS','nBphu','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','doHBr','charCodeAt','errcode','iglYi','YVdYY','TALKACTIVE','getGroupHonorInfo','push','931eLrqJC','PERFROMER','talkativeList','获取龙王信息失败','emotion','length','zPzSJ','whKYZ','bhjPg','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','10GWSgLh','GET','getPSkey','p_skey=','9unFmTw','parse','dUoDQ','&type=','RhHVy','KbgDb','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','&group_code=','GroupHonorInfo','Oqkeb','NzmHM','ceil','GtJEn','AChys','mRFtz','DqfiG','GbDpz','KyHqv','BzvnZ','uOlnO','FNTUQ','getOwnPropertyDescriptor','avatar','FMkMg','5262GSvvqN','ffYjx','5|0|2|4|1|3','gsDem','actorList','RscKk','description',';\x20uin=o','hOfCV','fwmru',';\x20skey=','performer','uin','wUnDf','STORONGE_NEWBI','count','oQqiD',';\x20p_uin=o','current_talkative','decorate','getGroupMembers','NeQZk','获取群聊之火失败','&end=','oihbX','2489679uUewIf','otNHS','UgcSX','42964uFNfXe','mcHSD','JtTik','getGrouptNotice','trim','gjloO','gcBgC','LOrFq','270040AhGBxT','tgVRv','getSkey','strong_newbie_list','aRSuY','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','getGroupEssenceMsg','GZQLM','获取当前群荣耀失败','LEGEND','pAtZj','OPIQC','__decorate','iNQGI','function','ctSQE','zdajg','knyME','split','https://qun.qq.com/interactive/honorlist?gc=','EMOTION','defineProperty','uTncB','oeTjL','TxEZk','zNXIn','&sort=1&gc=','vZbQS','cakfh','FurdV','Hrvjs','BSmZC','hCUiB','HdRmF','sVtPo','cCDcA','MXrNB','mems','FmJJE','talkative_list','kxLGt','Melet','&page_start=','desc','WIxcS','获取群聊炽焰失败','qun.qq.com'];_0x48c0=function(){return _0xf5a74b;};return _0x48c0();}import{logDebug}from'@/common/utils/log';function _0x2993(_0x40342b,_0x149334){const _0x48c032=_0x48c0();return _0x2993=function(_0x2993f3,_0x5095fe){_0x2993f3=_0x2993f3-0x69;let _0x35add5=_0x48c032[_0x2993f3];return _0x35add5;},_0x2993(_0x40342b,_0x149334);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';export var WebHonorType;(function(_0xe64677){const _0x1c31be=_0x2fbfa6,_0x3f0358={'YSdEl':_0x1c31be(0x76),'sVtPo':'TALKACTIVE','nBphu':_0x1c31be(0xd6),'wJZMG':'PERFROMER','NzmHM':_0x1c31be(0x7f),'ztXVH':'EMOTION','gRDFD':_0x1c31be(0x106),'FMkMg':_0x1c31be(0xa1),'AluWh':_0x1c31be(0xe5),'gsDem':_0x1c31be(0xcc),'WIxcS':_0x1c31be(0xe7)},_0x193bcc=_0x3f0358[_0x1c31be(0xc7)][_0x1c31be(0xaa)]('|');let _0x162190=0x0;while(!![]){switch(_0x193bcc[_0x162190++]){case'0':_0xe64677[_0x3f0358[_0x1c31be(0xba)]]=_0x3f0358[_0x1c31be(0xf8)];continue;case'1':_0xe64677[_0x1c31be(0x82)]=_0x1c31be(0xcf);continue;case'2':_0xe64677[_0x3f0358['wJZMG']]=_0x3f0358[_0x1c31be(0x11a)];continue;case'3':_0xe64677[_0x3f0358[_0x1c31be(0xf0)]]=_0x3f0358['gRDFD'];continue;case'4':_0xe64677[_0x3f0358[_0x1c31be(0x73)]]=_0x3f0358[_0x1c31be(0xe9)];continue;case'5':_0xe64677[_0x3f0358[_0x1c31be(0x77)]]=_0x3f0358[_0x1c31be(0xc4)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x2fbfa6(0x9e)](_0x322f09,_0x3ff328){const _0x3de58d=_0x2fbfa6,_0x2d3a52={'KSynq':_0x3de58d(0xc6),'uOlnO':function(_0x1300f6,_0x3aa08c){return _0x1300f6+_0x3aa08c;},'mcHSD':function(_0x504ce6,_0x530e47){return _0x504ce6+_0x530e47;},'FurdV':function(_0x35952f,_0x22b5ae){return _0x35952f+_0x22b5ae;},'iglYi':function(_0x18ebd4,_0x151515){return _0x18ebd4+_0x151515;},'gjloO':function(_0x3978df,_0x484840){return _0x3978df+_0x484840;},'ROVZS':function(_0x5cf68b,_0x5fc90a){return _0x5cf68b+_0x5fc90a;},'LOrFq':_0x3de58d(0x7e),'BAXpC':_0x3de58d(0x85),'AChys':';\x20uin=o','RDfBI':function(_0x4db599,_0x693ad){return _0x4db599||_0x693ad;},'whKYZ':function(_0x3937e1,_0x325da9){return _0x3937e1+_0x325da9;},'zNXIn':function(_0x1228a7,_0x54f890){return _0x1228a7+_0x54f890;},'iYsTy':_0x3de58d(0xf9),'HdRmF':_0x3de58d(0x117),'nCQtY':'&page_limit=20','QnchL':_0x3de58d(0x10d),'YVdYY':function(_0x489d4a,_0x5077ad){return _0x489d4a!==_0x5077ad;}},_0x27b3ab=(await NTQQUserApi[_0x3de58d(0x10e)]([_0x2d3a52[_0x3de58d(0xdf)]]))[_0x3de58d(0xd9)][_0x3de58d(0xd0)](_0x2d3a52['KSynq']),_0x15997b=await NTQQUserApi[_0x3de58d(0x9a)](),_0x1fd8a4=_0x2d3a52[_0x3de58d(0x6f)](_0x2d3a52[_0x3de58d(0x91)](_0x2d3a52[_0x3de58d(0x6f)](_0x2d3a52[_0x3de58d(0xb5)](_0x2d3a52[_0x3de58d(0xfd)](_0x2d3a52[_0x3de58d(0x95)](_0x2d3a52[_0x3de58d(0xf7)](_0x3de58d(0x10f),_0x27b3ab),_0x2d3a52[_0x3de58d(0x97)]),_0x15997b),_0x2d3a52['BAXpC']),selfInfo[_0x3de58d(0x80)]),_0x2d3a52[_0x3de58d(0x69)]),selfInfo[_0x3de58d(0x80)]);if(_0x2d3a52[_0x3de58d(0xca)](!_0x15997b,!_0x27b3ab))return undefined;const _0x49910b=WebApi[_0x3de58d(0xf1)](_0x15997b),_0x40ac2b=_0x2d3a52[_0x3de58d(0xfd)](_0x2d3a52[_0x3de58d(0x109)](_0x2d3a52[_0x3de58d(0xb1)](_0x2d3a52[_0x3de58d(0x95)](_0x2d3a52['whKYZ'](_0x2d3a52[_0x3de58d(0xde)],_0x49910b),_0x2d3a52[_0x3de58d(0xb9)]),_0x322f09),_0x3de58d(0xc2)),_0x3ff328)+_0x2d3a52['nCQtY'];let _0x5e7fc5;try{_0x5e7fc5=await RequestUtil[_0x3de58d(0xf3)](_0x40ac2b,_0x2d3a52['QnchL'],'',{'Cookie':_0x1fd8a4});}catch{return undefined;}if(_0x2d3a52[_0x3de58d(0xfe)](_0x5e7fc5[_0x3de58d(0xe6)],0x0))return undefined;return _0x5e7fc5;}static async[_0x2fbfa6(0x88)](_0x186c01,_0x2bd267=!![]){const _0x46694f=_0x2fbfa6,_0x4e0328={'KufCy':_0x46694f(0xc6),'oeTjL':function(_0x19c5c4,_0x1c3910){return _0x19c5c4+_0x1c3910;},'btTwV':_0x46694f(0x7e),'FmJJE':';\x20p_uin=o','TxEZk':function(_0xf734ef,_0x587a2c){return _0xf734ef||_0x587a2c;},'Oqkeb':function(_0x4184b1,_0xfa68de){return _0x4184b1+_0xfa68de;},'UgcSX':function(_0x4cbac8,_0x1d1a5b){return _0x4cbac8+_0x1d1a5b;},'KyHqv':function(_0x50f230,_0x3732d2){return _0x50f230+_0x3732d2;},'EtYim':_0x46694f(0x9d),'uTncB':_0x46694f(0xef),'vZbQS':function(_0x4a1130,_0x4fe386){return _0x4a1130!==_0x4fe386;},'mAVMZ':function(_0x3f4237,_0x567731){return _0x3f4237/_0x567731;},'QMJdL':function(_0x5c5e22,_0x47e715){return _0x5c5e22+_0x47e715;},'hCUiB':function(_0x40b9b5,_0x78bfdf){return _0x40b9b5+_0x78bfdf;},'iNQGI':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','sIRpy':function(_0xdaf515,_0x58024a){return _0xdaf515*_0x58024a;},'HjXUT':function(_0x5836ae,_0x17e859){return _0x5836ae-_0x17e859;},'GbDpz':_0x46694f(0x8b),'kxLGt':function(_0x3eeda7,_0x2746cd){return _0x3eeda7*_0x2746cd;},'lnJcF':_0x46694f(0xb2),'NeQZk':'POST','BVOxP':function(_0x8f5fb4,_0x1290e5){return _0x8f5fb4<=_0x1290e5;}};let _0xe74677=new Array();try{const _0x3d9e1a=(await NTQQUserApi[_0x46694f(0x10e)]([_0x46694f(0xc6)]))['domainPskeyMap'][_0x46694f(0xd0)](_0x4e0328[_0x46694f(0xdc)]),_0x4a6afb=await NTQQUserApi[_0x46694f(0x9a)](),_0x36dcc1=_0x4e0328['oeTjL'](_0x4e0328[_0x46694f(0xaf)](_0x4e0328[_0x46694f(0xaf)](_0x46694f(0x10f),_0x3d9e1a)+_0x4e0328['btTwV'],_0x4a6afb)+_0x4e0328[_0x46694f(0xbe)],selfInfo['uin']);if(_0x4e0328[_0x46694f(0xb0)](!_0x4a6afb,!_0x3d9e1a))return _0xe74677;const _0x4167d5=WebApi['genBkn'](_0x4a6afb),_0x3367d9=[],_0x561dec=await RequestUtil[_0x46694f(0xf3)](_0x4e0328[_0x46694f(0x119)](_0x4e0328[_0x46694f(0x8f)](_0x4e0328[_0x46694f(0x6d)](_0x4e0328[_0x46694f(0xe4)],_0x186c01),_0x4e0328[_0x46694f(0xae)]),_0x4167d5),_0x46694f(0xf6),'',{'Cookie':_0x36dcc1});if(!_0x561dec?.[_0x46694f(0x83)]||_0x4e0328[_0x46694f(0xb3)](_0x561dec?.[_0x46694f(0xfc)],0x0)||!_0x561dec?.[_0x46694f(0xbd)])return[];else for(const _0x2bdfc7 in _0x561dec[_0x46694f(0xbd)]){_0xe74677['push'](_0x561dec[_0x46694f(0xbd)][_0x2bdfc7]);}const _0x5c0b87=Math[_0x46694f(0x11b)](_0x4e0328[_0x46694f(0xd5)](_0x561dec['count'],0x28));for(let _0x26e629=0x2;_0x26e629<=_0x5c0b87;_0x26e629++){const _0x1d1ea5=RequestUtil[_0x46694f(0xf3)](_0x4e0328[_0x46694f(0x6d)](_0x4e0328[_0x46694f(0x6d)](_0x4e0328[_0x46694f(0xaf)](_0x4e0328[_0x46694f(0xcd)](_0x4e0328[_0x46694f(0xb8)](_0x4e0328[_0x46694f(0xa5)],_0x4e0328[_0x46694f(0xf5)](_0x4e0328['HjXUT'](_0x26e629,0x1),0x28)),_0x4e0328[_0x46694f(0x6c)])+_0x4e0328[_0x46694f(0xc0)](_0x26e629,0x28),_0x4e0328[_0x46694f(0xc8)])+_0x186c01,_0x4e0328[_0x46694f(0xae)]),_0x4167d5),_0x4e0328[_0x46694f(0x89)],'',{'Cookie':_0x36dcc1});_0x3367d9['push'](_0x1d1ea5);}for(let _0x417079=0x1;_0x4e0328['BVOxP'](_0x417079,_0x5c0b87);_0x417079++){const _0x226c59=await _0x3367d9[_0x417079];if(!_0x226c59?.[_0x46694f(0x83)]||_0x4e0328[_0x46694f(0xb3)](_0x226c59?.[_0x46694f(0xfc)],0x0)||!_0x226c59?.[_0x46694f(0xbd)])continue;for(const _0x374c73 in _0x226c59[_0x46694f(0xbd)]){_0xe74677['push'](_0x226c59[_0x46694f(0xbd)][_0x374c73]);}}}catch{return _0xe74677;}return _0xe74677;}static async['setGroupNotice'](_0x17fbf5,_0x311cca=''){const _0xe9ea22=_0x2fbfa6,_0x43b5b8={'zdajg':_0xe9ea22(0xc6),'BzvnZ':function(_0xc60fdf,_0x179a38){return _0xc60fdf+_0x179a38;},'NobYk':function(_0x3643c8,_0x3691a7){return _0x3643c8+_0x3691a7;},'RscKk':function(_0x1ff9bb,_0x17fa26){return _0x1ff9bb+_0x17fa26;},'JtTik':_0xe9ea22(0x10f),'ffYjx':_0xe9ea22(0x7e),'oihbX':_0xe9ea22(0x85),'ttmEM':function(_0xe3db33,_0x27d474){return _0xe3db33||_0x27d474;},'lBgHx':function(_0x113c10,_0x189681){return _0x113c10+_0x189681;},'AFXpD':function(_0x12bd79,_0x56a545){return _0x12bd79+_0x56a545;},'LmtPJ':function(_0x481fd3,_0xa3a293){return _0x481fd3+_0xa3a293;},'cakfh':_0xe9ea22(0xef),'UmdCT':'&text=','dUoDQ':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','doHBr':function(_0x18e28b,_0x1df0a8){return _0x18e28b+_0x1df0a8;}},_0x3fb7e2=(await NTQQUserApi[_0xe9ea22(0x10e)]([_0x43b5b8['zdajg']]))[_0xe9ea22(0xd9)]['get'](_0x43b5b8[_0xe9ea22(0xa8)]),_0x55719f=await NTQQUserApi[_0xe9ea22(0x9a)](),_0x102d12=_0x43b5b8[_0xe9ea22(0x6e)](_0x43b5b8[_0xe9ea22(0xce)](_0x43b5b8[_0xe9ea22(0x79)](_0x43b5b8[_0xe9ea22(0x92)],_0x3fb7e2)+_0x43b5b8[_0xe9ea22(0x75)],_0x55719f)+_0x43b5b8[_0xe9ea22(0x8c)],selfInfo[_0xe9ea22(0x80)]);let _0x4ea881=undefined;if(_0x43b5b8[_0xe9ea22(0xe0)](!_0x55719f,!_0x3fb7e2))return undefined;const _0x3a8bd4=WebApi[_0xe9ea22(0xf1)](_0x55719f),_0x820114=_0x43b5b8[_0xe9ea22(0xce)](_0x43b5b8[_0xe9ea22(0xdb)](_0x43b5b8['AFXpD'](_0x43b5b8[_0xe9ea22(0xdd)]('qid=',_0x17fbf5),_0x43b5b8[_0xe9ea22(0xb4)])+_0x3a8bd4+_0x43b5b8[_0xe9ea22(0xcb)],_0x311cca),_0x43b5b8[_0xe9ea22(0x112)]),_0x4c4207=_0x43b5b8[_0xe9ea22(0xfa)]('https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=',_0x3a8bd4);try{return _0x4ea881=await RequestUtil[_0xe9ea22(0xf3)](_0x4c4207,_0xe9ea22(0x10d),'',{'Cookie':_0x102d12}),_0x4ea881;}catch(_0x1238af){return undefined;}return undefined;}static async[_0x2fbfa6(0x93)](_0x255d3a){const _0x5f553b=_0x2fbfa6,_0x58f93f={'otNHS':_0x5f553b(0xc6),'YgiHc':function(_0x6b8857,_0x328eea){return _0x6b8857+_0x328eea;},'UYJdk':function(_0x3ac57f,_0xacb265){return _0x3ac57f+_0xacb265;},'mRFtz':function(_0x49357c,_0xe0b36f){return _0x49357c+_0xe0b36f;},'wbqxL':_0x5f553b(0x10f),'fwmru':_0x5f553b(0x7e),'BSmZC':function(_0x44b692,_0x4ee3cb){return _0x44b692+_0x4ee3cb;},'DqfiG':'&qid=','wlNBB':_0x5f553b(0x10b),'GLDib':_0x5f553b(0x10d)},_0x5407e9=(await NTQQUserApi[_0x5f553b(0x10e)]([_0x58f93f[_0x5f553b(0x8e)]]))[_0x5f553b(0xd9)][_0x5f553b(0xd0)](_0x58f93f[_0x5f553b(0x8e)]),_0x41e38a=await NTQQUserApi[_0x5f553b(0x9a)](),_0x6a26b7=_0x58f93f['YgiHc'](_0x58f93f['YgiHc'](_0x58f93f[_0x5f553b(0xee)](_0x58f93f[_0x5f553b(0xee)](_0x58f93f[_0x5f553b(0x6a)](_0x58f93f[_0x5f553b(0xf4)],_0x5407e9),_0x58f93f[_0x5f553b(0x7d)]),_0x41e38a),_0x5f553b(0x85)),selfInfo[_0x5f553b(0x80)]);let _0x1cba02=undefined;if(!_0x41e38a||!_0x5407e9)return undefined;const _0x40156d=WebApi[_0x5f553b(0xf1)](_0x41e38a),_0x5ba41a=_0x58f93f[_0x5f553b(0xee)](_0x58f93f[_0x5f553b(0xb7)](_0x58f93f[_0x5f553b(0x6a)](_0x58f93f[_0x5f553b(0xed)](_0x5f553b(0x116),_0x40156d),_0x58f93f[_0x5f553b(0x6b)]),_0x255d3a),_0x58f93f[_0x5f553b(0xd4)]);try{_0x1cba02=await RequestUtil['HttpGetJson'](_0x5ba41a,_0x58f93f[_0x5f553b(0xe8)],'',{'Cookie':_0x6a26b7});if(_0x1cba02?.['ec']!==0x0)return undefined;return _0x1cba02;}catch(_0xbdc856){return undefined;}return undefined;}static[_0x2fbfa6(0xf1)](_0x440e85){const _0x367546=_0x2fbfa6,_0x413511={'DCCJn':function(_0x263c90,_0x2e3e36){return _0x263c90<_0x2e3e36;},'pAtZj':function(_0xf604ac,_0x68ae58){return _0xf604ac+_0x68ae58;},'CTHQN':function(_0x55e21c,_0x113f9b){return _0x55e21c+_0x113f9b;},'tKNNk':function(_0xb032d1,_0x32ef90){return _0xb032d1<<_0x32ef90;},'VstMo':function(_0x38c5cb,_0x59e998){return _0x38c5cb&_0x59e998;}};_0x440e85=_0x440e85||'';let _0xfa2bab=0x1505;for(let _0x1c1e8e=0x0;_0x413511[_0x367546(0xe3)](_0x1c1e8e,_0x440e85[_0x367546(0x107)]);_0x1c1e8e++){const _0x3e8f2a=_0x440e85[_0x367546(0xfb)](_0x1c1e8e);_0xfa2bab=_0x413511[_0x367546(0xa2)](_0x413511['CTHQN'](_0xfa2bab,_0x413511['tKNNk'](_0xfa2bab,0x5)),_0x3e8f2a);}return _0x413511[_0x367546(0xea)](_0xfa2bab,0x7fffffff)[_0x367546(0xd2)]();}static async['getGroupHonorInfo'](_0x55f890,_0x3647dd){const _0x2f3275=_0x2fbfa6,_0x4c06fd={'KbgDb':function(_0x202cab,_0x2042bd){return _0x202cab+_0x2042bd;},'gcBgC':_0x2f3275(0xab),'DcNar':_0x2f3275(0x10d),'ctSQE':function(_0x57d1f8,_0x516302){return _0x57d1f8===_0x516302;},'WbqAG':function(_0x262706,_0x2fe0ac,_0x5157cc,_0x27a4f4){return _0x262706(_0x2fe0ac,_0x5157cc,_0x27a4f4);},'bhjPg':_0x2f3275(0xa0),'aRSuY':_0x2f3275(0xc6),'fEYSB':function(_0x13a2f2,_0x243aec){return _0x13a2f2||_0x243aec;},'GZQLM':function(_0x375425,_0x5b8111){return _0x375425+_0x5b8111;},'lJYoP':function(_0x52709b,_0x1bb29f){return _0x52709b+_0x1bb29f;},'bYkkM':function(_0x3da7b2,_0x13db18){return _0x3da7b2+_0x13db18;},'cCDcA':_0x2f3275(0x10f),'WlLgV':_0x2f3275(0x85),'GtJEn':_0x2f3275(0x7b),'AVsuy':function(_0x368a84,_0x445495,_0x1ca50a){return _0x368a84(_0x445495,_0x1ca50a);},'izlZc':function(_0x1d44ba,_0x4bf3ff){return _0x1d44ba===_0x4bf3ff;},'RhHVy':function(_0x114c52,_0x41091c,_0x4b5c93){return _0x114c52(_0x41091c,_0x4b5c93);},'hOfCV':_0x2f3275(0xc5),'rOzsq':function(_0xe4178f,_0x277dc6,_0x4a3cbd){return _0xe4178f(_0x277dc6,_0x4a3cbd);},'wUnDf':function(_0x4f9fe9,_0xb5b711){return _0x4f9fe9===_0xb5b711;},'Melet':'获取快乐源泉失败','zPzSJ':function(_0x43161c,_0x46ff9b,_0x282ee1){return _0x43161c(_0x46ff9b,_0x282ee1);}},_0x4b1fee=(await NTQQUserApi[_0x2f3275(0x10e)]([_0x2f3275(0xc6)]))[_0x2f3275(0xd9)][_0x2f3275(0xd0)](_0x4c06fd[_0x2f3275(0x9c)]),_0x5ed719=await NTQQUserApi[_0x2f3275(0x9a)]();if(_0x4c06fd['fEYSB'](!_0x5ed719,!_0x4b1fee))return undefined;async function _0x143e1d(_0x223334,_0x301ab7){const _0x3cfae4=_0x2f3275;let _0xbcbb78=_0x4c06fd[_0x3cfae4(0x115)](_0x4c06fd['KbgDb'](_0x4c06fd[_0x3cfae4(0x96)],_0x223334)+_0x3cfae4(0x113),_0x301ab7[_0x3cfae4(0xd2)]()),_0x1d9235='',_0xd21152;try{_0x1d9235=await RequestUtil['HttpGetText'](_0xbcbb78,_0x4c06fd['DcNar'],'',{'Cookie':_0x407022});const _0x5a1332=_0x1d9235['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0x5a1332&&(_0xd21152=JSON[_0x3cfae4(0x111)](_0x5a1332[0x1][_0x3cfae4(0x94)]())),_0x4c06fd['ctSQE'](_0x301ab7,0x1)?_0xd21152?.[_0x3cfae4(0x104)]:_0xd21152?.[_0x3cfae4(0x78)];}catch(_0x4c4ba8){_0x4c06fd[_0x3cfae4(0xe1)](logDebug,_0x4c06fd[_0x3cfae4(0x10a)],_0xbcbb78,_0x4c4ba8);}return undefined;}let _0x70cb76={'group_id':_0x55f890};const _0x407022=_0x4c06fd[_0x2f3275(0x115)](_0x4c06fd[_0x2f3275(0x9f)](_0x4c06fd[_0x2f3275(0x115)](_0x4c06fd[_0x2f3275(0xd8)](_0x4c06fd[_0x2f3275(0xd8)](_0x4c06fd['bYkkM'](_0x4c06fd[_0x2f3275(0xbb)],_0x4b1fee),';\x20skey='),_0x5ed719),_0x4c06fd[_0x2f3275(0xd1)])+selfInfo['uin'],_0x4c06fd[_0x2f3275(0x11c)]),selfInfo[_0x2f3275(0x80)]);if(_0x3647dd===WebHonorType[_0x2f3275(0xff)]||_0x3647dd===WebHonorType[_0x2f3275(0xcc)])try{let _0x335da7=await _0x143e1d(_0x55f890,0x1);if(!_0x335da7)throw new Error(_0x2f3275(0x105));_0x70cb76[_0x2f3275(0x86)]={'user_id':_0x335da7[0x0]?.[_0x2f3275(0x80)],'avatar':_0x335da7[0x0]?.['avatar'],'nickname':_0x335da7[0x0]?.[_0x2f3275(0xeb)],'day_count':0x0,'description':_0x335da7[0x0]?.['desc']},_0x70cb76[_0x2f3275(0xbf)]=[];for(const _0x4ae123 of _0x335da7){_0x70cb76[_0x2f3275(0xbf)][_0x2f3275(0x101)]({'user_id':_0x4ae123?.[_0x2f3275(0x80)],'avatar':_0x4ae123?.[_0x2f3275(0x72)],'description':_0x4ae123?.['desc'],'day_count':0x0,'nickname':_0x4ae123?.[_0x2f3275(0xeb)]});}}catch(_0x2d707f){logDebug(_0x2d707f);}if(_0x3647dd===WebHonorType[_0x2f3275(0x103)]||_0x4c06fd[_0x2f3275(0xa7)](_0x3647dd,WebHonorType['ALL']))try{let _0x28d219=await _0x4c06fd['AVsuy'](_0x143e1d,_0x55f890,0x2);if(!_0x28d219)throw new Error(_0x2f3275(0x8a));_0x70cb76['performer_list']=[];for(const _0x557e7f of _0x28d219){_0x70cb76['performer_list']['push']({'user_id':_0x557e7f?.[_0x2f3275(0x80)],'nickname':_0x557e7f?.['name'],'avatar':_0x557e7f?.[_0x2f3275(0x72)],'description':_0x557e7f?.[_0x2f3275(0xc3)]});}}catch(_0x2d3314){logDebug(_0x2d3314);}if(_0x4c06fd['ctSQE'](_0x3647dd,WebHonorType[_0x2f3275(0x103)])||_0x4c06fd['izlZc'](_0x3647dd,WebHonorType[_0x2f3275(0xcc)]))try{let _0x49891a=await _0x4c06fd[_0x2f3275(0x114)](_0x143e1d,_0x55f890,0x3);if(!_0x49891a)throw new Error(_0x4c06fd['hOfCV']);_0x70cb76['legend_list']=[];for(const _0x1ff7dd of _0x49891a){_0x70cb76['legend_list'][_0x2f3275(0x101)]({'user_id':_0x1ff7dd?.['uin'],'nickname':_0x1ff7dd?.[_0x2f3275(0xeb)],'avatar':_0x1ff7dd?.[_0x2f3275(0x72)],'desc':_0x1ff7dd?.[_0x2f3275(0x7a)]});}}catch(_0x1ed5c1){_0x4c06fd[_0x2f3275(0xe2)](logDebug,_0x4c06fd[_0x2f3275(0x7c)],_0x1ed5c1);}if(_0x4c06fd[_0x2f3275(0x81)](_0x3647dd,WebHonorType['EMOTION'])||_0x3647dd===WebHonorType[_0x2f3275(0xcc)])try{let _0x37cb05=await _0x143e1d(_0x55f890,0x6);if(!_0x37cb05)throw new Error(_0x4c06fd[_0x2f3275(0xc1)]);_0x70cb76[_0x2f3275(0xd3)]=[];for(const _0x516613 of _0x37cb05){_0x70cb76[_0x2f3275(0xd3)][_0x2f3275(0x101)]({'user_id':_0x516613?.[_0x2f3275(0x80)],'nickname':_0x516613?.[_0x2f3275(0xeb)],'avatar':_0x516613?.['avatar'],'desc':_0x516613?.['description']});}}catch(_0x3c295d){_0x4c06fd[_0x2f3275(0x108)](logDebug,_0x4c06fd[_0x2f3275(0xc1)],_0x3c295d);}return(_0x3647dd===WebHonorType[_0x2f3275(0xac)]||_0x4c06fd[_0x2f3275(0x81)](_0x3647dd,WebHonorType[_0x2f3275(0xcc)]))&&(_0x70cb76[_0x2f3275(0x9b)]=[]),_0x70cb76;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x2fbfa6(0xec))],WebApi,_0x2fbfa6(0x9e),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x2fbfa6(0xec))],WebApi,_0x2fbfa6(0x88),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x2fbfa6(0x118))],WebApi,_0x2fbfa6(0x100),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 48febc842..cc4634cb5 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x6b221c=_0x242d;function _0x242d(_0x158835,_0x27af1f){const _0x3b3b46=_0x3b3b();return _0x242d=function(_0x242de1,_0xcac24c){_0x242de1=_0x242de1-0xc4;let _0x3d65d6=_0x3b3b46[_0x242de1];return _0x3d65d6;},_0x242d(_0x158835,_0x27af1f);}(function(_0x226c36,_0x25a963){const _0x1d37e5=_0x242d,_0x3de561=_0x226c36();while(!![]){try{const _0x5e5d50=-parseInt(_0x1d37e5(0x145))/0x1+parseInt(_0x1d37e5(0x12a))/0x2*(-parseInt(_0x1d37e5(0xd1))/0x3)+parseInt(_0x1d37e5(0x11f))/0x4+-parseInt(_0x1d37e5(0xf6))/0x5+parseInt(_0x1d37e5(0xcc))/0x6+-parseInt(_0x1d37e5(0xda))/0x7*(-parseInt(_0x1d37e5(0xc6))/0x8)+parseInt(_0x1d37e5(0x162))/0x9;if(_0x5e5d50===_0x25a963)break;else _0x3de561['push'](_0x3de561['shift']());}catch(_0x3eeb7e){_0x3de561['push'](_0x3de561['shift']());}}}(_0x3b3b,0x8c68c));import _0x4d181f from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x212b69 from'node:path';import _0x55afc4 from'node:os';import _0x5e2c56 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';function _0x3b3b(){const _0x846b83=['HnbBI','qrLogin','onMemberInfoChange','hpuJR','NodeIDispatcherAdapter','onQRCodeSessionFailed','vtRmY','dataPath','initSession','dOsFI','vLFsx','\x20has\x20no\x20method\x20','isQuickLogin','OWRUM','quickLoginWithUin','forEach','init','getBuddyService','packet_received','startNT','1654948FoEdNC','quickLogin','fileLogLevel','tipsDesc','infos','WJLdJ','pngBase64QrcodeData','teyWb','cLJWr','proxyHandler','packet_sent','10kORvsk','getNTUserDataInfoConfig','createHash','CyQuy','快速登录不可用','initConfig','ALCAB','consoleLogLevel','IveNd','devUid','getLoginList','getGroupService','addKernelProfileListener','push','has','Wzvpf','groupCode','undefined','split','NodeIKernelGroupListener','./nt_qq/global','getQuickLoginList','addListener','getNextMemberList','Mjrgp','登录失败(onLoginFailed)','QhdyP','949694guBuET','addKernelGroupListener','LxEER','dataPathGlobal','digest',')已登录,无法重复登录','ProfileListener','now','loginErrorInfo','MRqlO','loginListener','tipsTitle','NodeIQQNTWrapperSession','NodeIKernelSessionListener','viNAn','name','onAddSendMsg','当前账号(','onRecvMsg','140022013','_GW_B','onQRCodeLoginSucceed','message_received','NodeIQQNTWrapperEngine','JkSSZ','没有可快速登录的QQ号','GroupListener','onRecvSysMsg','addKernelBuddyListener','6509250hQmhzU','mkdirSync','curVersion','PTQvl','errMsg','isDelete','onLineDev','BuddyListener','ZurVz','session','onLoginFailed','sceneId','gvUva','fileLog','uMvuH','NodeIKernelLoginService','last_message_time','NodeIKernelBuddyListener','initSession\x20failed','initDataListener','assign','then','nekGW','8hZcvjY','getQRCodePicture','uin','账号设备(','from','memberCount','3896844qWzJdL','clientType','resolve','read','TnxSi','29895uRZVEL','./NapCat/data','Windows\x2010\x20Pro','catch','uid','onProfileDetailInfoChanged','yhNju',')\x20在线状态变更','loginService','3472203bPQgEF','floor','onGroupListUpdate','nuAqK','waCRh','KMfCE','data:image/png;base64,','登录失败(onQRCodeSessionFailed)','Ypbdu','MsgListener','onLoginSuccessFuncList','base64','map','find','本账号数据/缓存目录:','rfeFd','set','lZrkQ','replace','iSXlC','util','CalBQ','buddyList','NodeQQNTWrapperUtil','QiRDQ','PJKNU','passwordLogin','getMsgService','3539275RcGHMS','NodeIKernelProfileListener','grpYj','PNrwF','message_sent','result','init\x20failed\x20','快速登录失败\x20','groupMemberList_MainWindow','qrcodeUrl','zmsDo','NQIjV','md5','ZwruN','WidoM','stringify','hRtQG','get','ALdBx','trVWH','engine'];_0x3b3b=function(){return _0x846b83;};return _0x3b3b();}import{sleep}from'@/common/utils/helper';import _0x1ee1f6 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x6b221c(0x16b)];['util'];[_0x6b221c(0x10a)];[_0x6b221c(0x14f)];[_0x6b221c(0xd9)];[_0x6b221c(0xe4)]=[];[_0x6b221c(0x128)]={'get'(target,prop,receiver){const _0x4a5e89=_0x6b221c,EzpIsi={'anmAQ':function(x,y){return x===y;},'yhNju':_0x4a5e89(0x13b)};if(EzpIsi['anmAQ'](typeof target[prop],EzpIsi[_0x4a5e89(0xd7)]))return(...args)=>{const _0x473b2b=_0x4a5e89;logDebug(target['constructor'][_0x473b2b(0x154)]+_0x473b2b(0x116)+prop);};return Reflect[_0x4a5e89(0x107)](target,prop,receiver);}};constructor(){const _0x5f040d=_0x6b221c,_0xe6978f={'vLFsx':_0x5f040d(0x14a),'PNrwF':function(_0x1561af,_0x3c7a47,_0x207a8d){return _0x1561af(_0x3c7a47,_0x207a8d);},'trVWH':_0x5f040d(0x174),'JkSSZ':'数据库初始化失败','dOsFI':function(_0x13d0cf,_0x4f861e){return _0x13d0cf instanceof _0x4f861e;},'SmagM':function(_0x2effcd,_0x431713){return _0x2effcd(_0x431713);},'PJKNU':function(_0x24df64,_0x2a5841){return _0x24df64(_0x2a5841);},'Mjrgp':_0x5f040d(0xe8),'KMfCE':function(_0xfdeb00,_0x571d1d,_0x353b45){return _0xfdeb00(_0x571d1d,_0x353b45);},'eQRlo':_0x5f040d(0xe1),'Wzvpf':function(_0x2dde13,_0x1af7c1){return _0x2dde13==_0x1af7c1;},'MMekc':_0x5f040d(0x143)};this['engine']=new _0x4d181f[(_0x5f040d(0x15c))](),this[_0x5f040d(0xee)]=new _0x4d181f[(_0x5f040d(0xf1))](),this[_0x5f040d(0xd9)]=new _0x4d181f[(_0x5f040d(0x171))](),this['session']=new _0x4d181f[(_0x5f040d(0x151))](),this[_0x5f040d(0x14f)]=new LoginListener(),this[_0x5f040d(0x14f)]['onUserLoggedIn']=_0x5ebbcb=>{const _0x5d5235=_0x5f040d;logError(_0x5d5235(0x156)+_0x5ebbcb+_0xe6978f[_0x5d5235(0x115)]);},this[_0x5f040d(0x12f)](),this[_0x5f040d(0x14f)][_0x5f040d(0x15a)]=_0x5d7fc6=>{const _0x5e8382=_0x5f040d,_0x25b806={'lZrkQ':function(_0x277991,_0x4bdaf5,_0x104088){return _0xe6978f['PNrwF'](_0x277991,_0x4bdaf5,_0x104088);},'KhNph':_0xe6978f[_0x5e8382(0x15d)],'CyQuy':function(_0x220c9a,_0x20ad91){const _0x1abad2=_0x5e8382;return _0xe6978f[_0x1abad2(0x114)](_0x220c9a,_0x20ad91);},'bvhef':function(_0x5a844a,_0x5a06d2){return _0xe6978f['SmagM'](_0x5a844a,_0x5a06d2);},'upvny':function(_0x4ef96a,_0xf274bb){const _0x15f69d=_0x5e8382;return _0xe6978f[_0x15f69d(0xf3)](_0x4ef96a,_0xf274bb);},'nuAqK':_0x5e8382(0xd2),'ALCAB':_0xe6978f[_0x5e8382(0x142)]};this[_0x5e8382(0x113)](_0x5d7fc6['uin'],_0x5d7fc6[_0x5e8382(0xd5)])[_0x5e8382(0xc4)](_0x39251a=>{const _0x14a5e1=_0x5e8382,_0x106944={'cLJWr':function(_0x30579f,_0x2576a2,_0x207a04){const _0x102bc4=_0x242d;return _0x25b806[_0x102bc4(0xeb)](_0x30579f,_0x2576a2,_0x207a04);},'LxEER':function(_0x25f744,_0x2b5759){const _0x5d774e=_0x242d;return _0x25b806[_0x5d774e(0x12d)](_0x25f744,_0x2b5759);}};selfInfo[_0x14a5e1(0xc8)]=_0x5d7fc6[_0x14a5e1(0xc8)],selfInfo[_0x14a5e1(0xd5)]=_0x5d7fc6[_0x14a5e1(0xd5)],napCatConfig[_0x14a5e1(0xcf)](),_0x25b806[_0x14a5e1(0xeb)](setLogLevel,napCatConfig[_0x14a5e1(0x121)],napCatConfig[_0x14a5e1(0x131)]),_0x25b806['bvhef'](enableFileLog,napCatConfig[_0x14a5e1(0x16f)]),_0x25b806['upvny'](enableConsoleLog,napCatConfig['consoleLog']),_0x25b806['bvhef'](setLogSelfInfo,selfInfo);const _0x23ecf0=_0x212b69[_0x14a5e1(0xce)](this['dataPath'],_0x25b806[_0x14a5e1(0xdd)]);_0x5e2c56[_0x14a5e1(0x163)](_0x23ecf0,{'recursive':!![]}),_0x25b806[_0x14a5e1(0xeb)](logDebug,_0x25b806[_0x14a5e1(0x130)],_0x23ecf0),dbUtil['init'](_0x212b69[_0x14a5e1(0xce)](_0x23ecf0,'./'+_0x5d7fc6[_0x14a5e1(0xc8)]+'-v2.db'))['then'](()=>{const _0x3561a1=_0x14a5e1,_0x57f0ce={'teyWb':function(_0x48220d,_0x6f22c4,_0x2dfd0d){const _0x177ef7=_0x242d;return _0x106944[_0x177ef7(0x127)](_0x48220d,_0x6f22c4,_0x2dfd0d);},'ZwruN':function(_0xba9748,_0x307d07){const _0x50c3d9=_0x242d;return _0x106944[_0x50c3d9(0x147)](_0xba9748,_0x307d07);}};this[_0x3561a1(0x175)](),this[_0x3561a1(0xe4)]['map'](_0x4fd78c=>{const _0x30398d=_0x3561a1;new Promise((_0xe36831,_0x3d6afe)=>{const _0x15ec50=_0x242d,_0x32da7f=_0x57f0ce[_0x15ec50(0x126)](_0x4fd78c,_0x5d7fc6[_0x15ec50(0xc8)],_0x5d7fc6[_0x15ec50(0xd5)]);_0x57f0ce[_0x15ec50(0x103)](_0x32da7f,Promise)&&_0x32da7f['then'](_0xe36831)[_0x15ec50(0xd4)](_0x3d6afe);})[_0x30398d(0xc4)]();});})[_0x14a5e1(0xd4)](_0x4f6f13=>{const _0x3f5b01=_0x14a5e1;_0x25b806[_0x3f5b01(0xeb)](logError,_0x25b806['KhNph'],_0x4f6f13);});})['catch'](_0x451d4b=>{const _0x374604=_0x5e8382;_0xe6978f[_0x374604(0xf9)](logError,_0xe6978f[_0x374604(0x109)],_0x451d4b);throw new Error('启动失败:\x20'+JSON[_0x374604(0x105)](_0x451d4b));});},this[_0x5f040d(0x14f)][_0x5f040d(0x110)]=(_0x5a9b01,_0x34f31f,_0xd272bd)=>{const _0x10f55c=_0x5f040d;_0xe6978f[_0x10f55c(0xdf)](logError,_0xe6978f['eQRlo'],_0xd272bd),_0x5a9b01==0x1&&_0xe6978f[_0x10f55c(0x139)](_0x34f31f,0x3)&&this['loginService'][_0x10f55c(0xc7)]();},this['loginListener'][_0x5f040d(0x16c)]=_0x595aa0=>{const _0x39af94=_0x5f040d;_0xe6978f[_0x39af94(0xf9)](logError,_0xe6978f['MMekc'],_0x595aa0);},this[_0x5f040d(0x14f)]=new Proxy(this[_0x5f040d(0x14f)],this[_0x5f040d(0x128)]),this[_0x5f040d(0xd9)]['addKernelLoginListener'](new _0x4d181f['NodeIKernelLoginListener'](this[_0x5f040d(0x14f)]));}get[_0x6b221c(0x112)](){const _0x406960=_0x6b221c,_0x4af767={'NQIjV':'./.config/QQ'};let _0x51375c=this[_0x406960(0xee)][_0x406960(0x12b)]();return!_0x51375c&&(_0x51375c=_0x212b69[_0x406960(0xce)](_0x55afc4['homedir'](),_0x4af767[_0x406960(0x101)]),_0x5e2c56['mkdirSync'](_0x51375c,{'recursive':!![]})),_0x51375c;}get['dataPathGlobal'](){const _0x412ed7=_0x6b221c,_0x1ac21d={'zmsDo':_0x412ed7(0x13e)};return _0x212b69['resolve'](this[_0x412ed7(0x112)],_0x1ac21d[_0x412ed7(0x100)]);}[_0x6b221c(0x12f)](){const _0x124f6b=_0x6b221c,_0x4d38e6={'MRqlO':_0x124f6b(0xd3)};this[_0x124f6b(0x10a)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x124f6b(0x164)],'os_version':_0x4d38e6[_0x124f6b(0x14e)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x124f6b(0x164)][_0x124f6b(0xec)]('-','_')+_0x124f6b(0x159),'global_path_config':{'desktopGlobalPath':this[_0x124f6b(0x148)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4d181f['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x124f6b(0x148)],'clientVer':qqVersionConfigInfo[_0x124f6b(0x164)],'hostName':hostname});}[_0x6b221c(0x113)](_0x1fe2fa,_0x1182b1){const _0x36c597={'IveNd':function(_0x4cb543,_0x1cda08){return _0x4cb543(_0x1cda08);},'WJLdJ':function(_0x382100,_0x33bc13,_0x8ed3d3,_0x16c0cc){return _0x382100(_0x33bc13,_0x8ed3d3,_0x16c0cc);},'WidoM':function(_0x1afca9,_0x370ab4){return _0x1afca9+_0x370ab4;}};return new Promise(async(_0x15d3ba,_0x20afe6)=>{const _0xf55f97=_0x242d,_0x110297={'ZurVz':function(_0x52158e,_0x5ae0e6){return _0x52158e===_0x5ae0e6;},'Ypbdu':function(_0xc29ef7,_0xf2b00){const _0x490226=_0x242d;return _0x36c597[_0x490226(0x132)](_0xc29ef7,_0xf2b00);}},_0x5139be=await _0x36c597[_0xf55f97(0x124)](genSessionConfig,_0x1fe2fa,_0x1182b1,this[_0xf55f97(0x112)]),_0xe0d369=new SessionListener();_0xe0d369['onSessionInitComplete']=_0x210c7b=>{const _0x4c8159=_0xf55f97;if(_0x110297[_0x4c8159(0x16a)](_0x210c7b,0x0))return _0x15d3ba(0x0);_0x110297[_0x4c8159(0xe2)](_0x20afe6,_0x210c7b);},this[_0xf55f97(0x16b)][_0xf55f97(0x11b)](_0x5139be,new _0x4d181f['NodeIDependsAdapter'](new DependsAdapter()),new _0x4d181f[(_0xf55f97(0x10f))](new DispatcherAdapter()),new _0x4d181f[(_0xf55f97(0x152))](_0xe0d369));try{this[_0xf55f97(0x16b)][_0xf55f97(0x11e)](0x0);}catch(_0x2da01e){try{this['session'][_0xf55f97(0x11e)]();}catch(_0x2576d4){_0x20afe6(_0x36c597[_0xf55f97(0x104)](_0xf55f97(0xfc),_0x2576d4));}}});}[_0x6b221c(0x175)](){const _0x5aaeab=_0x6b221c,_0x6906a6={'rfeFd':function(_0x3be6ff,_0x37ae2e){return _0x3be6ff(_0x37ae2e);},'drymS':_0x5aaeab(0xd8),'pFgHG':function(_0x47448c,_0x558977){return _0x47448c(_0x558977);},'QtQum':function(_0xe8faf2,_0x7f82d0){return _0xe8faf2+_0x7f82d0;},'SKtzD':function(_0xf6aa8,_0x29c053){return _0xf6aa8/_0x29c053;},'iSXlC':function(_0x389947,_0x31e9f9){return _0x389947===_0x31e9f9;},'QhdyP':_0x5aaeab(0xfe),'RMLyQ':function(_0x2c8ca3,_0x895a54,_0x28d817){return _0x2c8ca3(_0x895a54,_0x28d817);}},_0x460a6c=new MsgListener();_0x460a6c[_0x5aaeab(0x168)]=_0x1b2d07=>{const _0x35ac2e=_0x5aaeab,_0x4482ce={'hpuJR':function(_0x39a81a,_0x6d6efb){const _0x54ef84=_0x242d;return _0x6906a6[_0x54ef84(0xe9)](_0x39a81a,_0x6d6efb);},'hKyAX':function(_0x3bad19,_0x4c3f82){return _0x3bad19+_0x4c3f82;},'uMvuH':_0x6906a6['drymS']};_0x1b2d07[_0x35ac2e(0xe6)](_0x4c9312=>{const _0x45862c=_0x35ac2e;_0x4c9312[_0x45862c(0xcd)]===0x2&&_0x4482ce[_0x45862c(0x10e)](log,_0x4482ce['hKyAX'](_0x45862c(0xc9)+_0x4c9312[_0x45862c(0x133)],_0x4482ce[_0x45862c(0x170)]));});},_0x460a6c['onKickedOffLine']=_0xddca38=>{const _0x3b5b1f=_0x5aaeab;_0x6906a6['pFgHG'](log,_0x6906a6['QtQum']('[KickedOffLine]\x20[',_0xddca38[_0x3b5b1f(0x150)])+']\x20'+_0xddca38[_0x3b5b1f(0x122)]);},_0x460a6c[_0x5aaeab(0x155)]=_0x20f6bf=>{const _0x407c86=_0x5aaeab;stat[_0x407c86(0x129)]+=0x1,stat[_0x407c86(0xfa)]+=0x1,stat[_0x407c86(0x172)]=Math[_0x407c86(0xdb)](_0x6906a6['SKtzD'](Date[_0x407c86(0x14c)](),0x3e8));},_0x460a6c[_0x5aaeab(0x157)]=_0x14e079=>{const _0x44d742=_0x5aaeab;stat[_0x44d742(0x11d)]+=0x1,stat[_0x44d742(0x15b)]+=_0x14e079['length'],stat[_0x44d742(0x172)]=Math[_0x44d742(0xdb)](Date['now']()/0x3e8);},_0x460a6c[_0x5aaeab(0x160)]=(..._0x2bca1f)=>{const _0x1b9bf8=_0x5aaeab;stat[_0x1b9bf8(0x11d)]+=0x1;},this['addListener'](_0x460a6c);const _0x5e4c2b=new BuddyListener();_0x5e4c2b['onBuddyListChange']=_0x3ae2b5=>{const _0x5e070f=_0x5aaeab;rawFriends['length']=0x0,rawFriends[_0x5e070f(0x137)](..._0x3ae2b5);for(const _0x593c42 of _0x3ae2b5){for(const _0x30e44d of _0x593c42[_0x5e070f(0xf0)]){const _0x45dc61=friends[_0x5e070f(0x107)](_0x30e44d['uid']);_0x45dc61?Object['assign'](_0x45dc61,_0x30e44d):friends[_0x5e070f(0xea)](_0x30e44d[_0x5e070f(0xd5)],_0x30e44d);}}},this[_0x5aaeab(0x140)](_0x5e4c2b),this[_0x5aaeab(0x16b)][_0x5aaeab(0x11c)]()['getBuddyList'](!![])[_0x5aaeab(0xc4)](_0xbd2242=>{});const _0x621367=new ProfileListener();_0x621367[_0x5aaeab(0xd6)]=_0x48f651=>{const _0x40e11f=_0x5aaeab;_0x6906a6[_0x40e11f(0xed)](_0x48f651[_0x40e11f(0xd5)],selfInfo[_0x40e11f(0xd5)])&&Object[_0x40e11f(0x176)](selfInfo,_0x48f651);},_0x621367['onSelfStatusChanged']=_0x2a70c9=>{},this[_0x5aaeab(0x140)](_0x621367);const _0x34aab9=new GroupListener();_0x34aab9[_0x5aaeab(0xdc)]=(_0x2c8e96,_0x4364c8)=>{_0x4364c8['map'](_0x1069f9=>{const _0x29dcff=_0x242d,_0x47712e=groups[_0x29dcff(0x107)](_0x1069f9['groupCode']);_0x47712e&&_0x6906a6[_0x29dcff(0xed)](_0x1069f9[_0x29dcff(0xcb)],_0x47712e[_0x29dcff(0xcb)])?Object['assign'](_0x47712e,_0x1069f9):groups[_0x29dcff(0xea)](_0x1069f9[_0x29dcff(0x13a)],_0x1069f9);const _0x74585d=this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()['createMemberListScene'](_0x1069f9['groupCode'],_0x6906a6[_0x29dcff(0x144)]);this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()[_0x29dcff(0x141)](_0x74585d,undefined,0xbb8)[_0x29dcff(0xc4)](_0x1fb2ba=>{});});},_0x34aab9['onMemberListChange']=_0x593d87=>{const _0x4019a9=_0x5aaeab,_0x7a32bf=_0x593d87[_0x4019a9(0x16d)][_0x4019a9(0x13c)]('_')[0x0];if(groupMembers[_0x4019a9(0x138)](_0x7a32bf)){const _0x1a8e3c=groupMembers[_0x4019a9(0x107)](_0x7a32bf);_0x593d87['infos'][_0x4019a9(0x11a)]((_0x2163b2,_0x38cadd)=>{const _0x33514c=_0x4019a9,_0x2af4c9=_0x1a8e3c[_0x33514c(0x107)](_0x38cadd);_0x2af4c9?Object[_0x33514c(0x176)](_0x2af4c9,_0x2163b2):_0x1a8e3c[_0x33514c(0xea)](_0x38cadd,_0x2163b2);});}else groupMembers['set'](_0x7a32bf,_0x593d87[_0x4019a9(0x123)]);},_0x34aab9[_0x5aaeab(0x10d)]=(_0x19da14,_0x335bff,_0x4efedd)=>{const _0x558936=_0x5aaeab;_0x335bff===0x0&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])?.[_0x558936(0x167)]&&_0x6906a6['RMLyQ'](setTimeout,()=>{groups['delete'](_0x19da14);},0x1388);const _0x42a2ad=groupMembers['get'](_0x19da14);_0x42a2ad?_0x4efedd['forEach']((_0x2f19fe,_0x5393cf)=>{const _0x5eeec5=_0x558936,_0x453cf3=_0x42a2ad[_0x5eeec5(0x107)](_0x5393cf);_0x453cf3?Object[_0x5eeec5(0x176)](_0x453cf3,_0x2f19fe):_0x42a2ad[_0x5eeec5(0xea)](_0x5393cf,_0x2f19fe);}):groupMembers[_0x558936(0xea)](_0x19da14,_0x4efedd);},this['addListener'](_0x34aab9);}[_0x6b221c(0x140)](_0xed1c11){const _0x5b696b=_0x6b221c,_0x565b73={'cxzdZ':_0x5b696b(0x169),'gvUva':_0x5b696b(0xe3),'viNAn':_0x5b696b(0x14b)};_0xed1c11=new Proxy(_0xed1c11,this[_0x5b696b(0x128)]);switch(_0xed1c11['constructor']['name']){case _0x565b73['cxzdZ']:{return this[_0x5b696b(0x16b)]['getBuddyService']()[_0x5b696b(0x161)](new _0x4d181f[(_0x5b696b(0x173))](_0xed1c11));}case _0x5b696b(0x15f):{return this[_0x5b696b(0x16b)]['getGroupService']()[_0x5b696b(0x146)](new _0x4d181f[(_0x5b696b(0x13d))](_0xed1c11));}case _0x565b73[_0x5b696b(0x16e)]:{return this['session'][_0x5b696b(0xf5)]()['addKernelMsgListener'](new _0x4d181f['NodeIKernelMsgListener'](_0xed1c11));}case _0x565b73[_0x5b696b(0x153)]:{return this['session']['getProfileService']()[_0x5b696b(0x136)](new _0x4d181f[(_0x5b696b(0xf7))](_0xed1c11));}default:return-0x1;}}['onLoginSuccess'](_0x3f52ce){const _0x58e58b=_0x6b221c;NTEventDispatch[_0x58e58b(0x11b)]({'ListenerMap':_0x4d181f,'WrapperSession':this[_0x58e58b(0x16b)]}),this[_0x58e58b(0xe4)][_0x58e58b(0x137)](_0x3f52ce);}async[_0x6b221c(0x120)](_0x1f5787){const _0x52d521=_0x6b221c,_0x174496={'CalBQ':function(_0x578775,_0x8103af){return _0x578775!==_0x8103af;},'TnxSi':_0x52d521(0x15e),'vtRmY':function(_0xb8cea9,_0xc9cce5){return _0xb8cea9(_0xc9cce5);},'ysyiG':function(_0x2e9ea8,_0x1dc260){return _0x2e9ea8+_0x1dc260;},'WrdNl':_0x52d521(0xfd)},_0x32d12b=await this[_0x52d521(0xd9)]['getLoginList']();if(_0x174496[_0x52d521(0xef)](_0x32d12b[_0x52d521(0xfb)],0x0))throw new Error(_0x174496[_0x52d521(0xd0)]);const _0x31cc88=_0x32d12b['LocalLoginInfoList'][_0x52d521(0xe7)](_0x825e26=>_0x825e26[_0x52d521(0xc8)]===_0x1f5787);if(!_0x31cc88||!_0x31cc88?.[_0x52d521(0x117)])throw new Error(_0x1f5787+_0x52d521(0x12e));await _0x174496[_0x52d521(0x111)](sleep,0x3e8);const _0x159aa0=await this[_0x52d521(0xd9)][_0x52d521(0x119)](_0x1f5787);if(!_0x159aa0[_0x52d521(0xfb)])throw new Error(_0x174496['ysyiG'](_0x174496['WrdNl'],_0x159aa0[_0x52d521(0x14d)][_0x52d521(0x166)]));return _0x159aa0;}async[_0x6b221c(0x10c)](_0x5909d8){const _0x40f642=_0x6b221c,_0x362acb={'ALdBx':_0x40f642(0xe0),'nekGW':_0x40f642(0xe5)};return new Promise((_0x30a118,_0xcf9508)=>{const _0x45eaeb=_0x40f642,_0x333c5c={'QiRDQ':_0x362acb[_0x45eaeb(0x108)],'waCRh':_0x362acb[_0x45eaeb(0xc5)],'hRtQG':function(_0x5bd555,_0x45157c,_0x265a91,_0x3bec5b){return _0x5bd555(_0x45157c,_0x265a91,_0x3bec5b);}};this[_0x45eaeb(0x14f)]['onQRCodeGetPicture']=_0x2f511f=>{const _0x3e993c=_0x45eaeb,_0xc15a48=_0x2f511f[_0x3e993c(0x125)][_0x3e993c(0x13c)](_0x333c5c[_0x3e993c(0xf2)])[0x1],_0x1b2ada=Buffer[_0x3e993c(0xca)](_0xc15a48,_0x333c5c[_0x3e993c(0xde)]);_0x333c5c[_0x3e993c(0x106)](_0x5909d8,_0x2f511f[_0x3e993c(0xff)],_0x2f511f[_0x3e993c(0x125)],_0x1b2ada);},this[_0x45eaeb(0xd9)]['getQRCodePicture']();});}async[_0x6b221c(0xf4)](_0x373d09,_0x34cd49,_0x193eb2,_0x5ef72e,_0x141eba){const _0x2fc017=_0x6b221c,_0x10621d={'pqOMS':_0x2fc017(0x102),'OWRUM':'hex','grpYj':function(_0x4f30a8,_0x443c8b){return _0x4f30a8||_0x443c8b;},'OxXsF':function(_0x450efc,_0x5e2315){return _0x450efc||_0x5e2315;},'PTQvl':function(_0x12616a,_0x4611f1){return _0x12616a(_0x4611f1);},'HnbBI':'140022008'},_0x471bb7=_0x1ee1f6[_0x2fc017(0x12c)](_0x10621d['pqOMS'])['update'](_0x34cd49)[_0x2fc017(0x149)](_0x10621d[_0x2fc017(0x118)]),_0x391793={'uin':_0x373d09,'passwordMd5':_0x471bb7,'step':_0x193eb2&&_0x5ef72e&&_0x141eba?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x10621d[_0x2fc017(0xf8)](_0x193eb2,''),'proofWaterRand':_0x5ef72e||'','proofWaterSid':_0x10621d['OxXsF'](_0x141eba,'')};await this[_0x2fc017(0xd9)][_0x2fc017(0x134)](),await _0x10621d[_0x2fc017(0x165)](sleep,0x3e8);const _0x4e268a=await this[_0x2fc017(0xd9)][_0x2fc017(0xf4)](_0x391793);switch(_0x4e268a['result']){case'0':{break;}case _0x10621d[_0x2fc017(0x10b)]:{break;}case'4':case _0x2fc017(0x158):default:}}async[_0x6b221c(0x13f)](){const _0x260494=_0x6b221c,_0x33b12a=await this['loginService'][_0x260494(0x134)]();return _0x33b12a;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x29e197=_0x1617;function _0x1617(_0x3d2111,_0x382b07){const _0x5aac90=_0x5aac();return _0x1617=function(_0x1617b0,_0x1cf3de){_0x1617b0=_0x1617b0-0x76;let _0x2dd862=_0x5aac90[_0x1617b0];return _0x2dd862;},_0x1617(_0x3d2111,_0x382b07);}(function(_0x176b5b,_0x395763){const _0x45035b=_0x1617,_0x1ce9ed=_0x176b5b();while(!![]){try{const _0x4b5a5b=-parseInt(_0x45035b(0xe6))/0x1+-parseInt(_0x45035b(0xd5))/0x2*(parseInt(_0x45035b(0x8d))/0x3)+-parseInt(_0x45035b(0x121))/0x4+parseInt(_0x45035b(0x82))/0x5+-parseInt(_0x45035b(0x83))/0x6+-parseInt(_0x45035b(0x11b))/0x7*(parseInt(_0x45035b(0xb5))/0x8)+parseInt(_0x45035b(0x7e))/0x9;if(_0x4b5a5b===_0x395763)break;else _0x1ce9ed['push'](_0x1ce9ed['shift']());}catch(_0x3b8f95){_0x1ce9ed['push'](_0x1ce9ed['shift']());}}}(_0x5aac,0xecdd5));import _0x119402 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1bed2c from'node:path';import _0xbcc4fd from'node:os';function _0x5aac(){const _0x16651d=['name','onQRCodeSessionFailed','loginService','dataPathGlobal','onGroupListUpdate','isDelete','NodeIKernelBuddyListener','consoleLog','onMemberListChange','zINBE','快速登录不可用','createMemberListScene','ChkTM','104vYgunB','gVxxH','DScTG','constructor','data:image/png;base64,','groupCode','ktYlH','数据库初始化失败','set','MsgListener','WbYmB','NodeIKernelLoginService','resolve','fileLog','addKernelMsgListener','wfhXg','sGGfG','onRecvMsg','addKernelGroupListener','groupMemberList_MainWindow','message_sent','FoNbN','errMsg','onQRCodeGetPicture','JZFRo','has','rxFsG','loginListener','qrLogin','initDataListener','账号设备(','getGroupService','2sNqwxY','当前账号(','addListener','undefined','sxAdy','NodeIGlobalAdapter','infos','dataPath','then','tipsTitle','forEach','txndN','Windows\x2010\x20Pro','oIkVP','fciPC','getGroups','sceneId','1054885aktqBk','find','FgwTm','IhbYo','floor','bTKeX','NodeIQQNTWrapperSession','xNAOq','initSession','-v2.db','NodeIKernelSessionListener','session','dnhqZ','push','map','message_received','onMemberInfoChange','catch','SnfjB','BuddyListener','buddyList','onSelfStatusChanged','getNTUserDataInfoConfig','EbLoz','GRcRV','init','PTRVu','qEpbm','LWOxr','DVmjl','_GW_B','startNT','NodeIKernelProfileListener','now','packet_sent','getQRCodePicture','init\x20failed\x20','KteQy','consoleLogLevel','onKickedOffLine','onAddSendMsg','from','启动失败:\x20','result','./nt_qq/global',')\x20在线状态变更','last_message_time','mkdirSync','initSession\x20failed','./.config/QQ','onRecvSysMsg','curVersion','addKernelLoginListener','952329Stucdf','ojmEW','replace','快速登录失败\x20','proxyHandler','GroupListener','3578088eGtiPX','wsxly','engine','onQRCodeLoginSucceed','util','initConfig','NodeIKernelMsgListener','update','read','onLoginFailed','NodeQQNTWrapperUtil','38098269byiXcj','passwordLogin','getProfileService','ProfileListener','9614095jRczSN','3124836dQmCOV','addKernelBuddyListener','homedir','getBuddyService','HxbbZ','getLoginList','loginErrorInfo','onLoginSuccess','onSessionInitComplete','assign','2840817SXnImo','本账号数据/缓存目录:','NodeIKernelLoginListener','getMsgService','登录失败(onLoginFailed)','KClev','get','packet_received','AvpEU','wMTqm','digest','V1_WIN_NQ_','fileLogLevel','uid','clientType','pdUoB','onLoginSuccessFuncList','isQuickLogin','登录失败(onQRCodeSessionFailed)','getQuickLoginList','pngBase64QrcodeData','uin','createHash','initWithDeskTopConfig','getNextMemberList','QyYmh','nqWOg'];_0x5aac=function(){return _0x16651d;};return _0x5aac();}import _0x486b2e from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x32f237 from'node:crypto';import{rawFriends,friends,groupMembers,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';import{NTQQGroupApi}from'./apis';export class NapCatCore{['session'];[_0x29e197(0x77)];[_0x29e197(0x123)];[_0x29e197(0xd0)];['loginService'];[_0x29e197(0x9d)]=[];['proxyHandler']={'get'(target,prop,receiver){const _0x483cf5=_0x29e197,lldJNE={'oIkVP':function(callee,param1){return callee(param1);},'yOHjL':function(x,y){return x===y;},'FgwTm':_0x483cf5(0xd8)};if(lldJNE['yOHjL'](typeof target[prop],lldJNE[_0x483cf5(0xe8)]))return(...args)=>{const _0x350364=_0x483cf5;lldJNE[_0x350364(0xe2)](logDebug,target[_0x350364(0xb8)][_0x350364(0xa8)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x483cf5(0x93)](target,prop,receiver);}};constructor(){const _0x32b675=_0x29e197,_0x3603f3={'nqWOg':function(_0x272900,_0x3bcb50){return _0x272900(_0x3bcb50);},'WFson':_0x32b675(0xd6),'WciHq':')已登录,无法重复登录','WbYmB':function(_0x3f9e47,_0x1e0b9f,_0x22da4e){return _0x3f9e47(_0x1e0b9f,_0x22da4e);},'DScTG':_0x32b675(0x8e),'NFCZM':_0x32b675(0x116),'rxFsG':function(_0x22afcb,_0x2190f5,_0x1110ca){return _0x22afcb(_0x2190f5,_0x1110ca);},'hFsVa':_0x32b675(0xbc),'KteQy':_0x32b675(0x9f),'EbLoz':function(_0x36c2b1,_0x2f5bc4){return _0x36c2b1==_0x2f5bc4;},'ojmEW':_0x32b675(0x91)};this[_0x32b675(0x123)]=new _0x119402['NodeIQQNTWrapperEngine'](),this[_0x32b675(0x77)]=new _0x119402[(_0x32b675(0x7d))](),this[_0x32b675(0xaa)]=new _0x119402[(_0x32b675(0xc0))](),this[_0x32b675(0xf1)]=new _0x119402[(_0x32b675(0xec))](),this[_0x32b675(0xd0)]=new LoginListener(),this['loginListener']['onUserLoggedIn']=_0x21e1c1=>{const _0x21ef08=_0x32b675;_0x3603f3[_0x21ef08(0xa7)](logError,_0x3603f3['WFson']+_0x21e1c1+_0x3603f3['WciHq']);},this['initConfig'](),this[_0x32b675(0xd0)][_0x32b675(0x76)]=_0x37bec6=>{const _0x51961e=_0x32b675,_0x34101c={'JZFRo':function(_0x16aad7,_0x4ada56,_0x34d503){const _0x53f457=_0x1617;return _0x3603f3[_0x53f457(0xcf)](_0x16aad7,_0x4ada56,_0x34d503);},'vhJLj':_0x3603f3['hFsVa']};this[_0x51961e(0xee)](_0x37bec6[_0x51961e(0xa2)],_0x37bec6[_0x51961e(0x9a)])['then'](_0x5d8efd=>{const _0x450de1=_0x51961e;selfInfo[_0x450de1(0xa2)]=_0x37bec6[_0x450de1(0xa2)],selfInfo[_0x450de1(0x9a)]=_0x37bec6[_0x450de1(0x9a)],napCatConfig[_0x450de1(0x7b)](),_0x3603f3[_0x450de1(0xbf)](setLogLevel,napCatConfig[_0x450de1(0x99)],napCatConfig[_0x450de1(0x10c)]),_0x3603f3['nqWOg'](enableFileLog,napCatConfig[_0x450de1(0xc2)]),_0x3603f3[_0x450de1(0xa7)](enableConsoleLog,napCatConfig[_0x450de1(0xaf)]),_0x3603f3[_0x450de1(0xa7)](setLogSelfInfo,selfInfo);const _0x47b734=_0x1bed2c[_0x450de1(0xc1)](this[_0x450de1(0xdc)],'./NapCat/data');_0x486b2e[_0x450de1(0x115)](_0x47b734,{'recursive':!![]}),logDebug(_0x3603f3[_0x450de1(0xb7)],_0x47b734),dbUtil[_0x450de1(0xff)](_0x1bed2c[_0x450de1(0xc1)](_0x47b734,'./'+_0x37bec6[_0x450de1(0xa2)]+_0x450de1(0xef)))['then'](()=>{const _0x59bd48=_0x450de1;this['initDataListener'](),this[_0x59bd48(0x9d)][_0x59bd48(0xf4)](_0xb5d8b4=>{new Promise((_0x309ed0,_0xb6b520)=>{const _0x407201=_0x1617,_0x25597a=_0xb5d8b4(_0x37bec6[_0x407201(0xa2)],_0x37bec6[_0x407201(0x9a)]);_0x25597a instanceof Promise&&_0x25597a[_0x407201(0xdd)](_0x309ed0)[_0x407201(0xf7)](_0xb6b520);})['then']();});})['catch'](_0x40bf32=>{const _0x27ff03=_0x450de1;_0x34101c[_0x27ff03(0xcd)](logError,_0x34101c['vhJLj'],_0x40bf32);});})[_0x51961e(0xf7)](_0x4e7d0d=>{const _0x50a171=_0x51961e;_0x3603f3[_0x50a171(0xbf)](logError,_0x3603f3['NFCZM'],_0x4e7d0d);throw new Error(_0x50a171(0x110)+JSON['stringify'](_0x4e7d0d));});},this[_0x32b675(0xd0)][_0x32b675(0xa9)]=(_0x25d971,_0x373457,_0x3df760)=>{const _0x3443ef=_0x32b675;_0x3603f3[_0x3443ef(0xbf)](logError,_0x3603f3[_0x3443ef(0x10b)],_0x3df760),_0x3603f3[_0x3443ef(0xfd)](_0x25d971,0x1)&&_0x373457==0x3&&this[_0x3443ef(0xaa)][_0x3443ef(0x109)]();},this[_0x32b675(0xd0)][_0x32b675(0x7c)]=_0x391df1=>{const _0x5528bb=_0x32b675;_0x3603f3[_0x5528bb(0xcf)](logError,_0x3603f3[_0x5528bb(0x11c)],_0x391df1);},this['loginListener']=new Proxy(this[_0x32b675(0xd0)],this[_0x32b675(0x11f)]),this['loginService'][_0x32b675(0x11a)](new _0x119402[(_0x32b675(0x8f))](this[_0x32b675(0xd0)]));}get['dataPath'](){const _0x20545d=_0x29e197;let _0x18d2dc=this[_0x20545d(0x77)][_0x20545d(0xfc)]();return!_0x18d2dc&&(_0x18d2dc=_0x1bed2c[_0x20545d(0xc1)](_0xbcc4fd[_0x20545d(0x85)](),_0x20545d(0x117)),_0x486b2e[_0x20545d(0x115)](_0x18d2dc,{'recursive':!![]})),_0x18d2dc;}get[_0x29e197(0xab)](){const _0x1d9010=_0x29e197,_0x519d7b={'ktYlH':_0x1d9010(0x112)};return _0x1bed2c[_0x1d9010(0xc1)](this['dataPath'],_0x519d7b[_0x1d9010(0xbb)]);}[_0x29e197(0x78)](){const _0x454e4a=_0x29e197,_0x57fa3f={'DTwCZ':_0x454e4a(0xe1)};this[_0x454e4a(0x123)][_0x454e4a(0xa4)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x454e4a(0x119)],'os_version':_0x57fa3f['DTwCZ'],'use_xlog':!![],'qua':_0x454e4a(0x98)+qqVersionConfigInfo[_0x454e4a(0x119)][_0x454e4a(0x11d)]('-','_')+_0x454e4a(0x104),'global_path_config':{'desktopGlobalPath':this[_0x454e4a(0xab)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x119402[(_0x454e4a(0xda))](new GlobalAdapter())),this[_0x454e4a(0xaa)][_0x454e4a(0x78)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x454e4a(0x119)],'hostName':hostname});}[_0x29e197(0xee)](_0x17d5f2,_0x4b4cc4){const _0x31cd37={'ChkTM':function(_0x4fe9f0,_0x4f704f){return _0x4fe9f0===_0x4f704f;},'IJeqx':function(_0x39af19,_0x5c8c06){return _0x39af19(_0x5c8c06);},'KClev':function(_0x52d16d,_0x36920f){return _0x52d16d(_0x36920f);},'xNAOq':function(_0x28a817,_0x10e060,_0x160343,_0x29feec){return _0x28a817(_0x10e060,_0x160343,_0x29feec);},'wfhXg':function(_0xbd7386,_0x94dd41){return _0xbd7386(_0x94dd41);}};return new Promise(async(_0x3b79c3,_0x2d156b)=>{const _0x254f19=_0x1617,_0x3be254=await _0x31cd37[_0x254f19(0xed)](genSessionConfig,_0x17d5f2,_0x4b4cc4,this[_0x254f19(0xdc)]),_0xdfd338=new SessionListener();_0xdfd338[_0x254f19(0x8b)]=_0x40f683=>{const _0xa7d121=_0x254f19;if(_0x31cd37[_0xa7d121(0xb4)](_0x40f683,0x0))return _0x31cd37['IJeqx'](_0x3b79c3,0x0);_0x31cd37[_0xa7d121(0x92)](_0x2d156b,_0x40f683);},this['session'][_0x254f19(0xff)](_0x3be254,new _0x119402['NodeIDependsAdapter'](new DependsAdapter()),new _0x119402['NodeIDispatcherAdapter'](new DispatcherAdapter()),new _0x119402[(_0x254f19(0xf0))](_0xdfd338));try{this[_0x254f19(0xf1)][_0x254f19(0x105)](0x0);}catch(_0x553466){try{this[_0x254f19(0xf1)][_0x254f19(0x105)]();}catch(_0x4956bc){_0x31cd37[_0x254f19(0xc4)](_0x2d156b,_0x254f19(0x10a)+_0x4956bc);}}});}[_0x29e197(0xd2)](){const _0x33a9f3=_0x29e197,_0x1dc4fa={'AvpEU':function(_0x4c7826,_0x1093f4){return _0x4c7826===_0x1093f4;},'IhbYo':function(_0x4d4474,_0x5b984d){return _0x4d4474+_0x5b984d;},'zINBE':_0x33a9f3(0xd3),'SnfjB':_0x33a9f3(0x113),'QyYmh':'[KickedOffLine]\x20[','trkVD':function(_0x3b769e,_0x204287){return _0x3b769e/_0x204287;},'CIckV':_0x33a9f3(0xc8),'FoNbN':function(_0x14a0df,_0x283cc7){return _0x14a0df===_0x283cc7;},'DVmjl':function(_0x54e4f1,_0x14381c,_0x21ae79){return _0x54e4f1(_0x14381c,_0x21ae79);}},_0x3eef7b=new MsgListener();_0x3eef7b['onLineDev']=_0x2506d7=>{const _0x3d4518=_0x33a9f3;_0x2506d7[_0x3d4518(0xf4)](_0x39dde6=>{const _0x4e34b5=_0x3d4518;_0x1dc4fa[_0x4e34b5(0x95)](_0x39dde6[_0x4e34b5(0x9b)],0x2)&&log(_0x1dc4fa[_0x4e34b5(0xe9)](_0x1dc4fa[_0x4e34b5(0xb1)],_0x39dde6['devUid'])+_0x1dc4fa[_0x4e34b5(0xf8)]);});},_0x3eef7b[_0x33a9f3(0x10d)]=_0x1a954f=>{const _0x3c8cf8=_0x33a9f3;log(_0x1dc4fa[_0x3c8cf8(0xa6)]+_0x1a954f[_0x3c8cf8(0xde)]+']\x20'+_0x1a954f['tipsDesc']);},_0x3eef7b[_0x33a9f3(0x10e)]=_0x1c9bff=>{const _0xfd6ac5=_0x33a9f3;stat[_0xfd6ac5(0x108)]+=0x1,stat[_0xfd6ac5(0xc9)]+=0x1,stat['last_message_time']=Math[_0xfd6ac5(0xea)](_0x1dc4fa['trkVD'](Date[_0xfd6ac5(0x107)](),0x3e8));},_0x3eef7b[_0x33a9f3(0xc6)]=_0x14efda=>{const _0x431aa0=_0x33a9f3;stat[_0x431aa0(0x94)]+=0x1,stat[_0x431aa0(0xf5)]+=_0x14efda['length'],stat[_0x431aa0(0x114)]=Math['floor'](Date[_0x431aa0(0x107)]()/0x3e8);},_0x3eef7b[_0x33a9f3(0x118)]=(..._0x5e4602)=>{const _0x1fdd64=_0x33a9f3;stat[_0x1fdd64(0x94)]+=0x1;},this[_0x33a9f3(0xd7)](_0x3eef7b);const _0x34fb4a=new BuddyListener();_0x34fb4a['onBuddyListChange']=_0x41e8a0=>{const _0x214c2a=_0x33a9f3;rawFriends['length']=0x0,rawFriends['push'](..._0x41e8a0);for(const _0x250491 of _0x41e8a0){for(const _0x154995 of _0x250491[_0x214c2a(0xfa)]){const _0x252576=friends['get'](_0x154995[_0x214c2a(0x9a)]);_0x252576?Object[_0x214c2a(0x8c)](_0x252576,_0x154995):friends[_0x214c2a(0xbd)](_0x154995[_0x214c2a(0x9a)],_0x154995);}}},this[_0x33a9f3(0xd7)](_0x34fb4a),this[_0x33a9f3(0xf1)][_0x33a9f3(0x86)]()['getBuddyList'](!![])[_0x33a9f3(0xdd)](_0x4b30cd=>{});const _0x7a6c3a=new ProfileListener();_0x7a6c3a['onProfileDetailInfoChanged']=_0x325452=>{const _0x16fc88=_0x33a9f3;_0x1dc4fa[_0x16fc88(0x95)](_0x325452[_0x16fc88(0x9a)],selfInfo['uid'])&&Object[_0x16fc88(0x8c)](selfInfo,_0x325452);},_0x7a6c3a[_0x33a9f3(0xfb)]=_0x16fbdb=>{},this[_0x33a9f3(0xd7)](_0x7a6c3a);const _0x39bfb0=new GroupListener();_0x39bfb0[_0x33a9f3(0xac)]=(_0x353c57,_0x5a0963)=>{const _0x113100=_0x33a9f3,_0x48a2fd={'HxbbZ':_0x1dc4fa['CIckV']};NTQQGroupApi[_0x113100(0xe4)](!![])['then'](),_0x5a0963[_0x113100(0xf4)](_0x29e3cd=>{const _0x51d0c7=_0x113100,_0x43ec31=this['session'][_0x51d0c7(0xd4)]()[_0x51d0c7(0xb3)](_0x29e3cd[_0x51d0c7(0xba)],_0x48a2fd[_0x51d0c7(0x87)]);this[_0x51d0c7(0xf1)][_0x51d0c7(0xd4)]()[_0x51d0c7(0xa5)](_0x43ec31,undefined,0xbb8)[_0x51d0c7(0xdd)](_0xd63ba4=>{});});},_0x39bfb0[_0x33a9f3(0xb0)]=_0x1d026e=>{const _0x1fe45f=_0x33a9f3,_0x593b8c=_0x1d026e[_0x1fe45f(0xe5)]['split']('_')[0x0];if(groupMembers[_0x1fe45f(0xce)](_0x593b8c)){const _0x44d22a=groupMembers[_0x1fe45f(0x93)](_0x593b8c);_0x1d026e[_0x1fe45f(0xdb)][_0x1fe45f(0xdf)]((_0xc7680a,_0x2d6fd4)=>{const _0xe5ac55=_0x1fe45f,_0x84c9d0=_0x44d22a[_0xe5ac55(0x93)](_0x2d6fd4);_0x84c9d0?Object[_0xe5ac55(0x8c)](_0x84c9d0,_0xc7680a):_0x44d22a[_0xe5ac55(0xbd)](_0x2d6fd4,_0xc7680a);});}else groupMembers[_0x1fe45f(0xbd)](_0x593b8c,_0x1d026e[_0x1fe45f(0xdb)]);},_0x39bfb0[_0x33a9f3(0xf6)]=(_0x5a368e,_0x2b9f83,_0x4e39d4)=>{const _0x354b64=_0x33a9f3;_0x1dc4fa[_0x354b64(0xca)](_0x2b9f83,0x0)&&_0x4e39d4[_0x354b64(0x93)](selfInfo['uid'])&&_0x4e39d4['get'](selfInfo['uid'])?.[_0x354b64(0xad)]&&_0x1dc4fa[_0x354b64(0x103)](setTimeout,()=>{const _0x2b1c15=_0x354b64;NTQQGroupApi[_0x2b1c15(0xe4)](!![])[_0x2b1c15(0xdd)]();},0x1388);const _0x31c51e=groupMembers[_0x354b64(0x93)](_0x5a368e);_0x31c51e?_0x4e39d4[_0x354b64(0xdf)]((_0x340879,_0x212a4b)=>{const _0x10cf8a=_0x354b64,_0x4feafa=_0x31c51e[_0x10cf8a(0x93)](_0x212a4b);_0x4feafa?Object['assign'](_0x4feafa,_0x340879):_0x31c51e['set'](_0x212a4b,_0x340879);}):groupMembers['set'](_0x5a368e,_0x4e39d4);},this[_0x33a9f3(0xd7)](_0x39bfb0);}[_0x29e197(0xd7)](_0x3476ad){const _0x511e5b=_0x29e197,_0x3ad908={'txndN':_0x511e5b(0xf9),'dnhqZ':_0x511e5b(0xbe),'eDmSS':_0x511e5b(0x81)};_0x3476ad=new Proxy(_0x3476ad,this['proxyHandler']);switch(_0x3476ad[_0x511e5b(0xb8)][_0x511e5b(0xa8)]){case _0x3ad908[_0x511e5b(0xe0)]:{return this[_0x511e5b(0xf1)][_0x511e5b(0x86)]()[_0x511e5b(0x84)](new _0x119402[(_0x511e5b(0xae))](_0x3476ad));}case _0x511e5b(0x120):{return this[_0x511e5b(0xf1)]['getGroupService']()[_0x511e5b(0xc7)](new _0x119402['NodeIKernelGroupListener'](_0x3476ad));}case _0x3ad908[_0x511e5b(0xf2)]:{return this['session'][_0x511e5b(0x90)]()[_0x511e5b(0xc3)](new _0x119402[(_0x511e5b(0x79))](_0x3476ad));}case _0x3ad908['eDmSS']:{return this['session'][_0x511e5b(0x80)]()['addKernelProfileListener'](new _0x119402[(_0x511e5b(0x106))](_0x3476ad));}default:return-0x1;}}[_0x29e197(0x8a)](_0x21c253){const _0x2b03c6=_0x29e197;NTEventDispatch['init']({'ListenerMap':_0x119402,'WrapperSession':this[_0x2b03c6(0xf1)]}),this[_0x2b03c6(0x9d)][_0x2b03c6(0xf3)](_0x21c253);}async['quickLogin'](_0x141e43){const _0x4a198b=_0x29e197,_0x400c34={'bTKeX':function(_0x4cb33b,_0x358250){return _0x4cb33b!==_0x358250;},'sGGfG':'没有可快速登录的QQ号','JtJEb':function(_0x10695b,_0x3343f6){return _0x10695b+_0x3343f6;},'wsxly':_0x4a198b(0x11e)},_0x348863=await this['loginService'][_0x4a198b(0x88)]();if(_0x400c34[_0x4a198b(0xeb)](_0x348863['result'],0x0))throw new Error(_0x400c34[_0x4a198b(0xc5)]);const _0xd39372=_0x348863['LocalLoginInfoList'][_0x4a198b(0xe7)](_0x1c3635=>_0x1c3635[_0x4a198b(0xa2)]===_0x141e43);if(!_0xd39372||!_0xd39372?.[_0x4a198b(0x9e)])throw new Error(_0x141e43+_0x4a198b(0xb2));await sleep(0x3e8);const _0x47e145=await this[_0x4a198b(0xaa)]['quickLoginWithUin'](_0x141e43);if(!_0x47e145[_0x4a198b(0x111)])throw new Error(_0x400c34['JtJEb'](_0x400c34[_0x4a198b(0x122)],_0x47e145[_0x4a198b(0x89)][_0x4a198b(0xcb)]));return _0x47e145;}async[_0x29e197(0xd1)](_0x15f8ed){const _0x14b03f=_0x29e197,_0x1e125f={'GRcRV':_0x14b03f(0xb9),'CvTvQ':'base64'};return new Promise((_0x4008de,_0x202ceb)=>{const _0x5a5556=_0x14b03f;this[_0x5a5556(0xd0)][_0x5a5556(0xcc)]=_0xc429a0=>{const _0x430cbc=_0x5a5556,_0x54311f=_0xc429a0[_0x430cbc(0xa1)]['split'](_0x1e125f[_0x430cbc(0xfe)])[0x1],_0x40d1cd=Buffer[_0x430cbc(0x10f)](_0x54311f,_0x1e125f['CvTvQ']);_0x15f8ed(_0xc429a0['qrcodeUrl'],_0xc429a0['pngBase64QrcodeData'],_0x40d1cd);},this[_0x5a5556(0xaa)][_0x5a5556(0x109)]();});}async[_0x29e197(0x7f)](_0x579dc6,_0x111d2a,_0x1d9098,_0x12e822,_0x26ec05){const _0x4258f0=_0x29e197,_0x3d5b5e={'sxAdy':'md5','pdUoB':'hex','gVxxH':function(_0x42901c,_0x2cb6f9){return _0x42901c&&_0x2cb6f9;},'PTRVu':function(_0x293f29,_0x201ade){return _0x293f29||_0x201ade;},'qEpbm':function(_0x3e868e,_0x5aa85f){return _0x3e868e||_0x5aa85f;},'wMTqm':function(_0x438070,_0x3dc7f6){return _0x438070(_0x3dc7f6);},'LWOxr':'140022008','fciPC':'140022013'},_0x151676=_0x32f237[_0x4258f0(0xa3)](_0x3d5b5e[_0x4258f0(0xd9)])[_0x4258f0(0x7a)](_0x111d2a)[_0x4258f0(0x97)](_0x3d5b5e[_0x4258f0(0x9c)]),_0x4c96a3={'uin':_0x579dc6,'passwordMd5':_0x151676,'step':_0x3d5b5e[_0x4258f0(0xb6)](_0x1d9098,_0x12e822)&&_0x26ec05?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x3d5b5e['PTRVu'](_0x1d9098,''),'proofWaterRand':_0x3d5b5e[_0x4258f0(0x101)](_0x12e822,''),'proofWaterSid':_0x3d5b5e[_0x4258f0(0x100)](_0x26ec05,'')};await this[_0x4258f0(0xaa)][_0x4258f0(0x88)](),await _0x3d5b5e[_0x4258f0(0x96)](sleep,0x3e8);const _0x14a34a=await this['loginService'][_0x4258f0(0x7f)](_0x4c96a3);switch(_0x14a34a[_0x4258f0(0x111)]){case'0':{break;}case _0x3d5b5e[_0x4258f0(0x102)]:{break;}case'4':case _0x3d5b5e[_0x4258f0(0xe3)]:default:}}async[_0x29e197(0xa0)](){const _0x246e2e=_0x29e197,_0xea311=await this[_0x246e2e(0xaa)]['getLoginList']();return _0xea311;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts index d8d115855..7d83824b0 100644 --- a/src/core.lib/src/data.d.ts +++ b/src/core.lib/src/data.d.ts @@ -1,12 +1,9 @@ -import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities'; +import { type Friend, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities'; export declare const selfInfo: SelfInfo; -export declare const groups: Map; -export declare function deleteGroup(groupQQ: string): void; export declare const groupMembers: Map>; export declare const friends: Map; export declare const rawFriends: Array; export declare const groupNotifies: Record; -export declare function getGroup(qq: string | number): Promise; export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise; export declare const tempGroupCodeMap: Record; export declare const stat: { diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index e78f75d2b..a36ff169f 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x3e0b7e,_0x147a30){const _0x3f5dd4=_0x4e96,_0x22dca3=_0x3e0b7e();while(!![]){try{const _0x23e17c=-parseInt(_0x3f5dd4(0x1a7))/0x1*(parseInt(_0x3f5dd4(0x1a0))/0x2)+parseInt(_0x3f5dd4(0x1a8))/0x3+parseInt(_0x3f5dd4(0x19b))/0x4*(-parseInt(_0x3f5dd4(0x199))/0x5)+parseInt(_0x3f5dd4(0x1a9))/0x6+parseInt(_0x3f5dd4(0x19a))/0x7*(parseInt(_0x3f5dd4(0x197))/0x8)+parseInt(_0x3f5dd4(0x19f))/0x9*(parseInt(_0x3f5dd4(0x1a2))/0xa)+-parseInt(_0x3f5dd4(0x1aa))/0xb;if(_0x23e17c===_0x147a30)break;else _0x22dca3['push'](_0x22dca3['shift']());}catch(_0x34d35c){_0x22dca3['push'](_0x22dca3['shift']());}}}(_0x4bf2,0x951c7));import{isNumeric}from'@/common/utils/helper';function _0x4e96(_0x140ff5,_0xe359ed){const _0x4bf22f=_0x4bf2();return _0x4e96=function(_0x4e968a,_0x274234){_0x4e968a=_0x4e968a-0x197;let _0x3d658b=_0x4bf22f[_0x4e968a];return _0x3d658b;},_0x4e96(_0x140ff5,_0xe359ed);}import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x2c04ce){const _0x140060=_0x4e96;groups[_0x140060(0x1a1)](_0x2c04ce),groupMembers[_0x140060(0x1a1)](_0x2c04ce);}export const groupMembers=new Map();function _0x4bf2(){const _0xf07b45=['21nBOWUl','1498996tmQMqK','toString','ccfbU','get','45xgBokf','34UjwHyK','delete','2110510tPiPNL','values','find','set','BcVWg','61117rSrtOX','486258UByiuQ','4780368EgDcvn','849849ZPBWQI','WjJwz','getGroupMembers','233832vXqPzR','forEach','5PwpqyF'];_0x4bf2=function(){return _0xf07b45;};return _0x4bf2();}export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x42ff07){const _0x1bd3a0=_0x4e96;let _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]());if(!_0x34ef8a)try{const _0x1b4d66=await NTQQGroupApi['getGroups']();_0x1b4d66['length']&&_0x1b4d66[_0x1bd3a0(0x198)](_0x3b5e76=>{const _0x4e2e1d=_0x1bd3a0;groups[_0x4e2e1d(0x1a5)](_0x3b5e76['groupCode'],_0x3b5e76);});}catch(_0x57c511){return undefined;}return _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]()),_0x34ef8a;}export async function getGroupMember(_0x3d4fdd,_0x4ae6f4){const _0xf5affd=_0x4e96,_0x591379={'WjJwz':function(_0x1c6bab,_0x559e02){return _0x1c6bab(_0x559e02);},'ccfbU':function(_0x1986b6){return _0x1986b6();},'BcVWg':function(_0x15fbce){return _0x15fbce();}};_0x3d4fdd=_0x3d4fdd[_0xf5affd(0x19c)](),_0x4ae6f4=_0x4ae6f4[_0xf5affd(0x19c)]();let _0x41e027=groupMembers[_0xf5affd(0x19e)](_0x3d4fdd);if(!_0x41e027)try{_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),groupMembers[_0xf5affd(0x1a5)](_0x3d4fdd,_0x41e027);}catch(_0xd571c3){return null;}const _0x5f2c63=()=>{const _0xed949=_0xf5affd;let _0x36cd37=undefined;return _0x591379[_0xed949(0x1ab)](isNumeric,_0x4ae6f4)?_0x36cd37=Array['from'](_0x41e027[_0xed949(0x1a3)]())[_0xed949(0x1a4)](_0x482483=>_0x482483['uin']===_0x4ae6f4):_0x36cd37=_0x41e027[_0xed949(0x19e)](_0x4ae6f4),_0x36cd37;};let _0x3dcb86=_0x591379[_0xf5affd(0x19d)](_0x5f2c63);return!_0x3dcb86&&(_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),_0x3dcb86=_0x591379[_0xf5affd(0x1a6)](_0x5f2c63)),_0x3dcb86;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x1d569e,_0x5bd2f0){const _0x205bf4=_0x351f,_0x1913b9=_0x1d569e();while(!![]){try{const _0x1cb904=-parseInt(_0x205bf4(0x8e))/0x1*(parseInt(_0x205bf4(0x86))/0x2)+-parseInt(_0x205bf4(0x8d))/0x3+parseInt(_0x205bf4(0x90))/0x4*(-parseInt(_0x205bf4(0x7d))/0x5)+parseInt(_0x205bf4(0x88))/0x6*(parseInt(_0x205bf4(0x7c))/0x7)+-parseInt(_0x205bf4(0x87))/0x8*(-parseInt(_0x205bf4(0x8c))/0x9)+parseInt(_0x205bf4(0x83))/0xa*(-parseInt(_0x205bf4(0x8b))/0xb)+parseInt(_0x205bf4(0x81))/0xc*(parseInt(_0x205bf4(0x8f))/0xd);if(_0x1cb904===_0x5bd2f0)break;else _0x1913b9['push'](_0x1913b9['shift']());}catch(_0x29e37e){_0x1913b9['push'](_0x1913b9['shift']());}}}(_0x6b4b,0xedbb5));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroupMember(_0x5b5812,_0x3c05f8){const _0x423f1c=_0x351f,_0x4b85c5={'lxPij':function(_0x4ea5a4,_0x25ceec){return _0x4ea5a4(_0x25ceec);},'Zngsh':function(_0x312c2a){return _0x312c2a();}};_0x5b5812=_0x5b5812['toString'](),_0x3c05f8=_0x3c05f8[_0x423f1c(0x91)]();let _0x242e75=groupMembers[_0x423f1c(0x85)](_0x5b5812);if(!_0x242e75)try{_0x242e75=await NTQQGroupApi[_0x423f1c(0x89)](_0x5b5812),groupMembers[_0x423f1c(0x8a)](_0x5b5812,_0x242e75);}catch(_0x437930){return null;}const _0xb727b=()=>{const _0x251fad=_0x423f1c;let _0x12a74a=undefined;return _0x4b85c5[_0x251fad(0x80)](isNumeric,_0x3c05f8)?_0x12a74a=Array[_0x251fad(0x82)](_0x242e75[_0x251fad(0x7f)]())[_0x251fad(0x92)](_0x54305f=>_0x54305f[_0x251fad(0x7e)]===_0x3c05f8):_0x12a74a=_0x242e75[_0x251fad(0x85)](_0x3c05f8),_0x12a74a;};let _0x19f1a0=_0x4b85c5[_0x423f1c(0x84)](_0xb727b);return!_0x19f1a0&&(_0x242e75=await NTQQGroupApi[_0x423f1c(0x89)](_0x5b5812),_0x19f1a0=_0x4b85c5[_0x423f1c(0x84)](_0xb727b)),_0x19f1a0;}export const tempGroupCodeMap={};function _0x6b4b(){const _0x37f55f=['getGroupMembers','set','275ybYFNL','371097ysIXqf','2317758OQsahc','2ukuHhe','7826zAICmN','76nrWrdi','toString','find','2970590WicCar','162065pzUHbE','uin','values','lxPij','65556GNmONv','from','223670LIOnPk','Zngsh','get','1764178nGDyTi','24fHnltN','18taMjcC'];_0x6b4b=function(){return _0x37f55f;};return _0x6b4b();}function _0x351f(_0x2323e5,_0x299ce1){const _0x6b4b41=_0x6b4b();return _0x351f=function(_0x351f46,_0x292365){_0x351f46=_0x351f46-0x7c;let _0x1438fd=_0x6b4b41[_0x351f46];return _0x1438fd;},_0x351f(_0x2323e5,_0x299ce1);}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 ff4e49944..2c37afb52 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x3a2cfb,_0x21dd1a){var _0x10dcc6=_0xa239,_0x5d1828=_0x3a2cfb();while(!![]){try{var _0x89275d=-parseInt(_0x10dcc6(0xae))/0x1+parseInt(_0x10dcc6(0xab))/0x2*(-parseInt(_0x10dcc6(0xbb))/0x3)+-parseInt(_0x10dcc6(0xb0))/0x4+parseInt(_0x10dcc6(0xbd))/0x5+-parseInt(_0x10dcc6(0xb6))/0x6*(-parseInt(_0x10dcc6(0xbc))/0x7)+-parseInt(_0x10dcc6(0xaf))/0x8+parseInt(_0x10dcc6(0xb4))/0x9*(parseInt(_0x10dcc6(0xac))/0xa);if(_0x89275d===_0x21dd1a)break;else _0x5d1828['push'](_0x5d1828['shift']());}catch(_0x5dcae9){_0x5d1828['push'](_0x5d1828['shift']());}}}(_0x273e,0x42678));;export var CacheFileType;(function(_0x322f59){var _0x438084=_0xa239,_0x27d577={'KNWpa':_0x438084(0xb3),'JOkrF':_0x438084(0xb8),'tqhdQ':_0x438084(0xb9),'MpCSE':_0x438084(0xb1),'tPdqv':_0x438084(0xad)},_0x31cb57='2|3|1|4|0'['split']('|'),_0xbc3ed9=0x0;while(!![]){switch(_0x31cb57[_0xbc3ed9++]){case'0':_0x322f59[_0x322f59['OTHER']=0x4]=_0x27d577['KNWpa'];continue;case'1':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xba)]]=0x2]=_0x27d577[_0x438084(0xba)];continue;case'2':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb2)]]=0x0]=_0x27d577['tqhdQ'];continue;case'3':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb7)]]=0x1]=_0x438084(0xb1);continue;case'4':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb5)]]=0x3]=_0x27d577[_0x438084(0xb5)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xa239(_0x435a9a,_0x4a5957){var _0x273ed5=_0x273e();return _0xa239=function(_0xa23963,_0x4dc6ec){_0xa23963=_0xa23963-0xab;var _0x3b1c05=_0x273ed5[_0xa23963];return _0x3b1c05;},_0xa239(_0x435a9a,_0x4a5957);}function _0x273e(){var _0x4c0228=['DOCUMENT','432014mUOnzQ','99288RSmDdt','841916Zrskrw','VIDEO','tqhdQ','OTHER','1704465YfjskY','tPdqv','4656ROsKpT','MpCSE','AUDIO','IMAGE','JOkrF','429585kITsfQ','4102QFTtOH','5050jFraSg','4FaIOqb','40OnWvvC'];_0x273e=function(){return _0x4c0228;};return _0x273e();} \ No newline at end of file +function _0x45de(_0x331268,_0x5b7d7b){var _0x57d7ed=_0x57d7();return _0x45de=function(_0x45deea,_0x31b4e4){_0x45deea=_0x45deea-0x103;var _0x22ad34=_0x57d7ed[_0x45deea];return _0x22ad34;},_0x45de(_0x331268,_0x5b7d7b);}(function(_0x441c21,_0x15ecb6){var _0xccc85c=_0x45de,_0x3f9561=_0x441c21();while(!![]){try{var _0x1d11d6=-parseInt(_0xccc85c(0x106))/0x1+parseInt(_0xccc85c(0x114))/0x2+parseInt(_0xccc85c(0x10d))/0x3+-parseInt(_0xccc85c(0x10f))/0x4*(parseInt(_0xccc85c(0x10a))/0x5)+-parseInt(_0xccc85c(0x10c))/0x6+parseInt(_0xccc85c(0x103))/0x7*(parseInt(_0xccc85c(0x109))/0x8)+parseInt(_0xccc85c(0x104))/0x9;if(_0x1d11d6===_0x15ecb6)break;else _0x3f9561['push'](_0x3f9561['shift']());}catch(_0x3c5d4b){_0x3f9561['push'](_0x3f9561['shift']());}}}(_0x57d7,0x39876));;export var CacheFileType;function _0x57d7(){var _0x42009d=['VIDEO','456226uSUQyo','IVbHZ','IMAGE','AUDIO','1312717EEAccb','2976363FhyHgb','OLUxb','128976emlWWr','OTHER','DOCUMENT','8RGvtzi','30ljzMIR','CCHgq','1850340reKYSe','768933oMHXPW','uXqNx','219772KJBvKn','4|1|3|2|0','LPzYO','split'];_0x57d7=function(){return _0x42009d;};return _0x57d7();}(function(_0x57220d){var _0xd714f5=_0x45de,_0x508823={'RtvsE':_0xd714f5(0x110),'IVbHZ':_0xd714f5(0x107),'LPzYO':_0xd714f5(0x113),'CCHgq':_0xd714f5(0x108),'OLUxb':_0xd714f5(0x117),'uXqNx':_0xd714f5(0x116)},_0x310778=_0x508823['RtvsE'][_0xd714f5(0x112)]('|'),_0x5f56b9=0x0;while(!![]){switch(_0x310778[_0x5f56b9++]){case'0':_0x57220d[_0x57220d[_0x508823[_0xd714f5(0x115)]]=0x4]=_0xd714f5(0x107);continue;case'1':_0x57220d[_0x57220d[_0xd714f5(0x113)]=0x1]=_0x508823[_0xd714f5(0x111)];continue;case'2':_0x57220d[_0x57220d[_0xd714f5(0x108)]=0x3]=_0x508823[_0xd714f5(0x10b)];continue;case'3':_0x57220d[_0x57220d[_0x508823[_0xd714f5(0x105)]]=0x2]=_0x508823[_0xd714f5(0x105)];continue;case'4':_0x57220d[_0x57220d[_0x508823[_0xd714f5(0x10e)]]=0x0]=_0x508823[_0xd714f5(0x10e)];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 ff14b7e31..5515bb38a 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x16789c=_0x3ce3;(function(_0x5a9347,_0x5c44d5){const _0x5c4732=_0x3ce3,_0x120ea7=_0x5a9347();while(!![]){try{const _0x32f320=parseInt(_0x5c4732(0x207))/0x1*(-parseInt(_0x5c4732(0x1bd))/0x2)+parseInt(_0x5c4732(0x1e2))/0x3*(parseInt(_0x5c4732(0x205))/0x4)+-parseInt(_0x5c4732(0x1e7))/0x5*(-parseInt(_0x5c4732(0x1d8))/0x6)+parseInt(_0x5c4732(0x1c7))/0x7*(-parseInt(_0x5c4732(0x200))/0x8)+-parseInt(_0x5c4732(0x1af))/0x9*(parseInt(_0x5c4732(0x1d2))/0xa)+parseInt(_0x5c4732(0x1b4))/0xb+parseInt(_0x5c4732(0x1e4))/0xc*(parseInt(_0x5c4732(0x1ab))/0xd);if(_0x32f320===_0x5c44d5)break;else _0x120ea7['push'](_0x120ea7['shift']());}catch(_0x21de87){_0x120ea7['push'](_0x120ea7['shift']());}}}(_0x47e7,0x52d4f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5c0afb}from'node:fs';import _0x1857b4 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x47e7(){const _0x722dee=['PTT','YnZHc','AniStickerType','ark','vumaS','set','dirname','402zTTXuF','uiJWh','HtaZX','sep','PIC','_0.png','文件异常,大小为0','string','mface','[商城表情]','12439aBdBGG','time','height','uequT','abbou','stringify','语音转换失败,\x20请检查语音文件是否正常','BLJVA','get','FACE','OTnfh','1810xZgquy','replace','width','MFACE','IYcbi','copyFile','307086DpOvhM','nKfCv','NTKKE','Thumb','rps','Ousmq','sPCKQ','ARK','uploadFile','[包剪锤]','8160WacbhZ','reply','916536BLxBGe','TEXT','find','5URovVH','unlink','file','MARKDOWN','gif','获取视频信息失败','lKgiX','ptt','Ori','toString','text','pSeCe','clHqu','catch','mp4','oMPwq','mxHIi','stat','PVvoD','fiwtB','dice','miniapp','JSGuq','bSXVP','AniStickerPackId','1912BJqFhA','screenshots','join','获取视频封面失败,使用默认封面','markdown','996mwxXjk','face','2433BreUOy','https://www.bilibili.com/','error','vWCes','xHuUZ','getImageSize','26rxPAxc','pic','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','then','4635ZqFLMl','smOwt','[骰子]','AniStickerId','VIDEO','5115143QMhFDd','FILE'];_0x47e7=function(){return _0x722dee;};return _0x47e7();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x35bc2e from'./face_config.json';function _0x3ce3(_0x3fb05b,_0x3c1933){const _0x47e77f=_0x47e7();return _0x3ce3=function(_0x3ce3d4,_0x313f5a){_0x3ce3d4=_0x3ce3d4-0x1a7;let _0x3da97b=_0x47e77f[_0x3ce3d4];return _0x3da97b;},_0x3ce3(_0x3fb05b,_0x3c1933);}import*as _0x4019f6 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x16789c(0x1f1)](_0x2f4626){const _0x49fad8=_0x16789c;return{'elementType':ElementType[_0x49fad8(0x1e5)],'elementId':'','textElement':{'content':_0x2f4626,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x224729,_0x4d6c55,_0x36fc16,_0x1b799d){const _0x2a3e54=_0x16789c;return{'elementType':ElementType[_0x2a3e54(0x1e5)],'elementId':'','textElement':{'content':'@'+_0x1b799d,'atType':_0x36fc16,'atUid':_0x224729,'atTinyId':'','atNtUid':_0x4d6c55}};}static[_0x16789c(0x1e3)](_0x319384,_0x4c2a02,_0x211278,_0x239b25){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x319384,'replayMsgId':_0x4c2a02,'senderUin':_0x211278,'senderUinStr':_0x239b25}};}static async[_0x16789c(0x1ac)](_0x35da0c,_0x450807='',_0x43712c=0x0){const _0x186e15=_0x16789c,_0xb81980={'mxHIi':_0x186e15(0x1c3),'PVvoD':function(_0x26bfbb,_0x238ba5){return _0x26bfbb(_0x238ba5);}},{md5:_0x225691,fileName:_0x132c0e,path:_0x1ced75,fileSize:_0x1f2282}=await NTQQFileApi[_0x186e15(0x1e0)](_0x35da0c,ElementType[_0x186e15(0x1c1)],_0x43712c);if(_0x1f2282===0x0)throw _0xb81980[_0x186e15(0x1f7)];const _0x1c48f4=await NTQQFileApi[_0x186e15(0x1aa)](_0x35da0c),_0x1dd04d={'md5HexStr':_0x225691,'fileSize':_0x1f2282[_0x186e15(0x1f0)](),'picWidth':_0x1c48f4?.['width'],'picHeight':_0x1c48f4?.['height'],'fileName':_0x132c0e,'sourcePath':_0x1ced75,'original':!![],'picType':_0xb81980[_0x186e15(0x1f9)](isGIF,_0x35da0c)?PicType[_0x186e15(0x1eb)]:PicType['jpg'],'picSubType':_0x43712c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x450807};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x1dd04d};}static async[_0x16789c(0x1e9)](_0x559650,_0x28da7b='',_0x2100ec=''){const _0xf4ff03=_0x16789c,_0x106489={'abbou':function(_0x5b270b,_0x31a88e){return _0x5b270b===_0x31a88e;}},{md5:_0x29f48e,fileName:_0x4b1b6a,path:_0x1941bb,fileSize:_0x2d026f}=await NTQQFileApi[_0xf4ff03(0x1e0)](_0x559650,ElementType['FILE']);if(_0x106489[_0xf4ff03(0x1cb)](_0x2d026f,0x0))throw _0xf4ff03(0x1c3);const _0x2194d3={'elementType':ElementType[_0xf4ff03(0x1b5)],'elementId':'','fileElement':{'fileName':_0x28da7b||_0x4b1b6a,'folderId':_0x2100ec,'filePath':_0x1941bb,'fileSize':_0x2d026f['toString']()}};return _0x2194d3;}static async['video'](_0x136d42,_0x192574='',_0x45b622=''){const _0x1de401=_0x16789c,_0x20d4b8={'vumaS':function(_0x1e92a9,_0x1e916e,_0x3259bf){return _0x1e92a9(_0x1e916e,_0x3259bf);},'oMPwq':_0x1de401(0x203),'pSeCe':function(_0x23f8e5,_0x2fcb01){return _0x23f8e5(_0x2fcb01);},'xHuUZ':function(_0x2c83cb,_0x5ca8be){return _0x2c83cb(_0x5ca8be);},'bSXVP':'end','YnZHc':_0x1de401(0x1a7),'vWCes':function(_0x88eed0,_0x3ae942){return _0x88eed0+_0x3ae942;},'NOwkD':function(_0x549826,_0x54c118){return _0x549826===_0x54c118;},'uequT':_0x1de401(0x1c3),'nKfCv':_0x1de401(0x1f5),'lKgiX':function(_0x41781e,_0x569402,_0x5dc001){return _0x41781e(_0x569402,_0x5dc001);},'tVvKM':_0x1de401(0x1ec),'oQkdJ':function(_0x4e0bac,_0xe248fb){return _0x4e0bac||_0xe248fb;}},{fileName:_0x1416fc,path:_0x5313be,fileSize:_0x521f52,md5:_0x5ada8f}=await NTQQFileApi[_0x1de401(0x1e0)](_0x136d42,ElementType[_0x1de401(0x1b3)]);if(_0x20d4b8['NOwkD'](_0x521f52,0x0))throw _0x20d4b8[_0x1de401(0x1ca)];let _0x55c4ce=_0x5313be[_0x1de401(0x1d3)](_0x4019f6['sep']+_0x1de401(0x1ef)+_0x4019f6[_0x1de401(0x1c0)],_0x4019f6[_0x1de401(0x1c0)]+_0x1de401(0x1db)+_0x4019f6['sep']);_0x55c4ce=_0x4019f6[_0x1de401(0x1bc)](_0x55c4ce);let _0x42d114={'width':0x780,'height':0x438,'time':0xf,'format':_0x20d4b8[_0x1de401(0x1d9)],'size':_0x521f52,'filePath':_0x136d42};try{_0x42d114=await getVideoInfo(_0x5313be);}catch(_0x223f0c){_0x20d4b8[_0x1de401(0x1ed)](logError,_0x20d4b8['tVvKM'],_0x223f0c);}const _0x58bb12=new Promise((_0x1c70e5,_0x5a8a8f)=>{const _0x4ac28e=_0x1de401,_0x599766={'OTnfh':function(_0x1d6eef,_0x42c554){const _0x9327fa=_0x3ce3;return _0x20d4b8[_0x9327fa(0x1f2)](_0x1d6eef,_0x42c554);}},_0x3e4aa6=_0x5ada8f+_0x4ac28e(0x1c2),_0x55a864=_0x4019f6[_0x4ac28e(0x202)](_0x55c4ce,_0x3e4aa6);_0x20d4b8[_0x4ac28e(0x1a9)](_0x1857b4,_0x136d42)['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{})['on'](_0x20d4b8[_0x4ac28e(0x1b7)],_0xcacad9=>{const _0x4bde1d=_0x4ac28e;_0x20d4b8[_0x4bde1d(0x1ba)](logDebug,_0x20d4b8[_0x4bde1d(0x1f6)],_0xcacad9),_0x45b622?_0x5c0afb[_0x4bde1d(0x1d7)](_0x45b622,_0x55a864)[_0x4bde1d(0x1ae)](()=>{_0x1c70e5(_0x55a864);})['catch'](_0x5a8a8f):_0x5c0afb['writeFile'](_0x55a864,defaultVideoThumb)['then'](()=>{const _0x5e88ae=_0x4bde1d;_0x599766[_0x5e88ae(0x1d1)](_0x1c70e5,_0x55a864);})[_0x4bde1d(0x1f4)](_0x5a8a8f);})[_0x4ac28e(0x201)]({'timestamps':[0x0],'filename':_0x3e4aa6,'folder':_0x55c4ce,'size':_0x20d4b8['vWCes'](_0x20d4b8[_0x4ac28e(0x1a8)](_0x42d114[_0x4ac28e(0x1d4)],'x'),_0x42d114[_0x4ac28e(0x1c9)])})['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{_0x1c70e5(_0x55a864);});}),_0xf459e3=new Map(),_0x49f1bb=await _0x58bb12,_0x1174fa=(await _0x5c0afb[_0x1de401(0x1f8)](_0x49f1bb))['size'];_0xf459e3[_0x1de401(0x1bb)](0x0,_0x49f1bb);const _0x5264c6=await _0x20d4b8[_0x1de401(0x1f2)](calculateFileMD5,_0x49f1bb),_0x42cad8={'elementType':ElementType[_0x1de401(0x1b3)],'elementId':'','videoElement':{'fileName':_0x20d4b8['oQkdJ'](_0x192574,_0x1416fc),'filePath':_0x5313be,'videoMd5':_0x5ada8f,'thumbMd5':_0x5264c6,'fileTime':_0x42d114[_0x1de401(0x1c8)],'thumbPath':_0xf459e3,'thumbSize':_0x1174fa,'thumbWidth':_0x42d114[_0x1de401(0x1d4)],'thumbHeight':_0x42d114['height'],'fileSize':_0x20d4b8['vWCes']('',_0x521f52)}};return _0x42cad8;}static async[_0x16789c(0x1ee)](_0x238ca6){const _0x128733=_0x16789c,_0x44e9ed={'BLJVA':function(_0x3f7d7c,_0x10ad10){return _0x3f7d7c(_0x10ad10);},'JSGuq':_0x128733(0x1cd),'bezRg':_0x128733(0x1c3),'aoPsH':function(_0x3c5327,_0x2cd618){return _0x3c5327||_0x2cd618;}},{converted:_0x1cae30,path:_0x69c1e4,duration:_0x909bb1}=await _0x44e9ed[_0x128733(0x1ce)](encodeSilk,_0x238ca6);if(!_0x69c1e4)throw _0x44e9ed[_0x128733(0x1fd)];const {md5:_0x1aa186,fileName:_0x4df358,path:_0x5e91d3,fileSize:_0x5e6be5}=await NTQQFileApi['uploadFile'](_0x69c1e4,ElementType['PTT']);if(_0x5e6be5===0x0)throw _0x44e9ed['bezRg'];return _0x1cae30&&_0x5c0afb[_0x128733(0x1e8)](_0x69c1e4)['then'](),{'elementType':ElementType[_0x128733(0x1b6)],'elementId':'','pttElement':{'fileName':_0x4df358,'filePath':_0x5e91d3,'md5HexStr':_0x1aa186,'fileSize':_0x5e6be5,'duration':_0x44e9ed['aoPsH'](_0x909bb1,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[_0x16789c(0x206)](_0x3929ea){const _0x1efb18=_0x16789c,_0x53d201={'sPCKQ':function(_0x49c7d7,_0x2f35a0){return _0x49c7d7(_0x2f35a0);},'VwMcK':function(_0x85030,_0x3e73a6){return _0x85030>=_0x3e73a6;}},_0x52b2b4=_0x35bc2e['sysface'],_0x5c2401=_0x35bc2e['emoji'],_0x2d3758=_0x52b2b4[_0x1efb18(0x1e6)](_0x18351f=>_0x18351f['QSid']===_0x3929ea[_0x1efb18(0x1f0)]());_0x3929ea=_0x53d201[_0x1efb18(0x1de)](parseInt,_0x3929ea[_0x1efb18(0x1f0)]());let _0x2489f5=0x1;return _0x53d201['VwMcK'](_0x3929ea,0xde)&&(_0x2489f5=0x2),_0x2d3758[_0x1efb18(0x1b8)]&&(_0x2489f5=0x3),{'elementType':ElementType[_0x1efb18(0x1d0)],'elementId':'','faceElement':{'faceIndex':_0x3929ea,'faceType':_0x2489f5,'faceText':_0x2d3758['QDes'],'stickerId':_0x2d3758[_0x1efb18(0x1b2)],'stickerType':_0x2d3758['AniStickerType'],'packId':_0x2d3758[_0x1efb18(0x1ff)],'sourceType':0x1}};}static[_0x16789c(0x1c5)](_0x32a7f5,_0x5b0633,_0xeff488,_0x4313d1){const _0x23f046=_0x16789c,_0x4fdc0f={'fiwtB':_0x23f046(0x1c6)};return{'elementType':ElementType[_0x23f046(0x1d5)],'marketFaceElement':{'emojiPackageId':_0x32a7f5,'emojiId':_0x5b0633,'key':_0xeff488,'faceName':_0x4313d1||mFaceCache[_0x23f046(0x1cf)](_0x5b0633)||_0x4fdc0f[_0x23f046(0x1fa)]}};}static[_0x16789c(0x1fb)](_0x5eb73c){const _0x2fbb48=_0x16789c,_0x1cd14e={'HtaZX':_0x2fbb48(0x1b1)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2fbb48(0x1fb)],'faceType':FaceType[_0x2fbb48(0x1fb)],'faceText':_0x1cd14e[_0x2fbb48(0x1bf)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1dc)](_0x31f781){const _0x168c53=_0x16789c,_0x32f4e9={'IYcbi':_0x168c53(0x1e1)};return{'elementType':ElementType[_0x168c53(0x1d0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x32f4e9[_0x168c53(0x1d6)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1b9)](_0x376b6e){const _0x3cb8d9=_0x16789c,_0x2096b6={'clHqu':function(_0xfd9dda,_0x423840){return _0xfd9dda!==_0x423840;},'Ousmq':_0x3cb8d9(0x1c4)};return _0x2096b6[_0x3cb8d9(0x1f3)](typeof _0x376b6e,_0x2096b6[_0x3cb8d9(0x1dd)])&&(_0x376b6e=JSON[_0x3cb8d9(0x1cc)](_0x376b6e)),{'elementType':ElementType[_0x3cb8d9(0x1df)],'elementId':'','arkElement':{'bytesData':_0x376b6e,'linkInfo':null,'subElementType':null}};}static[_0x16789c(0x204)](_0x4db0a4){const _0x1dc897=_0x16789c;return{'elementType':ElementType[_0x1dc897(0x1ea)],'elementId':'','markdownElement':{'content':_0x4db0a4}};}static async[_0x16789c(0x1fc)](){const _0x306a03=_0x16789c,_0xf9375e={'NTKKE':function(_0x59a005,_0x11af19){return _0x59a005(_0x11af19);},'smOwt':'Bot\x20Test','dsZYT':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','uiJWh':_0x306a03(0x1ad)};let _0xfb1ee5=await _0xf9375e[_0x306a03(0x1da)](SignMiniApp,{'prompt':_0xf9375e[_0x306a03(0x1b0)],'title':_0xf9375e['smOwt'],'preview':_0xf9375e['dsZYT'],'jumpUrl':_0x306a03(0x208),'tag':_0xf9375e[_0x306a03(0x1b0)],'tagIcon':_0xf9375e[_0x306a03(0x1be)],'source':_0xf9375e[_0x306a03(0x1b0)],'sourcelogo':_0x306a03(0x1ad)});return{'elementType':ElementType[_0x306a03(0x1df)],'elementId':'','arkElement':{'bytesData':_0xfb1ee5,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x95006f=_0x10d4;(function(_0xac883d,_0x14b4d4){const _0x42dfb8=_0x10d4,_0x52578a=_0xac883d();while(!![]){try{const _0xbb86a0=-parseInt(_0x42dfb8(0x213))/0x1+-parseInt(_0x42dfb8(0x214))/0x2+parseInt(_0x42dfb8(0x1f7))/0x3+-parseInt(_0x42dfb8(0x225))/0x4*(parseInt(_0x42dfb8(0x210))/0x5)+-parseInt(_0x42dfb8(0x228))/0x6*(parseInt(_0x42dfb8(0x1e1))/0x7)+parseInt(_0x42dfb8(0x218))/0x8+parseInt(_0x42dfb8(0x21f))/0x9*(parseInt(_0x42dfb8(0x1ec))/0xa);if(_0xbb86a0===_0x14b4d4)break;else _0x52578a['push'](_0x52578a['shift']());}catch(_0x12f2d6){_0x52578a['push'](_0x52578a['shift']());}}}(_0x18c3,0xde8c1));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x3b5ebe}from'node:fs';import _0x299dcf from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x279338 from'./face_config.json';import*as _0x56ff87 from'node:path';function _0x10d4(_0x7fd3a7,_0x380226){const _0x18c3de=_0x18c3();return _0x10d4=function(_0x10d4cb,_0x533684){_0x10d4cb=_0x10d4cb-0x1cd;let _0x22f977=_0x18c3de[_0x10d4cb];return _0x22f977;},_0x10d4(_0x7fd3a7,_0x380226);}function _0x18c3(){const _0x3984a1=['FILE','MFACE','zrhKl','nVdyH','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','Xjyva','PZhnT','time','[包剪锤]','TEXT','get','OVGBO','unlink','text','CegBy','width','sep','notAt','ICFzA','dirname','smaYU','AniStickerId','jbZCz','vfzyr','PIC','5015871wEImgO','ytXcE','DwbNW','rps','语音转换失败,\x20请检查语音文件是否正常','QSid','stat','face','writeFile','set','[商城表情]','26780230HiWYuh','ssWlj','reply','eEgKh','markdown','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','getImageSize','uKBLh','string','获取视频信息失败','LknvY','2606529BemfHU','find','beeAW','dice','FACE','cisvW','ARK','size','Thumb','RPS','mp4','QDes','gif','end','jpg','VIDEO','MARKDOWN','TETDy','REPLY','replace','krIxN','uploadFile','PTT','获取视频封面失败,使用默认封面','GTYaH','215JGBkSj','join','文件异常,大小为0','599543XwsiPj','2346956oelHdX','sysface','Ori','catch','4941816dRsjYA','stringify','toString','_0.png','mface','aRerE','emoji','9TuAvPL','height','Bot\x20Test','then','AniStickerType','RpmYz','4364YcCCIY','DKtxc','video','12oeIYKx','error','bzEVU'];_0x18c3=function(){return _0x3984a1;};return _0x18c3();}import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x95006f(0x1d5)](_0x2c8fda){const _0x39740b=_0x95006f;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x2c8fda,'atType':AtType[_0x39740b(0x1d9)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0xb81d4f,_0x4ac509,_0xd4c6d,_0x17906a){const _0x45f967=_0x95006f;return{'elementType':ElementType[_0x45f967(0x1d1)],'elementId':'','textElement':{'content':'@'+_0x17906a,'atType':_0xd4c6d,'atUid':_0xb81d4f,'atTinyId':'','atNtUid':_0x4ac509}};}static[_0x95006f(0x1ee)](_0x33b2f5,_0x429c8f,_0x4999f2,_0x24396b){const _0x32e94b=_0x95006f;return{'elementType':ElementType[_0x32e94b(0x209)],'elementId':'','replyElement':{'replayMsgSeq':_0x33b2f5,'replayMsgId':_0x429c8f,'senderUin':_0x4999f2,'senderUinStr':_0x24396b}};}static async['pic'](_0x5d6661,_0x3d4063='',_0x2907c0=0x0){const _0x165d65=_0x95006f,_0x4a98ba={'GTYaH':_0x165d65(0x212),'UopGp':function(_0x349248,_0x4c64ca){return _0x349248(_0x4c64ca);}},{md5:_0x5eb630,fileName:_0xb21a82,path:_0x80cd0c,fileSize:_0x30dd2f}=await NTQQFileApi[_0x165d65(0x20c)](_0x5d6661,ElementType[_0x165d65(0x1e0)],_0x2907c0);if(_0x30dd2f===0x0)throw _0x4a98ba[_0x165d65(0x20f)];const _0x196697=await NTQQFileApi[_0x165d65(0x1f2)](_0x5d6661),_0x1caff6={'md5HexStr':_0x5eb630,'fileSize':_0x30dd2f[_0x165d65(0x21a)](),'picWidth':_0x196697?.[_0x165d65(0x1d7)],'picHeight':_0x196697?.['height'],'fileName':_0xb21a82,'sourcePath':_0x80cd0c,'original':!![],'picType':_0x4a98ba['UopGp'](isGIF,_0x5d6661)?PicType[_0x165d65(0x203)]:PicType[_0x165d65(0x205)],'picSubType':_0x2907c0,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3d4063};return{'elementType':ElementType[_0x165d65(0x1e0)],'elementId':'','picElement':_0x1caff6};}static async['file'](_0x5c86a3,_0x5050cb='',_0x5a95a0=''){const _0x291d5f=_0x95006f,_0xc2d51c={'sXycg':function(_0xf10b2a,_0x231af3){return _0xf10b2a===_0x231af3;},'ytXcE':_0x291d5f(0x212),'bzEVU':function(_0x5010ef,_0x1a8e38){return _0x5010ef||_0x1a8e38;}},{md5:_0x4f3684,fileName:_0x48b9f3,path:_0x374acf,fileSize:_0x5301ef}=await NTQQFileApi[_0x291d5f(0x20c)](_0x5c86a3,ElementType[_0x291d5f(0x22b)]);if(_0xc2d51c['sXycg'](_0x5301ef,0x0))throw _0xc2d51c[_0x291d5f(0x1e2)];const _0x520f85={'elementType':ElementType[_0x291d5f(0x22b)],'elementId':'','fileElement':{'fileName':_0xc2d51c[_0x291d5f(0x22a)](_0x5050cb,_0x48b9f3),'folderId':_0x5a95a0,'filePath':_0x374acf,'fileSize':_0x5301ef['toString']()}};return _0x520f85;}static async[_0x95006f(0x227)](_0x1792d5,_0x4376de='',_0x5c54cb=''){const _0x2e52a6=_0x95006f,_0x208c09={'ssWlj':function(_0x38c88d,_0x5c6457){return _0x38c88d(_0x5c6457);},'VMxRK':_0x2e52a6(0x20e),'uKBLh':_0x2e52a6(0x204),'CegBy':function(_0x5d0e48,_0x594d8d){return _0x5d0e48+_0x594d8d;},'BctGe':function(_0x16d96a,_0x7585c8){return _0x16d96a+_0x7585c8;},'LknvY':_0x2e52a6(0x212),'BIixV':_0x2e52a6(0x201),'OQQtp':function(_0x3c3abd,_0xf85f56,_0xb734c0){return _0x3c3abd(_0xf85f56,_0xb734c0);},'bzNmd':_0x2e52a6(0x1f5)},{fileName:_0x3aa397,path:_0x4adaad,fileSize:_0x21ec3e,md5:_0x2f4d9c}=await NTQQFileApi[_0x2e52a6(0x20c)](_0x1792d5,ElementType[_0x2e52a6(0x206)]);if(_0x21ec3e===0x0)throw _0x208c09[_0x2e52a6(0x1f6)];let _0x39bd37=_0x4adaad[_0x2e52a6(0x20a)](_0x56ff87[_0x2e52a6(0x1d8)]+_0x2e52a6(0x216)+_0x56ff87[_0x2e52a6(0x1d8)],_0x56ff87[_0x2e52a6(0x1d8)]+_0x2e52a6(0x1ff)+_0x56ff87['sep']);_0x39bd37=_0x56ff87[_0x2e52a6(0x1db)](_0x39bd37);let _0x48a3bb={'width':0x780,'height':0x438,'time':0xf,'format':_0x208c09['BIixV'],'size':_0x21ec3e,'filePath':_0x1792d5};try{_0x48a3bb=await _0x208c09[_0x2e52a6(0x1ed)](getVideoInfo,_0x4adaad);}catch(_0x59d88f){_0x208c09['OQQtp'](logError,_0x208c09['bzNmd'],_0x59d88f);}const _0x39216a=new Promise((_0x132365,_0x461d31)=>{const _0x104b90=_0x2e52a6,_0xfd0083={'DwbNW':function(_0x48dde1,_0x4b85ee){return _0x208c09['ssWlj'](_0x48dde1,_0x4b85ee);},'aRerE':function(_0x2f97c5,_0x49eeaf){return _0x2f97c5(_0x49eeaf);},'krIxN':function(_0x2519b9,_0x531805,_0x10cba7){return _0x2519b9(_0x531805,_0x10cba7);},'DKtxc':_0x208c09['VMxRK']},_0xf2e9d5=_0x2f4d9c+_0x104b90(0x21b),_0x31eeb0=_0x56ff87[_0x104b90(0x211)](_0x39bd37,_0xf2e9d5);_0x208c09['ssWlj'](_0x299dcf,_0x1792d5)['on'](_0x208c09[_0x104b90(0x1f3)],()=>{})['on'](_0x104b90(0x229),_0x2a2902=>{const _0x51f5b1=_0x104b90,_0x18c6f8={'PZhnT':function(_0x3990b4,_0x13498d){const _0x19adf3=_0x10d4;return _0xfd0083[_0x19adf3(0x1e3)](_0x3990b4,_0x13498d);},'eEgKh':function(_0x4e02ec,_0xc8c702){const _0x5f55a3=_0x10d4;return _0xfd0083[_0x5f55a3(0x21d)](_0x4e02ec,_0xc8c702);}};_0xfd0083[_0x51f5b1(0x20b)](logDebug,_0xfd0083[_0x51f5b1(0x226)],_0x2a2902),_0x5c54cb?_0x3b5ebe['copyFile'](_0x5c54cb,_0x31eeb0)[_0x51f5b1(0x222)](()=>{const _0x3054d4=_0x51f5b1;_0x18c6f8[_0x3054d4(0x1ce)](_0x132365,_0x31eeb0);})[_0x51f5b1(0x217)](_0x461d31):_0x3b5ebe[_0x51f5b1(0x1e9)](_0x31eeb0,defaultVideoThumb)[_0x51f5b1(0x222)](()=>{const _0x4afa26=_0x51f5b1;_0x18c6f8[_0x4afa26(0x1ef)](_0x132365,_0x31eeb0);})[_0x51f5b1(0x217)](_0x461d31);})['screenshots']({'timestamps':[0x0],'filename':_0xf2e9d5,'folder':_0x39bd37,'size':_0x208c09[_0x104b90(0x1d6)](_0x208c09['BctGe'](_0x48a3bb[_0x104b90(0x1d7)],'x'),_0x48a3bb[_0x104b90(0x220)])})['on'](_0x208c09['uKBLh'],()=>{_0x132365(_0x31eeb0);});}),_0x5d8dd1=new Map(),_0x453c0b=await _0x39216a,_0x1f206d=(await _0x3b5ebe[_0x2e52a6(0x1e7)](_0x453c0b))[_0x2e52a6(0x1fe)];_0x5d8dd1[_0x2e52a6(0x1ea)](0x0,_0x453c0b);const _0x3ffcd9=await _0x208c09[_0x2e52a6(0x1ed)](calculateFileMD5,_0x453c0b),_0x47cee3={'elementType':ElementType[_0x2e52a6(0x206)],'elementId':'','videoElement':{'fileName':_0x4376de||_0x3aa397,'filePath':_0x4adaad,'videoMd5':_0x2f4d9c,'thumbMd5':_0x3ffcd9,'fileTime':_0x48a3bb[_0x2e52a6(0x1cf)],'thumbPath':_0x5d8dd1,'thumbSize':_0x1f206d,'thumbWidth':_0x48a3bb[_0x2e52a6(0x1d7)],'thumbHeight':_0x48a3bb[_0x2e52a6(0x220)],'fileSize':_0x208c09[_0x2e52a6(0x1d6)]('',_0x21ec3e)}};return _0x47cee3;}static async['ptt'](_0x1c5758){const _0x37f997=_0x95006f,_0x44ba48={'beeAW':function(_0x3a0d2a,_0x2c2835){return _0x3a0d2a(_0x2c2835);},'KJETn':_0x37f997(0x1e5),'vfzyr':function(_0x5c34d0,_0x55e34e){return _0x5c34d0===_0x55e34e;},'Xjyva':_0x37f997(0x212)},{converted:_0x5ebf98,path:_0x1e5869,duration:_0x34a7fe}=await _0x44ba48[_0x37f997(0x1f9)](encodeSilk,_0x1c5758);if(!_0x1e5869)throw _0x44ba48['KJETn'];const {md5:_0x4ac691,fileName:_0x5c6ad5,path:_0x59770b,fileSize:_0x5de978}=await NTQQFileApi['uploadFile'](_0x1e5869,ElementType[_0x37f997(0x20d)]);if(_0x44ba48[_0x37f997(0x1df)](_0x5de978,0x0))throw _0x44ba48[_0x37f997(0x1cd)];return _0x5ebf98&&_0x3b5ebe[_0x37f997(0x1d4)](_0x1e5869)[_0x37f997(0x222)](),{'elementType':ElementType[_0x37f997(0x20d)],'elementId':'','pttElement':{'fileName':_0x5c6ad5,'filePath':_0x59770b,'md5HexStr':_0x4ac691,'fileSize':_0x5de978,'duration':_0x34a7fe||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[_0x95006f(0x1e8)](_0x5eb14c){const _0x2cd50c=_0x95006f,_0x18d92f={'cisvW':function(_0x91165e,_0x149700){return _0x91165e(_0x149700);},'TETDy':function(_0x15791f,_0x59f85f){return _0x15791f>=_0x59f85f;}},_0x4dbb03=_0x279338[_0x2cd50c(0x215)],_0x5af5e9=_0x279338[_0x2cd50c(0x21e)],_0xd3ea24=_0x4dbb03[_0x2cd50c(0x1f8)](_0x55a8ee=>_0x55a8ee[_0x2cd50c(0x1e6)]===_0x5eb14c['toString']());_0x5eb14c=_0x18d92f[_0x2cd50c(0x1fc)](parseInt,_0x5eb14c[_0x2cd50c(0x21a)]());let _0x564a5b=0x1;return _0x18d92f[_0x2cd50c(0x208)](_0x5eb14c,0xde)&&(_0x564a5b=0x2),_0xd3ea24[_0x2cd50c(0x223)]&&(_0x564a5b=0x3),{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':_0x5eb14c,'faceType':_0x564a5b,'faceText':_0xd3ea24[_0x2cd50c(0x202)],'stickerId':_0xd3ea24[_0x2cd50c(0x1dd)],'stickerType':_0xd3ea24[_0x2cd50c(0x223)],'packId':_0xd3ea24['AniStickerPackId'],'sourceType':0x1}};}static[_0x95006f(0x21c)](_0x47ba90,_0x23cefa,_0x5e11c2,_0x24f461){const _0x7bc00a=_0x95006f;return{'elementType':ElementType[_0x7bc00a(0x22c)],'marketFaceElement':{'emojiPackageId':_0x47ba90,'emojiId':_0x23cefa,'key':_0x5e11c2,'faceName':_0x24f461||mFaceCache[_0x7bc00a(0x1d2)](_0x23cefa)||_0x7bc00a(0x1eb)}};}static[_0x95006f(0x1fa)](_0x5ad4fd){const _0x59bfec=_0x95006f;return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x59bfec(0x1fa)],'faceType':FaceType['dice'],'faceText':'[骰子]','packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x95006f(0x1e4)](_0x2a5cde){const _0x4d0f7e=_0x95006f,_0x3cf8b7={'RpmYz':_0x4d0f7e(0x1d0)};return{'elementType':ElementType[_0x4d0f7e(0x1fb)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x4d0f7e(0x200)],'faceText':_0x3cf8b7[_0x4d0f7e(0x224)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x1b895d){const _0x2f7ab7=_0x95006f,_0xbb55f6={'zrhKl':function(_0x4d713a,_0x59c073){return _0x4d713a!==_0x59c073;},'jbZCz':_0x2f7ab7(0x1f4)};return _0xbb55f6[_0x2f7ab7(0x22d)](typeof _0x1b895d,_0xbb55f6[_0x2f7ab7(0x1de)])&&(_0x1b895d=JSON[_0x2f7ab7(0x219)](_0x1b895d)),{'elementType':ElementType[_0x2f7ab7(0x1fd)],'elementId':'','arkElement':{'bytesData':_0x1b895d,'linkInfo':null,'subElementType':null}};}static[_0x95006f(0x1f0)](_0x4d49f2){const _0x1e2c48=_0x95006f;return{'elementType':ElementType[_0x1e2c48(0x207)],'elementId':'','markdownElement':{'content':_0x4d49f2}};}static async['miniapp'](){const _0x27a95d=_0x95006f,_0x563bfc={'cSfTU':function(_0x3210a3,_0x245091){return _0x3210a3(_0x245091);},'ICFzA':_0x27a95d(0x221),'OVGBO':_0x27a95d(0x1f1),'smaYU':'https://www.bilibili.com/','nVdyH':_0x27a95d(0x22f)};let _0xb65807=await _0x563bfc['cSfTU'](SignMiniApp,{'prompt':_0x563bfc['ICFzA'],'title':_0x563bfc[_0x27a95d(0x1da)],'preview':_0x563bfc[_0x27a95d(0x1d3)],'jumpUrl':_0x563bfc[_0x27a95d(0x1dc)],'tag':_0x563bfc[_0x27a95d(0x1da)],'tagIcon':_0x563bfc[_0x27a95d(0x22e)],'source':_0x563bfc[_0x27a95d(0x1da)],'sourcelogo':_0x27a95d(0x22f)});return{'elementType':ElementType[_0x27a95d(0x1fd)],'elementId':'','arkElement':{'bytesData':_0xb65807,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 64acc9c7f..cd0bdf94c 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x4923(_0x3352e3,_0x1037f9){var _0x52d06c=_0x52d0();return _0x4923=function(_0x492303,_0x267d0b){_0x492303=_0x492303-0xe3;var _0x43b8f6=_0x52d06c[_0x492303];return _0x43b8f6;},_0x4923(_0x3352e3,_0x1037f9);}(function(_0x25c698,_0x1099eb){var _0x1f3956=_0x4923,_0x193b6a=_0x25c698();while(!![]){try{var _0x30bc77=parseInt(_0x1f3956(0xed))/0x1*(parseInt(_0x1f3956(0xeb))/0x2)+-parseInt(_0x1f3956(0xe6))/0x3*(-parseInt(_0x1f3956(0xf3))/0x4)+parseInt(_0x1f3956(0xf0))/0x5*(-parseInt(_0x1f3956(0xea))/0x6)+-parseInt(_0x1f3956(0xe7))/0x7*(-parseInt(_0x1f3956(0xee))/0x8)+-parseInt(_0x1f3956(0xf1))/0x9+parseInt(_0x1f3956(0xf2))/0xa+-parseInt(_0x1f3956(0xef))/0xb;if(_0x30bc77===_0x1099eb)break;else _0x193b6a['push'](_0x193b6a['shift']());}catch(_0x5cad47){_0x193b6a['push'](_0x193b6a['shift']());}}}(_0x52d0,0x2c60a));export var GroupMemberRole;function _0x52d0(){var _0x1ad24a=['1557180mAOyVX','1206220rqUGxk','242876PIjGFm','ZArep','admin','SOcBJ','3kMSbui','185066rXgstL','normal','owner','1198818gfUJyl','6rplRVa','EYwvX','87163GvLkhW','80lSmGAq','1678787icjYkq','5ZhwNYp'];_0x52d0=function(){return _0x1ad24a;};return _0x52d0();}(function(_0x4c1f7d){var _0x132cd9=_0x4923,_0x56e00d={'ZArep':_0x132cd9(0xe8),'EYwvX':_0x132cd9(0xe4),'SOcBJ':_0x132cd9(0xe9)};_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe3)]]=0x2]='normal',_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xec)]]=0x3]=_0x56e00d['EYwvX'],_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe5)]]=0x4]=_0x56e00d[_0x132cd9(0xe5)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x4db119,_0x4b05e0){var _0x1bad7c=_0x2b0b,_0x54aceb=_0x4db119();while(!![]){try{var _0x44f32f=-parseInt(_0x1bad7c(0x199))/0x1*(parseInt(_0x1bad7c(0x19e))/0x2)+parseInt(_0x1bad7c(0x198))/0x3*(parseInt(_0x1bad7c(0x195))/0x4)+parseInt(_0x1bad7c(0x19b))/0x5+parseInt(_0x1bad7c(0x19f))/0x6+parseInt(_0x1bad7c(0x19d))/0x7*(parseInt(_0x1bad7c(0x191))/0x8)+-parseInt(_0x1bad7c(0x196))/0x9+parseInt(_0x1bad7c(0x197))/0xa*(-parseInt(_0x1bad7c(0x192))/0xb);if(_0x44f32f===_0x4b05e0)break;else _0x54aceb['push'](_0x54aceb['shift']());}catch(_0x14b962){_0x54aceb['push'](_0x54aceb['shift']());}}}(_0x1f97,0x3db91));function _0x2b0b(_0x538f9f,_0x5582ac){var _0x1f97fa=_0x1f97();return _0x2b0b=function(_0x2b0bf1,_0x135b0c){_0x2b0bf1=_0x2b0bf1-0x190;var _0x5f3adb=_0x1f97fa[_0x2b0bf1];return _0x5f3adb;},_0x2b0b(_0x538f9f,_0x5582ac);}function _0x1f97(){var _0x22ffdb=['1687080iHnpNc','DjMdz','admin','40vkEDXr','1859825venHlN','AfTDd','CiFCf','1676JckPgF','2308446yzXcId','40kUCoOa','1230hEwGux','13lkrPEb','normal','1594270DpVcas','owner','652666mOiTzy','8062RnBZrv'];_0x1f97=function(){return _0x22ffdb;};return _0x1f97();}export var GroupMemberRole;(function(_0x3507fe){var _0x4a0fb9=_0x2b0b,_0x4a3619={'DjMdz':_0x4a0fb9(0x19a),'AfTDd':_0x4a0fb9(0x190),'CiFCf':_0x4a0fb9(0x19c)};_0x3507fe[_0x3507fe[_0x4a3619[_0x4a0fb9(0x1a0)]]=0x2]=_0x4a3619[_0x4a0fb9(0x1a0)],_0x3507fe[_0x3507fe[_0x4a3619[_0x4a0fb9(0x193)]]=0x3]=_0x4a3619[_0x4a0fb9(0x193)],_0x3507fe[_0x3507fe[_0x4a3619[_0x4a0fb9(0x194)]]=0x4]=_0x4a3619[_0x4a0fb9(0x194)];}(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 43a3367f8..7324084aa 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x55ea5e,_0x36ea4b){var _0x5ba074=_0x4dac,_0x5b1262=_0x55ea5e();while(!![]){try{var _0x5420e8=parseInt(_0x5ba074(0x83))/0x1*(-parseInt(_0x5ba074(0x84))/0x2)+-parseInt(_0x5ba074(0x82))/0x3*(parseInt(_0x5ba074(0x88))/0x4)+-parseInt(_0x5ba074(0x89))/0x5+parseInt(_0x5ba074(0x87))/0x6+-parseInt(_0x5ba074(0x8b))/0x7+parseInt(_0x5ba074(0x86))/0x8+parseInt(_0x5ba074(0x8a))/0x9*(parseInt(_0x5ba074(0x85))/0xa);if(_0x5420e8===_0x36ea4b)break;else _0x5b1262['push'](_0x5b1262['shift']());}catch(_0x543df5){_0x5b1262['push'](_0x5b1262['shift']());}}}(_0x3641,0xde825));export*from'./user';export*from'./group';function _0x4dac(_0x16b3aa,_0x425b45){var _0x3641fb=_0x3641();return _0x4dac=function(_0x4dacc7,_0x52f81c){_0x4dacc7=_0x4dacc7-0x82;var _0x6bd1ac=_0x3641fb[_0x4dacc7];return _0x6bd1ac;},_0x4dac(_0x16b3aa,_0x425b45);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x3641(){var _0x120bc6=['4875160cvjxMU','7698378uwybHe','252tieQVH','6500555YHLyKa','18UxlMsg','695471KcNYvw','19713zrkBaD','1786bLNRBF','1468aRCHVI','10716500CiwJBR'];_0x3641=function(){return _0x120bc6;};return _0x3641();} \ No newline at end of file +(function(_0x361fdf,_0x35e488){var _0x210ca7=_0x4ea0,_0x52897f=_0x361fdf();while(!![]){try{var _0x14933b=parseInt(_0x210ca7(0xc3))/0x1*(-parseInt(_0x210ca7(0xc1))/0x2)+parseInt(_0x210ca7(0xc7))/0x3+-parseInt(_0x210ca7(0xbf))/0x4*(parseInt(_0x210ca7(0xc8))/0x5)+parseInt(_0x210ca7(0xc4))/0x6*(parseInt(_0x210ca7(0xc2))/0x7)+-parseInt(_0x210ca7(0xc9))/0x8+-parseInt(_0x210ca7(0xc0))/0x9*(parseInt(_0x210ca7(0xbe))/0xa)+-parseInt(_0x210ca7(0xc6))/0xb*(-parseInt(_0x210ca7(0xc5))/0xc);if(_0x14933b===_0x35e488)break;else _0x52897f['push'](_0x52897f['shift']());}catch(_0x86feb3){_0x52897f['push'](_0x52897f['shift']());}}}(_0x3b9f,0x7ec2d));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x4ea0(_0x38d01d,_0x22957a){var _0x3b9fad=_0x3b9f();return _0x4ea0=function(_0x4ea0d4,_0x54b345){_0x4ea0d4=_0x4ea0d4-0xbe;var _0x4b5491=_0x3b9fad[_0x4ea0d4];return _0x4b5491;},_0x4ea0(_0x38d01d,_0x22957a);}export*from'./constructor';function _0x3b9f(){var _0x4ad6c8=['755148SSOHFl','451nPuqIe','109173MbiVqQ','2431885GEwNnI','5198432TwhsPe','130gddrol','4ItzXPl','621774RQUWiJ','8076liBokj','3171532lkImuT','240YoRTsd','12oLkIOS'];_0x3b9f=function(){return _0x4ad6c8;};return _0x3b9f();} \ 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 1ed5920f3..f68807c20 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x1614fa=_0x1eff;(function(_0x216f69,_0x1f5586){var _0x104a36=_0x1eff,_0x9c068f=_0x216f69();while(!![]){try{var _0x409125=-parseInt(_0x104a36(0xce))/0x1+-parseInt(_0x104a36(0x122))/0x2+-parseInt(_0x104a36(0xc8))/0x3*(-parseInt(_0x104a36(0xc7))/0x4)+parseInt(_0x104a36(0xb8))/0x5+parseInt(_0x104a36(0x136))/0x6*(-parseInt(_0x104a36(0x116))/0x7)+parseInt(_0x104a36(0x130))/0x8*(-parseInt(_0x104a36(0xb6))/0x9)+parseInt(_0x104a36(0xff))/0xa;if(_0x409125===_0x1f5586)break;else _0x9c068f['push'](_0x9c068f['shift']());}catch(_0x355579){_0x9c068f['push'](_0x9c068f['shift']());}}}(_0x1039,0x82ddb));export var ElementType;(function(_0x237b49){var _0x516f63=_0x1eff,_0x104165={'jwWqT':_0x516f63(0x10d),'vRpJn':_0x516f63(0x13a),'UrtYJ':_0x516f63(0xc1),'URoDV':_0x516f63(0x113),'dVkSi':_0x516f63(0x10e),'zMfME':_0x516f63(0xd6),'LYrIC':_0x516f63(0xfa),'fcgmy':_0x516f63(0xd3),'KDmac':_0x516f63(0xc0),'aMpGJ':_0x516f63(0xf5)},_0x1691f3=_0x104165[_0x516f63(0xfd)]['split']('|'),_0x323c0f=0x0;while(!![]){switch(_0x1691f3[_0x323c0f++]){case'0':_0x237b49[_0x237b49[_0x104165['vRpJn']]=0xa]=_0x516f63(0x13a);continue;case'1':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x11f)]]=0x6]=_0x104165[_0x516f63(0x11f)];continue;case'2':_0x237b49[_0x237b49[_0x104165['URoDV']]=0x1]=_0x104165[_0x516f63(0xba)];continue;case'3':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x123)]]=0xe]=_0x104165[_0x516f63(0x123)];continue;case'4':_0x237b49[_0x237b49[_0x516f63(0x10c)]=0x7]=_0x516f63(0x10c);continue;case'5':_0x237b49[_0x237b49[_0x104165['zMfME']]=0x3]='FILE';continue;case'6':_0x237b49[_0x237b49[_0x516f63(0xfa)]=0xb]=_0x104165[_0x516f63(0x127)];continue;case'7':_0x237b49[_0x237b49[_0x104165['fcgmy']]=0x2]=_0x104165[_0x516f63(0x143)];continue;case'8':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x142)]]=0x5]=_0x104165[_0x516f63(0x142)];continue;case'9':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x138)]]=0x4]=_0x104165['aMpGJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x32f716){var _0x5f4e96=_0x1eff,_0x5a6a76={'YnPEN':'gif','mcJMu':'jpg'};_0x32f716[_0x32f716[_0x5a6a76[_0x5f4e96(0x12f)]]=0x7d0]=_0x5a6a76[_0x5f4e96(0x12f)],_0x32f716[_0x32f716[_0x5f4e96(0x144)]=0x3e8]=_0x5a6a76[_0x5f4e96(0xe1)];}(PicType||(PicType={})));export var PicSubType;(function(_0x54a039){var _0x42cafb=_0x1eff,_0x124eeb={'jZFIe':_0x42cafb(0x119),'QKzIp':_0x42cafb(0xc6)};_0x54a039[_0x54a039[_0x124eeb[_0x42cafb(0x12b)]]=0x0]=_0x124eeb[_0x42cafb(0x12b)],_0x54a039[_0x54a039[_0x42cafb(0xc6)]=0x1]=_0x124eeb['QKzIp'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0xf3b7b){var _0x22466d=_0x1eff,_0x95d600={'mMpuT':_0x22466d(0xf3),'vCjNh':'atAll','YXOnc':_0x22466d(0x146)};_0xf3b7b[_0xf3b7b[_0x95d600[_0x22466d(0x141)]]=0x0]=_0x22466d(0xf3),_0xf3b7b[_0xf3b7b['atAll']=0x1]=_0x95d600[_0x22466d(0x111)],_0xf3b7b[_0xf3b7b[_0x95d600['YXOnc']]=0x2]=_0x95d600[_0x22466d(0x133)];}(AtType||(AtType={})));export var ChatType;(function(_0x4c9e9e){var _0x3ed32a=_0x1eff,_0x3cc285={'cfypE':_0x3ed32a(0x13c),'ERnio':_0x3ed32a(0x147),'YeOvC':'chatDevice','oXNui':'temp'};_0x4c9e9e[_0x4c9e9e[_0x3ed32a(0x13c)]=0x1]=_0x3cc285[_0x3ed32a(0x134)],_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x11e)]]=0x2]='group',_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x108)]]=0x8]=_0x3ed32a(0xed),_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0xe9)]]=0x64]=_0x3ed32a(0xe6);}(ChatType||(ChatType={})));export var ChatType2;function _0x1eff(_0x10301d,_0x365f33){var _0x10399b=_0x1039();return _0x1eff=function(_0x1eff99,_0x4a9c94){_0x1eff99=_0x1eff99-0xb3;var _0x187b74=_0x10399b[_0x1eff99];return _0x187b74;},_0x1eff(_0x10301d,_0x365f33);}(function(_0x59b4f8){var _0x826447=_0x1eff,_0x3e677a={'UpadC':_0x826447(0x14b),'gdzxo':_0x826447(0xd1),'ymTzB':_0x826447(0xfc),'dGxuA':_0x826447(0x11d),'HxAvR':'KCHATTYPEGUILDMETA','Srabh':_0x826447(0xf9),'HSfGZ':'KCHATTYPETEMPC2CFROMUNKNOWN','BhERW':_0x826447(0xeb),'WaOsm':_0x826447(0x13e),'gPvrK':_0x826447(0xf4),'yoRiB':_0x826447(0x104),'XsgTm':_0x826447(0xc9),'vyWwv':'KCHATTYPEGROUPNOTIFY','iCOcV':_0x826447(0xca),'IKynV':'KCHATTYPENEARBYINTERACT','HxSDB':'KCHATTYPETEMPADDRESSBOOK','hvOop':_0x826447(0x101),'cFaKb':_0x826447(0xd8),'xBFCu':'KCHATTYPETEMPBUSSINESSCRM','zhKtV':'KCHATTYPENEARBY','MFyma':'KCHATTYPETEMPWPA','JkRtK':_0x826447(0xc5),'leaCO':_0x826447(0x102),'WAjpr':_0x826447(0x129),'qqjnz':_0x826447(0xbd),'FhvhA':_0x826447(0x135),'twqNy':_0x826447(0xe5),'odZZI':_0x826447(0xcb),'ivnKv':'KCHATTYPEQQNOTIFY','rEOiI':_0x826447(0x139),'isgtv':_0x826447(0x118),'dbmas':_0x826447(0x132),'aQXDw':_0x826447(0x117),'iknPI':_0x826447(0x100),'FXspJ':_0x826447(0xe3),'PfPWg':'KCHATTYPEGUILD','KAGlN':_0x826447(0x124),'bxEez':_0x826447(0x13f),'VmnqA':_0x826447(0xdf),'yVqzH':_0x826447(0x112)},_0x5db81b=_0x3e677a[_0x826447(0xbb)][_0x826447(0xe0)]('|'),_0x54374d=0x0;while(!![]){switch(_0x5db81b[_0x54374d++]){case'0':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10a)]]=0x69]='KCHATTYPEGAMEMESSAGE';continue;case'1':_0x59b4f8[_0x59b4f8[_0x3e677a['ymTzB']]=0x8]=_0x3e677a[_0x826447(0x121)];continue;case'2':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x103)]]=0x2]=_0x3e677a[_0x826447(0x103)];continue;case'3':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x149)]]=0x10]=_0x3e677a['HxAvR'];continue;case'4':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x106)]]=0x76]=_0x3e677a['Srabh'];continue;case'5':_0x59b4f8[_0x59b4f8[_0x826447(0xf1)]=0x63]=_0x3e677a[_0x826447(0x140)];continue;case'6':_0x59b4f8[_0x59b4f8[_0x3e677a['BhERW']]=0x6b]=_0x826447(0xeb);continue;case'7':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xea)]]=0x65]=_0x3e677a['WaOsm'];continue;case'8':_0x59b4f8[_0x59b4f8[_0x3e677a['gPvrK']]=0x29]=_0x3e677a[_0x826447(0xd9)];continue;case'9':_0x59b4f8[_0x59b4f8['KCHATTYPEGAMEMESSAGEFOLDER']=0x74]=_0x3e677a['yoRiB'];continue;case'10':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xde)]]=0x70]='KCHATTYPENEARBYHELLOFOLDER';continue;case'11':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11a)]]=0x6]=_0x3e677a['vyWwv'];continue;case'12':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xc2)]]=0xc9]=_0x3e677a[_0x826447(0xc2)];continue;case'13':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x14c)]]=0x6c]=_0x3e677a[_0x826447(0x14c)];continue;case'14':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x13d)]]=0x6f]=_0x3e677a[_0x826447(0x13d)];continue;case'15':_0x59b4f8[_0x59b4f8[_0x826447(0xe2)]=0x7]=_0x826447(0xe2);continue;case'16':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf7)]]=0x6e]=_0x3e677a[_0x826447(0xf7)];continue;case'17':_0x59b4f8[_0x59b4f8[_0x3e677a['cFaKb']]=0x6d]=_0x826447(0xd8);continue;case'18':_0x59b4f8[_0x59b4f8[_0x3e677a['xBFCu']]=0x66]=_0x3e677a[_0x826447(0xcf)];continue;case'19':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11c)]]=0x6a]=_0x3e677a[_0x826447(0x11c)];continue;case'20':_0x59b4f8[_0x59b4f8[_0x3e677a['MFyma']]=0x75]=_0x3e677a['MFyma'];continue;case'21':_0x59b4f8[_0x59b4f8[_0x826447(0xc5)]=0x67]=_0x3e677a['JkRtK'];continue;case'22':_0x59b4f8[_0x59b4f8[_0x3e677a['leaCO']]=0x83]=_0x3e677a[_0x826447(0x107)];continue;case'23':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf8)]]=0x1]=_0x826447(0x129);continue;case'24':_0x59b4f8[_0x59b4f8[_0x3e677a['qqjnz']]=0x71]=_0x3e677a['qqjnz'];continue;case'25':_0x59b4f8[_0x59b4f8[_0x3e677a['FhvhA']]=0x86]=_0x3e677a[_0x826447(0xdc)];continue;case'26':_0x59b4f8[_0x59b4f8[_0x3e677a['twqNy']]=0x77]=_0x3e677a[_0x826447(0x109)];continue;case'27':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10f)]]=0x5]=_0x3e677a['odZZI'];continue;case'28':_0x59b4f8[_0x59b4f8[_0x3e677a['ivnKv']]=0x84]=_0x3e677a[_0x826447(0xc3)];continue;case'29':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x137)]]=0x9]=_0x3e677a[_0x826447(0x137)];continue;case'30':_0x59b4f8[_0x59b4f8[_0x826447(0x118)]=0x0]=_0x3e677a[_0x826447(0xbe)];continue;case'31':_0x59b4f8[_0x59b4f8[_0x3e677a['dbmas']]=0x64]=_0x3e677a[_0x826447(0xe7)];continue;case'32':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb5)]]=0x3]=_0x826447(0x117);continue;case'33':_0x59b4f8[_0x59b4f8[_0x826447(0x100)]=0x1e]=_0x3e677a[_0x826447(0x12d)];continue;case'34':_0x59b4f8[_0x59b4f8[_0x3e677a['FXspJ']]=0x73]=_0x3e677a[_0x826447(0xd7)];continue;case'35':_0x59b4f8[_0x59b4f8[_0x826447(0x148)]=0x4]=_0x3e677a[_0x826447(0x110)];continue;case'36':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf6)]]=0x68]=_0x3e677a[_0x826447(0xf6)];continue;case'37':_0x59b4f8[_0x59b4f8['KCHATTYPEADELIE']=0x2a]=_0x3e677a[_0x826447(0xb4)];continue;case'38':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb3)]]=0x28]=_0x3e677a[_0x826447(0xb3)];continue;case'39':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xd0)]]=0x85]=_0x826447(0x112);continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x1614fa(0x12a);export var GrayTipElementSubType;(function(_0x3ce51b){var _0xd50e3c=_0x1614fa,_0x42288d={'EClfR':_0xd50e3c(0x126),'qEGBi':_0xd50e3c(0xb7)};_0x3ce51b[_0x3ce51b[_0x42288d[_0xd50e3c(0x12c)]]=0xc]=_0x42288d[_0xd50e3c(0x12c)],_0x3ce51b[_0x3ce51b['MEMBER_NEW_TITLE']=0x11]=_0x42288d[_0xd50e3c(0xec)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x14928e){var _0x38795b=_0x1614fa,_0x36f98e={'WzEel':_0x38795b(0x119),'BKpgQ':_0x38795b(0xdd),'jxxtR':_0x38795b(0xdb)};_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xd5)]]=0x1]=_0x36f98e[_0x38795b(0xd5)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xcc)]]=0x2]=_0x36f98e[_0x38795b(0xcc)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xda)]]=0x3]=_0x36f98e[_0x38795b(0xda)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3424f5){var _0x558f78=_0x1614fa,_0x28fde4={'kLDuE':'dice','fvnPy':_0x558f78(0xef)};_0x3424f5[_0x3424f5[_0x28fde4['kLDuE']]=0x166]=_0x28fde4[_0x558f78(0xbc)],_0x3424f5[_0x3424f5[_0x28fde4[_0x558f78(0xe8)]]=0x167]=_0x28fde4[_0x558f78(0xe8)];}(FaceIndex||(FaceIndex={})));export var viedo_type;function _0x1039(){var _0x55db1a=['KCHATTYPECIRCLE','isgtv','QpfxF','VIDEO','FACE','iCOcV','ivnKv','VIDEO_FORMAT_MOD','KCHATTYPETEMPPUBLICACCOUNT','face','104EljVqz','83427vWNYGX','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEBUDDYNOTIFY','BKpgQ','ban','61385rSngqT','xBFCu','yVqzH','KCHATTYPEGAMEMESSAGE','VIDEO_FORMAT_MKV','PIC','xNzzn','WzEel','FILE','FXspJ','KCHATTYPEMATCHFRIENDFOLDER','gPvrK','jxxtR','dice','FhvhA','normal2','XsgTm','KCHATTYPEWEIYUN','split','mcJMu','KCHATTYPEGROUPHELPER','KCHATTYPESQUAREPUBLIC','memberIncrease','KCHATTYPETEMPNEARBYPRO','temp','dbmas','fvnPy','oXNui','WaOsm','KCHATTYPENEARBYASSISTANT','qEGBi','chatDevice','VIDEO_FORMAT_TS','RPS','VIDEO_FORMAT_AFS','KCHATTYPETEMPC2CFROMUNKNOWN','GcMpj','notAt','KCHATTYPEFAV','PTT','KAGlN','hvOop','WAjpr','KCHATTYPESERVICEASSISTANT','MFACE','ZJkdz','KCHATTYPEDATALINE','jwWqT','VIDEO_FORMAT_RM','13222220zKfuZq','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPENEARBYFOLDER','KCHATTYPERELATEACCOUNT','dGxuA','KCHATTYPEGAMEMESSAGEFOLDER','yBbYE','Srabh','leaCO','YeOvC','twqNy','gdzxo','VIDEO_FORMAT_RMVB','REPLY','2|7|5|9|8|1|4|0|6|3','MARKDOWN','odZZI','PfPWg','vCjNh','KCHATTYPEGROUPBLESS','TEXT','urwRF','KOphZ','6015268ivrbDc','KCHATTYPEDISC','KCHATTYPEUNKNOWN','normal','vyWwv','DJEYb','zhKtV','KCHATTYPEGROUP','ERnio','UrtYJ','NyEgY','ymTzB','102020RRwmrC','dVkSi','KCHATTYPEMATCHFRIEND','kicked','INVITE_NEW_MEMBER','LYrIC','VIDEO_FORMAT_MOV','KCHATTYPEC2C','https://multimedia.nt.qq.com.cn','jZFIe','EClfR','iknPI','HecPV','YnPEN','8uvAByk','0|7|10|3|6|5|4|9|1|2|8','KCHATTYPETEMPC2CFROMGROUP','YXOnc','cfypE','KCHATTYPEDATALINEMQQ','6PCSjae','rEOiI','aMpGJ','KCHATTYPEGROUPGUILD','ARK','VIDEO_FORMAT_MTS','friend','HxSDB','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPEADELIE','HSfGZ','mMpuT','KDmac','fcgmy','jpg','lLixS','atUser','group','KCHATTYPEGUILD','HxAvR','VIDEO_FORMAT_MP4','37|27|23|24|1|25|32|8|0|9|2|39|29|15|11|35|3|36|17|19|6|16|10|13|28|22|4|12|34|33|14|18|31|5|7|26|21|20|30|38','IKynV','BbtJb','VmnqA','bxEez','aQXDw','4988826kqHead','MEMBER_NEW_TITLE','84020JZnxgs','LPbpr','URoDV','UpadC','kLDuE'];_0x1039=function(){return _0x55db1a;};return _0x1039();}(function(_0x45c8d8){var _0x2295df=_0x1614fa,_0x536d4b={'jxgZg':_0x2295df(0x131),'NyEgY':_0x2295df(0xf0),'DJEYb':_0x2295df(0x10b),'LPbpr':_0x2295df(0xee),'urwRF':_0x2295df(0xc4),'KOphZ':_0x2295df(0x13b),'QpfxF':_0x2295df(0x14a),'lLixS':'VIDEO_FORMAT_AVI','GcMpj':'VIDEO_FORMAT_WMV','HecPV':_0x2295df(0xfe),'yBbYE':_0x2295df(0xd2)},_0x3dea0b=_0x536d4b['jxgZg']['split']('|'),_0x2ee285=0x0;while(!![]){switch(_0x3dea0b[_0x2ee285++]){case'0':_0x45c8d8[_0x45c8d8[_0x536d4b['NyEgY']]=0x7]=_0x536d4b[_0x2295df(0x120)];continue;case'1':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x11b)]]=0x5]=_0x2295df(0x10b);continue;case'2':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xb9)]]=0xa]=_0x2295df(0xee);continue;case'3':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x114)]]=0x9]='VIDEO_FORMAT_MOD';continue;case'4':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x115)]]=0xb]=_0x536d4b[_0x2295df(0x115)];continue;case'5':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xbf)]]=0x2]=_0x536d4b[_0x2295df(0xbf)];continue;case'6':_0x45c8d8[_0x45c8d8[_0x2295df(0x128)]=0x8]=_0x2295df(0x128);continue;case'7':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x145)]]=0x1]=_0x536d4b['lLixS'];continue;case'8':_0x45c8d8[_0x45c8d8['VIDEO_FORMAT_WMV']=0x3]=_0x536d4b[_0x2295df(0xf2)];continue;case'9':_0x45c8d8[_0x45c8d8[_0x2295df(0xfe)]=0x6]=_0x536d4b[_0x2295df(0x12e)];continue;case'10':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x105)]]=0x4]=_0x536d4b['yBbYE'];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x565c7b){var _0x2447f8=_0x1614fa,_0x351463={'BbtJb':_0x2447f8(0xe4),'ZJkdz':_0x2447f8(0x125),'xNzzn':'ban'};_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0x14d)]]=0x1]=_0x351463[_0x2447f8(0x14d)],_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0xfb)]]=0x3]=_0x351463[_0x2447f8(0xfb)],_0x565c7b[_0x565c7b[_0x2447f8(0xcd)]=0x8]=_0x351463[_0x2447f8(0xd4)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +(function(_0x572808,_0x357763){var _0x5412e1=_0x3b40,_0x25cd20=_0x572808();while(!![]){try{var _0x4e35ca=-parseInt(_0x5412e1(0x263))/0x1*(-parseInt(_0x5412e1(0x21f))/0x2)+parseInt(_0x5412e1(0x257))/0x3*(-parseInt(_0x5412e1(0x23c))/0x4)+parseInt(_0x5412e1(0x202))/0x5+parseInt(_0x5412e1(0x1f3))/0x6+-parseInt(_0x5412e1(0x259))/0x7+-parseInt(_0x5412e1(0x225))/0x8*(-parseInt(_0x5412e1(0x25d))/0x9)+-parseInt(_0x5412e1(0x21c))/0xa;if(_0x4e35ca===_0x357763)break;else _0x25cd20['push'](_0x25cd20['shift']());}catch(_0x1eefe0){_0x25cd20['push'](_0x25cd20['shift']());}}}(_0x23c7,0x31a57));export var ElementType;(function(_0x5d560a){var _0x399b3e=_0x3b40,_0x5073fd={'koxaA':_0x399b3e(0x22e),'JyZYP':_0x399b3e(0x206),'JGGDQ':'MFACE','OTrAm':_0x399b3e(0x268),'HAIsX':'REPLY','oxGfh':_0x399b3e(0x241),'tPHWD':_0x399b3e(0x1fa),'XdpBb':_0x399b3e(0x227),'cGUkN':_0x399b3e(0x207),'ZUigy':_0x399b3e(0x1e1),'LCiVA':'PIC'},_0x3f845e=_0x5073fd[_0x399b3e(0x222)][_0x399b3e(0x269)]('|'),_0x2fef29=0x0;while(!![]){switch(_0x3f845e[_0x2fef29++]){case'0':_0x5d560a[_0x5d560a[_0x399b3e(0x206)]=0x6]=_0x5073fd['JyZYP'];continue;case'1':_0x5d560a[_0x5d560a[_0x399b3e(0x221)]=0xb]=_0x5073fd[_0x399b3e(0x210)];continue;case'2':_0x5d560a[_0x5d560a[_0x5073fd[_0x399b3e(0x237)]]=0x4]=_0x5073fd[_0x399b3e(0x237)];continue;case'3':_0x5d560a[_0x5d560a[_0x5073fd['HAIsX']]=0x7]=_0x399b3e(0x213);continue;case'4':_0x5d560a[_0x5d560a[_0x5073fd[_0x399b3e(0x1f9)]]=0xe]=_0x5073fd[_0x399b3e(0x1f9)];continue;case'5':_0x5d560a[_0x5d560a[_0x399b3e(0x1fa)]=0x5]=_0x5073fd[_0x399b3e(0x231)];continue;case'6':_0x5d560a[_0x5d560a[_0x5073fd['XdpBb']]=0x1]=_0x5073fd[_0x399b3e(0x261)];continue;case'7':_0x5d560a[_0x5d560a[_0x5073fd[_0x399b3e(0x217)]]=0xa]=_0x5073fd[_0x399b3e(0x217)];continue;case'8':_0x5d560a[_0x5d560a[_0x5073fd[_0x399b3e(0x1f7)]]=0x3]=_0x5073fd[_0x399b3e(0x1f7)];continue;case'9':_0x5d560a[_0x5d560a[_0x5073fd['LCiVA']]=0x2]=_0x5073fd[_0x399b3e(0x255)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x23c7(){var _0x5cb27e=['KCHATTYPEGROUP','15Epzxpb','friend','504903oqcsjB','ISUBA','GbIYP','KCHATTYPESQUAREPUBLIC','9lPgZUb','eIxVn','KCHATTYPENEARBY','KLkUl','XdpBb','xhefE','129793fxCmda','dice','VIDEO_FORMAT_TS','NFCuk','KCHATTYPEGUILDMETA','PTT','split','notAt','nAPIv','FILE','UbsGy','INVITE_NEW_MEMBER','amGio','KCHATTYPEGROUPBLESS','KCHATTYPEGAMEMESSAGE','oHOfA','HHCdu','KCHATTYPEGROUPNOTIFY','VIDEO_FORMAT_MOD','mTxhH','KCHATTYPEGROUPGUILD','EBdxG','IdLHx','lNrAs','xqoJo','KCHATTYPERELATEACCOUNT','Grhdk','1714500xgmBAY','KCHATTYPETEMPC2CFROMGROUP','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEDATALINEMQQ','ZUigy','iheYL','oxGfh','VIDEO','MEMBER_NEW_TITLE','RPS','KCHATTYPEMATCHFRIENDFOLDER','tZEcq','VIDEO_FORMAT_RM','lGLGV','YTsyE','123515QSTkLd','KCHATTYPETEMPBUSSINESSCRM','jbbEl','kicked','FACE','ARK','eUyZA','KCHATTYPEGROUPHELPER','ZmXPj','normal2','RKjQd','gif','ZRhFe','kjHbo','JGGDQ','ktrAL','sHtqB','REPLY','KCHATTYPECIRCLE','KMcmI','aAoZx','cGUkN','KCHATTYPEUNKNOWN','KCHATTYPEGAMEMESSAGEFOLDER','UDMnY','KCHATTYPETEMPFRIENDVERIFY','3099780mdhmdF','oNbfw','tGWhI','6lQwjMF','face','MFACE','koxaA','KCHATTYPETEMPC2CFROMUNKNOWN','IdMqJ','213528kZuClI','temp','TEXT','KCHATTYPEC2C','KCHATTYPEBUDDYNOTIFY','KCHATTYPEFAV','normal','chatDevice','uLhAe','6|9|8|2|5|0|3|7|1|4','cITMa','KCHATTYPEGUILD','tPHWD','bJudO','memberIncrease','MWssw','VIDEO_FORMAT_MKV','VIDEO_FORMAT_MTS','OTrAm','GWsEQ','atAll','VIDEO_FORMAT_RMVB','rpzwD','112852qyPAZY','XerXT','qWLKp','VIDEO_FORMAT_AVI','CbLNb','MARKDOWN','YZDyc','VIDEO_FORMAT_WMV','GdgSF','VIDEO_FORMAT_MP4','DzBMi','KCHATTYPEDATALINE','atUser','KCHATTYPEWEIYUN','npqHe','MitRg','KCHATTYPEQQNOTIFY','group','JuzQo','iFLDe','WkxcT','VIDEO_FORMAT_MOV','ZyNss','fAxGg','byhIf','LCiVA'];_0x23c7=function(){return _0x5cb27e;};return _0x23c7();}(function(_0x2bfcb0){var _0xc075c3=_0x3b40,_0x3cd337={'uLhAe':_0xc075c3(0x20d),'UbsGy':'jpg'};_0x2bfcb0[_0x2bfcb0[_0xc075c3(0x20d)]=0x7d0]=_0x3cd337[_0xc075c3(0x22d)],_0x2bfcb0[_0x2bfcb0[_0x3cd337[_0xc075c3(0x1e2)]]=0x3e8]=_0x3cd337[_0xc075c3(0x1e2)];}(PicType||(PicType={})));export var PicSubType;(function(_0x1236c4){var _0x386f81=_0x3b40,_0x2f94d5={'kHRUa':_0x386f81(0x22b),'xhefE':_0x386f81(0x220)};_0x1236c4[_0x1236c4['normal']=0x0]=_0x2f94d5['kHRUa'],_0x1236c4[_0x1236c4[_0x2f94d5[_0x386f81(0x262)]]=0x1]=_0x2f94d5[_0x386f81(0x262)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x4547be){var _0x396b24=_0x3b40,_0x3c0c3e={'qWLKp':_0x396b24(0x1df),'YTsyE':_0x396b24(0x239),'xqoJo':_0x396b24(0x248)};_0x4547be[_0x4547be['notAt']=0x0]=_0x3c0c3e[_0x396b24(0x23e)],_0x4547be[_0x4547be[_0x3c0c3e['YTsyE']]=0x1]=_0x3c0c3e[_0x396b24(0x201)],_0x4547be[_0x4547be[_0x3c0c3e['xqoJo']]=0x2]=_0x3c0c3e[_0x396b24(0x1f0)];}(AtType||(AtType={})));export var ChatType;(function(_0x2631b7){var _0x341ba9=_0x3b40,_0xaa6218={'CBMJR':_0x341ba9(0x258),'ISUBA':_0x341ba9(0x24d),'cITMa':'chatDevice','nAPIv':_0x341ba9(0x226)};_0x2631b7[_0x2631b7[_0xaa6218['CBMJR']]=0x1]=_0x341ba9(0x258),_0x2631b7[_0x2631b7[_0xaa6218[_0x341ba9(0x25a)]]=0x2]='group',_0x2631b7[_0x2631b7[_0xaa6218[_0x341ba9(0x22f)]]=0x8]=_0x341ba9(0x22c),_0x2631b7[_0x2631b7[_0x341ba9(0x226)]=0x64]=_0xaa6218[_0x341ba9(0x1e0)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x570ff9){var _0x3c0e3a=_0x3b40,_0x465c0a={'oHOfA':_0x3c0e3a(0x223),'EBdxG':_0x3c0e3a(0x267),'YZDyc':_0x3c0e3a(0x229),'vSHGO':'KCHATTYPETEMPWPA','TyUJt':_0x3c0e3a(0x1ec),'DzBMi':_0x3c0e3a(0x1f1),'KMcmI':'KCHATTYPEGAMEMESSAGEFOLDER','gvVIL':_0x3c0e3a(0x218),'MWssw':_0x3c0e3a(0x1f4),'ZRhFe':'KCHATTYPEDISC','UDMnY':'KCHATTYPENEARBYINTERACT','eUyZA':'KCHATTYPENEARBYHELLOFOLDER','GbIYP':'KCHATTYPENEARBYASSISTANT','npqHe':'KCHATTYPESERVICEASSISTANT','YWQOy':_0x3c0e3a(0x249),'mOxkp':'KCHATTYPEFAV','eIxVn':_0x3c0e3a(0x25f),'ewpSt':_0x3c0e3a(0x1e6),'jbbEl':'KCHATTYPETEMPPUBLICACCOUNT','NFCuk':_0x3c0e3a(0x256),'tGWhI':_0x3c0e3a(0x1f5),'mTxhH':'KCHATTYPEMATCHFRIEND','GWsEQ':_0x3c0e3a(0x228),'lGLGV':'KCHATTYPENEARBYFOLDER','lNrAs':_0x3c0e3a(0x203),'amGio':_0x3c0e3a(0x21b),'byhIf':'KCHATTYPEADELIE','CbLNb':'KCHATTYPEGROUPHELPER','RKjQd':_0x3c0e3a(0x25c),'GdgSF':_0x3c0e3a(0x1fd),'ZyNss':'KCHATTYPETEMPNEARBYPRO','kjHbo':'KCHATTYPEGROUPBLESS','XerXT':'KCHATTYPETEMPADDRESSBOOK','ktrAL':'KCHATTYPESUBSCRIBEFOLDER','IdMqJ':_0x3c0e3a(0x1e9),'iheYL':_0x3c0e3a(0x214),'leTJr':_0x3c0e3a(0x230),'Grhdk':_0x3c0e3a(0x247)},_0x2a73df='27|2|23|37|39|31|9|16|18|6|20|33|4|28|36|38|1|22|30|17|12|24|11|10|13|5|14|21|29|35|34|25|8|0|26|32|19|3|7|15'[_0x3c0e3a(0x269)]('|'),_0x1f60e0=0x0;while(!![]){switch(_0x2a73df[_0x1f60e0++]){case'0':_0x570ff9[_0x570ff9[_0x465c0a['oHOfA']]=0x63]=_0x465c0a[_0x3c0e3a(0x1e7)];continue;case'1':_0x570ff9[_0x570ff9[_0x465c0a['EBdxG']]=0x10]=_0x465c0a[_0x3c0e3a(0x1ed)];continue;case'2':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x242)]]=0x5]=_0x465c0a[_0x3c0e3a(0x242)];continue;case'3':_0x570ff9[_0x570ff9[_0x465c0a['vSHGO']]=0x75]='KCHATTYPETEMPWPA';continue;case'4':_0x570ff9[_0x570ff9[_0x465c0a['TyUJt']]=0x9]=_0x465c0a['TyUJt'];continue;case'5':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x246)]]=0x83]=_0x465c0a[_0x3c0e3a(0x246)];continue;case'6':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x215)]]=0x74]=_0x3c0e3a(0x219);continue;case'7':_0x570ff9[_0x570ff9[_0x465c0a['gvVIL']]=0x0]=_0x3c0e3a(0x218);continue;case'8':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x234)]]=0x64]=_0x465c0a[_0x3c0e3a(0x234)];continue;case'9':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x20e)]]=0x3]=_0x465c0a['ZRhFe'];continue;case'10':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x21a)]]=0x6c]=_0x465c0a[_0x3c0e3a(0x21a)];continue;case'11':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x208)]]=0x70]=_0x465c0a[_0x3c0e3a(0x208)];continue;case'12':_0x570ff9[_0x570ff9[_0x465c0a['GbIYP']]=0x6b]=_0x465c0a[_0x3c0e3a(0x25b)];continue;case'13':_0x570ff9[_0x570ff9[_0x3c0e3a(0x24c)]=0x84]=_0x3c0e3a(0x24c);continue;case'14':_0x570ff9[_0x570ff9[_0x465c0a['npqHe']]=0x76]=_0x465c0a[_0x3c0e3a(0x24a)];continue;case'15':_0x570ff9[_0x570ff9[_0x465c0a['YWQOy']]=0x28]=_0x465c0a['YWQOy'];continue;case'16':_0x570ff9[_0x570ff9[_0x3c0e3a(0x22a)]=0x29]=_0x465c0a['mOxkp'];continue;case'17':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x25e)]]=0x6a]=_0x465c0a[_0x3c0e3a(0x25e)];continue;case'18':_0x570ff9[_0x570ff9[_0x3c0e3a(0x1e6)]=0x69]=_0x465c0a['ewpSt'];continue;case'19':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x204)]]=0x67]='KCHATTYPETEMPPUBLICACCOUNT';continue;case'20':_0x570ff9[_0x570ff9[_0x3c0e3a(0x256)]=0x2]=_0x465c0a[_0x3c0e3a(0x266)];continue;case'21':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x21e)]]=0xc9]=_0x465c0a[_0x3c0e3a(0x21e)];continue;case'22':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x1eb)]]=0x68]=_0x465c0a['mTxhH'];continue;case'23':_0x570ff9[_0x570ff9[_0x3c0e3a(0x228)]=0x1]=_0x465c0a[_0x3c0e3a(0x238)];continue;case'24':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x200)]]=0x6e]=_0x465c0a[_0x3c0e3a(0x200)];continue;case'25':_0x570ff9[_0x570ff9[_0x3c0e3a(0x203)]=0x66]=_0x465c0a[_0x3c0e3a(0x1ef)];continue;case'26':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x1e4)]]=0x65]=_0x465c0a[_0x3c0e3a(0x1e4)];continue;case'27':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x254)]]=0x2a]='KCHATTYPEADELIE';continue;case'28':_0x570ff9[_0x570ff9[_0x3c0e3a(0x209)]=0x7]=_0x465c0a[_0x3c0e3a(0x240)];continue;case'29':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x20c)]]=0x73]=_0x465c0a[_0x3c0e3a(0x20c)];continue;case'30':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x244)]]=0x6d]=_0x465c0a[_0x3c0e3a(0x244)];continue;case'31':_0x570ff9[_0x570ff9[_0x3c0e3a(0x1f6)]=0x86]=_0x3c0e3a(0x1f6);continue;case'32':_0x570ff9[_0x570ff9[_0x465c0a['ZyNss']]=0x77]=_0x465c0a[_0x3c0e3a(0x252)];continue;case'33':_0x570ff9[_0x570ff9[_0x3c0e3a(0x1e5)]=0x85]=_0x465c0a[_0x3c0e3a(0x20f)];continue;case'34':_0x570ff9[_0x570ff9[_0x465c0a['XerXT']]=0x6f]=_0x465c0a[_0x3c0e3a(0x23d)];continue;case'35':_0x570ff9[_0x570ff9[_0x465c0a['ktrAL']]=0x1e]=_0x465c0a[_0x3c0e3a(0x211)];continue;case'36':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x224)]]=0x6]=_0x465c0a['IdMqJ'];continue;case'37':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x1f8)]]=0x71]=_0x465c0a['iheYL'];continue;case'38':_0x570ff9[_0x570ff9[_0x465c0a['leTJr']]=0x4]=_0x465c0a['leTJr'];continue;case'39':_0x570ff9[_0x570ff9[_0x465c0a[_0x3c0e3a(0x1f2)]]=0x8]=_0x465c0a['Grhdk'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x16a326){var _0x3cfb1b=_0x3b40,_0x401aa0={'oNbfw':_0x3cfb1b(0x1e3),'iFLDe':_0x3cfb1b(0x1fb)};_0x16a326[_0x16a326[_0x3cfb1b(0x1e3)]=0xc]=_0x401aa0[_0x3cfb1b(0x21d)],_0x16a326[_0x16a326[_0x401aa0[_0x3cfb1b(0x24f)]]=0x11]='MEMBER_NEW_TITLE';}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x26693b){var _0x3d7aec=_0x3b40,_0x102bd9={'sAAXT':_0x3d7aec(0x22b),'HHCdu':_0x3d7aec(0x20b),'BuwmR':_0x3d7aec(0x264)};_0x26693b[_0x26693b[_0x102bd9['sAAXT']]=0x1]=_0x102bd9['sAAXT'],_0x26693b[_0x26693b[_0x3d7aec(0x20b)]=0x2]=_0x102bd9[_0x3d7aec(0x1e8)],_0x26693b[_0x26693b[_0x102bd9['BuwmR']]=0x3]=_0x102bd9['BuwmR'];}(FaceType||(FaceType={})));function _0x3b40(_0x579a04,_0x266b81){var _0x23c708=_0x23c7();return _0x3b40=function(_0x3b40c3,_0x43e3fe){_0x3b40c3=_0x3b40c3-0x1df;var _0x28ebf2=_0x23c708[_0x3b40c3];return _0x28ebf2;},_0x3b40(_0x579a04,_0x266b81);}export var FaceIndex;(function(_0x53b38c){var _0x270998=_0x3b40,_0x198656={'aAoZx':_0x270998(0x264),'rpzwD':_0x270998(0x1fc)};_0x53b38c[_0x53b38c[_0x198656[_0x270998(0x216)]]=0x166]=_0x198656[_0x270998(0x216)],_0x53b38c[_0x53b38c[_0x198656[_0x270998(0x23b)]]=0x167]=_0x270998(0x1fc);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x17bcc7){var _0x4f59bc=_0x3b40,_0x570953={'sHtqB':'VIDEO_FORMAT_AFS','fAxGg':_0x4f59bc(0x23f),'JuzQo':'VIDEO_FORMAT_MKV','IdLHx':_0x4f59bc(0x1ea),'ZmXPj':_0x4f59bc(0x251),'xasGm':_0x4f59bc(0x245),'WkxcT':_0x4f59bc(0x236),'tZEcq':_0x4f59bc(0x23a),'MitRg':_0x4f59bc(0x265)};_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x212)]]=0x7]=_0x570953[_0x4f59bc(0x212)],_0x17bcc7[_0x17bcc7['VIDEO_FORMAT_AVI']=0x1]=_0x570953[_0x4f59bc(0x253)],_0x17bcc7[_0x17bcc7[_0x4f59bc(0x235)]=0x4]=_0x570953[_0x4f59bc(0x24e)],_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x1ee)]]=0x9]=_0x570953['IdLHx'],_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x20a)]]=0x8]=_0x570953[_0x4f59bc(0x20a)],_0x17bcc7[_0x17bcc7['VIDEO_FORMAT_MP4']=0x2]=_0x570953['xasGm'],_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x250)]]=0xb]=_0x4f59bc(0x236),_0x17bcc7[_0x17bcc7[_0x4f59bc(0x1ff)]=0x6]=_0x4f59bc(0x1ff),_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x1fe)]]=0x5]=_0x570953[_0x4f59bc(0x1fe)],_0x17bcc7[_0x17bcc7[_0x570953[_0x4f59bc(0x24b)]]=0xa]=_0x570953[_0x4f59bc(0x24b)],_0x17bcc7[_0x17bcc7[_0x4f59bc(0x243)]=0x3]=_0x4f59bc(0x243);}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x379106){var _0x4613df=_0x3b40,_0x210dcb={'TWbis':_0x4613df(0x233),'KLkUl':_0x4613df(0x205),'bJudO':'ban'};_0x379106[_0x379106[_0x4613df(0x233)]=0x1]=_0x210dcb['TWbis'],_0x379106[_0x379106[_0x210dcb[_0x4613df(0x260)]]=0x3]=_0x210dcb[_0x4613df(0x260)],_0x379106[_0x379106[_0x210dcb[_0x4613df(0x232)]]=0x8]=_0x210dcb[_0x4613df(0x232)];}(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 139f87c26..bfd420dba 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x4bfd79,_0xa55aa0){var _0x17aaa9=_0x1dac,_0x387c4d=_0x4bfd79();while(!![]){try{var _0x19424f=parseInt(_0x17aaa9(0x1bd))/0x1+parseInt(_0x17aaa9(0x1ac))/0x2+-parseInt(_0x17aaa9(0x1a1))/0x3*(parseInt(_0x17aaa9(0x1b2))/0x4)+-parseInt(_0x17aaa9(0x1c4))/0x5*(parseInt(_0x17aaa9(0x1b5))/0x6)+-parseInt(_0x17aaa9(0x1b8))/0x7+parseInt(_0x17aaa9(0x1b9))/0x8+parseInt(_0x17aaa9(0x1b0))/0x9*(parseInt(_0x17aaa9(0x1b4))/0xa);if(_0x19424f===_0xa55aa0)break;else _0x387c4d['push'](_0x387c4d['shift']());}catch(_0x23f61d){_0x387c4d['push'](_0x387c4d['shift']());}}}(_0x86a8,0xca2de));function _0x1dac(_0x591e5a,_0x31f378){var _0x86a848=_0x86a8();return _0x1dac=function(_0x1dac03,_0x310b54){_0x1dac03=_0x1dac03-0x181;var _0x2e4e46=_0x86a848[_0x1dac03];return _0x2e4e46;},_0x1dac(_0x591e5a,_0x31f378);}export var GroupNotifyTypes;(function(_0x3c700d){var _0x559546=_0x1dac,_0x1f0033={'CXMde':_0x559546(0x1ab),'PHJsN':_0x559546(0x1bc),'keFtl':_0x559546(0x181),'JZLRS':_0x559546(0x1ae),'Hbndw':_0x559546(0x1a9),'fkjWt':_0x559546(0x1b3),'snanG':'ADMIN_SET'},_0x3e10a5=_0x559546(0x185)['split']('|'),_0x2bcc49=0x0;while(!![]){switch(_0x3e10a5[_0x2bcc49++]){case'0':_0x3c700d[_0x3c700d[_0x1f0033['CXMde']]=0xc]=_0x559546(0x1ab);continue;case'1':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x18c)]]=0x4]=_0x1f0033['PHJsN'];continue;case'2':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x195)]]=0x7]=_0x1f0033[_0x559546(0x195)];continue;case'3':_0x3c700d[_0x3c700d['KICK_MEMBER']=0x9]=_0x1f0033[_0x559546(0x1c1)];continue;case'4':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x19d)]]=0x1]=_0x1f0033[_0x559546(0x19d)];continue;case'5':_0x3c700d[_0x3c700d[_0x1f0033['fkjWt']]=0xd]='ADMIN_UNSET_OTHER';continue;case'6':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x199)]]=0x8]=_0x559546(0x1be);continue;case'7':_0x3c700d[_0x3c700d[_0x559546(0x183)]=0xb]=_0x559546(0x183);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x86a8(){var _0xe9f6b4=['dkdTM','WAIT_HANDLE','KMEINITIATOR','keFtl','KMEREFUSED','KMEIGNORED','xavol','snanG','REJECT','NEWGROUPTYPE','dYUrl','Hbndw','ocCwJ','GDVVj','ufUXe','70053xIbozy','KPEERAGREED','YaCHE','keHan','KMSGINFO','CjpuX','WOdUK','lpdxz','INVITE_ME','DEFAULTTYPE','ADMIN_UNSET','304848eUmxkK','7|11|1|13|0|4|8|10|5|2|12|9|3|6','KICK_MEMBER','xNtss','1035XtMpOB','PIIVg','36OsIeak','ADMIN_UNSET_OTHER','87230qWAvpA','160938pqMInq','KMEAGREED','FqOhH','7105609QsRcep','12570088KGQPzI','QBIwR','APPROVE','INVITED_JOIN','104409LHvxjk','ADMIN_SET','iGhTb','TITLETYPE','JZLRS','approve','BFxRR','145ZzHBob','JOIN_REQUEST','KMEAGREEANDADDFAILED','MEMBER_EXIT','KMEAGREEDANDADDED','4|1|2|6|3|7|0|5','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','KPEERREFUSED','LoaqN','dpeOZ','reject','PHJsN','KPEERAGREEDANDADDED','IGNORE','KMESETQUESTION','split','ZeQIn'];_0x86a8=function(){return _0xe9f6b4;};return _0x86a8();}(function(_0x264328){var _0x2f6b91=_0x1dac,_0x1a02bb={'iGhTb':_0x2f6b91(0x193),'ufUXe':_0x2f6b91(0x19a)};_0x264328[_0x264328[_0x2f6b91(0x18e)]=0x0]=_0x2f6b91(0x18e),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1bf)]]=0x1]=_0x1a02bb[_0x2f6b91(0x1bf)],_0x264328[_0x264328[_0x2f6b91(0x1bb)]=0x2]=_0x2f6b91(0x1bb),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1a0)]]=0x3]=_0x1a02bb[_0x2f6b91(0x1a0)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x200b73){var _0x196d1d=_0x1dac,_0xcf71e1={'lpdxz':_0x196d1d(0x1c2),'dpeOZ':_0x196d1d(0x18b)};_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x1a8)]]=0x1]=_0xcf71e1[_0x196d1d(0x1a8)],_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x18a)]]=0x2]=_0x196d1d(0x18b);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0xca9243){var _0x1b43de=_0x1dac,_0x118008={'xavol':_0x1b43de(0x1ad),'dkdTM':_0x1b43de(0x1a2),'GDVVj':_0x1b43de(0x1b6),'FqOhH':_0x1b43de(0x186),'ZeQIn':_0x1b43de(0x1a5),'PIIVg':_0x1b43de(0x18d),'WSoDo':_0x1b43de(0x197),'QBIwR':_0x1b43de(0x187),'WOdUK':_0x1b43de(0x194),'xNtss':_0x1b43de(0x188),'dYUrl':_0x1b43de(0x182),'LoaqN':_0x1b43de(0x196),'YaCHE':'KPEERINITIATOR','CjpuX':_0x1b43de(0x18f),'JbVnI':_0x1b43de(0x184)},_0x175cab=_0x118008[_0x1b43de(0x198)][_0x1b43de(0x190)]('|'),_0x251f59=0x0;while(!![]){switch(_0x175cab[_0x251f59++]){case'0':_0xca9243[_0xca9243[_0x1b43de(0x1a2)]=0x4]=_0x118008[_0x1b43de(0x192)];continue;case'1':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x19f)]]=0x2]=_0x1b43de(0x1b6);continue;case'2':_0xca9243[_0xca9243[_0x118008['FqOhH']]=0x9]=_0x118008[_0x1b43de(0x1b7)];continue;case'3':_0xca9243[_0xca9243[_0x1b43de(0x1a5)]=0xc]=_0x118008[_0x1b43de(0x191)];continue;case'4':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1b1)]]=0x5]=_0x118008[_0x1b43de(0x1b1)];continue;case'5':_0xca9243[_0xca9243[_0x118008['WSoDo']]=0x8]=_0x1b43de(0x197);continue;case'6':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1ba)]]=0xd]=_0x118008[_0x1b43de(0x1ba)];continue;case'7':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a7)]]=0x0]=_0x118008['WOdUK'];continue;case'8':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1af)]]=0x6]=_0x1b43de(0x188);continue;case'9':_0xca9243[_0xca9243[_0x118008['dYUrl']]=0xb]=_0x118008[_0x1b43de(0x19c)];continue;case'10':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x189)]]=0x7]=_0x118008[_0x1b43de(0x189)];continue;case'11':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a3)]]=0x1]=_0x118008[_0x1b43de(0x1a3)];continue;case'12':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a6)]]=0xa]=_0x1b43de(0x18f);continue;case'13':_0xca9243[_0xca9243['KMEAGREEDANDADDED']=0x3]=_0x118008['JbVnI'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0xdd2bd7){var _0x3c9716=_0x1dac,_0x10fe99={'ocCwJ':_0x3c9716(0x1aa),'BFxRR':_0x3c9716(0x1c0),'keHan':_0x3c9716(0x19b)};_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x19e)]]=0x0]=_0x10fe99['ocCwJ'],_0xdd2bd7[_0xdd2bd7[_0x10fe99['BFxRR']]=0x1]=_0x10fe99[_0x3c9716(0x1c3)],_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x1a4)]]=0x2]=_0x10fe99[_0x3c9716(0x1a4)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x2035e5,_0x5c43f9){var _0x1edb12=_0x5be3,_0xf002b9=_0x2035e5();while(!![]){try{var _0x2f85d7=-parseInt(_0x1edb12(0x17f))/0x1+parseInt(_0x1edb12(0x190))/0x2*(-parseInt(_0x1edb12(0x194))/0x3)+parseInt(_0x1edb12(0x191))/0x4+parseInt(_0x1edb12(0x175))/0x5+parseInt(_0x1edb12(0x19e))/0x6+parseInt(_0x1edb12(0x192))/0x7+-parseInt(_0x1edb12(0x181))/0x8;if(_0x2f85d7===_0x5c43f9)break;else _0xf002b9['push'](_0xf002b9['shift']());}catch(_0x4ec63c){_0xf002b9['push'](_0xf002b9['shift']());}}}(_0x1b96,0x88579));export var GroupNotifyTypes;function _0x1b96(){var _0xcbcef7=['zeuGH','GiaQF','KPEERREFUSED','FjWCM','DqvZN','jEkQc','roMho','MEMBER_EXIT','DEFAULTTYPE','6641748FkAWzs','HDweK','INVITE_ME','IGNORE','KMEREFUSED','vEttY','RJejE','REJECT','ATYDR','NEWGROUPTYPE','KICK_MEMBER','Mqlco','KMEAGREEANDADDFAILED','adEwn','qrImA','Clwcm','lTSSE','2583425TtQRuO','ADMIN_UNSET','ADMIN_SET','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','0|6|2|4|3|5|1|7','KPEERINITIATOR','mbXqN','QirWr','FwFuM','931284GJMjmd','ClpWW','8174960ZkeCyH','ADMIN_UNSET_OTHER','vjjWS','12|13|11|5|4|3|0|8|7|1|10|9|6|2','KMESETQUESTION','dyvwC','KMEIGNORED','DrlKJ','split','uxxdL','KMEAGREEDANDADDED','WAIT_HANDLE','TITLETYPE','nuzVq','kldSA','24baMvQb','2905592LwgCtP','1560902JoOrZS','APPROVE','15354tfyJdV'];_0x1b96=function(){return _0xcbcef7;};return _0x1b96();}(function(_0xbfdef2){var _0x3f31bf=_0x5be3,_0x39b61b={'FjWCM':_0x3f31bf(0x17a),'ABUiS':_0x3f31bf(0x1a0),'jEkQc':'JOIN_REQUEST','vjjWS':_0x3f31bf(0x1a8),'cuDVR':_0x3f31bf(0x177),'QirWr':_0x3f31bf(0x19c),'YzRvF':'INVITED_JOIN','kldSA':_0x3f31bf(0x182)},_0x5c52d0=_0x39b61b[_0x3f31bf(0x198)][_0x3f31bf(0x189)]('|'),_0x3865fc=0x0;while(!![]){switch(_0x5c52d0[_0x3865fc++]){case'0':_0xbfdef2[_0xbfdef2[_0x3f31bf(0x1a0)]=0x1]=_0x39b61b['ABUiS'];continue;case'1':_0xbfdef2[_0xbfdef2[_0x3f31bf(0x176)]=0xc]='ADMIN_UNSET';continue;case'2':_0xbfdef2[_0xbfdef2[_0x39b61b[_0x3f31bf(0x19a)]]=0x7]=_0x39b61b[_0x3f31bf(0x19a)];continue;case'3':_0xbfdef2[_0xbfdef2[_0x39b61b['vjjWS']]=0x9]=_0x39b61b[_0x3f31bf(0x183)];continue;case'4':_0xbfdef2[_0xbfdef2[_0x39b61b['cuDVR']]=0x8]=_0x39b61b['cuDVR'];continue;case'5':_0xbfdef2[_0xbfdef2[_0x39b61b[_0x3f31bf(0x17d)]]=0xb]=_0x39b61b[_0x3f31bf(0x17d)];continue;case'6':_0xbfdef2[_0xbfdef2[_0x39b61b['YzRvF']]=0x4]='INVITED_JOIN';continue;case'7':_0xbfdef2[_0xbfdef2[_0x39b61b[_0x3f31bf(0x18f)]]=0xd]='ADMIN_UNSET_OTHER';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x5be3(_0x20fca8,_0x263962){var _0x1b967d=_0x1b96();return _0x5be3=function(_0x5be35c,_0x44b8c5){_0x5be35c=_0x5be35c-0x174;var _0x1612ce=_0x1b967d[_0x5be35c];return _0x1612ce;},_0x5be3(_0x20fca8,_0x263962);}export var GroupNotifyStatus;(function(_0x1a9e95){var _0x2a144b=_0x5be3,_0x2d3ad8={'zeuGH':_0x2a144b(0x1a1),'FwFuM':_0x2a144b(0x18c),'cfyEz':_0x2a144b(0x193),'roMho':_0x2a144b(0x1a5)};_0x1a9e95[_0x1a9e95[_0x2d3ad8[_0x2a144b(0x195)]]=0x0]=_0x2a144b(0x1a1),_0x1a9e95[_0x1a9e95[_0x2d3ad8[_0x2a144b(0x17e)]]=0x1]=_0x2d3ad8[_0x2a144b(0x17e)],_0x1a9e95[_0x1a9e95['APPROVE']=0x2]=_0x2d3ad8['cfyEz'],_0x1a9e95[_0x1a9e95[_0x2d3ad8[_0x2a144b(0x19b)]]=0x3]=_0x2d3ad8[_0x2a144b(0x19b)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x481a0c){var _0xc905b=_0x5be3,_0xdb244d={'ClpWW':'approve','CpuNo':'reject'};_0x481a0c[_0x481a0c[_0xdb244d[_0xc905b(0x180)]]=0x1]=_0xdb244d[_0xc905b(0x180)],_0x481a0c[_0x481a0c[_0xdb244d['CpuNo']]=0x2]=_0xdb244d['CpuNo'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x2dc464){var _0x3794df=_0x5be3,_0x45b5eb={'uxxdL':_0x3794df(0x184),'Mqlco':_0x3794df(0x197),'dyvwC':_0x3794df(0x178),'lTSSE':_0x3794df(0x179),'qrImA':'KPEERAGREEDANDADDED','RJejE':'KPEERAGREED','DrlKJ':_0x3794df(0x18b),'KmBAO':'KMSGINFO','wRkjb':_0x3794df(0x187),'nuzVq':'KMEREFUSED','GiaQF':_0x3794df(0x1aa),'ATYDR':_0x3794df(0x185),'HDweK':'KMEAGREED','mbXqN':'KMEINITIATOR','Clwcm':_0x3794df(0x17b)},_0x3c0c98=_0x45b5eb[_0x3794df(0x18a)][_0x3794df(0x189)]('|'),_0x37c9ae=0x0;while(!![]){switch(_0x3c0c98[_0x37c9ae++]){case'0':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x1a9)]]=0x6]=_0x45b5eb[_0x3794df(0x1a9)];continue;case'1':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x186)]]=0x9]=_0x45b5eb[_0x3794df(0x186)];continue;case'2':_0x2dc464[_0x2dc464[_0x3794df(0x179)]=0xd]=_0x45b5eb[_0x3794df(0x174)];continue;case'3':_0x2dc464[_0x2dc464[_0x45b5eb['qrImA']]=0x5]=_0x45b5eb[_0x3794df(0x1ac)];continue;case'4':_0x2dc464[_0x2dc464[_0x45b5eb['RJejE']]=0x4]=_0x45b5eb[_0x3794df(0x1a4)];continue;case'5':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x188)]]=0x3]=_0x45b5eb['DrlKJ'];continue;case'6':_0x2dc464[_0x2dc464[_0x45b5eb['KmBAO']]=0xc]='KMSGINFO';continue;case'7':_0x2dc464[_0x2dc464[_0x3794df(0x187)]=0x8]=_0x45b5eb['wRkjb'];continue;case'8':_0x2dc464[_0x2dc464[_0x3794df(0x1a2)]=0x7]=_0x45b5eb[_0x3794df(0x18e)];continue;case'9':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x196)]]=0xb]=_0x3794df(0x1aa);continue;case'10':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x1a6)]]=0xa]=_0x45b5eb[_0x3794df(0x1a6)];continue;case'11':_0x2dc464[_0x2dc464['KMEAGREED']=0x2]=_0x45b5eb[_0x3794df(0x19f)];continue;case'12':_0x2dc464[_0x2dc464[_0x45b5eb['mbXqN']]=0x0]=_0x45b5eb[_0x3794df(0x17c)];continue;case'13':_0x2dc464[_0x2dc464[_0x45b5eb[_0x3794df(0x1ad)]]=0x1]=_0x45b5eb['Clwcm'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0xb28cb7){var _0xefa879=_0x5be3,_0x4bad3b={'adEwn':_0xefa879(0x19d),'vEttY':_0xefa879(0x18d),'DqvZN':_0xefa879(0x1a7)};_0xb28cb7[_0xb28cb7[_0x4bad3b[_0xefa879(0x1ab)]]=0x0]=_0xefa879(0x19d),_0xb28cb7[_0xb28cb7[_0x4bad3b[_0xefa879(0x1a3)]]=0x1]=_0x4bad3b[_0xefa879(0x1a3)],_0xb28cb7[_0xb28cb7[_0x4bad3b[_0xefa879(0x199)]]=0x2]=_0x4bad3b[_0xefa879(0x199)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ 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 630f6628b..ee0a74478 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x237d39,_0x3bbda1){var _0x1fefa1=_0x5218,_0x18a832=_0x237d39();while(!![]){try{var _0x57700a=parseInt(_0x1fefa1(0x13e))/0x1+parseInt(_0x1fefa1(0x133))/0x2+-parseInt(_0x1fefa1(0x13b))/0x3*(-parseInt(_0x1fefa1(0x13d))/0x4)+-parseInt(_0x1fefa1(0x13f))/0x5+-parseInt(_0x1fefa1(0x132))/0x6*(parseInt(_0x1fefa1(0x12f))/0x7)+-parseInt(_0x1fefa1(0x136))/0x8+parseInt(_0x1fefa1(0x138))/0x9;if(_0x57700a===_0x3bbda1)break;else _0x18a832['push'](_0x18a832['shift']());}catch(_0x5d5192){_0x18a832['push'](_0x18a832['shift']());}}}(_0xee9c,0xa06b4));export var Sex;(function(_0x316ff3){var _0x341546=_0x5218,_0x1f1145={'VGTpz':_0x341546(0x12e),'MogmS':_0x341546(0x130),'gPEpr':'unknown'};_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x13a)]]=0x1]=_0x341546(0x12e),_0x316ff3[_0x316ff3[_0x1f1145['MogmS']]=0x2]=_0x1f1145[_0x341546(0x137)],_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x135)]]=0xff]=_0x1f1145[_0x341546(0x135)];}(Sex||(Sex={})));function _0x5218(_0x387fd6,_0x6955e3){var _0xee9cda=_0xee9c();return _0x5218=function(_0x521818,_0x2e44a4){_0x521818=_0x521818-0x12e;var _0x516fb8=_0xee9cda[_0x521818];return _0x516fb8;},_0x5218(_0x387fd6,_0x6955e3);}function _0xee9c(){var _0x12785f=['1221502rwKupD','yfCka','gPEpr','1214544oUmMpi','MogmS','5258232PiGpWA','LKGZk','VGTpz','651855UIrXpZ','KPHOTOWALL','12oRYXsi','942650qyElDM','5009795iLEfga','male','2283519bqDQvi','female','KPRIVILEGEICON','18wJONxd'];_0xee9c=function(){return _0x12785f;};return _0xee9c();}export var BizKey;(function(_0x36db4a){var _0x42aa16=_0x5218,_0x53d94f={'yfCka':_0x42aa16(0x131),'LKGZk':_0x42aa16(0x13c)};_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x134)]]=0x0]='KPRIVILEGEICON',_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x139)]]=0x1]=_0x53d94f['LKGZk'];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x238ce0,_0x5bb556){var _0x55e75c=_0x2105,_0x4e4ac5=_0x238ce0();while(!![]){try{var _0xbc9771=parseInt(_0x55e75c(0x15f))/0x1+parseInt(_0x55e75c(0x168))/0x2+parseInt(_0x55e75c(0x15d))/0x3+parseInt(_0x55e75c(0x163))/0x4+-parseInt(_0x55e75c(0x166))/0x5+parseInt(_0x55e75c(0x167))/0x6*(parseInt(_0x55e75c(0x15e))/0x7)+-parseInt(_0x55e75c(0x165))/0x8;if(_0xbc9771===_0x5bb556)break;else _0x4e4ac5['push'](_0x4e4ac5['shift']());}catch(_0x475389){_0x4e4ac5['push'](_0x4e4ac5['shift']());}}}(_0x1ce7,0x7df05));function _0x1ce7(){var _0x4253c3=['3971560zcJhRF','RaYjf','20092424xOMnlb','1756770xDJzSK','12XCirZd','793430RMLxVY','unknown','svcSX','male','1568508pIJFzE','3151673EiDqHP','565833DduBzV','sIxYy','female','yXyju'];_0x1ce7=function(){return _0x4253c3;};return _0x1ce7();}export var Sex;function _0x2105(_0x4660fb,_0x41d24d){var _0x1ce755=_0x1ce7();return _0x2105=function(_0x210554,_0x4ae7d2){_0x210554=_0x210554-0x15c;var _0x33e705=_0x1ce755[_0x210554];return _0x33e705;},_0x2105(_0x4660fb,_0x41d24d);}(function(_0x2ea88f){var _0x50a588=_0x2105,_0x2fdaec={'nrZrD':_0x50a588(0x15c),'yXyju':_0x50a588(0x161),'sIxYy':_0x50a588(0x169)};_0x2ea88f[_0x2ea88f[_0x50a588(0x15c)]=0x1]=_0x2fdaec['nrZrD'],_0x2ea88f[_0x2ea88f[_0x2fdaec[_0x50a588(0x162)]]=0x2]=_0x2fdaec['yXyju'],_0x2ea88f[_0x2ea88f[_0x2fdaec[_0x50a588(0x160)]]=0xff]=_0x2fdaec[_0x50a588(0x160)];}(Sex||(Sex={})));export var BizKey;(function(_0x14cbc0){var _0x4981c8=_0x2105,_0xb64b2f={'RaYjf':'KPRIVILEGEICON','svcSX':'KPHOTOWALL'};_0x14cbc0[_0x14cbc0[_0xb64b2f[_0x4981c8(0x164)]]=0x0]=_0xb64b2f['RaYjf'],_0x14cbc0[_0x14cbc0[_0xb64b2f[_0x4981c8(0x16a)]]=0x1]=_0xb64b2f[_0x4981c8(0x16a)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index 4eb329736..e4430b20e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x2294c2,_0x46d401){var _0x59b8e2=_0x4352,_0x2288fb=_0x2294c2();while(!![]){try{var _0x540613=-parseInt(_0x59b8e2(0x15b))/0x1+-parseInt(_0x59b8e2(0x153))/0x2+parseInt(_0x59b8e2(0x157))/0x3+parseInt(_0x59b8e2(0x154))/0x4*(parseInt(_0x59b8e2(0x158))/0x5)+parseInt(_0x59b8e2(0x152))/0x6+parseInt(_0x59b8e2(0x156))/0x7*(parseInt(_0x59b8e2(0x159))/0x8)+-parseInt(_0x59b8e2(0x155))/0x9*(-parseInt(_0x59b8e2(0x15a))/0xa);if(_0x540613===_0x46d401)break;else _0x2288fb['push'](_0x2288fb['shift']());}catch(_0x1d44df){_0x2288fb['push'](_0x2288fb['shift']());}}}(_0x4779,0xafd11));import _0x23c132 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x4779(){var _0x59f6be=['125991MKUFJi','2501254uTAinj','822123OTadHB','144835KQddkH','8HuRZvp','510Zovpyp','23257FQgaJl','944280JrNoNw','1634448LptIGe','8QXPgPE'];_0x4779=function(){return _0x59f6be;};return _0x4779();}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x23c132 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4352(_0x2e5fa6,_0x25ae8f){var _0x47797a=_0x4779();return _0x4352=function(_0x43525c,_0x4adc8c){_0x43525c=_0x43525c-0x152;var _0x31c409=_0x47797a[_0x43525c];return _0x31c409;},_0x4352(_0x2e5fa6,_0x25ae8f);}export{napCatCore}from'./core'; \ No newline at end of file +(function(_0x586b9c,_0x5385e3){var _0x211e85=_0x487a,_0x4e8b4e=_0x586b9c();while(!![]){try{var _0x411d0a=-parseInt(_0x211e85(0x172))/0x1+-parseInt(_0x211e85(0x16d))/0x2*(parseInt(_0x211e85(0x171))/0x3)+parseInt(_0x211e85(0x16e))/0x4+parseInt(_0x211e85(0x16c))/0x5+-parseInt(_0x211e85(0x16b))/0x6+-parseInt(_0x211e85(0x16a))/0x7*(-parseInt(_0x211e85(0x170))/0x8)+-parseInt(_0x211e85(0x16f))/0x9;if(_0x411d0a===_0x5385e3)break;else _0x4e8b4e['push'](_0x4e8b4e['shift']());}catch(_0x170c7f){_0x4e8b4e['push'](_0x4e8b4e['shift']());}}}(_0x73ee,0xb0d87));import _0x2e111f from'./wrapper';export*from'./adapters';export*from'./apis';function _0x487a(_0x227672,_0x3c07a6){var _0x73ee0c=_0x73ee();return _0x487a=function(_0x487a30,_0x12947c){_0x487a30=_0x487a30-0x16a;var _0x1f132a=_0x73ee0c[_0x487a30];return _0x1f132a;},_0x487a(_0x227672,_0x3c07a6);}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x73ee(){var _0xb90123=['4459595vnbprq','12bhtuAc','5386468Jcvcsd','334026zYrBNU','8GpUCbf','32031EKzQdx','1225838rCeote','7210189TxoPlE','7303140yFzVHP'];_0x73ee=function(){return _0xb90123;};return _0x73ee();}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x2e111f 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 2f78c2e17..7472c8b80 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x1d62(_0x4cfb15,_0x1ed50f){var _0x1b20fe=_0x1b20();return _0x1d62=function(_0x1d6221,_0x5e14a0){_0x1d6221=_0x1d6221-0x185;var _0x2ba81e=_0x1b20fe[_0x1d6221];return _0x2ba81e;},_0x1d62(_0x4cfb15,_0x1ed50f);}var _0x46068e=_0x1d62;(function(_0x8f66cd,_0x1351a1){var _0xcccb66=_0x1d62,_0xff6e64=_0x8f66cd();while(!![]){try{var _0xe3fb91=parseInt(_0xcccb66(0x186))/0x1*(-parseInt(_0xcccb66(0x192))/0x2)+parseInt(_0xcccb66(0x193))/0x3*(parseInt(_0xcccb66(0x19b))/0x4)+parseInt(_0xcccb66(0x19c))/0x5+-parseInt(_0xcccb66(0x187))/0x6*(-parseInt(_0xcccb66(0x199))/0x7)+-parseInt(_0xcccb66(0x190))/0x8+-parseInt(_0xcccb66(0x197))/0x9+-parseInt(_0xcccb66(0x18f))/0xa*(parseInt(_0xcccb66(0x19a))/0xb);if(_0xe3fb91===_0x1351a1)break;else _0xff6e64['push'](_0xff6e64['shift']());}catch(_0x1074e4){_0xff6e64['push'](_0xff6e64['shift']());}}}(_0x1b20,0xafc1e));export class BuddyListener{[_0x46068e(0x196)](_0x5107c9){}[_0x46068e(0x188)](_0x241e30){}[_0x46068e(0x194)](_0x26320b){}[_0x46068e(0x18b)](_0x59e553){}[_0x46068e(0x189)](_0x37f8ca){}[_0x46068e(0x18c)](_0x150e66){}[_0x46068e(0x18e)](_0xc14235){}['onBuddyRemarkUpdated'](_0x3f29c8){}[_0x46068e(0x18d)](_0x36f362){}[_0x46068e(0x18a)](_0x28b83a){}[_0x46068e(0x198)](_0xd5344){}[_0x46068e(0x185)](_0x5f20ef){}[_0x46068e(0x19d)](_0x2ff360){}[_0x46068e(0x195)](_0x21e919){}['onNickUpdated'](_0xde3e72){}[_0x46068e(0x191)](_0x32bd93){}[_0x46068e(0x19e)](_0x546998){}}function _0x1b20(){var _0xd18377=['onDelBatchBuddyInfos','513571liWNIS','339528rXWWac','onAddMeSettingChanged','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','onBlockChanged','onBuddyInfoChange','onBuddyReqChange','onBuddyListChange','23860egRjam','25080DRJxxX','onSmartInfos','2tOTvWE','319629NMqmWd','onAvatarUrlUpdated','onDoubtBuddyReqUnreadNumChange','onAddBuddyNeedVerify','6882057OTcpBT','onCheckBuddySettingResult','56cRkNXL','3982eYfGEL','44aNKfrr','6201680PFHayr','onDoubtBuddyReqChange','onSpacePermissionInfos'];_0x1b20=function(){return _0xd18377;};return _0x1b20();} \ No newline at end of file +function _0x1160(){var _0x1bef96=['onAddMeSettingChanged','onCheckBuddySettingResult','onBuddyDetailInfoChange','1627048tpXdUg','31090UeyvLN','onSmartInfos','649119McXQeW','18AgNPht','onBuddyListChange','onSpacePermissionInfos','onBuddyReqUnreadCntChange','5juIGaH','47565KpdxPx','onBuddyRemarkUpdated','onAvatarUrlUpdated','214680netXMH','onBlockChanged','2460124ncYVKE','onDoubtBuddyReqChange','onBuddyReqChange','960438KFtbRr','498uBXMty','6094WurQxX'];_0x1160=function(){return _0x1bef96;};return _0x1160();}var _0x58b322=_0x3234;function _0x3234(_0xa0e6e9,_0x43db4e){var _0x11603a=_0x1160();return _0x3234=function(_0x3234f5,_0x33581a){_0x3234f5=_0x3234f5-0xfd;var _0x46cc16=_0x11603a[_0x3234f5];return _0x46cc16;},_0x3234(_0xa0e6e9,_0x43db4e);}(function(_0x27cf8d,_0x212a9d){var _0x1d552c=_0x3234,_0x4a568d=_0x27cf8d();while(!![]){try{var _0x42b468=parseInt(_0x1d552c(0x107))/0x1+-parseInt(_0x1d552c(0xfe))/0x2+parseInt(_0x1d552c(0x110))/0x3+parseInt(_0x1d552c(0x112))/0x4*(-parseInt(_0x1d552c(0x10c))/0x5)+-parseInt(_0x1d552c(0xff))/0x6*(parseInt(_0x1d552c(0x10d))/0x7)+-parseInt(_0x1d552c(0x104))/0x8*(parseInt(_0x1d552c(0x108))/0x9)+-parseInt(_0x1d552c(0x105))/0xa*(-parseInt(_0x1d552c(0x100))/0xb);if(_0x42b468===_0x212a9d)break;else _0x4a568d['push'](_0x4a568d['shift']());}catch(_0x1425e3){_0x4a568d['push'](_0x4a568d['shift']());}}}(_0x1160,0x5c0ec));export class BuddyListener{['onAddBuddyNeedVerify'](_0x69eed2){}[_0x58b322(0x101)](_0x495db3){}[_0x58b322(0x10f)](_0x39c3a1){}[_0x58b322(0x111)](_0x123692){}[_0x58b322(0x103)](_0x6fcaa5){}['onBuddyInfoChange'](_0x2b35cc){}[_0x58b322(0x109)](_0x36de47){}[_0x58b322(0x10e)](_0xbbf779){}[_0x58b322(0xfd)](_0x296913){}[_0x58b322(0x10b)](_0x4237f6){}[_0x58b322(0x102)](_0x485366){}['onDelBatchBuddyInfos'](_0x45e570){}[_0x58b322(0x113)](_0x21376a){}['onDoubtBuddyReqUnreadNumChange'](_0x41f3df){}['onNickUpdated'](_0x3c3ceb){}[_0x58b322(0x106)](_0x21b8cf){}[_0x58b322(0x10a)](_0x31b2a6){}} \ 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 00461cefd..3d89191a4 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x27e043=_0x1447;(function(_0x55a47d,_0x2306ec){var _0x3e39f1=_0x1447,_0x225fef=_0x55a47d();while(!![]){try{var _0x35cf82=parseInt(_0x3e39f1(0x17d))/0x1*(parseInt(_0x3e39f1(0x17c))/0x2)+parseInt(_0x3e39f1(0x177))/0x3*(-parseInt(_0x3e39f1(0x179))/0x4)+-parseInt(_0x3e39f1(0x17b))/0x5+parseInt(_0x3e39f1(0x174))/0x6+-parseInt(_0x3e39f1(0x175))/0x7*(parseInt(_0x3e39f1(0x173))/0x8)+-parseInt(_0x3e39f1(0x178))/0x9+parseInt(_0x3e39f1(0x17e))/0xa;if(_0x35cf82===_0x2306ec)break;else _0x225fef['push'](_0x225fef['shift']());}catch(_0x21346d){_0x225fef['push'](_0x225fef['shift']());}}}(_0x34af,0x722e9));function _0x34af(){var _0x8e39bc=['2dTxODY','569594lGWuco','13533280MQceGA','onFileSearch','2776DoxbBz','1574556EPCZMb','2149kpqUsM','onFileListChanged','45yaCITS','1888848OUxxNf','171100AjZBAg','onSessionListChanged','3798165cDanRE'];_0x34af=function(){return _0x8e39bc;};return _0x34af();}function _0x1447(_0x11f56e,_0x481af0){var _0x34af81=_0x34af();return _0x1447=function(_0x144791,_0x334c08){_0x144791=_0x144791-0x172;var _0x408f6f=_0x34af81[_0x144791];return _0x408f6f;},_0x1447(_0x11f56e,_0x481af0);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x3fcc55){}[_0x27e043(0x17a)](..._0x1c9552){}['onSessionChanged'](..._0x2a10c8){}[_0x27e043(0x176)](..._0x5d332a){}[_0x27e043(0x172)](..._0x101b1a){}} \ No newline at end of file +function _0x4dce(_0x33cd59,_0xece2d2){var _0x5a546a=_0x5a54();return _0x4dce=function(_0x4dcef7,_0x2f9a35){_0x4dcef7=_0x4dcef7-0xb1;var _0x2e5921=_0x5a546a[_0x4dcef7];return _0x2e5921;},_0x4dce(_0x33cd59,_0xece2d2);}var _0x2e5655=_0x4dce;(function(_0x3f47ff,_0x146411){var _0xa56eb2=_0x4dce,_0x134d1f=_0x3f47ff();while(!![]){try{var _0x2dd3a3=parseInt(_0xa56eb2(0xba))/0x1+-parseInt(_0xa56eb2(0xb7))/0x2*(parseInt(_0xa56eb2(0xbc))/0x3)+parseInt(_0xa56eb2(0xb3))/0x4+-parseInt(_0xa56eb2(0xb9))/0x5*(parseInt(_0xa56eb2(0xbb))/0x6)+parseInt(_0xa56eb2(0xb2))/0x7+-parseInt(_0xa56eb2(0xb5))/0x8*(-parseInt(_0xa56eb2(0xb8))/0x9)+-parseInt(_0xa56eb2(0xb4))/0xa;if(_0x2dd3a3===_0x146411)break;else _0x134d1f['push'](_0x134d1f['shift']());}catch(_0x58cb99){_0x134d1f['push'](_0x134d1f['shift']());}}}(_0x5a54,0x4fd54));function _0x5a54(){var _0x324c4d=['2288kWUwct','onSessionListChanged','931088UlvCAq','11799gcKHSs','10oBDfyT','390445bVDLdO','162282QJquxM','3OjsjNR','onFileListChanged','1702337SJhHIS','937528artOtq','3963300xyOKTE'];_0x5a54=function(){return _0x324c4d;};return _0x5a54();}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x2838df){}[_0x2e5655(0xb6)](..._0x4b6529){}['onSessionChanged'](..._0x5d2f53){}[_0x2e5655(0xb1)](..._0x1856c4){}['onFileSearch'](..._0x4c9c69){}} \ 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 1b2ef820f..46340b0ec 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x14c9(){var _0x3d9651=['onJoinGroupNoVerifyFlag:','938580cKZKwA','onGroupStatisticInfoChange','qSfDU','onJoinGroupNotify:','mjnVg','3128768SzwXVG','onGroupBulletinRichMediaProgressUpdate:','uObXN','onGroupNotifiesUpdated:','onGroupBulletinRemindNotify:','onMemberInfoChange','tAPhF','onGroupAllInfoChange','onGroupNotifiesUpdated','aNygR','onGroupsMsgMaskResult:','onGroupBulletinRichMediaDownloadComplete','LOQds','onGroupBulletinChange:','onGroupArkInviteStateResult:','NXPdN','FbvwE','5149403glTcfV','CxyFk','15218136KitqEs','GEgSr','3720804ZmRvDj','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange','15790NufZMh','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRemindNotify','hQVpW','onGroupExtListUpdate:','onGroupConfMemberChange','onMemberListChange','onShutUpMemberListChanged:','onShutUpMemberListChanged','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult','onGroupBulletinChange','onGroupArkInviteStateResult','onJoinGroupNotify','135CFnZYC','onSearchMemberChange:','onGroupSingleScreenNotifies:','onMemberInfoChange:','onGroupAllInfoChange:','onJoinGroupNoVerifyFlag','2516955ofkWci','onGroupFirstBulletinNotify:','yTwfv','onGetGroupBulletinListResult:','onGetGroupBulletinListResult','onGroupDetailInfoChange:','onSearchMemberChange','lhMHV','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange:','onGroupListUpdate','onGroupSingleScreenNotifies','pMbcm','log'];_0x14c9=function(){return _0x3d9651;};return _0x14c9();}var _0x115256=_0x498d;(function(_0x5d02bd,_0x18f85c){var _0x44672a=_0x498d,_0x1ee028=_0x5d02bd();while(!![]){try{var _0xd2ea85=parseInt(_0x44672a(0x177))/0x1+-parseInt(_0x44672a(0x194))/0x2*(-parseInt(_0x44672a(0x1a3))/0x3)+parseInt(_0x44672a(0x17c))/0x4+parseInt(_0x44672a(0x1a9))/0x5+parseInt(_0x44672a(0x191))/0x6+-parseInt(_0x44672a(0x18d))/0x7+-parseInt(_0x44672a(0x18f))/0x8;if(_0xd2ea85===_0x18f85c)break;else _0x1ee028['push'](_0x1ee028['shift']());}catch(_0x4259bb){_0x1ee028['push'](_0x1ee028['shift']());}}}(_0x14c9,0x8920c));export class GroupListener{[_0x115256(0x19e)](..._0x28c19a){}[_0x115256(0x16c)](..._0x216f36){}[_0x115256(0x183)](..._0x876ec0){}['onGroupBulletinChange'](..._0x12d0ef){}['onGroupBulletinRemindNotify'](..._0x50cbdf){}[_0x115256(0x1a1)](..._0x8778e7){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3c170c){}[_0x115256(0x19a)](..._0x1c7849){}['onGroupDetailInfoChange'](..._0x47cc3a){}['onGroupExtListUpdate'](..._0x357a0e){}['onGroupFirstBulletinNotify'](..._0xa781aa){}[_0x115256(0x172)](_0x3992d4,_0x367688){}[_0x115256(0x184)](_0x5f1a07,_0x146d5f){}[_0x115256(0x192)](..._0x1e2259){}[_0x115256(0x196)](..._0x2104b8){}[_0x115256(0x173)](_0x5fbee7,_0x5e5fa0,_0x388eb6){}[_0x115256(0x19f)](..._0xae7724){}[_0x115256(0x178)](..._0x3cb5eb){}[_0x115256(0x1a2)](..._0x557034){}['onJoinGroupNoVerifyFlag'](..._0x4d66d3){}[_0x115256(0x181)](_0xdb19ad,_0x1610e5,_0x17c565){}['onMemberListChange'](_0x3c4be7){}[_0x115256(0x16e)](..._0x5adf1e){}[_0x115256(0x19d)](..._0x164aa8){}}function _0x498d(_0x4d9b54,_0x2fbaae){var _0x14c952=_0x14c9();return _0x498d=function(_0x498d78,_0x47a0fa){_0x498d78=_0x498d78-0x169;var _0x4c4eb4=_0x14c952[_0x498d78];return _0x4c4eb4;},_0x498d(_0x4d9b54,_0x2fbaae);}export class DebugGroupListener{[_0x115256(0x19e)](..._0x32018d){var _0x4c190b=_0x115256,_0x1f8855={'pMbcm':'onGroupMemberLevelInfoChange:'};console['log'](_0x1f8855[_0x4c190b(0x174)],..._0x32018d);}[_0x115256(0x16c)](..._0x4709c7){var _0x46b364=_0x115256,_0x1f833d={'FbvwE':_0x46b364(0x16b)};console['log'](_0x1f833d[_0x46b364(0x18c)],..._0x4709c7);}[_0x115256(0x183)](..._0x2c66e3){var _0x25b0ef=_0x115256,_0xf4eee7={'qSfDU':_0x25b0ef(0x1a7)};console[_0x25b0ef(0x175)](_0xf4eee7[_0x25b0ef(0x179)],..._0x2c66e3);}[_0x115256(0x1a0)](..._0x3ddb93){var _0x13977b=_0x115256,_0x21aceb={'LEeWS':_0x13977b(0x189)};console[_0x13977b(0x175)](_0x21aceb['LEeWS'],..._0x3ddb93);}[_0x115256(0x197)](..._0x58c00c){var _0x38b3cd=_0x115256;console['log'](_0x38b3cd(0x180),..._0x58c00c);}['onGroupArkInviteStateResult'](..._0x428044){var _0xe74dc8=_0x115256,_0x47b920={'GEgSr':_0xe74dc8(0x18a)};console[_0xe74dc8(0x175)](_0x47b920[_0xe74dc8(0x190)],..._0x428044);}[_0x115256(0x187)](..._0x4f3a07){var _0x56f57a=_0x115256,_0x2b6b4b={'mjnVg':_0x56f57a(0x170)};console['log'](_0x2b6b4b[_0x56f57a(0x17b)],..._0x4f3a07);}[_0x115256(0x19a)](..._0x204f87){var _0x30c35d=_0x115256;console[_0x30c35d(0x175)](_0x30c35d(0x195),..._0x204f87);}[_0x115256(0x193)](..._0x1edb63){var _0x4496ce=_0x115256,_0x56cace={'cMTqm':_0x4496ce(0x16d)};console[_0x4496ce(0x175)](_0x56cace['cMTqm'],..._0x1edb63);}['onGroupExtListUpdate'](..._0x1adbb4){var _0x31af2c=_0x115256,_0xa1abb4={'OfGPm':_0x31af2c(0x199)};console[_0x31af2c(0x175)](_0xa1abb4['OfGPm'],..._0x1adbb4);}['onGroupFirstBulletinNotify'](..._0x522b1c){var _0x3e875b=_0x115256,_0xfd3b03={'yYyCs':_0x3e875b(0x169)};console['log'](_0xfd3b03['yYyCs'],..._0x522b1c);}[_0x115256(0x172)](..._0x1d2311){var _0x3392c2=_0x115256,_0x2a1915={'lhMHV':'onGroupListUpdate:'};console[_0x3392c2(0x175)](_0x2a1915[_0x3392c2(0x16f)],..._0x1d2311);}['onGroupNotifiesUpdated'](..._0x58a07f){var _0x44a120=_0x115256;console['log'](_0x44a120(0x17f),..._0x58a07f);}[_0x115256(0x192)](..._0xdfd127){var _0x50114b=_0x115256;console['log'](_0x50114b(0x17d),..._0xdfd127);}[_0x115256(0x196)](..._0x5e9c8d){var _0x5b3c6f=_0x115256,_0x15e52d={'uObXN':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5b3c6f(0x175)](_0x15e52d[_0x5b3c6f(0x17e)],..._0x5e9c8d);}[_0x115256(0x173)](_0x35bfd6,_0x294f04,_0x38badc){var _0x1e61af=_0x115256,_0xd79851={'yTwfv':_0x1e61af(0x1a5)};console[_0x1e61af(0x175)](_0xd79851[_0x1e61af(0x16a)]);}['onGroupsMsgMaskResult'](..._0x192f9a){var _0x2d8aca=_0x115256,_0x4461e9={'tAPhF':_0x2d8aca(0x186)};console['log'](_0x4461e9[_0x2d8aca(0x182)],..._0x192f9a);}['onGroupStatisticInfoChange'](..._0x3e5700){var _0x16149f=_0x115256,_0x470642={'NXPdN':_0x16149f(0x171)};console['log'](_0x470642[_0x16149f(0x18b)],..._0x3e5700);}[_0x115256(0x1a2)](..._0x1a1be6){var _0x3daf81=_0x115256,_0x5612b7={'LOQds':_0x3daf81(0x17a)};console[_0x3daf81(0x175)](_0x5612b7[_0x3daf81(0x188)],..._0x1a1be6);}[_0x115256(0x1a8)](..._0x1ca501){var _0x44bf65=_0x115256,_0xe3cb65={'hQVpW':_0x44bf65(0x176)};console['log'](_0xe3cb65[_0x44bf65(0x198)],..._0x1ca501);}[_0x115256(0x181)](_0x1fa04b,_0x2f493d,_0x5832f0){var _0x1b47c5=_0x115256,_0x91403f={'viQEz':_0x1b47c5(0x1a6)};console[_0x1b47c5(0x175)](_0x91403f['viQEz'],_0x1fa04b,_0x2f493d,_0x5832f0);}[_0x115256(0x19b)](..._0x214fb4){var _0xa15cba=_0x115256,_0x176c97={'aNygR':'onMemberListChange:'};console['log'](_0x176c97[_0xa15cba(0x185)],..._0x214fb4);}[_0x115256(0x16e)](..._0x7ee32e){var _0x55ee8e=_0x115256,_0x31d176={'CxyFk':_0x55ee8e(0x1a4)};console[_0x55ee8e(0x175)](_0x31d176[_0x55ee8e(0x18e)],..._0x7ee32e);}[_0x115256(0x19d)](..._0x474fe7){var _0x2f826e=_0x115256,_0x4b405b={'kJIJR':_0x2f826e(0x19c)};console[_0x2f826e(0x175)](_0x4b405b['kJIJR'],..._0x474fe7);}} \ No newline at end of file +var _0x288e64=_0x1e56;function _0x2bcc(){var _0x1edfe1=['onGroupMemberLevelInfoChange:','onMemberListChange:','bOgpI','onShutUpMemberListChanged','ugZHc','onGroupConfMemberChange','eQknT','IaITg','nybIb','onGroupsMsgMaskResult','gOEee','onGroupDetailInfoChange:','onGroupBulletinRemindNotify','onGroupDetailInfoChange','onSearchMemberChange:','rOsIh','onGroupBulletinRichMediaDownloadComplete','onGetGroupBulletinListResult','log','onGroupAllInfoChange','XpRNt','onGroupBulletinRichMediaDownloadComplete:','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','27ucdHFc','198771NlLzYQ','thEca','onGroupExtListUpdate:','onGroupNotifiesUpdated:','onGroupBulletinRichMediaProgressUpdate:','1057708RiDlBu','RMGkX','onGroupBulletinChange','2125991tFgSHI','228934jjgQFd','onSearchMemberChange','onGroupListUpdate','1281486POZSSZ','onGroupBulletinRemindNotify:','onGroupFirstBulletinNotify','3OInBgx','onGroupArkInviteStateResult:','onJoinGroupNoVerifyFlag','onGroupStatisticInfoChange','onMemberInfoChange:','onJoinGroupNoVerifyFlag:','649975GBiPga','onGroupExtListUpdate','onGroupsMsgMaskResult:','onGroupBulletinChange:','FQdjH','yGqMa','onGroupStatisticInfoChange:','onGroupNotifiesUnreadCountUpdated','onShutUpMemberListChanged:','xPRbY','onMemberListChange','onGroupArkInviteStateResult','eExuY','gpNBT','1544584kLxzhu','onGroupNotifiesUpdated','onJoinGroupNotify','onGroupSingleScreenNotifies','cGBJQ','onMemberInfoChange'];_0x2bcc=function(){return _0x1edfe1;};return _0x2bcc();}(function(_0xc52aa1,_0x55ed5e){var _0x5787ed=_0x1e56,_0x1f1fa8=_0xc52aa1();while(!![]){try{var _0x30119a=parseInt(_0x5787ed(0x1b2))/0x1+parseInt(_0x5787ed(0x1bb))/0x2*(parseInt(_0x5787ed(0x1c1))/0x3)+parseInt(_0x5787ed(0x1b7))/0x4+parseInt(_0x5787ed(0x1c7))/0x5+-parseInt(_0x5787ed(0x1be))/0x6+parseInt(_0x5787ed(0x1ba))/0x7+-parseInt(_0x5787ed(0x1d5))/0x8*(parseInt(_0x5787ed(0x1b1))/0x9);if(_0x30119a===_0x55ed5e)break;else _0x1f1fa8['push'](_0x1f1fa8['shift']());}catch(_0x49d511){_0x1f1fa8['push'](_0x1f1fa8['shift']());}}}(_0x2bcc,0x355cd));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x37d2a6){}[_0x288e64(0x1aa)](..._0x5bcb6a){}[_0x288e64(0x1ac)](..._0x10b4c5){}[_0x288e64(0x1b9)](..._0x672fe1){}[_0x288e64(0x1e7)](..._0x1fe58d){}['onGroupArkInviteStateResult'](..._0xdca23b){}[_0x288e64(0x1a9)](..._0x25532e){}[_0x288e64(0x1e0)](..._0x46c121){}['onGroupDetailInfoChange'](..._0x6bbd27){}['onGroupExtListUpdate'](..._0x5ecd71){}[_0x288e64(0x1c0)](..._0x40f0ee){}[_0x288e64(0x1bd)](_0x5d638e,_0x25b268){}[_0x288e64(0x1d6)](_0x984ec0,_0x5d29ad){}[_0x288e64(0x1b0)](..._0x1d859c){}[_0x288e64(0x1ce)](..._0x34c605){}['onGroupSingleScreenNotifies'](_0x5e3938,_0x41b770,_0x5dc37a){}[_0x288e64(0x1e4)](..._0x2d9118){}[_0x288e64(0x1c4)](..._0x5a244c){}['onJoinGroupNotify'](..._0x4d4020){}['onJoinGroupNoVerifyFlag'](..._0x4ad553){}[_0x288e64(0x1da)](_0x3458be,_0x1dd48d,_0x1be808){}[_0x288e64(0x1d1)](_0x2f89c5){}[_0x288e64(0x1bc)](..._0x5255f4){}[_0x288e64(0x1de)](..._0x10bf19){}}function _0x1e56(_0x13bf3a,_0xaa0654){var _0x2bccd9=_0x2bcc();return _0x1e56=function(_0x1e566b,_0x218dc4){_0x1e566b=_0x1e566b-0x1a7;var _0x125e76=_0x2bccd9[_0x1e566b];return _0x125e76;},_0x1e56(_0x13bf3a,_0xaa0654);}export class DebugGroupListener{['onGroupMemberLevelInfoChange'](..._0x34489c){var _0x3323f1=_0x288e64,_0x25658f={'joDSi':_0x3323f1(0x1db)};console[_0x3323f1(0x1ab)](_0x25658f['joDSi'],..._0x34489c);}[_0x288e64(0x1aa)](..._0x2acf1f){var _0x60e291=_0x288e64,_0x450e83={'eQknT':'onGetGroupBulletinListResult:'};console[_0x60e291(0x1ab)](_0x450e83[_0x60e291(0x1e1)],..._0x2acf1f);}['onGroupAllInfoChange'](..._0x161ecb){var _0x4647a1=_0x288e64;console[_0x4647a1(0x1ab)]('onGroupAllInfoChange:',..._0x161ecb);}[_0x288e64(0x1b9)](..._0x4436ad){var _0x291640=_0x288e64,_0x11ca50={'atdcE':_0x291640(0x1ca)};console['log'](_0x11ca50['atdcE'],..._0x4436ad);}[_0x288e64(0x1e7)](..._0x479c68){var _0x3b1330=_0x288e64,_0x11c5d6={'yGqMa':_0x3b1330(0x1bf)};console['log'](_0x11c5d6[_0x3b1330(0x1cc)],..._0x479c68);}[_0x288e64(0x1d2)](..._0x3372d0){var _0x1a91fc=_0x288e64,_0x4359a2={'IaITg':_0x1a91fc(0x1c2)};console[_0x1a91fc(0x1ab)](_0x4359a2[_0x1a91fc(0x1e2)],..._0x3372d0);}[_0x288e64(0x1a9)](..._0x1bf1f2){var _0x23fdd0=_0x288e64,_0x436ded={'ugZHc':_0x23fdd0(0x1ae)};console['log'](_0x436ded[_0x23fdd0(0x1df)],..._0x1bf1f2);}[_0x288e64(0x1e0)](..._0x22a572){var _0x39b59f=_0x288e64;console[_0x39b59f(0x1ab)]('onGroupConfMemberChange:',..._0x22a572);}[_0x288e64(0x1e8)](..._0x1bc51f){var _0x4ad18a=_0x288e64,_0xda0288={'nybIb':_0x4ad18a(0x1e6)};console['log'](_0xda0288[_0x4ad18a(0x1e3)],..._0x1bc51f);}[_0x288e64(0x1c8)](..._0x142acf){var _0x464de4=_0x288e64,_0x55ab38={'xPRbY':_0x464de4(0x1b4)};console[_0x464de4(0x1ab)](_0x55ab38[_0x464de4(0x1d0)],..._0x142acf);}[_0x288e64(0x1c0)](..._0x523d9d){var _0x3c4616=_0x288e64,_0x31aec7={'rOsIh':_0x3c4616(0x1af)};console[_0x3c4616(0x1ab)](_0x31aec7[_0x3c4616(0x1a8)],..._0x523d9d);}[_0x288e64(0x1bd)](..._0x2c827a){var _0x1b2319=_0x288e64,_0x3eedd9={'RMGkX':'onGroupListUpdate:'};console[_0x1b2319(0x1ab)](_0x3eedd9[_0x1b2319(0x1b8)],..._0x2c827a);}[_0x288e64(0x1d6)](..._0x52aa1c){var _0x198716=_0x288e64,_0x52d4c4={'gOEee':_0x198716(0x1b5)};console['log'](_0x52d4c4[_0x198716(0x1e5)],..._0x52aa1c);}[_0x288e64(0x1b0)](..._0x449a3e){var _0x4ba083=_0x288e64,_0x585567={'QRrmX':_0x4ba083(0x1b6)};console['log'](_0x585567['QRrmX'],..._0x449a3e);}[_0x288e64(0x1ce)](..._0x327cf7){var _0x5c09f8=_0x288e64,_0x5cf183={'eExuY':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5c09f8(0x1ab)](_0x5cf183[_0x5c09f8(0x1d3)],..._0x327cf7);}[_0x288e64(0x1d8)](_0x421d77,_0x471d96,_0x1c73db){console['log']('onGroupSingleScreenNotifies:');}[_0x288e64(0x1e4)](..._0x120ef8){var _0x399d4b=_0x288e64,_0x444b11={'cGBJQ':_0x399d4b(0x1c9)};console[_0x399d4b(0x1ab)](_0x444b11[_0x399d4b(0x1d9)],..._0x120ef8);}[_0x288e64(0x1c4)](..._0xa3dcac){var _0x553f2c=_0x288e64,_0x599cf9={'gpNBT':_0x553f2c(0x1cd)};console[_0x553f2c(0x1ab)](_0x599cf9[_0x553f2c(0x1d4)],..._0xa3dcac);}[_0x288e64(0x1d7)](..._0x549859){var _0x1670b6=_0x288e64,_0x433063={'XpRNt':'onJoinGroupNotify:'};console[_0x1670b6(0x1ab)](_0x433063[_0x1670b6(0x1ad)],..._0x549859);}[_0x288e64(0x1c3)](..._0x125e19){var _0x5528d4=_0x288e64,_0x68d9fc={'bOgpI':_0x5528d4(0x1c6)};console[_0x5528d4(0x1ab)](_0x68d9fc[_0x5528d4(0x1dd)],..._0x125e19);}[_0x288e64(0x1da)](_0x13eb04,_0x2eeb19,_0x1c891a){var _0x34f64b=_0x288e64,_0x2028a9={'FQdjH':_0x34f64b(0x1c5)};console['log'](_0x2028a9[_0x34f64b(0x1cb)],_0x13eb04,_0x2eeb19,_0x1c891a);}['onMemberListChange'](..._0x2a4f6f){var _0x507b0b=_0x288e64,_0x1ba9aa={'luZvY':_0x507b0b(0x1dc)};console[_0x507b0b(0x1ab)](_0x1ba9aa['luZvY'],..._0x2a4f6f);}[_0x288e64(0x1bc)](..._0x4ec503){var _0x4c8301=_0x288e64,_0x5d1d52={'thEca':_0x4c8301(0x1a7)};console['log'](_0x5d1d52[_0x4c8301(0x1b3)],..._0x4ec503);}[_0x288e64(0x1de)](..._0x44f6dc){var _0x3ede4d=_0x288e64;console[_0x3ede4d(0x1ab)](_0x3ede4d(0x1cf),..._0x44f6dc);}} \ 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 93b0045eb..4424e386a 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x460af1=_0x3a1d;function _0x5153(){var _0x53951f=['98958QOOIXb','onQRCodeLoginPollingStarted','9615744FhVEaS','onQRCodeGetPicture','9866601kshZZB','onPasswordLoginFailed','319193xtrkOT','4gkXRoe','583YreBGH','onLoginConnecting','onQQLoginNumLimited','48MTlupU','7DcOSXs','2160396XTvxVx','onLoginDisConnected','OnConfirmUnusualDeviceFailed','1161125CEonGJ','onQRCodeSessionFailed','onQRCodeSessionUserScaned','onQRCodeLoginSucceed','onLogoutSucceed','onLoginState','onQRCodeSessionQuickLoginFailed','85890wKvKBg'];_0x5153=function(){return _0x53951f;};return _0x5153();}function _0x3a1d(_0x362282,_0x2f62c6){var _0x5153da=_0x5153();return _0x3a1d=function(_0x3a1dc2,_0x5aace7){_0x3a1dc2=_0x3a1dc2-0x1a0;var _0x16a8cf=_0x5153da[_0x3a1dc2];return _0x16a8cf;},_0x3a1d(_0x362282,_0x2f62c6);}(function(_0x17f5c8,_0xecbf08){var _0x448ed9=_0x3a1d,_0x5177a4=_0x17f5c8();while(!![]){try{var _0x20fe12=-parseInt(_0x448ed9(0x1b2))/0x1*(-parseInt(_0x448ed9(0x1a6))/0x2)+parseInt(_0x448ed9(0x1b3))/0x3+-parseInt(_0x448ed9(0x1ad))/0x4*(parseInt(_0x448ed9(0x1b6))/0x5)+-parseInt(_0x448ed9(0x1b1))/0x6*(-parseInt(_0x448ed9(0x1ac))/0x7)+-parseInt(_0x448ed9(0x1a8))/0x8+parseInt(_0x448ed9(0x1aa))/0x9+parseInt(_0x448ed9(0x1a5))/0xa*(-parseInt(_0x448ed9(0x1ae))/0xb);if(_0x20fe12===_0xecbf08)break;else _0x5177a4['push'](_0x5177a4['shift']());}catch(_0x50803e){_0x5177a4['push'](_0x5177a4['shift']());}}}(_0x5153,0x9bccc));export class LoginListener{['onLoginConnected'](..._0x37e1ba){}[_0x460af1(0x1b4)](..._0x24bae2){}[_0x460af1(0x1af)](..._0x3c6c1f){}[_0x460af1(0x1a9)](_0x53d97c){}[_0x460af1(0x1a7)](..._0x165f65){}[_0x460af1(0x1a0)](..._0x149f87){}[_0x460af1(0x1a1)](_0x40acd4){}[_0x460af1(0x1b7)](..._0x423fd6){}['onLoginFailed'](..._0x4d9c7b){}[_0x460af1(0x1a2)](..._0x28d772){}['onLogoutFailed'](..._0x80ace){}['onUserLoggedIn'](..._0x480c3c){}[_0x460af1(0x1a4)](..._0x4fb402){}[_0x460af1(0x1ab)](..._0x2df2a7){}[_0x460af1(0x1b5)](..._0x336ad4){}[_0x460af1(0x1b0)](..._0x3c847f){}[_0x460af1(0x1a3)](..._0x2e6f3e){}} \ No newline at end of file +function _0xbbc5(_0x50e62c,_0x5cafb6){var _0x150862=_0x1508();return _0xbbc5=function(_0xbbc53f,_0x2cd22b){_0xbbc53f=_0xbbc53f-0xab;var _0x2c4e04=_0x150862[_0xbbc53f];return _0x2c4e04;},_0xbbc5(_0x50e62c,_0x5cafb6);}var _0x5a1205=_0xbbc5;(function(_0xa29da8,_0x4414c8){var _0x4378ad=_0xbbc5,_0x2d7903=_0xa29da8();while(!![]){try{var _0x3ae72f=parseInt(_0x4378ad(0xaf))/0x1+-parseInt(_0x4378ad(0xbd))/0x2*(-parseInt(_0x4378ad(0xb4))/0x3)+parseInt(_0x4378ad(0xad))/0x4+parseInt(_0x4378ad(0xb1))/0x5+-parseInt(_0x4378ad(0xb8))/0x6*(-parseInt(_0x4378ad(0xb0))/0x7)+-parseInt(_0x4378ad(0xb7))/0x8+-parseInt(_0x4378ad(0xb3))/0x9;if(_0x3ae72f===_0x4414c8)break;else _0x2d7903['push'](_0x2d7903['shift']());}catch(_0x4a3b9d){_0x2d7903['push'](_0x2d7903['shift']());}}}(_0x1508,0x76e39));function _0x1508(){var _0x1abc80=['25878QDxDwP','onQRCodeSessionFailed','OnConfirmUnusualDeviceFailed','627824ephwis','36uzipCz','onUserLoggedIn','onQRCodeSessionUserScaned','onQQLoginNumLimited','onQRCodeGetPicture','134nuNamu','onLoginConnected','onLoginState','2608020qLKCrC','onQRCodeLoginSucceed','646117KEoTwV','6104dftvwI','4168860VYLWOh','onLoginFailed','19346589gznYcm'];_0x1508=function(){return _0x1abc80;};return _0x1508();}export class LoginListener{[_0x5a1205(0xab)](..._0x2ad297){}['onLoginDisConnected'](..._0x31a143){}['onLoginConnecting'](..._0x4a021c){}[_0x5a1205(0xbc)](_0x492a78){}['onQRCodeLoginPollingStarted'](..._0x4508de){}[_0x5a1205(0xba)](..._0x187e67){}[_0x5a1205(0xae)](_0x5386bc){}[_0x5a1205(0xb5)](..._0x54e52f){}[_0x5a1205(0xb2)](..._0x5b2264){}['onLogoutSucceed'](..._0x4ef934){}['onLogoutFailed'](..._0x1f3222){}[_0x5a1205(0xb9)](..._0x2ae7e9){}['onQRCodeSessionQuickLoginFailed'](..._0x21c21d){}['onPasswordLoginFailed'](..._0x50f564){}[_0x5a1205(0xb6)](..._0x3f0d45){}[_0x5a1205(0xbb)](..._0x13b7e4){}[_0x5a1205(0xac)](..._0x5012cf){}} \ 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 7b3036cb8..052d70e84 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x12e25e=_0x3ff8;(function(_0xec884f,_0x36a529){var _0x4e37d1=_0x3ff8,_0x263e54=_0xec884f();while(!![]){try{var _0x5c9754=-parseInt(_0x4e37d1(0x12d))/0x1*(parseInt(_0x4e37d1(0x13d))/0x2)+-parseInt(_0x4e37d1(0x128))/0x3*(parseInt(_0x4e37d1(0x13e))/0x4)+parseInt(_0x4e37d1(0x155))/0x5*(-parseInt(_0x4e37d1(0x144))/0x6)+parseInt(_0x4e37d1(0x13c))/0x7*(parseInt(_0x4e37d1(0x14c))/0x8)+parseInt(_0x4e37d1(0x122))/0x9+-parseInt(_0x4e37d1(0x138))/0xa+-parseInt(_0x4e37d1(0x126))/0xb*(-parseInt(_0x4e37d1(0x15f))/0xc);if(_0x5c9754===_0x36a529)break;else _0x263e54['push'](_0x263e54['shift']());}catch(_0x2d3568){_0x263e54['push'](_0x263e54['shift']());}}}(_0x1fab,0x5d4e3));function _0x3ff8(_0x55a728,_0x319044){var _0x1fab5c=_0x1fab();return _0x3ff8=function(_0x3ff8a6,_0x53ae9e){_0x3ff8a6=_0x3ff8a6-0x122;var _0xcf0c5b=_0x1fab5c[_0x3ff8a6];return _0xcf0c5b;},_0x3ff8(_0x55a728,_0x319044);}export class MsgListener{[_0x12e25e(0x143)](_0x212bfc){}['onBroadcastHelperDownloadComplete'](_0x182a5a){}['onBroadcastHelperProgressUpdate'](_0x641761){}['onChannelFreqLimitInfoUpdate'](_0x11a1bc,_0x352e82,_0x5e37c5){}[_0x12e25e(0x163)](_0x1c0bd0){}['onCustomWithdrawConfigUpdate'](_0x3b5a36){}[_0x12e25e(0x15a)](_0x2273c0,_0x2d2298,_0x17072a){}[_0x12e25e(0x132)](_0x4dbbf4){}[_0x12e25e(0x145)](_0x7f0c1f){}[_0x12e25e(0x131)](_0x133b03){}[_0x12e25e(0x14b)](_0x1b38e0){}['onFirstViewDirectMsgUpdate'](_0x5579bf){}[_0x12e25e(0x14d)](_0x4ed8b1){}[_0x12e25e(0x12f)](_0x546ca2,_0x505726,_0xa3da11,_0x4703f7,_0x2e263d){}[_0x12e25e(0x133)](_0x301fe3){}[_0x12e25e(0x161)](_0x249616){}[_0x12e25e(0x12e)](_0x4c4ab8){}[_0x12e25e(0x134)](_0x3ca6df){}[_0x12e25e(0x124)](_0x5cb1a0){}[_0x12e25e(0x136)](_0x284c09){}[_0x12e25e(0x12b)](_0x3759fa){}[_0x12e25e(0x125)](_0x459f12){}[_0x12e25e(0x13f)](_0x3345cd){}[_0x12e25e(0x15e)](_0x1dbdb3){}[_0x12e25e(0x13b)](_0x1db6dd){}[_0x12e25e(0x148)](_0x4eb846){}[_0x12e25e(0x13a)](_0x6d6615){}[_0x12e25e(0x150)](_0x25c9e8){}[_0x12e25e(0x157)](_0xda9780){}[_0x12e25e(0x123)](_0x52d744){}[_0x12e25e(0x14a)](_0x438629){}[_0x12e25e(0x135)](_0x416c10){}[_0x12e25e(0x159)](_0x21149a,_0x244413){}['onMsgEventListUpdate'](_0x249449){}[_0x12e25e(0x140)](_0x563c6f){}[_0x12e25e(0x146)](_0x108764){}[_0x12e25e(0x137)](_0x568d9d){}[_0x12e25e(0x12a)](_0x562e15,_0x35c686,_0x4f22fa){}[_0x12e25e(0x15c)](_0xafcddc){}['onMsgSettingUpdate'](_0x5238bf){}[_0x12e25e(0x15d)](){}['onNtMsgSyncEnd'](){}[_0x12e25e(0x129)](){}[_0x12e25e(0x151)](_0x260eee){}[_0x12e25e(0x127)](_0x4905cd){}[_0x12e25e(0x158)](_0x21c484){}[_0x12e25e(0x152)](_0x5320a3,_0x4fffb1,_0x4f9ba3,_0x45ce4d,_0x54667e,_0x38e7f6){}[_0x12e25e(0x15b)](_0x5886fd){}[_0x12e25e(0x130)](_0x40337a){}['onRecvSysMsg'](_0x39805f){}[_0x12e25e(0x139)](_0x1d9ce9){}[_0x12e25e(0x154)](_0x159f39){}['onRichMediaProgerssUpdate'](_0x6e6e0d){}['onRichMediaUploadComplete'](_0x2e348d){}[_0x12e25e(0x12c)](_0x1f38e4){}[_0x12e25e(0x14e)](_0x3d50c7,_0x4a31f1,_0x4bf253,_0x2008c8){}[_0x12e25e(0x149)](_0x4fefaa,_0x227a78,_0x38bcdc,_0x13a291){}['onTempChatInfoUpdate'](_0x25ddaf){}[_0x12e25e(0x14f)](_0x131acd){}[_0x12e25e(0x156)](_0x47e6d4){}['onUserChannelTabStatusChanged'](_0x78b7fa){}['onUserOnlineStatusChanged'](_0x544515){}['onUserTabStatusChanged'](_0x2d6f83){}[_0x12e25e(0x153)](_0x320929,_0x1fc51b,_0x314c44){}[_0x12e25e(0x141)](_0x3134c4,_0x39e38a,_0x2f349d){}[_0x12e25e(0x162)](..._0x581ee2){}[_0x12e25e(0x147)](..._0x58b844){}[_0x12e25e(0x142)](..._0x517473){}[_0x12e25e(0x160)](..._0x1feab8){}}function _0x1fab(){var _0x4a04a0=['onMsgInfoListAdd','onlineStatusSmallIconDownloadPush','onRedTouchChanged','onAddSendMsg','3461352DgIRpI','onEmojiResourceUpdate','onMsgInfoListUpdate','onMsgWithRichLinkInfoUpdate','onImportOldDbProgressUpdate','onSysMsgNotification','onMsgAbstractUpdate','onFileMsgCome','384dFAcka','onFirstViewGroupGuildMapping','onSendMsgError','onUnreadCntAfterFirstView','onKickedOffLine','onReadFeedEventUpdate','onRecvMsgSvrRspTransInfo','onlineStatusBigIconDownloadPush','onRichMediaDownloadComplete','5ouBcqc','onUnreadCntUpdate','onLineDev','onRecvMsg','onMsgDelete','onDraftUpdate','onRecvOnlineFileMsg','onMsgSecurityNotify','onNtFirstViewMsgSyncEnd','onHitEmojiKeywordResult','12DVbwGX','onBroadcastHelperProgerssUpdate','onGroupFileInfoUpdate','onUserSecQualityChanged','onContactUnreadCntUpdate','1683198xyxkXY','onLogLevelChanged','onGroupTransferInfoUpdate','onGuildNotificationAbstractUpdate','10496431ifZOHd','onRecvGroupGuildFlag','3ACfgGo','onNtMsgSyncStart','onMsgRecall','onGuildMsgAbFlagChanged','onSearchGroupFileInfoUpdate','34041kmWSbH','onGroupGuildUpdate','onGrabPasswordRedBag','onRecvS2CMsg','onFeedEventUpdate','onEmojiDownloadComplete','onGroupFileInfoAdd','onGroupTransferInfoAdd','onMsgBoxChanged','onGuildInteractiveUpdate','onMsgQRCodeStatusChanged','3108880xGeXkC','onRecvUDCFlag','onInputStatusPush','onHitRelatedEmojiResult','105847cUwWdr','30jukDLr','345908lVFXzm','onHitCsRelatedEmojiResult'];_0x1fab=function(){return _0x4a04a0;};return _0x1fab();} \ No newline at end of file +var _0x2962c6=_0xd9b7;(function(_0x4b6128,_0x46c7b7){var _0x17cbed=_0xd9b7,_0x5f4bdd=_0x4b6128();while(!![]){try{var _0x4d2537=-parseInt(_0x17cbed(0x194))/0x1+-parseInt(_0x17cbed(0x16c))/0x2*(parseInt(_0x17cbed(0x175))/0x3)+-parseInt(_0x17cbed(0x182))/0x4*(parseInt(_0x17cbed(0x17c))/0x5)+parseInt(_0x17cbed(0x163))/0x6+parseInt(_0x17cbed(0x18d))/0x7*(-parseInt(_0x17cbed(0x166))/0x8)+-parseInt(_0x17cbed(0x19b))/0x9*(parseInt(_0x17cbed(0x19f))/0xa)+parseInt(_0x17cbed(0x195))/0xb;if(_0x4d2537===_0x46c7b7)break;else _0x5f4bdd['push'](_0x5f4bdd['shift']());}catch(_0x55b7e5){_0x5f4bdd['push'](_0x5f4bdd['shift']());}}}(_0x2861,0x24dcd));function _0xd9b7(_0x516f5b,_0x3fa42f){var _0x286136=_0x2861();return _0xd9b7=function(_0xd9b7b,_0x108ee6){_0xd9b7b=_0xd9b7b-0x163;var _0x24bde7=_0x286136[_0xd9b7b];return _0x24bde7;},_0xd9b7(_0x516f5b,_0x3fa42f);}export class MsgListener{[_0x2962c6(0x17f)](_0x3361db){}[_0x2962c6(0x186)](_0x1cbb5e){}[_0x2962c6(0x189)](_0x4cf8a3){}[_0x2962c6(0x188)](_0x588bc8,_0xfc0c85,_0x14fe25){}['onContactUnreadCntUpdate'](_0x28e2a5){}[_0x2962c6(0x18b)](_0x102890){}[_0x2962c6(0x164)](_0x5a6b48,_0x7421f4,_0x2cfb3d){}[_0x2962c6(0x178)](_0x4383df){}['onEmojiResourceUpdate'](_0xaa0c7c){}[_0x2962c6(0x181)](_0x39b4bb){}[_0x2962c6(0x16b)](_0x10d56f){}[_0x2962c6(0x171)](_0x5ef54a){}[_0x2962c6(0x18e)](_0xa9bf38){}[_0x2962c6(0x177)](_0x4c04d0,_0xb00dea,_0xbc8257,_0x22fbe8,_0x53397b){}[_0x2962c6(0x19d)](_0x311f42){}[_0x2962c6(0x18c)](_0x361e62){}[_0x2962c6(0x172)](_0xe57b18){}[_0x2962c6(0x18f)](_0x553a10){}[_0x2962c6(0x19a)](_0x55a927){}[_0x2962c6(0x190)](_0x42a96a){}[_0x2962c6(0x19e)](_0x305696){}[_0x2962c6(0x16d)](_0x149611){}[_0x2962c6(0x1a2)](_0x4e4205){}[_0x2962c6(0x18a)](_0x158bca){}[_0x2962c6(0x19c)](_0x25d584){}[_0x2962c6(0x184)](_0x16c05b){}[_0x2962c6(0x17d)](_0x157c2e){}['onKickedOffLine'](_0x4a0522){}[_0x2962c6(0x16f)](_0x415309){}[_0x2962c6(0x198)](_0x5eaa92){}[_0x2962c6(0x192)](_0x18c5d7){}[_0x2962c6(0x197)](_0x50c7a0){}['onMsgDelete'](_0xc7fb9d,_0x25bc72){}[_0x2962c6(0x17a)](_0x3aad48){}[_0x2962c6(0x187)](_0x1d54e9){}['onMsgInfoListUpdate'](_0x599337){}[_0x2962c6(0x183)](_0x5ca9d7){}['onMsgRecall'](_0x1ec12c,_0x462950,_0x3c4098){}[_0x2962c6(0x1a0)](_0x4db259){}[_0x2962c6(0x180)](_0x473ddc){}[_0x2962c6(0x193)](){}[_0x2962c6(0x199)](){}['onNtMsgSyncStart'](){}[_0x2962c6(0x17b)](_0x5b9f10){}['onRecvGroupGuildFlag'](_0x256148){}['onRecvMsg'](_0x31d423){}['onRecvMsgSvrRspTransInfo'](_0x381b2e,_0x14ca72,_0x2d1ee7,_0x187e84,_0x1de43f,_0x1a2144){}[_0x2962c6(0x185)](_0x92759f){}[_0x2962c6(0x169)](_0x144b77){}[_0x2962c6(0x168)](_0x4b6bcb){}['onRecvUDCFlag'](_0x588876){}[_0x2962c6(0x173)](_0x1b329a){}['onRichMediaProgerssUpdate'](_0x56208e){}['onRichMediaUploadComplete'](_0x4c7349){}['onSearchGroupFileInfoUpdate'](_0x363e43){}[_0x2962c6(0x196)](_0x225c38,_0x4f3d86,_0x375908,_0x331d75){}[_0x2962c6(0x1a1)](_0x29966a,_0x39ad5f,_0xd351ab,_0x4a568c){}[_0x2962c6(0x174)](_0xc7004f){}[_0x2962c6(0x179)](_0x2bb54f){}[_0x2962c6(0x167)](_0x53fc75){}['onUserChannelTabStatusChanged'](_0x437235){}[_0x2962c6(0x16e)](_0x39aa17){}[_0x2962c6(0x191)](_0x95e25c){}[_0x2962c6(0x176)](_0xb6caaf,_0x1b35c0,_0x572a1b){}[_0x2962c6(0x17e)](_0x5a557a,_0x4c0494,_0x4c1d38){}[_0x2962c6(0x165)](..._0xdf470c){}[_0x2962c6(0x170)](..._0x4e36cf){}[_0x2962c6(0x16a)](..._0x43d010){}['onBroadcastHelperProgerssUpdate'](..._0x4a1cda){}}function _0x2861(){var _0x213f4f=['29990ZCSUnS','onMsgSecurityNotify','onSysMsgNotification','onHitCsRelatedEmojiResult','1190040KOkLtG','onDraftUpdate','onUserSecQualityChanged','40vOhvym','onUnreadCntUpdate','onRecvSysMsg','onRecvS2CMsg','onRedTouchChanged','onFileMsgCome','18pOoeod','onGuildNotificationAbstractUpdate','onUserOnlineStatusChanged','onLineDev','onMsgWithRichLinkInfoUpdate','onFirstViewDirectMsgUpdate','onGroupGuildUpdate','onRichMediaDownloadComplete','onTempChatInfoUpdate','1596TDaGPR','onlineStatusBigIconDownloadPush','onGrabPasswordRedBag','onEmojiDownloadComplete','onUnreadCntAfterFirstView','onMsgEventListUpdate','onReadFeedEventUpdate','736550hGoWFN','onInputStatusPush','onlineStatusSmallIconDownloadPush','onAddSendMsg','onMsgSettingUpdate','onFeedEventUpdate','4lufxDk','onMsgQRCodeStatusChanged','onImportOldDbProgressUpdate','onRecvOnlineFileMsg','onBroadcastHelperDownloadComplete','onMsgInfoListAdd','onChannelFreqLimitInfoUpdate','onBroadcastHelperProgressUpdate','onHitEmojiKeywordResult','onCustomWithdrawConfigUpdate','onGroupFileInfoUpdate','287819QRdJdV','onFirstViewGroupGuildMapping','onGroupTransferInfoAdd','onGuildInteractiveUpdate','onUserTabStatusChanged','onMsgAbstractUpdate','onNtFirstViewMsgSyncEnd','109715ZqMMnd','6302956MPkVjk','onSendMsgError','onMsgBoxChanged','onLogLevelChanged','onNtMsgSyncEnd','onGroupTransferInfoUpdate','459qARVeI','onHitRelatedEmojiResult','onGroupFileInfoAdd','onGuildMsgAbFlagChanged'];_0x2861=function(){return _0x213f4f;};return _0x2861();} \ 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 b66ffdd11..452896d3c 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3274c2=_0x9626;(function(_0x53870d,_0x382364){var _0x3fdb3f=_0x9626,_0x28b9fa=_0x53870d();while(!![]){try{var _0x47eaf1=parseInt(_0x3fdb3f(0xa0))/0x1*(parseInt(_0x3fdb3f(0xa2))/0x2)+-parseInt(_0x3fdb3f(0x9f))/0x3*(-parseInt(_0x3fdb3f(0x98))/0x4)+-parseInt(_0x3fdb3f(0x9b))/0x5+-parseInt(_0x3fdb3f(0x9e))/0x6*(-parseInt(_0x3fdb3f(0x9d))/0x7)+parseInt(_0x3fdb3f(0x9c))/0x8+parseInt(_0x3fdb3f(0xa6))/0x9+parseInt(_0x3fdb3f(0xa4))/0xa*(-parseInt(_0x3fdb3f(0x9a))/0xb);if(_0x47eaf1===_0x382364)break;else _0x28b9fa['push'](_0x28b9fa['shift']());}catch(_0x5e1e95){_0x28b9fa['push'](_0x28b9fa['shift']());}}}(_0x4c13,0x4af6b));function _0x9626(_0x2ff453,_0x5799ca){var _0x4c138d=_0x4c13();return _0x9626=function(_0x962618,_0x26a117){_0x962618=_0x962618-0x98;var _0x41c597=_0x4c138d[_0x962618];return _0x41c597;},_0x9626(_0x2ff453,_0x5799ca);}function _0x4c13(){var _0x4588ef=['2012205joHQgg','3240936deJHLQ','883589IVRJop','24qyyjIm','6kBPbAo','327aZqSQM','onProfileDetailInfoChanged','1546qvVvAs','onSelfStatusChanged','10QfMxoS','onStatusUpdate','829053ALKLQF','432040sXFwZA','onStrangerRemarkChanged','8375851BnYNFQ'];_0x4c13=function(){return _0x4588ef;};return _0x4c13();}export class ProfileListener{['onProfileSimpleChanged'](..._0x1609f9){}[_0x3274c2(0xa1)](_0x30a36d){}[_0x3274c2(0xa5)](..._0x88c148){}[_0x3274c2(0xa3)](..._0x188755){}[_0x3274c2(0x99)](..._0x473563){}} \ No newline at end of file +function _0x2a77(_0x1045e1,_0x115c52){var _0x34dcaf=_0x34dc();return _0x2a77=function(_0x2a773c,_0x32d792){_0x2a773c=_0x2a773c-0xa5;var _0x15ea79=_0x34dcaf[_0x2a773c];return _0x15ea79;},_0x2a77(_0x1045e1,_0x115c52);}function _0x34dc(){var _0x52be05=['720118qPoosU','onProfileDetailInfoChanged','5875392OqBzUx','4FZYose','29093aetgcK','724815JoqlYN','200802hZWFWh','462158xZJsCV','489385cJXfuG','onSelfStatusChanged','onStatusUpdate','onProfileSimpleChanged'];_0x34dc=function(){return _0x52be05;};return _0x34dc();}var _0x1408c1=_0x2a77;(function(_0x2f0383,_0x5a8f5e){var _0x474d7c=_0x2a77,_0x3c02da=_0x2f0383();while(!![]){try{var _0x3d14ba=parseInt(_0x474d7c(0xaf))/0x1+-parseInt(_0x474d7c(0xa6))/0x2+-parseInt(_0x474d7c(0xb0))/0x3+parseInt(_0x474d7c(0xae))/0x4*(-parseInt(_0x474d7c(0xa7))/0x5)+parseInt(_0x474d7c(0xa5))/0x6+-parseInt(_0x474d7c(0xab))/0x7+parseInt(_0x474d7c(0xad))/0x8;if(_0x3d14ba===_0x5a8f5e)break;else _0x3c02da['push'](_0x3c02da['shift']());}catch(_0x2e6b01){_0x3c02da['push'](_0x3c02da['shift']());}}}(_0x34dc,0x1e29d));export class ProfileListener{[_0x1408c1(0xaa)](..._0x48a54a){}[_0x1408c1(0xac)](_0x2bf05d){}[_0x1408c1(0xa9)](..._0x4b339a){}[_0x1408c1(0xa8)](..._0x20fc7e){}['onStrangerRemarkChanged'](..._0xb14d54){}} \ 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 e8b97a21e..e0660c8ed 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0x9ad0c=_0xbd8e;(function(_0x398bf6,_0xb83511){var _0x302e50=_0xbd8e,_0x271bd=_0x398bf6();while(!![]){try{var _0x519dba=-parseInt(_0x302e50(0x81))/0x1*(-parseInt(_0x302e50(0x86))/0x2)+parseInt(_0x302e50(0x88))/0x3+-parseInt(_0x302e50(0x7f))/0x4*(-parseInt(_0x302e50(0x83))/0x5)+-parseInt(_0x302e50(0x85))/0x6+-parseInt(_0x302e50(0x82))/0x7+parseInt(_0x302e50(0x80))/0x8*(parseInt(_0x302e50(0x87))/0x9)+-parseInt(_0x302e50(0x7e))/0xa;if(_0x519dba===_0xb83511)break;else _0x271bd['push'](_0x271bd['shift']());}catch(_0x1cae39){_0x271bd['push'](_0x271bd['shift']());}}}(_0x2ac0,0x804b0));function _0xbd8e(_0x3734c2,_0x40012e){var _0x2ac03a=_0x2ac0();return _0xbd8e=function(_0xbd8edf,_0x22080f){_0xbd8edf=_0xbd8edf-0x7e;var _0x409afa=_0x2ac03a[_0xbd8edf];return _0x409afa;},_0xbd8e(_0x3734c2,_0x40012e);}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x37d148){}[_0x9ad0c(0x84)](..._0x3a72b9){}['onRobotProfileChanged'](..._0x583a00){}}function _0x2ac0(){var _0x66a361=['onRobotListChanged','3199266OJESJJ','4BTpKak','4861251siGGhp','2698935BcJCWd','10023380PdSzFP','1776476sFccBN','8ahCjNu','114662qTCeBZ','365330iqJeoV','5WItZgd'];_0x2ac0=function(){return _0x66a361;};return _0x2ac0();} \ No newline at end of file +var _0x1298dd=_0x3970;function _0x3970(_0x14a056,_0x38caf5){var _0xc83e7d=_0xc83e();return _0x3970=function(_0x397019,_0x49fb27){_0x397019=_0x397019-0x1d9;var _0x442c31=_0xc83e7d[_0x397019];return _0x442c31;},_0x3970(_0x14a056,_0x38caf5);}function _0xc83e(){var _0x397eee=['onRobotListChanged','7491864hdYXKL','5VcqFXk','277812xuhHVC','1616434XFcMMb','27pMLsdf','onRobotProfileChanged','6367014tCmIiO','6956852szrvnM','209968BemfNW','2015106BBByDe'];_0xc83e=function(){return _0x397eee;};return _0xc83e();}(function(_0x27c1f0,_0x365d3c){var _0x419ed1=_0x3970,_0x1f7f3a=_0x27c1f0();while(!![]){try{var _0x38c039=-parseInt(_0x419ed1(0x1df))/0x1+parseInt(_0x419ed1(0x1da))/0x2+-parseInt(_0x419ed1(0x1e0))/0x3+parseInt(_0x419ed1(0x1d9))/0x4+parseInt(_0x419ed1(0x1e3))/0x5*(-parseInt(_0x419ed1(0x1dd))/0x6)+-parseInt(_0x419ed1(0x1de))/0x7+parseInt(_0x419ed1(0x1e2))/0x8*(parseInt(_0x419ed1(0x1db))/0x9);if(_0x38c039===_0x365d3c)break;else _0x1f7f3a['push'](_0x1f7f3a['shift']());}catch(_0x1290f3){_0x1f7f3a['push'](_0x1f7f3a['shift']());}}}(_0xc83e,0xb736c));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x1eccf4){}[_0x1298dd(0x1e1)](..._0x356ba3){}[_0x1298dd(0x1dc)](..._0x1187b7){}} \ 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 8dabc934e..2bb36db72 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x49f2(_0x25e5b5,_0x4da413){var _0x15eb4b=_0x15eb();return _0x49f2=function(_0x49f245,_0x26fd99){_0x49f245=_0x49f245-0x129;var _0x427f1c=_0x15eb4b[_0x49f245];return _0x427f1c;},_0x49f2(_0x25e5b5,_0x4da413);}var _0x4bea0=_0x49f2;function _0x15eb(){var _0x36cbfb=['5768634HCqlkx','38edcZsi','13435670dWgrDE','2084736APXaFI','7hbiqeL','91522kmtYBW','onGetSelfTinyId','4051175ldQDaI','9732232lWZavQ','onSessionInitComplete','887712wnJnEA','9jsXTLd'];_0x15eb=function(){return _0x36cbfb;};return _0x15eb();}(function(_0x189337,_0x1e6399){var _0xd3c894=_0x49f2,_0x2f8eb8=_0x189337();while(!![]){try{var _0x1c4932=parseInt(_0xd3c894(0x132))/0x1*(parseInt(_0xd3c894(0x12e))/0x2)+parseInt(_0xd3c894(0x12b))/0x3+parseInt(_0xd3c894(0x130))/0x4+-parseInt(_0xd3c894(0x134))/0x5+-parseInt(_0xd3c894(0x12d))/0x6+parseInt(_0xd3c894(0x131))/0x7*(-parseInt(_0xd3c894(0x129))/0x8)+-parseInt(_0xd3c894(0x12c))/0x9*(-parseInt(_0xd3c894(0x12f))/0xa);if(_0x1c4932===_0x1e6399)break;else _0x2f8eb8['push'](_0x2f8eb8['shift']());}catch(_0xdb208e){_0x2f8eb8['push'](_0x2f8eb8['shift']());}}}(_0x15eb,0xde80a));export class SessionListener{['onNTSessionCreate'](_0x2ddbff){}['onGProSessionCreate'](_0x5445f7){}[_0x4bea0(0x12a)](_0x5c35b2){}['onOpentelemetryInit'](_0xcc645a){}['onUserOnlineResult'](_0xf08112){}[_0x4bea0(0x133)](_0x20814f){}} \ No newline at end of file +function _0x5177(){var _0x962b60=['2489490tBVTXH','onOpentelemetryInit','163508zZVOjl','302652tdpUgJ','1971616ZTYAIY','40wywqcX','1615836VXHUAp','onGetSelfTinyId','14uuAnvh','onUserOnlineResult','29595zNAEpZ','onNTSessionCreate','onGProSessionCreate','1225050tfHeLv'];_0x5177=function(){return _0x962b60;};return _0x5177();}var _0x5c52f7=_0x276f;(function(_0x2cb63f,_0x4d2bcf){var _0x1b4630=_0x276f,_0x3fefaf=_0x2cb63f();while(!![]){try{var _0x18f7ee=parseInt(_0x1b4630(0xf5))/0x1*(-parseInt(_0x1b4630(0xf3))/0x2)+-parseInt(_0x1b4630(0xf1))/0x3+-parseInt(_0x1b4630(0xed))/0x4*(-parseInt(_0x1b4630(0xf0))/0x5)+parseInt(_0x1b4630(0xea))/0x6+parseInt(_0x1b4630(0xee))/0x7+parseInt(_0x1b4630(0xef))/0x8+parseInt(_0x1b4630(0xeb))/0x9;if(_0x18f7ee===_0x4d2bcf)break;else _0x3fefaf['push'](_0x3fefaf['shift']());}catch(_0x5c6816){_0x3fefaf['push'](_0x3fefaf['shift']());}}}(_0x5177,0x55de0));function _0x276f(_0x4d1e58,_0x1b465e){var _0x5177c1=_0x5177();return _0x276f=function(_0x276fb4,_0x3120de){_0x276fb4=_0x276fb4-0xe8;var _0x41cc5f=_0x5177c1[_0x276fb4];return _0x41cc5f;},_0x276f(_0x4d1e58,_0x1b465e);}export class SessionListener{[_0x5c52f7(0xe8)](_0x64a99a){}[_0x5c52f7(0xe9)](_0x2475e0){}['onSessionInitComplete'](_0x198c24){}[_0x5c52f7(0xec)](_0x26b1db){}[_0x5c52f7(0xf4)](_0x4a127c){}[_0x5c52f7(0xf2)](_0x492b86){}} \ 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 252e6635e..e07131689 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x13a7(){var _0x27311f=['onCleanCacheProgressChanged','onCleanCacheStorageChanged','5435465ALxxTm','8045848OJnRdr','1769463gOXbPS','onFinishScan','onChatCleanDone','63184kEqgiq','1658882bxPTAH','4469160ThCbEF','4LBtkXb','onScanCacheProgressChanged','1124766ljrCMY'];_0x13a7=function(){return _0x27311f;};return _0x13a7();}function _0x269f(_0x112845,_0x8cb48){var _0x13a722=_0x13a7();return _0x269f=function(_0x269fe3,_0x5afebe){_0x269fe3=_0x269fe3-0xfa;var _0x31466d=_0x13a722[_0x269fe3];return _0x31466d;},_0x269f(_0x112845,_0x8cb48);}var _0x51d589=_0x269f;(function(_0x13261c,_0x2201e1){var _0x420dba=_0x269f,_0x2042df=_0x13261c();while(!![]){try{var _0x4df73b=-parseInt(_0x420dba(0x104))/0x1+-parseInt(_0x420dba(0x105))/0x2+parseInt(_0x420dba(0x101))/0x3*(parseInt(_0x420dba(0xfa))/0x4)+parseInt(_0x420dba(0x106))/0x5+-parseInt(_0x420dba(0xfc))/0x6+-parseInt(_0x420dba(0xff))/0x7+parseInt(_0x420dba(0x100))/0x8;if(_0x4df73b===_0x2201e1)break;else _0x2042df['push'](_0x2042df['shift']());}catch(_0x360c70){_0x2042df['push'](_0x2042df['shift']());}}}(_0x13a7,0x9a7e3));export class StorageCleanListener{[_0x51d589(0xfd)](_0x6dbd0d){}[_0x51d589(0xfb)](_0x3d2cab){}[_0x51d589(0xfe)](_0x65a335){}[_0x51d589(0x102)](_0x420f64){}[_0x51d589(0x103)](_0x4ba4b9){}} \ No newline at end of file +function _0xd3c7(){var _0x46e648=['186774uxdHtL','733516AERyyx','3180776mofGit','395924THnjom','5LzkQqd','1302078USFaSh','35sHBcHA','377952AuGbMQ','12622473DsJQUI','onCleanCacheProgressChanged','onChatCleanDone'];_0xd3c7=function(){return _0x46e648;};return _0xd3c7();}function _0x1772(_0x19262e,_0x164f1b){var _0xd3c77=_0xd3c7();return _0x1772=function(_0x177273,_0x5d0a82){_0x177273=_0x177273-0x10c;var _0x79af4=_0xd3c77[_0x177273];return _0x79af4;},_0x1772(_0x19262e,_0x164f1b);}var _0x1cc037=_0x1772;(function(_0x1c2b2d,_0x200109){var _0x4c7933=_0x1772,_0x1e5183=_0x1c2b2d();while(!![]){try{var _0x2b5d60=parseInt(_0x4c7933(0x10c))/0x1+parseInt(_0x4c7933(0x111))/0x2+parseInt(_0x4c7933(0x115))/0x3+parseInt(_0x4c7933(0x113))/0x4*(-parseInt(_0x4c7933(0x114))/0x5)+parseInt(_0x4c7933(0x110))/0x6*(parseInt(_0x4c7933(0x116))/0x7)+parseInt(_0x4c7933(0x112))/0x8+-parseInt(_0x4c7933(0x10d))/0x9;if(_0x2b5d60===_0x200109)break;else _0x1e5183['push'](_0x1e5183['shift']());}catch(_0xdec6be){_0x1e5183['push'](_0x1e5183['shift']());}}}(_0xd3c7,0x38464));export class StorageCleanListener{[_0x1cc037(0x10e)](_0x5aa161){}['onScanCacheProgressChanged'](_0x2bf08b){}['onCleanCacheStorageChanged'](_0x253c5c){}['onFinishScan'](_0x4ebcb6){}[_0x1cc037(0x10f)](_0x5e52ee){}} \ 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 5ba21ab85..14623daaf 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x53996e,_0x37a704){var _0x527c1e=_0x30b5,_0x4deeff=_0x53996e();while(!![]){try{var _0x4fb2c7=parseInt(_0x527c1e(0x16f))/0x1*(-parseInt(_0x527c1e(0x16e))/0x2)+parseInt(_0x527c1e(0x176))/0x3+-parseInt(_0x527c1e(0x174))/0x4*(-parseInt(_0x527c1e(0x171))/0x5)+-parseInt(_0x527c1e(0x175))/0x6*(-parseInt(_0x527c1e(0x170))/0x7)+-parseInt(_0x527c1e(0x16d))/0x8+-parseInt(_0x527c1e(0x173))/0x9+parseInt(_0x527c1e(0x172))/0xa;if(_0x4fb2c7===_0x37a704)break;else _0x4deeff['push'](_0x4deeff['shift']());}catch(_0x519dda){_0x4deeff['push'](_0x4deeff['shift']());}}}(_0x2e7d,0x7eea0));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x30b5(_0x4f63ff,_0x572f02){var _0x2e7dba=_0x2e7d();return _0x30b5=function(_0x30b5b1,_0x3260ac){_0x30b5b1=_0x30b5b1-0x16d;var _0xf1a78f=_0x2e7dba[_0x30b5b1];return _0xf1a78f;},_0x30b5(_0x4f63ff,_0x572f02);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x2e7d(){var _0x306779=['10273440wNUZBJ','3399462UdPgVB','5516SUnqVE','598722rIrvNl','679809WdviIF','3617384aTUvCg','110ArchyE','12559gAbzRy','7ynMNaf','2490GbIZLK'];_0x2e7d=function(){return _0x306779;};return _0x2e7d();} \ No newline at end of file +(function(_0x48f73f,_0x47a55b){var _0x520f70=_0x57c2,_0x1e7eb2=_0x48f73f();while(!![]){try{var _0x2abd16=-parseInt(_0x520f70(0x180))/0x1+-parseInt(_0x520f70(0x182))/0x2+-parseInt(_0x520f70(0x17c))/0x3+parseInt(_0x520f70(0x181))/0x4*(-parseInt(_0x520f70(0x17e))/0x5)+-parseInt(_0x520f70(0x17d))/0x6+parseInt(_0x520f70(0x17f))/0x7+parseInt(_0x520f70(0x183))/0x8;if(_0x2abd16===_0x47a55b)break;else _0x1e7eb2['push'](_0x1e7eb2['shift']());}catch(_0x37a023){_0x1e7eb2['push'](_0x1e7eb2['shift']());}}}(_0x350b,0x6c891));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x57c2(_0x3384df,_0x154faa){var _0x350b62=_0x350b();return _0x57c2=function(_0x57c264,_0x2faf13){_0x57c264=_0x57c264-0x17c;var _0x26cf35=_0x350b62[_0x57c264];return _0x26cf35;},_0x57c2(_0x3384df,_0x154faa);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x350b(){var _0x197cbf=['3833840Srbicx','4693710LuaqjT','192689Wttdyh','4ESDsmG','354230uJfNKk','18458976smIwGr','2433657myRURq','3513300QvxQJG'];_0x350b=function(){return _0x197cbf;};return _0x350b();} \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index dc1433183..dd4700b47 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';function _0x3a2f(_0x4ba779,_0x5369e9){var _0x176c2b=_0x176c();return _0x3a2f=function(_0x3a2f2e,_0x45b66c){_0x3a2f2e=_0x3a2f2e-0x185;var _0x473667=_0x176c2b[_0x3a2f2e];return _0x473667;},_0x3a2f(_0x4ba779,_0x5369e9);}(function(_0x4035d1,_0x4e42a9){var _0x2bbad9=_0x3a2f,_0x2adeaa=_0x4035d1();while(!![]){try{var _0x2b34ed=parseInt(_0x2bbad9(0x188))/0x1+parseInt(_0x2bbad9(0x185))/0x2+-parseInt(_0x2bbad9(0x18b))/0x3+-parseInt(_0x2bbad9(0x186))/0x4+parseInt(_0x2bbad9(0x18c))/0x5*(parseInt(_0x2bbad9(0x18a))/0x6)+parseInt(_0x2bbad9(0x189))/0x7+-parseInt(_0x2bbad9(0x187))/0x8;if(_0x2b34ed===_0x4e42a9)break;else _0x2adeaa['push'](_0x2adeaa['shift']());}catch(_0x44ba1b){_0x2adeaa['push'](_0x2adeaa['shift']());}}}(_0x176c,0x27c77));function _0x176c(){var _0x4da2fe=['634756KRCyUu','1163040tBtukt','2231936hLiYfP','213903oAzHth','2022510cBvnlM','387558XuCjlQ','650130eUeNgN','10xiiAJU'];_0x176c=function(){return _0x4da2fe;};return _0x176c();} \ No newline at end of file +'use strict';(function(_0x134be0,_0x5866b0){var _0x4e5a3e=_0xa6da,_0x45fa8d=_0x134be0();while(!![]){try{var _0x57dd8a=parseInt(_0x4e5a3e(0xf0))/0x1*(-parseInt(_0x4e5a3e(0xef))/0x2)+-parseInt(_0x4e5a3e(0xeb))/0x3*(parseInt(_0x4e5a3e(0xec))/0x4)+-parseInt(_0x4e5a3e(0xed))/0x5*(parseInt(_0x4e5a3e(0xf2))/0x6)+-parseInt(_0x4e5a3e(0xe8))/0x7*(-parseInt(_0x4e5a3e(0xf3))/0x8)+parseInt(_0x4e5a3e(0xf4))/0x9*(parseInt(_0x4e5a3e(0xe7))/0xa)+parseInt(_0x4e5a3e(0xee))/0xb*(parseInt(_0x4e5a3e(0xea))/0xc)+parseInt(_0x4e5a3e(0xf1))/0xd*(parseInt(_0x4e5a3e(0xe9))/0xe);if(_0x57dd8a===_0x5866b0)break;else _0x45fa8d['push'](_0x45fa8d['shift']());}catch(_0x51c642){_0x45fa8d['push'](_0x45fa8d['shift']());}}}(_0x57b9,0x74130));function _0xa6da(_0x2e5a41,_0x3e0e5f){var _0x57b9df=_0x57b9();return _0xa6da=function(_0xa6da44,_0x59d669){_0xa6da44=_0xa6da44-0xe7;var _0x196652=_0x57b9df[_0xa6da44];return _0x196652;},_0xa6da(_0x2e5a41,_0x3e0e5f);}function _0x57b9(){var _0x28deb3=['5RyWTxA','11grybmG','229786BAWbvi','7VvuNtC','4381rZzhqJ','2286984XXncKM','8GTvqlH','9IDJfWO','1653970nHgGCw','2726423QNFQLr','43274CLFSyE','2003256UWfYLt','36nWQalo','34212OcERAQ'];_0x57b9=function(){return _0x28deb3;};return _0x57b9();} \ 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 11b298c0f..937e6fb86 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x3f0ce3,_0x17c347){var _0x47e64e=_0x2109,_0xc07d40=_0x3f0ce3();while(!![]){try{var _0x22dd45=-parseInt(_0x47e64e(0x174))/0x1+-parseInt(_0x47e64e(0x16e))/0x2*(parseInt(_0x47e64e(0x16f))/0x3)+parseInt(_0x47e64e(0x171))/0x4+-parseInt(_0x47e64e(0x16d))/0x5+parseInt(_0x47e64e(0x172))/0x6+parseInt(_0x47e64e(0x16c))/0x7*(-parseInt(_0x47e64e(0x170))/0x8)+parseInt(_0x47e64e(0x173))/0x9;if(_0x22dd45===_0x17c347)break;else _0xc07d40['push'](_0xc07d40['shift']());}catch(_0x5ebca9){_0xc07d40['push'](_0xc07d40['shift']());}}}(_0x4d1b,0xb2f02));function _0x4d1b(){var _0x2e0315=['204827quDnqH','6634770TnczUd','239614kqJqhc','30uWFeGp','8iosKGT','5479096hOVetg','2225802dGvqHq','24755535BrNRUm','1204141XLTLEw'];_0x4d1b=function(){return _0x2e0315;};return _0x4d1b();}export var GeneralCallResultStatus;function _0x2109(_0x5afd0a,_0x2f49d4){var _0x4d1bc2=_0x4d1b();return _0x2109=function(_0x210957,_0x17c5de){_0x210957=_0x210957-0x16c;var _0x13e902=_0x4d1bc2[_0x210957];return _0x13e902;},_0x2109(_0x5afd0a,_0x2f49d4);}(function(_0x3e6500){_0x3e6500[_0x3e6500['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +function _0x4040(_0x17acc1,_0x1614dc){var _0xd091ed=_0xd091();return _0x4040=function(_0x40406d,_0x14aaa3){_0x40406d=_0x40406d-0x1da;var _0x5b1e4f=_0xd091ed[_0x40406d];return _0x5b1e4f;},_0x4040(_0x17acc1,_0x1614dc);}function _0xd091(){var _0x3a55ee=['9211008VOQKAh','2347516DQCBIa','36BOaGQS','1768239vcfHSz','811573DZZCqK','5tjoSBa','1646904bgzUIP','3083298TBVmcn','405039kBsRtq'];_0xd091=function(){return _0x3a55ee;};return _0xd091();}(function(_0x2284d9,_0x41bb97){var _0x1648b2=_0x4040,_0x38a12b=_0x2284d9();while(!![]){try{var _0x47a7ce=-parseInt(_0x1648b2(0x1e0))/0x1+parseInt(_0x1648b2(0x1de))/0x2+parseInt(_0x1648b2(0x1df))/0x3+parseInt(_0x1648b2(0x1e2))/0x4*(-parseInt(_0x1648b2(0x1dd))/0x5)+parseInt(_0x1648b2(0x1da))/0x6*(parseInt(_0x1648b2(0x1dc))/0x7)+-parseInt(_0x1648b2(0x1e1))/0x8+parseInt(_0x1648b2(0x1db))/0x9;if(_0x47a7ce===_0x41bb97)break;else _0x38a12b['push'](_0x38a12b['shift']());}catch(_0x3d347a){_0x38a12b['push'](_0x38a12b['shift']());}}}(_0xd091,0x927dd));export var GeneralCallResultStatus;(function(_0x7fbec3){_0x7fbec3[_0x7fbec3['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 2c9011f57..c6b0cfa4b 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x124a9c,_0x5cd43a){var _0x2270fd=_0x295d,_0x40bcb6=_0x124a9c();while(!![]){try{var _0x664b72=-parseInt(_0x2270fd(0x1eb))/0x1*(parseInt(_0x2270fd(0x1f3))/0x2)+parseInt(_0x2270fd(0x1f1))/0x3*(-parseInt(_0x2270fd(0x1ec))/0x4)+-parseInt(_0x2270fd(0x1ee))/0x5*(-parseInt(_0x2270fd(0x1ea))/0x6)+parseInt(_0x2270fd(0x1ef))/0x7+-parseInt(_0x2270fd(0x1f0))/0x8+parseInt(_0x2270fd(0x1ed))/0x9+parseInt(_0x2270fd(0x1f2))/0xa;if(_0x664b72===_0x5cd43a)break;else _0x40bcb6['push'](_0x40bcb6['shift']());}catch(_0x2653ab){_0x40bcb6['push'](_0x40bcb6['shift']());}}}(_0x4d61,0xc262a));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x4d61(){var _0xfdf31=['2tSdeAW','6uasSzc','316619FcqMWO','5718604efBSsJ','407502oWXbXn','6083465pAqkAH','7572404opMEtn','7275800bFwqPj','3fTHOUL','11082040URAaQM'];_0x4d61=function(){return _0xfdf31;};return _0x4d61();}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x295d(_0x37c4c2,_0xcf4f18){var _0x4d617c=_0x4d61();return _0x295d=function(_0x295d21,_0x155c37){_0x295d21=_0x295d21-0x1ea;var _0x43ec3a=_0x4d617c[_0x295d21];return _0x43ec3a;},_0x295d(_0x37c4c2,_0xcf4f18);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0xc856a7,_0x5d1581){var _0x22f3a8=_0x5ee2,_0xb3d6c2=_0xc856a7();while(!![]){try{var _0x45f408=-parseInt(_0x22f3a8(0x8c))/0x1+parseInt(_0x22f3a8(0x87))/0x2+parseInt(_0x22f3a8(0x8a))/0x3+parseInt(_0x22f3a8(0x8b))/0x4+-parseInt(_0x22f3a8(0x86))/0x5+-parseInt(_0x22f3a8(0x85))/0x6+parseInt(_0x22f3a8(0x89))/0x7*(-parseInt(_0x22f3a8(0x88))/0x8);if(_0x45f408===_0x5d1581)break;else _0xb3d6c2['push'](_0xb3d6c2['shift']());}catch(_0x8b9f78){_0xb3d6c2['push'](_0xb3d6c2['shift']());}}}(_0x418b,0x229ca));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x418b(){var _0x5052be=['770706tmYFxr','31820SjbOYu','555540AQWvHb','745432ZQwxyX','21WJAOdV','150798VTYQeU','1063316qKQNxJ','37743oGoAiY'];_0x418b=function(){return _0x5052be;};return _0x418b();}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0x5ee2(_0x1837b6,_0x557b3d){var _0x418b24=_0x418b();return _0x5ee2=function(_0x5ee281,_0x33b5b6){_0x5ee281=_0x5ee281-0x85;var _0x3c325b=_0x418b24[_0x5ee281];return _0x3c325b;},_0x5ee2(_0x1837b6,_0x557b3d);}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'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 5c67803ed..b0038bac4 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x4c1a8b,_0x484044){var _0x561948=_0x11c8,_0x523f29=_0x4c1a8b();while(!![]){try{var _0x2d6edd=-parseInt(_0x561948(0xda))/0x1*(-parseInt(_0x561948(0xe6))/0x2)+parseInt(_0x561948(0xd3))/0x3+-parseInt(_0x561948(0xfa))/0x4+parseInt(_0x561948(0xf2))/0x5*(-parseInt(_0x561948(0xf0))/0x6)+-parseInt(_0x561948(0xcf))/0x7*(-parseInt(_0x561948(0xf9))/0x8)+parseInt(_0x561948(0xcd))/0x9*(parseInt(_0x561948(0xea))/0xa)+parseInt(_0x561948(0xe5))/0xb;if(_0x2d6edd===_0x484044)break;else _0x523f29['push'](_0x523f29['shift']());}catch(_0x3b2783){_0x523f29['push'](_0x523f29['shift']());}}}(_0x19d6,0x70a85));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x19d6(){var _0x141fd8=['pCBqY','assign','KSUPPORTTPNS','1396659CyAzym','KWINDOWS','mkdirSync','KCOMPUTER','split','TFVej','temp','1tENhzO','CqEDv','hWoQn','version','NNoQQ','KPHONE','KPAD','krjCe','frboe','KSUPPORTGOOGLEPUSH','KUNKNOWN','7575887JzSANs','652628VseqAi','dKNxP','KSUPPORTHMS','join','7218410mfxtrh','ufCCp','DftUa','KANDROID','NapCat','KSUPPORTOPPOPUSH','6hiSBEr','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','4483175IzjkAO','KIOS','4|2|0|1|3','KSUPPORTVIVOPUSH','MuEtS','bsWlD','5|0|1|4|3|6|2','35256gLHlnn','3430264NPMLej','curVersion','lvfuI','iXrHk','HPwgA','zLiGk','9tAJHXY','OVUQw','21OzUIkN'];_0x19d6=function(){return _0x141fd8;};return _0x19d6();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1e3887 from'node:path';import _0x5f483 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x28a1c9){var _0x390d69=_0x11c8,_0x8d12e={'kPrgK':_0x390d69(0xf4),'HPwgA':_0x390d69(0xf3),'ufCCp':'KWINDOWS','CqEDv':'KANDROID','lvfuI':'KMAC','hWoQn':'KUNKNOWN'},_0x722029=_0x8d12e['kPrgK'][_0x390d69(0xd7)]('|'),_0x2091a7=0x0;while(!![]){switch(_0x722029[_0x2091a7++]){case'0':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfe)]]=0x2]=_0x8d12e[_0x390d69(0xfe)];continue;case'1':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xeb)]]=0x3]=_0x390d69(0xd4);continue;case'2':_0x28a1c9[_0x28a1c9[_0x390d69(0xed)]=0x1]=_0x8d12e[_0x390d69(0xdb)];continue;case'3':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfc)]]=0x4]=_0x8d12e[_0x390d69(0xfc)];continue;case'4':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xdc)]]=0x0]=_0x8d12e[_0x390d69(0xdc)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x1feaf3){var _0x4719c0=_0x11c8,_0x37881d={'zLiGk':_0x4719c0(0xe4),'bsWlD':_0x4719c0(0xdf),'NNoQQ':_0x4719c0(0xe0),'dKNxP':_0x4719c0(0xd6)};_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xcc)]]=0x0]=_0x4719c0(0xe4),_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xf7)]]=0x1]=_0x37881d['bsWlD'],_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xde)]]=0x2]=_0x37881d['NNoQQ'],_0x1feaf3[_0x1feaf3[_0x4719c0(0xd6)]=0x3]=_0x37881d[_0x4719c0(0xe7)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5eeac5){var _0x3a2af=_0x11c8,_0x47bc1e={'CyYNC':_0x3a2af(0xf8),'frboe':_0x3a2af(0xe3),'TFVej':_0x3a2af(0xe8),'iXrHk':'KUNSUPPORTANDROIDPUSH','HJVRe':_0x3a2af(0xd2),'OVUQw':_0x3a2af(0xef),'krjCe':'KNOSETONIOS'},_0x3bfe1f=_0x47bc1e['CyYNC']['split']('|'),_0x25f402=0x0;while(!![]){switch(_0x3bfe1f[_0x25f402++]){case'0':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe2)]]=0x63]=_0x47bc1e[_0x3a2af(0xe2)];continue;case'1':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xd8)]]=0x3]=_0x47bc1e['TFVej'];continue;case'2':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xfd)]]=0x1]=_0x47bc1e['iXrHk'];continue;case'3':_0x5eeac5[_0x5eeac5[_0x3a2af(0xd2)]=0x2]=_0x47bc1e['HJVRe'];continue;case'4':_0x5eeac5[_0x5eeac5[_0x47bc1e['OVUQw']]=0x4]=_0x47bc1e[_0x3a2af(0xce)];continue;case'5':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe1)]]=0x0]=_0x47bc1e[_0x3a2af(0xe1)];continue;case'6':_0x5eeac5[_0x5eeac5[_0x3a2af(0xf5)]=0x5]=_0x3a2af(0xf5);continue;}break;}}(VendorType||(VendorType={})));function _0x11c8(_0x5a400a,_0x13e103){var _0x19d680=_0x19d6();return _0x11c8=function(_0x11c8a5,_0x43bec7){_0x11c8a5=_0x11c8a5-0xcc;var _0x51923f=_0x19d680[_0x11c8a5];return _0x51923f;},_0x11c8(_0x5a400a,_0x13e103);}export const sessionConfig={};export async function genSessionConfig(_0x1e0493,_0x5be678,_0x15af99){var _0x9d8fd2=_0x11c8,_0x472341={'MuEtS':_0x9d8fd2(0xee),'pCBqY':_0x9d8fd2(0xd9),'DftUa':function(_0x5c1da3){return _0x5c1da3();}};const _0x4a4b26=_0x1e3887[_0x9d8fd2(0xe9)](_0x15af99,_0x472341[_0x9d8fd2(0xf6)],_0x472341[_0x9d8fd2(0xd0)]);_0x5f483[_0x9d8fd2(0xd5)](_0x4a4b26,{'recursive':!![]});let _0x14fc23=await _0x472341[_0x9d8fd2(0xec)](getMachineId);const _0x208fdb={'selfUin':_0x1e0493,'selfUid':_0x5be678,'desktopPathConfig':{'account_path':_0x15af99},'clientVer':qqVersionConfigInfo[_0x9d8fd2(0xfb)],'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':_0x4a4b26,'deviceInfo':{'guid':_0x14fc23,'buildVer':qqPkgInfo[_0x9d8fd2(0xdd)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9d8fd2(0xf1)};return Object[_0x9d8fd2(0xd1)](sessionConfig,_0x208fdb),_0x208fdb;} \ No newline at end of file +(function(_0x2c44ad,_0x673125){var _0x459c50=_0x342e,_0x424291=_0x2c44ad();while(!![]){try{var _0x331be2=-parseInt(_0x459c50(0x10c))/0x1+-parseInt(_0x459c50(0xfd))/0x2*(-parseInt(_0x459c50(0x119))/0x3)+parseInt(_0x459c50(0x11e))/0x4+-parseInt(_0x459c50(0xfe))/0x5*(parseInt(_0x459c50(0xf8))/0x6)+parseInt(_0x459c50(0x111))/0x7*(parseInt(_0x459c50(0x124))/0x8)+-parseInt(_0x459c50(0x11b))/0x9+parseInt(_0x459c50(0x125))/0xa;if(_0x331be2===_0x673125)break;else _0x424291['push'](_0x424291['shift']());}catch(_0x216cb3){_0x424291['push'](_0x424291['shift']());}}}(_0x21b0,0xc0b08));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5622e6 from'node:path';import _0x9e2cf9 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x41b744){var _0x810fdd=_0x342e,_0x3316f6={'qdadv':_0x810fdd(0x108),'gFfSJ':_0x810fdd(0x109),'JqESm':'KIOS','InLeF':'KWINDOWS','eMxgG':_0x810fdd(0x118)};_0x41b744[_0x41b744[_0x810fdd(0x108)]=0x0]=_0x3316f6[_0x810fdd(0x120)],_0x41b744[_0x41b744[_0x3316f6[_0x810fdd(0x117)]]=0x1]=_0x3316f6[_0x810fdd(0x117)],_0x41b744[_0x41b744[_0x810fdd(0x116)]=0x2]=_0x3316f6[_0x810fdd(0x115)],_0x41b744[_0x41b744[_0x810fdd(0x104)]=0x3]=_0x3316f6[_0x810fdd(0x103)],_0x41b744[_0x41b744[_0x3316f6[_0x810fdd(0x105)]]=0x4]=_0x3316f6['eMxgG'];}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x567a44){var _0x35d05c=_0x342e,_0x1db4d8={'TXEPU':'KUNKNOWN','Gmjbm':_0x35d05c(0x11c),'eLNAC':_0x35d05c(0xf9),'vkwxq':_0x35d05c(0xfa)};_0x567a44[_0x567a44[_0x1db4d8[_0x35d05c(0x11f)]]=0x0]=_0x1db4d8[_0x35d05c(0x11f)],_0x567a44[_0x567a44[_0x1db4d8[_0x35d05c(0x11a)]]=0x1]=_0x1db4d8[_0x35d05c(0x11a)],_0x567a44[_0x567a44[_0x1db4d8[_0x35d05c(0x10f)]]=0x2]=_0x35d05c(0xf9),_0x567a44[_0x567a44[_0x1db4d8[_0x35d05c(0x123)]]=0x3]=_0x1db4d8[_0x35d05c(0x123)];}(DeviceType||(DeviceType={})));export var VendorType;function _0x342e(_0x400ebd,_0xc66abd){var _0x21b007=_0x21b0();return _0x342e=function(_0x342e06,_0x1bbf19){_0x342e06=_0x342e06-0xf8;var _0x4071b2=_0x21b007[_0x342e06];return _0x4071b2;},_0x342e(_0x400ebd,_0xc66abd);}(function(_0x2a8371){var _0x132a9c=_0x342e,_0xd8a223={'nPtAt':_0x132a9c(0x127),'gsvmX':_0x132a9c(0x126),'UywsK':_0x132a9c(0x102),'rohxk':_0x132a9c(0x107),'fQHLT':_0x132a9c(0x122),'gIjwc':_0x132a9c(0xfb),'ZUMWG':_0x132a9c(0x106)},_0x32f031=_0xd8a223[_0x132a9c(0x11d)][_0x132a9c(0x10a)]('|'),_0x4375f2=0x0;while(!![]){switch(_0x32f031[_0x4375f2++]){case'0':_0x2a8371[_0x2a8371['KUNSUPPORTANDROIDPUSH']=0x1]=_0xd8a223['gsvmX'];continue;case'1':_0x2a8371[_0x2a8371[_0xd8a223['UywsK']]=0x5]='KSUPPORTVIVOPUSH';continue;case'2':_0x2a8371[_0x2a8371[_0xd8a223[_0x132a9c(0x112)]]=0x4]=_0xd8a223[_0x132a9c(0x112)];continue;case'3':_0x2a8371[_0x2a8371[_0xd8a223[_0x132a9c(0x10d)]]=0x0]=_0xd8a223[_0x132a9c(0x10d)];continue;case'4':_0x2a8371[_0x2a8371[_0xd8a223[_0x132a9c(0xff)]]=0x2]=_0xd8a223[_0x132a9c(0xff)];continue;case'5':_0x2a8371[_0x2a8371['KSUPPORTGOOGLEPUSH']=0x63]=_0x132a9c(0x101);continue;case'6':_0x2a8371[_0x2a8371[_0x132a9c(0x106)]=0x3]=_0xd8a223[_0x132a9c(0x10b)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x21e9d1,_0x20356d,_0x31650f){var _0x573f10=_0x342e,_0x2f417d={'KuvqT':'NapCat','vSKjP':_0x573f10(0x110),'idRST':function(_0x145170){return _0x145170();}};const _0x22db9c=_0x5622e6['join'](_0x31650f,_0x2f417d['KuvqT'],_0x2f417d[_0x573f10(0x114)]);_0x9e2cf9[_0x573f10(0x100)](_0x22db9c,{'recursive':!![]});let _0x611d26=await _0x2f417d[_0x573f10(0x121)](getMachineId);const _0x359368={'selfUin':_0x21e9d1,'selfUid':_0x20356d,'desktopPathConfig':{'account_path':_0x31650f},'clientVer':qqVersionConfigInfo[_0x573f10(0xfc)],'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':_0x22db9c,'deviceInfo':{'guid':_0x611d26,'buildVer':qqPkgInfo[_0x573f10(0x113)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x573f10(0x10e)};return Object['assign'](sessionConfig,_0x359368),_0x359368;}function _0x21b0(){var _0x2a6c62=['843633fspuEd','rohxk','version','vSKjP','JqESm','KIOS','gFfSJ','KMAC','2023983XkbZYu','Gmjbm','9805527AAzpMD','KPHONE','nPtAt','753400yHLnJs','TXEPU','qdadv','idRST','KNOSETONIOS','vkwxq','16eKCtnH','24685360uLIqtd','KUNSUPPORTANDROIDPUSH','3|5|6|2|4|1|0','6WcClyv','KPAD','KCOMPUTER','KSUPPORTTPNS','curVersion','2fxjVxN','4996235YMHaif','gIjwc','mkdirSync','KSUPPORTGOOGLEPUSH','KSUPPORTVIVOPUSH','InLeF','KWINDOWS','eMxgG','KSUPPORTHMS','KSUPPORTOPPOPUSH','KUNKNOWN','KANDROID','split','ZUMWG','694579CFyWrs','fQHLT','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','eLNAC','temp'];_0x21b0=function(){return _0x2a6c62;};return _0x21b0();} \ 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 fb6577694..128025adc 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x579cd9=_0x2997;(function(_0x2e82b4,_0x2330de){const _0x1aaac4=_0x2997,_0x148732=_0x2e82b4();while(!![]){try{const _0x113b1b=-parseInt(_0x1aaac4(0xde))/0x1*(-parseInt(_0x1aaac4(0xe0))/0x2)+-parseInt(_0x1aaac4(0xe2))/0x3*(-parseInt(_0x1aaac4(0xe8))/0x4)+parseInt(_0x1aaac4(0xe6))/0x5+parseInt(_0x1aaac4(0xe3))/0x6+-parseInt(_0x1aaac4(0xe4))/0x7*(-parseInt(_0x1aaac4(0xe1))/0x8)+parseInt(_0x1aaac4(0xdf))/0x9+parseInt(_0x1aaac4(0xdc))/0xa*(-parseInt(_0x1aaac4(0xe9))/0xb);if(_0x113b1b===_0x2330de)break;else _0x148732['push'](_0x148732['shift']());}catch(_0x40decb){_0x148732['push'](_0x148732['shift']());}}}(_0x3794,0x890a7));import _0x49ba05 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x2997(_0x415a65,_0x281a67){const _0x37945e=_0x3794();return _0x2997=function(_0x29974e,_0xefdf7b){_0x29974e=_0x29974e-0xdc;let _0x152c1b=_0x37945e[_0x29974e];return _0x152c1b;},_0x2997(_0x415a65,_0x281a67);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x579cd9(0xe5)]=!![];[_0x579cd9(0xed)]=!![];[_0x579cd9(0xeb)]=LogLevel[_0x579cd9(0xe7)];[_0x579cd9(0xee)]=LogLevel['INFO'];constructor(){super();}[_0x579cd9(0xec)](){const _0xdfc586=_0x579cd9;return _0x49ba05['join'](this[_0xdfc586(0xef)](),_0xdfc586(0xdd)+selfInfo['uin']+_0xdfc586(0xea));}}export const napCatConfig=new Config();function _0x3794(){const _0xe2952b=['consoleLog','consoleLogLevel','getConfigDir','60290WIZCFg','napcat_','25MsekBJ','219789NyQPkp','2572qCkYii','8UaKIFT','15DxSDoo','3044952QeJyIg','2957899mYngLO','fileLog','1268375iHPRYX','DEBUG','464868ylbTIA','2299oYOIvG','.json','fileLogLevel','getConfigPath'];_0x3794=function(){return _0xe2952b;};return _0x3794();} \ No newline at end of file +const _0x5d3286=_0x5d11;(function(_0x3e1fee,_0x367898){const _0x38f196=_0x5d11,_0x67a62a=_0x3e1fee();while(!![]){try{const _0x57cd45=parseInt(_0x38f196(0xe5))/0x1*(-parseInt(_0x38f196(0xe2))/0x2)+-parseInt(_0x38f196(0xdc))/0x3+-parseInt(_0x38f196(0xe8))/0x4*(-parseInt(_0x38f196(0xeb))/0x5)+parseInt(_0x38f196(0xe6))/0x6+parseInt(_0x38f196(0xe9))/0x7+parseInt(_0x38f196(0xea))/0x8*(parseInt(_0x38f196(0xe4))/0x9)+-parseInt(_0x38f196(0xe7))/0xa;if(_0x57cd45===_0x367898)break;else _0x67a62a['push'](_0x67a62a['shift']());}catch(_0x21bebf){_0x67a62a['push'](_0x67a62a['shift']());}}}(_0x550f,0x7f47c));function _0x550f(){const _0x262616=['45UvmUeK','4oynLBy','5491272tvWToT','20893030WODBYJ','608Xmfpoo','5447967pfrErI','1370968bHrcpj','22370npIFGg','.json','consoleLogLevel','1530963fHlxKO','DEBUG','getConfigPath','consoleLog','getConfigDir','fileLog','54716sLKWJk','join'];_0x550f=function(){return _0x262616;};return _0x550f();}import _0x241417 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x5d11(_0x49b823,_0x5cbc1b){const _0x550fd2=_0x550f();return _0x5d11=function(_0x5d1125,_0x187b95){_0x5d1125=_0x5d1125-0xda;let _0x14b931=_0x550fd2[_0x5d1125];return _0x14b931;},_0x5d11(_0x49b823,_0x5cbc1b);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x5d3286(0xe1)]=!![];[_0x5d3286(0xdf)]=!![];['fileLogLevel']=LogLevel[_0x5d3286(0xdd)];[_0x5d3286(0xdb)]=LogLevel['INFO'];constructor(){super();}[_0x5d3286(0xde)](){const _0x31cdf4=_0x5d3286;return _0x241417[_0x31cdf4(0xe3)](this[_0x31cdf4(0xe0)](),'napcat_'+selfInfo['uin']+_0x31cdf4(0xda));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index d9ffe9fcd..4e6ec8778 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x20cd4b=_0x7394;(function(_0x3c304d,_0x90a571){const _0x149216=_0x7394,_0xf5552c=_0x3c304d();while(!![]){try{const _0x2d3954=parseInt(_0x149216(0x1b6))/0x1*(-parseInt(_0x149216(0x1b9))/0x2)+-parseInt(_0x149216(0x1a4))/0x3+parseInt(_0x149216(0x1b0))/0x4*(parseInt(_0x149216(0x1aa))/0x5)+-parseInt(_0x149216(0x1ac))/0x6*(parseInt(_0x149216(0x1b1))/0x7)+parseInt(_0x149216(0x1a3))/0x8+-parseInt(_0x149216(0x1ab))/0x9*(parseInt(_0x149216(0x1b7))/0xa)+parseInt(_0x149216(0x1b4))/0xb;if(_0x2d3954===_0x90a571)break;else _0xf5552c['push'](_0xf5552c['shift']());}catch(_0x381aaa){_0xf5552c['push'](_0xf5552c['shift']());}}}(_0x3db7,0xdc95f));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x20cd4b(0x1b8)]='';[_0x20cd4b(0x1a5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2c8ee4){const _0x36b417=_0x20cd4b;this[_0x36b417(0x1b8)]=_0x2c8ee4;}async['getRkey'](){const _0x37faf1=_0x20cd4b,_0x468f3a={'TowEn':function(_0x3c69a1,_0x3e1548,_0x52f958){return _0x3c69a1(_0x3e1548,_0x52f958);}};if(this[_0x37faf1(0x1b3)]())try{await this[_0x37faf1(0x1b2)]();}catch(_0x1862ef){_0x468f3a[_0x37faf1(0x1a7)](logError,_0x37faf1(0x1b5),_0x1862ef);}return this[_0x37faf1(0x1a5)];}['isExpired'](){const _0x5f44ef=_0x20cd4b,_0x59f46f={'DJgQl':function(_0x4dc90f,_0xa1f559){return _0x4dc90f/_0xa1f559;},'xzlAn':function(_0x464340,_0x48ba59){return _0x464340>_0x48ba59;}},_0x504967=_0x59f46f[_0x5f44ef(0x1ae)](new Date()[_0x5f44ef(0x1a6)](),0x3e8);return _0x59f46f[_0x5f44ef(0x1ba)](_0x504967,this[_0x5f44ef(0x1a5)][_0x5f44ef(0x1a8)]);}async[_0x20cd4b(0x1b2)](){const _0x4e0c6d=_0x20cd4b,_0x171110={'OQWTk':_0x4e0c6d(0x1af)};this[_0x4e0c6d(0x1a5)]=await RequestUtil[_0x4e0c6d(0x1ad)](this[_0x4e0c6d(0x1b8)],_0x171110[_0x4e0c6d(0x1a9)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0x7394(_0xf20c91,_0x26b7f4){const _0x3db7c2=_0x3db7();return _0x7394=function(_0x7394bc,_0x5c5e96){_0x7394bc=_0x7394bc-0x1a3;let _0x4db9bb=_0x3db7c2[_0x7394bc];return _0x4db9bb;},_0x7394(_0xf20c91,_0x26b7f4);}function _0x3db7(){const _0x473d83=['HttpGetJson','DJgQl','GET','47420JokVXy','12344290TfSjJT','refreshRkey','isExpired','26940760vGVHYS','获取rkey失败','38cqyhVt','3192790NbpLke','serverUrl','7488lwEGJD','xzlAn','2572904RhXkhR','1878594yRRmaK','rkeyData','getTime','TowEn','expired_time','OQWTk','415AYDtdu','9maWHUN','6Qmcdhj'];_0x3db7=function(){return _0x473d83;};return _0x3db7();} \ No newline at end of file +const _0x4613e2=_0x54c1;(function(_0x2b42d7,_0x1c7216){const _0x4bb70b=_0x54c1,_0x3fb49f=_0x2b42d7();while(!![]){try{const _0x3c2038=parseInt(_0x4bb70b(0x1b4))/0x1+-parseInt(_0x4bb70b(0x1b5))/0x2*(-parseInt(_0x4bb70b(0x1ac))/0x3)+parseInt(_0x4bb70b(0x1b0))/0x4+-parseInt(_0x4bb70b(0x1ad))/0x5+parseInt(_0x4bb70b(0x1ae))/0x6*(-parseInt(_0x4bb70b(0x1b1))/0x7)+parseInt(_0x4bb70b(0x1aa))/0x8+-parseInt(_0x4bb70b(0x1a5))/0x9*(-parseInt(_0x4bb70b(0x1a8))/0xa);if(_0x3c2038===_0x1c7216)break;else _0x3fb49f['push'](_0x3fb49f['shift']());}catch(_0x3eba1b){_0x3fb49f['push'](_0x3fb49f['shift']());}}}(_0x2780,0x2dd43));import{logError}from'@/common/utils/log';function _0x54c1(_0x474737,_0x8052a2){const _0x27802f=_0x2780();return _0x54c1=function(_0x54c18e,_0x3b8cdc){_0x54c18e=_0x54c18e-0x1a1;let _0x396e87=_0x27802f[_0x54c18e];return _0x396e87;},_0x54c1(_0x474737,_0x8052a2);}import{RequestUtil}from'@/common/utils/request';function _0x2780(){const _0x2f7e73=['367470xPuCkT','2CbYyco','getTime','获取rkey失败','http://napcat-sign.wumiao.wang:2082/rkey','HttpGetJson','rkeyData','51813jYPcZM','refreshRkey','GET','10grqLXR','serverUrl','1291968fDFEKg','getRkey','105069rWBdWY','1665950FDBfBX','30wPdSmF','BTTAt','983976dwkcoO','412769nfBIRC','fXjhu','isExpired'];_0x2780=function(){return _0x2f7e73;};return _0x2780();}class RkeyManager{['serverUrl']='';[_0x4613e2(0x1a4)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x51f13b){const _0x32cecd=_0x4613e2;this[_0x32cecd(0x1a9)]=_0x51f13b;}async[_0x4613e2(0x1ab)](){const _0xa3aa0=_0x4613e2,_0x57fdbc={'BTTAt':_0xa3aa0(0x1a1)};if(this['isExpired']())try{await this[_0xa3aa0(0x1a6)]();}catch(_0x4b9c68){logError(_0x57fdbc[_0xa3aa0(0x1af)],_0x4b9c68);}return this[_0xa3aa0(0x1a4)];}[_0x4613e2(0x1b3)](){const _0x32f268=_0x4613e2,_0x35694e={'fXjhu':function(_0x22f080,_0xc30de0){return _0x22f080>_0xc30de0;}},_0x5cc9a8=new Date()[_0x32f268(0x1b6)]()/0x3e8;return _0x35694e[_0x32f268(0x1b2)](_0x5cc9a8,this[_0x32f268(0x1a4)]['expired_time']);}async[_0x4613e2(0x1a6)](){const _0x49d705=_0x4613e2;this['rkeyData']=await RequestUtil[_0x49d705(0x1a3)](this[_0x49d705(0x1a9)],_0x49d705(0x1a7));}}export const rkeyManager=new RkeyManager(_0x4613e2(0x1a2)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 0b8f9f670..5a52dab40 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x3deb86=_0x52b5;function _0x3878(){const _0x252173=['/wrapper.node','WrapperLoader.cjs','file://','1008HuyIQE','default','existsSync','\x0amodule.exports\x20=\x20require(\x22','14968yrjCAC','729180NEywse','resolve','dirname','69yWzZbd','554190bMMIJZ','2411808gAkVPp','url','curVersion','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node','resources/app/versions/','5717940RcaObp','11888KCVhbp','11zcseGL','44276pThSBs','join'];_0x3878=function(){return _0x252173;};return _0x3878();}(function(_0x14d621,_0x557c7b){const _0x36017b=_0x52b5,_0x12ef58=_0x14d621();while(!![]){try{const _0x5badf4=parseInt(_0x36017b(0x9b))/0x1*(parseInt(_0x36017b(0x9a))/0x2)+parseInt(_0x36017b(0x91))/0x3*(-parseInt(_0x36017b(0x9c))/0x4)+parseInt(_0x36017b(0x8e))/0x5+-parseInt(_0x36017b(0x93))/0x6+-parseInt(_0x36017b(0x92))/0x7+-parseInt(_0x36017b(0xa5))/0x8*(-parseInt(_0x36017b(0xa1))/0x9)+parseInt(_0x36017b(0x99))/0xa;if(_0x5badf4===_0x557c7b)break;else _0x12ef58['push'](_0x12ef58['shift']());}catch(_0x4d69a3){_0x12ef58['push'](_0x12ef58['shift']());}}}(_0x3878,0x3eb49));import _0x421aed from'node:path';import _0x5ac9aa from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3deb86(0x94)]),__dirname=dirname(__filename);let wrapperNodePath=_0x421aed[_0x3deb86(0x8f)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x97));!_0x5ac9aa[_0x3deb86(0xa3)](wrapperNodePath)&&(wrapperNodePath=_0x421aed[_0x3deb86(0x9d)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x98)+qqVersionConfigInfo[_0x3deb86(0x95)]+_0x3deb86(0x9e)));let WrapperLoader=_0x421aed[_0x3deb86(0x9d)](__dirname,_0x3deb86(0x9f));_0x5ac9aa['writeFileSync'](WrapperLoader,_0x3deb86(0xa4)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x3deb86(0x96));const QQWrapper=(await import(_0x3deb86(0xa0)+WrapperLoader))[_0x3deb86(0xa2)];function _0x52b5(_0x49aeb1,_0x29c2ad){const _0x387854=_0x3878();return _0x52b5=function(_0x52b53f,_0x1ff413){_0x52b53f=_0x52b53f-0x8e;let _0x1c488a=_0x387854[_0x52b53f];return _0x1c488a;},_0x52b5(_0x49aeb1,_0x29c2ad);}export default QQWrapper; \ No newline at end of file +const _0x23c65d=_0x2d74;(function(_0x187198,_0x35aef3){const _0xc8639c=_0x2d74,_0x475326=_0x187198();while(!![]){try{const _0x53a3fc=parseInt(_0xc8639c(0x1ff))/0x1*(-parseInt(_0xc8639c(0x205))/0x2)+parseInt(_0xc8639c(0x209))/0x3*(-parseInt(_0xc8639c(0x207))/0x4)+-parseInt(_0xc8639c(0x1fd))/0x5+parseInt(_0xc8639c(0x206))/0x6+parseInt(_0xc8639c(0x1f6))/0x7+parseInt(_0xc8639c(0x200))/0x8*(-parseInt(_0xc8639c(0x208))/0x9)+parseInt(_0xc8639c(0x1f8))/0xa*(parseInt(_0xc8639c(0x1fa))/0xb);if(_0x53a3fc===_0x35aef3)break;else _0x475326['push'](_0x475326['shift']());}catch(_0x327293){_0x475326['push'](_0x475326['shift']());}}}(_0x427c,0xce43f));import _0xb1b990 from'node:path';import _0x982d87 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x23c65d(0x1f7)]),__dirname=dirname(__filename);function _0x427c(){const _0x50d63a=['263409GcZBpr','join','dirname','./resources/app/wrapper.node','replace','resources/app/versions/','8854818BmmQIw','url','13408130hhfODM','default','11nIPhAG','execPath','resolve','695550dsnnTB','existsSync','403NZENAv','16nEzCps','WrapperLoader.cjs','writeFileSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','curVersion','8254ooyoEc','9360312QoCuGn','36UxEPIi','3278061tGmnSH'];_0x427c=function(){return _0x50d63a;};return _0x427c();}let wrapperNodePath=_0xb1b990[_0x23c65d(0x1fc)](_0xb1b990['dirname'](process[_0x23c65d(0x1fb)]),_0x23c65d(0x1f3));!_0x982d87[_0x23c65d(0x1fe)](wrapperNodePath)&&(wrapperNodePath=_0xb1b990[_0x23c65d(0x20a)](_0xb1b990[_0x23c65d(0x20b)](process[_0x23c65d(0x1fb)]),_0x23c65d(0x1f5)+qqVersionConfigInfo[_0x23c65d(0x204)]+'/wrapper.node'));let WrapperLoader=_0xb1b990[_0x23c65d(0x20a)](__dirname,_0x23c65d(0x201));_0x982d87[_0x23c65d(0x202)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x23c65d(0x1f4)](/\\/g,'\x5c\x5c')+_0x23c65d(0x203));function _0x2d74(_0x443b6b,_0x5b60d3){const _0x427c47=_0x427c();return _0x2d74=function(_0x2d74be,_0x27ec26){_0x2d74be=_0x2d74be-0x1f3;let _0x239124=_0x427c47[_0x2d74be];return _0x239124;},_0x2d74(_0x443b6b,_0x5b60d3);}const QQWrapper=(await import('file://'+WrapperLoader))[_0x23c65d(0x1f9)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/go-cqhttp/GetGroupMsgHistory.ts b/src/onebot11/action/go-cqhttp/GetGroupMsgHistory.ts index 3dfa86c3b..59473b857 100644 --- a/src/onebot11/action/go-cqhttp/GetGroupMsgHistory.ts +++ b/src/onebot11/action/go-cqhttp/GetGroupMsgHistory.ts @@ -1,13 +1,12 @@ import BaseAction from '../BaseAction'; import { OB11Message, OB11User } from '../../types'; -import { getGroup, groups } from '@/core/data'; import { ActionName } from '../types'; import { ChatType } from '@/core/entities'; import { dbUtil } from '@/common/utils/db'; import { NTQQMsgApi } from '@/core/apis/msg'; import { OB11Constructor } from '../../constructor'; -import { logDebug } from '@/common/utils/log'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { NTQQGroupApi } from '@/core'; interface Response { messages: OB11Message[]; } @@ -28,7 +27,7 @@ export default class GoCQHTTPGetGroupMsgHistory extends BaseAction { - const group = await getGroup(payload.group_id.toString()); + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString()); if (!group) { throw `群${payload.group_id}不存在`; } diff --git a/src/onebot11/action/go-cqhttp/UploadGroupFile.ts b/src/onebot11/action/go-cqhttp/UploadGroupFile.ts index a3330b726..3683ac683 100644 --- a/src/onebot11/action/go-cqhttp/UploadGroupFile.ts +++ b/src/onebot11/action/go-cqhttp/UploadGroupFile.ts @@ -1,5 +1,4 @@ import BaseAction from '../BaseAction'; -import { getGroup } from '@/core/data'; import { ActionName } from '../types'; import { SendMsgElementConstructor } from '@/core/entities/constructor'; import { ChatType, SendFileElement } from '@/core/entities'; @@ -7,6 +6,7 @@ import fs from 'fs'; import { SendMsg, sendMsg } from '@/onebot11/action/msg/SendMsg'; import { uri2local } from '@/common/utils/file'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { NTQQGroupApi } from '@/core'; const SchemaData = { type: 'object', properties: { @@ -25,7 +25,7 @@ export default class GoCQHTTPUploadGroupFile extends BaseAction { actionName = ActionName.GoCQHTTP_UploadGroupFile; PayloadSchema = SchemaData; protected async _handle(payload: Payload): Promise { - const group = await getGroup(payload.group_id.toString()); + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString()); if (!group) { throw new Error(`群组${payload.group_id}不存在`); } diff --git a/src/onebot11/action/group/GetGroupInfo.ts b/src/onebot11/action/group/GetGroupInfo.ts index 1a4600174..708ce5a7d 100644 --- a/src/onebot11/action/group/GetGroupInfo.ts +++ b/src/onebot11/action/group/GetGroupInfo.ts @@ -1,9 +1,10 @@ -import { getGroup } from '@/core/data'; + import { OB11Group } from '../../types'; import { OB11Constructor } from '../../constructor'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; import { FromSchema, JSONSchema } from 'json-schema-to-ts'; +import { NTQQGroupApi } from '@/core'; const SchemaData = { type: 'object', @@ -19,7 +20,7 @@ class GetGroupInfo extends BaseAction { actionName = ActionName.GetGroupInfo; PayloadSchema = SchemaData; protected async _handle(payload: Payload) { - const group = await getGroup(payload.group_id.toString()); + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString()); if (group) { return OB11Constructor.group(group); } else { diff --git a/src/onebot11/action/group/GetGroupMemberInfo.ts b/src/onebot11/action/group/GetGroupMemberInfo.ts index fb0ddb542..ed77e4961 100644 --- a/src/onebot11/action/group/GetGroupMemberInfo.ts +++ b/src/onebot11/action/group/GetGroupMemberInfo.ts @@ -1,5 +1,5 @@ import { OB11GroupMember } from '../../types'; -import { getGroup, getGroupMember, groupMembers } from '@/core/data'; +import { getGroupMember, groupMembers } from '@/core/data'; import { OB11Constructor } from '../../constructor'; import BaseAction from '../BaseAction'; import { ActionName } from '../types'; @@ -27,7 +27,7 @@ class GetGroupMemberInfo extends BaseAction { actionName = ActionName.GetGroupMemberInfo; PayloadSchema = SchemaData; protected async _handle(payload: Payload) { - const group = await getGroup(payload.group_id.toString()); + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString()); if (!group) { throw (`群(${payload.group_id})不存在`); } diff --git a/src/onebot11/action/group/GetGroupMemberList.ts b/src/onebot11/action/group/GetGroupMemberList.ts index d33bda652..a59d3e93c 100644 --- a/src/onebot11/action/group/GetGroupMemberList.ts +++ b/src/onebot11/action/group/GetGroupMemberList.ts @@ -1,4 +1,4 @@ -import { getGroup, getGroupMember, groupMembers, selfInfo } from '@/core/data'; +import { getGroupMember, groupMembers, selfInfo } from '@/core/data'; import { OB11GroupMember } from '../../types'; import { OB11Constructor } from '../../constructor'; import BaseAction from '../BaseAction'; @@ -28,7 +28,7 @@ class GetGroupMemberList extends BaseAction { protected async _handle(payload: Payload) { const role = (await getGroupMember(payload.group_id, selfInfo.uin))?.role; - const group = await getGroup(payload.group_id.toString()); + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString()); if (!group) { throw (`群${payload.group_id}不存在`); } @@ -82,7 +82,7 @@ class GetGroupMemberList extends BaseAction { // } // _groupMembers = Array.from(retData); - + _groupMembers = Array.from(MemberMap.values()); return _groupMembers; } diff --git a/src/onebot11/action/msg/SendMsg/index.ts b/src/onebot11/action/msg/SendMsg/index.ts index dd253d80e..d4c865d9a 100644 --- a/src/onebot11/action/msg/SendMsg/index.ts +++ b/src/onebot11/action/msg/SendMsg/index.ts @@ -7,9 +7,8 @@ import { OB11PostSendMsg } from '@/onebot11/types'; import { ActionName, BaseCheckResult } from '@/onebot11/action/types'; -import { getGroup } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; -import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core'; +import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core'; import fs from 'node:fs'; import { logDebug, logError } from '@/common/utils/log'; import { decodeCQCode } from '@/onebot11/cqcode'; @@ -79,7 +78,7 @@ async function createContext(payload: OB11PostSendMsg): Promise<{ // This redundant design of Ob11 here should be blamed. if (payload.group_id) { // take this as a group message - const group = (await getGroup(payload.group_id))!; // checked before + const group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id?.toString())!; // checked before return { peer: { chatType: ChatType.group, @@ -116,7 +115,8 @@ export class SendMsg extends BaseAction { if (nodeElementLength > 0 && nodeElementLength != messages.length) { return { valid: false, message: '转发消息不能和普通消息混在一起发送,转发需要保证message只有type为node的元素' }; } - if (payload.message_type !== 'private' && payload.group_id && !(await getGroup(payload.group_id))) { + if (payload.message_type !== 'private' && payload.group_id && !( + (await NTQQGroupApi.getGroups()).find(e => e.groupCode == payload.group_id!.toString()))) { return { valid: false, message: `群${payload.group_id}不存在` }; } if (payload.user_id && payload.message_type !== 'group') { diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index 771ef2757..d47b5cd6f 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -31,7 +31,6 @@ import { OB11GroupIncreaseEvent } from './event/notice/OB11GroupIncreaseEvent'; import { OB11GroupBanEvent } from './event/notice/OB11GroupBanEvent'; import { OB11GroupUploadNoticeEvent } from './event/notice/OB11GroupUploadNoticeEvent'; import { OB11GroupNoticeEvent } from './event/notice/OB11GroupNoticeEvent'; - import { calcQQLevel } from '../common/utils/qqlevel'; import { log, logDebug, logError } from '../common/utils/log'; import { sleep } from '../common/utils/helper'; @@ -39,7 +38,7 @@ import { OB11GroupTitleEvent } from './event/notice/OB11GroupTitleEvent'; import { OB11GroupCardEvent } from './event/notice/OB11GroupCardEvent'; import { OB11GroupDecreaseEvent } from './event/notice/OB11GroupDecreaseEvent'; import { ob11Config } from '@/onebot11/config'; -import { deleteGroup, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data'; +import { getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data'; import { NTQQFileApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis'; import { OB11GroupMsgEmojiLikeEvent } from '@/onebot11/event/notice/OB11MsgEmojiLikeEvent'; import { napCatCore } from '@/core'; @@ -348,7 +347,8 @@ export class OB11Constructor { } else if (groupElement.type == TipGroupElementType.kicked) { logDebug(`收到我被踢出或退群提示, 群${msg.peerUid}`, groupElement); - deleteGroup(msg.peerUid); + await NTQQGroupApi.getGroups(true); + //deleteGroup(msg.peerUid); NTQQGroupApi.quitGroup(msg.peerUid).then(); try { const adminUin = (await getGroupMember(msg.peerUid, groupElement.adminUid))?.uin || (await NTQQUserApi.getUidByUin(groupElement.adminUid)); diff --git a/src/onebot11/log.ts b/src/onebot11/log.ts index e1e8f3e35..84dd68872 100644 --- a/src/onebot11/log.ts +++ b/src/onebot11/log.ts @@ -1,8 +1,7 @@ import { OB11Message } from '@/onebot11/types'; import { log } from '@/common/utils/log'; -import { getGroup, getGroupMember, selfInfo } from '@/core/data'; -import exp from 'constants'; -import { Group } from '@/core'; +import { getGroupMember, selfInfo } from '@/core/data'; +import { Group, NTQQGroupApi } from '@/core'; import chalk from 'chalk'; const spSegColor = chalk.blue;// for special segment @@ -24,7 +23,8 @@ export async function logMessage(ob11Message: OB11Message) { } } if (ob11Message.message_type === 'group') { - group = await getGroup(ob11Message.group_id!); + group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == ob11Message.group_id!.toString()); + // group = await getGroup(ob11Message.group_id!); prefix += `群[${group?.groupName}(${ob11Message.group_id})] `; } let msgChain = ''; diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index fc5334571..596582563 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -19,7 +19,7 @@ import { OB11Config, ob11Config } from '@/onebot11/config'; import { httpHeart, ob11HTTPServer } from '@/onebot11/server/http'; import { ob11WebsocketServer } from '@/onebot11/server/ws/WebsocketServer'; import { ob11ReverseWebsockets } from '@/onebot11/server/ws/ReverseWebsocket'; -import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data'; +import { getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners'; import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest'; @@ -433,7 +433,7 @@ export class NapCatOnebot11 { // member1.role = notify.type == GroupNotifyTypes.ADMIN_SET ? GroupMemberRole.admin : GroupMemberRole.normal; postOB11Event(groupAdminNoticeEvent, true); } else { - logDebug('获取群通知的成员信息失败', notify, getGroup(notify.group.groupCode)); + logDebug('获取群通知的成员信息失败', notify, (notify.group.groupCode)); } } else if (notify.type == GroupNotifyTypes.MEMBER_EXIT || notify.type == GroupNotifyTypes.KICK_MEMBER) { logDebug('有成员退出通知', notify); diff --git a/src/onebot11/server/postOB11Event.ts b/src/onebot11/server/postOB11Event.ts index a8f72237e..cf388e270 100644 --- a/src/onebot11/server/postOB11Event.ts +++ b/src/onebot11/server/postOB11Event.ts @@ -12,7 +12,7 @@ import { OB11FriendRequestEvent } from '../event/request/OB11FriendRequest'; import { OB11GroupRequestEvent } from '../event/request/OB11GroupRequest'; import { isNull } from '@/common/utils/helper'; import { dbUtil } from '@/common/utils/db'; -import { getGroup, groupNotifies, selfInfo } from '@/core/data'; +import { groupNotifies, selfInfo } from '@/core/data'; import { NTQQFriendApi, NTQQGroupApi, NTQQUserApi } from '@/core/apis'; import createSendElements from '../action/msg/SendMsg/create-send-elements'; @@ -144,7 +144,9 @@ async function handleMsg(msg: OB11Message, quickAction: QuickAction) { let replyMessage: OB11MessageData[] = []; if (msg.message_type == 'group') { - group = await getGroup(msg.group_id!.toString()); + group = (await NTQQGroupApi.getGroups()).find(e => e.groupCode == msg.group_id!.toString()); + //筛选 + //group = await getGroup(msg.group_id!.toString()); replyMessage.push({ type: 'reply', data: {