diff --git a/docs/changelogs/CHANGELOG.v1.5.3.md b/docs/changelogs/CHANGELOG.v1.5.3.md index cf2c6eb1..b36a50d1 100644 --- a/docs/changelogs/CHANGELOG.v1.5.3.md +++ b/docs/changelogs/CHANGELOG.v1.5.3.md @@ -19,5 +19,6 @@ QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-23568 * 扩展在线文件通知event与api * 限制日志总体文件大小 * 支持专属群头衔获取 +* 支持视频获取直链 新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api) diff --git a/src/core b/src/core index 5a979d96..18bafe6a 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 5a979d96d13735cb2fbd526319e4448a0f91b52b +Subproject commit 18bafe6a4d4ffed34c60123b38f424c63bad814f diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index d155656b..46f918e4 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -function _0x4cc3(_0x4d048b,_0x305f8d){var _0x557031=_0x5570();return _0x4cc3=function(_0x4cc318,_0x33ab12){_0x4cc318=_0x4cc318-0xd3;var _0x391661=_0x557031[_0x4cc318];return _0x391661;},_0x4cc3(_0x4d048b,_0x305f8d);}var _0x2d5ec9=_0x4cc3;function _0x5570(){var _0x3b2534=['6868872sQfMRQ','3477362aUvSOD','3604056mVYxqc','1317830OJJegK','9566682uEDAan','getGroupCode','onMSFSsoError','10532LBAMse','16datDpu','8DrOMvo','onMSFStatusChange','4648188nQSnvi'];_0x5570=function(){return _0x3b2534;};return _0x5570();}(function(_0x7343c7,_0x4721d3){var _0x130d18=_0x4cc3,_0x13288f=_0x7343c7();while(!![]){try{var _0x3d2c94=-parseInt(_0x130d18(0xd6))/0x1*(-parseInt(_0x130d18(0xd4))/0x2)+-parseInt(_0x130d18(0xd8))/0x3+parseInt(_0x130d18(0xdb))/0x4+-parseInt(_0x130d18(0xdc))/0x5+parseInt(_0x130d18(0xdd))/0x6+-parseInt(_0x130d18(0xda))/0x7*(-parseInt(_0x130d18(0xd5))/0x8)+-parseInt(_0x130d18(0xd9))/0x9;if(_0x3d2c94===_0x4721d3)break;else _0x13288f['push'](_0x13288f['shift']());}catch(_0x45f407){_0x13288f['push'](_0x13288f['shift']());}}}(_0x5570,0xe9247));export class DependsAdapter{[_0x2d5ec9(0xd7)](_0x41c1fc,_0x33c985){}[_0x2d5ec9(0xd3)](_0x51484c){}[_0x2d5ec9(0xde)](_0x203b84){}} \ No newline at end of file +function _0x2e29(){var _0x3f9d7f=['157053weZnyn','2pMtgjx','771432FIXglJ','1736820uhFOHF','964264PkpyVz','248XNmvWS','61137tNliPv','67501Oripge','getGroupCode','165575WShzhi','630HUlSaF'];_0x2e29=function(){return _0x3f9d7f;};return _0x2e29();}var _0x147761=_0x55a7;(function(_0x1f294a,_0x1c841d){var _0x1bcce1=_0x55a7,_0xe2330b=_0x1f294a();while(!![]){try{var _0xa7c05b=-parseInt(_0x1bcce1(0x1ee))/0x1+-parseInt(_0x1bcce1(0x1ed))/0x2*(parseInt(_0x1bcce1(0x1ec))/0x3)+parseInt(_0x1bcce1(0x1f0))/0x4+parseInt(_0x1bcce1(0x1f5))/0x5+parseInt(_0x1bcce1(0x1ef))/0x6+parseInt(_0x1bcce1(0x1f3))/0x7*(parseInt(_0x1bcce1(0x1f1))/0x8)+-parseInt(_0x1bcce1(0x1f2))/0x9*(-parseInt(_0x1bcce1(0x1eb))/0xa);if(_0xa7c05b===_0x1c841d)break;else _0xe2330b['push'](_0xe2330b['shift']());}catch(_0x332356){_0xe2330b['push'](_0xe2330b['shift']());}}}(_0x2e29,0x71f48));function _0x55a7(_0x628295,_0x4d9860){var _0x2e29b2=_0x2e29();return _0x55a7=function(_0x55a725,_0x1342b0){_0x55a725=_0x55a725-0x1eb;var _0x7f31b9=_0x2e29b2[_0x55a725];return _0x7f31b9;},_0x55a7(_0x628295,_0x4d9860);}export class DependsAdapter{['onMSFStatusChange'](_0x7fcf75,_0x3fc92f){}['onMSFSsoError'](_0x2d84fb){}[_0x147761(0x1f4)](_0x4eae47){}} \ 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 b9409281..39bbfa1d 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -function _0x54c9(_0x2bf1f0,_0x5b0cbe){var _0x40100a=_0x4010();return _0x54c9=function(_0x54c970,_0x59aada){_0x54c970=_0x54c970-0x189;var _0x51c111=_0x40100a[_0x54c970];return _0x51c111;},_0x54c9(_0x2bf1f0,_0x5b0cbe);}var _0x3b34c2=_0x54c9;(function(_0x5796a2,_0x3f50db){var _0x3f3c44=_0x54c9,_0x4fe798=_0x5796a2();while(!![]){try{var _0x18c774=parseInt(_0x3f3c44(0x193))/0x1+-parseInt(_0x3f3c44(0x18a))/0x2+parseInt(_0x3f3c44(0x189))/0x3*(-parseInt(_0x3f3c44(0x18b))/0x4)+parseInt(_0x3f3c44(0x190))/0x5*(-parseInt(_0x3f3c44(0x18d))/0x6)+parseInt(_0x3f3c44(0x18f))/0x7+-parseInt(_0x3f3c44(0x18e))/0x8*(parseInt(_0x3f3c44(0x192))/0x9)+-parseInt(_0x3f3c44(0x194))/0xa*(-parseInt(_0x3f3c44(0x191))/0xb);if(_0x18c774===_0x3f50db)break;else _0x4fe798['push'](_0x4fe798['shift']());}catch(_0x3a7e9b){_0x4fe798['push'](_0x4fe798['shift']());}}}(_0x4010,0x39ddd));function _0x4010(){var _0x5988d9=['3FfNtWV','504588IeUNMi','1775884czLAPn','dispatchCallWithJson','6HWxUVI','1336QOCjfC','1603287PwevDX','1129855KacneS','2772VBYNdM','387sBvCJv','434153fMyxct','19970ZBcpcv'];_0x4010=function(){return _0x5988d9;};return _0x4010();}export class DispatcherAdapter{['dispatchRequest'](_0x376fb4){}['dispatchCall'](_0x398064){}[_0x3b34c2(0x18c)](_0x2387da){}} \ No newline at end of file +var _0x428404=_0x3ddd;function _0x3ddd(_0x20963f,_0x5bd082){var _0x67c18=_0x67c1();return _0x3ddd=function(_0x3ddd66,_0x21959e){_0x3ddd66=_0x3ddd66-0x10e;var _0x43f343=_0x67c18[_0x3ddd66];return _0x43f343;},_0x3ddd(_0x20963f,_0x5bd082);}(function(_0x15e797,_0x41e172){var _0x3136f9=_0x3ddd,_0x4e73ed=_0x15e797();while(!![]){try{var _0x462ff5=parseInt(_0x3136f9(0x10f))/0x1*(-parseInt(_0x3136f9(0x112))/0x2)+-parseInt(_0x3136f9(0x117))/0x3*(-parseInt(_0x3136f9(0x114))/0x4)+parseInt(_0x3136f9(0x116))/0x5*(parseInt(_0x3136f9(0x118))/0x6)+parseInt(_0x3136f9(0x11a))/0x7*(-parseInt(_0x3136f9(0x113))/0x8)+-parseInt(_0x3136f9(0x110))/0x9*(parseInt(_0x3136f9(0x119))/0xa)+parseInt(_0x3136f9(0x10e))/0xb+parseInt(_0x3136f9(0x115))/0xc;if(_0x462ff5===_0x41e172)break;else _0x4e73ed['push'](_0x4e73ed['shift']());}catch(_0x53b9bc){_0x4e73ed['push'](_0x4e73ed['shift']());}}}(_0x67c1,0x91b53));function _0x67c1(){var _0x580e22=['10769693YQsZbr','6xWJxOR','9OmMNTI','dispatchCallWithJson','118540cLEoZl','4146616rtGYyv','8LIOqhx','6321276swLwSx','20QMlloS','498063uEoMXF','363522ufOASE','911330LXASnV','14HXtWyK'];_0x67c1=function(){return _0x580e22;};return _0x67c1();}export class DispatcherAdapter{['dispatchRequest'](_0x10b32a){}['dispatchCall'](_0x2af1fa){}[_0x428404(0x111)](_0x5ae585){}} \ 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 f59d77ee..66997d82 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x6968(){var _0x30d010=['onGetSrvCalTime','onLog','9714SADQWU','8882384DJFrSF','fixPicImgType','1245OpPXuR','onShowErrUITips','5124831FMxWjN','getAppSetting','4YwNzLv','6517928aNAZhp','3446390KZJsYQ','onUpdateGeneralFlag','24093792FNGGXa','61308lhXXtT','onGetOfflineMsg'];_0x6968=function(){return _0x30d010;};return _0x6968();}var _0x505b8a=_0x37b6;(function(_0x1a86f7,_0x7d681d){var _0x218ec6=_0x37b6,_0x45a1d9=_0x1a86f7();while(!![]){try{var _0x19fdba=parseInt(_0x218ec6(0x1a0))/0x1+-parseInt(_0x218ec6(0x19d))/0x2+-parseInt(_0x218ec6(0x199))/0x3*(parseInt(_0x218ec6(0x19b))/0x4)+-parseInt(_0x218ec6(0x197))/0x5*(parseInt(_0x218ec6(0x194))/0x6)+parseInt(_0x218ec6(0x195))/0x7+parseInt(_0x218ec6(0x19c))/0x8+parseInt(_0x218ec6(0x19f))/0x9;if(_0x19fdba===_0x7d681d)break;else _0x45a1d9['push'](_0x45a1d9['shift']());}catch(_0x391250){_0x45a1d9['push'](_0x45a1d9['shift']());}}}(_0x6968,0xf1136));function _0x37b6(_0x3e1497,_0x268143){var _0x696896=_0x6968();return _0x37b6=function(_0x37b6ed,_0x192b8e){_0x37b6ed=_0x37b6ed-0x191;var _0x1a4217=_0x696896[_0x37b6ed];return _0x1a4217;},_0x37b6(_0x3e1497,_0x268143);}export class GlobalAdapter{[_0x505b8a(0x193)](..._0x24ed98){}[_0x505b8a(0x192)](..._0x299ecc){}[_0x505b8a(0x198)](..._0x528fb1){}[_0x505b8a(0x196)](..._0x471710){}[_0x505b8a(0x19a)](..._0x19edcb){}['onInstallFinished'](..._0x367d44){}[_0x505b8a(0x19e)](..._0x1e5def){}[_0x505b8a(0x191)](..._0x1eda1b){}} \ No newline at end of file +var _0x12331c=_0x1b89;(function(_0x13d288,_0xc82705){var _0x27590a=_0x1b89,_0x39e81b=_0x13d288();while(!![]){try{var _0x78b2ad=-parseInt(_0x27590a(0x87))/0x1*(parseInt(_0x27590a(0x8b))/0x2)+parseInt(_0x27590a(0x94))/0x3*(parseInt(_0x27590a(0x8d))/0x4)+-parseInt(_0x27590a(0x84))/0x5+parseInt(_0x27590a(0x91))/0x6*(parseInt(_0x27590a(0x93))/0x7)+parseInt(_0x27590a(0x8a))/0x8*(parseInt(_0x27590a(0x88))/0x9)+-parseInt(_0x27590a(0x86))/0xa+parseInt(_0x27590a(0x95))/0xb;if(_0x78b2ad===_0xc82705)break;else _0x39e81b['push'](_0x39e81b['shift']());}catch(_0x2c8a82){_0x39e81b['push'](_0x39e81b['shift']());}}}(_0x3f52,0xd8537));function _0x1b89(_0x47fe65,_0x16511d){var _0x3f524b=_0x3f52();return _0x1b89=function(_0x1b895e,_0x35ca06){_0x1b895e=_0x1b895e-0x84;var _0x5cf9a9=_0x3f524b[_0x1b895e];return _0x5cf9a9;},_0x1b89(_0x47fe65,_0x16511d);}function _0x3f52(){var _0x52071e=['5954365uXmOGc','getAppSetting','6172970gqCqji','285148GXjAZv','81QCmJYQ','onGetSrvCalTime','34280OyVxgG','2loyWem','onInstallFinished','1236588LIbVlp','onGetOfflineMsg','onUpdateGeneralFlag','onLog','12naixoE','onShowErrUITips','5904458QojAPh','3lytwYt','10391579SHGTUz'];_0x3f52=function(){return _0x52071e;};return _0x3f52();}export class GlobalAdapter{[_0x12331c(0x90)](..._0x539419){}[_0x12331c(0x89)](..._0xa6fee8){}[_0x12331c(0x92)](..._0x19ebf6){}['fixPicImgType'](..._0x26f154){}[_0x12331c(0x85)](..._0x100aa9){}[_0x12331c(0x8c)](..._0x3ac4a2){}[_0x12331c(0x8f)](..._0x421558){}[_0x12331c(0x8e)](..._0x441583){}} \ 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 762ccac8..c399e0e7 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x8e2c96,_0x3d3ede){var _0x404c2e=_0x34a0,_0x32b008=_0x8e2c96();while(!![]){try{var _0x3eff74=-parseInt(_0x404c2e(0xd2))/0x1+parseInt(_0x404c2e(0xcc))/0x2+-parseInt(_0x404c2e(0xd3))/0x3*(-parseInt(_0x404c2e(0xcf))/0x4)+parseInt(_0x404c2e(0xd0))/0x5+-parseInt(_0x404c2e(0xcd))/0x6+-parseInt(_0x404c2e(0xd1))/0x7+parseInt(_0x404c2e(0xce))/0x8;if(_0x3eff74===_0x3d3ede)break;else _0x32b008['push'](_0x32b008['shift']());}catch(_0x333c62){_0x32b008['push'](_0x32b008['shift']());}}}(_0x31cf,0x61b65));function _0x34a0(_0x4c2245,_0x2e5176){var _0x31cfe8=_0x31cf();return _0x34a0=function(_0x34a023,_0x448973){_0x34a023=_0x34a023-0xcc;var _0x27802e=_0x31cfe8[_0x34a023];return _0x27802e;},_0x34a0(_0x4c2245,_0x2e5176);}function _0x31cf(){var _0x244be1=['749582ZbdvYT','15765OGEByB','994042lQMHXL','2373606qtjGfS','8382440LhNQzA','244qbtVXG','1057195MBdiXe','3719856ZOEUGr'];_0x31cf=function(){return _0x244be1;};return _0x31cf();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2b5310,_0x59cdd4){var _0x3cddae=_0x2990,_0x478f72=_0x2b5310();while(!![]){try{var _0x22bdd2=parseInt(_0x3cddae(0x1d2))/0x1*(parseInt(_0x3cddae(0x1d3))/0x2)+-parseInt(_0x3cddae(0x1d5))/0x3*(-parseInt(_0x3cddae(0x1d8))/0x4)+-parseInt(_0x3cddae(0x1db))/0x5+-parseInt(_0x3cddae(0x1d4))/0x6*(parseInt(_0x3cddae(0x1d7))/0x7)+-parseInt(_0x3cddae(0x1d6))/0x8+-parseInt(_0x3cddae(0x1d9))/0x9+-parseInt(_0x3cddae(0x1da))/0xa*(-parseInt(_0x3cddae(0x1dc))/0xb);if(_0x22bdd2===_0x59cdd4)break;else _0x478f72['push'](_0x478f72['shift']());}catch(_0x5bfb27){_0x478f72['push'](_0x478f72['shift']());}}}(_0x29a1,0xaa850));function _0x2990(_0x468e49,_0x26c3b0){var _0x29a191=_0x29a1();return _0x2990=function(_0x29900d,_0x4ac60a){_0x29900d=_0x29900d-0x1d2;var _0x254939=_0x29a191[_0x29900d];return _0x254939;},_0x2990(_0x468e49,_0x26c3b0);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x29a1(){var _0x44f37e=['9084131KlPxxQ','2777384hXKQkx','4632111wKYddt','1330NfPSJo','3737995TmsusY','192885juDJtu','77815wPWdYj','20nTlfsq','6YMvloe','3cCSDLO','4369536uFniCZ'];_0x29a1=function(){return _0x44f37e;};return _0x29a1();}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 99105d7d..3dc0d647 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -const _0x4abc90=_0x63c6;(function(_0xd3396a,_0x10ce0d){const _0x576743=_0x63c6,_0x5ee915=_0xd3396a();while(!![]){try{const _0x1849c9=-parseInt(_0x576743(0xf3))/0x1+-parseInt(_0x576743(0xf1))/0x2+-parseInt(_0x576743(0xe5))/0x3+-parseInt(_0x576743(0xe9))/0x4*(parseInt(_0x576743(0xed))/0x5)+parseInt(_0x576743(0xe7))/0x6*(parseInt(_0x576743(0xe6))/0x7)+-parseInt(_0x576743(0xee))/0x8*(parseInt(_0x576743(0xef))/0x9)+parseInt(_0x576743(0xe4))/0xa;if(_0x1849c9===_0x10ce0d)break;else _0x5ee915['push'](_0x5ee915['shift']());}catch(_0x87d151){_0x5ee915['push'](_0x5ee915['shift']());}}}(_0x29ce,0x23c1b));import{napCatCore}from'..';function _0x63c6(_0x723e11,_0x280450){const _0x29ce70=_0x29ce();return _0x63c6=function(_0x63c6ed,_0x227142){_0x63c6ed=_0x63c6ed-0xe3;let _0x4dd79a=_0x29ce70[_0x63c6ed];return _0x4dd79a;},_0x63c6(_0x723e11,_0x280450);}export class NTQQCollectionApi{static async[_0x4abc90(0xea)](_0x5dc934,_0x567b4c,_0xdcddd8,_0xd0cad7,_0x51b4cf){const _0x27fea4=_0x4abc90;let _0x74d1bf={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5dc934,'strId':_0xdcddd8,'groupId':'0','groupName':'','uid':_0x567b4c},'customGroupId':'0','createTime':Date[_0x27fea4(0xf2)]()[_0x27fea4(0xec)](),'sequence':Date[_0x27fea4(0xf2)]()[_0x27fea4(0xec)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0xd0cad7,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x51b4cf,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x27fea4(0xeb)][_0x27fea4(0xf0)]()['createNewCollectionItem'](_0x74d1bf);}static async[_0x4abc90(0xe8)](_0x19fff6=0x0,_0x3951e6=0x32){const _0x31c1ff=_0x4abc90;let _0x27243d={'category':_0x19fff6,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x3951e6,'searchDown':!![]};return napCatCore['session']['getCollectionService']()[_0x31c1ff(0xe3)](_0x27243d);}}function _0x29ce(){const _0x243de3=['4296740aAMPWw','11784sKlxxM','7OhUxrV','892974jmbhlb','getAllCollection','4GZFkOx','createCollection','session','toString','220560oeQkYS','56gRKyLC','100971iIJttg','getCollectionService','477084otKHla','now','66929uFTFIt','getCollectionItemList'];_0x29ce=function(){return _0x243de3;};return _0x29ce();} \ No newline at end of file +const _0x31a1aa=_0x2e9c;function _0x2e9c(_0x4a5a11,_0x8a8f57){const _0x185e0b=_0x185e();return _0x2e9c=function(_0x2e9cf2,_0x5360b7){_0x2e9cf2=_0x2e9cf2-0x16e;let _0x4cedc9=_0x185e0b[_0x2e9cf2];return _0x4cedc9;},_0x2e9c(_0x4a5a11,_0x8a8f57);}(function(_0x1223c1,_0x36630f){const _0x37843f=_0x2e9c,_0x1298ec=_0x1223c1();while(!![]){try{const _0x27c51c=parseInt(_0x37843f(0x17c))/0x1+-parseInt(_0x37843f(0x173))/0x2+-parseInt(_0x37843f(0x175))/0x3+parseInt(_0x37843f(0x179))/0x4*(parseInt(_0x37843f(0x174))/0x5)+-parseInt(_0x37843f(0x17b))/0x6*(parseInt(_0x37843f(0x178))/0x7)+parseInt(_0x37843f(0x172))/0x8+parseInt(_0x37843f(0x17a))/0x9;if(_0x27c51c===_0x36630f)break;else _0x1298ec['push'](_0x1298ec['shift']());}catch(_0x2b319d){_0x1298ec['push'](_0x1298ec['shift']());}}}(_0x185e,0x1f560));function _0x185e(){const _0xeed159=['getAllCollection','createCollection','164488DsahmG','464118zROPrg','5AxnOzS','224145ewJWAU','session','getCollectionService','389977dlYMoi','336092bREVAB','2684376UnQGIE','12pYLQXF','143700SAIsfI','toString','createNewCollectionItem','now'];_0x185e=function(){return _0xeed159;};return _0x185e();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x31a1aa(0x171)](_0x38838c,_0x3c7fd7,_0x315cb3,_0x47d4c6,_0x546355){const _0x5b80b6=_0x31a1aa;let _0x4167aa={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x38838c,'strId':_0x315cb3,'groupId':'0','groupName':'','uid':_0x3c7fd7},'customGroupId':'0','createTime':Date['now']()[_0x5b80b6(0x17d)](),'sequence':Date[_0x5b80b6(0x16f)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x47d4c6,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x546355,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x5b80b6(0x177)]()[_0x5b80b6(0x16e)](_0x4167aa);}static async[_0x31a1aa(0x170)](_0xf05388=0x0,_0x4268b2=0x32){const _0x440634=_0x31a1aa;let _0xe3b2cc={'category':_0xf05388,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4268b2,'searchDown':!![]};return napCatCore[_0x440634(0x176)]['getCollectionService']()['getCollectionItemList'](_0xe3b2cc);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/file.d.ts b/src/core.lib/src/apis/file.d.ts index 4e41e45a..0bd86417 100644 --- a/src/core.lib/src/apis/file.d.ts +++ b/src/core.lib/src/apis/file.d.ts @@ -1,4 +1,4 @@ -import { CacheFileListItem, CacheFileType, ChatCacheListItemBasic, ChatType, ElementType } from '@/core/entities'; +import { CacheFileListItem, CacheFileType, ChatCacheListItemBasic, ChatType, ElementType, RawMessage } from '@/core/entities'; import { GeneralCallResult } from '@/core'; import * as fileType from 'file-type'; import { ISizeCalculationResult } from 'image-size/dist/types/interface'; @@ -6,6 +6,7 @@ export declare class NTQQFileApi { static getFileType(filePath: string): Promise; static copyFile(filePath: string, destPath: string): Promise; static getFileSize(filePath: string): Promise; + static getVideoUrl(msg: RawMessage, element: any): Promise; static uploadFile(filePath: string, elementType?: ElementType, elementSubType?: number): Promise<{ md5: string; fileName: string; diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index dc47c3e0..26226556 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x46f519=_0x375b;(function(_0x4058f0,_0x16ebeb){const _0x47abbc=_0x375b,_0x500807=_0x4058f0();while(!![]){try{const _0x37d83e=parseInt(_0x47abbc(0xfd))/0x1*(-parseInt(_0x47abbc(0xe0))/0x2)+parseInt(_0x47abbc(0xff))/0x3*(-parseInt(_0x47abbc(0xe2))/0x4)+parseInt(_0x47abbc(0xe7))/0x5+-parseInt(_0x47abbc(0x113))/0x6*(parseInt(_0x47abbc(0xdc))/0x7)+parseInt(_0x47abbc(0xcc))/0x8+-parseInt(_0x47abbc(0xde))/0x9*(-parseInt(_0x47abbc(0xdd))/0xa)+parseInt(_0x47abbc(0xea))/0xb;if(_0x37d83e===_0x16ebeb)break;else _0x500807['push'](_0x500807['shift']());}catch(_0x200e76){_0x500807['push'](_0x500807['shift']());}}}(_0x4526,0x1f4f0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3e62f9 from'path';import _0x1e1312 from'fs';import _0x1c32af from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x375b(_0x2b29c1,_0x1bfdf2){const _0x4526e4=_0x4526();return _0x375b=function(_0x375b16,_0x3bdde1){_0x375b16=_0x375b16-0xcc;let _0x46ab49=_0x4526e4[_0x375b16];return _0x46ab49;},_0x375b(_0x2b29c1,_0x1bfdf2);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x2219ad from'file-type';import{MsgListener}from'@/core/listeners';import _0x44eb97 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[_0x46f519(0xd7)]=_0x15c3ad=>{const _0x57b543=_0x46f519,_0x198c41={'amfDA':function(_0x55c537,_0x3d81e2){return _0x55c537(_0x3d81e2);}};for(const [_0x2494a4,_0x19dbfa]of downloadMediaTasks){_0x198c41[_0x57b543(0x101)](_0x19dbfa,_0x15c3ad),downloadMediaTasks['delete'](_0x2494a4);}},setTimeout(()=>{const _0x16a324=_0x46f519;napCatCore[_0x16a324(0xf6)](()=>{const _0x448293=_0x16a324;napCatCore[_0x448293(0xf1)](downloadMediaListener);});},0x64);function _0x4526(){const _0x411809=['437526qQYTmm','/gchatpic_new/0/0-0-','540168JQnjsd','addCacheScannedPaths','tmp','join','getImageSize','getChatCacheList','getCacheSessionPathList','clearChatCacheInfo','PifxL','hotUpdate','md5HexStr','onRichMediaDownloadComplete','defaultFileDownloadPath','getDesktopTmpPath','getHotUpdateCachePath','fileTypeFromFile','14ebeOsj','340SGegLH','30753SDdBTX','startsWith','125148QEghKO','originImageUrl','4DeBkUr','DSkoB','unlink','getChatCacheInfo','group_rkey','55425cdeOfq','getMsgService','indexOf','3394325wSyuOP','msgId','图片url获取失败','KFeWo','clearCache','LbuGx','private_rkey','addListener','下载超时','getFileType','copyFile','gsrtp','onLoginSuccess','downloadRichMedia','Upgez','getRichMediaFilePathForGuild','jxcWf','session','clearChatCache','2wViHXb','UBjxd','312387CQqFfr','existsSync','amfDA','getStorageCleanService','scanCache','PIC','getRkey','riZMd','XnQYe','downloadMedia','basename','util','aYvfu','includes','getFileSize','TKONu','&rkey=','QcjlX','toUpperCase','fileUuid'];_0x4526=function(){return _0x411809;};return _0x4526();}export class NTQQFileApi{static async[_0x46f519(0xf3)](_0xa974a3){const _0x202b53=_0x46f519;return _0x2219ad[_0x202b53(0xdb)](_0xa974a3);}static async[_0x46f519(0xf4)](_0x14bf58,_0x1d12ff){const _0x32b8ae=_0x46f519;await napCatCore[_0x32b8ae(0x10a)][_0x32b8ae(0xf4)](_0x14bf58,_0x1d12ff);}static async['getFileSize'](_0x28dff4){const _0x70d0b8=_0x46f519;return await napCatCore[_0x70d0b8(0x10a)]['getFileSize'](_0x28dff4);}static async['uploadFile'](_0x3890ec,_0x440084=ElementType[_0x46f519(0x104)],_0x480368=0x0){const _0x1ca3b7=_0x46f519,_0x2db39f={'kVYBy':function(_0x51f2f0,_0x2b808b){return _0x51f2f0(_0x2b808b);},'gsrtp':function(_0x37b308,_0x3fefc9){return _0x37b308+_0x3fefc9;}},_0x2e7189=await _0x2db39f['kVYBy'](calculateFileMD5,_0x3890ec);let _0x552d3b=(await NTQQFileApi[_0x1ca3b7(0xf3)](_0x3890ec))?.['ext']||'';_0x552d3b&&(_0x552d3b=_0x2db39f[_0x1ca3b7(0xf5)]('.',_0x552d3b));let _0x205dee=''+_0x3e62f9[_0x1ca3b7(0x109)](_0x3890ec);_0x205dee[_0x1ca3b7(0xe9)]('.')===-0x1&&(_0x205dee+=_0x552d3b);const _0x2e4b4b=napCatCore[_0x1ca3b7(0xfb)][_0x1ca3b7(0xe8)]()[_0x1ca3b7(0xf9)]({'md5HexStr':_0x2e7189,'fileName':_0x205dee,'elementType':_0x440084,'elementSubType':_0x480368,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1ca3b7(0xf4)](_0x3890ec,_0x2e4b4b);const _0x149dd4=await NTQQFileApi[_0x1ca3b7(0x10d)](_0x3890ec);return{'md5':_0x2e7189,'fileName':_0x205dee,'path':_0x2e4b4b,'fileSize':_0x149dd4,'ext':_0x552d3b};}static async[_0x46f519(0x108)](_0xb360ea,_0x4f5e85,_0x4ce1ee,_0x4fa795,_0x8ba753,_0x3c4a93,_0x422dee=0x3e8*0x3c*0x2,_0x401903=![]){const _0x338210=_0x46f519,_0x1bf8d1={'QcjlX':function(_0xf08170,_0x3c7975){return _0xf08170===_0x3c7975;},'jxcWf':_0x338210(0xf2),'ppzUJ':function(_0xed2c49){return _0xed2c49();},'KFeWo':function(_0x83e63c,_0x186fa2,_0x4f0cba){return _0x83e63c(_0x186fa2,_0x4f0cba);}};if(_0x3c4a93&&_0x1e1312[_0x338210(0x100)](_0x3c4a93)){if(_0x401903)try{await _0x1c32af[_0x338210(0xe4)](_0x3c4a93);}catch(_0x9f8259){}else return _0x3c4a93;}return new Promise((_0x4177ef,_0xdc295f)=>{const _0x2aa24b=_0x338210;let _0x3d8379=![];const _0x245008=_0x3f0a92=>{const _0x8a4262=_0x375b;if(_0x1bf8d1[_0x8a4262(0x110)](_0x3f0a92[_0x8a4262(0xeb)],_0xb360ea)){_0x3d8379=!![];let _0x27256c=_0x3f0a92['filePath'];if(_0x27256c[_0x8a4262(0xdf)]('\x5c')){const _0x181392=sessionConfig[_0x8a4262(0xd8)];_0x27256c=_0x3e62f9[_0x8a4262(0xcf)](_0x181392,_0x27256c);}_0x4177ef(_0x27256c);}};downloadMediaTasks['set'](_0x1bf8d1['ppzUJ'](randomUUID),_0x245008),_0x1bf8d1[_0x2aa24b(0xed)](setTimeout,()=>{const _0x3cc860=_0x2aa24b;!_0x3d8379&&_0xdc295f(_0x1bf8d1[_0x3cc860(0xfa)]);},_0x422dee),napCatCore['session'][_0x2aa24b(0xe8)]()[_0x2aa24b(0xf7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0xb360ea,'chatType':_0x4f5e85,'peerUid':_0x4ce1ee,'elementId':_0x4fa795,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x8ba753});});}static async[_0x46f519(0xd0)](_0xb87e8){const _0x5ecf9e={'TKONu':function(_0x5ce5bf,_0x29f95e){return _0x5ce5bf(_0x29f95e);},'DSkoB':function(_0x137f2b,_0x5a56d7,_0x1d05f3){return _0x137f2b(_0x5a56d7,_0x1d05f3);}};return new Promise((_0x2ccf23,_0x25b7f4)=>{const _0x44f2ad=_0x375b;_0x5ecf9e[_0x44f2ad(0xe3)](_0x44eb97,_0xb87e8,(_0x3480ca,_0x17e5c9)=>{const _0x400a87=_0x44f2ad;_0x3480ca?_0x5ecf9e[_0x400a87(0x10e)](_0x25b7f4,_0x3480ca):_0x2ccf23(_0x17e5c9);});});}static async['getImageUrl'](_0x55d3b9,_0x4eaf56){const _0x1cd135=_0x46f519,_0x19098e={'PifxL':'/download','XnQYe':_0x1cd135(0x10f),'OzcRH':function(_0x5abd68,_0x41540d){return _0x5abd68+_0x41540d;},'UBjxd':function(_0x380dea,_0x28b158){return _0x380dea+_0x28b158;},'aYvfu':function(_0x2c6d4e,_0x560a02){return _0x2c6d4e+_0x560a02;},'riZMd':function(_0x5ace3b,_0x13fdc9){return _0x5ace3b+_0x13fdc9;},'Upgez':function(_0x363796,_0x234a5f){return _0x363796||_0x234a5f;},'LbuGx':_0x1cd135(0xec)};if(!_0x55d3b9)return'';const _0x2932a0=_0x55d3b9[_0x1cd135(0xe1)],_0x1f9873=_0x55d3b9[_0x1cd135(0xd6)],_0x3e87e1=_0x55d3b9[_0x1cd135(0xd6)],_0x22c26f=_0x55d3b9[_0x1cd135(0x112)];if(_0x2932a0){if(_0x2932a0[_0x1cd135(0xdf)](_0x19098e[_0x1cd135(0xd4)])){if(_0x2932a0[_0x1cd135(0x10c)](_0x19098e[_0x1cd135(0x107)]))return _0x19098e['OzcRH'](IMAGE_HTTP_HOST_NT,_0x2932a0);const _0x4ac4b6=await rkeyManager[_0x1cd135(0x105)](),_0x2eae8d=_0x4eaf56?_0x4ac4b6[_0x1cd135(0xf0)]:_0x4ac4b6[_0x1cd135(0xe6)];return _0x19098e[_0x1cd135(0xfe)](_0x19098e[_0x1cd135(0x10b)](IMAGE_HTTP_HOST_NT,_0x2932a0),''+_0x2eae8d);}else return _0x19098e[_0x1cd135(0x106)](IMAGE_HTTP_HOST,_0x2932a0);}else{if(_0x19098e[_0x1cd135(0xf8)](_0x3e87e1,_0x1f9873))return IMAGE_HTTP_HOST+_0x1cd135(0x114)+(_0x3e87e1||_0x1f9873)[_0x1cd135(0x111)]()+'/0';}return logDebug(_0x19098e[_0x1cd135(0xef)],_0x55d3b9),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0xeaf75e=!![]){return'';}static[_0x46f519(0xd2)](){return'';}static[_0x46f519(0xee)](_0x132db9=[_0x46f519(0xce),_0x46f519(0xd5)]){const _0x2fc703=_0x46f519;return napCatCore[_0x2fc703(0xfb)][_0x2fc703(0x102)]()['clearCacheDataByKeys'](_0x132db9);}static[_0x46f519(0xcd)](_0x174bbe={}){const _0x2ffbc5=_0x46f519;return napCatCore[_0x2ffbc5(0xfb)][_0x2ffbc5(0x102)]()['addCacheScanedPaths'](_0x174bbe);}static[_0x46f519(0x103)](){const _0xb01b47=_0x46f519;return napCatCore[_0xb01b47(0xfb)][_0xb01b47(0x102)]()[_0xb01b47(0x103)]();}static[_0x46f519(0xda)](){return'';}static[_0x46f519(0xd9)](){return'';}static[_0x46f519(0xd1)](_0x2cf330,_0x1bfd06=0x3e8,_0x5f512e=0x0){const _0x14e11d=_0x46f519;return napCatCore[_0x14e11d(0xfb)][_0x14e11d(0x102)]()[_0x14e11d(0xe5)](_0x2cf330,_0x1bfd06,0x1,_0x5f512e);}static['getFileCacheInfo'](_0x12948a,_0x37de75=0x3e8,_0x55aa66){const _0x55b855=_0x55aa66?_0x55aa66:{'fileType':_0x12948a};}static async[_0x46f519(0xfc)](_0x26ae58=[],_0x3ba7f7=[]){const _0x262e89=_0x46f519;return napCatCore[_0x262e89(0xfb)][_0x262e89(0x102)]()[_0x262e89(0xd3)](_0x26ae58,_0x3ba7f7);}} \ No newline at end of file +const _0x56e6f8=_0x1032;(function(_0xc33b8d,_0x395f12){const _0x28d316=_0x1032,_0x573fee=_0xc33b8d();while(!![]){try{const _0x4391b1=-parseInt(_0x28d316(0x108))/0x1*(-parseInt(_0x28d316(0x10b))/0x2)+parseInt(_0x28d316(0xea))/0x3*(parseInt(_0x28d316(0x117))/0x4)+-parseInt(_0x28d316(0xe5))/0x5+parseInt(_0x28d316(0xda))/0x6+-parseInt(_0x28d316(0xf6))/0x7+parseInt(_0x28d316(0x120))/0x8*(parseInt(_0x28d316(0x106))/0x9)+-parseInt(_0x28d316(0x12c))/0xa*(parseInt(_0x28d316(0x127))/0xb);if(_0x4391b1===_0x395f12)break;else _0x573fee['push'](_0x573fee['shift']());}catch(_0xa1e215){_0x573fee['push'](_0x573fee['shift']());}}}(_0x2ddb,0x95a16));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xb8832b from'path';function _0x2ddb(){const _0x5e547b=['34644oQpkuY','yZBjS','PIC','/gchatpic_new/0/0-0-','hotUpdate','ZlmEz','getRichMediaFilePathForGuild','toUpperCase','delete','clearCacheDataByKeys','tmp','LxIoP','4240698hFIpCK','CkDWq','getHotUpdateCachePath','getFileType','indexOf','clearChatCache','getImageSize','getFileSize','elementId','apGSe','uhwUc','getMsgService','RKojW','defaultFileDownloadPath','downloadRichMedia','/download','1035FjwsIW','startsWith','1egezhT','addCacheScanedPaths','addCacheScannedPaths','532186UKWHEY','scanCache','getFileCacheInfo','chatType','getVideoPlayUrlV2','clearCache','getChatCacheList','downloadMedia','msgId','existsSync','ext','onRichMediaDownloadComplete','324ZmlBoR','qGSEK','CvjtC','EPHAr','md5HexStr','filePath','uOuNx','private_rkey','dZnZo','13784KkODpW','GBIqf','join','includes','VXkMa','fileTypeFromFile','getImageUrl','1232chcmdz','HQWKE','urlResult','url','getCacheSessionPathList','19970FNnCDY','getVideoUrl','hCuOI','下载超时','uploadFile','5461620vcQFyD','COeSL','session','IDNCu','domainUrl','getStorageCleanService','getRkey','addListener','图片url获取失败','sgiNM','peerUid','4337660SkAxNk','unlink','util','copyFile','&rkey='];_0x2ddb=function(){return _0x5e547b;};return _0x2ddb();}import _0x18b381 from'fs';import _0x54e42d from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4e5834 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5a6a0c from'image-size';function _0x1032(_0x81f995,_0x11dec6){const _0x2ddbcb=_0x2ddb();return _0x1032=function(_0x1032e5,_0x215741){_0x1032e5=_0x1032e5-0xd9;let _0x5a1709=_0x2ddbcb[_0x1032e5];return _0x5a1709;},_0x1032(_0x81f995,_0x11dec6);}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[_0x56e6f8(0x116)]=_0x530020=>{const _0x1dba36=_0x56e6f8;for(const [_0x4f422b,_0x26d573]of downloadMediaTasks){_0x26d573(_0x530020),downloadMediaTasks[_0x1dba36(0xf2)](_0x4f422b);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3d05c6=_0x1032;napCatCore[_0x3d05c6(0xe1)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x56e6f8(0xf9)](_0x17efb0){const _0x4ad483=_0x56e6f8;return _0x4e5834[_0x4ad483(0x125)](_0x17efb0);}static async[_0x56e6f8(0xe8)](_0x49d9eb,_0x4ef503){const _0x19b68c=_0x56e6f8;await napCatCore[_0x19b68c(0xe7)][_0x19b68c(0xe8)](_0x49d9eb,_0x4ef503);}static async[_0x56e6f8(0xfd)](_0x3ce019){const _0x48df96=_0x56e6f8;return await napCatCore[_0x48df96(0xe7)][_0x48df96(0xfd)](_0x3ce019);}static async[_0x56e6f8(0x12d)](_0x226910,_0x959e4c){const _0x1558a0=_0x56e6f8;return(await napCatCore[_0x1558a0(0xdc)]['getRichMediaService']()[_0x1558a0(0x10f)]({'chatType':_0x226910[_0x1558a0(0x10e)],'peerUid':_0x226910[_0x1558a0(0xe4)],'guildId':'0'},_0x226910['msgId'],_0x959e4c[_0x1558a0(0xfe)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x1558a0(0x129)][_0x1558a0(0xde)][0x0][_0x1558a0(0x12a)];}static async[_0x56e6f8(0xd9)](_0x4ebf46,_0xe937b7=ElementType[_0x56e6f8(0xec)],_0x11fbe9=0x0){const _0x433c44=_0x56e6f8,_0x1ed585={'VXkMa':function(_0x53f998,_0x43461a){return _0x53f998+_0x43461a;},'LxIoP':function(_0x4342bb,_0x1e77c4){return _0x4342bb===_0x1e77c4;}},_0x3383c6=await calculateFileMD5(_0x4ebf46);let _0x3c70ee=(await NTQQFileApi[_0x433c44(0xf9)](_0x4ebf46))?.[_0x433c44(0x115)]||'';_0x3c70ee&&(_0x3c70ee=_0x1ed585[_0x433c44(0x124)]('.',_0x3c70ee));let _0x2f06ff=''+_0xb8832b['basename'](_0x4ebf46);_0x1ed585[_0x433c44(0xf5)](_0x2f06ff[_0x433c44(0xfa)]('.'),-0x1)&&(_0x2f06ff+=_0x3c70ee);const _0xb20029=napCatCore[_0x433c44(0xdc)][_0x433c44(0x101)]()[_0x433c44(0xf0)]({'md5HexStr':_0x3383c6,'fileName':_0x2f06ff,'elementType':_0xe937b7,'elementSubType':_0x11fbe9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x433c44(0xe8)](_0x4ebf46,_0xb20029);const _0x340e05=await NTQQFileApi[_0x433c44(0xfd)](_0x4ebf46);return{'md5':_0x3383c6,'fileName':_0x2f06ff,'path':_0xb20029,'fileSize':_0x340e05,'ext':_0x3c70ee};}static async[_0x56e6f8(0x112)](_0x3f3013,_0xec317d,_0x163428,_0x111b4e,_0x143ee9,_0x274ed8,_0x27277f=0x3e8*0x3c*0x2,_0x3113b1=![]){const _0xe9339=_0x56e6f8,_0x3408af={'dZnZo':function(_0x24b0bd,_0x18a58b){return _0x24b0bd(_0x18a58b);},'uOuNx':_0xe9339(0x12f),'mtxkc':function(_0x10af7b,_0x54ed3a){return _0x10af7b===_0x54ed3a;},'RKojW':function(_0x392189){return _0x392189();},'EPHAr':function(_0x3b1a1f,_0x27a0bd,_0x4cba9e){return _0x3b1a1f(_0x27a0bd,_0x4cba9e);}};if(_0x274ed8&&_0x18b381[_0xe9339(0x114)](_0x274ed8)){if(_0x3113b1)try{await _0x54e42d[_0xe9339(0xe6)](_0x274ed8);}catch(_0x51931b){}else return _0x274ed8;}return new Promise((_0xac1281,_0xc4ec2a)=>{const _0x290d2b=_0xe9339,_0x50a001={'uhwUc':function(_0x3e8637,_0x178cfa){return _0x3408af['mtxkc'](_0x3e8637,_0x178cfa);},'yZBjS':function(_0x540399,_0x43891b){return _0x540399(_0x43891b);}};let _0x5c081a=![];const _0x398771=_0x1576e6=>{const _0x3506e3=_0x1032;if(_0x50a001[_0x3506e3(0x100)](_0x1576e6[_0x3506e3(0x113)],_0x3f3013)){_0x5c081a=!![];let _0x15527b=_0x1576e6[_0x3506e3(0x11c)];if(_0x15527b[_0x3506e3(0x107)]('\x5c')){const _0x588647=sessionConfig[_0x3506e3(0x103)];_0x15527b=_0xb8832b[_0x3506e3(0x122)](_0x588647,_0x15527b);}_0x50a001[_0x3506e3(0xeb)](_0xac1281,_0x15527b);}};downloadMediaTasks['set'](_0x3408af[_0x290d2b(0x102)](randomUUID),_0x398771),_0x3408af[_0x290d2b(0x11a)](setTimeout,()=>{const _0x57bf9b=_0x290d2b;!_0x5c081a&&_0x3408af[_0x57bf9b(0x11f)](_0xc4ec2a,_0x3408af[_0x57bf9b(0x11d)]);},_0x27277f),napCatCore[_0x290d2b(0xdc)]['getMsgService']()[_0x290d2b(0x104)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x3f3013,'chatType':_0xec317d,'peerUid':_0x163428,'elementId':_0x111b4e,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x143ee9});});}static async[_0x56e6f8(0xfc)](_0x47e242){const _0x234002={'fKWqF':function(_0x32746b,_0x53b2f2){return _0x32746b(_0x53b2f2);},'ZlmEz':function(_0x1ca258,_0x18e26e,_0x1cc60d){return _0x1ca258(_0x18e26e,_0x1cc60d);}};return new Promise((_0x175a58,_0x4f4f41)=>{const _0x3004ab=_0x1032,_0x3db546={'GBIqf':function(_0x3bd7b7,_0x419682){return _0x3bd7b7(_0x419682);},'apGSe':function(_0x47b1ad,_0x2540ef){return _0x234002['fKWqF'](_0x47b1ad,_0x2540ef);}};_0x234002[_0x3004ab(0xef)](_0x5a6a0c,_0x47e242,(_0x492515,_0x3ba4d1)=>{const _0x50cdd1=_0x3004ab;_0x492515?_0x3db546[_0x50cdd1(0x121)](_0x4f4f41,_0x492515):_0x3db546[_0x50cdd1(0xff)](_0x175a58,_0x3ba4d1);});});}static async[_0x56e6f8(0x126)](_0x38a2e1,_0x404458){const _0x54488d=_0x56e6f8,_0x46549b={'hCuOI':_0x54488d(0x105),'IDNCu':_0x54488d(0xe9),'CkDWq':function(_0x206c6e,_0x2859cc){return _0x206c6e+_0x2859cc;},'sgiNM':function(_0x15ad99,_0x45d6c2){return _0x15ad99+_0x45d6c2;},'COeSL':function(_0x48012d,_0x5e29bd){return _0x48012d+_0x5e29bd;},'CvjtC':function(_0x22c814,_0x4635c5){return _0x22c814+_0x4635c5;},'HQWKE':function(_0x2745b8,_0x4b4982){return _0x2745b8||_0x4b4982;},'qGSEK':function(_0x3dd6f5,_0x29a5be,_0x239787){return _0x3dd6f5(_0x29a5be,_0x239787);},'iGBvg':_0x54488d(0xe2)};if(!_0x38a2e1)return'';const _0x55391c=_0x38a2e1['originImageUrl'],_0x187951=_0x38a2e1[_0x54488d(0x11b)],_0x271900=_0x38a2e1['md5HexStr'],_0x55a5d1=_0x38a2e1['fileUuid'];if(_0x55391c){if(_0x55391c['startsWith'](_0x46549b[_0x54488d(0x12e)])){if(_0x55391c[_0x54488d(0x123)](_0x46549b[_0x54488d(0xdd)]))return _0x46549b[_0x54488d(0xf7)](IMAGE_HTTP_HOST_NT,_0x55391c);const _0x2d3e97=await rkeyManager[_0x54488d(0xe0)](),_0xf265e5=_0x404458?_0x2d3e97[_0x54488d(0x11e)]:_0x2d3e97['group_rkey'];return _0x46549b[_0x54488d(0xe3)](_0x46549b[_0x54488d(0xdb)](IMAGE_HTTP_HOST_NT,_0x55391c),''+_0xf265e5);}else return _0x46549b[_0x54488d(0x119)](IMAGE_HTTP_HOST,_0x55391c);}else{if(_0x271900||_0x187951)return IMAGE_HTTP_HOST+_0x54488d(0xed)+_0x46549b[_0x54488d(0x128)](_0x271900,_0x187951)[_0x54488d(0xf1)]()+'/0';}return _0x46549b[_0x54488d(0x118)](logDebug,_0x46549b['iGBvg'],_0x38a2e1),'';}}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x54c9c7=!![]){return'';}static[_0x56e6f8(0x12b)](){return'';}static[_0x56e6f8(0x110)](_0x1d81cc=[_0x56e6f8(0xf4),_0x56e6f8(0xee)]){const _0x5289c5=_0x56e6f8;return napCatCore['session']['getStorageCleanService']()[_0x5289c5(0xf3)](_0x1d81cc);}static[_0x56e6f8(0x10a)](_0x4997fc={}){const _0x2895f8=_0x56e6f8;return napCatCore[_0x2895f8(0xdc)]['getStorageCleanService']()[_0x2895f8(0x109)](_0x4997fc);}static[_0x56e6f8(0x10c)](){const _0xc45f6=_0x56e6f8;return napCatCore[_0xc45f6(0xdc)][_0xc45f6(0xdf)]()[_0xc45f6(0x10c)]();}static[_0x56e6f8(0xf8)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x56e6f8(0x111)](_0x2ef1e9,_0x34a9c5=0x3e8,_0x5d9c2f=0x0){const _0x5f0111=_0x56e6f8;return napCatCore[_0x5f0111(0xdc)]['getStorageCleanService']()['getChatCacheInfo'](_0x2ef1e9,_0x34a9c5,0x1,_0x5d9c2f);}static[_0x56e6f8(0x10d)](_0x330249,_0x4ae0f7=0x3e8,_0x14e958){const _0xfca345=_0x14e958?_0x14e958:{'fileType':_0x330249};}static async[_0x56e6f8(0xfb)](_0x29a50d=[],_0x2a808d=[]){const _0x5b1430=_0x56e6f8;return napCatCore['session'][_0x5b1430(0xdf)]()['clearChatCacheInfo'](_0x29a50d,_0x2a808d);}} \ 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 67dad9cd..9fe8b767 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -(function(_0x4ef8e2,_0xefa55c){const _0x2795c1=_0x3cdc,_0x4673c8=_0x4ef8e2();while(!![]){try{const _0x44e19b=parseInt(_0x2795c1(0x119))/0x1+parseInt(_0x2795c1(0x11f))/0x2*(-parseInt(_0x2795c1(0x10b))/0x3)+-parseInt(_0x2795c1(0x114))/0x4*(parseInt(_0x2795c1(0x111))/0x5)+-parseInt(_0x2795c1(0x116))/0x6*(parseInt(_0x2795c1(0x117))/0x7)+parseInt(_0x2795c1(0x118))/0x8+parseInt(_0x2795c1(0x10f))/0x9*(-parseInt(_0x2795c1(0x11c))/0xa)+-parseInt(_0x2795c1(0x10d))/0xb*(-parseInt(_0x2795c1(0x11b))/0xc);if(_0x44e19b===_0xefa55c)break;else _0x4673c8['push'](_0x4673c8['shift']());}catch(_0x3aa008){_0x4673c8['push'](_0x4673c8['shift']());}}}(_0xd376,0xb3586));import{napCatCore}from'@/core';function _0xd376(){const _0xb1be0=['45OgoZbG','getBuddyService','3160340lVyzRu','CallNormalEvent','length','4aKqkqU','NodeIKernelBuddyListener/onBuddyListChange','6cnepHU','847714dYlUnz','5166184lBKNXP','924355MEnFsW','split','27111300cVlxnm','2475740qLPVnN','buddyList','approvalFriendRequest','26BsHprd','254715mJeiGg','odFhs','11dXgCHe','push'];_0xd376=function(){return _0xb1be0;};return _0xd376();}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3cdc(_0x4f357c,_0x6bab2a){const _0xd37618=_0xd376();return _0x3cdc=function(_0x3cdce4,_0x220d41){_0x3cdce4=_0x3cdce4-0x10b;let _0x14e08c=_0xd37618[_0x3cdce4];return _0x14e08c;},_0x3cdc(_0x4f357c,_0x6bab2a);}export class NTQQFriendApi{static async['getFriends'](_0x407d91=![]){const _0x514ca2=_0x3cdc,_0x4c8e93={'odFhs':_0x514ca2(0x115)};let [_0x279235,_0x3d04c9]=await NTEventDispatch[_0x514ca2(0x112)]('NodeIKernelBuddyService/getBuddyList',_0x4c8e93[_0x514ca2(0x10c)],0x1,0x1388,_0x407d91);const _0x17ae9e=[];for(const _0x503f83 of _0x3d04c9){for(const _0x4636b7 of _0x503f83[_0x514ca2(0x11d)]){_0x17ae9e[_0x514ca2(0x10e)](_0x4636b7);}}return _0x17ae9e;}static async['handleFriendRequest'](_0x4d658c,_0x236c8b){const _0x5753d6=_0x3cdc;let _0x53e923=_0x4d658c[_0x5753d6(0x11a)]('|');if(_0x53e923[_0x5753d6(0x113)]<0x2)return;let _0x1f4130=_0x53e923[0x0],_0xcdf22e=_0x53e923[0x1];napCatCore['session'][_0x5753d6(0x110)]()?.[_0x5753d6(0x11e)]({'friendUid':_0x1f4130,'reqTime':_0xcdf22e,'accept':_0x236c8b});}} \ No newline at end of file +function _0x23a3(_0x4b2b49,_0x4ef523){const _0x220079=_0x2200();return _0x23a3=function(_0x23a3b3,_0x3e015f){_0x23a3b3=_0x23a3b3-0x13f;let _0x4fa70a=_0x220079[_0x23a3b3];return _0x4fa70a;},_0x23a3(_0x4b2b49,_0x4ef523);}const _0x4f16f9=_0x23a3;function _0x2200(){const _0x349cf2=['3519uiKckB','handleFriendRequest','1312yAoeka','approvalFriendRequest','481150aVcAeQ','337249EOOZGH','split','3416dUjWMC','buddyList','CallNormalEvent','length','521388ECQlIm','kDEPP','241959zNmSPu','3530OWVGgw','1555014kUdrkm','getBuddyService','getFriends','NodeIKernelBuddyService/getBuddyList','8FQdBDH','bifRx'];_0x2200=function(){return _0x349cf2;};return _0x2200();}(function(_0xe2852a,_0x46568a){const _0x41eb76=_0x23a3,_0x2531aa=_0xe2852a();while(!![]){try{const _0x5c9caa=parseInt(_0x41eb76(0x146))/0x1+parseInt(_0x41eb76(0x14c))/0x2+parseInt(_0x41eb76(0x14e))/0x3*(parseInt(_0x41eb76(0x13f))/0x4)+-parseInt(_0x41eb76(0x145))/0x5+-parseInt(_0x41eb76(0x150))/0x6+parseInt(_0x41eb76(0x148))/0x7*(-parseInt(_0x41eb76(0x143))/0x8)+-parseInt(_0x41eb76(0x141))/0x9*(parseInt(_0x41eb76(0x14f))/0xa);if(_0x5c9caa===_0x46568a)break;else _0x2531aa['push'](_0x2531aa['shift']());}catch(_0x2860fc){_0x2531aa['push'](_0x2531aa['shift']());}}}(_0x2200,0x2d5c3));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4f16f9(0x152)](_0x537318=![]){const _0x201fca=_0x4f16f9,_0x36eb54={'FsHNj':_0x201fca(0x153),'kDEPP':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x2386a6,_0x184898]=await NTEventDispatch[_0x201fca(0x14a)](_0x36eb54['FsHNj'],_0x36eb54[_0x201fca(0x14d)],0x1,0x1388,_0x537318);const _0x335c65=[];for(const _0x2401f1 of _0x184898){for(const _0x2ee6bc of _0x2401f1[_0x201fca(0x149)]){_0x335c65['push'](_0x2ee6bc);}}return _0x335c65;}static async[_0x4f16f9(0x142)](_0x35da73,_0x833223){const _0x393db3=_0x4f16f9,_0x1e3a25={'bifRx':function(_0x37132e,_0x3d6d59){return _0x37132e<_0x3d6d59;}};let _0x1fd439=_0x35da73[_0x393db3(0x147)]('|');if(_0x1e3a25[_0x393db3(0x140)](_0x1fd439[_0x393db3(0x14b)],0x2))return;let _0x1ef202=_0x1fd439[0x0],_0x2ae89b=_0x1fd439[0x1];napCatCore['session'][_0x393db3(0x151)]()?.[_0x393db3(0x144)]({'friendUid':_0x1ef202,'reqTime':_0x2ae89b,'accept':_0x833223});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index c46e3e30..c6011610 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -function _0x2eab(_0x470dc9,_0xf1fe3b){const _0x5b0352=_0x5b03();return _0x2eab=function(_0x2eab8d,_0xff35e2){_0x2eab8d=_0x2eab8d-0x19b;let _0x55c5bb=_0x5b0352[_0x2eab8d];return _0x55c5bb;},_0x2eab(_0x470dc9,_0xf1fe3b);}const _0x22b2e1=_0x2eab;(function(_0x5f1204,_0x3e4b56){const _0x1dde43=_0x2eab,_0x3a058b=_0x5f1204();while(!![]){try{const _0x3f13a7=parseInt(_0x1dde43(0x1a1))/0x1+-parseInt(_0x1dde43(0x1c8))/0x2*(-parseInt(_0x1dde43(0x1d2))/0x3)+-parseInt(_0x1dde43(0x19f))/0x4+parseInt(_0x1dde43(0x1de))/0x5*(-parseInt(_0x1dde43(0x1ce))/0x6)+-parseInt(_0x1dde43(0x1d3))/0x7+-parseInt(_0x1dde43(0x1a7))/0x8+parseInt(_0x1dde43(0x1c6))/0x9;if(_0x3f13a7===_0x3e4b56)break;else _0x3a058b['push'](_0x3a058b['shift']());}catch(_0x64f4d2){_0x3a058b['push'](_0x3a058b['shift']());}}}(_0x5b03,0x4a674));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x5b03(){const _0x1dedc3=['11282679FshwxI','setMemberShutUp','2Piepqa','getNextMemberList','GetGroupFileCount','setGroupShutUp','modifyMemberCardName','CallNormalEvent','6DWnbQc','errCode','DelGroupFile','groupCode','181977ocJzET','2139165WnxYjF','infos','group','SDnGY','eCPxU','modifyGroupName','NodeIKernelGroupListener/onGroupListUpdate','createMemberListScene','deleteGroupFile','arkJson','quitGroup','197605xjJsKB','getMemberExtInfo','deleteGroupFolder','result','kickMember','operateSysNotify','NQmYh','2066196EPFnhJ','publishGroupBulletin','426607VatgUy','handleGroupRequest','getRichMediaService','getPSkey','KcUBW','createGroupFolder','4595808zUvAdo','NodeIKernelGroupListener/onGroupSingleScreenNotifies','banMember','NodeIKernelGroupService/getGroupRecommendContactArkJson','session','tqDhq','getGroupRecommendContactArkJson','setMemberCard','CallNoListenerEvent','type','CreatGroupFileFolder','setGroupName','modifyMemberRole','MYwXJ','WAMoN','DelGroupFileFolder','getGroupService','NodeIKernelGroupService/getGroupList','getArkJsonGroupShare','OQmSy','banGroup','NodeIKernelGroupService/getSingleScreenNotifies','uploadGroupBulletinPic','XafcE','qun.qq.com','getGroups','setGroupTitle','batchGetGroupFileCount','xpVXE','JKPoX','getGroupNotifies'];_0x5b03=function(){return _0x1dedc3;};return _0x5b03();}export class NTQQGroupApi{static async[_0x22b2e1(0x1c0)](_0x625e51=![]){const _0x3a64e9=_0x22b2e1,_0x579182={'SDnGY':_0x3a64e9(0x1b8),'MYwXJ':_0x3a64e9(0x1d9)};let [_0x5ef31f,_0x5881b4,_0x411457]=await NTEventDispatch[_0x3a64e9(0x1cd)](_0x579182[_0x3a64e9(0x1d6)],_0x579182[_0x3a64e9(0x1b4)],0x1,0x1388,_0x625e51);return _0x411457;}static async[_0x22b2e1(0x1ad)](_0x1164cc){const _0x5caee6=_0x22b2e1;return napCatCore[_0x5caee6(0x1ab)][_0x5caee6(0x1b7)]()[_0x5caee6(0x1ad)](_0x1164cc);}static async[_0x22b2e1(0x1b1)](_0x3976d9,_0x4ee288){const _0x3eb7e1=_0x22b2e1;return napCatCore['session']['getRichMediaService']()[_0x3eb7e1(0x1a6)](_0x3976d9,_0x4ee288);}static async[_0x22b2e1(0x1d0)](_0x15a1f9,_0x10a488){const _0x3590d2=_0x22b2e1;return napCatCore['session'][_0x3590d2(0x1a3)]()[_0x3590d2(0x1db)](_0x15a1f9,[0x66],_0x10a488);}static async[_0x22b2e1(0x1b6)](_0x2a9250,_0x5b46ed){const _0x459e18=_0x22b2e1;return napCatCore[_0x459e18(0x1ab)][_0x459e18(0x1a3)]()[_0x459e18(0x1e0)](_0x2a9250,_0x5b46ed);}static async['getSingleScreenNotifies'](_0x16d1c9){const _0x17a87e=_0x22b2e1,_0x1a7477={'tqDhq':_0x17a87e(0x1bc),'KcUBW':_0x17a87e(0x1a8)};let [_0x40b609,_0x2e2d2d,_0x115ea9,_0x3f1dce]=await NTEventDispatch[_0x17a87e(0x1cd)](_0x1a7477[_0x17a87e(0x1ac)],_0x1a7477[_0x17a87e(0x1a5)],0x1,0x1388,![],'',_0x16d1c9);return _0x3f1dce;}static async['getGroupMembers'](_0x598670,_0x12b07a=0xbb8){const _0x5d23d3=_0x22b2e1,_0x5c9580={'JKPoX':function(_0x4300f7,_0x39745c){return _0x4300f7!==_0x39745c;},'OQmSy':function(_0x5960f4,_0x14d3b5){return _0x5960f4+_0x14d3b5;},'NQmYh':'获取群成员列表出错,'},_0x1c2a4e=napCatCore[_0x5d23d3(0x1ab)]['getGroupService'](),_0x3c810d=_0x1c2a4e[_0x5d23d3(0x1da)](_0x598670,'groupMemberList_MainWindow'),_0x5ca1d1=await _0x1c2a4e[_0x5d23d3(0x1c9)](_0x3c810d,undefined,_0x12b07a);if(_0x5c9580[_0x5d23d3(0x1c4)](_0x5ca1d1[_0x5d23d3(0x1cf)],0x0))throw _0x5c9580[_0x5d23d3(0x1ba)](_0x5c9580[_0x5d23d3(0x19e)],_0x5ca1d1['errMsg']);return _0x5ca1d1[_0x5d23d3(0x19b)][_0x5d23d3(0x1d4)];}static async[_0x22b2e1(0x1c5)](){}static async[_0x22b2e1(0x1ca)](_0x57f810){const _0x415ad0=_0x22b2e1;return napCatCore[_0x415ad0(0x1ab)]['getRichMediaService']()[_0x415ad0(0x1c2)](_0x57f810);}static async['getGroupIgnoreNotifies'](){}static async[_0x22b2e1(0x1b9)](_0x15bdc2){const _0x53d2b3=_0x22b2e1,_0xd3f26c={'eCPxU':_0x53d2b3(0x1aa)};let _0x44a4b6=await NTEventDispatch[_0x53d2b3(0x1af)](_0xd3f26c[_0x53d2b3(0x1d7)],0x1388,_0x15bdc2);return _0x44a4b6[_0x53d2b3(0x1dc)];}static async[_0x22b2e1(0x1bd)](_0x29ee38,_0x5ee1f5){const _0x43b6ca=_0x22b2e1,_0x208101={'xpVXE':_0x43b6ca(0x1bf)},_0x445caf=(await NTQQUserApi[_0x43b6ca(0x1a4)]([_0x43b6ca(0x1bf)]))[_0x208101[_0x43b6ca(0x1c3)]];return napCatCore['session'][_0x43b6ca(0x1b7)]()[_0x43b6ca(0x1bd)](_0x29ee38,_0x445caf,_0x5ee1f5);}static async[_0x22b2e1(0x1a2)](_0x658441,_0x33c785,_0x77db7c){const _0x401335=_0x22b2e1,_0x52979a={'drCDa':function(_0x2e2399,_0x3b070d){return _0x2e2399||_0x3b070d;}};return napCatCore[_0x401335(0x1ab)][_0x401335(0x1b7)]()[_0x401335(0x19d)](![],{'operateType':_0x33c785,'targetMsg':{'seq':_0x658441['seq'],'type':_0x658441[_0x401335(0x1b0)],'groupCode':_0x658441[_0x401335(0x1d5)][_0x401335(0x1d1)],'postscript':_0x52979a['drCDa'](_0x77db7c,'')}});}static async[_0x22b2e1(0x1dd)](_0x21978f){const _0x57792f=_0x22b2e1;return napCatCore[_0x57792f(0x1ab)]['getGroupService']()[_0x57792f(0x1dd)](_0x21978f);}static async[_0x22b2e1(0x19c)](_0x28d762,_0x2530d2,_0x37707a=![],_0x39126c=''){const _0x5405fc=_0x22b2e1;return napCatCore[_0x5405fc(0x1ab)][_0x5405fc(0x1b7)]()[_0x5405fc(0x19c)](_0x28d762,_0x2530d2,_0x37707a,_0x39126c);}static async[_0x22b2e1(0x1a9)](_0x56facd,_0x18e129){const _0x253efd=_0x22b2e1;return napCatCore[_0x253efd(0x1ab)][_0x253efd(0x1b7)]()[_0x253efd(0x1c7)](_0x56facd,_0x18e129);}static async[_0x22b2e1(0x1bb)](_0x59cc96,_0x328915){const _0x27fc36=_0x22b2e1;return napCatCore[_0x27fc36(0x1ab)][_0x27fc36(0x1b7)]()[_0x27fc36(0x1cb)](_0x59cc96,_0x328915);}static async[_0x22b2e1(0x1ae)](_0x5465b7,_0x4e50fe,_0x5de9d7){const _0x1ad808=_0x22b2e1;return napCatCore[_0x1ad808(0x1ab)][_0x1ad808(0x1b7)]()[_0x1ad808(0x1cc)](_0x5465b7,_0x4e50fe,_0x5de9d7);}static async['setMemberRole'](_0x465c73,_0x34b2be,_0x2d47c9){const _0x404aa8=_0x22b2e1;return napCatCore[_0x404aa8(0x1ab)]['getGroupService']()[_0x404aa8(0x1b3)](_0x465c73,_0x34b2be,_0x2d47c9);}static async[_0x22b2e1(0x1b2)](_0x218406,_0x4e70c3){const _0x130520=_0x22b2e1;return napCatCore[_0x130520(0x1ab)][_0x130520(0x1b7)]()[_0x130520(0x1d8)](_0x218406,_0x4e70c3,![]);}static async[_0x22b2e1(0x1c1)](_0x2dd237,_0x1cc341,_0x2c3685){}static async[_0x22b2e1(0x1a0)](_0x189657,_0x5a125e,_0x47a425=undefined,_0x371947=0x0,_0xd5f820=0x0){const _0x239aed=_0x22b2e1,_0x39cd36={'WAMoN':_0x239aed(0x1bf),'XafcE':function(_0x54a7bb,_0xdab0e5){return _0x54a7bb(_0xdab0e5);}},_0x216bbb=(await NTQQUserApi[_0x239aed(0x1a4)]([_0x39cd36['WAMoN']]))[_0x39cd36[_0x239aed(0x1b5)]];let _0x579115={'text':_0x39cd36[_0x239aed(0x1be)](encodeURI,_0x5a125e),'picInfo':_0x47a425,'oldFeedsId':'','pinned':_0x371947,'confirmRequired':_0xd5f820};return napCatCore[_0x239aed(0x1ab)]['getGroupService']()['publishGroupBulletin'](_0x189657,_0x216bbb,_0x579115);}static async['getGroupRemainAtTimes'](_0x2eb483){const _0x4b830d=_0x22b2e1;napCatCore['session'][_0x4b830d(0x1b7)]()['getGroupRemainAtTimes'](_0x2eb483);}static async['getMemberExtInfo'](_0x13d06a,_0x578942){const _0x1f0bfb=_0x22b2e1;return napCatCore[_0x1f0bfb(0x1ab)][_0x1f0bfb(0x1b7)]()[_0x1f0bfb(0x1df)]({'groupCode':_0x13d06a,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x578942],'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}});}} \ No newline at end of file +const _0x337ae6=_0x226f;(function(_0x5eff0b,_0x12156d){const _0x181c98=_0x226f,_0x203dd1=_0x5eff0b();while(!![]){try{const _0x1a134b=parseInt(_0x181c98(0x16a))/0x1*(parseInt(_0x181c98(0x185))/0x2)+-parseInt(_0x181c98(0x192))/0x3+-parseInt(_0x181c98(0x16b))/0x4*(parseInt(_0x181c98(0x193))/0x5)+-parseInt(_0x181c98(0x17e))/0x6+parseInt(_0x181c98(0x177))/0x7*(-parseInt(_0x181c98(0x164))/0x8)+-parseInt(_0x181c98(0x16c))/0x9*(parseInt(_0x181c98(0x165))/0xa)+parseInt(_0x181c98(0x191))/0xb;if(_0x1a134b===_0x12156d)break;else _0x203dd1['push'](_0x203dd1['shift']());}catch(_0x331071){_0x203dd1['push'](_0x203dd1['shift']());}}}(_0x1761,0xc04d6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x226f(_0x54b516,_0x53f570){const _0x1761ed=_0x1761();return _0x226f=function(_0x226ff9,_0xc48b19){_0x226ff9=_0x226ff9-0x15a;let _0x2c6cbd=_0x1761ed[_0x226ff9];return _0x2c6cbd;},_0x226f(_0x54b516,_0x53f570);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1761(){const _0x11a676=['getPSkey','setGroupShutUp','RAVVj','NodeIKernelGroupService/getGroupList','40234755KzgwKf','3603426cFnzku','251585qMKJfG','result','INIrx','getGroupRecommendContactArkJson','CreatGroupFileFolder','modifyMemberRole','getMemberExtInfo','hvoov','TITLETYPE','session','setGroupTitle','getRichMediaService','modifyMemberCardName','createMemberListScene','eYSYe','setGroupName','uploadGroupBulletinPic','getGroupIgnoreNotifies','getGroupMembers','DelGroupFileFolder','errMsg','UCCwN','setMemberShutUp','qjRDY','GetGroupFileCount','24448eLGqRo','8510NLoFwB','groupMemberList_MainWindow','kickMember','operateSysNotify','getNextMemberList','29683imypBq','4OFiKBZ','2466aoWtic','group','type','infos','qun.qq.com','groupCode','获取群成员列表出错,','DelGroupFile','errCode','quitGroup','deleteGroupFile','3080kRgxaY','LcSph','CallNormalEvent','getGroupService','EyAYE','handleGroupRequest','arkJson','7368492OcncDk','deleteGroupFolder','ksEuH','CallNoListenerEvent','banMember','banGroup','getGroups','80PIAkJb','publishGroupBulletin','batchGetGroupFileCount','getGroupRemainAtTimes','txyqi','getArkJsonGroupShare','createGroupFolder','setMemberRole'];_0x1761=function(){return _0x11a676;};return _0x1761();}export class NTQQGroupApi{static async[_0x337ae6(0x184)](_0x4a2d17=![]){const _0x54e16d=_0x337ae6,_0xa92e99={'Ahaki':_0x54e16d(0x190),'LcSph':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x7ffc05,_0x564735,_0x24bd53]=await NTEventDispatch[_0x54e16d(0x179)](_0xa92e99['Ahaki'],_0xa92e99[_0x54e16d(0x178)],0x1,0x1388,_0x4a2d17);return _0x24bd53;}static async[_0x337ae6(0x196)](_0x5633d0){const _0x5eced6=_0x337ae6;return napCatCore[_0x5eced6(0x19c)][_0x5eced6(0x17a)]()[_0x5eced6(0x196)](_0x5633d0);}static async[_0x337ae6(0x197)](_0x5d6afe,_0x13ac51){const _0x1c827f=_0x337ae6;return napCatCore[_0x1c827f(0x19c)][_0x1c827f(0x19e)]()[_0x1c827f(0x18b)](_0x5d6afe,_0x13ac51);}static async[_0x337ae6(0x173)](_0x597e58,_0x2e8b86){const _0x19b719=_0x337ae6;return napCatCore[_0x19b719(0x19c)][_0x19b719(0x19e)]()[_0x19b719(0x176)](_0x597e58,[0x66],_0x2e8b86);}static async[_0x337ae6(0x15e)](_0x5076c9,_0x2c5c79){const _0x5566da=_0x337ae6;return napCatCore[_0x5566da(0x19c)]['getRichMediaService']()[_0x5566da(0x17f)](_0x5076c9,_0x2c5c79);}static async['getSingleScreenNotifies'](_0x1e677c){const _0x534114=_0x337ae6,_0x3f5c35={'hvoov':'NodeIKernelGroupService/getSingleScreenNotifies','INIrx':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0xee5ef5,_0x4b7b06,_0x5f3467,_0xa2d572]=await NTEventDispatch[_0x534114(0x179)](_0x3f5c35[_0x534114(0x19a)],_0x3f5c35[_0x534114(0x195)],0x1,0x1388,![],'',_0x1e677c);return _0xa2d572;}static async[_0x337ae6(0x15d)](_0x51f7d8,_0x1d7037=0xbb8){const _0x25aa41=_0x337ae6,_0x2b2f78={'UCCwN':_0x25aa41(0x166),'Bfslk':function(_0x1bdcef,_0x5a3ecd){return _0x1bdcef+_0x5a3ecd;},'eYSYe':_0x25aa41(0x172)},_0x40e477=napCatCore[_0x25aa41(0x19c)][_0x25aa41(0x17a)](),_0x152ea5=_0x40e477[_0x25aa41(0x1a0)](_0x51f7d8,_0x2b2f78[_0x25aa41(0x160)]),_0x13da99=await _0x40e477[_0x25aa41(0x169)](_0x152ea5,undefined,_0x1d7037);if(_0x13da99[_0x25aa41(0x174)]!==0x0)throw _0x2b2f78['Bfslk'](_0x2b2f78[_0x25aa41(0x1a1)],_0x13da99[_0x25aa41(0x15f)]);return _0x13da99[_0x25aa41(0x194)][_0x25aa41(0x16f)];}static async['getGroupNotifies'](){}static async[_0x337ae6(0x163)](_0x2347de){const _0x2b417a=_0x337ae6;return napCatCore['session'][_0x2b417a(0x19e)]()[_0x2b417a(0x187)](_0x2347de);}static async[_0x337ae6(0x15c)](){}static async[_0x337ae6(0x18a)](_0x3e5e87){const _0x3b18d7=_0x337ae6,_0x1a40d0={'qjRDY':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x1d3214=await NTEventDispatch[_0x3b18d7(0x181)](_0x1a40d0[_0x3b18d7(0x162)],0x1388,_0x3e5e87);return _0x1d3214[_0x3b18d7(0x17d)];}static async[_0x337ae6(0x15b)](_0x3ad557,_0x1ae891){const _0x4a135b=_0x337ae6,_0x4f0ba3={'txyqi':_0x4a135b(0x170)},_0xe56d66=(await NTQQUserApi[_0x4a135b(0x18d)]([_0x4f0ba3[_0x4a135b(0x189)]]))[_0x4f0ba3[_0x4a135b(0x189)]];return napCatCore[_0x4a135b(0x19c)][_0x4a135b(0x17a)]()[_0x4a135b(0x15b)](_0x3ad557,_0xe56d66,_0x1ae891);}static async[_0x337ae6(0x17c)](_0x8ccb2b,_0x43d131,_0x1ee525){const _0x4b5cf4=_0x337ae6,_0x5392d3={'EyAYE':function(_0x2d3241,_0x164732){return _0x2d3241||_0x164732;}};return napCatCore['session']['getGroupService']()[_0x4b5cf4(0x168)](![],{'operateType':_0x43d131,'targetMsg':{'seq':_0x8ccb2b['seq'],'type':_0x8ccb2b[_0x4b5cf4(0x16e)],'groupCode':_0x8ccb2b[_0x4b5cf4(0x16d)][_0x4b5cf4(0x171)],'postscript':_0x5392d3[_0x4b5cf4(0x17b)](_0x1ee525,'')}});}static async[_0x337ae6(0x175)](_0x48c1c4){const _0x3bbaa6=_0x337ae6;return napCatCore[_0x3bbaa6(0x19c)][_0x3bbaa6(0x17a)]()[_0x3bbaa6(0x175)](_0x48c1c4);}static async[_0x337ae6(0x167)](_0x37707c,_0x4f0cfb,_0x35f320=![],_0x425c48=''){const _0x6d816c=_0x337ae6;return napCatCore[_0x6d816c(0x19c)]['getGroupService']()[_0x6d816c(0x167)](_0x37707c,_0x4f0cfb,_0x35f320,_0x425c48);}static async[_0x337ae6(0x182)](_0x1cb5c3,_0x4877ce){const _0x5475cd=_0x337ae6;return napCatCore[_0x5475cd(0x19c)][_0x5475cd(0x17a)]()[_0x5475cd(0x161)](_0x1cb5c3,_0x4877ce);}static async[_0x337ae6(0x183)](_0x2ebc47,_0x36493d){const _0x2df563=_0x337ae6;return napCatCore['session'][_0x2df563(0x17a)]()[_0x2df563(0x18e)](_0x2ebc47,_0x36493d);}static async['setMemberCard'](_0x4f5c72,_0x5979c2,_0x302197){const _0x2d60f1=_0x337ae6;return napCatCore[_0x2d60f1(0x19c)]['getGroupService']()[_0x2d60f1(0x19f)](_0x4f5c72,_0x5979c2,_0x302197);}static async[_0x337ae6(0x18c)](_0x3cd4c2,_0x315469,_0x3f29b2){const _0x67dc43=_0x337ae6;return napCatCore[_0x67dc43(0x19c)]['getGroupService']()[_0x67dc43(0x198)](_0x3cd4c2,_0x315469,_0x3f29b2);}static async[_0x337ae6(0x15a)](_0x6446a4,_0x39b55f){const _0x599aaf=_0x337ae6;return napCatCore[_0x599aaf(0x19c)][_0x599aaf(0x17a)]()['modifyGroupName'](_0x6446a4,_0x39b55f,![]);}static async[_0x337ae6(0x19d)](_0x4e16f8,_0x58cc50,_0xaa7c99){}static async['publishGroupBulletin'](_0x24fa6e,_0x13a241,_0x18630d=undefined,_0x404160=0x0,_0x3b8bf5=0x0){const _0x122643=_0x337ae6,_0x3b742c={'ksEuH':_0x122643(0x170),'RAVVj':function(_0x8c553b,_0x2e785f){return _0x8c553b(_0x2e785f);}},_0x2fc489=(await NTQQUserApi[_0x122643(0x18d)]([_0x3b742c[_0x122643(0x180)]]))[_0x3b742c[_0x122643(0x180)]];let _0x4088ed={'text':_0x3b742c[_0x122643(0x18f)](encodeURI,_0x13a241),'picInfo':_0x18630d,'oldFeedsId':'','pinned':_0x404160,'confirmRequired':_0x3b8bf5};return napCatCore[_0x122643(0x19c)][_0x122643(0x17a)]()[_0x122643(0x186)](_0x24fa6e,_0x2fc489,_0x4088ed);}static async[_0x337ae6(0x188)](_0x37ab73){const _0x3a1b01=_0x337ae6;napCatCore['session'][_0x3a1b01(0x17a)]()[_0x3a1b01(0x188)](_0x37ab73);}static async[_0x337ae6(0x199)](_0x56ec2f,_0x2e90a7){const _0x19e010=_0x337ae6;return napCatCore[_0x19e010(0x19c)][_0x19e010(0x17a)]()['getMemberExtInfo']({'groupCode':_0x56ec2f,'sourceType':MemberExtSourceType[_0x19e010(0x19b)],'beginUin':'0','dataTime':'0','uinList':[_0x2e90a7],'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}});}} \ 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 52a1d156..a233fdc7 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x1b411a,_0x1b715d){var _0x244faf=_0x53ed,_0x3cb2a7=_0x1b411a();while(!![]){try{var _0x5cd598=parseInt(_0x244faf(0x98))/0x1*(parseInt(_0x244faf(0x9f))/0x2)+parseInt(_0x244faf(0x9b))/0x3*(-parseInt(_0x244faf(0x99))/0x4)+-parseInt(_0x244faf(0xa0))/0x5*(-parseInt(_0x244faf(0x9c))/0x6)+-parseInt(_0x244faf(0x9d))/0x7+-parseInt(_0x244faf(0x97))/0x8+parseInt(_0x244faf(0x9e))/0x9+parseInt(_0x244faf(0x9a))/0xa;if(_0x5cd598===_0x1b715d)break;else _0x3cb2a7['push'](_0x3cb2a7['shift']());}catch(_0x41548c){_0x3cb2a7['push'](_0x3cb2a7['shift']());}}}(_0xd331,0xce691));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x53ed(_0x4cb001,_0xa9fd61){var _0xd33165=_0xd331();return _0x53ed=function(_0x53ed24,_0x2728bf){_0x53ed24=_0x53ed24-0x97;var _0x5e9b38=_0xd33165[_0x53ed24];return _0x5e9b38;},_0x53ed(_0x4cb001,_0xa9fd61);}export*from'./user';export*from'./webapi';function _0xd331(){var _0x570049=['3204496oFsLlT','1313065HNYUJr','5018092OLSWSr','15576210WVrUFy','3VMuWYG','561426zLWNnJ','7438452xssemH','5390289dGZZUr','2SEhiUy','5EyMbAc'];_0xd331=function(){return _0x570049;};return _0xd331();}export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x56b802,_0x3068d4){var _0x433896=_0x34e7,_0x4b969f=_0x56b802();while(!![]){try{var _0x4597ba=-parseInt(_0x433896(0x1e9))/0x1*(-parseInt(_0x433896(0x1e3))/0x2)+parseInt(_0x433896(0x1e8))/0x3*(parseInt(_0x433896(0x1e1))/0x4)+-parseInt(_0x433896(0x1e4))/0x5*(-parseInt(_0x433896(0x1e0))/0x6)+parseInt(_0x433896(0x1e7))/0x7*(parseInt(_0x433896(0x1de))/0x8)+parseInt(_0x433896(0x1e2))/0x9*(-parseInt(_0x433896(0x1e6))/0xa)+parseInt(_0x433896(0x1e5))/0xb+-parseInt(_0x433896(0x1df))/0xc;if(_0x4597ba===_0x3068d4)break;else _0x4b969f['push'](_0x4b969f['shift']());}catch(_0x49bd24){_0x4b969f['push'](_0x4b969f['shift']());}}}(_0x5963,0xca7ca));export*from'./file';function _0x5963(){var _0x1fe349=['9782366mUkwaI','470IAMPKa','1322762htTQHt','3057HLvTxv','57wavOrP','40yZValc','27784044GLpyYN','492HCRHfV','1128BMaqfF','176535OkFDSk','26836dhRTsx','71970NvqLRN'];_0x5963=function(){return _0x1fe349;};return _0x5963();}export*from'./friend';export*from'./group';function _0x34e7(_0x56e151,_0x1ae8eb){var _0x596369=_0x5963();return _0x34e7=function(_0x34e773,_0x5bac2a){_0x34e773=_0x34e773-0x1de;var _0x5134f4=_0x596369[_0x34e773];return _0x5134f4;},_0x34e7(_0x56e151,_0x1ae8eb);}export*from'./msg';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 2d467ae4..3a46b679 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x22880d=_0x2d28;(function(_0x454b6e,_0x3ff179){const _0x4e84e0=_0x2d28,_0x3a63c3=_0x454b6e();while(!![]){try{const _0x2bb637=parseInt(_0x4e84e0(0xac))/0x1+parseInt(_0x4e84e0(0xa1))/0x2+parseInt(_0x4e84e0(0x7e))/0x3*(-parseInt(_0x4e84e0(0x73))/0x4)+parseInt(_0x4e84e0(0x9d))/0x5+-parseInt(_0x4e84e0(0x8b))/0x6+parseInt(_0x4e84e0(0x80))/0x7*(-parseInt(_0x4e84e0(0x84))/0x8)+parseInt(_0x4e84e0(0x78))/0x9;if(_0x2bb637===_0x3ff179)break;else _0x3a63c3['push'](_0x3a63c3['shift']());}catch(_0x52f5ed){_0x3a63c3['push'](_0x3a63c3['shift']());}}}(_0x408e,0x84ab7));import{selfInfo}from'@/core/data';function _0x408e(){const _0x5ede2d=['ApLPR','发送超时','arjbv','msgId','ICocf','multiForwardMsgWithComment','433465ENwKhL','multiForwardMsg','activateChatAndGetHistory','tsFyW','kcsVg','item','elements','xVfUJ','wnoAi','getMsgsByMsgId','forEach','sendMsg','43756CDHjhU','CnDWM','recallMsg','转发消息超时','iaQhy','4340511KIOobq','setMsgEmojiLikes','getRichMediaService','CXvMJ','ePklM','ufowp','177QFwLVo','map','21DtVLYO','getMultiMsg','set','app','711992EjEMbi','IIKXj','setEmojiLike','activateChat','then','ePcpe','uid','4748754tWEHcV','session','getGroupFileList','ZwZdH','onLoginSuccess','toString','SayjI','chatType','getMsgsBySeqAndCount','rBOBt','com.tencent.multimsg','bytesData','sYIwM','peerUid','wBDVO','onGroupFileInfoUpdate','setMsgRead','NZmVY','3812665LFCBYE','catch','getMsgHistory','onMsgInfoListUpdate','1137990hwqAmZ','getMsgService','onAddSendMsg','forwardMsg','arkElement'];_0x408e=function(){return _0x5ede2d;};return _0x408e();}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x2d28(_0x21f3cc,_0x514e0e){const _0x408ecf=_0x408e();return _0x2d28=function(_0x2d283e,_0x5907db){_0x2d283e=_0x2d283e-0x6a;let _0x44c282=_0x408ecf[_0x2d283e];return _0x44c282;},_0x2d28(_0x21f3cc,_0x514e0e);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x22880d(0x9a)]=_0x5a0dbe=>{const _0x1f1084=_0x22880d,_0x1cba9b={'CXvMJ':function(_0x45d1df,_0x4ee4ac){return _0x45d1df(_0x4ee4ac);}};for(const [_0x2e8311,_0x144ba0]of GroupFileInfoUpdateTasks){_0x1cba9b[_0x1f1084(0x7b)](_0x144ba0,_0x5a0dbe),GroupFileInfoUpdateTasks['delete'](_0x2e8311);}},msgListener[_0x22880d(0xa3)]=_0x1c31ea=>{const _0x4aded1=_0x22880d,_0x33e67e={'arjbv':function(_0x48d380,_0x3ae4b0){return _0x48d380(_0x3ae4b0);},'ufowp':function(_0x2a9fd4,_0x30e902){return _0x2a9fd4 instanceof _0x30e902;}};for(const [_0x2994e5,_0x234fd7]of sentMsgTasks){_0x33e67e[_0x4aded1(0xa8)](_0x234fd7,_0x1c31ea),sentMsgTasks['delete'](_0x2994e5);}if(sendMessagePool[_0x1c31ea[_0x4aded1(0x98)]]){const _0x57d894=sendMessagePool[_0x1c31ea[_0x4aded1(0x98)]]?.(_0x1c31ea);_0x33e67e[_0x4aded1(0x7d)](_0x57d894,Promise)&&_0x57d894['then']()[_0x4aded1(0x9e)](logError);}},msgListener[_0x22880d(0xa0)]=_0x555528=>{const _0x10f5af=_0x22880d,_0x460124={'tsFyW':function(_0x40e5f1,_0x46b2f3){return _0x40e5f1(_0x46b2f3);},'SayjI':function(_0x139691,_0x5f30ab){return _0x139691 instanceof _0x5f30ab;}};_0x555528[_0x10f5af(0x71)](_0x2f788b=>{const _0x17a35d=_0x10f5af;new Promise((_0x33f5ec,_0x594bc0)=>{const _0x28ae8f=_0x2d28;for(const _0x492951 in sendSuccessCBMap){const _0x113e98=sendSuccessCBMap[_0x492951],_0x2304e3=_0x460124[_0x28ae8f(0x6a)](_0x113e98,_0x2f788b),_0x243478=_0x4b1a54=>{_0x4b1a54&&delete sendSuccessCBMap[_0x492951];};_0x460124[_0x28ae8f(0x91)](_0x2304e3,Promise)?_0x2304e3[_0x28ae8f(0x88)](_0x243478):_0x460124[_0x28ae8f(0x6a)](_0x243478,_0x2304e3);}})['then']()[_0x17a35d(0x9e)](log);});},setTimeout(()=>{const _0x449012=_0x22880d;napCatCore[_0x449012(0x8f)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x22880d(0x86)](_0x2cc0da,_0x474e74,_0x335b77,_0x501e89=!![]){const _0x4d8da4=_0x22880d;return _0x335b77=_0x335b77[_0x4d8da4(0x90)](),napCatCore[_0x4d8da4(0x8c)][_0x4d8da4(0xa2)]()[_0x4d8da4(0x79)](_0x2cc0da,_0x474e74,_0x335b77,_0x335b77['length']>0x3?'2':'1',_0x501e89);}static async[_0x22880d(0x81)](_0x455546,_0x4d6a7a,_0x56e718){const _0x16e37c=_0x22880d;return napCatCore[_0x16e37c(0x8c)][_0x16e37c(0xa2)]()[_0x16e37c(0x81)](_0x455546,_0x4d6a7a,_0x56e718);}static async[_0x22880d(0x70)](_0x1d25d1,_0xf64539){const _0x3af99d=_0x22880d;return await napCatCore[_0x3af99d(0x8c)][_0x3af99d(0xa2)]()[_0x3af99d(0x70)](_0x1d25d1,_0xf64539);}static async['getMsgsBySeqAndCount'](_0x4d5320,_0x19cd3c,_0x480ae4,_0x409aa2,_0x6c90fb){const _0x43caf9=_0x22880d;return await napCatCore[_0x43caf9(0x8c)][_0x43caf9(0xa2)]()[_0x43caf9(0x93)](_0x4d5320,_0x19cd3c,_0x480ae4,_0x409aa2,_0x6c90fb);}static async[_0x22880d(0x87)](_0x2d26cc){}static async[_0x22880d(0xae)](_0x4632b0){}static async[_0x22880d(0x9b)](_0x35af3d){const _0xe6f802=_0x22880d;return napCatCore[_0xe6f802(0x8c)][_0xe6f802(0xa2)]()[_0xe6f802(0x9b)](_0x35af3d);}static async['getGroupFileList'](_0x118356,_0x10046e){const _0x2ab859={'rBOBt':'获取群文件列表超时','MCfAz':function(_0x3282a0,_0x5de79a){return _0x3282a0(_0x5de79a);},'wBDVO':function(_0x343353){return _0x343353();}};return new Promise(async(_0x2f1ca1,_0x212cd6)=>{const _0x4e4071=_0x2d28;let _0x2f672a=![];setTimeout(()=>{const _0x973816=_0x2d28;!_0x2f672a&&_0x212cd6(_0x2ab859[_0x973816(0x94)]);},0x1388);const _0x272a17=_0x228c8d=>{const _0x7cfeb9=_0x2d28;_0x2f672a=!![],_0x2ab859['MCfAz'](_0x2f1ca1,_0x228c8d[_0x7cfeb9(0x6c)]);};GroupFileInfoUpdateTasks[_0x4e4071(0x82)](_0x2ab859[_0x4e4071(0x99)](randomUUID),_0x272a17),await napCatCore[_0x4e4071(0x8c)][_0x4e4071(0x7a)]()[_0x4e4071(0x8d)](_0x118356,_0x10046e);});}static async[_0x22880d(0x9f)](_0x1c4131,_0x28400e,_0x3889c8){const _0x493e00=_0x22880d;return napCatCore[_0x493e00(0x8c)][_0x493e00(0xa2)]()['getMsgsIncludeSelf'](_0x1c4131,_0x28400e,_0x3889c8,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x5bcb48,_0x567950){const _0x47efda=_0x22880d;await napCatCore[_0x47efda(0x8c)][_0x47efda(0xa2)]()[_0x47efda(0x75)]({'chatType':_0x5bcb48[_0x47efda(0x92)],'peerUid':_0x5bcb48[_0x47efda(0x98)]},_0x567950);}static async[_0x22880d(0x72)](_0x364f4c,_0x1d2f11,_0x2fbeea=!![],_0x7c7e69=0x2710){const _0x1e282f=_0x22880d,_0x47d2ca={'wnoAi':function(_0x2b2ba0,_0x246de0){return _0x2b2ba0>_0x246de0;},'HRAyo':_0x1e282f(0xa7),'NZmVY':function(_0x2b946e,_0xcec40b){return _0x2b946e(_0xcec40b);},'ePcpe':function(_0x2ccf36){return _0x2ccf36();},'ApLPR':function(_0x4fad5a,_0x2863e1){return _0x4fad5a===_0x2863e1;},'QOCMa':function(_0x91c7bf,_0x28f2fd){return _0x91c7bf===_0x28f2fd;},'wCNBT':function(_0x26550a){return _0x26550a();},'DKdgo':function(_0x5a8ae1,_0x51eec4,_0x563085){return _0x5a8ae1(_0x51eec4,_0x563085);}},_0x235cff=_0x364f4c[_0x1e282f(0x98)];let _0x30955f=0x0;const _0x338e97=async()=>{const _0xa214ef=_0x1e282f;if(_0x47d2ca[_0xa214ef(0x6f)](_0x30955f,_0x7c7e69))throw _0x47d2ca['HRAyo'];const _0x41b449=sendMessagePool[_0x364f4c[_0xa214ef(0x98)]];if(_0x41b449)return await _0x47d2ca[_0xa214ef(0x9c)](sleep,0x1f4),_0x30955f+=0x1f4,await _0x47d2ca[_0xa214ef(0x89)](_0x338e97);else return;};return await _0x338e97(),new Promise((_0x485722,_0x515e34)=>{const _0x1523fc=_0x1e282f,_0x445da9={'ePklM':function(_0x269f31,_0xa5645e){const _0x2d9507=_0x2d28;return _0x47d2ca[_0x2d9507(0xa6)](_0x269f31,_0xa5645e);},'izDTY':function(_0x21606e,_0x50e36e){return _0x47d2ca['QOCMa'](_0x21606e,_0x50e36e);},'kcsVg':function(_0x5712f6,_0x1301a0){const _0x2fd9e0=_0x2d28;return _0x47d2ca[_0x2fd9e0(0x9c)](_0x5712f6,_0x1301a0);}};let _0x1327d8=![],_0x27c711=null;const _0x1c066e=_0x47d2ca['wCNBT'](randomUUID);sendSuccessCBMap[_0x1c066e]=_0x6b700c=>{const _0x379873=_0x2d28;if(_0x445da9[_0x379873(0x7c)](_0x6b700c[_0x379873(0xa9)],_0x27c711?.[_0x379873(0xa9)])){if(_0x445da9['izDTY'](_0x6b700c['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1c066e],_0x1327d8=!![],_0x445da9[_0x379873(0x6b)](_0x485722,_0x6b700c),!![];return![];}return![];},sendMessagePool[_0x235cff]=async _0x22e1fd=>{delete sendMessagePool[_0x235cff],_0x27c711=_0x22e1fd;},_0x47d2ca['DKdgo'](setTimeout,()=>{if(_0x1327d8)return;delete sendMessagePool[_0x235cff],delete sendSuccessCBMap[_0x1c066e],_0x47d2ca['NZmVY'](_0x515e34,_0x47d2ca['HRAyo']);},_0x7c7e69);const _0x5c613a=napCatCore[_0x1523fc(0x8c)]['getMsgService']()[_0x1523fc(0x72)]('0',_0x364f4c,_0x1d2f11,new Map());});}static async[_0x22880d(0xa4)](_0x3c9410,_0x2c180a,_0x19b73f){const _0x7da5e3=_0x22880d;return napCatCore[_0x7da5e3(0x8c)][_0x7da5e3(0xa2)]()[_0x7da5e3(0xa4)](_0x19b73f,_0x3c9410,[_0x2c180a],new Map());}static async[_0x22880d(0xad)](_0x113a92,_0x43f59b,_0xd8d56b){const _0x2be357=_0x22880d,_0x215141={'iaQhy':_0x2be357(0x95),'ZwZdH':function(_0x46fae9,_0x38049a){return _0x46fae9==_0x38049a;},'xVfUJ':function(_0x5da8b9,_0x586730){return _0x5da8b9==_0x586730;},'IIKXj':function(_0x1fece2,_0x42da9c){return _0x1fece2(_0x42da9c);},'CnDWM':function(_0x2e6b4b){return _0x2e6b4b();},'ICocf':function(_0x1810fe,_0x3faf75,_0x591a63){return _0x1810fe(_0x3faf75,_0x591a63);}},_0x4a3d3d=_0xd8d56b[_0x2be357(0x7f)](_0x11385d=>{return{'msgId':_0x11385d,'senderShowName':selfInfo['nick']};});return new Promise((_0x569f18,_0x2f358f)=>{const _0x3a6bb9=_0x2be357,_0x2d95ed={'sYIwM':function(_0x5b4ff9,_0x3db2a3){const _0x208b02=_0x2d28;return _0x215141[_0x208b02(0x85)](_0x5b4ff9,_0x3db2a3);},'zPZes':_0x3a6bb9(0x76)};let _0xdd88da=![];const _0x950785=_0x412da8=>{const _0xd29c72=_0x3a6bb9,_0x4a0d24=_0x412da8[_0xd29c72(0x6d)]['find'](_0x456ad7=>_0x456ad7['arkElement']);if(!_0x4a0d24)return;const _0x13dcc2=JSON['parse'](_0x4a0d24[_0xd29c72(0xa5)][_0xd29c72(0x96)]);if(_0x13dcc2[_0xd29c72(0x83)]!=_0x215141[_0xd29c72(0x77)])return;_0x215141[_0xd29c72(0x8e)](_0x412da8[_0xd29c72(0x98)],_0x43f59b[_0xd29c72(0x98)])&&_0x215141[_0xd29c72(0x6e)](_0x412da8['senderUid'],selfInfo[_0xd29c72(0x8a)])&&(_0xdd88da=!![],_0x215141[_0xd29c72(0x85)](_0x569f18,_0x412da8));};sentMsgTasks['set'](_0x215141[_0x3a6bb9(0x74)](randomUUID),_0x950785),_0x215141[_0x3a6bb9(0xaa)](setTimeout,()=>{const _0x1261b7=_0x3a6bb9;!_0xdd88da&&_0x2d95ed[_0x1261b7(0x97)](_0x2f358f,_0x2d95ed['zPZes']);},0x1388),napCatCore['session'][_0x3a6bb9(0xa2)]()[_0x3a6bb9(0xab)](_0x4a3d3d,_0x113a92,_0x43f59b,[],new Map());});}} \ No newline at end of file +const _0x4c47cf=_0x4060;(function(_0x16e9a5,_0x24f5c1){const _0xe39c40=_0x4060,_0xe8f8aa=_0x16e9a5();while(!![]){try{const _0x4ad904=parseInt(_0xe39c40(0x201))/0x1+-parseInt(_0xe39c40(0x202))/0x2+parseInt(_0xe39c40(0x1bd))/0x3*(-parseInt(_0xe39c40(0x1c3))/0x4)+parseInt(_0xe39c40(0x1ff))/0x5+parseInt(_0xe39c40(0x1ee))/0x6*(-parseInt(_0xe39c40(0x1f2))/0x7)+-parseInt(_0xe39c40(0x1e5))/0x8*(parseInt(_0xe39c40(0x1f1))/0x9)+parseInt(_0xe39c40(0x1cb))/0xa*(parseInt(_0xe39c40(0x1b8))/0xb);if(_0x4ad904===_0x24f5c1)break;else _0xe8f8aa['push'](_0xe8f8aa['shift']());}catch(_0x130e11){_0xe8f8aa['push'](_0xe8f8aa['shift']());}}}(_0x4567,0xde4c8));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[_0x4c47cf(0x1cf)]=_0x5dec90=>{const _0x3522ef=_0x4c47cf,_0x5f20da={'LMyIH':function(_0x5a5292,_0x2308a3){return _0x5a5292(_0x2308a3);}};for(const [_0x318fd8,_0xf2abd1]of GroupFileInfoUpdateTasks){_0x5f20da[_0x3522ef(0x1c4)](_0xf2abd1,_0x5dec90),GroupFileInfoUpdateTasks[_0x3522ef(0x1d9)](_0x318fd8);}},msgListener[_0x4c47cf(0x1f3)]=_0x40caba=>{const _0x8e57a1=_0x4c47cf,_0x535a0f={'nKQgN':function(_0x49f3d7,_0x335b4d){return _0x49f3d7 instanceof _0x335b4d;}};for(const [_0x42891e,_0x1d5c21]of sentMsgTasks){_0x1d5c21(_0x40caba),sentMsgTasks[_0x8e57a1(0x1d9)](_0x42891e);}if(sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]){const _0x36ed80=sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]?.(_0x40caba);_0x535a0f['nKQgN'](_0x36ed80,Promise)&&_0x36ed80[_0x8e57a1(0x1c5)]()['catch'](logError);}},msgListener[_0x4c47cf(0x1d4)]=_0x1cf92c=>{const _0x3248c0=_0x4c47cf,_0xbf7980={'iZOcb':function(_0x3e7ca5,_0x4ae40c){return _0x3e7ca5 instanceof _0x4ae40c;}};_0x1cf92c[_0x3248c0(0x1fa)](_0x1b5958=>{const _0x5b247a=_0x3248c0,_0x212634={'wJRyR':function(_0x250dc6,_0x49cf62){const _0x14f637=_0x4060;return _0xbf7980[_0x14f637(0x1bf)](_0x250dc6,_0x49cf62);},'ImbpX':function(_0x49b809,_0x1470c1){return _0x49b809(_0x1470c1);}};new Promise((_0x4c8a25,_0x5542b1)=>{const _0x1e7773=_0x4060;for(const _0x538987 in sendSuccessCBMap){const _0x9b003=sendSuccessCBMap[_0x538987],_0x27f543=_0x9b003(_0x1b5958),_0x8f008c=_0x42a154=>{_0x42a154&&delete sendSuccessCBMap[_0x538987];};_0x212634[_0x1e7773(0x1f4)](_0x27f543,Promise)?_0x27f543[_0x1e7773(0x1c5)](_0x8f008c):_0x212634[_0x1e7773(0x1b7)](_0x8f008c,_0x27f543);}})[_0x5b247a(0x1c5)]()[_0x5b247a(0x1da)](log);});},setTimeout(()=>{const _0xf3d346=_0x4c47cf;napCatCore[_0xf3d346(0x1cc)](()=>{const _0x1f3974=_0xf3d346;napCatCore[_0x1f3974(0x1c8)](msgListener);});},0x64);function _0x4060(_0x12e3d7,_0x37b1dc){const _0x4567a0=_0x4567();return _0x4060=function(_0x406027,_0x165ba5){_0x406027=_0x406027-0x1b3;let _0xe93dd1=_0x4567a0[_0x406027];return _0xe93dd1;},_0x4060(_0x12e3d7,_0x37b1dc);}export class NTQQMsgApi{static async[_0x4c47cf(0x1e4)](_0x5627a6,_0x19775e,_0x58bb3e,_0xd5a33=!![]){const _0x3214d4=_0x4c47cf,_0x775a5f={'dQDDZ':function(_0x5ab496,_0x12cf28){return _0x5ab496>_0x12cf28;}};return _0x58bb3e=_0x58bb3e[_0x3214d4(0x1fd)](),napCatCore[_0x3214d4(0x1eb)]['getMsgService']()[_0x3214d4(0x1ba)](_0x5627a6,_0x19775e,_0x58bb3e,_0x775a5f[_0x3214d4(0x1c9)](_0x58bb3e[_0x3214d4(0x1c7)],0x3)?'2':'1',_0xd5a33);}static async[_0x4c47cf(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7){const _0x39f8d9=_0x4c47cf;return napCatCore['session']['getMsgService']()[_0x39f8d9(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7);}static async[_0x4c47cf(0x1f0)](_0x41d8c9,_0x1f0117){const _0x3deb1e=_0x4c47cf;return await napCatCore[_0x3deb1e(0x1eb)][_0x3deb1e(0x1b4)]()['getMsgsByMsgId'](_0x41d8c9,_0x1f0117);}static async[_0x4c47cf(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77){const _0x38f822=_0x4c47cf;return await napCatCore[_0x38f822(0x1eb)][_0x38f822(0x1b4)]()[_0x38f822(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77);}static async[_0x4c47cf(0x1fe)](_0x10670c){}static async[_0x4c47cf(0x1d1)](_0x48850f){}static async[_0x4c47cf(0x1dc)](_0x2bc053){const _0x56ea49=_0x4c47cf;return napCatCore[_0x56ea49(0x1eb)][_0x56ea49(0x1b4)]()[_0x56ea49(0x1dc)](_0x2bc053);}static async[_0x4c47cf(0x1ed)](_0x5e3eff,_0x254de6){const _0x47892b=_0x4c47cf,_0x4e079e={'DKXlR':_0x47892b(0x1ca),'rJpMY':function(_0x1383b9,_0x2e03f2,_0x3db04d){return _0x1383b9(_0x2e03f2,_0x3db04d);},'pgQmg':function(_0x513df0){return _0x513df0();}};return new Promise(async(_0x32d9af,_0x4e7eaf)=>{const _0x5b95c8=_0x47892b,_0x441d57={'dnpYr':_0x4e079e['DKXlR']};let _0x3f5c08=![];_0x4e079e[_0x5b95c8(0x1d3)](setTimeout,()=>{const _0x501709=_0x5b95c8;!_0x3f5c08&&_0x4e7eaf(_0x441d57[_0x501709(0x1f7)]);},0x1388);const _0x1e7eb9=_0x59be9e=>{const _0x1ca657=_0x5b95c8;_0x3f5c08=!![],_0x32d9af(_0x59be9e[_0x1ca657(0x1d7)]);};GroupFileInfoUpdateTasks['set'](_0x4e079e['pgQmg'](randomUUID),_0x1e7eb9),await napCatCore[_0x5b95c8(0x1eb)]['getRichMediaService']()[_0x5b95c8(0x1ed)](_0x5e3eff,_0x254de6);});}static async[_0x4c47cf(0x1f8)](_0x3af0d0,_0x48db2b,_0x3de2a8){const _0x5ad4ab=_0x4c47cf;return napCatCore[_0x5ad4ab(0x1eb)][_0x5ad4ab(0x1b4)]()[_0x5ad4ab(0x1e3)](_0x3af0d0,_0x48db2b,_0x3de2a8,!![]);}static async['fetchRecentContact'](){}static async[_0x4c47cf(0x1df)](_0x277936,_0x18d2fb){const _0x23d050=_0x4c47cf;await napCatCore[_0x23d050(0x1eb)][_0x23d050(0x1b4)]()[_0x23d050(0x1df)]({'chatType':_0x277936['chatType'],'peerUid':_0x277936['peerUid']},_0x18d2fb);}static async[_0x4c47cf(0x1ce)](_0x855714,_0xa7c710,_0x13aef4=!![],_0x21be6d=0x2710){const _0x53aae6=_0x4c47cf,_0x25dd7d={'JzLsr':function(_0x4e89cf,_0x20a8a1){return _0x4e89cf>_0x20a8a1;},'buycg':_0x53aae6(0x1c1),'tDnQb':function(_0x5472b9,_0xf97dc8){return _0x5472b9(_0xf97dc8);},'HIECy':function(_0x46aac9){return _0x46aac9();},'dYXhC':function(_0x35363f){return _0x35363f();},'NAxLW':function(_0x4556ad,_0x2bca48,_0x44b038){return _0x4556ad(_0x2bca48,_0x44b038);},'IVlhY':function(_0x4e4a90){return _0x4e4a90();}},_0x28acfc=_0x855714[_0x53aae6(0x1f9)];let _0x6dcc1c=0x0;const _0xd5e188=async()=>{const _0xe36f0=_0x53aae6;if(_0x25dd7d[_0xe36f0(0x1e6)](_0x6dcc1c,_0x21be6d))throw _0x25dd7d[_0xe36f0(0x1bc)];const _0x19d35f=sendMessagePool[_0x855714[_0xe36f0(0x1f9)]];if(_0x19d35f)return await _0x25dd7d[_0xe36f0(0x1b5)](sleep,0x1f4),_0x6dcc1c+=0x1f4,await _0x25dd7d[_0xe36f0(0x1cd)](_0xd5e188);else return;};return await _0x25dd7d['IVlhY'](_0xd5e188),new Promise((_0x3de52c,_0x49d807)=>{const _0x96ae2d=_0x53aae6,_0x36cccf={'ekHvQ':function(_0x2738aa,_0x1d6618){return _0x2738aa===_0x1d6618;},'XhEqM':function(_0x352aab,_0x484f6c){return _0x352aab===_0x484f6c;},'OzihL':function(_0x3a2248,_0x4433ae){const _0x591392=_0x4060;return _0x25dd7d[_0x591392(0x1b5)](_0x3a2248,_0x4433ae);}};let _0x1ac4b2=![],_0x599ad9=null;const _0x411977=_0x25dd7d[_0x96ae2d(0x1d6)](randomUUID);sendSuccessCBMap[_0x411977]=_0x2cb66c=>{const _0x17cf1b=_0x96ae2d;if(_0x36cccf[_0x17cf1b(0x1c2)](_0x2cb66c[_0x17cf1b(0x1db)],_0x599ad9?.[_0x17cf1b(0x1db)])){if(_0x36cccf[_0x17cf1b(0x1c0)](_0x2cb66c[_0x17cf1b(0x1e8)],0x2))return delete sendSuccessCBMap[_0x411977],_0x1ac4b2=!![],_0x36cccf[_0x17cf1b(0x1b3)](_0x3de52c,_0x2cb66c),!![];return![];}return![];},sendMessagePool[_0x28acfc]=async _0x19665f=>{delete sendMessagePool[_0x28acfc],_0x599ad9=_0x19665f;},_0x25dd7d[_0x96ae2d(0x1d2)](setTimeout,()=>{const _0x244e12=_0x96ae2d;if(_0x1ac4b2)return;delete sendMessagePool[_0x28acfc],delete sendSuccessCBMap[_0x411977],_0x49d807(_0x244e12(0x1c1));},_0x21be6d);const _0x356516=napCatCore['session'][_0x96ae2d(0x1b4)]()[_0x96ae2d(0x1ce)]('0',_0x855714,_0xa7c710,new Map());});}static async['forwardMsg'](_0x1d620a,_0x5c3fd2,_0x686222){const _0x568604=_0x4c47cf;return napCatCore[_0x568604(0x1eb)][_0x568604(0x1b4)]()[_0x568604(0x1d0)](_0x686222,_0x1d620a,[_0x5c3fd2],new Map());}static async[_0x4c47cf(0x1e7)](_0x3583f1,_0x47ee26,_0x3de2b8){const _0x539d16=_0x4c47cf,_0x3bc090={'dJFwr':_0x539d16(0x1f5),'SysYU':_0x539d16(0x1f6),'ZGcxa':function(_0x2c8853,_0x20c63c){return _0x2c8853==_0x20c63c;},'JPvKq':function(_0xef8abd,_0x3fc947){return _0xef8abd==_0x3fc947;},'NGBGA':function(_0x288e16){return _0x288e16();},'ukmaV':function(_0x555099,_0x54bb90,_0xd0a31){return _0x555099(_0x54bb90,_0xd0a31);}},_0x339ba9=_0x3de2b8[_0x539d16(0x1c6)](_0x28a012=>{return{'msgId':_0x28a012,'senderShowName':selfInfo['nick']};});return new Promise((_0xbb24e0,_0x55b076)=>{const _0x338b9f=_0x539d16,_0x43658b={'iQrqV':_0x3bc090['SysYU'],'NYjpW':function(_0x39bae4,_0x444afa){const _0x3d509a=_0x4060;return _0x3bc090[_0x3d509a(0x1e9)](_0x39bae4,_0x444afa);},'qqQqX':function(_0x42484f,_0x4655b0){const _0x35e15f=_0x4060;return _0x3bc090[_0x35e15f(0x1bb)](_0x42484f,_0x4655b0);},'WszZR':function(_0x66fb65,_0x537461){return _0x66fb65(_0x537461);}};let _0x54ea21=![];const _0x576f31=_0xa9c498=>{const _0x1f6607=_0x4060,_0xa7c09d=_0xa9c498[_0x1f6607(0x1ef)][_0x1f6607(0x1e0)](_0x52b780=>_0x52b780['arkElement']);if(!_0xa7c09d)return;const _0x2229b0=JSON[_0x1f6607(0x1de)](_0xa7c09d[_0x1f6607(0x1fb)][_0x1f6607(0x1b6)]);if(_0x2229b0['app']!=_0x43658b[_0x1f6607(0x1e2)])return;_0x43658b[_0x1f6607(0x1be)](_0xa9c498['peerUid'],_0x47ee26[_0x1f6607(0x1f9)])&&_0x43658b['qqQqX'](_0xa9c498[_0x1f6607(0x1fc)],selfInfo[_0x1f6607(0x1ea)])&&(_0x54ea21=!![],_0x43658b[_0x1f6607(0x1d8)](_0xbb24e0,_0xa9c498));};sentMsgTasks[_0x338b9f(0x1dd)](_0x3bc090[_0x338b9f(0x1b9)](randomUUID),_0x576f31),_0x3bc090['ukmaV'](setTimeout,()=>{const _0x5300e6=_0x338b9f;!_0x54ea21&&_0x55b076(_0x3bc090[_0x5300e6(0x1ec)]);},0x1388),napCatCore[_0x338b9f(0x1eb)]['getMsgService']()[_0x338b9f(0x1d5)](_0x339ba9,_0x3583f1,_0x47ee26,[],new Map());});}}function _0x4567(){const _0x165279=['getMsgsBySeqAndCount','708345pizuvd','1314244MFmSBy','OzihL','getMsgService','tDnQb','bytesData','ImbpX','2651jgZUmV','NGBGA','setMsgEmojiLikes','JPvKq','buycg','2291031hTqCrd','NYjpW','iZOcb','XhEqM','发送超时','ekHvQ','4Etotmb','LMyIH','then','map','length','addListener','dQDDZ','获取群文件列表超时','76570GAcQOl','onLoginSuccess','HIECy','sendMsg','onGroupFileInfoUpdate','forwardMsg','activateChatAndGetHistory','NAxLW','rJpMY','onMsgInfoListUpdate','multiForwardMsgWithComment','dYXhC','item','WszZR','delete','catch','msgId','setMsgRead','set','parse','recallMsg','find','getMultiMsg','iQrqV','getMsgsIncludeSelf','setEmojiLike','607384CwYQjQ','JzLsr','multiForwardMsg','sendStatus','ZGcxa','uid','session','dJFwr','getGroupFileList','474jVCpDJ','elements','getMsgsByMsgId','171MOSVIU','658VAbqKp','onAddSendMsg','wJRyR','转发消息超时','com.tencent.multimsg','dnpYr','getMsgHistory','peerUid','forEach','arkElement','senderUid','toString','activateChat','6138080TKdiGu'];_0x4567=function(){return _0x165279;};return _0x4567();} \ 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 431b066d..a91a6a28 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x1bcec0,_0x311cd9){const _0x27f6e9=_0x2b1f,_0x3ecc57=_0x1bcec0();while(!![]){try{const _0x5e1993=parseInt(_0x27f6e9(0x99))/0x1+parseInt(_0x27f6e9(0x90))/0x2*(-parseInt(_0x27f6e9(0xb6))/0x3)+-parseInt(_0x27f6e9(0xab))/0x4+-parseInt(_0x27f6e9(0x9e))/0x5+parseInt(_0x27f6e9(0xb3))/0x6+parseInt(_0x27f6e9(0x9f))/0x7*(parseInt(_0x27f6e9(0x94))/0x8)+parseInt(_0x27f6e9(0xa4))/0x9;if(_0x5e1993===_0x311cd9)break;else _0x3ecc57['push'](_0x3ecc57['shift']());}catch(_0x42dc34){_0x3ecc57['push'](_0x3ecc57['shift']());}}}(_0x27f9,0xbaed5));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x2b1f(_0x59df29,_0x32e4ec){const _0x27f9f4=_0x27f9();return _0x2b1f=function(_0x2b1fc0,_0x426362){_0x2b1fc0=_0x2b1fc0-0x8e;let _0x57ad58=_0x27f9f4[_0x2b1fc0];return _0x57ad58;},_0x2b1f(_0x59df29,_0x32e4ec);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x27f9(){const _0x2e5ea4=['mlgSc','NKcjV','\x5c/\x5c/','hpAdx','nIFHJ','EdvuC','10jdMxIX','CLmQC','com.tencent.miniapp.lua','p_skey=','56sPyMps','sRJOs','replace','miniapp','uin','1294262qYrvAp','prompt','preview','tianxuan.imgJumpArk','rlnQn','188965NADImT','1050742MtqcrL','FSrHP','tag','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','sourcelogo','148176ydneyr','pZYxA','&ark=','normal','GET','yTbRa','stringify','4152076nIQEeZ','title','data','jumpUrl','getQzoneCookies','HttpGetJson','MiniApp\x20JSON\x20消息生成失败','cebQT','870252ffJwyj','getSkey','tagIcon','399027HCgZlT','PTDln',';\x20skey='];_0x27f9=function(){return _0x2e5ea4;};return _0x27f9();}export async function SignMiniApp(_0x4eb057){const _0x33cc25=_0x2b1f,_0x44b685={'bHuFe':_0x33cc25(0x92),'sRJOs':_0x33cc25(0x9c),'aOzHa':_0x33cc25(0x97),'rlnQn':_0x33cc25(0xa7),'NKcjV':_0x33cc25(0xbb),'FSrHP':function(_0x4b21d9,_0x28ac87){return _0x4b21d9+_0x28ac87;},'hpAdx':function(_0x4c368c,_0x180732){return _0x4c368c+_0x180732;},'pZYxA':function(_0xc75119,_0x1f128e){return _0xc75119+_0x1f128e;},'vhhNh':_0x33cc25(0x93),'nIFHJ':_0x33cc25(0xb8),'yTbRa':';\x20p_uin=o','vfZhZ':';\x20uin=o','mlgSc':function(_0xc00eb9,_0x52adfe){return _0xc00eb9+_0x52adfe;},'HvcKE':_0x33cc25(0xa2),'cebQT':function(_0x2ea86a,_0x59b7a0){return _0x2ea86a(_0x59b7a0);},'PTDln':_0x33cc25(0xa8),'EdvuC':function(_0x239d7f,_0x135206,_0x5ec2f7){return _0x239d7f(_0x135206,_0x5ec2f7);},'CLmQC':_0x33cc25(0xb1)};let _0x512f64={'app':_0x44b685['bHuFe'],'bizsrc':_0x44b685[_0x33cc25(0x95)],'view':_0x44b685['aOzHa'],'prompt':_0x4eb057[_0x33cc25(0x9a)],'config':{'type':_0x44b685[_0x33cc25(0x9d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x4eb057[_0x33cc25(0xac)],'preview':_0x4eb057[_0x33cc25(0x9b)]['replace'](/\\/g,_0x44b685['NKcjV']),'jumpUrl':_0x4eb057[_0x33cc25(0xae)][_0x33cc25(0x96)](/\\/g,_0x33cc25(0xbb)),'tag':_0x4eb057[_0x33cc25(0xa1)],'tagIcon':_0x4eb057[_0x33cc25(0xb5)][_0x33cc25(0x96)](/\\/g,_0x44b685[_0x33cc25(0xba)]),'source':_0x4eb057['source'],'sourcelogo':_0x4eb057[_0x33cc25(0xa3)][_0x33cc25(0x96)](/\\/g,_0x44b685['NKcjV'])}}};const _0x32921f=await NTQQUserApi[_0x33cc25(0xb4)]();let _0x56c523=await NTQQUserApi[_0x33cc25(0xaf)]();const _0x4dbc62=WebApi['genBkn'](_0x56c523['p_skey']),_0x227790=_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xbc)](_0x44b685['pZYxA'](_0x44b685['pZYxA'](_0x44b685[_0x33cc25(0xa5)](_0x44b685['vhhNh'],_0x56c523['p_skey']),_0x44b685[_0x33cc25(0x8e)])+_0x56c523['skey'],_0x44b685[_0x33cc25(0xa9)]),selfInfo[_0x33cc25(0x98)]),_0x44b685['vfZhZ']),selfInfo[_0x33cc25(0x98)]);let _0x20b2b6=_0x44b685[_0x33cc25(0xa0)](_0x44b685[_0x33cc25(0xb9)](_0x44b685['HvcKE'],_0x4dbc62),_0x33cc25(0xa6))+_0x44b685[_0x33cc25(0xb2)](encodeURIComponent,JSON[_0x33cc25(0xaa)](_0x512f64)),_0x41b725='';try{let _0x3bee84=await RequestUtil[_0x33cc25(0xb0)](_0x20b2b6,_0x44b685[_0x33cc25(0xb7)],undefined,{'Cookie':_0x227790});_0x41b725=_0x3bee84[_0x33cc25(0xad)]['signed_ark'];}catch(_0x76aed3){_0x44b685[_0x33cc25(0x8f)](logDebug,_0x44b685[_0x33cc25(0x91)],_0x76aed3);}return _0x41b725;} \ No newline at end of file +(function(_0x20e53,_0x44a671){const _0x3c4950=_0x36eb,_0x34461c=_0x20e53();while(!![]){try{const _0x5c8240=parseInt(_0x3c4950(0x1a0))/0x1*(parseInt(_0x3c4950(0x188))/0x2)+parseInt(_0x3c4950(0x180))/0x3*(parseInt(_0x3c4950(0x195))/0x4)+parseInt(_0x3c4950(0x186))/0x5+parseInt(_0x3c4950(0x1a4))/0x6+-parseInt(_0x3c4950(0x1ae))/0x7*(-parseInt(_0x3c4950(0x182))/0x8)+-parseInt(_0x3c4950(0x1aa))/0x9*(-parseInt(_0x3c4950(0x1a6))/0xa)+-parseInt(_0x3c4950(0x19f))/0xb;if(_0x5c8240===_0x44a671)break;else _0x34461c['push'](_0x34461c['shift']());}catch(_0x189fca){_0x34461c['push'](_0x34461c['shift']());}}}(_0x4e6a,0xafa06));import{logDebug}from'@/common/utils/log';function _0x36eb(_0x4f2b63,_0x26b195){const _0x4e6abf=_0x4e6a();return _0x36eb=function(_0x36eb97,_0x448a37){_0x36eb97=_0x36eb97-0x17e;let _0x3d85e5=_0x4e6abf[_0x36eb97];return _0x3d85e5;},_0x36eb(_0x4f2b63,_0x26b195);}function _0x4e6a(){const _0x2407c8=['caVLb','replace','Doxbh','4994395yxEciI','HttpGetJson','897902VHIRjp','&ark=','cPgyb','data','sourcelogo','genBkn','prompt','source','LzxyR','preview','MiniApp\x20JSON\x20消息生成失败','ymhUG',';\x20uin=o','4ivyqQP','tagIcon','rZcqb','JIdUf','lWUDk','GET','TxxNO','uin','getSkey','normal','26352326maANsU','2pcjBml','getQzoneCookies','NJbwP','signed_ark','1030902keiGdM','IzSFN','100pDSLId','tianxuan.imgJumpArk','com.tencent.miniapp.lua','\x5c/\x5c/','899523cMjMjb','tag','p_skey=','p_skey','3633dEAzgY','title','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','49029afxtrc',';\x20p_uin=o','472ixjTBQ'];_0x4e6a=function(){return _0x2407c8;};return _0x4e6a();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0xa48656){const _0x554623=_0x36eb,_0x43d22d={'NJbwP':_0x554623(0x1a8),'ymhUG':_0x554623(0x1a7),'jpHwD':_0x554623(0x19e),'rZcqb':_0x554623(0x1a9),'Doxbh':function(_0x44e41f,_0x22ebd6){return _0x44e41f+_0x22ebd6;},'mhWEc':_0x554623(0x1ac),'TxxNO':_0x554623(0x181),'lWUDk':_0x554623(0x194),'IzSFN':function(_0x50fd9f,_0x18c451){return _0x50fd9f+_0x18c451;},'JIdUf':_0x554623(0x17f),'PfhiY':_0x554623(0x189),'LzxyR':_0x554623(0x19a),'cPgyb':function(_0x3ac952,_0xc9d6a1,_0x3ff25b){return _0x3ac952(_0xc9d6a1,_0x3ff25b);},'caVLb':_0x554623(0x192)};let _0xf9d472={'app':_0x43d22d[_0x554623(0x1a2)],'bizsrc':_0x43d22d[_0x554623(0x193)],'view':'miniapp','prompt':_0xa48656[_0x554623(0x18e)],'config':{'type':_0x43d22d['jpHwD'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xa48656[_0x554623(0x17e)],'preview':_0xa48656[_0x554623(0x191)][_0x554623(0x184)](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0xa48656['jumpUrl'][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)]),'tag':_0xa48656[_0x554623(0x1ab)],'tagIcon':_0xa48656[_0x554623(0x196)]['replace'](/\\/g,_0x43d22d[_0x554623(0x197)]),'source':_0xa48656[_0x554623(0x18f)],'sourcelogo':_0xa48656[_0x554623(0x18c)][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)])}}};const _0x38ea06=await NTQQUserApi[_0x554623(0x19d)]();let _0x5c8356=await NTQQUserApi[_0x554623(0x1a1)]();const _0x211a50=WebApi[_0x554623(0x18d)](_0x5c8356[_0x554623(0x1ad)]),_0x48828b=_0x43d22d['Doxbh'](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d['mhWEc'],_0x5c8356['p_skey'])+';\x20skey=',_0x5c8356['skey']),_0x43d22d[_0x554623(0x19b)]),selfInfo['uin'])+_0x43d22d[_0x554623(0x199)]+selfInfo[_0x554623(0x19c)];let _0x508e46=_0x43d22d[_0x554623(0x185)](_0x43d22d['IzSFN'](_0x43d22d[_0x554623(0x1a5)](_0x43d22d[_0x554623(0x198)],_0x211a50),_0x43d22d['PfhiY']),encodeURIComponent(JSON['stringify'](_0xf9d472))),_0x35bdbd='';try{let _0x480b61=await RequestUtil[_0x554623(0x187)](_0x508e46,_0x43d22d[_0x554623(0x190)],undefined,{'Cookie':_0x48828b});_0x35bdbd=_0x480b61[_0x554623(0x18b)][_0x554623(0x1a3)];}catch(_0x5a463b){_0x43d22d[_0x554623(0x18a)](logDebug,_0x43d22d[_0x554623(0x183)],_0x5a463b);}return _0x35bdbd;} \ 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 0e417839..140ea08a 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x73ee(_0x2bcdc6,_0x1c4578){const _0x4fa913=_0x4fa9();return _0x73ee=function(_0x73eea5,_0x3356f3){_0x73eea5=_0x73eea5-0x1d2;let _0x4ad010=_0x4fa913[_0x73eea5];return _0x4ad010;},_0x73ee(_0x2bcdc6,_0x1c4578);}function _0x4fa9(){const _0x38a208=['310712vTZtYu','CallNoListenerEvent','1994652jGhrRy','getOnLineDev','5131570uvuERW','1349795fgTfME','7lzdJeq','4222824BDumUQ','1164750tMpXIw','wantWinScreenOCR','4hzWRpv','707963JiGBYV','getRichMediaService','getMsgService','hasOtherRunningQQProcess','ILUty','translateEnWordToZn','NodeIKernelCollectionService/collectionArkShare','81kSLPQC','ORCImage','1717662698058','session'];_0x4fa9=function(){return _0x38a208;};return _0x4fa9();}const _0x927dec=_0x73ee;(function(_0x524303,_0x345554){const _0x14b63d=_0x73ee,_0x394e72=_0x524303();while(!![]){try{const _0x3759a1=-parseInt(_0x14b63d(0x1e2))/0x1+-parseInt(_0x14b63d(0x1df))/0x2+parseInt(_0x14b63d(0x1d9))/0x3+parseInt(_0x14b63d(0x1e1))/0x4*(parseInt(_0x14b63d(0x1dc))/0x5)+-parseInt(_0x14b63d(0x1de))/0x6*(-parseInt(_0x14b63d(0x1dd))/0x7)+parseInt(_0x14b63d(0x1d7))/0x8*(-parseInt(_0x14b63d(0x1d3))/0x9)+parseInt(_0x14b63d(0x1db))/0xa;if(_0x3759a1===_0x345554)break;else _0x394e72['push'](_0x394e72['shift']());}catch(_0x2424ba){_0x394e72['push'](_0x394e72['shift']());}}}(_0x4fa9,0x7cfab));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x1f18e8=_0x73ee;return napCatCore['util'][_0x1f18e8(0x1e5)]();}static async[_0x927dec(0x1d4)](_0x2a8d8f){const _0x321ae4=_0x927dec;return napCatCore['session']['getNodeMiscService']()[_0x321ae4(0x1e0)](_0x2a8d8f);}static async[_0x927dec(0x1e7)](_0x11df29){const _0xcd1c14=_0x927dec;return napCatCore[_0xcd1c14(0x1d6)][_0xcd1c14(0x1e3)]()['translateEnWordToZn'](_0x11df29);}static async['getOnlineDev'](){const _0x297876=_0x927dec;return napCatCore['session'][_0x297876(0x1e4)]()[_0x297876(0x1da)]();}static async['getArkJsonCollection'](_0x486b29){const _0x1b7c6e=_0x927dec,_0x2c763c={'ILUty':_0x1b7c6e(0x1d5)};let _0x282239=await NTEventDispatch[_0x1b7c6e(0x1d8)](_0x1b7c6e(0x1d2),0x1388,_0x2c763c[_0x1b7c6e(0x1e6)]);return _0x282239;}} \ No newline at end of file +function _0x1aa2(_0x50b9f0,_0x206954){const _0x2b3adb=_0x2b3a();return _0x1aa2=function(_0x1aa265,_0xd1bee5){_0x1aa265=_0x1aa265-0x1ef;let _0x2a8504=_0x2b3adb[_0x1aa265];return _0x2a8504;},_0x1aa2(_0x50b9f0,_0x206954);}const _0x5a5a43=_0x1aa2;(function(_0x43b903,_0x3abc81){const _0x1a7a83=_0x1aa2,_0x472404=_0x43b903();while(!![]){try{const _0x178a18=-parseInt(_0x1a7a83(0x1f0))/0x1*(-parseInt(_0x1a7a83(0x200))/0x2)+parseInt(_0x1a7a83(0x1f5))/0x3*(parseInt(_0x1a7a83(0x203))/0x4)+parseInt(_0x1a7a83(0x1f1))/0x5*(parseInt(_0x1a7a83(0x1f8))/0x6)+parseInt(_0x1a7a83(0x1f6))/0x7+-parseInt(_0x1a7a83(0x1fc))/0x8+parseInt(_0x1a7a83(0x201))/0x9*(-parseInt(_0x1a7a83(0x1f4))/0xa)+-parseInt(_0x1a7a83(0x1f9))/0xb;if(_0x178a18===_0x3abc81)break;else _0x472404['push'](_0x472404['shift']());}catch(_0x33b0f3){_0x472404['push'](_0x472404['shift']());}}}(_0x2b3a,0xd1349));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2b3a(){const _0x4920a9=['7099220IKmlna','5685HCyRrC','6314497XoDxyG','NodeIKernelCollectionService/collectionArkShare','2106FdNUXd','18051473GpEGII','CallNoListenerEvent','session','3424472KUllEx','util','ORCImage','getRichMediaService','1136334uICroi','9nOjnyb','hasOtherRunningQQProcess','2280ZMDaUl','getArkJsonCollection','translateEnWordToZn','2OqYySn','7370VVUjOo','wantWinScreenOCR','1717662698058'];_0x2b3a=function(){return _0x4920a9;};return _0x2b3a();}export class NTQQSystemApi{static async[_0x5a5a43(0x202)](){const _0xef17d5=_0x5a5a43;return napCatCore[_0xef17d5(0x1fd)][_0xef17d5(0x202)]();}static async[_0x5a5a43(0x1fe)](_0x12308a){const _0x36f1de=_0x5a5a43;return napCatCore[_0x36f1de(0x1fb)]['getNodeMiscService']()[_0x36f1de(0x1f2)](_0x12308a);}static async[_0x5a5a43(0x1ef)](_0x463fd3){const _0x3cdf28=_0x5a5a43;return napCatCore[_0x3cdf28(0x1fb)][_0x3cdf28(0x1ff)]()[_0x3cdf28(0x1ef)](_0x463fd3);}static async['getOnlineDev'](){const _0x3a2be7=_0x5a5a43;return napCatCore[_0x3a2be7(0x1fb)]['getMsgService']()['getOnLineDev']();}static async[_0x5a5a43(0x204)](_0xa29db4){const _0x1037a4=_0x5a5a43,_0x2362a9={'fZuJZ':_0x1037a4(0x1f7),'Udofx':_0x1037a4(0x1f3)};let _0x4dae41=await NTEventDispatch[_0x1037a4(0x1fa)](_0x2362a9['fZuJZ'],0x1388,_0x2362a9['Udofx']);return _0x4dae41;}} \ 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 2c1d8e0c..89f8495b 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x5ebecb=_0x5068;(function(_0x55086e,_0x21f23e){const _0x10c1bb=_0x5068,_0x1cb6c1=_0x55086e();while(!![]){try{const _0x3b94c2=-parseInt(_0x10c1bb(0x16f))/0x1*(-parseInt(_0x10c1bb(0x192))/0x2)+-parseInt(_0x10c1bb(0x181))/0x3*(-parseInt(_0x10c1bb(0x171))/0x4)+parseInt(_0x10c1bb(0x13f))/0x5*(parseInt(_0x10c1bb(0x159))/0x6)+-parseInt(_0x10c1bb(0x18e))/0x7+parseInt(_0x10c1bb(0x17a))/0x8*(-parseInt(_0x10c1bb(0x15f))/0x9)+parseInt(_0x10c1bb(0x13d))/0xa+parseInt(_0x10c1bb(0x15c))/0xb*(-parseInt(_0x10c1bb(0x149))/0xc);if(_0x3b94c2===_0x21f23e)break;else _0x1cb6c1['push'](_0x1cb6c1['shift']());}catch(_0x11a457){_0x1cb6c1['push'](_0x1cb6c1['shift']());}}}(_0x500f,0xd4299));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x500f(){const _0x422bcc=['getPSkey','getUserDetailInfoByUin','fromEntries','yADFR','getUserDetailInfo\x20timeout','now','getRobotUinRange','getTipOffService','GItEp','getSelfInfo','setStatus','8050760MAhOwL','getPskey','345940dWoNgo','&clientkey=','modifySelfProfile','getBuddyRecommendContactArkJson','session','ugDSC','result','MNbfc','then','SXNyB','228HSxxRS','length','addListener','getRobotService','forEach','errMsg','KeyIndex','uin','ahMGA','uid','getProfileService','modifyDesktopMiniProfile','entries','getUserDetailInfo','setBuddyProfileLike','fdhJz','42jsGEjD','HttpsGetCookies','response','460669nygtWC','setLongNick','get','529119bFPUIR','WUbUo','like','getUinByUid','keyIndex','setHeader','getSkey','setSelfOnlineStatus','getTicketService','PtvoG','set','getUidByUin','getUserDetailInfoWithBizInfo','delete','ErwfV','YYIMT','79GXpFMV','请求获取Cookies时失败','7684hmQfPS','请求获取Skey时失败','NodeIKernelProfileService/getUserDetailInfoByUin','eyglX','uidInfo','NodeIKernelUixConvertService/getUin','clientKey','PYhMN','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','56JVjvlB','push','domainPskeyMap','ClientKey','cGARR','skey','nxdZS','861cMchAx','uinInfo','setQQAvatar','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','NmzLL','获取Pskey失败','PskeyTime','gqYec','PskeyData','onLoginSuccess','BlUQm','CallNoListenerEvent','uwEJz','3618020otrQdr','sSoEI','CreatTime','JGnoB','19048xGUQse','oVFmI','NodeIKernelUixConvertService/getUid','eySfV','getBuddyService','%2Finfocenter&keyindex=19%27','getUserInfo'];_0x500f=function(){return _0x422bcc;};return _0x500f();}function _0x5068(_0x133133,_0x1b710f){const _0x500fcd=_0x500f();return _0x5068=function(_0x5068b3,_0x197499){_0x5068b3=_0x5068b3-0x12f;let _0x4fb158=_0x500fcd[_0x5068b3];return _0x4fb158;},_0x5068(_0x133133,_0x1b710f);}import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener['onProfileDetailInfoChanged']=_0x3e73e6=>{const _0x7ae297=_0x5068;userInfoCache[_0x3e73e6['uid']]=_0x3e73e6,userDetailHandlers[_0x7ae297(0x14d)](_0x535611=>_0x535611(_0x3e73e6));},setTimeout(()=>{const _0xd4fa1a=_0x5068;napCatCore[_0xd4fa1a(0x18a)](()=>{const _0x10df6c=_0xd4fa1a;napCatCore[_0x10df6c(0x14b)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5ebecb(0x15d)](_0x32006c){const _0x9861bc=_0x5ebecb;return napCatCore[_0x9861bc(0x143)][_0x9861bc(0x153)]()['setLongNick'](_0x32006c);}static async[_0x5ebecb(0x166)](_0x2400cc,_0x3bc530,_0x4b0c66){const _0x2680e7=_0x5ebecb;return napCatCore[_0x2680e7(0x143)]['getMsgService']()[_0x2680e7(0x13c)]({'status':_0x2400cc,'extStatus':_0x3bc530,'batteryStatus':_0x4b0c66});}static async[_0x5ebecb(0x142)](_0x319285,_0x3bd570=''){const _0x452365=_0x5ebecb;return napCatCore[_0x452365(0x143)][_0x452365(0x12f)]()['getBuddyRecommendContactArkJson'](_0x319285,_0x3bd570);}static async[_0x5ebecb(0x161)](_0x231d49,_0x3a85f4=0x1){const _0x47b969=_0x5ebecb;return napCatCore[_0x47b969(0x143)]['getProfileLikeService']()[_0x47b969(0x157)]({'friendUid':_0x231d49,'sourceId':0x47,'doLikeCount':_0x3a85f4,'doLikeTollCount':0x0});}static async[_0x5ebecb(0x183)](_0x381fee){const _0x427283=_0x5ebecb,_0x429808=await napCatCore[_0x427283(0x143)][_0x427283(0x153)]()[_0x427283(0x164)](_0x381fee);return{'result':_0x429808?.[_0x427283(0x145)],'errMsg':_0x429808?.[_0x427283(0x14e)]};}static async[_0x5ebecb(0x13b)](){}static async[_0x5ebecb(0x131)](_0x47af4c){}static async[_0x5ebecb(0x156)](_0x5c0857){const _0x428f68=_0x5ebecb,_0x1c0a3c={'vXxsf':function(_0x422104,_0x3a11db){return _0x422104===_0x3a11db;},'ErwfV':function(_0x1d958d,_0x7bb01c){return _0x1d958d(_0x7bb01c);},'SXNyB':function(_0x4d8158,_0x2f941a){return _0x4d8158(_0x2f941a);},'PtvoG':_0x428f68(0x136),'eySfV':function(_0x3cde36){return _0x3cde36();},'eyglX':function(_0x2a6653,_0x51dd48,_0x44e02c){return _0x2a6653(_0x51dd48,_0x44e02c);}},_0x37f053=napCatCore[_0x428f68(0x143)]['getProfileService']();return new Promise((_0x18c335,_0x9b79e0)=>{const _0x7d0b43=_0x428f68,_0x7c4c9c={'fdhJz':function(_0x4fcace,_0x4b9911){const _0x3e98dc=_0x5068;return _0x1c0a3c[_0x3e98dc(0x148)](_0x4fcace,_0x4b9911);},'GItEp':_0x1c0a3c[_0x7d0b43(0x168)]},_0x572ce6=_0x1c0a3c[_0x7d0b43(0x195)](randomUUID);let _0x50ae21=![],_0x2daf8a=undefined,_0x55d685=!![];_0x1c0a3c[_0x7d0b43(0x174)](setTimeout,()=>{const _0x35fa3c=_0x7d0b43;!_0x50ae21&&(_0x2daf8a?_0x7c4c9c[_0x35fa3c(0x158)](_0x18c335,_0x2daf8a):_0x9b79e0(_0x7c4c9c[_0x35fa3c(0x13a)])),userDetailHandlers[_0x35fa3c(0x16c)](_0x572ce6);},0x1388),userDetailHandlers[_0x7d0b43(0x169)](_0x572ce6,_0x457224=>{const _0x1f60de=_0x7d0b43;_0x1c0a3c['vXxsf'](_0x457224[_0x1f60de(0x152)],_0x5c0857)&&(_0x55d685?(_0x2daf8a=_0x457224,_0x55d685=![]):(_0x50ae21=!![],_0x1c0a3c[_0x1f60de(0x16d)](_0x18c335,_0x457224)));}),_0x37f053[_0x7d0b43(0x16b)](_0x5c0857,[0x0])[_0x7d0b43(0x147)](_0x42953a=>{});});}static async[_0x5ebecb(0x141)](_0xda5776){const _0x3e7eae=_0x5ebecb;return napCatCore['session']['getProfileService']()[_0x3e7eae(0x154)](_0xda5776);}static async[_0x5ebecb(0x132)](_0x4ecfc7,_0x3ec51a=!![]){const _0x2d763b=_0x5ebecb,_0x51323a={'NmzLL':function(_0x1eef80,_0x3ec3c9){return _0x1eef80>_0x3ec3c9;},'yADFR':function(_0x10107a,_0x3f7b21){return _0x10107a-_0x3f7b21;},'ugDSC':function(_0x130510,_0x5a345b){return _0x130510===_0x5a345b;},'cGARR':function(_0x5dd2a3,_0x28a9b5,_0x46995b){return _0x5dd2a3(_0x28a9b5,_0x46995b);},'sSoEI':_0x2d763b(0x186)},_0x384437=[],_0x2a753c={};for(const _0x1e0341 in _0x4ecfc7){const _0x5b9724=Credentials[_0x2d763b(0x189)][_0x2d763b(0x15e)](_0x4ecfc7[_0x1e0341]),_0x387d9b=Credentials[_0x2d763b(0x187)][_0x2d763b(0x15e)](_0x4ecfc7[_0x1e0341]);!_0x5b9724||!_0x387d9b||_0x51323a[_0x2d763b(0x185)](_0x51323a[_0x2d763b(0x135)](Date[_0x2d763b(0x137)](),_0x387d9b),0x708*0x3e8)||!_0x3ec51a?_0x384437[_0x2d763b(0x17b)](_0x4ecfc7[_0x1e0341]):_0x2a753c[_0x4ecfc7[_0x1e0341]]=_0x5b9724;}let _0x4ee8a0={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x51323a[_0x2d763b(0x185)](_0x384437[_0x2d763b(0x14a)],0x0)&&(_0x4ee8a0=await napCatCore[_0x2d763b(0x143)][_0x2d763b(0x139)]()[_0x2d763b(0x13e)](_0x384437,!![]));const _0x483562=_0x4ee8a0[_0x2d763b(0x17c)];for(const _0x103dea of _0x483562[_0x2d763b(0x155)]()){Credentials['PskeyData'][_0x2d763b(0x169)](_0x103dea[0x0],_0x103dea[0x1]),Credentials[_0x2d763b(0x187)][_0x2d763b(0x169)](_0x103dea[0x0],Date[_0x2d763b(0x137)]());}const _0x3aafa3=Object['assign'](Object[_0x2d763b(0x134)](_0x483562),_0x2a753c);if(_0x51323a[_0x2d763b(0x144)](_0x4ee8a0[_0x2d763b(0x145)],0x0))return _0x3aafa3;else _0x51323a[_0x2d763b(0x17e)](logError,_0x51323a[_0x2d763b(0x18f)],_0x4ee8a0[_0x2d763b(0x14e)]);return{};}static async[_0x5ebecb(0x138)](){const _0x1efe3a=_0x5ebecb,_0x479032=await napCatCore[_0x1efe3a(0x143)][_0x1efe3a(0x14c)]()[_0x1efe3a(0x138)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x479032?.[_0x1efe3a(0x15b)]?.['robotUinRanges'];}static async['getQzoneCookies'](){const _0x59a56c=_0x5ebecb,_0x4a3696={'BlUQm':function(_0x3db23d,_0x5823c9){return _0x3db23d+_0x5823c9;},'ZblXl':_0x59a56c(0x184),'gqYec':_0x59a56c(0x140),'ahMGA':_0x59a56c(0x130)},_0x262da5=_0x4a3696[_0x59a56c(0x18b)](_0x4a3696[_0x59a56c(0x18b)](_0x4a3696['BlUQm'](_0x4a3696[_0x59a56c(0x18b)](_0x4a3696['ZblXl'],selfInfo[_0x59a56c(0x150)]),_0x4a3696[_0x59a56c(0x188)]),Credentials[_0x59a56c(0x17d)])+_0x59a56c(0x179),selfInfo[_0x59a56c(0x150)])+_0x4a3696[_0x59a56c(0x151)];let _0x282da4={};try{_0x282da4=await RequestUtil[_0x59a56c(0x15a)](_0x262da5);}catch(_0xfaae97){logDebug(_0x59a56c(0x170),_0xfaae97),_0x282da4={};}return _0x282da4;}static async[_0x5ebecb(0x165)](_0x56d1e9=!![]){const _0x5efca6=_0x5ebecb,_0x28ba2d={'oVFmI':function(_0x4d8634,_0xebd57){return _0x4d8634>_0xebd57;},'aejvG':function(_0x367759,_0x190b6e){return _0x367759-_0x190b6e;},'mEUZF':function(_0xd300e9,_0x4d9426){return _0xd300e9*_0x4d9426;},'MNbfc':function(_0x3ec43a,_0x2287a8){return _0x3ec43a+_0x2287a8;},'YYIMT':function(_0x57df36,_0x3a62a8){return _0x57df36+_0x3a62a8;},'JGnoB':function(_0x51d7b1,_0x1bb105){return _0x51d7b1+_0x1bb105;},'PYhMN':function(_0x383232,_0x1a6eab){return _0x383232+_0x1a6eab;},'LJgCL':function(_0x51bf7e,_0x277eeb){return _0x51bf7e+_0x277eeb;},'nxdZS':'&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','WUbUo':function(_0x34e7cc,_0x25e108,_0x5a3f0f){return _0x34e7cc(_0x25e108,_0x5a3f0f);}};try{if(Credentials[_0x5efca6(0x190)]==0x0||_0x28ba2d[_0x5efca6(0x193)](_0x28ba2d['aejvG'](Date['now'](),Credentials['CreatTime']),_0x28ba2d['mEUZF'](0x3e8,0xe10))||!_0x56d1e9){const _0x36ebe6=await napCatCore[_0x5efca6(0x143)][_0x5efca6(0x167)]()['forceFetchClientKey']('');if(_0x36ebe6[_0x5efca6(0x145)]!==0x0)return'';const _0x31e8a0=_0x36ebe6[_0x5efca6(0x177)],_0xb99fa9=_0x36ebe6[_0x5efca6(0x163)],_0x4ac26e=_0x28ba2d[_0x5efca6(0x146)](_0x28ba2d[_0x5efca6(0x16e)](_0x28ba2d[_0x5efca6(0x191)](_0x28ba2d[_0x5efca6(0x178)](_0x28ba2d['LJgCL'](_0x5efca6(0x184),selfInfo[_0x5efca6(0x150)]),'&clientkey='),_0x31e8a0),_0x28ba2d[_0x5efca6(0x180)]),_0xb99fa9);let _0x44a7f3={};try{_0x44a7f3=await RequestUtil[_0x5efca6(0x15a)](_0x4ac26e);}catch(_0x374835){_0x28ba2d[_0x5efca6(0x160)](logDebug,_0x5efca6(0x172),_0x374835),_0x44a7f3={};}const _0x45f6f6=_0x44a7f3[_0x5efca6(0x17f)];if(!_0x45f6f6)return'';return Credentials[_0x5efca6(0x17d)]=_0x31e8a0,Credentials[_0x5efca6(0x14f)]=_0xb99fa9,Credentials[_0x5efca6(0x190)]=Date[_0x5efca6(0x137)](),Credentials['Skey']=_0x45f6f6,_0x45f6f6;}return Credentials['Skey'];}catch(_0x486207){}return undefined;}static async[_0x5ebecb(0x16a)](_0x209282){const _0x1309e1=_0x5ebecb,_0x515d53={'uwEJz':_0x1309e1(0x194)};let _0x8bc35a=await NTEventDispatch['CallNoListenerEvent'](_0x515d53[_0x1309e1(0x18d)],0x1388,[_0x209282]);return _0x8bc35a[_0x1309e1(0x175)]['get'](_0x209282);}static async[_0x5ebecb(0x162)](_0x237acb){const _0x9fcbe3=_0x5ebecb,_0x1b5d22={'ENNEv':_0x9fcbe3(0x176)};if(!_0x237acb)return'';let _0x1da4d9=await NTEventDispatch[_0x9fcbe3(0x18c)](_0x1b5d22['ENNEv'],0x1388,[_0x237acb]);return _0x1da4d9[_0x9fcbe3(0x182)][_0x9fcbe3(0x15e)](_0x237acb);}static async[_0x5ebecb(0x133)](_0x6bb1de){const _0x4c8d13=_0x5ebecb;return NTEventDispatch['CallNoListenerEvent'](_0x4c8d13(0x173),0x1388,_0x6bb1de);}} \ No newline at end of file +const _0x2b3a66=_0x2293;(function(_0x615a64,_0x4e1bdb){const _0x14519e=_0x2293,_0x5295b4=_0x615a64();while(!![]){try{const _0x502982=parseInt(_0x14519e(0x163))/0x1+-parseInt(_0x14519e(0x17a))/0x2+parseInt(_0x14519e(0x16b))/0x3*(-parseInt(_0x14519e(0x17d))/0x4)+-parseInt(_0x14519e(0x172))/0x5+-parseInt(_0x14519e(0x18a))/0x6+parseInt(_0x14519e(0x1a8))/0x7+-parseInt(_0x14519e(0x158))/0x8*(-parseInt(_0x14519e(0x181))/0x9);if(_0x502982===_0x4e1bdb)break;else _0x5295b4['push'](_0x5295b4['shift']());}catch(_0x52f319){_0x5295b4['push'](_0x5295b4['shift']());}}}(_0x5db9,0x9e69a));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0x5db9(){const _0x98b049=['getUserDetailInfo\x20timeout','getPSkey','getRobotService','cEhPh','CallNoListenerEvent','jQqAj','3OfOMbo','domainPskeyMap','set','%2Finfocenter&keyindex=19%27','oTqkR','YOmsr','uid','2674375sFHloz','clientKey','modifySelfProfile','getTicketService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','session','PskeyTime','KeyIndex','2022250JQGbCl','setHeader','ynvjP','639384NUAvGo','getUinByUid','setStatus','bxGGw','5374413rRKXsJ','tLuHh','response','RmqMu','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','modifyDesktopMiniProfile','kCZlF','keyIndex','getMsgService','3077958lzhdkk','getBuddyRecommendContactArkJson','getProfileService','getRobotUinRange','getUserDetailInfo','errMsg','NodeIKernelUixConvertService/getUin','setLongNick','RQPhF','获取Pskey失败','cnMel','getUserDetailInfoByUin','setBuddyProfileLike','forEach','setSelfOnlineStatus','ClientKey','then','onLoginSuccess','oeYZp','getBuddyService','BktaE','Skey','Hcqpi','iwUTs','NodeIKernelProfileService/getUserDetailInfoByUin','push','getQzoneCookies','getTipOffService','getUserDetailInfoWithBizInfo','JFPlv','7545398GerCxA','now','robotUinRanges','getUserInfo','get','cdARF','tbqvs','getSelfInfo','&clientkey=','HttpsGetCookies','BUoff','getSkey','uin','PskeyData','result','pmrof','CreatTime','8yBzZzR','NodeIKernelUixConvertService/getUid','UkETX','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NOgTo','uidInfo','onProfileDetailInfoChanged','like','skey','getPskey','zGWdg','1192626bLznkY','otnnw'];_0x5db9=function(){return _0x98b049;};return _0x5db9();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2293(_0x4265b5,_0x2e9127){const _0x5db9fc=_0x5db9();return _0x2293=function(_0x2293af,_0x343960){_0x2293af=_0x2293af-0x14b;let _0x2fb44e=_0x5db9fc[_0x2293af];return _0x2fb44e;},_0x2293(_0x4265b5,_0x2e9127);}profileListener[_0x2b3a66(0x15e)]=_0x7629a4=>{const _0x22a25b=_0x2b3a66;userInfoCache[_0x7629a4[_0x22a25b(0x171)]]=_0x7629a4,userDetailHandlers[_0x22a25b(0x197)](_0x2347af=>_0x2347af(_0x7629a4));},setTimeout(()=>{const _0x4eb3a4=_0x2b3a66;napCatCore[_0x4eb3a4(0x19b)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2b3a66(0x191)](_0x2ec151){const _0x28c316=_0x2b3a66;return napCatCore[_0x28c316(0x177)][_0x28c316(0x18c)]()[_0x28c316(0x191)](_0x2ec151);}static async[_0x2b3a66(0x198)](_0x15e6c6,_0xbf9692,_0x42490f){const _0x346e99=_0x2b3a66;return napCatCore['session'][_0x346e99(0x189)]()[_0x346e99(0x17f)]({'status':_0x15e6c6,'extStatus':_0xbf9692,'batteryStatus':_0x42490f});}static async[_0x2b3a66(0x18b)](_0x13177c,_0x133580=''){const _0x438cca=_0x2b3a66;return napCatCore[_0x438cca(0x177)][_0x438cca(0x19d)]()[_0x438cca(0x18b)](_0x13177c,_0x133580);}static async[_0x2b3a66(0x15f)](_0x4b793f,_0x2c9c81=0x1){const _0x12a53b=_0x2b3a66;return napCatCore[_0x12a53b(0x177)]['getProfileLikeService']()[_0x12a53b(0x196)]({'friendUid':_0x4b793f,'sourceId':0x47,'doLikeCount':_0x2c9c81,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x35dc19){const _0x4b8054=_0x2b3a66,_0x2bffed=await napCatCore['session'][_0x4b8054(0x18c)]()[_0x4b8054(0x17b)](_0x35dc19);return{'result':_0x2bffed?.['result'],'errMsg':_0x2bffed?.[_0x4b8054(0x18f)]};}static async[_0x2b3a66(0x14e)](){}static async[_0x2b3a66(0x1ab)](_0x36222f){}static async[_0x2b3a66(0x18e)](_0x211811){const _0x563716=_0x2b3a66,_0x2d3faf={'kCZlF':function(_0x19a87f,_0x2156aa){return _0x19a87f(_0x2156aa);},'jQqAj':function(_0x12d8a5,_0x4dc536){return _0x12d8a5(_0x4dc536);},'BUoff':function(_0x5e9db8,_0x1cdcb9){return _0x5e9db8===_0x1cdcb9;},'JFPlv':function(_0x132295){return _0x132295();},'cdARF':function(_0x37c331,_0x387ac9,_0x369c58){return _0x37c331(_0x387ac9,_0x369c58);}},_0x35d643=napCatCore[_0x563716(0x177)]['getProfileService']();return new Promise((_0x43df42,_0x570d10)=>{const _0xcafbda=_0x563716,_0xc2851c={'cnMel':function(_0x8eafb2,_0x374b1c){const _0x24ac3d=_0x2293;return _0x2d3faf[_0x24ac3d(0x151)](_0x8eafb2,_0x374b1c);},'otnnw':function(_0xfb81a4,_0x470939){return _0x2d3faf['kCZlF'](_0xfb81a4,_0x470939);}},_0x24bb89=_0x2d3faf[_0xcafbda(0x1a7)](randomUUID);let _0x4532e7=![],_0x4eeb20=undefined,_0x10c39d=!![];_0x2d3faf[_0xcafbda(0x14c)](setTimeout,()=>{const _0x1b5dac=_0xcafbda;!_0x4532e7&&(_0x4eeb20?_0x2d3faf[_0x1b5dac(0x187)](_0x43df42,_0x4eeb20):_0x2d3faf[_0x1b5dac(0x16a)](_0x570d10,_0x1b5dac(0x165))),userDetailHandlers['delete'](_0x24bb89);},0x1388),userDetailHandlers[_0xcafbda(0x16d)](_0x24bb89,_0x8ebace=>{const _0x110072=_0xcafbda;_0xc2851c[_0x110072(0x194)](_0x8ebace[_0x110072(0x171)],_0x211811)&&(_0x10c39d?(_0x4eeb20=_0x8ebace,_0x10c39d=![]):(_0x4532e7=!![],_0xc2851c[_0x110072(0x164)](_0x43df42,_0x8ebace)));}),_0x35d643[_0xcafbda(0x1a6)](_0x211811,[0x0])[_0xcafbda(0x19a)](_0x2a72bc=>{});});}static async[_0x2b3a66(0x174)](_0x2b2515){const _0x4a7eaa=_0x2b3a66;return napCatCore[_0x4a7eaa(0x177)]['getProfileService']()[_0x4a7eaa(0x186)](_0x2b2515);}static async[_0x2b3a66(0x166)](_0x164841,_0x25b0b0=!![]){const _0x50314c=_0x2b3a66,_0x576a46={'YOmsr':function(_0x34576e,_0x1f5b21){return _0x34576e||_0x1f5b21;},'aRuYt':function(_0x16fdc5,_0x5b5f3e){return _0x16fdc5>_0x5b5f3e;},'zGWdg':function(_0x998f65,_0x3a2c59){return _0x998f65*_0x3a2c59;},'cEhPh':function(_0x5e44f9,_0x41375e){return _0x5e44f9>_0x41375e;},'BktaE':function(_0xead873,_0x235a5c){return _0xead873===_0x235a5c;},'wdjDH':function(_0x3fc792,_0x5b17c8,_0x369ca9){return _0x3fc792(_0x5b17c8,_0x369ca9);}},_0x2e8980=[],_0x2f9989={};for(const _0x2f7baa in _0x164841){const _0x44f596=Credentials['PskeyData'][_0x50314c(0x14b)](_0x164841[_0x2f7baa]),_0x337292=Credentials[_0x50314c(0x178)]['get'](_0x164841[_0x2f7baa]);_0x576a46[_0x50314c(0x170)](!_0x44f596,!_0x337292)||_0x576a46['aRuYt'](Date[_0x50314c(0x1a9)]()-_0x337292,_0x576a46[_0x50314c(0x162)](0x708,0x3e8))||!_0x25b0b0?_0x2e8980[_0x50314c(0x1a3)](_0x164841[_0x2f7baa]):_0x2f9989[_0x164841[_0x2f7baa]]=_0x44f596;}let _0x1d797c={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x576a46[_0x50314c(0x168)](_0x2e8980['length'],0x0)&&(_0x1d797c=await napCatCore[_0x50314c(0x177)][_0x50314c(0x1a5)]()[_0x50314c(0x161)](_0x2e8980,!![]));const _0x21669b=_0x1d797c[_0x50314c(0x16c)];for(const _0x1294e5 of _0x21669b['entries']()){Credentials[_0x50314c(0x154)][_0x50314c(0x16d)](_0x1294e5[0x0],_0x1294e5[0x1]),Credentials[_0x50314c(0x178)][_0x50314c(0x16d)](_0x1294e5[0x0],Date['now']());}const _0x37cfab=Object['assign'](Object['fromEntries'](_0x21669b),_0x2f9989);if(_0x576a46[_0x50314c(0x19e)](_0x1d797c[_0x50314c(0x155)],0x0))return _0x37cfab;else _0x576a46['wdjDH'](logError,_0x50314c(0x193),_0x1d797c[_0x50314c(0x18f)]);return{};}static async['getRobotUinRange'](){const _0x515117=_0x2b3a66,_0xbde5a6=await napCatCore['session'][_0x515117(0x167)]()[_0x515117(0x18d)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xbde5a6?.[_0x515117(0x183)]?.[_0x515117(0x1aa)];}static async[_0x2b3a66(0x1a4)](){const _0x528d05=_0x2b3a66,_0x43011f={'Hcqpi':function(_0x3e78bc,_0x285b77){return _0x3e78bc+_0x285b77;},'tLuHh':function(_0x107ddf,_0x4f1b18){return _0x107ddf+_0x4f1b18;},'UkETX':function(_0x39431a,_0x30ec5f){return _0x39431a+_0x30ec5f;},'oTqkR':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','BYDtf':_0x528d05(0x15b),'bxGGw':_0x528d05(0x16e),'pmrof':function(_0x52ba3d,_0x5eed53,_0x501b4e){return _0x52ba3d(_0x5eed53,_0x501b4e);},'DqtmX':'请求获取Cookies时失败'},_0x401927=_0x43011f['Hcqpi'](_0x43011f[_0x528d05(0x182)](_0x43011f[_0x528d05(0x1a0)](_0x43011f[_0x528d05(0x15a)](_0x43011f[_0x528d05(0x15a)](_0x43011f[_0x528d05(0x16f)],selfInfo[_0x528d05(0x153)]),_0x528d05(0x14f))+Credentials[_0x528d05(0x199)],_0x43011f['BYDtf']),selfInfo[_0x528d05(0x153)]),_0x43011f[_0x528d05(0x180)]);let _0x31c749={};try{_0x31c749=await RequestUtil['HttpsGetCookies'](_0x401927);}catch(_0xe1d518){_0x43011f[_0x528d05(0x156)](logDebug,_0x43011f['DqtmX'],_0xe1d518),_0x31c749={};}return _0x31c749;}static async[_0x2b3a66(0x152)](_0x1968bc=!![]){const _0x1e9111=_0x2b3a66,_0x228c0f={'iwUTs':function(_0x155a28,_0x3b0aa1){return _0x155a28==_0x3b0aa1;},'oeYZp':function(_0x26ed32,_0x2accbe){return _0x26ed32+_0x2accbe;},'ynvjP':_0x1e9111(0x176),'RmqMu':_0x1e9111(0x14f),'axdSz':function(_0x45726b,_0x18d800,_0x21ea81){return _0x45726b(_0x18d800,_0x21ea81);}};try{if(_0x228c0f[_0x1e9111(0x1a1)](Credentials['CreatTime'],0x0)||Date[_0x1e9111(0x1a9)]()-Credentials[_0x1e9111(0x157)]>0x3e8*0xe10||!_0x1968bc){const _0x40b8af=await napCatCore['session'][_0x1e9111(0x175)]()['forceFetchClientKey']('');if(_0x40b8af['result']!==0x0)return'';const _0x492c8c=_0x40b8af[_0x1e9111(0x173)],_0x4ebe55=_0x40b8af[_0x1e9111(0x188)],_0x5b39c3=_0x228c0f['oeYZp'](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x19c)](_0x228c0f[_0x1e9111(0x17c)],selfInfo[_0x1e9111(0x153)]),_0x228c0f[_0x1e9111(0x184)]),_0x492c8c),_0x1e9111(0x185))+_0x4ebe55;let _0x33c276={};try{_0x33c276=await RequestUtil[_0x1e9111(0x150)](_0x5b39c3);}catch(_0x41885d){_0x228c0f['axdSz'](logDebug,'请求获取Skey时失败',_0x41885d),_0x33c276={};}const _0x5b0ebe=_0x33c276[_0x1e9111(0x160)];if(!_0x5b0ebe)return'';return Credentials[_0x1e9111(0x199)]=_0x492c8c,Credentials[_0x1e9111(0x179)]=_0x4ebe55,Credentials[_0x1e9111(0x157)]=Date[_0x1e9111(0x1a9)](),Credentials[_0x1e9111(0x19f)]=_0x5b0ebe,_0x5b0ebe;}return Credentials['Skey'];}catch(_0x48132a){}return undefined;}static async['getUidByUin'](_0x350b8e){const _0x4d6b11=_0x2b3a66,_0x2ed37b={'tbqvs':_0x4d6b11(0x159)};let _0xe45f15=await NTEventDispatch[_0x4d6b11(0x169)](_0x2ed37b[_0x4d6b11(0x14d)],0x1388,[_0x350b8e]);return _0xe45f15[_0x4d6b11(0x15d)][_0x4d6b11(0x14b)](_0x350b8e);}static async[_0x2b3a66(0x17e)](_0x2f0f3e){const _0x1c97d0=_0x2b3a66,_0x13cc51={'NOgTo':_0x1c97d0(0x190)};if(!_0x2f0f3e)return'';let _0x4a77f2=await NTEventDispatch['CallNoListenerEvent'](_0x13cc51[_0x1c97d0(0x15c)],0x1388,[_0x2f0f3e]);return _0x4a77f2['uinInfo'][_0x1c97d0(0x14b)](_0x2f0f3e);}static async[_0x2b3a66(0x195)](_0x1bf41d){const _0x31051a=_0x2b3a66,_0x40eb59={'RQPhF':_0x31051a(0x1a2)};return NTEventDispatch['CallNoListenerEvent'](_0x40eb59[_0x31051a(0x192)],0x1388,_0x1bf41d);}} \ 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 193b69c9..0547ef84 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x38035b=_0x13b6;(function(_0x164d27,_0x2ef11b){const _0x31a473=_0x13b6,_0x49f0d0=_0x164d27();while(!![]){try{const _0x2a934f=parseInt(_0x31a473(0xc9))/0x1*(parseInt(_0x31a473(0xbc))/0x2)+parseInt(_0x31a473(0xe9))/0x3*(parseInt(_0x31a473(0x103))/0x4)+-parseInt(_0x31a473(0xaa))/0x5+parseInt(_0x31a473(0x11b))/0x6*(parseInt(_0x31a473(0x93))/0x7)+-parseInt(_0x31a473(0xd8))/0x8+-parseInt(_0x31a473(0xf8))/0x9*(parseInt(_0x31a473(0x80))/0xa)+parseInt(_0x31a473(0xda))/0xb*(parseInt(_0x31a473(0x105))/0xc);if(_0x2a934f===_0x2ef11b)break;else _0x49f0d0['push'](_0x49f0d0['shift']());}catch(_0xbeeede){_0x49f0d0['push'](_0x49f0d0['shift']());}}}(_0x145c,0x32157));import{WebGroupData,selfInfo}from'@/core/data';function _0x13b6(_0x43a7fb,_0x10306f){const _0x145c07=_0x145c();return _0x13b6=function(_0x13b62e,_0x5415b8){_0x13b62e=_0x13b62e-0x7f;let _0x137d7c=_0x145c07[_0x13b62e];return _0x137d7c;},_0x13b6(_0x43a7fb,_0x10306f);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x1fb511){const _0x4ab38b=_0x13b6,_0x186427={'jIROH':_0x4ab38b(0xb3),'OIVTp':_0x4ab38b(0x90),'muQmP':_0x4ab38b(0xfb),'dzNEH':_0x4ab38b(0xc3),'JCRiu':'EMOTION','tzFNc':'emotion','xHHiP':_0x4ab38b(0x91),'ecquJ':'ALL'},_0x1a817b=_0x186427['jIROH']['split']('|');let _0x5ac494=0x0;while(!![]){switch(_0x1a817b[_0x5ac494++]){case'0':_0x1fb511['PERFROMER']=_0x186427[_0x4ab38b(0xa4)];continue;case'1':_0x1fb511[_0x186427[_0x4ab38b(0x101)]]=_0x186427['dzNEH'];continue;case'2':_0x1fb511['TALKACTIVE']=_0x4ab38b(0x8a);continue;case'3':_0x1fb511[_0x186427[_0x4ab38b(0xb5)]]=_0x186427[_0x4ab38b(0xae)];continue;case'4':_0x1fb511[_0x186427[_0x4ab38b(0xd5)]]='legend';continue;case'5':_0x1fb511[_0x186427[_0x4ab38b(0xaf)]]=_0x4ab38b(0x9b);continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x38035b(0x9e)](_0x47283f,_0x5c903f){const _0x182e1f=_0x38035b,_0x47fa1f={'STZHj':_0x182e1f(0x11f),'dvHyA':function(_0x3cfacd,_0x567fae){return _0x3cfacd+_0x567fae;},'LjOrK':function(_0x3cddd9,_0xe10e83){return _0x3cddd9+_0xe10e83;},'CWrUq':function(_0x32b37f,_0x12af68){return _0x32b37f+_0x12af68;},'Vsgrc':_0x182e1f(0xb0),'DKKbB':_0x182e1f(0xe1),'zUOJZ':_0x182e1f(0x10b),'pFgdW':function(_0xe77a2c,_0x55adfe){return _0xe77a2c+_0x55adfe;},'cCjdQ':function(_0x30228c,_0x40efbb){return _0x30228c+_0x40efbb;},'RIaar':'https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','Heudk':_0x182e1f(0xa6),'aFcPL':'&page_limit=20','ziOOj':_0x182e1f(0xdd),'mmTJu':function(_0x1fd215,_0x68b4ab){return _0x1fd215!==_0x68b4ab;}},_0x41b30d=(await NTQQUserApi['getPSkey']([_0x47fa1f[_0x182e1f(0xc8)]]))[_0x182e1f(0x11f)],_0x648c20=await NTQQUserApi['getSkey'](),_0x1a8e16=_0x47fa1f['dvHyA'](_0x47fa1f[_0x182e1f(0x88)](_0x47fa1f[_0x182e1f(0x88)](_0x47fa1f['LjOrK'](_0x47fa1f[_0x182e1f(0xd6)](_0x47fa1f[_0x182e1f(0xa5)]+_0x41b30d,_0x47fa1f['DKKbB']),_0x648c20),';\x20p_uin=o'),selfInfo[_0x182e1f(0xa7)]),_0x47fa1f['zUOJZ'])+selfInfo[_0x182e1f(0xa7)];if(!_0x648c20||!_0x41b30d)return undefined;const _0x484eb0=WebApi[_0x182e1f(0x9a)](_0x648c20),_0x52b8a3=_0x47fa1f['pFgdW'](_0x47fa1f['dvHyA'](_0x47fa1f[_0x182e1f(0xff)](_0x47fa1f[_0x182e1f(0x115)](_0x47fa1f[_0x182e1f(0xbf)]+_0x484eb0+_0x47fa1f[_0x182e1f(0x118)],_0x47283f),_0x182e1f(0x112)),_0x5c903f),_0x47fa1f[_0x182e1f(0x99)]);let _0x14dfd6;try{_0x14dfd6=await RequestUtil['HttpGetJson'](_0x52b8a3,_0x47fa1f[_0x182e1f(0x123)],'',{'Cookie':_0x1a8e16});}catch{return undefined;}if(_0x47fa1f[_0x182e1f(0xc5)](_0x14dfd6[_0x182e1f(0xfd)],0x0))return undefined;return _0x14dfd6;}static async[_0x38035b(0x8d)](_0x2386fb,_0x1c8b20=!![]){const _0x559f24=_0x38035b,_0x17a04e={'vgjGy':function(_0x2a9f44,_0x130136){return _0x2a9f44>_0x130136;},'hPiyf':function(_0x5674cc,_0x99b476){return _0x5674cc-_0x99b476;},'XSeMh':function(_0x520e0c,_0x135a38){return _0x520e0c*_0x135a38;},'IZTIP':_0x559f24(0x11f),'ATsVH':function(_0xfeb8d6,_0x50936b){return _0xfeb8d6+_0x50936b;},'Zcxed':function(_0x26ecb5,_0x18660a){return _0x26ecb5+_0x18660a;},'RyRox':_0x559f24(0xb0),'JlDYS':_0x559f24(0xe1),'ssFtm':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','wmxKj':_0x559f24(0xa3),'hqwfM':function(_0x1bbfe0,_0x486b4f){return _0x1bbfe0!==_0x486b4f;},'QsXPQ':function(_0x25eea3,_0x2c6255){return _0x25eea3/_0x2c6255;},'MFUkO':function(_0x2a05e8,_0x2406df){return _0x2a05e8+_0x2406df;},'NkrTc':function(_0x1326fb,_0x48b063){return _0x1326fb+_0x48b063;},'RAAMK':function(_0xc3d5,_0x3843d7){return _0xc3d5+_0x3843d7;},'xgnLF':function(_0x544715,_0x575f00){return _0x544715+_0x575f00;},'DJIUY':_0x559f24(0xdf),'igkID':function(_0x364223,_0x198a3e){return _0x364223-_0x198a3e;},'BJnGA':_0x559f24(0xe6),'Dldnj':_0x559f24(0xa2),'PnzQV':'POST','skhEG':function(_0xcd1386,_0x27eb6c){return _0xcd1386<=_0x27eb6c;},'suqJS':function(_0xef834,_0x3076b3){return _0xef834!==_0x3076b3;}};let _0x6cab4=new Array();try{let _0x52d53f=WebGroupData[_0x559f24(0xf9)][_0x559f24(0xab)](_0x2386fb),_0x47be38=WebGroupData['GroupTime'][_0x559f24(0xab)](_0x2386fb);if(!_0x47be38||_0x17a04e['vgjGy'](_0x17a04e[_0x559f24(0xfc)](Date['now'](),_0x47be38),_0x17a04e[_0x559f24(0xb9)](0x708,0x3e8))||!_0x1c8b20){const _0x3c97df=(await NTQQUserApi[_0x559f24(0x10a)]([_0x17a04e['IZTIP']]))[_0x17a04e[_0x559f24(0x10c)]],_0x23505e=await NTQQUserApi[_0x559f24(0xeb)](),_0x1efb1f=_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e['Zcxed'](_0x17a04e[_0x559f24(0xc1)],_0x3c97df),_0x17a04e['JlDYS']),_0x23505e)+_0x559f24(0xb8),selfInfo[_0x559f24(0xa7)]);if(!_0x23505e||!_0x3c97df)return _0x6cab4;const _0x3b4856=WebApi[_0x559f24(0x9a)](_0x23505e),_0x548c22=[],_0x5a2b2e=await RequestUtil[_0x559f24(0xce)](_0x17a04e['ATsVH'](_0x17a04e[_0x559f24(0xad)],_0x2386fb)+_0x17a04e[_0x559f24(0xb6)]+_0x3b4856,_0x559f24(0xf7),'',{'Cookie':_0x1efb1f});if(!_0x5a2b2e?.[_0x559f24(0x11d)]||_0x17a04e[_0x559f24(0xd0)](_0x5a2b2e?.[_0x559f24(0xdc)],0x0)||!_0x5a2b2e?.[_0x559f24(0x125)])return[];else for(const _0x47f048 in _0x5a2b2e['mems']){_0x6cab4[_0x559f24(0xc0)](_0x5a2b2e[_0x559f24(0x125)][_0x47f048]);}const _0x388af9=Math[_0x559f24(0x97)](_0x17a04e[_0x559f24(0xf3)](_0x5a2b2e['count'],0x28));for(let _0x278d0f=0x2;_0x278d0f<=_0x388af9;_0x278d0f++){const _0x2ee8d=RequestUtil[_0x559f24(0xce)](_0x17a04e[_0x559f24(0xc2)](_0x17a04e[_0x559f24(0x8e)](_0x17a04e[_0x559f24(0xe8)](_0x17a04e[_0x559f24(0x85)](_0x17a04e[_0x559f24(0xbd)](_0x17a04e[_0x559f24(0xe3)](_0x17a04e[_0x559f24(0x82)],_0x17a04e[_0x559f24(0x113)](_0x278d0f,0x1)*0x28),_0x17a04e[_0x559f24(0x116)])+_0x17a04e['XSeMh'](_0x278d0f,0x28),_0x17a04e['Dldnj']),_0x2386fb),_0x559f24(0xa3)),_0x3b4856),_0x17a04e[_0x559f24(0xde)],'',{'Cookie':_0x1efb1f});_0x548c22[_0x559f24(0xc0)](_0x2ee8d);}for(let _0x5a7378=0x1;_0x17a04e['skhEG'](_0x5a7378,_0x388af9);_0x5a7378++){const _0x4a4851=await _0x548c22[_0x5a7378];if(!_0x4a4851?.[_0x559f24(0x11d)]||_0x17a04e['suqJS'](_0x4a4851?.[_0x559f24(0xdc)],0x0)||!_0x4a4851?.[_0x559f24(0x125)])continue;for(const _0x3e47b1 in _0x4a4851[_0x559f24(0x125)]){_0x6cab4[_0x559f24(0xc0)](_0x4a4851[_0x559f24(0x125)][_0x3e47b1]);}}WebGroupData[_0x559f24(0xf9)][_0x559f24(0xfa)](_0x2386fb,_0x6cab4),WebGroupData[_0x559f24(0xfe)][_0x559f24(0xfa)](_0x2386fb,Date[_0x559f24(0xa0)]());}else _0x6cab4=_0x52d53f;}catch{return _0x6cab4;}return _0x6cab4;}static async[_0x38035b(0x126)](_0x38f25c,_0x4873ff=''){const _0x3adabe=_0x38035b,_0x4fa9e2={'vqvis':_0x3adabe(0x11f),'UTGKL':function(_0xd50b1a,_0x35b5bb){return _0xd50b1a+_0x35b5bb;},'XcCyP':function(_0x5784c8,_0x51d8b6){return _0x5784c8+_0x51d8b6;},'dBvYU':function(_0xd45984,_0x40eb92){return _0xd45984+_0x40eb92;},'XltAk':function(_0x3c9772,_0x555e55){return _0x3c9772+_0x555e55;},'cSfMF':function(_0x275228,_0x30a696){return _0x275228+_0x30a696;},'BklHm':_0x3adabe(0xb0),'KUtTL':_0x3adabe(0xe1),'lDSji':_0x3adabe(0xb8),'iUlmF':function(_0x30dba2,_0x1d1d49){return _0x30dba2||_0x1d1d49;},'QYqUF':function(_0x17aac4,_0x263691){return _0x17aac4+_0x263691;},'NYeAn':function(_0x68587e,_0x5b4100){return _0x68587e+_0x5b4100;},'NzRws':_0x3adabe(0x107),'ROoSa':'&bkn=','LqNoB':_0x3adabe(0xf6),'okWFX':function(_0x1a0259,_0x4bced6){return _0x1a0259+_0x4bced6;},'ZsfDf':_0x3adabe(0x9f),'qcuDU':_0x3adabe(0xdd)},_0x14bbd1=(await NTQQUserApi[_0x3adabe(0x10a)]([_0x4fa9e2[_0x3adabe(0xcc)]]))[_0x4fa9e2[_0x3adabe(0xcc)]],_0x2e70e6=await NTQQUserApi[_0x3adabe(0xeb)](),_0x5c07ce=_0x4fa9e2[_0x3adabe(0x8b)](_0x4fa9e2[_0x3adabe(0xa8)](_0x4fa9e2['dBvYU'](_0x4fa9e2[_0x3adabe(0xea)](_0x4fa9e2['cSfMF'](_0x4fa9e2[_0x3adabe(0xcd)],_0x14bbd1),_0x4fa9e2[_0x3adabe(0xbe)]),_0x2e70e6),_0x4fa9e2[_0x3adabe(0x122)]),selfInfo[_0x3adabe(0xa7)]);let _0x2007d0=undefined;if(_0x4fa9e2['iUlmF'](!_0x2e70e6,!_0x14bbd1))return undefined;const _0x489ab6=WebApi[_0x3adabe(0x9a)](_0x2e70e6),_0x11b171=_0x4fa9e2[_0x3adabe(0xb4)](_0x4fa9e2['QYqUF'](_0x4fa9e2[_0x3adabe(0xcf)](_0x4fa9e2['NzRws']+_0x38f25c,_0x4fa9e2[_0x3adabe(0x11a)]),_0x489ab6)+_0x4fa9e2[_0x3adabe(0xa1)],_0x4873ff)+_0x3adabe(0x121),_0x20d5ba=_0x4fa9e2['okWFX'](_0x4fa9e2[_0x3adabe(0x11c)],_0x489ab6);try{return _0x2007d0=await RequestUtil[_0x3adabe(0xce)](_0x20d5ba,_0x4fa9e2[_0x3adabe(0xf1)],'',{'Cookie':_0x5c07ce}),_0x2007d0;}catch(_0x19a2e9){return undefined;}return undefined;}static async['getGrouptNotice'](_0x2c83fa){const _0x5f443b=_0x38035b,_0x15a3e9={'fchfX':_0x5f443b(0x11f),'eWKtv':function(_0xae0720,_0x29858f){return _0xae0720+_0x29858f;},'tLZhT':';\x20skey=','kbous':_0x5f443b(0xb8),'hckvn':function(_0x4c17d4,_0x55b742){return _0x4c17d4||_0x55b742;},'TJKAj':function(_0x2f23d7,_0x5e4764){return _0x2f23d7+_0x5e4764;},'FBNxs':_0x5f443b(0xf2),'QAzdC':_0x5f443b(0x119),'KiKJI':_0x5f443b(0x11e),'mLdJl':function(_0x82d113,_0x4e855c){return _0x82d113!==_0x4e855c;}},_0x569b0a=(await NTQQUserApi[_0x5f443b(0x10a)]([_0x15a3e9['fchfX']]))[_0x15a3e9[_0x5f443b(0xe7)]],_0x28d802=await NTQQUserApi[_0x5f443b(0xeb)](),_0x35281f=_0x15a3e9[_0x5f443b(0xdb)](_0x5f443b(0xb0),_0x569b0a)+_0x15a3e9[_0x5f443b(0xcb)]+_0x28d802+_0x15a3e9[_0x5f443b(0x89)]+selfInfo[_0x5f443b(0xa7)];let _0x3ab783=undefined;if(_0x15a3e9[_0x5f443b(0xf4)](!_0x28d802,!_0x569b0a))return undefined;const _0x2cc983=WebApi[_0x5f443b(0x9a)](_0x28d802),_0x326322=_0x15a3e9['TJKAj'](_0x15a3e9[_0x5f443b(0xdb)](_0x15a3e9[_0x5f443b(0xc7)](_0x15a3e9[_0x5f443b(0xd1)]+_0x2cc983,_0x15a3e9[_0x5f443b(0x104)]),_0x2c83fa),_0x15a3e9[_0x5f443b(0x86)]);try{_0x3ab783=await RequestUtil[_0x5f443b(0xce)](_0x326322,_0x5f443b(0xdd),'',{'Cookie':_0x35281f});if(_0x15a3e9[_0x5f443b(0xef)](_0x3ab783?.['ec'],0x0))return undefined;return _0x3ab783;}catch(_0x566e27){return undefined;}return undefined;}static[_0x38035b(0x9a)](_0x6e0e9a){const _0x3a65e3=_0x38035b,_0x24abe1={'HjZZI':function(_0x11e4fb,_0x35c512){return _0x11e4fb||_0x35c512;},'MyiRr':function(_0x1de028,_0x4acaa9){return _0x1de028+_0x4acaa9;},'HyyjV':function(_0x4202df,_0x62156){return _0x4202df+_0x62156;},'xaqQk':function(_0x10714d,_0x444524){return _0x10714d<<_0x444524;},'OXXMB':function(_0x16e86b,_0x704eb7){return _0x16e86b&_0x704eb7;}};_0x6e0e9a=_0x24abe1[_0x3a65e3(0x117)](_0x6e0e9a,'');let _0x398b61=0x1505;for(let _0x526a4a=0x0;_0x526a4a<_0x6e0e9a[_0x3a65e3(0x114)];_0x526a4a++){const _0x110656=_0x6e0e9a[_0x3a65e3(0xed)](_0x526a4a);_0x398b61=_0x24abe1['MyiRr'](_0x24abe1[_0x3a65e3(0xb1)](_0x398b61,_0x24abe1[_0x3a65e3(0xca)](_0x398b61,0x5)),_0x110656);}return _0x24abe1['OXXMB'](_0x398b61,0x7fffffff)[_0x3a65e3(0x83)]();}static async[_0x38035b(0xd2)](_0x58b3f0,_0x13b8dc){const _0x400b6d=_0x38035b,_0x5e2ed3={'JlvzA':function(_0x1777af,_0x553576){return _0x1777af+_0x553576;},'YHmiI':function(_0x3dba98,_0x550d69){return _0x3dba98+_0x550d69;},'sbCBI':function(_0x1ca842,_0x319a25){return _0x1ca842+_0x319a25;},'cyKlS':_0x400b6d(0x98),'YogxW':function(_0x307223,_0x4380f9){return _0x307223===_0x4380f9;},'bzsOz':function(_0x27d0b5,_0xb486ed,_0x2bdc28,_0x209e7b){return _0x27d0b5(_0xb486ed,_0x2bdc28,_0x209e7b);},'ZukvK':_0x400b6d(0x110),'PsUxz':'qun.qq.com','iVNIg':function(_0x33804c,_0x2b4233){return _0x33804c+_0x2b4233;},'wZszj':function(_0x22fd38,_0x5ca6d8){return _0x22fd38+_0x5ca6d8;},'lTDbm':function(_0x4d296a,_0xedcd31){return _0x4d296a+_0xedcd31;},'GqzJo':function(_0x5569a2,_0x394420){return _0x5569a2+_0x394420;},'RwSxN':_0x400b6d(0xb0),'Iurtq':_0x400b6d(0xe1),'dDKbb':';\x20p_uin=o','QiYQv':_0x400b6d(0x10b),'AaAvE':function(_0x4f95ed,_0x33b86){return _0x4f95ed===_0x33b86;},'JgDcl':function(_0x5da07a,_0x148318,_0x128e84){return _0x5da07a(_0x148318,_0x128e84);},'VxGUR':function(_0x54bc13,_0x4690cd){return _0x54bc13(_0x4690cd);},'PDhpk':function(_0x1c73aa,_0x495fd8,_0x492710){return _0x1c73aa(_0x495fd8,_0x492710);},'VPnYH':'获取群聊之火失败','aFfMh':function(_0x8d7874,_0x1ba15a){return _0x8d7874(_0x1ba15a);},'SuiXK':function(_0x4a633c,_0x3d08d9){return _0x4a633c===_0x3d08d9;},'dkPVS':function(_0x9299e,_0x4a7ed0,_0x23c21d){return _0x9299e(_0x4a7ed0,_0x23c21d);},'qaBwC':_0x400b6d(0x124),'FFAmT':function(_0x18e55f,_0x590ad1,_0x147356){return _0x18e55f(_0x590ad1,_0x147356);},'CUOWz':_0x400b6d(0x94),'AjCsz':function(_0x38d55e,_0x5ab3a5){return _0x38d55e===_0x5ab3a5;}},_0x2f047b=(await NTQQUserApi[_0x400b6d(0x10a)]([_0x400b6d(0x11f)]))[_0x5e2ed3[_0x400b6d(0x7f)]],_0xe87b2c=await NTQQUserApi['getSkey']();if(!_0xe87b2c||!_0x2f047b)return undefined;async function _0x1c7c6e(_0x3ae3b2,_0x3eb53e){const _0x30eea1=_0x400b6d;let _0x2b91d9=_0x5e2ed3[_0x30eea1(0xa9)](_0x5e2ed3[_0x30eea1(0x109)](_0x5e2ed3['sbCBI'](_0x5e2ed3['cyKlS'],_0x3ae3b2),_0x30eea1(0xe2)),_0x3eb53e['toString']()),_0x2f6191='',_0x510e1e;try{_0x2f6191=await RequestUtil[_0x30eea1(0xc4)](_0x2b91d9,'GET','',{'Cookie':_0x2fde47});const _0x188bdb=_0x2f6191[_0x30eea1(0xb7)](/window\.__INITIAL_STATE__=(.*?);/);return _0x188bdb&&(_0x510e1e=JSON[_0x30eea1(0x106)](_0x188bdb[0x1]['trim']())),_0x5e2ed3[_0x30eea1(0xd4)](_0x3eb53e,0x1)?_0x510e1e?.[_0x30eea1(0xee)]:_0x510e1e?.[_0x30eea1(0xd3)];}catch(_0x393408){_0x5e2ed3['bzsOz'](logDebug,_0x5e2ed3[_0x30eea1(0xec)],_0x2b91d9,_0x393408);}return undefined;}let _0xce5f0a={'group_id':_0x58b3f0};const _0x2fde47=_0x5e2ed3[_0x400b6d(0x120)](_0x5e2ed3['wZszj'](_0x5e2ed3[_0x400b6d(0x8f)](_0x5e2ed3['JlvzA'](_0x5e2ed3[_0x400b6d(0x109)](_0x5e2ed3['lTDbm'](_0x5e2ed3[_0x400b6d(0x9c)](_0x5e2ed3['RwSxN'],_0x2f047b),_0x5e2ed3[_0x400b6d(0x10f)]),_0xe87b2c),_0x5e2ed3[_0x400b6d(0x96)]),selfInfo[_0x400b6d(0xa7)]),_0x5e2ed3['QiYQv']),selfInfo[_0x400b6d(0xa7)]);if(_0x13b8dc===WebHonorType[_0x400b6d(0x87)]||_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType['ALL']))try{let _0x541592=await _0x5e2ed3[_0x400b6d(0x9d)](_0x1c7c6e,_0x58b3f0,0x1);if(!_0x541592)throw new Error(_0x400b6d(0x92));_0xce5f0a[_0x400b6d(0x8c)]={'user_id':_0x541592[0x0]?.['uin'],'avatar':_0x541592[0x0]?.[_0x400b6d(0x84)],'nickname':_0x541592[0x0]?.[_0x400b6d(0xb2)],'day_count':0x0,'description':_0x541592[0x0]?.[_0x400b6d(0xba)]},_0xce5f0a[_0x400b6d(0x95)]=[];for(const _0x916bf of _0x541592){_0xce5f0a['talkative_list'][_0x400b6d(0xc0)]({'user_id':_0x916bf?.[_0x400b6d(0xa7)],'avatar':_0x916bf?.[_0x400b6d(0x84)],'description':_0x916bf?.[_0x400b6d(0xba)],'day_count':0x0,'nickname':_0x916bf?.['name']});}}catch(_0x1ac32f){_0x5e2ed3[_0x400b6d(0x10d)](logDebug,_0x1ac32f);}if(_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType[_0x400b6d(0xbb)])||_0x13b8dc===WebHonorType['ALL'])try{let _0x3f2c4e=await _0x5e2ed3[_0x400b6d(0x102)](_0x1c7c6e,_0x58b3f0,0x2);if(!_0x3f2c4e)throw new Error(_0x5e2ed3[_0x400b6d(0xe0)]);_0xce5f0a[_0x400b6d(0xd9)]=[];for(const _0x1d8c8c of _0x3f2c4e){_0xce5f0a[_0x400b6d(0xd9)][_0x400b6d(0xc0)]({'user_id':_0x1d8c8c?.['uin'],'nickname':_0x1d8c8c?.[_0x400b6d(0xb2)],'avatar':_0x1d8c8c?.[_0x400b6d(0x84)],'description':_0x1d8c8c?.[_0x400b6d(0xba)]});}}catch(_0x1e0af9){_0x5e2ed3['aFfMh'](logDebug,_0x1e0af9);}if(_0x5e2ed3[_0x400b6d(0xc6)](_0x13b8dc,WebHonorType['PERFROMER'])||_0x13b8dc===WebHonorType['ALL'])try{let _0x1ed84b=await _0x5e2ed3[_0x400b6d(0xf5)](_0x1c7c6e,_0x58b3f0,0x3);if(!_0x1ed84b)throw new Error(_0x5e2ed3[_0x400b6d(0xe4)]);_0xce5f0a[_0x400b6d(0xd7)]=[];for(const _0x378617 of _0x1ed84b){_0xce5f0a[_0x400b6d(0xd7)][_0x400b6d(0xc0)]({'user_id':_0x378617?.[_0x400b6d(0xa7)],'nickname':_0x378617?.['name'],'avatar':_0x378617?.[_0x400b6d(0x84)],'desc':_0x378617?.[_0x400b6d(0x81)]});}}catch(_0x98e6e2){_0x5e2ed3[_0x400b6d(0xf5)](logDebug,_0x5e2ed3[_0x400b6d(0xe4)],_0x98e6e2);}if(_0x5e2ed3[_0x400b6d(0x127)](_0x13b8dc,WebHonorType[_0x400b6d(0x108)])||_0x13b8dc===WebHonorType[_0x400b6d(0xf0)])try{let _0x48048e=await _0x5e2ed3[_0x400b6d(0xe5)](_0x1c7c6e,_0x58b3f0,0x6);if(!_0x48048e)throw new Error(_0x5e2ed3[_0x400b6d(0x10e)]);_0xce5f0a[_0x400b6d(0xac)]=[];for(const _0x4a0158 of _0x48048e){_0xce5f0a['emotion_list'][_0x400b6d(0xc0)]({'user_id':_0x4a0158?.[_0x400b6d(0xa7)],'nickname':_0x4a0158?.[_0x400b6d(0xb2)],'avatar':_0x4a0158?.[_0x400b6d(0x84)],'desc':_0x4a0158?.['description']});}}catch(_0x34a408){_0x5e2ed3[_0x400b6d(0x102)](logDebug,_0x5e2ed3[_0x400b6d(0x10e)],_0x34a408);}return(_0x5e2ed3[_0x400b6d(0x111)](_0x13b8dc,WebHonorType[_0x400b6d(0x108)])||_0x5e2ed3[_0x400b6d(0x111)](_0x13b8dc,WebHonorType[_0x400b6d(0xf0)]))&&(_0xce5f0a[_0x400b6d(0x100)]=[]),_0xce5f0a;}}function _0x145c(){const _0xa8c300=['BJnGA','HjZZI','Heudk','&qid=','ROoSa','36BmQUry','ZsfDf','count','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','qun.qq.com','iVNIg','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','lDSji','ziOOj','获取群聊炽焰失败','mems','setGroupNotice','AaAvE','PsUxz','1092110cyfIPj','description','DJIUY','toString','avatar','RAAMK','KiKJI','TALKACTIVE','dvHyA','kbous','talkative','UTGKL','current_talkative','getGroupMembers','Zcxed','sbCBI','performer','LEGEND','获取龙王信息失败','246127vRBqUr','获取快乐源泉失败','talkative_list','dDKbb','ceil','https://qun.qq.com/interactive/honorlist?gc=','aFcPL','genBkn','all','GqzJo','JgDcl','getGroupEssenceMsg','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','now','LqNoB','&sort=1&gc=','&bkn=','OIVTp','Vsgrc','&group_code=','uin','XcCyP','JlvzA','643460ZJuMSj','get','emotion_list','ssFtm','tzFNc','ecquJ','p_skey=','HyyjV','name','5|2|0|4|1|3','cSfMF','JCRiu','wmxKj','match',';\x20p_uin=o','XSeMh','desc','PERFROMER','4ykRoXV','ATsVH','KUtTL','RIaar','push','RyRox','MFUkO','strong_newbie','HttpGetText','mmTJu','SuiXK','TJKAj','STZHj','60573fzCHNa','xaqQk','tLZhT','vqvis','BklHm','HttpGetJson','NYeAn','hqwfM','FBNxs','getGroupHonorInfo','actorList','YogxW','xHHiP','CWrUq','legend_list','2648056mHPeZS','performer_list','1246069euKxiA','eWKtv','errcode','GET','PnzQV','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','VPnYH',';\x20skey=','&type=','xgnLF','qaBwC','FFAmT','&end=','fchfX','NkrTc','6pSjwKb','XltAk','getSkey','ZukvK','charCodeAt','talkativeList','mLdJl','ALL','qcuDU','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','QsXPQ','hckvn','dkPVS','&text=','POST','9pcdDNI','GroupData','set','STORONGE_NEWBI','hPiyf','retcode','GroupTime','cCjdQ','strong_newbie_list','muQmP','PDhpk','204208agGJLF','QAzdC','36DAWUtW','parse','qid=','EMOTION','YHmiI','getPSkey',';\x20uin=o','IZTIP','VxGUR','CUOWz','Iurtq','获取当前群荣耀失败','AjCsz','&page_start=','igkID','length','pFgdW'];_0x145c=function(){return _0xa8c300;};return _0x145c();} \ No newline at end of file +const _0x4808c2=_0x945a;(function(_0x48bc69,_0x243d12){const _0x224267=_0x945a,_0x1a0785=_0x48bc69();while(!![]){try{const _0x2cc1c4=parseInt(_0x224267(0xa2))/0x1*(parseInt(_0x224267(0x118))/0x2)+parseInt(_0x224267(0xd1))/0x3+-parseInt(_0x224267(0xd4))/0x4+-parseInt(_0x224267(0x102))/0x5*(parseInt(_0x224267(0xad))/0x6)+-parseInt(_0x224267(0x92))/0x7*(parseInt(_0x224267(0x8f))/0x8)+-parseInt(_0x224267(0xf6))/0x9*(parseInt(_0x224267(0xf2))/0xa)+parseInt(_0x224267(0xc1))/0xb;if(_0x2cc1c4===_0x243d12)break;else _0x1a0785['push'](_0x1a0785['shift']());}catch(_0x3329b2){_0x1a0785['push'](_0x1a0785['shift']());}}}(_0x1c49,0x4f4b1));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x945a(_0x232433,_0x5dd4de){const _0x1c494c=_0x1c49();return _0x945a=function(_0x945a3,_0x510d61){_0x945a3=_0x945a3-0x8f;let _0x48cc61=_0x1c494c[_0x945a3];return _0x48cc61;},_0x945a(_0x232433,_0x5dd4de);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x48d2d2){const _0x4e04fd=_0x945a,_0x1815f1={'urpwb':'5|4|1|3|0|2','BYBQZ':'STORONGE_NEWBI','fCHYA':_0x4e04fd(0x10d),'SfXOg':'PERFROMER','IHLsh':_0x4e04fd(0xe0),'kTzrL':_0x4e04fd(0xd0),'YoLqK':'emotion','TmznL':_0x4e04fd(0xf3),'TKGvq':_0x4e04fd(0xdb),'GsmcW':_0x4e04fd(0xfa),'joGDI':_0x4e04fd(0x9b),'aQkca':'ALL'},_0x170c98=_0x1815f1[_0x4e04fd(0x120)][_0x4e04fd(0x11a)]('|');let _0x2cc9f3=0x0;while(!![]){switch(_0x170c98[_0x2cc9f3++]){case'0':_0x48d2d2[_0x1815f1['BYBQZ']]=_0x1815f1[_0x4e04fd(0x104)];continue;case'1':_0x48d2d2[_0x1815f1['SfXOg']]=_0x1815f1['IHLsh'];continue;case'2':_0x48d2d2[_0x1815f1[_0x4e04fd(0xbb)]]=_0x1815f1[_0x4e04fd(0xd9)];continue;case'3':_0x48d2d2[_0x1815f1[_0x4e04fd(0x107)]]=_0x1815f1[_0x4e04fd(0xa7)];continue;case'4':_0x48d2d2[_0x1815f1[_0x4e04fd(0xb3)]]=_0x1815f1[_0x4e04fd(0xdf)];continue;case'5':_0x48d2d2[_0x1815f1[_0x4e04fd(0x9c)]]='all';continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x4971d0,_0x56ec60){const _0x5a2f98=_0x945a,_0x3d2d6c={'TJPNc':_0x5a2f98(0xee),'clyoQ':function(_0x348b9d,_0x29ce57){return _0x348b9d+_0x29ce57;},'prPej':function(_0x56b3e7,_0x4ffbb1){return _0x56b3e7+_0x4ffbb1;},'ikAOe':function(_0x184862,_0x51b56f){return _0x184862+_0x51b56f;},'ijoJb':function(_0x206866,_0x55748c){return _0x206866+_0x55748c;},'exkST':function(_0x6a255d,_0x2a373b){return _0x6a255d+_0x2a373b;},'TpkrS':function(_0x38fecc,_0x4cf1fe){return _0x38fecc+_0x4cf1fe;},'IFwWL':'p_skey=','HeAAr':_0x5a2f98(0x101),'MgdkC':_0x5a2f98(0xd6),'IeoAt':function(_0x1937b4,_0x4925cb){return _0x1937b4||_0x4925cb;},'ytauH':function(_0x1ef3d9,_0x2b6c63){return _0x1ef3d9+_0x2b6c63;},'GKbza':_0x5a2f98(0x105),'BIGrC':_0x5a2f98(0xb0),'uEnei':_0x5a2f98(0x94),'Pztjx':'&page_limit=20','EcztQ':_0x5a2f98(0x91),'KbnxK':function(_0x20218b,_0x37b2c5){return _0x20218b!==_0x37b2c5;}},_0x1ad728=(await NTQQUserApi['getPSkey']([_0x5a2f98(0xee)]))[_0x3d2d6c['TJPNc']],_0x21beeb=await NTQQUserApi[_0x5a2f98(0xc5)](),_0x424902=_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xab)](_0x3d2d6c['ikAOe'](_0x3d2d6c[_0x5a2f98(0xff)](_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xb4)](_0x3d2d6c[_0x5a2f98(0xae)](_0x3d2d6c['IFwWL'],_0x1ad728),_0x3d2d6c['HeAAr']),_0x21beeb),_0x5a2f98(0xcd)),selfInfo[_0x5a2f98(0xcb)]),_0x3d2d6c['MgdkC']),selfInfo[_0x5a2f98(0xcb)]);if(_0x3d2d6c[_0x5a2f98(0x10b)](!_0x21beeb,!_0x1ad728))return undefined;const _0x7c72d5=WebApi['genBkn'](_0x21beeb),_0x235cda=_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0xf5)](_0x3d2d6c[_0x5a2f98(0xc4)],_0x7c72d5),_0x3d2d6c[_0x5a2f98(0xca)])+_0x4971d0,_0x3d2d6c['uEnei'])+_0x56ec60+_0x3d2d6c[_0x5a2f98(0x125)];let _0x743801;try{_0x743801=await RequestUtil['HttpGetJson'](_0x235cda,_0x3d2d6c[_0x5a2f98(0xfb)],'',{'Cookie':_0x424902});}catch{return undefined;}if(_0x3d2d6c[_0x5a2f98(0x100)](_0x743801[_0x5a2f98(0x109)],0x0))return undefined;return _0x743801;}static async['getGroupMembers'](_0x4cc758,_0x49dda2=!![]){const _0x8480d=_0x945a,_0x1fa756={'zDTpG':function(_0x30987e,_0xda0801){return _0x30987e-_0xda0801;},'JWBGE':_0x8480d(0xee),'FVjTS':function(_0x1ff226,_0x5a45cb){return _0x1ff226+_0x5a45cb;},'mrnsD':function(_0xadefbd,_0x22c919){return _0xadefbd+_0x22c919;},'CrORT':function(_0x25b618,_0x495e29){return _0x25b618+_0x495e29;},'hPhrA':function(_0xf6b5cf,_0x5d049a){return _0xf6b5cf+_0x5d049a;},'BtNti':_0x8480d(0xcd),'Tdaef':function(_0x13c48a,_0x26dd8d){return _0x13c48a||_0x26dd8d;},'JCcvy':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ECAzT':'&bkn=','vbJVb':_0x8480d(0xaa),'KKhbH':function(_0x5b5d93,_0x4c8595){return _0x5b5d93!==_0x4c8595;},'EtcCl':function(_0x52190c,_0x4c2938){return _0x52190c<=_0x4c2938;},'wJjvq':function(_0x4ed0c0,_0x2ad316){return _0x4ed0c0+_0x2ad316;},'NTIMu':function(_0x1ce93f,_0x509c0f){return _0x1ce93f+_0x509c0f;},'oTwpX':function(_0x5efa48,_0x50c4fd){return _0x5efa48+_0x50c4fd;},'tJXvJ':_0x8480d(0xb8),'Lzdfj':function(_0x4c753e,_0x23fdb8){return _0x4c753e*_0x23fdb8;},'UiaYd':function(_0x126ef3,_0x3adf7f){return _0x126ef3<=_0x3adf7f;},'BWrqF':function(_0x249d7f,_0x1aa2d5){return _0x249d7f!==_0x1aa2d5;}};let _0x139a62=new Array();try{let _0x523d19=WebGroupData[_0x8480d(0x117)][_0x8480d(0xc2)](_0x4cc758),_0x3f952f=WebGroupData[_0x8480d(0x112)][_0x8480d(0xc2)](_0x4cc758);if(!_0x3f952f||_0x1fa756['zDTpG'](Date[_0x8480d(0xb9)](),_0x3f952f)>0x708*0x3e8||!_0x49dda2){const _0x1dd8e0=(await NTQQUserApi['getPSkey']([_0x1fa756[_0x8480d(0xa4)]]))[_0x1fa756[_0x8480d(0xa4)]],_0x5c7643=await NTQQUserApi['getSkey'](),_0x2f2808=_0x1fa756['FVjTS'](_0x1fa756['mrnsD'](_0x1fa756[_0x8480d(0xd8)](_0x1fa756[_0x8480d(0xb5)](_0x8480d(0xb6)+_0x1dd8e0,_0x8480d(0x101)),_0x5c7643),_0x1fa756[_0x8480d(0x115)]),selfInfo[_0x8480d(0xcb)]);if(_0x1fa756[_0x8480d(0xfc)](!_0x5c7643,!_0x1dd8e0))return _0x139a62;const _0x25e82f=WebApi[_0x8480d(0xce)](_0x5c7643),_0x2d91f0=[],_0x43dfeb=await RequestUtil[_0x8480d(0xc9)](_0x1fa756[_0x8480d(0xb1)](_0x1fa756[_0x8480d(0xd8)](_0x1fa756[_0x8480d(0x122)](_0x1fa756[_0x8480d(0xf8)],_0x4cc758),_0x1fa756[_0x8480d(0xc6)]),_0x25e82f),_0x1fa756[_0x8480d(0xf9)],'',{'Cookie':_0x2f2808});if(!_0x43dfeb?.[_0x8480d(0x111)]||_0x1fa756[_0x8480d(0xba)](_0x43dfeb?.[_0x8480d(0x11c)],0x0)||!_0x43dfeb?.['mems'])return[];else for(const _0x5540bd in _0x43dfeb[_0x8480d(0xb2)]){_0x139a62[_0x8480d(0xe4)](_0x43dfeb[_0x8480d(0xb2)][_0x5540bd]);}const _0x5c1e9e=Math[_0x8480d(0xfe)](_0x43dfeb[_0x8480d(0x111)]/0x28);for(let _0x49b3bc=0x2;_0x1fa756[_0x8480d(0xc3)](_0x49b3bc,_0x5c1e9e);_0x49b3bc++){const _0x19116b=RequestUtil['HttpGetJson'](_0x1fa756[_0x8480d(0xe6)](_0x1fa756['NTIMu'](_0x1fa756[_0x8480d(0x11f)](_0x1fa756[_0x8480d(0xa6)],(_0x49b3bc-0x1)*0x28)+_0x8480d(0xe1)+_0x1fa756[_0x8480d(0x128)](_0x49b3bc,0x28)+'&sort=1&gc=',_0x4cc758)+_0x1fa756[_0x8480d(0xc6)],_0x25e82f),_0x1fa756['vbJVb'],'',{'Cookie':_0x2f2808});_0x2d91f0[_0x8480d(0xe4)](_0x19116b);}for(let _0x4d03cc=0x1;_0x1fa756[_0x8480d(0xc0)](_0x4d03cc,_0x5c1e9e);_0x4d03cc++){const _0x1e2581=await _0x2d91f0[_0x4d03cc];if(!_0x1e2581?.[_0x8480d(0x111)]||_0x1fa756[_0x8480d(0x97)](_0x1e2581?.['errcode'],0x0)||!_0x1e2581?.[_0x8480d(0xb2)])continue;for(const _0x2bffb7 in _0x1e2581[_0x8480d(0xb2)]){_0x139a62[_0x8480d(0xe4)](_0x1e2581['mems'][_0x2bffb7]);}}WebGroupData[_0x8480d(0x117)]['set'](_0x4cc758,_0x139a62),WebGroupData['GroupTime'][_0x8480d(0xec)](_0x4cc758,Date[_0x8480d(0xb9)]());}else _0x139a62=_0x523d19;}catch{return _0x139a62;}return _0x139a62;}static async['setGroupNotice'](_0x16165f,_0x102377=''){const _0x5de08d=_0x945a,_0x407e8a={'IQSAh':'qun.qq.com','eZtpv':function(_0xb272a0,_0x21560e){return _0xb272a0+_0x21560e;},'jiNSG':';\x20skey=','EQxBC':_0x5de08d(0xcd),'rbsTU':function(_0x473b4c,_0x1aa2bd){return _0x473b4c||_0x1aa2bd;},'Kmbor':function(_0x1b7f80,_0x62d04f){return _0x1b7f80+_0x62d04f;},'lOHtZ':function(_0x4b0f9d,_0x1df6e1){return _0x4b0f9d+_0x1df6e1;},'teWfb':'&bkn=','bkxob':_0x5de08d(0x11e),'pwBti':'&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','oVOMK':_0x5de08d(0x91)},_0x4542d3=(await NTQQUserApi[_0x5de08d(0xa3)]([_0x5de08d(0xee)]))[_0x407e8a[_0x5de08d(0xbf)]],_0x3be847=await NTQQUserApi[_0x5de08d(0xc5)](),_0xaee68c=_0x407e8a[_0x5de08d(0x96)](_0x407e8a[_0x5de08d(0x96)](_0x5de08d(0xb6)+_0x4542d3,_0x407e8a[_0x5de08d(0x126)])+_0x3be847,_0x407e8a[_0x5de08d(0x119)])+selfInfo['uin'];let _0x585a54=undefined;if(_0x407e8a['rbsTU'](!_0x3be847,!_0x4542d3))return undefined;const _0x8c4458=WebApi[_0x5de08d(0xce)](_0x3be847),_0x2fc1ff=_0x407e8a['Kmbor'](_0x407e8a[_0x5de08d(0xa0)](_0x407e8a[_0x5de08d(0x96)](_0x407e8a[_0x5de08d(0x103)](_0x407e8a[_0x5de08d(0x103)]('qid='+_0x16165f,_0x407e8a[_0x5de08d(0x113)]),_0x8c4458),_0x407e8a['bkxob']),_0x102377),_0x407e8a['pwBti']),_0x509095=_0x5de08d(0x123)+_0x8c4458;try{return _0x585a54=await RequestUtil[_0x5de08d(0xc9)](_0x509095,_0x407e8a[_0x5de08d(0x129)],'',{'Cookie':_0xaee68c}),_0x585a54;}catch(_0x26a830){return undefined;}return undefined;}static async['getGrouptNotice'](_0xf953fc){const _0x3755d1=_0x945a,_0x14ebbb={'CyZMB':_0x3755d1(0xee),'rBxMm':function(_0x49ac50,_0x10d7d8){return _0x49ac50+_0x10d7d8;},'FScAa':_0x3755d1(0xb6),'ZPdGR':_0x3755d1(0x101),'ySbZu':';\x20p_uin=o','aXbNg':function(_0x4b7904,_0x2759ee){return _0x4b7904+_0x2759ee;},'BPZBM':function(_0x224a72,_0x3f9907){return _0x224a72+_0x3f9907;},'SOeds':function(_0x3884cf,_0x349f7c){return _0x3884cf+_0x349f7c;},'YJapQ':_0x3755d1(0xdd),'WtgDu':_0x3755d1(0x91)},_0x49d68d=(await NTQQUserApi['getPSkey']([_0x14ebbb[_0x3755d1(0xac)]]))[_0x14ebbb[_0x3755d1(0xac)]],_0x37d9ae=await NTQQUserApi[_0x3755d1(0xc5)](),_0x39950c=_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb['rBxMm'](_0x14ebbb[_0x3755d1(0xf7)](_0x14ebbb[_0x3755d1(0xa5)]+_0x49d68d,_0x14ebbb[_0x3755d1(0xa1)]),_0x37d9ae),_0x14ebbb[_0x3755d1(0x121)]),selfInfo[_0x3755d1(0xcb)]);let _0x586754=undefined;if(!_0x37d9ae||!_0x49d68d)return undefined;const _0x272c4c=WebApi['genBkn'](_0x37d9ae),_0x206a69=_0x14ebbb[_0x3755d1(0xaf)](_0x14ebbb[_0x3755d1(0xe7)](_0x14ebbb[_0x3755d1(0x95)](_0x14ebbb['YJapQ'],_0x272c4c),_0x3755d1(0xef)),_0xf953fc)+'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20';try{_0x586754=await RequestUtil['HttpGetJson'](_0x206a69,_0x14ebbb[_0x3755d1(0xde)],'',{'Cookie':_0x39950c});if(_0x586754?.['ec']!==0x0)return undefined;return _0x586754;}catch(_0x281d03){return undefined;}return undefined;}static['genBkn'](_0x1fde09){const _0x15f42a=_0x945a,_0x40e105={'hMpWl':function(_0x981cbd,_0x526833){return _0x981cbd<_0x526833;},'nnkHr':function(_0x1ec1d5,_0x1d3839){return _0x1ec1d5&_0x1d3839;}};_0x1fde09=_0x1fde09||'';let _0x3cc19f=0x1505;for(let _0x321024=0x0;_0x40e105[_0x15f42a(0xa9)](_0x321024,_0x1fde09[_0x15f42a(0xea)]);_0x321024++){const _0x370e37=_0x1fde09[_0x15f42a(0xb7)](_0x321024);_0x3cc19f=_0x3cc19f+(_0x3cc19f<<0x5)+_0x370e37;}return _0x40e105['nnkHr'](_0x3cc19f,0x7fffffff)[_0x15f42a(0x9e)]();}static async[_0x4808c2(0x10c)](_0xac8612,_0x29b117){const _0x1b06d2=_0x4808c2,_0x190550={'dNuvd':function(_0x2ce193,_0x10eeab){return _0x2ce193+_0x10eeab;},'yiqfW':_0x1b06d2(0xeb),'usMQY':_0x1b06d2(0x98),'xrKRZ':'GET','UdLdr':function(_0x116961,_0x58b7a4){return _0x116961===_0x58b7a4;},'jMByc':function(_0x3649b1,_0x51f744,_0x4f2b01,_0x2c31b7){return _0x3649b1(_0x51f744,_0x4f2b01,_0x2c31b7);},'DvbrJ':_0x1b06d2(0xc8),'kGCaH':_0x1b06d2(0xee),'HAKfr':function(_0x52d97e,_0x97da1e){return _0x52d97e||_0x97da1e;},'LKpHv':function(_0x25752c,_0x143d8e){return _0x25752c+_0x143d8e;},'vGHCo':function(_0x35fe83,_0x2c72ea){return _0x35fe83+_0x2c72ea;},'JuShd':_0x1b06d2(0xb6),'CYTpt':_0x1b06d2(0x101),'tBjZs':_0x1b06d2(0xcd),'wHCoF':_0x1b06d2(0xd6),'GhuDs':function(_0x196142,_0x2d1fe2){return _0x196142===_0x2d1fe2;},'FLnwt':function(_0x1e3908,_0x1928d9,_0x491bf9){return _0x1e3908(_0x1928d9,_0x491bf9);},'ufGMA':_0x1b06d2(0x99),'jEiaw':function(_0x3e67e4,_0x3a2ea2){return _0x3e67e4(_0x3a2ea2);},'mgbKj':function(_0x409aa5,_0x3710f1){return _0x409aa5===_0x3710f1;},'ScWiA':'获取群聊之火失败','AlXdP':function(_0x29d7e2,_0x218776){return _0x29d7e2===_0x218776;},'WVFcP':_0x1b06d2(0xf4),'MXNkW':function(_0x4266cc,_0x28dc7f,_0x52f2bc){return _0x4266cc(_0x28dc7f,_0x52f2bc);},'jNctr':function(_0x2d99e9,_0x1b0716){return _0x2d99e9===_0x1b0716;},'tZQHO':function(_0x52947a,_0x33d5f5){return _0x52947a===_0x33d5f5;},'EIqMY':_0x1b06d2(0x11b)},_0x1f01ac=(await NTQQUserApi[_0x1b06d2(0xa3)]([_0x190550['kGCaH']]))[_0x190550[_0x1b06d2(0x127)]],_0x40acae=await NTQQUserApi['getSkey']();if(_0x190550[_0x1b06d2(0xe5)](!_0x40acae,!_0x1f01ac))return undefined;async function _0x41733e(_0x5e83ad,_0x2b6aba){const _0x40d1f4=_0x1b06d2;let _0x241cc7=_0x190550[_0x40d1f4(0x11d)](_0x190550[_0x40d1f4(0x12a)],_0x5e83ad)+_0x190550[_0x40d1f4(0xdc)]+_0x2b6aba[_0x40d1f4(0x9e)](),_0x40dd02='',_0x1fbfde;try{_0x40dd02=await RequestUtil[_0x40d1f4(0xe3)](_0x241cc7,_0x190550[_0x40d1f4(0x10f)],'',{'Cookie':_0x46fa37});const _0xc86968=_0x40dd02['match'](/window\.__INITIAL_STATE__=(.*?);/);return _0xc86968&&(_0x1fbfde=JSON[_0x40d1f4(0x114)](_0xc86968[0x1]['trim']())),_0x190550[_0x40d1f4(0xd2)](_0x2b6aba,0x1)?_0x1fbfde?.[_0x40d1f4(0x10e)]:_0x1fbfde?.['actorList'];}catch(_0x16ba67){_0x190550['jMByc'](logDebug,_0x190550[_0x40d1f4(0xd7)],_0x241cc7,_0x16ba67);}return undefined;}let _0x30fab5={'group_id':_0xac8612};const _0x46fa37=_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0x11d)](_0x190550[_0x1b06d2(0xe8)](_0x190550[_0x1b06d2(0x116)](_0x190550[_0x1b06d2(0x90)],_0x1f01ac),_0x190550[_0x1b06d2(0xd3)]),_0x40acae),_0x190550[_0x1b06d2(0x9d)])+selfInfo['uin'],_0x190550[_0x1b06d2(0x9a)])+selfInfo[_0x1b06d2(0xcb)];if(_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType['TALKACTIVE'])||_0x190550[_0x1b06d2(0x124)](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0xf99543=await _0x190550[_0x1b06d2(0x106)](_0x41733e,_0xac8612,0x1);if(!_0xf99543)throw new Error(_0x190550['ufGMA']);_0x30fab5[_0x1b06d2(0xc7)]={'user_id':_0xf99543[0x0]?.['uin'],'avatar':_0xf99543[0x0]?.[_0x1b06d2(0xf0)],'nickname':_0xf99543[0x0]?.[_0x1b06d2(0xcf)],'day_count':0x0,'description':_0xf99543[0x0]?.[_0x1b06d2(0xfd)]},_0x30fab5[_0x1b06d2(0xbe)]=[];for(const _0x48e393 of _0xf99543){_0x30fab5['talkative_list'][_0x1b06d2(0xe4)]({'user_id':_0x48e393?.[_0x1b06d2(0xcb)],'avatar':_0x48e393?.[_0x1b06d2(0xf0)],'description':_0x48e393?.['desc'],'day_count':0x0,'nickname':_0x48e393?.[_0x1b06d2(0xcf)]});}}catch(_0x134ae3){_0x190550[_0x1b06d2(0xda)](logDebug,_0x134ae3);}if(_0x190550[_0x1b06d2(0xf1)](_0x29b117,WebHonorType[_0x1b06d2(0x10a)])||_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0x971bc3=await _0x190550['FLnwt'](_0x41733e,_0xac8612,0x2);if(!_0x971bc3)throw new Error(_0x190550['ScWiA']);_0x30fab5['performer_list']=[];for(const _0x315852 of _0x971bc3){_0x30fab5[_0x1b06d2(0x9f)]['push']({'user_id':_0x315852?.[_0x1b06d2(0xcb)],'nickname':_0x315852?.['name'],'avatar':_0x315852?.['avatar'],'description':_0x315852?.[_0x1b06d2(0xfd)]});}}catch(_0x2ec86d){_0x190550['jEiaw'](logDebug,_0x2ec86d);}if(_0x190550['AlXdP'](_0x29b117,WebHonorType[_0x1b06d2(0x10a)])||_0x29b117===WebHonorType[_0x1b06d2(0x110)])try{let _0x412e0a=await _0x190550[_0x1b06d2(0x106)](_0x41733e,_0xac8612,0x3);if(!_0x412e0a)throw new Error(_0x190550[_0x1b06d2(0x93)]);_0x30fab5[_0x1b06d2(0xe2)]=[];for(const _0x55adbf of _0x412e0a){_0x30fab5['legend_list'][_0x1b06d2(0xe4)]({'user_id':_0x55adbf?.['uin'],'nickname':_0x55adbf?.[_0x1b06d2(0xcf)],'avatar':_0x55adbf?.[_0x1b06d2(0xf0)],'desc':_0x55adbf?.[_0x1b06d2(0xcc)]});}}catch(_0x1f004b){_0x190550[_0x1b06d2(0xe9)](logDebug,'获取群聊炽焰失败',_0x1f004b);}if(_0x190550[_0x1b06d2(0xa8)](_0x29b117,WebHonorType[_0x1b06d2(0xd0)])||_0x190550['tZQHO'](_0x29b117,WebHonorType[_0x1b06d2(0x110)]))try{let _0x2e63be=await _0x41733e(_0xac8612,0x6);if(!_0x2e63be)throw new Error(_0x190550[_0x1b06d2(0xd5)]);_0x30fab5[_0x1b06d2(0xed)]=[];for(const _0x5a07ed of _0x2e63be){_0x30fab5[_0x1b06d2(0xed)][_0x1b06d2(0xe4)]({'user_id':_0x5a07ed?.[_0x1b06d2(0xcb)],'nickname':_0x5a07ed?.[_0x1b06d2(0xcf)],'avatar':_0x5a07ed?.['avatar'],'desc':_0x5a07ed?.[_0x1b06d2(0xcc)]});}}catch(_0x40d697){logDebug(_0x190550[_0x1b06d2(0xd5)],_0x40d697);}return(_0x29b117===WebHonorType[_0x1b06d2(0xd0)]||_0x190550[_0x1b06d2(0xd2)](_0x29b117,WebHonorType['ALL']))&&(_0x30fab5[_0x1b06d2(0xbd)]=[]),_0x30fab5;}}function _0x1c49(){const _0x155d56=['teWfb','parse','BtNti','vGHCo','GroupData','2tyHNQg','EQxBC','split','获取快乐源泉失败','errcode','dNuvd','&text=','oTwpX','urpwb','ySbZu','FVjTS','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','GhuDs','Pztjx','jiNSG','kGCaH','Lzdfj','oVOMK','yiqfW','353008XtUjXh','JuShd','GET','21kVWgAe','WVFcP','&page_start=','SOeds','eZtpv','BWrqF','&type=','获取龙王信息失败','wHCoF','talkative','aQkca','tBjZs','toString','performer_list','Kmbor','ZPdGR','533737sEYbFU','getPSkey','JWBGE','FScAa','tJXvJ','TKGvq','jNctr','hMpWl','POST','prPej','CyZMB','354390OgrMXR','TpkrS','aXbNg','&group_code=','mrnsD','mems','GsmcW','exkST','hPhrA','p_skey=','charCodeAt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','now','KKhbH','kTzrL','clyoQ','strong_newbie_list','talkative_list','IQSAh','UiaYd','7280625xjILhg','get','EtcCl','GKbza','getSkey','ECAzT','current_talkative','获取当前群荣耀失败','HttpGetJson','BIGrC','uin','description',';\x20p_uin=o','genBkn','name','EMOTION','1616727fAhZJE','UdLdr','CYTpt','1919336CthjCg','EIqMY',';\x20uin=o','DvbrJ','CrORT','YoLqK','jEiaw','legend','usMQY','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','WtgDu','joGDI','performer','&end=','legend_list','HttpGetText','push','HAKfr','wJjvq','BPZBM','LKpHv','MXNkW','length','https://qun.qq.com/interactive/honorlist?gc=','set','emotion_list','qun.qq.com','&qid=','avatar','mgbKj','2659390UHowTP','LEGEND','获取群聊炽焰失败','ytauH','9lGzWqi','rBxMm','JCcvy','vbJVb','TALKACTIVE','EcztQ','Tdaef','desc','ceil','ijoJb','KbnxK',';\x20skey=','45xemPpB','lOHtZ','fCHYA','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','FLnwt','TmznL','ikAOe','retcode','PERFROMER','IeoAt','getGroupHonorInfo','strong_newbie','talkativeList','xrKRZ','ALL','count','GroupTime'];_0x1c49=function(){return _0x155d56;};return _0x1c49();} \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index 01b13924..97205c1f 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x471e28=_0x2430;(function(_0x1a26c9,_0x1d0c58){const _0x1c8bd4=_0x2430,_0x4ef290=_0x1a26c9();while(!![]){try{const _0x4026c5=parseInt(_0x1c8bd4(0x7c))/0x1*(-parseInt(_0x1c8bd4(0x81))/0x2)+-parseInt(_0x1c8bd4(0x105))/0x3+parseInt(_0x1c8bd4(0xfa))/0x4+parseInt(_0x1c8bd4(0xc2))/0x5*(-parseInt(_0x1c8bd4(0x122))/0x6)+-parseInt(_0x1c8bd4(0xde))/0x7*(parseInt(_0x1c8bd4(0xba))/0x8)+-parseInt(_0x1c8bd4(0x8b))/0x9+-parseInt(_0x1c8bd4(0xff))/0xa*(-parseInt(_0x1c8bd4(0xb5))/0xb);if(_0x4026c5===_0x1d0c58)break;else _0x4ef290['push'](_0x4ef290['shift']());}catch(_0x2bf51c){_0x4ef290['push'](_0x4ef290['shift']());}}}(_0x3cec,0x9bade));import _0x533866 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x396cbf from'node:path';import _0x686818 from'node:os';import _0xfc8fe7 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 _0x269bcf from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';function _0x3cec(){const _0x50ddb8=['find','IAVoI','loginListener','passwordLogin','isQuickLogin','FcuYV','7810IcenhJ','curVersion','NodeIGlobalAdapter','xryLV','initSession','19288teQZOc','hsSCS','loginService','LQUui','getNTUserDataInfoConfig','LCNKj','loginErrorInfo','session','15ybCxXf','NodeIKernelProfileListener','isDelete','result','tipsDesc','homedir','SvHmW','consoleLog','OKPVb','addKernelMsgListener','quickLogin','[KickedOffLine]\x20[','wUrlb','bpRmF','groupCode','NodeQQNTWrapperUtil','get','onAddSendMsg','resolve','NodeIKernelGroupListener','hlEgq','memberCount','push','onMemberInfoChange','buddyList','set','digest','pPLxa','630xKDHmW','./.config/QQ','read','EsFLs','addKernelBuddyListener','undefined','yASDR','from','tipsTitle','NodeIKernelLoginListener','onQRCodeGetPicture','./NapCat/data','initSession\x20failed','replace','KUbdB','addKernelGroupListener','zSnAb','getGroupService','BnUda','onRecvSysMsg','devUid','qrLogin','\x20has\x20no\x20method\x20','uin','dataPathGlobal','JBBQG','XzoJg','util','4612696ZXVxpM','qzWmg','uWmVf','onQRCodeSessionFailed','errMsg','53470FotHtN',')\x20在线状态变更','vgzYe','数据库初始化失败','createMemberListScene','onGroupListUpdate','3690006MozdkQ','addListener','base64','onLoginFailed','dataPath','mkdirSync','then','./nt_qq/global','quickLoginWithUin','onLineDev','euUXK','onBuddyListChange','LhoOD','catch','V1_WIN_NQ_','message_received','consoleLogLevel','stringify','ProfileListener','jwjLp','mslEg','infos','constructor','fcNKU','pGXEL','fileLog','本账号数据/缓存目录:','clientType','DNFEw','1859754YuwLpq','forEach','initWithDeskTopConfig','NodeIKernelBuddyListener','getBuddyService','init\x20failed\x20','split','sceneId','now','init','RMJSK','initDataListener','onMemberListChange','JCjSO','yeRbc','addKernelLoginListener','map','groupMemberList_MainWindow','hbtie','1257974oxRsoA','DSfnb','hBelH','startNT','JyeSQ','2MTVwkR','md5','BuddyListener','UCYlN','has','initConfig','uqChA','aGTEj','LocalLoginInfoList','hex','6093351EzpKQe','Sfqfq','trVxs','uid','qrcodeUrl','140022013','TjOjO','-v2.db','update','sJDbs','NodeIDispatcherAdapter','mJapT','proxyHandler','onSessionInitComplete','getLoginList','packet_sent','NodeIQQNTWrapperEngine','pngBase64QrcodeData','_GW_B','启动失败:\x20','GroupListener','addKernelProfileListener','message_sent','onLoginSuccessFuncList','packet_received','onProfileDetailInfoChanged','没有可快速登录的QQ号','aJXYh','engine','tqqGP','XEcTV','EiGul','name','last_message_time','assign','getQRCodePicture'];_0x3cec=function(){return _0x50ddb8;};return _0x3cec();}import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x2430(_0x558fbc,_0x15d386){const _0x3cec54=_0x3cec();return _0x2430=function(_0x24308e,_0x5bbfaf){_0x24308e=_0x24308e-0x73;let _0x28c21c=_0x3cec54[_0x24308e];return _0x28c21c;},_0x2430(_0x558fbc,_0x15d386);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x471e28(0xc1)];[_0x471e28(0xf9)];[_0x471e28(0xa7)];[_0x471e28(0xb1)];[_0x471e28(0xbc)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x4e0b6e=_0x471e28,GLHRNt={'aGTEj':function(callee,param1){return callee(param1);},'pPLxa':function(x,y){return x===y;}};if(GLHRNt[_0x4e0b6e(0xdd)](typeof target[prop],_0x4e0b6e(0xe3)))return(...args)=>{const _0x1748d5=_0x4e0b6e;GLHRNt[_0x1748d5(0x88)](logDebug,target[_0x1748d5(0x11b)][_0x1748d5(0xab)]+_0x1748d5(0xf4)+prop);};return Reflect[_0x4e0b6e(0xd2)](target,prop,receiver);}};constructor(){const _0x2e366c=_0x471e28,_0x462d58={'DSfnb':function(_0x4e22ed,_0x3d106e){return _0x4e22ed(_0x3d106e);},'KUbdB':function(_0x3ef272,_0x5c95a0){return _0x3ef272+_0x5c95a0;},'UCYlN':function(_0x526663,_0x50b69d){return _0x526663+_0x50b69d;},'EiGul':'当前账号(','Skupp':')已登录,无法重复登录','JCjSO':function(_0x59290a,_0x5282a0,_0x4a68b7){return _0x59290a(_0x5282a0,_0x4a68b7);},'mslEg':_0x2e366c(0x102),'BnUda':_0x2e366c(0xe9),'FcuYV':function(_0x3fd874,_0x2a0714,_0x26c559){return _0x3fd874(_0x2a0714,_0x26c559);},'DNFEw':'登录失败','jujxY':function(_0x44ff0d,_0x20de4c){return _0x44ff0d==_0x20de4c;}};this[_0x2e366c(0xa7)]=new _0x533866[(_0x2e366c(0x9b))](),this[_0x2e366c(0xf9)]=new _0x533866[(_0x2e366c(0xd1))](),this[_0x2e366c(0xbc)]=new _0x533866['NodeIKernelLoginService'](),this[_0x2e366c(0xc1)]=new _0x533866['NodeIQQNTWrapperSession'](),this[_0x2e366c(0xb1)]=new LoginListener(),this[_0x2e366c(0xb1)]['onUserLoggedIn']=_0x291793=>{const _0x35633a=_0x2e366c;_0x462d58['DSfnb'](logError,_0x462d58[_0x35633a(0xec)](_0x462d58[_0x35633a(0x84)](_0x462d58[_0x35633a(0xaa)],_0x291793),_0x462d58['Skupp']));},this[_0x2e366c(0xb1)]['onQRCodeLoginSucceed']=_0x39e886=>{const _0x203631=_0x2e366c,_0x5ef03b={'EsFLs':function(_0x37af99,_0x2a5658,_0x25a000){const _0x53dd76=_0x2430;return _0x462d58[_0x53dd76(0x76)](_0x37af99,_0x2a5658,_0x25a000);},'bpRmF':_0x462d58[_0x203631(0x119)],'xryLV':function(_0x4bb2c4,_0x3fb4a5,_0x3902bb){const _0x2515c5=_0x203631;return _0x462d58[_0x2515c5(0x76)](_0x4bb2c4,_0x3fb4a5,_0x3902bb);},'LhoOD':function(_0x233a52,_0x5e679f){const _0x5ac3e8=_0x203631;return _0x462d58[_0x5ac3e8(0x7d)](_0x233a52,_0x5e679f);},'hsSCS':_0x462d58[_0x203631(0xf0)]};this['initSession'](_0x39e886[_0x203631(0xf5)],_0x39e886[_0x203631(0x8e)])[_0x203631(0x10b)](_0x502dc0=>{const _0x518a13=_0x203631,_0x3d982e={'hbtie':_0x5ef03b[_0x518a13(0xcf)]};selfInfo['uin']=_0x39e886[_0x518a13(0xf5)],selfInfo[_0x518a13(0x8e)]=_0x39e886[_0x518a13(0x8e)],napCatConfig[_0x518a13(0xe0)](),_0x5ef03b[_0x518a13(0xb8)](setLogLevel,napCatConfig['fileLogLevel'],napCatConfig[_0x518a13(0x115)]),enableFileLog(napCatConfig[_0x518a13(0x11e)]),_0x5ef03b[_0x518a13(0x111)](enableConsoleLog,napCatConfig[_0x518a13(0xc9)]),_0x5ef03b[_0x518a13(0x111)](setLogSelfInfo,selfInfo);const _0x140a78=_0x396cbf[_0x518a13(0xd4)](this[_0x518a13(0x109)],_0x5ef03b[_0x518a13(0xbb)]);_0xfc8fe7['mkdirSync'](_0x140a78,{'recursive':!![]}),_0x5ef03b[_0x518a13(0xe1)](logDebug,_0x518a13(0x11f),_0x140a78),dbUtil[_0x518a13(0x12b)](_0x396cbf[_0x518a13(0xd4)](_0x140a78,'./'+_0x39e886[_0x518a13(0xf5)]+_0x518a13(0x92)))['then'](()=>{const _0x144b48=_0x518a13,_0x1042d3={'tqqGP':function(_0x360c83,_0x5999b6,_0x19e40b){const _0x4176c5=_0x2430;return _0x5ef03b[_0x4176c5(0xe1)](_0x360c83,_0x5999b6,_0x19e40b);},'sJDbs':function(_0x302839,_0x47f8a0){return _0x302839 instanceof _0x47f8a0;}};this[_0x144b48(0x74)](),this[_0x144b48(0xa2)][_0x144b48(0x79)](_0x8fde9f=>{const _0xffac48=_0x144b48;new Promise((_0x3d15ab,_0x47b257)=>{const _0x40ab30=_0x2430,_0x9105ef=_0x1042d3[_0x40ab30(0xa8)](_0x8fde9f,_0x39e886[_0x40ab30(0xf5)],_0x39e886[_0x40ab30(0x8e)]);_0x1042d3[_0x40ab30(0x94)](_0x9105ef,Promise)&&_0x9105ef[_0x40ab30(0x10b)](_0x3d15ab)[_0x40ab30(0x112)](_0x47b257);})[_0xffac48(0x10b)]();});})[_0x518a13(0x112)](_0x59aec5=>{const _0x495845=_0x518a13;logError(_0x3d982e[_0x495845(0x7b)],_0x59aec5);});})[_0x203631(0x112)](_0xf1bb16=>{const _0x349ac8=_0x203631;logError(_0x349ac8(0xea),_0xf1bb16);throw new Error(_0x349ac8(0x9e)+JSON[_0x349ac8(0x116)](_0xf1bb16));});},this[_0x2e366c(0xb1)][_0x2e366c(0xfd)]=(_0x265d02,_0x3380fc,_0x1545c5)=>{const _0x28c948=_0x2e366c;_0x462d58[_0x28c948(0xb4)](logError,_0x462d58[_0x28c948(0x121)],_0x1545c5),_0x462d58['jujxY'](_0x265d02,0x1)&&_0x3380fc==0x3&&this[_0x28c948(0xbc)]['getQRCodePicture']();},this[_0x2e366c(0xb1)][_0x2e366c(0x108)]=_0x51f202=>{const _0xc4ef03=_0x2e366c;_0x462d58['FcuYV'](logError,_0x462d58[_0xc4ef03(0x121)],_0x51f202);},this[_0x2e366c(0xb1)]=new Proxy(this['loginListener'],this['proxyHandler']),this[_0x2e366c(0xbc)][_0x2e366c(0x78)](new _0x533866[(_0x2e366c(0xe7))](this[_0x2e366c(0xb1)])),this[_0x2e366c(0x86)]();}get[_0x471e28(0x109)](){const _0x275ec6=_0x471e28,_0x9bc302={'GByvt':_0x275ec6(0xdf)};let _0x579aa1=this['util'][_0x275ec6(0xbe)]();return!_0x579aa1&&(_0x579aa1=_0x396cbf[_0x275ec6(0xd4)](_0x686818[_0x275ec6(0xc7)](),_0x9bc302['GByvt']),_0xfc8fe7[_0x275ec6(0x10a)](_0x579aa1,{'recursive':!![]})),_0x579aa1;}get['dataPathGlobal'](){const _0x23c9d7=_0x471e28,_0x4d2637={'JBBQG':_0x23c9d7(0x10c)};return _0x396cbf['resolve'](this[_0x23c9d7(0x109)],_0x4d2637[_0x23c9d7(0xf7)]);}[_0x471e28(0x86)](){const _0x3633d3=_0x471e28,_0xa720dc={'aJXYh':'Windows\x2010\x20Pro'};this[_0x3633d3(0xa7)][_0x3633d3(0x124)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0xa720dc[_0x3633d3(0xa6)],'use_xlog':!![],'qua':_0x3633d3(0x113)+qqVersionConfigInfo[_0x3633d3(0xb6)][_0x3633d3(0xeb)]('-','_')+_0x3633d3(0x9d),'global_path_config':{'desktopGlobalPath':this[_0x3633d3(0xf6)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x533866[(_0x3633d3(0xb7))](new GlobalAdapter())),this[_0x3633d3(0xbc)][_0x3633d3(0x86)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x3633d3(0xf6)],'clientVer':qqVersionConfigInfo[_0x3633d3(0xb6)],'hostName':hostname});}[_0x471e28(0xb9)](_0x24f796,_0x20cee7){const _0x247138=_0x471e28,_0x5ba8c4={'zSnAb':function(_0xfddb13,_0x452ccb){return _0xfddb13===_0x452ccb;},'vMqLS':function(_0x3f6517,_0x11759e){return _0x3f6517(_0x11759e);},'TjOjO':function(_0xaed9c4,_0x182732,_0x529d81,_0x59a047){return _0xaed9c4(_0x182732,_0x529d81,_0x59a047);},'jwjLp':function(_0x56bb36,_0x2154b7){return _0x56bb36(_0x2154b7);},'jRxUD':_0x247138(0x127)};return new Promise(async(_0x33fc89,_0x5d7f45)=>{const _0x1090be=_0x247138,_0x3964ea=await _0x5ba8c4[_0x1090be(0x91)](genSessionConfig,_0x24f796,_0x20cee7,this[_0x1090be(0x109)]),_0xa38a71=new SessionListener();_0xa38a71[_0x1090be(0x98)]=_0x98b33f=>{const _0x45566b=_0x1090be;if(_0x5ba8c4[_0x45566b(0xee)](_0x98b33f,0x0))return _0x33fc89(0x0);_0x5ba8c4['vMqLS'](_0x5d7f45,_0x98b33f);},this['session']['init'](_0x3964ea,new _0x533866['NodeIDependsAdapter'](new DependsAdapter()),new _0x533866[(_0x1090be(0x95))](new DispatcherAdapter()),new _0x533866['NodeIKernelSessionListener'](_0xa38a71));try{this[_0x1090be(0xc1)][_0x1090be(0x7f)](0x0);}catch(_0x9a95e5){try{this[_0x1090be(0xc1)][_0x1090be(0x7f)]();}catch(_0x462c1f){_0x5ba8c4[_0x1090be(0x118)](_0x5d7f45,_0x5ba8c4['jRxUD']+_0x462c1f);}}});}['initDataListener'](){const _0x50e5bb=_0x471e28,_0x12314={'XEcTV':function(_0x17348b,_0x39c0c2){return _0x17348b===_0x39c0c2;},'RMJSK':function(_0x12861f,_0x3b976d){return _0x12861f(_0x3b976d);},'hlEgq':function(_0x2c3c88,_0x23d2d5){return _0x2c3c88+_0x23d2d5;},'IAVoI':_0x50e5bb(0x100),'wUrlb':function(_0x550fa5,_0x4838b7){return _0x550fa5(_0x4838b7);},'LQUui':function(_0x182a7f,_0xee9592){return _0x182a7f+_0xee9592;},'QfENd':_0x50e5bb(0xcd),'hKJbB':function(_0x466fdf,_0xd7689){return _0x466fdf/_0xd7689;},'uWmVf':function(_0x34960d,_0x58d190){return _0x34960d===_0x58d190;},'hBelH':function(_0x182d39,_0x21eebf){return _0x182d39===_0x21eebf;},'OKPVb':_0x50e5bb(0x7a),'JmImQ':function(_0x3d21ef,_0x2b155d,_0x8e10e6){return _0x3d21ef(_0x2b155d,_0x8e10e6);}},_0x3f1f13=new MsgListener();_0x3f1f13[_0x50e5bb(0x10e)]=_0x33c676=>{const _0x8a9c0d=_0x50e5bb,_0x82237f={'JyeSQ':function(_0x4a2b2c,_0x10e455){const _0x440925=_0x2430;return _0x12314[_0x440925(0xa9)](_0x4a2b2c,_0x10e455);},'BKmSd':function(_0x4a543a,_0x518d2f){const _0x3177d1=_0x2430;return _0x12314[_0x3177d1(0x73)](_0x4a543a,_0x518d2f);},'Sfqfq':function(_0x282ebc,_0x96fbf7){return _0x12314['hlEgq'](_0x282ebc,_0x96fbf7);},'gCmwj':'账号设备(','fcNKU':_0x12314[_0x8a9c0d(0xb0)]};_0x33c676[_0x8a9c0d(0x79)](_0x147ceb=>{const _0x47395b=_0x8a9c0d;_0x82237f[_0x47395b(0x80)](_0x147ceb[_0x47395b(0x120)],0x2)&&_0x82237f['BKmSd'](log,_0x82237f[_0x47395b(0x8c)](_0x82237f[_0x47395b(0x8c)](_0x82237f['gCmwj'],_0x147ceb[_0x47395b(0xf2)]),_0x82237f[_0x47395b(0x11c)]));});},_0x3f1f13['onKickedOffLine']=_0x55e50a=>{const _0x1873a8=_0x50e5bb;_0x12314[_0x1873a8(0xce)](log,_0x12314[_0x1873a8(0xd6)](_0x12314[_0x1873a8(0xbd)](_0x12314[_0x1873a8(0xd6)](_0x12314['QfENd'],_0x55e50a[_0x1873a8(0xe6)]),']\x20'),_0x55e50a[_0x1873a8(0xc6)]));},_0x3f1f13[_0x50e5bb(0xd3)]=_0x1511a=>{const _0x329799=_0x50e5bb;stat[_0x329799(0x9a)]+=0x1,stat[_0x329799(0xa1)]+=0x1,stat[_0x329799(0xac)]=Math['floor'](_0x12314['hKJbB'](Date[_0x329799(0x12a)](),0x3e8));},_0x3f1f13['onRecvMsg']=_0x3d3aa9=>{const _0x2b8d30=_0x50e5bb;stat[_0x2b8d30(0xa3)]+=0x1,stat[_0x2b8d30(0x114)]+=_0x3d3aa9['length'],stat['last_message_time']=Math['floor'](Date[_0x2b8d30(0x12a)]()/0x3e8);},_0x3f1f13[_0x50e5bb(0xf1)]=(..._0x51f56a)=>{const _0x8c62f0=_0x50e5bb;stat[_0x8c62f0(0xa3)]+=0x1;},this[_0x50e5bb(0x106)](_0x3f1f13);const _0x4acf4f=new BuddyListener();_0x4acf4f[_0x50e5bb(0x110)]=_0x4269da=>{const _0x2d9964=_0x50e5bb;rawFriends['length']=0x0,rawFriends[_0x2d9964(0xd8)](..._0x4269da);for(const _0x35e6b5 of _0x4269da){for(const _0x4fc6f1 of _0x35e6b5[_0x2d9964(0xda)]){const _0x42eb31=friends[_0x2d9964(0xd2)](_0x4fc6f1[_0x2d9964(0x8e)]);_0x42eb31?Object['assign'](_0x42eb31,_0x4fc6f1):friends[_0x2d9964(0xdb)](_0x4fc6f1[_0x2d9964(0x8e)],_0x4fc6f1);}}},this[_0x50e5bb(0x106)](_0x4acf4f),this[_0x50e5bb(0xc1)][_0x50e5bb(0x126)]()['getBuddyList'](!![])[_0x50e5bb(0x10b)](_0x8b22ac=>{});const _0x2614fb=new ProfileListener();_0x2614fb[_0x50e5bb(0xa4)]=_0x3c3da9=>{const _0x526a08=_0x50e5bb;_0x12314[_0x526a08(0xfc)](_0x3c3da9[_0x526a08(0x8e)],selfInfo[_0x526a08(0x8e)])&&Object['assign'](selfInfo,_0x3c3da9);},_0x2614fb['onSelfStatusChanged']=_0x4195b7=>{},this[_0x50e5bb(0x106)](_0x2614fb);const _0x46d09f=new GroupListener();_0x46d09f[_0x50e5bb(0x104)]=(_0x505421,_0x138cfd)=>{_0x138cfd['map'](_0x21b102=>{const _0x10e9af=_0x2430,_0x23028b=groups[_0x10e9af(0xd2)](_0x21b102['groupCode']);_0x23028b&&_0x12314[_0x10e9af(0x7e)](_0x21b102[_0x10e9af(0xd7)],_0x23028b[_0x10e9af(0xd7)])?Object[_0x10e9af(0xad)](_0x23028b,_0x21b102):groups[_0x10e9af(0xdb)](_0x21b102[_0x10e9af(0xd0)],_0x21b102);const _0x4e3ba9=this[_0x10e9af(0xc1)][_0x10e9af(0xef)]()[_0x10e9af(0x103)](_0x21b102['groupCode'],_0x12314[_0x10e9af(0xca)]);this[_0x10e9af(0xc1)][_0x10e9af(0xef)]()['getNextMemberList'](_0x4e3ba9,undefined,0xbb8)[_0x10e9af(0x10b)](_0x2f4941=>{});});},_0x46d09f[_0x50e5bb(0x75)]=_0x4fa70b=>{const _0x54bb49=_0x50e5bb,_0x1639da=_0x4fa70b[_0x54bb49(0x129)]['split']('_')[0x0];if(groupMembers[_0x54bb49(0x85)](_0x1639da)){const _0x27bbaf=groupMembers[_0x54bb49(0xd2)](_0x1639da);_0x4fa70b[_0x54bb49(0x11a)][_0x54bb49(0x123)]((_0x47f080,_0x35f14e)=>{const _0x5cb588=_0x54bb49,_0x480405=_0x27bbaf[_0x5cb588(0xd2)](_0x35f14e);_0x480405?Object[_0x5cb588(0xad)](_0x480405,_0x47f080):_0x27bbaf[_0x5cb588(0xdb)](_0x35f14e,_0x47f080);});}else groupMembers['set'](_0x1639da,_0x4fa70b['infos']);},_0x46d09f[_0x50e5bb(0xd9)]=(_0x2cb44d,_0x103287,_0x553a19)=>{const _0x49a9b2=_0x50e5bb;_0x12314[_0x49a9b2(0x7e)](_0x103287,0x0)&&_0x553a19['get'](selfInfo['uid'])&&_0x553a19[_0x49a9b2(0xd2)](selfInfo[_0x49a9b2(0x8e)])?.[_0x49a9b2(0xc4)]&&_0x12314['JmImQ'](setTimeout,()=>{groups['delete'](_0x2cb44d);},0x1388);const _0x35538e=groupMembers[_0x49a9b2(0xd2)](_0x2cb44d);_0x35538e?_0x553a19['forEach']((_0x5ce629,_0x3020e9)=>{const _0x292bdf=_0x49a9b2,_0x164bdf=_0x35538e[_0x292bdf(0xd2)](_0x3020e9);_0x164bdf?Object[_0x292bdf(0xad)](_0x164bdf,_0x5ce629):_0x35538e[_0x292bdf(0xdb)](_0x3020e9,_0x5ce629);}):groupMembers['set'](_0x2cb44d,_0x553a19);},this[_0x50e5bb(0x106)](_0x46d09f);}[_0x471e28(0x106)](_0x269a8c){const _0x3c94af=_0x471e28,_0x38d0c5={'mJapT':_0x3c94af(0x83),'trVxs':_0x3c94af(0x9f),'yeRbc':'MsgListener','bhRAI':_0x3c94af(0x117)};_0x269a8c=new Proxy(_0x269a8c,this[_0x3c94af(0x97)]);switch(_0x269a8c['constructor']['name']){case _0x38d0c5[_0x3c94af(0x96)]:{return this[_0x3c94af(0xc1)][_0x3c94af(0x126)]()[_0x3c94af(0xe2)](new _0x533866[(_0x3c94af(0x125))](_0x269a8c));}case _0x38d0c5[_0x3c94af(0x8d)]:{return this['session'][_0x3c94af(0xef)]()[_0x3c94af(0xed)](new _0x533866[(_0x3c94af(0xd5))](_0x269a8c));}case _0x38d0c5[_0x3c94af(0x77)]:{return this[_0x3c94af(0xc1)]['getMsgService']()[_0x3c94af(0xcb)](new _0x533866['NodeIKernelMsgListener'](_0x269a8c));}case _0x38d0c5['bhRAI']:{return this[_0x3c94af(0xc1)]['getProfileService']()[_0x3c94af(0xa0)](new _0x533866[(_0x3c94af(0xc3))](_0x269a8c));}default:return-0x1;}}['onLoginSuccess'](_0x2303f0){const _0x1cb2e6=_0x471e28;NTEventDispatch['init']({'ListenerMap':_0x533866,'WrapperSession':this[_0x1cb2e6(0xc1)]}),this[_0x1cb2e6(0xa2)][_0x1cb2e6(0xd8)](_0x2303f0);}async[_0x471e28(0xcc)](_0x3f2a0b){const _0x4954cc=_0x471e28,_0x2b9ed6={'yiiRO':_0x4954cc(0xa5),'yASDR':function(_0x39b059,_0x4b73ac){return _0x39b059+_0x4b73ac;}},_0x2866f9=await this[_0x4954cc(0xbc)]['getLoginList']();if(_0x2866f9[_0x4954cc(0xc5)]!==0x0)throw new Error(_0x2b9ed6['yiiRO']);const _0x45d758=_0x2866f9[_0x4954cc(0x89)][_0x4954cc(0xaf)](_0x21fa42=>_0x21fa42['uin']===_0x3f2a0b);if(!_0x45d758||!_0x45d758?.[_0x4954cc(0xb3)])throw new Error(_0x3f2a0b+'快速登录不可用');await sleep(0x3e8);const _0x59bb28=await this['loginService'][_0x4954cc(0x10d)](_0x3f2a0b);if(!_0x59bb28[_0x4954cc(0xc5)])throw new Error(_0x2b9ed6[_0x4954cc(0xe4)]('快速登录失败\x20',_0x59bb28[_0x4954cc(0xc0)][_0x4954cc(0xfe)]));return _0x59bb28;}async[_0x471e28(0xf3)](_0x2365ad){const _0x2c2fe2={'pGXEL':'data:image/png;base64,','euUXK':function(_0x190c27,_0x1b8048,_0x3b454f,_0xde7bbb){return _0x190c27(_0x1b8048,_0x3b454f,_0xde7bbb);}};return new Promise((_0x335d5d,_0x4e688d)=>{const _0x45071f=_0x2430,_0x1d7370={'vgzYe':_0x2c2fe2[_0x45071f(0x11d)],'uqChA':_0x45071f(0x107),'Emggp':function(_0x2e743c,_0x50d2fc,_0x2857ec,_0x23b36c){const _0x5ae81b=_0x45071f;return _0x2c2fe2[_0x5ae81b(0x10f)](_0x2e743c,_0x50d2fc,_0x2857ec,_0x23b36c);}};this[_0x45071f(0xb1)][_0x45071f(0xe8)]=_0xe2e048=>{const _0x3806e7=_0x45071f,_0xdb24fb=_0xe2e048[_0x3806e7(0x9c)][_0x3806e7(0x128)](_0x1d7370[_0x3806e7(0x101)])[0x1],_0x530031=Buffer[_0x3806e7(0xe5)](_0xdb24fb,_0x1d7370[_0x3806e7(0x87)]);_0x1d7370['Emggp'](_0x2365ad,_0xe2e048[_0x3806e7(0x8f)],_0xe2e048[_0x3806e7(0x9c)],_0x530031);},this[_0x45071f(0xbc)][_0x45071f(0xae)]();});}async[_0x471e28(0xb2)](_0x4bdb93,_0x23a731,_0x353522,_0x3bb14e,_0x392e5e){const _0x312ec7=_0x471e28,_0x5c88ef={'SyQbm':_0x312ec7(0x82),'XzoJg':_0x312ec7(0x8a),'govzY':function(_0x57dc6e,_0x2082fa){return _0x57dc6e&&_0x2082fa;},'qzWmg':function(_0x9ff8b6,_0x353b2b){return _0x9ff8b6||_0x353b2b;},'SvHmW':function(_0x1506aa,_0x3f2f93){return _0x1506aa(_0x3f2f93);},'ugcSj':'140022008','LCNKj':_0x312ec7(0x90)},_0x29efd2=_0x269bcf['createHash'](_0x5c88ef['SyQbm'])[_0x312ec7(0x93)](_0x23a731)[_0x312ec7(0xdc)](_0x5c88ef[_0x312ec7(0xf8)]),_0x15b290={'uin':_0x4bdb93,'passwordMd5':_0x29efd2,'step':_0x5c88ef['govzY'](_0x353522,_0x3bb14e)&&_0x392e5e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5c88ef[_0x312ec7(0xfb)](_0x353522,''),'proofWaterRand':_0x3bb14e||'','proofWaterSid':_0x5c88ef['qzWmg'](_0x392e5e,'')};await this['loginService']['getLoginList'](),await _0x5c88ef[_0x312ec7(0xc8)](sleep,0x3e8);const _0x48adee=await this['loginService'][_0x312ec7(0xb2)](_0x15b290);switch(_0x48adee[_0x312ec7(0xc5)]){case'0':{break;}case _0x5c88ef['ugcSj']:{break;}case'4':case _0x5c88ef[_0x312ec7(0xbf)]:default:}}async['getQuickLoginList'](){const _0x26528a=_0x471e28,_0x3c7ddb=await this[_0x26528a(0xbc)][_0x26528a(0x99)]();return _0x3c7ddb;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x2baa7e=_0x5874;(function(_0x4e3314,_0x589d65){const _0x3538e3=_0x5874,_0x1f55a0=_0x4e3314();while(!![]){try{const _0x243d9a=-parseInt(_0x3538e3(0x1d8))/0x1*(-parseInt(_0x3538e3(0x202))/0x2)+parseInt(_0x3538e3(0x1e6))/0x3+-parseInt(_0x3538e3(0x19a))/0x4+-parseInt(_0x3538e3(0x18a))/0x5+-parseInt(_0x3538e3(0x209))/0x6*(-parseInt(_0x3538e3(0x1be))/0x7)+parseInt(_0x3538e3(0x1e2))/0x8+parseInt(_0x3538e3(0x185))/0x9*(-parseInt(_0x3538e3(0x1bb))/0xa);if(_0x243d9a===_0x589d65)break;else _0x1f55a0['push'](_0x1f55a0['shift']());}catch(_0x23c7de){_0x1f55a0['push'](_0x1f55a0['shift']());}}}(_0x48d3,0x60eab));import _0x59d79d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x423aa8 from'node:path';import _0x162d4f from'node:os';import _0x4a4053 from'node:fs';function _0x5874(_0x50f168,_0x358303){const _0x48d3f4=_0x48d3();return _0x5874=function(_0x5874bc,_0x7af9b7){_0x5874bc=_0x5874bc-0x164;let _0xf9da05=_0x48d3f4[_0x5874bc];return _0xf9da05;},_0x5874(_0x50f168,_0x358303);}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 _0x48b06b 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{['session'];[_0x2baa7e(0x175)];[_0x2baa7e(0x1de)];[_0x2baa7e(0x179)];['loginService'];[_0x2baa7e(0x190)]=[];[_0x2baa7e(0x180)]={'get'(target,prop,receiver){const _0x15032d=_0x2baa7e,xHLPjI={'ZHppG':function(callee,param1){return callee(param1);},'MKtfS':function(x,y){return x===y;},'XEFxx':_0x15032d(0x1f8)};if(xHLPjI['MKtfS'](typeof target[prop],xHLPjI[_0x15032d(0x1db)]))return(...args)=>{const _0x1b0030=_0x15032d;xHLPjI['ZHppG'](logDebug,target[_0x1b0030(0x1ab)][_0x1b0030(0x16a)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x15032d(0x187)](target,prop,receiver);}};constructor(){const _0x2cbaf5=_0x2baa7e,_0x492f77={'GPJFw':function(_0x123e1a,_0x2e4ad0){return _0x123e1a+_0x2e4ad0;},'vBxFw':function(_0x4ec1e3,_0xd05cfa){return _0x4ec1e3+_0xd05cfa;},'SUUQF':_0x2cbaf5(0x1aa),'MwbAO':function(_0x30cb4b,_0x52fed5,_0x4f562f){return _0x30cb4b(_0x52fed5,_0x4f562f);},'DLHbK':_0x2cbaf5(0x1cf),'GiIzL':function(_0x1d304f,_0x167417,_0x427c11){return _0x1d304f(_0x167417,_0x427c11);},'Jduwx':function(_0x3cd651,_0x437bb7){return _0x3cd651(_0x437bb7);},'CTPku':function(_0x2d9b07,_0x2367e6){return _0x2d9b07(_0x2367e6);},'NioDL':_0x2cbaf5(0x20d),'PLRiV':function(_0x2688ab,_0x5a3735,_0x9fe0e5){return _0x2688ab(_0x5a3735,_0x9fe0e5);},'YRMMH':_0x2cbaf5(0x195),'gfKgF':function(_0x406761,_0x78f76){return _0x406761 instanceof _0x78f76;},'cOdNA':'登录失败','OXjhy':function(_0x25017c,_0x4ac258){return _0x25017c==_0x4ac258;},'gZwJH':function(_0x43f410,_0x4a79ba,_0xa74bca){return _0x43f410(_0x4a79ba,_0xa74bca);}};this['engine']=new _0x59d79d[(_0x2cbaf5(0x20e))](),this[_0x2cbaf5(0x175)]=new _0x59d79d[(_0x2cbaf5(0x1a1))](),this[_0x2cbaf5(0x1d2)]=new _0x59d79d[(_0x2cbaf5(0x177))](),this[_0x2cbaf5(0x19d)]=new _0x59d79d[(_0x2cbaf5(0x167))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x2cbaf5(0x1b2)]=_0x8c00ba=>{const _0x1ff6d9=_0x2cbaf5;logError(_0x492f77['GPJFw'](_0x492f77[_0x1ff6d9(0x16d)](_0x492f77[_0x1ff6d9(0x198)],_0x8c00ba),_0x1ff6d9(0x1e3)));},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x1e7)]=_0x3f6392=>{const _0x3cf2b9=_0x2cbaf5,_0x4c06f3={'xSWyA':function(_0x43650c,_0x18d309,_0x5890b0){return _0x43650c(_0x18d309,_0x5890b0);},'FquJV':function(_0x27970d,_0x333b98){const _0x21e87d=_0x5874;return _0x492f77[_0x21e87d(0x205)](_0x27970d,_0x333b98);},'JqAfk':function(_0x6122b7,_0x4de90d,_0x50ee81){const _0xbe655f=_0x5874;return _0x492f77[_0xbe655f(0x1d3)](_0x6122b7,_0x4de90d,_0x50ee81);},'alAWO':_0x3cf2b9(0x217)};this[_0x3cf2b9(0x197)](_0x3f6392['uin'],_0x3f6392[_0x3cf2b9(0x169)])[_0x3cf2b9(0x1f9)](_0x460f29=>{const _0x4bfe25=_0x3cf2b9,_0xec3ae8={'gJwem':function(_0x45c73f,_0x43ea33,_0x2080b6){const _0x18b542=_0x5874;return _0x492f77[_0x18b542(0x1c8)](_0x45c73f,_0x43ea33,_0x2080b6);},'Ktyyi':_0x492f77[_0x4bfe25(0x16e)]};selfInfo['uin']=_0x3f6392[_0x4bfe25(0x174)],selfInfo['uid']=_0x3f6392['uid'],napCatConfig[_0x4bfe25(0x1e5)](),_0x492f77[_0x4bfe25(0x1d3)](setLogLevel,napCatConfig[_0x4bfe25(0x218)],napCatConfig[_0x4bfe25(0x199)]),_0x492f77['Jduwx'](enableFileLog,napCatConfig[_0x4bfe25(0x18f)]),_0x492f77[_0x4bfe25(0x1a2)](enableConsoleLog,napCatConfig[_0x4bfe25(0x1cd)]),_0x492f77[_0x4bfe25(0x1df)](setLogSelfInfo,selfInfo);const _0x246611=_0x423aa8['resolve'](this['dataPath'],_0x492f77[_0x4bfe25(0x207)]);_0x4a4053['mkdirSync'](_0x246611,{'recursive':!![]}),_0x492f77[_0x4bfe25(0x1ad)](logDebug,_0x492f77[_0x4bfe25(0x1b6)],_0x246611),dbUtil[_0x4bfe25(0x1dd)](_0x423aa8[_0x4bfe25(0x213)](_0x246611,'./'+_0x3f6392[_0x4bfe25(0x174)]+_0x4bfe25(0x1b9)))[_0x4bfe25(0x1f9)](()=>{const _0x5bf96b=_0x4bfe25,_0x5e9af6={'aAvsN':function(_0x63566f,_0x40dbd6,_0x8605c3){const _0x1e05b4=_0x5874;return _0x4c06f3[_0x1e05b4(0x211)](_0x63566f,_0x40dbd6,_0x8605c3);},'ipToX':function(_0x52961b,_0x531566){const _0x49ba9d=_0x5874;return _0x4c06f3[_0x49ba9d(0x1a3)](_0x52961b,_0x531566);}};this[_0x5bf96b(0x170)](),this[_0x5bf96b(0x190)][_0x5bf96b(0x1f3)](_0x142669=>{const _0x4dfcc5=_0x5bf96b;new Promise((_0x134b83,_0x219882)=>{const _0x552e02=_0x5874,_0x25b465=_0x5e9af6[_0x552e02(0x1c3)](_0x142669,_0x3f6392['uin'],_0x3f6392[_0x552e02(0x169)]);_0x5e9af6['ipToX'](_0x25b465,Promise)&&_0x25b465[_0x552e02(0x1f9)](_0x134b83)[_0x552e02(0x1a7)](_0x219882);})[_0x4dfcc5(0x1f9)]();});})[_0x4bfe25(0x1a7)](_0x14aa22=>{const _0x39ab30=_0x4bfe25;_0xec3ae8[_0x39ab30(0x1ba)](logError,_0xec3ae8[_0x39ab30(0x19c)],_0x14aa22);});})[_0x3cf2b9(0x1a7)](_0x601b87=>{const _0x290ea2=_0x3cf2b9;_0x4c06f3[_0x290ea2(0x1e0)](logError,_0x4c06f3[_0x290ea2(0x1eb)],_0x601b87);throw new Error(_0x290ea2(0x188)+JSON[_0x290ea2(0x1e4)](_0x601b87));});},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x165)]=(_0x2c2eb6,_0x25b077,_0x139b9b)=>{const _0x357786=_0x2cbaf5;_0x492f77[_0x357786(0x1ad)](logError,_0x492f77['cOdNA'],_0x139b9b),_0x492f77['OXjhy'](_0x2c2eb6,0x1)&&_0x492f77[_0x357786(0x1d1)](_0x25b077,0x3)&&this[_0x357786(0x1d2)][_0x357786(0x1d6)]();},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x168)]=_0x133167=>{_0x492f77['gZwJH'](logError,_0x492f77['cOdNA'],_0x133167);},this[_0x2cbaf5(0x179)]=new Proxy(this['loginListener'],this[_0x2cbaf5(0x180)]),this[_0x2cbaf5(0x1d2)]['addKernelLoginListener'](new _0x59d79d[(_0x2cbaf5(0x203))](this[_0x2cbaf5(0x179)])),this[_0x2cbaf5(0x1ca)]();}get[_0x2baa7e(0x215)](){const _0x393316=_0x2baa7e,_0x37acf7={'dofAc':_0x393316(0x204)};let _0x552bd3=this[_0x393316(0x175)][_0x393316(0x1bd)]();return!_0x552bd3&&(_0x552bd3=_0x423aa8[_0x393316(0x213)](_0x162d4f[_0x393316(0x17a)](),_0x37acf7['dofAc']),_0x4a4053['mkdirSync'](_0x552bd3,{'recursive':!![]})),_0x552bd3;}get[_0x2baa7e(0x1c2)](){const _0x26fb32=_0x2baa7e,_0x43a3e9={'Ccycu':_0x26fb32(0x17b)};return _0x423aa8[_0x26fb32(0x213)](this[_0x26fb32(0x215)],_0x43a3e9['Ccycu']);}['initConfig'](){const _0x5e94c8=_0x2baa7e;this[_0x5e94c8(0x1de)][_0x5e94c8(0x1c6)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':_0x5e94c8(0x206),'use_xlog':!![],'qua':_0x5e94c8(0x1c9)+qqVersionConfigInfo['curVersion'][_0x5e94c8(0x1ed)]('-','_')+_0x5e94c8(0x1c0),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x59d79d[(_0x5e94c8(0x178))](new GlobalAdapter())),this[_0x5e94c8(0x1d2)][_0x5e94c8(0x1ca)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x5e94c8(0x1c2)],'clientVer':qqVersionConfigInfo[_0x5e94c8(0x1ef)],'hostName':hostname});}[_0x2baa7e(0x197)](_0x343d3c,_0x4c29db){const _0x551f41={'NHdlA':function(_0x1f4665,_0x472108){return _0x1f4665===_0x472108;},'BTYxf':function(_0xfd8650,_0x632609){return _0xfd8650(_0x632609);},'WtjNB':function(_0x52298d,_0x567af9,_0x2d6cf2,_0x52fdba){return _0x52298d(_0x567af9,_0x2d6cf2,_0x52fdba);},'XHCBb':function(_0xc400f4,_0x3d6fa3){return _0xc400f4(_0x3d6fa3);},'QOAJy':function(_0x31291a,_0x5ca8e7){return _0x31291a+_0x5ca8e7;}};return new Promise(async(_0x3c8ec2,_0x283c69)=>{const _0x5c980d=_0x5874,_0x26d956=await _0x551f41[_0x5c980d(0x20a)](genSessionConfig,_0x343d3c,_0x4c29db,this[_0x5c980d(0x215)]),_0x20b902=new SessionListener();_0x20b902[_0x5c980d(0x1e9)]=_0x3b386f=>{const _0xf78709=_0x5c980d;if(_0x551f41['NHdlA'](_0x3b386f,0x0))return _0x3c8ec2(0x0);_0x551f41[_0xf78709(0x1e1)](_0x283c69,_0x3b386f);},this[_0x5c980d(0x19d)]['init'](_0x26d956,new _0x59d79d[(_0x5c980d(0x1ac))](new DependsAdapter()),new _0x59d79d[(_0x5c980d(0x1ec))](new DispatcherAdapter()),new _0x59d79d[(_0x5c980d(0x208))](_0x20b902));try{this[_0x5c980d(0x19d)]['startNT'](0x0);}catch(_0x455b60){try{this['session']['startNT']();}catch(_0x406e47){_0x551f41['XHCBb'](_0x283c69,_0x551f41[_0x5c980d(0x1bf)](_0x5c980d(0x1ce),_0x406e47));}}});}['initDataListener'](){const _0x5c5728=_0x2baa7e,_0x257972={'RAFHJ':function(_0x474711,_0x4ae07e){return _0x474711===_0x4ae07e;},'ZVedh':function(_0x3c1723,_0x25eca6){return _0x3c1723(_0x25eca6);},'cfZGO':_0x5c5728(0x1fc),'FueSi':function(_0x39fd37,_0xac4c59){return _0x39fd37+_0xac4c59;},'nXSBv':function(_0x468351,_0x50bbb1){return _0x468351/_0x50bbb1;},'cZbQV':function(_0x42098a,_0x4f958f){return _0x42098a/_0x4f958f;},'ZRiRM':function(_0x544c79,_0x53a539){return _0x544c79===_0x53a539;},'XFwVM':'groupMemberList_MainWindow','GaOBq':function(_0x5195c3,_0x2db07b){return _0x5195c3===_0x2db07b;}},_0x771696=new MsgListener();_0x771696[_0x5c5728(0x1a8)]=_0x18d6ee=>{_0x18d6ee['map'](_0x4ad620=>{const _0x562189=_0x5874;_0x257972[_0x562189(0x1a9)](_0x4ad620['clientType'],0x2)&&_0x257972['ZVedh'](log,_0x257972[_0x562189(0x1dc)]+_0x4ad620[_0x562189(0x1b1)]+')\x20在线状态变更');});},_0x771696['onKickedOffLine']=_0x53ef6a=>{const _0x3d3b85=_0x5c5728;_0x257972[_0x3d3b85(0x1f1)](log,_0x257972[_0x3d3b85(0x19f)](_0x3d3b85(0x17e)+_0x53ef6a['tipsTitle'],']\x20')+_0x53ef6a['tipsDesc']);},_0x771696[_0x5c5728(0x18c)]=_0x57ce9b=>{const _0x178bef=_0x5c5728;stat[_0x178bef(0x1b3)]+=0x1,stat['message_sent']+=0x1,stat[_0x178bef(0x19e)]=Math['floor'](_0x257972[_0x178bef(0x1fd)](Date['now'](),0x3e8));},_0x771696['onRecvMsg']=_0x3c399d=>{const _0x24bd1d=_0x5c5728;stat['packet_received']+=0x1,stat[_0x24bd1d(0x1c1)]+=_0x3c399d['length'],stat[_0x24bd1d(0x19e)]=Math[_0x24bd1d(0x193)](_0x257972[_0x24bd1d(0x1c5)](Date[_0x24bd1d(0x1b5)](),0x3e8));},_0x771696[_0x5c5728(0x19b)]=(..._0x27240d)=>{const _0xc4fee8=_0x5c5728;stat[_0xc4fee8(0x18d)]+=0x1;},this[_0x5c5728(0x1b7)](_0x771696);const _0xb75b4a=new BuddyListener();_0xb75b4a['onBuddyListChange']=_0x343f82=>{const _0x559d64=_0x5c5728;rawFriends['length']=0x0,rawFriends[_0x559d64(0x176)](..._0x343f82);for(const _0x152598 of _0x343f82){for(const _0x491be7 of _0x152598['buddyList']){const _0x2e1101=friends['get'](_0x491be7['uid']);_0x2e1101?Object[_0x559d64(0x194)](_0x2e1101,_0x491be7):friends[_0x559d64(0x192)](_0x491be7[_0x559d64(0x169)],_0x491be7);}}},this['addListener'](_0xb75b4a),this[_0x5c5728(0x19d)][_0x5c5728(0x1a5)]()[_0x5c5728(0x1f7)](!![])[_0x5c5728(0x1f9)](_0x3867db=>{});const _0x214a6c=new ProfileListener();_0x214a6c[_0x5c5728(0x1b0)]=_0xe08ac=>{const _0x2a6a69=_0x5c5728;_0x257972[_0x2a6a69(0x1f0)](_0xe08ac['uid'],selfInfo['uid'])&&Object['assign'](selfInfo,_0xe08ac);},_0x214a6c[_0x5c5728(0x1e8)]=_0x8cd31f=>{},this['addListener'](_0x214a6c);const _0x2894e9=new GroupListener();_0x2894e9['onGroupListUpdate']=(_0x5b1343,_0x3a8a8f)=>{const _0x4c88e6=_0x5c5728,_0x1c5f49={'zARkt':function(_0x3e3e92,_0x3c6830){return _0x3e3e92===_0x3c6830;},'uyxgD':_0x257972[_0x4c88e6(0x172)]};_0x3a8a8f[_0x4c88e6(0x1f3)](_0x5701df=>{const _0x9bd30b=_0x4c88e6,_0x5d4777=groups[_0x9bd30b(0x187)](_0x5701df[_0x9bd30b(0x191)]);_0x5d4777&&_0x1c5f49[_0x9bd30b(0x189)](_0x5701df[_0x9bd30b(0x1c4)],_0x5d4777[_0x9bd30b(0x1c4)])?Object['assign'](_0x5d4777,_0x5701df):groups[_0x9bd30b(0x192)](_0x5701df[_0x9bd30b(0x191)],_0x5701df);const _0x253f5a=this[_0x9bd30b(0x19d)]['getGroupService']()['createMemberListScene'](_0x5701df[_0x9bd30b(0x191)],_0x1c5f49[_0x9bd30b(0x16b)]);this['session'][_0x9bd30b(0x1d5)]()[_0x9bd30b(0x1a0)](_0x253f5a,undefined,0xbb8)[_0x9bd30b(0x1f9)](_0x59d2b9=>{});});},_0x2894e9[_0x5c5728(0x21b)]=_0x36e14b=>{const _0x335553=_0x5c5728,_0x4cf69c=_0x36e14b[_0x335553(0x20c)][_0x335553(0x1d0)]('_')[0x0];if(groupMembers[_0x335553(0x166)](_0x4cf69c)){const _0x313627=groupMembers[_0x335553(0x187)](_0x4cf69c);_0x36e14b[_0x335553(0x1b8)][_0x335553(0x171)]((_0x1d6d01,_0x5579fd)=>{const _0xa661ee=_0x335553,_0x5b3255=_0x313627[_0xa661ee(0x187)](_0x5579fd);_0x5b3255?Object[_0xa661ee(0x194)](_0x5b3255,_0x1d6d01):_0x313627[_0xa661ee(0x192)](_0x5579fd,_0x1d6d01);});}else groupMembers[_0x335553(0x192)](_0x4cf69c,_0x36e14b['infos']);},_0x2894e9['onMemberInfoChange']=(_0x375ab6,_0x451623,_0x2bd121)=>{const _0x1d1bfb=_0x5c5728;_0x257972[_0x1d1bfb(0x1bc)](_0x451623,0x0)&&_0x2bd121['get'](selfInfo[_0x1d1bfb(0x169)])&&_0x2bd121[_0x1d1bfb(0x187)](selfInfo[_0x1d1bfb(0x169)])?.[_0x1d1bfb(0x1f2)]&&setTimeout(()=>{const _0x5d8db7=_0x1d1bfb;groups[_0x5d8db7(0x1da)](_0x375ab6);},0x1388);const _0x1cda48=groupMembers['get'](_0x375ab6);_0x1cda48?_0x2bd121[_0x1d1bfb(0x171)]((_0xc830a3,_0x4458ed)=>{const _0x833481=_0x1d1bfb,_0x130fd6=_0x1cda48[_0x833481(0x187)](_0x4458ed);_0x130fd6?Object['assign'](_0x130fd6,_0xc830a3):_0x1cda48[_0x833481(0x192)](_0x4458ed,_0xc830a3);}):groupMembers[_0x1d1bfb(0x192)](_0x375ab6,_0x2bd121);},this['addListener'](_0x2894e9);}[_0x2baa7e(0x1b7)](_0xf3ac84){const _0xddd7=_0x2baa7e,_0x435313={'bMlht':'BuddyListener','blQdZ':_0xddd7(0x1c7)};_0xf3ac84=new Proxy(_0xf3ac84,this['proxyHandler']);switch(_0xf3ac84[_0xddd7(0x1ab)][_0xddd7(0x16a)]){case _0x435313[_0xddd7(0x1f6)]:{return this[_0xddd7(0x19d)][_0xddd7(0x1a5)]()['addKernelBuddyListener'](new _0x59d79d[(_0xddd7(0x182))](_0xf3ac84));}case _0xddd7(0x186):{return this[_0xddd7(0x19d)][_0xddd7(0x1d5)]()[_0xddd7(0x1cb)](new _0x59d79d[(_0xddd7(0x196))](_0xf3ac84));}case _0xddd7(0x173):{return this['session'][_0xddd7(0x1d7)]()[_0xddd7(0x16f)](new _0x59d79d[(_0xddd7(0x20f))](_0xf3ac84));}case _0x435313[_0xddd7(0x1f5)]:{return this[_0xddd7(0x19d)][_0xddd7(0x21c)]()[_0xddd7(0x214)](new _0x59d79d['NodeIKernelProfileListener'](_0xf3ac84));}default:return-0x1;}}[_0x2baa7e(0x20b)](_0x5573d9){const _0x1a4b06=_0x2baa7e;NTEventDispatch[_0x1a4b06(0x1dd)]({'ListenerMap':_0x59d79d,'WrapperSession':this[_0x1a4b06(0x19d)]}),this['onLoginSuccessFuncList'][_0x1a4b06(0x176)](_0x5573d9);}async[_0x2baa7e(0x18e)](_0x522a26){const _0x378cdb=_0x2baa7e,_0x2b6402={'Qxurw':function(_0x10dc9a,_0x1c460c){return _0x10dc9a!==_0x1c460c;},'CWwXs':'快速登录失败\x20'},_0x385a33=await this['loginService'][_0x378cdb(0x183)]();if(_0x2b6402[_0x378cdb(0x1d9)](_0x385a33[_0x378cdb(0x216)],0x0))throw new Error('没有可快速登录的QQ号');const _0x1a58ff=_0x385a33[_0x378cdb(0x1ee)][_0x378cdb(0x201)](_0x459a6d=>_0x459a6d[_0x378cdb(0x174)]===_0x522a26);if(!_0x1a58ff||!_0x1a58ff?.[_0x378cdb(0x17f)])throw new Error(_0x522a26+_0x378cdb(0x212));await sleep(0x3e8);const _0x5aee9b=await this['loginService'][_0x378cdb(0x1a6)](_0x522a26);if(!_0x5aee9b['result'])throw new Error(_0x2b6402[_0x378cdb(0x1af)]+_0x5aee9b[_0x378cdb(0x1fe)][_0x378cdb(0x219)]);return _0x5aee9b;}async[_0x2baa7e(0x1cc)](_0x5c5eda){const _0x3c7398=_0x2baa7e,_0xf10306={'WgSSk':_0x3c7398(0x1ff),'hoZFQ':function(_0x366e89,_0x3ba919,_0x10a33c,_0x4cc599){return _0x366e89(_0x3ba919,_0x10a33c,_0x4cc599);}};return new Promise((_0x5bde43,_0x28b5a4)=>{const _0x4e92b3=_0x3c7398,_0x3d7cb4={'cLdgp':_0xf10306[_0x4e92b3(0x210)],'UOOaR':_0x4e92b3(0x200),'FMvGK':function(_0x1fb517,_0x2066c0,_0x35229a,_0x4530a1){return _0xf10306['hoZFQ'](_0x1fb517,_0x2066c0,_0x35229a,_0x4530a1);}};this[_0x4e92b3(0x179)][_0x4e92b3(0x1a4)]=_0x4de308=>{const _0x9601c4=_0x4e92b3,_0x22e233=_0x4de308['pngBase64QrcodeData'][_0x9601c4(0x1d0)](_0x3d7cb4[_0x9601c4(0x1fa)])[0x1],_0x1d623a=Buffer[_0x9601c4(0x181)](_0x22e233,_0x3d7cb4[_0x9601c4(0x18b)]);_0x3d7cb4['FMvGK'](_0x5c5eda,_0x4de308[_0x9601c4(0x164)],_0x4de308['pngBase64QrcodeData'],_0x1d623a);},this[_0x4e92b3(0x1d2)][_0x4e92b3(0x1d6)]();});}async[_0x2baa7e(0x16c)](_0x4d343a,_0x112fab,_0x2f3dba,_0x22eb33,_0x493e2c){const _0xebd8c5=_0x2baa7e,_0x5ba156={'WUbsv':_0xebd8c5(0x1ae),'osfEL':_0xebd8c5(0x184),'shVBo':function(_0x115b03,_0x17e4b0){return _0x115b03||_0x17e4b0;},'pElqL':function(_0x52bb51,_0x441e27){return _0x52bb51(_0x441e27);},'BumYD':_0xebd8c5(0x17d),'zGJEK':_0xebd8c5(0x1fb)},_0x12bd3c=_0x48b06b[_0xebd8c5(0x21a)](_0x5ba156['WUbsv'])[_0xebd8c5(0x1f4)](_0x112fab)['digest'](_0x5ba156[_0xebd8c5(0x1ea)]),_0x1222f8={'uin':_0x4d343a,'passwordMd5':_0x12bd3c,'step':_0x2f3dba&&_0x22eb33&&_0x493e2c?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x5ba156[_0xebd8c5(0x1d4)](_0x2f3dba,''),'proofWaterRand':_0x22eb33||'','proofWaterSid':_0x5ba156[_0xebd8c5(0x1d4)](_0x493e2c,'')};await this[_0xebd8c5(0x1d2)][_0xebd8c5(0x183)](),await _0x5ba156[_0xebd8c5(0x1b4)](sleep,0x3e8);const _0x20ce65=await this['loginService']['passwordLogin'](_0x1222f8);switch(_0x20ce65[_0xebd8c5(0x216)]){case'0':{break;}case _0x5ba156['BumYD']:{break;}case'4':case _0x5ba156[_0xebd8c5(0x17c)]:default:}}async['getQuickLoginList'](){const _0x27fe86=_0x2baa7e,_0x14a9e7=await this['loginService'][_0x27fe86(0x183)]();return _0x14a9e7;}}function _0x48d3(){const _0x12796b=['快速登录不可用','resolve','addKernelProfileListener','dataPath','result','initSession\x20failed','fileLogLevel','errMsg','createHash','onMemberListChange','getProfileService','qrcodeUrl','onQRCodeSessionFailed','has','NodeIQQNTWrapperSession','onLoginFailed','uid','name','uyxgD','passwordLogin','vBxFw','DLHbK','addKernelMsgListener','initDataListener','forEach','XFwVM','MsgListener','uin','util','push','NodeIKernelLoginService','NodeIGlobalAdapter','loginListener','homedir','./nt_qq/global','zGJEK','140022008','[KickedOffLine]\x20[','isQuickLogin','proxyHandler','from','NodeIKernelBuddyListener','getLoginList','hex','630486LbnQKZ','GroupListener','get','启动失败:\x20','zARkt','3471375EuoAzJ','UOOaR','onAddSendMsg','packet_received','quickLogin','fileLog','onLoginSuccessFuncList','groupCode','set','floor','assign','本账号数据/缓存目录:','NodeIKernelGroupListener','initSession','SUUQF','consoleLogLevel','659476XjbdIp','onRecvSysMsg','Ktyyi','session','last_message_time','FueSi','getNextMemberList','NodeQQNTWrapperUtil','CTPku','FquJV','onQRCodeGetPicture','getBuddyService','quickLoginWithUin','catch','onLineDev','RAFHJ','当前账号(','constructor','NodeIDependsAdapter','PLRiV','md5','CWwXs','onProfileDetailInfoChanged','devUid','onUserLoggedIn','packet_sent','pElqL','now','YRMMH','addListener','infos','-v2.db','gJwem','40hrSHeP','GaOBq','getNTUserDataInfoConfig','502187FrcBvR','QOAJy','_GW_B','message_received','dataPathGlobal','aAvsN','memberCount','cZbQV','initWithDeskTopConfig','ProfileListener','MwbAO','V1_WIN_NQ_','initConfig','addKernelGroupListener','qrLogin','consoleLog','init\x20failed\x20','数据库初始化失败','split','OXjhy','loginService','GiIzL','shVBo','getGroupService','getQRCodePicture','getMsgService','6avErgG','Qxurw','delete','XEFxx','cfZGO','init','engine','Jduwx','JqAfk','BTYxf','5876032dAnSLw',')已登录,无法重复登录','stringify','read','1212144jCBMpM','onQRCodeLoginSucceed','onSelfStatusChanged','onSessionInitComplete','osfEL','alAWO','NodeIDispatcherAdapter','replace','LocalLoginInfoList','curVersion','ZRiRM','ZVedh','isDelete','map','update','blQdZ','bMlht','getBuddyList','undefined','then','cLdgp','140022013','账号设备(','nXSBv','loginErrorInfo','data:image/png;base64,','base64','find','60852AtLOSl','NodeIKernelLoginListener','./.config/QQ','gfKgF','Windows\x2010\x20Pro','NioDL','NodeIKernelSessionListener','18gLBazD','WtjNB','onLoginSuccess','sceneId','./NapCat/data','NodeIQQNTWrapperEngine','NodeIKernelMsgListener','WgSSk','xSWyA'];_0x48d3=function(){return _0x12796b;};return _0x48d3();}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index c59be67b..4474c951 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5c7768,_0x12617e){const _0xb3ead3=_0xdf80,_0x28bfb4=_0x5c7768();while(!![]){try{const _0x4ecd77=-parseInt(_0xb3ead3(0xb9))/0x1*(-parseInt(_0xb3ead3(0xad))/0x2)+parseInt(_0xb3ead3(0xb3))/0x3*(-parseInt(_0xb3ead3(0xa7))/0x4)+-parseInt(_0xb3ead3(0xbd))/0x5+parseInt(_0xb3ead3(0xb5))/0x6+-parseInt(_0xb3ead3(0xb6))/0x7+-parseInt(_0xb3ead3(0xa8))/0x8*(parseInt(_0xb3ead3(0xb0))/0x9)+parseInt(_0xb3ead3(0xbc))/0xa;if(_0x4ecd77===_0x12617e)break;else _0x28bfb4['push'](_0x28bfb4['shift']());}catch(_0x246b60){_0x28bfb4['push'](_0x28bfb4['shift']());}}}(_0x57ef,0x96b17));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};function _0xdf80(_0x45b835,_0x4c9d69){const _0x57ef71=_0x57ef();return _0xdf80=function(_0xdf8067,_0x4d275e){_0xdf8067=_0xdf8067-0xa7;let _0x17bae9=_0x57ef71[_0xdf8067];return _0x17bae9;},_0xdf80(_0x45b835,_0x4c9d69);}export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};function _0x57ef(){const _0x5b161d=['getGroupMembers','465516kOHYNJ','set','values','157818hzAkoU','uin','3796824OTjjhm','4218389heeRkL','forEach','delete','486806LauJGg','length','ntbOt','14734100QvZxqR','4609360tVmHBP','32sjfGHG','80ozzdok','find','groupCode','NJJcD','get','4LAuJJH','toString'];_0x57ef=function(){return _0x5b161d;};return _0x57ef();}export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x46c3d4){const _0x10034b=_0xdf80;groups[_0x10034b(0xb8)](_0x46c3d4),groupMembers[_0x10034b(0xb8)](_0x46c3d4);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getFriend(_0x57fc28){const _0x5724cc=_0xdf80,_0x356e7e={'szwpn':function(_0x48661e,_0x48b50e){return _0x48661e(_0x48b50e);}};_0x57fc28=_0x57fc28[_0x5724cc(0xae)]();if(_0x356e7e['szwpn'](isNumeric,_0x57fc28)){const _0x1edba1=Array['from'](friends['values']());return _0x1edba1[_0x5724cc(0xa9)](_0x5319c5=>_0x5319c5[_0x5724cc(0xb4)]===_0x57fc28);}else return friends[_0x5724cc(0xac)](_0x57fc28);}export async function getGroup(_0x43bd90){const _0x1e17ab=_0xdf80;let _0x59df67=groups[_0x1e17ab(0xac)](_0x43bd90['toString']());if(!_0x59df67)try{const _0x32ee25=await NTQQGroupApi['getGroups']();_0x32ee25[_0x1e17ab(0xba)]&&_0x32ee25[_0x1e17ab(0xb7)](_0x566578=>{const _0xb745bd=_0x1e17ab;groups[_0xb745bd(0xb1)](_0x566578[_0xb745bd(0xaa)],_0x566578);});}catch(_0x3cc621){return undefined;}return _0x59df67=groups[_0x1e17ab(0xac)](_0x43bd90[_0x1e17ab(0xae)]()),_0x59df67;}export async function getGroupMember(_0x2acd4f,_0x569df1){const _0x2eeda9=_0xdf80,_0x354c19={'ntbOt':function(_0x56296b,_0x2971b6){return _0x56296b(_0x2971b6);},'NJJcD':function(_0x42180d){return _0x42180d();}};_0x2acd4f=_0x2acd4f[_0x2eeda9(0xae)](),_0x569df1=_0x569df1['toString']();let _0x5c561c=groupMembers[_0x2eeda9(0xac)](_0x2acd4f);if(!_0x5c561c)try{_0x5c561c=await NTQQGroupApi['getGroupMembers'](_0x2acd4f),groupMembers['set'](_0x2acd4f,_0x5c561c);}catch(_0x5c0f8e){return null;}const _0x4f8ffc=()=>{const _0x55f271=_0x2eeda9;let _0x3ee857=undefined;return _0x354c19[_0x55f271(0xbb)](isNumeric,_0x569df1)?_0x3ee857=Array['from'](_0x5c561c[_0x55f271(0xb2)]())[_0x55f271(0xa9)](_0x5023db=>_0x5023db['uin']===_0x569df1):_0x3ee857=_0x5c561c[_0x55f271(0xac)](_0x569df1),_0x3ee857;};let _0x31339d=_0x4f8ffc();return!_0x31339d&&(_0x5c561c=await NTQQGroupApi[_0x2eeda9(0xaf)](_0x2acd4f),_0x31339d=_0x354c19[_0x2eeda9(0xab)](_0x4f8ffc)),_0x31339d;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x27c2f6,_0x11d2ca){const _0x1836bf=_0x5db4,_0x10cbe0=_0x27c2f6();while(!![]){try{const _0x731586=-parseInt(_0x1836bf(0x19b))/0x1+parseInt(_0x1836bf(0x19e))/0x2*(parseInt(_0x1836bf(0x19f))/0x3)+-parseInt(_0x1836bf(0x1af))/0x4+parseInt(_0x1836bf(0x1a5))/0x5*(parseInt(_0x1836bf(0x1a0))/0x6)+parseInt(_0x1836bf(0x1aa))/0x7+parseInt(_0x1836bf(0x1a6))/0x8*(parseInt(_0x1836bf(0x1a9))/0x9)+-parseInt(_0x1836bf(0x1a3))/0xa*(parseInt(_0x1836bf(0x1ae))/0xb);if(_0x731586===_0x11d2ca)break;else _0x10cbe0['push'](_0x10cbe0['shift']());}catch(_0x258254){_0x10cbe0['push'](_0x10cbe0['shift']());}}}(_0x3cbb,0x7e5d6));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x3cbb(){const _0xe5d8fc=['3791709jQAmBt','4842915aHTYqb','toString','forEach','VXcxB','11pIVxfi','960136YhEOsB','get','mfDiD','delete','from','179856pKxjNF','set','length','18oHuPLS','232590lpKZBs','6cZtPjX','getGroupMembers','getGroups','12063530CcnjtC','values','1664585SBfDsv','8ljlqHt','find','uin'];_0x3cbb=function(){return _0xe5d8fc;};return _0x3cbb();}export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x322074){const _0x415f93=_0x5db4;groups[_0x415f93(0x199)](_0x322074),groupMembers[_0x415f93(0x199)](_0x322074);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getFriend(_0x473e79){const _0x53d80f=_0x5db4;_0x473e79=_0x473e79[_0x53d80f(0x1ab)]();if(isNumeric(_0x473e79)){const _0x1431c4=Array[_0x53d80f(0x19a)](friends[_0x53d80f(0x1a4)]());return _0x1431c4[_0x53d80f(0x1a7)](_0x4ebe66=>_0x4ebe66['uin']===_0x473e79);}else return friends[_0x53d80f(0x197)](_0x473e79);}export async function getGroup(_0x517675){const _0x35805a=_0x5db4;let _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]());if(!_0x107e87)try{const _0x55c042=await NTQQGroupApi[_0x35805a(0x1a2)]();_0x55c042[_0x35805a(0x19d)]&&_0x55c042[_0x35805a(0x1ac)](_0x6a1203=>{groups['set'](_0x6a1203['groupCode'],_0x6a1203);});}catch(_0x3c74a8){return undefined;}return _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]()),_0x107e87;}export async function getGroupMember(_0x1c4b88,_0x1ae479){const _0x148d29=_0x5db4,_0xcb04f6={'mfDiD':function(_0x34d378,_0x2bbc53){return _0x34d378(_0x2bbc53);},'VXcxB':function(_0x2452b3){return _0x2452b3();}};_0x1c4b88=_0x1c4b88[_0x148d29(0x1ab)](),_0x1ae479=_0x1ae479['toString']();let _0x42f835=groupMembers['get'](_0x1c4b88);if(!_0x42f835)try{_0x42f835=await NTQQGroupApi['getGroupMembers'](_0x1c4b88),groupMembers[_0x148d29(0x19c)](_0x1c4b88,_0x42f835);}catch(_0x774301){return null;}const _0x1f381e=()=>{const _0x24b812=_0x148d29;let _0x53e789=undefined;return _0xcb04f6[_0x24b812(0x198)](isNumeric,_0x1ae479)?_0x53e789=Array[_0x24b812(0x19a)](_0x42f835[_0x24b812(0x1a4)]())[_0x24b812(0x1a7)](_0x353f12=>_0x353f12[_0x24b812(0x1a8)]===_0x1ae479):_0x53e789=_0x42f835[_0x24b812(0x197)](_0x1ae479),_0x53e789;};let _0x10cc4a=_0xcb04f6['VXcxB'](_0x1f381e);return!_0x10cc4a&&(_0x42f835=await NTQQGroupApi[_0x148d29(0x1a1)](_0x1c4b88),_0x10cc4a=_0xcb04f6[_0x148d29(0x1ad)](_0x1f381e)),_0x10cc4a;}function _0x5db4(_0x66df28,_0x127c58){const _0x3cbb10=_0x3cbb();return _0x5db4=function(_0x5db406,_0x3ef3b8){_0x5db406=_0x5db406-0x197;let _0xf2eaf3=_0x3cbb10[_0x5db406];return _0xf2eaf3;},_0x5db4(_0x66df28,_0x127c58);}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index da4153f7..3616b098 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x1da9d2,_0x285933){var _0x5141e0=_0x193e,_0x4f6665=_0x1da9d2();while(!![]){try{var _0x105878=-parseInt(_0x5141e0(0xb4))/0x1+parseInt(_0x5141e0(0xbf))/0x2*(-parseInt(_0x5141e0(0xc3))/0x3)+-parseInt(_0x5141e0(0xbb))/0x4*(parseInt(_0x5141e0(0xb1))/0x5)+-parseInt(_0x5141e0(0xc0))/0x6*(-parseInt(_0x5141e0(0xbd))/0x7)+parseInt(_0x5141e0(0xc2))/0x8*(parseInt(_0x5141e0(0xb3))/0x9)+parseInt(_0x5141e0(0xb9))/0xa*(-parseInt(_0x5141e0(0xc5))/0xb)+parseInt(_0x5141e0(0xb8))/0xc*(parseInt(_0x5141e0(0xb5))/0xd);if(_0x105878===_0x285933)break;else _0x4f6665['push'](_0x4f6665['shift']());}catch(_0x30fe5a){_0x4f6665['push'](_0x4f6665['shift']());}}}(_0x4aad,0xcea41));function _0x193e(_0x36077c,_0x3f030e){var _0x4aad36=_0x4aad();return _0x193e=function(_0x193ef5,_0x1eafe9){_0x193ef5=_0x193ef5-0xb0;var _0x21082f=_0x4aad36[_0x193ef5];return _0x21082f;},_0x193e(_0x36077c,_0x3f030e);};export var CacheFileType;(function(_0x43cd4d){var _0x420250=_0x193e,_0x2e3ad3={'WrVCT':'IMAGE','LhiXh':_0x420250(0xc1),'gKoOh':_0x420250(0xb6),'uFZbe':_0x420250(0xb0),'XdmJW':_0x420250(0xc4)};_0x43cd4d[_0x43cd4d[_0x420250(0xb2)]=0x0]=_0x2e3ad3[_0x420250(0xb7)],_0x43cd4d[_0x43cd4d[_0x2e3ad3['LhiXh']]=0x1]=_0x2e3ad3[_0x420250(0xba)],_0x43cd4d[_0x43cd4d[_0x2e3ad3[_0x420250(0xbc)]]=0x2]=_0x2e3ad3[_0x420250(0xbc)],_0x43cd4d[_0x43cd4d[_0x2e3ad3['uFZbe']]=0x3]=_0x2e3ad3['uFZbe'],_0x43cd4d[_0x43cd4d[_0x2e3ad3[_0x420250(0xbe)]]=0x4]=_0x420250(0xc4);}(CacheFileType||(CacheFileType={})));function _0x4aad(){var _0x202598=['6290trGxrw','LhiXh','343156fCpeQH','gKoOh','5943833jzzLPY','XdmJW','14tCnrUT','6ziHvME','VIDEO','32dkUclu','236946wZebiQ','OTHER','24431WYtjwI','DOCUMENT','65RMGolk','IMAGE','1078407cYDmwe','1184801ElygHo','16327701KjttVM','AUDIO','WrVCT','36ONnUtS'];_0x4aad=function(){return _0x202598;};return _0x4aad();} \ No newline at end of file +(function(_0x5d59d3,_0x2e8fae){var _0x1bf3ff=_0x5cdf,_0x5a7576=_0x5d59d3();while(!![]){try{var _0x4e9f46=parseInt(_0x1bf3ff(0x137))/0x1*(parseInt(_0x1bf3ff(0x136))/0x2)+parseInt(_0x1bf3ff(0x133))/0x3+-parseInt(_0x1bf3ff(0x131))/0x4+parseInt(_0x1bf3ff(0x13a))/0x5+-parseInt(_0x1bf3ff(0x12f))/0x6*(-parseInt(_0x1bf3ff(0x139))/0x7)+-parseInt(_0x1bf3ff(0x12e))/0x8*(parseInt(_0x1bf3ff(0x129))/0x9)+-parseInt(_0x1bf3ff(0x12d))/0xa*(parseInt(_0x1bf3ff(0x13c))/0xb);if(_0x4e9f46===_0x2e8fae)break;else _0x5a7576['push'](_0x5a7576['shift']());}catch(_0x246536){_0x5a7576['push'](_0x5a7576['shift']());}}}(_0x4c16,0x9fab4));function _0x5cdf(_0x34552e,_0x47c61e){var _0x4c163d=_0x4c16();return _0x5cdf=function(_0x5cdf66,_0x1acbc9){_0x5cdf66=_0x5cdf66-0x129;var _0x5eadee=_0x4c163d[_0x5cdf66];return _0x5eadee;},_0x5cdf(_0x34552e,_0x47c61e);};function _0x4c16(){var _0x52c86c=['AUDIO','431211TtKEDe','OCOHq','DOCUMENT','8832834UEuRDk','IMAGE','OTHER','2|0|1|4|3','370nIEzXE','8oRNUuI','7662LZqKXA','VIDEO','1833312rfAyUE','XsgJx','2414547ZeNUBg','YGggh','rNNrm','6nBrXeG','203493kboEFa','qNfvT','7035VkweyR','4227410CkGzUV'];_0x4c16=function(){return _0x52c86c;};return _0x4c16();}export var CacheFileType;(function(_0x37c57a){var _0xf6bd6c=_0x5cdf,_0x25e57b={'rNNrm':_0xf6bd6c(0x12c),'baxRs':_0xf6bd6c(0x130),'OCOHq':_0xf6bd6c(0x13b),'XsgJx':_0xf6bd6c(0x12a),'YGggh':_0xf6bd6c(0x12b),'qNfvT':_0xf6bd6c(0x13e)},_0x4cd544=_0x25e57b[_0xf6bd6c(0x135)]['split']('|'),_0x4147b1=0x0;while(!![]){switch(_0x4cd544[_0x4147b1++]){case'0':_0x37c57a[_0x37c57a[_0xf6bd6c(0x130)]=0x1]=_0x25e57b['baxRs'];continue;case'1':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x13d)]]=0x2]=_0xf6bd6c(0x13b);continue;case'2':_0x37c57a[_0x37c57a[_0x25e57b['XsgJx']]=0x0]=_0x25e57b[_0xf6bd6c(0x132)];continue;case'3':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x134)]]=0x4]=_0xf6bd6c(0x12b);continue;case'4':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x138)]]=0x3]=_0x25e57b['qNfvT'];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 237bf230..4efa33fd 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x489f3a=_0x2aaa;(function(_0x274000,_0x4673b1){const _0x167f32=_0x2aaa,_0x3c9513=_0x274000();while(!![]){try{const _0x3a4242=parseInt(_0x167f32(0x101))/0x1*(parseInt(_0x167f32(0xe2))/0x2)+-parseInt(_0x167f32(0xe4))/0x3+parseInt(_0x167f32(0xe7))/0x4*(-parseInt(_0x167f32(0xa8))/0x5)+-parseInt(_0x167f32(0xdd))/0x6*(-parseInt(_0x167f32(0x102))/0x7)+-parseInt(_0x167f32(0xd8))/0x8+-parseInt(_0x167f32(0xfd))/0x9*(-parseInt(_0x167f32(0xb1))/0xa)+parseInt(_0x167f32(0xec))/0xb;if(_0x3a4242===_0x4673b1)break;else _0x3c9513['push'](_0x3c9513['shift']());}catch(_0xe0084f){_0x3c9513['push'](_0x3c9513['shift']());}}}(_0x30db,0xe5260));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x2aaa(_0x3e311b,_0x2e8954){const _0x30dbeb=_0x30db();return _0x2aaa=function(_0x2aaa3f,_0x1ea520){_0x2aaa3f=_0x2aaa3f-0x9d;let _0x4f91c3=_0x30dbeb[_0x2aaa3f];return _0x4f91c3;},_0x2aaa(_0x3e311b,_0x2e8954);}import{promises as _0x28769f}from'node:fs';import _0x31f474 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 _0x2498b9 from'./face_config.json';import*as _0x2421c6 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x489f3a(0xe9)](_0x167d96){const _0x27fae7=_0x489f3a;return{'elementType':ElementType[_0x27fae7(0xd9)],'elementId':'','textElement':{'content':_0x167d96,'atType':AtType[_0x27fae7(0xfc)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x3b632f,_0x592254,_0x5384a7,_0x3cc594){const _0x2c12c5=_0x489f3a;return{'elementType':ElementType[_0x2c12c5(0xd9)],'elementId':'','textElement':{'content':'@'+_0x3cc594,'atType':_0x5384a7,'atUid':_0x3b632f,'atTinyId':'','atNtUid':_0x592254}};}static[_0x489f3a(0xe5)](_0x326e5d,_0x4e7c0e,_0x261b6f,_0x544981){const _0xd2e2a=_0x489f3a;return{'elementType':ElementType[_0xd2e2a(0xd7)],'elementId':'','replyElement':{'replayMsgSeq':_0x326e5d,'replayMsgId':_0x4e7c0e,'senderUin':_0x261b6f,'senderUinStr':_0x544981}};}static async['pic'](_0x2001ff,_0x5b48f0='',_0x28ff98=0x0){const _0x5ab67f=_0x489f3a,_0x551495={'sEkca':_0x5ab67f(0xaa)},{md5:_0xc4ca94,fileName:_0x63576b,path:_0x1302b4,fileSize:_0x11be9b}=await NTQQFileApi[_0x5ab67f(0xe1)](_0x2001ff,ElementType[_0x5ab67f(0xf5)],_0x28ff98);if(_0x11be9b===0x0)throw _0x551495[_0x5ab67f(0xbe)];const _0x4e68f6=await NTQQFileApi[_0x5ab67f(0xc1)](_0x2001ff),_0x3f31bb={'md5HexStr':_0xc4ca94,'fileSize':_0x11be9b[_0x5ab67f(0xa5)](),'picWidth':_0x4e68f6?.[_0x5ab67f(0x100)],'picHeight':_0x4e68f6?.[_0x5ab67f(0xa2)],'fileName':_0x63576b,'sourcePath':_0x1302b4,'original':!![],'picType':isGIF(_0x2001ff)?PicType[_0x5ab67f(0xa6)]:PicType[_0x5ab67f(0xaf)],'picSubType':_0x28ff98,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5b48f0};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x3f31bb};}static async[_0x489f3a(0xd5)](_0x22516a,_0x442ff9='',_0x35b58b=''){const _0x425580=_0x489f3a,_0x2db940={'SXejI':function(_0x50a300,_0x5a4c2a){return _0x50a300===_0x5a4c2a;},'UobJj':_0x425580(0xaa),'jzGuw':function(_0xdcc38,_0xcadbeb){return _0xdcc38||_0xcadbeb;}},{md5:_0xe8bbcc,fileName:_0x2a0363,path:_0x59b754,fileSize:_0x37cec1}=await NTQQFileApi[_0x425580(0xe1)](_0x22516a,ElementType[_0x425580(0xbf)]);if(_0x2db940[_0x425580(0xad)](_0x37cec1,0x0))throw _0x2db940[_0x425580(0xf8)];const _0x241b14={'elementType':ElementType[_0x425580(0xbf)],'elementId':'','fileElement':{'fileName':_0x2db940[_0x425580(0xb7)](_0x442ff9,_0x2a0363),'folderId':_0x35b58b,'filePath':_0x59b754,'fileSize':_0x37cec1[_0x425580(0xa5)]()}};return _0x241b14;}static async[_0x489f3a(0xa3)](_0x525266,_0x2aa272='',_0x2cdbfa=''){const _0x2c03c3=_0x489f3a,_0x1f30da={'pkPYB':function(_0x41f3d8,_0x192d6c){return _0x41f3d8(_0x192d6c);},'IAOlw':function(_0x59504d,_0x3d0609,_0x544847){return _0x59504d(_0x3d0609,_0x544847);},'jmGKM':function(_0xa2939f,_0x9e3710){return _0xa2939f(_0x9e3710);},'cQMwj':_0x2c03c3(0xe8),'bIBkS':_0x2c03c3(0xc6),'hdgXP':function(_0x124b9f,_0x5c691e){return _0x124b9f+_0x5c691e;},'mQiVV':function(_0x4caef7,_0x47601e){return _0x4caef7+_0x47601e;},'vSLNQ':function(_0x29e844,_0x4aab6c){return _0x29e844===_0x4aab6c;},'sVevU':_0x2c03c3(0xaa),'XGDeH':_0x2c03c3(0xcc),'THXCU':function(_0x5c1ecc,_0x358ca3){return _0x5c1ecc(_0x358ca3);},'VkBSp':function(_0x56d251,_0x530c77,_0x339fe4){return _0x56d251(_0x530c77,_0x339fe4);},'oWzxC':_0x2c03c3(0xd6),'LIYUm':function(_0x269e45,_0x28c246){return _0x269e45||_0x28c246;}},{fileName:_0x991af0,path:_0x553d6b,fileSize:_0x3fe676,md5:_0x48f89c}=await NTQQFileApi[_0x2c03c3(0xe1)](_0x525266,ElementType[_0x2c03c3(0xd3)]);if(_0x1f30da[_0x2c03c3(0xfa)](_0x3fe676,0x0))throw _0x1f30da[_0x2c03c3(0xf7)];let _0x2fc4aa=_0x553d6b[_0x2c03c3(0xce)](_0x2421c6[_0x2c03c3(0xb3)]+_0x2c03c3(0xb5)+_0x2421c6[_0x2c03c3(0xb3)],_0x2421c6[_0x2c03c3(0xb3)]+'Thumb'+_0x2421c6[_0x2c03c3(0xb3)]);_0x2fc4aa=_0x2421c6['dirname'](_0x2fc4aa);let _0x28cdc7={'width':0x780,'height':0x438,'time':0xf,'format':_0x1f30da[_0x2c03c3(0xc0)],'size':_0x3fe676,'filePath':_0x525266};try{_0x28cdc7=await _0x1f30da[_0x2c03c3(0xf6)](getVideoInfo,_0x553d6b);}catch(_0x26aa0c){_0x1f30da[_0x2c03c3(0xca)](logError,_0x1f30da[_0x2c03c3(0xb0)],_0x26aa0c);}const _0x5995d7=new Promise((_0x5eda1e,_0xda69a1)=>{const _0x329db2=_0x2c03c3,_0x2a86f9={'oCIEr':function(_0x11abda,_0x24b123){const _0x3da3d4=_0x2aaa;return _0x1f30da[_0x3da3d4(0xc8)](_0x11abda,_0x24b123);}},_0x32f58a=_0x48f89c+_0x329db2(0xe3),_0x212c9b=_0x2421c6[_0x329db2(0xa9)](_0x2fc4aa,_0x32f58a);_0x1f30da[_0x329db2(0xc8)](_0x31f474,_0x525266)['on'](_0x1f30da[_0x329db2(0xba)],()=>{})['on'](_0x1f30da[_0x329db2(0xdb)],_0x345b15=>{const _0x574f6c=_0x329db2,_0x592bfa={'iSFjd':function(_0x142541,_0x1e50a6){return _0x1f30da['pkPYB'](_0x142541,_0x1e50a6);}};_0x1f30da[_0x574f6c(0xe0)](logDebug,_0x574f6c(0xef),_0x345b15),_0x2cdbfa?_0x28769f[_0x574f6c(0xa0)](_0x2cdbfa,_0x212c9b)['then'](()=>{const _0x3948a1=_0x574f6c;_0x592bfa[_0x3948a1(0xc5)](_0x5eda1e,_0x212c9b);})[_0x574f6c(0xb9)](_0xda69a1):_0x28769f[_0x574f6c(0xff)](_0x212c9b,defaultVideoThumb)['then'](()=>{const _0x1f063e=_0x574f6c;_0x592bfa[_0x1f063e(0xc5)](_0x5eda1e,_0x212c9b);})[_0x574f6c(0xb9)](_0xda69a1);})[_0x329db2(0xdf)]({'timestamps':[0x0],'filename':_0x32f58a,'folder':_0x2fc4aa,'size':_0x1f30da['hdgXP'](_0x1f30da[_0x329db2(0xb8)](_0x28cdc7['width'],'x'),_0x28cdc7[_0x329db2(0xa2)])})['on'](_0x1f30da[_0x329db2(0xba)],()=>{const _0x15227c=_0x329db2;_0x2a86f9[_0x15227c(0xf9)](_0x5eda1e,_0x212c9b);});}),_0x655da7=new Map(),_0x577588=await _0x5995d7,_0x4d9362=(await _0x28769f[_0x2c03c3(0xa1)](_0x577588))[_0x2c03c3(0xc3)];_0x655da7[_0x2c03c3(0x103)](0x0,_0x577588);const _0x1bc085=await calculateFileMD5(_0x577588),_0x20cb63={'elementType':ElementType['VIDEO'],'elementId':'','videoElement':{'fileName':_0x1f30da[_0x2c03c3(0xc4)](_0x2aa272,_0x991af0),'filePath':_0x553d6b,'videoMd5':_0x48f89c,'thumbMd5':_0x1bc085,'fileTime':_0x28cdc7[_0x2c03c3(0xab)],'thumbPath':_0x655da7,'thumbSize':_0x4d9362,'thumbWidth':_0x28cdc7[_0x2c03c3(0x100)],'thumbHeight':_0x28cdc7[_0x2c03c3(0xa2)],'fileSize':''+_0x3fe676}};return _0x20cb63;}static async[_0x489f3a(0xcb)](_0x8804a1){const _0x314f3f=_0x489f3a,_0x31bfa7={'DSClR':function(_0x31ffdb,_0x54d2e8){return _0x31ffdb(_0x54d2e8);},'fTPTy':_0x314f3f(0xf1),'GXvDv':function(_0x37b11c,_0x202f5e){return _0x37b11c===_0x202f5e;},'MtInG':_0x314f3f(0xaa)},{converted:_0x2b2216,path:_0x4df898,duration:_0x3bb174}=await _0x31bfa7[_0x314f3f(0xcf)](encodeSilk,_0x8804a1);if(!_0x4df898)throw _0x31bfa7['fTPTy'];const {md5:_0xb958dc,fileName:_0x1908f4,path:_0x42e837,fileSize:_0x197b17}=await NTQQFileApi[_0x314f3f(0xe1)](_0x4df898,ElementType[_0x314f3f(0xa7)]);if(_0x31bfa7[_0x314f3f(0xf3)](_0x197b17,0x0))throw _0x31bfa7[_0x314f3f(0xa4)];return _0x2b2216&&_0x28769f['unlink'](_0x4df898)[_0x314f3f(0xcd)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x1908f4,'filePath':_0x42e837,'md5HexStr':_0xb958dc,'fileSize':_0x197b17,'duration':_0x3bb174||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[_0x489f3a(0xbb)](_0x2b7878){const _0x5a613a=_0x489f3a,_0x442f7b={'PcRzl':function(_0x5e40d4,_0x2e7764){return _0x5e40d4(_0x2e7764);},'rDKyu':function(_0x521656,_0x291db9){return _0x521656>=_0x291db9;}},_0x557ba3=_0x2498b9[_0x5a613a(0xee)],_0x25ac1e=_0x2498b9['emoji'],_0x4095f0=_0x557ba3[_0x5a613a(0xea)](_0x3608a0=>_0x3608a0[_0x5a613a(0xe6)]===_0x2b7878[_0x5a613a(0xa5)]());_0x2b7878=_0x442f7b[_0x5a613a(0xb6)](parseInt,_0x2b7878[_0x5a613a(0xa5)]());let _0x350e5f=0x1;return _0x442f7b[_0x5a613a(0xbd)](_0x2b7878,0xde)&&(_0x350e5f=0x2),_0x4095f0[_0x5a613a(0xc9)]&&(_0x350e5f=0x3),{'elementType':ElementType[_0x5a613a(0xf2)],'elementId':'','faceElement':{'faceIndex':_0x2b7878,'faceType':_0x350e5f,'faceText':_0x4095f0['QDes'],'stickerId':_0x4095f0[_0x5a613a(0xc2)],'stickerType':_0x4095f0['AniStickerType'],'packId':_0x4095f0[_0x5a613a(0xd2)],'sourceType':0x1}};}static['mface'](_0x30e93f,_0x4ab0ac,_0x351196,_0x56b8de){const _0x4c6e69=_0x489f3a,_0x31d54b={'gmLwx':_0x4c6e69(0xed)};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x30e93f,'emojiId':_0x4ab0ac,'key':_0x351196,'faceName':_0x56b8de||mFaceCache['get'](_0x4ab0ac)||_0x31d54b['gmLwx']}};}static[_0x489f3a(0x9d)](_0x4da4a3){const _0x45889a=_0x489f3a,_0x52d301={'RTnWc':_0x45889a(0xf0)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x45889a(0x9d)],'faceType':FaceType['dice'],'faceText':_0x52d301[_0x45889a(0x9e)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x489f3a(0xfe)](_0x197295){const _0x303db3=_0x489f3a,_0x4c16a3={'vvaSn':'[包剪锤]'};return{'elementType':ElementType[_0x303db3(0xf2)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x4c16a3['vvaSn'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x1027f6){const _0x5b17c2=_0x489f3a,_0x342ec8={'XCGnr':function(_0x664037,_0x5d3f6f){return _0x664037!==_0x5d3f6f;},'hXBIH':_0x5b17c2(0xd4)};return _0x342ec8['XCGnr'](typeof _0x1027f6,_0x342ec8[_0x5b17c2(0xfb)])&&(_0x1027f6=JSON[_0x5b17c2(0xde)](_0x1027f6)),{'elementType':ElementType[_0x5b17c2(0xac)],'elementId':'','arkElement':{'bytesData':_0x1027f6,'linkInfo':null,'subElementType':null}};}static[_0x489f3a(0x9f)](_0x13ccb2){const _0x116127=_0x489f3a;return{'elementType':ElementType[_0x116127(0xdc)],'elementId':'','markdownElement':{'content':_0x13ccb2}};}static async[_0x489f3a(0xb4)](){const _0x4cac15=_0x489f3a,_0x1a6a90={'cBlPV':function(_0x5d9317,_0x30cbae){return _0x5d9317(_0x30cbae);},'EIMCc':_0x4cac15(0xd1),'qmRwc':_0x4cac15(0xb2),'aSSSH':_0x4cac15(0xbc),'JUfkx':_0x4cac15(0xc7)};let _0x164ad1=await _0x1a6a90[_0x4cac15(0xae)](SignMiniApp,{'prompt':_0x1a6a90[_0x4cac15(0xf4)],'title':_0x4cac15(0xd1),'preview':_0x1a6a90[_0x4cac15(0xda)],'jumpUrl':_0x1a6a90[_0x4cac15(0xeb)],'tag':_0x1a6a90[_0x4cac15(0xf4)],'tagIcon':_0x1a6a90[_0x4cac15(0xd0)],'source':_0x1a6a90['EIMCc'],'sourcelogo':_0x1a6a90[_0x4cac15(0xd0)]});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x164ad1,'linkInfo':null,'subElementType':null}};}}function _0x30db(){const _0x1de806=['133XSIATn','set','dice','RTnWc','markdown','copyFile','stat','height','video','MtInG','toString','gif','PTT','5bRVNFa','join','文件异常,大小为0','time','ARK','SXejI','cBlPV','jpg','oWzxC','10Lsdywg','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','sep','miniapp','Ori','PcRzl','jzGuw','mQiVV','catch','cQMwj','face','https://www.bilibili.com/','rDKyu','sEkca','FILE','XGDeH','getImageSize','AniStickerId','size','LIYUm','iSFjd','error','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','jmGKM','AniStickerType','VkBSp','ptt','mp4','then','replace','DSClR','JUfkx','Bot\x20Test','AniStickerPackId','VIDEO','string','file','获取视频信息失败','REPLY','11848752dFQJWi','TEXT','qmRwc','bIBkS','MARKDOWN','66390pKMRqF','stringify','screenshots','IAOlw','uploadFile','4lrMSam','_0.png','1980879EYeayB','reply','QSid','5091932VjzXWD','end','text','find','aSSSH','22092928oCSwNy','[商城表情]','sysface','获取视频封面失败,使用默认封面','[骰子]','语音转换失败,\x20请检查语音文件是否正常','FACE','GXvDv','EIMCc','PIC','THXCU','sVevU','UobJj','oCIEr','vSLNQ','hXBIH','notAt','5401989ZyVmHq','rps','writeFile','width','767029QRlngI'];_0x30db=function(){return _0x1de806;};return _0x30db();} \ No newline at end of file +const _0x29b812=_0x2bba;(function(_0x49b9e2,_0x13013b){const _0x4e922a=_0x2bba,_0x2932ab=_0x49b9e2();while(!![]){try{const _0x13221d=-parseInt(_0x4e922a(0x213))/0x1*(parseInt(_0x4e922a(0x22e))/0x2)+parseInt(_0x4e922a(0x221))/0x3*(parseInt(_0x4e922a(0x23c))/0x4)+parseInt(_0x4e922a(0x1f6))/0x5*(parseInt(_0x4e922a(0x1f5))/0x6)+-parseInt(_0x4e922a(0x220))/0x7*(parseInt(_0x4e922a(0x22d))/0x8)+-parseInt(_0x4e922a(0x225))/0x9+-parseInt(_0x4e922a(0x227))/0xa+-parseInt(_0x4e922a(0x23f))/0xb*(-parseInt(_0x4e922a(0x216))/0xc);if(_0x13221d===_0x13013b)break;else _0x2932ab['push'](_0x2932ab['shift']());}catch(_0x170b45){_0x2932ab['push'](_0x2932ab['shift']());}}}(_0x42dd,0x19bc1));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2e7715}from'node:fs';function _0x42dd(){const _0x5798a8=['replace','IzDvQ','sysface','AniStickerId','2LsUgQY','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','QDes','12BMVIeC','Bot\x20Test','time','ARK','reply','unlink','thOKJ','miniapp','文件异常,大小为0','ptt','14zOzjam','230313xdrOqK','width','SvagZ','[包剪锤]','1500750IxjRyq','jpg','510040ALwmHj','oRAbt','catch','gkMEn','Ori','IwDps','206376wPHcfG','15182mvKcBj','xaKlV','AniStickerType','VIDEO','find','then','video','语音转换失败,\x20请检查语音文件是否正常','QSid','height','face','PTT','RPS','cqtJK','4GAJuBO','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','cuJfa','2297647WyRExa','screenshots','SxjWF','FIhtr','https://www.bilibili.com/','[商城表情]','MFACE','stat','uploadFile','Thumb','AniStickerPackId','TEXT','set','pfluQ','toString','writeFile','FILE','oMTVQ','end','32934HhIBAP','95DLJAzg','GwDzc','rps','MTqvM','FACE','mp4','error','GsEId','sep','RwcLc','text','yDngx','获取视频信息失败','FEfsK','KMhnW','PIC','XLrxw','markdown','VbHcm','file','size','ark','MARKDOWN','get','dice'];_0x42dd=function(){return _0x5798a8;};return _0x42dd();}function _0x2bba(_0x372693,_0x221025){const _0x42dd2c=_0x42dd();return _0x2bba=function(_0x2bba47,_0x575337){_0x2bba47=_0x2bba47-0x1ec;let _0x5742e6=_0x42dd2c[_0x2bba47];return _0x5742e6;},_0x2bba(_0x372693,_0x221025);}import _0x4d30f2 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 _0xdc8a5b from'./face_config.json';import*as _0x5cfedc from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x29b812(0x200)](_0x57fdf4){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x57fdf4,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x58ab5d,_0x40ecea,_0x9d588d,_0x17f72e){const _0x17d765=_0x29b812;return{'elementType':ElementType[_0x17d765(0x1ed)],'elementId':'','textElement':{'content':'@'+_0x17f72e,'atType':_0x9d588d,'atUid':_0x58ab5d,'atTinyId':'','atNtUid':_0x40ecea}};}static[_0x29b812(0x21a)](_0x48b8fa,_0x139028,_0x5e1341,_0x20c32b){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x48b8fa,'replayMsgId':_0x139028,'senderUin':_0x5e1341,'senderUinStr':_0x20c32b}};}static async['pic'](_0x5edee5,_0x59dd25='',_0x52cfec=0x0){const _0x58c1b7=_0x29b812,_0x43b403={'xaKlV':function(_0x531d70,_0x4407a3){return _0x531d70===_0x4407a3;}},{md5:_0x3cc2e7,fileName:_0x2b11de,path:_0x129220,fileSize:_0x3f7081}=await NTQQFileApi[_0x58c1b7(0x247)](_0x5edee5,ElementType[_0x58c1b7(0x205)],_0x52cfec);if(_0x43b403[_0x58c1b7(0x22f)](_0x3f7081,0x0))throw _0x58c1b7(0x21e);const _0x43c205=await NTQQFileApi['getImageSize'](_0x5edee5),_0x24e08a={'md5HexStr':_0x3cc2e7,'fileSize':_0x3f7081[_0x58c1b7(0x1f0)](),'picWidth':_0x43c205?.['width'],'picHeight':_0x43c205?.['height'],'fileName':_0x2b11de,'sourcePath':_0x129220,'original':!![],'picType':isGIF(_0x5edee5)?PicType['gif']:PicType[_0x58c1b7(0x226)],'picSubType':_0x52cfec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x59dd25};return{'elementType':ElementType[_0x58c1b7(0x205)],'elementId':'','picElement':_0x24e08a};}static async[_0x29b812(0x209)](_0x4c4f66,_0xe9d930='',_0x4c4b24=''){const _0x5a01ed=_0x29b812,_0x532772={'IwDps':function(_0x12547f,_0x515bce){return _0x12547f||_0x515bce;}},{md5:_0x37ddcb,fileName:_0x5b23fd,path:_0x55d842,fileSize:_0x6bbb1d}=await NTQQFileApi[_0x5a01ed(0x247)](_0x4c4f66,ElementType[_0x5a01ed(0x1f2)]);if(_0x6bbb1d===0x0)throw _0x5a01ed(0x21e);const _0x1d983f={'elementType':ElementType[_0x5a01ed(0x1f2)],'elementId':'','fileElement':{'fileName':_0x532772[_0x5a01ed(0x22c)](_0xe9d930,_0x5b23fd),'folderId':_0x4c4b24,'filePath':_0x55d842,'fileSize':_0x6bbb1d[_0x5a01ed(0x1f0)]()}};return _0x1d983f;}static async[_0x29b812(0x234)](_0x4a1e7b,_0x3fdfe6='',_0x2ae14d=''){const _0x13dc2c=_0x29b812,_0x4644a6={'MTqvM':function(_0x5c61e0,_0x576a2c){return _0x5c61e0(_0x576a2c);},'yDngx':'获取视频封面失败,使用默认封面','SxjWF':_0x13dc2c(0x1f4),'pfluQ':_0x13dc2c(0x1fc),'KMhnW':function(_0x4d5fbf,_0x157b0a){return _0x4d5fbf+_0x157b0a;},'thOKJ':function(_0x21f925,_0x529505){return _0x21f925===_0x529505;},'cqtJK':_0x13dc2c(0x21e),'oMTVQ':function(_0x7b9a75,_0x801ef7,_0x17cefa){return _0x7b9a75(_0x801ef7,_0x17cefa);},'GsEId':_0x13dc2c(0x202),'gkMEn':function(_0x2e4f3a,_0x74c432){return _0x2e4f3a||_0x74c432;}},{fileName:_0x27e19d,path:_0x3a9137,fileSize:_0x54ffce,md5:_0x3f3359}=await NTQQFileApi[_0x13dc2c(0x247)](_0x4a1e7b,ElementType[_0x13dc2c(0x231)]);if(_0x4644a6[_0x13dc2c(0x21c)](_0x54ffce,0x0))throw _0x4644a6[_0x13dc2c(0x23b)];let _0x56a651=_0x3a9137[_0x13dc2c(0x20f)](_0x5cfedc[_0x13dc2c(0x1fe)]+_0x13dc2c(0x22b)+_0x5cfedc[_0x13dc2c(0x1fe)],_0x5cfedc['sep']+_0x13dc2c(0x248)+_0x5cfedc[_0x13dc2c(0x1fe)]);_0x56a651=_0x5cfedc['dirname'](_0x56a651);let _0x520297={'width':0x780,'height':0x438,'time':0xf,'format':_0x13dc2c(0x1fb),'size':_0x54ffce,'filePath':_0x4a1e7b};try{_0x520297=await getVideoInfo(_0x3a9137);}catch(_0xfea553){_0x4644a6[_0x13dc2c(0x1f3)](logError,_0x4644a6[_0x13dc2c(0x1fd)],_0xfea553);}const _0x3790de=new Promise((_0x17f971,_0x171a8d)=>{const _0x4d4a76=_0x13dc2c,_0x2e09fd={'FEfsK':function(_0x190abf,_0x2873f8){const _0x233096=_0x2bba;return _0x4644a6[_0x233096(0x1f9)](_0x190abf,_0x2873f8);},'fvVEP':function(_0x3f4f32,_0x2e1492,_0x51113a){return _0x3f4f32(_0x2e1492,_0x51113a);},'GwDzc':_0x4644a6[_0x4d4a76(0x201)]},_0x3240fb=_0x3f3359+'_0.png',_0x4259e7=_0x5cfedc['join'](_0x56a651,_0x3240fb);_0x4644a6['MTqvM'](_0x4d30f2,_0x4a1e7b)['on'](_0x4644a6[_0x4d4a76(0x241)],()=>{})['on'](_0x4644a6[_0x4d4a76(0x1ef)],_0x1a551a=>{const _0x2ed9c2=_0x4d4a76;_0x2e09fd['fvVEP'](logDebug,_0x2e09fd[_0x2ed9c2(0x1f7)],_0x1a551a),_0x2ae14d?_0x2e7715['copyFile'](_0x2ae14d,_0x4259e7)[_0x2ed9c2(0x233)](()=>{const _0x2f6d9d=_0x2ed9c2;_0x2e09fd[_0x2f6d9d(0x203)](_0x17f971,_0x4259e7);})['catch'](_0x171a8d):_0x2e7715[_0x2ed9c2(0x1f1)](_0x4259e7,defaultVideoThumb)[_0x2ed9c2(0x233)](()=>{_0x17f971(_0x4259e7);})[_0x2ed9c2(0x229)](_0x171a8d);})[_0x4d4a76(0x240)]({'timestamps':[0x0],'filename':_0x3240fb,'folder':_0x56a651,'size':_0x4644a6[_0x4d4a76(0x204)](_0x4644a6[_0x4d4a76(0x204)](_0x520297['width'],'x'),_0x520297[_0x4d4a76(0x237)])})['on'](_0x4644a6['SxjWF'],()=>{const _0x361a1a=_0x4d4a76;_0x2e09fd[_0x361a1a(0x203)](_0x17f971,_0x4259e7);});}),_0x237d25=new Map(),_0x5bdc19=await _0x3790de,_0x21adeb=(await _0x2e7715[_0x13dc2c(0x246)](_0x5bdc19))[_0x13dc2c(0x20a)];_0x237d25[_0x13dc2c(0x1ee)](0x0,_0x5bdc19);const _0x3bfa69=await _0x4644a6[_0x13dc2c(0x1f9)](calculateFileMD5,_0x5bdc19),_0x4b2b34={'elementType':ElementType[_0x13dc2c(0x231)],'elementId':'','videoElement':{'fileName':_0x4644a6[_0x13dc2c(0x22a)](_0x3fdfe6,_0x27e19d),'filePath':_0x3a9137,'videoMd5':_0x3f3359,'thumbMd5':_0x3bfa69,'fileTime':_0x520297[_0x13dc2c(0x218)],'thumbPath':_0x237d25,'thumbSize':_0x21adeb,'thumbWidth':_0x520297[_0x13dc2c(0x222)],'thumbHeight':_0x520297[_0x13dc2c(0x237)],'fileSize':_0x4644a6['KMhnW']('',_0x54ffce)}};return _0x4b2b34;}static async[_0x29b812(0x21f)](_0x1ea36c){const _0x26ff74=_0x29b812,_0x483611={'FIhtr':function(_0x34ca6a,_0x5513a7){return _0x34ca6a===_0x5513a7;},'FQGfB':function(_0x54de3f,_0x1cab52){return _0x54de3f||_0x1cab52;}},{converted:_0x43b450,path:_0x5ba745,duration:_0x55a8af}=await encodeSilk(_0x1ea36c);if(!_0x5ba745)throw _0x26ff74(0x235);const {md5:_0x2dd63c,fileName:_0xbf5cb9,path:_0x5c99e4,fileSize:_0x51a540}=await NTQQFileApi[_0x26ff74(0x247)](_0x5ba745,ElementType[_0x26ff74(0x239)]);if(_0x483611[_0x26ff74(0x242)](_0x51a540,0x0))throw _0x26ff74(0x21e);return _0x43b450&&_0x2e7715[_0x26ff74(0x21b)](_0x5ba745)['then'](),{'elementType':ElementType[_0x26ff74(0x239)],'elementId':'','pttElement':{'fileName':_0xbf5cb9,'filePath':_0x5c99e4,'md5HexStr':_0x2dd63c,'fileSize':_0x51a540,'duration':_0x483611['FQGfB'](_0x55a8af,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[_0x29b812(0x238)](_0x154bba){const _0x5e06e2=_0x29b812,_0x5857d4={'NuQxC':function(_0x2cf605,_0x36d61b){return _0x2cf605>=_0x36d61b;}},_0x5399d0=_0xdc8a5b[_0x5e06e2(0x211)],_0x15b985=_0xdc8a5b['emoji'],_0x477ff1=_0x5399d0[_0x5e06e2(0x232)](_0x182467=>_0x182467[_0x5e06e2(0x236)]===_0x154bba[_0x5e06e2(0x1f0)]());_0x154bba=parseInt(_0x154bba[_0x5e06e2(0x1f0)]());let _0x97e9a7=0x1;return _0x5857d4['NuQxC'](_0x154bba,0xde)&&(_0x97e9a7=0x2),_0x477ff1[_0x5e06e2(0x230)]&&(_0x97e9a7=0x3),{'elementType':ElementType[_0x5e06e2(0x1fa)],'elementId':'','faceElement':{'faceIndex':_0x154bba,'faceType':_0x97e9a7,'faceText':_0x477ff1[_0x5e06e2(0x215)],'stickerId':_0x477ff1[_0x5e06e2(0x212)],'stickerType':_0x477ff1['AniStickerType'],'packId':_0x477ff1[_0x5e06e2(0x1ec)],'sourceType':0x1}};}static['mface'](_0x2577a,_0x57ee72,_0x5e09c8,_0x49f45e){const _0x2d4984=_0x29b812,_0x4fb378={'cuJfa':_0x2d4984(0x244)};return{'elementType':ElementType[_0x2d4984(0x245)],'marketFaceElement':{'emojiPackageId':_0x2577a,'emojiId':_0x57ee72,'key':_0x5e09c8,'faceName':_0x49f45e||mFaceCache[_0x2d4984(0x20d)](_0x57ee72)||_0x4fb378[_0x2d4984(0x23e)]}};}static[_0x29b812(0x20e)](_0x50b7c6){const _0x1bc2d1=_0x29b812,_0x3ccf5d={'oRAbt':'[骰子]'};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x1bc2d1(0x20e)],'faceType':FaceType[_0x1bc2d1(0x20e)],'faceText':_0x3ccf5d[_0x1bc2d1(0x228)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29b812(0x1f8)](_0x56b820){const _0x466079=_0x29b812,_0x4413cf={'MrnAP':_0x466079(0x224)};return{'elementType':ElementType[_0x466079(0x1fa)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x466079(0x23a)],'faceText':_0x4413cf['MrnAP'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x29b812(0x20b)](_0x535ec4){const _0x4400a2=_0x29b812,_0x5e82c8={'XLrxw':function(_0x2ae2b3,_0x18868a){return _0x2ae2b3!==_0x18868a;},'IzDvQ':'string'};return _0x5e82c8[_0x4400a2(0x206)](typeof _0x535ec4,_0x5e82c8[_0x4400a2(0x210)])&&(_0x535ec4=JSON['stringify'](_0x535ec4)),{'elementType':ElementType[_0x4400a2(0x219)],'elementId':'','arkElement':{'bytesData':_0x535ec4,'linkInfo':null,'subElementType':null}};}static[_0x29b812(0x207)](_0x47c06a){const _0x23c0cc=_0x29b812;return{'elementType':ElementType[_0x23c0cc(0x20c)],'elementId':'','markdownElement':{'content':_0x47c06a}};}static async[_0x29b812(0x21d)](){const _0x521258=_0x29b812,_0x3189f4={'SvagZ':function(_0x292335,_0x5b0b6d){return _0x292335(_0x5b0b6d);},'UJFlN':'Bot\x20Test','RwcLc':_0x521258(0x243),'VbHcm':_0x521258(0x214)};let _0x3d3e24=await _0x3189f4[_0x521258(0x223)](SignMiniApp,{'prompt':_0x3189f4['UJFlN'],'title':_0x521258(0x217),'preview':_0x521258(0x23d),'jumpUrl':_0x3189f4[_0x521258(0x1ff)],'tag':_0x3189f4['UJFlN'],'tagIcon':_0x3189f4[_0x521258(0x208)],'source':_0x3189f4['UJFlN'],'sourcelogo':_0x3189f4[_0x521258(0x208)]});return{'elementType':ElementType[_0x521258(0x219)],'elementId':'','arkElement':{'bytesData':_0x3d3e24,'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 97a0b925..1afc2009 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -function _0x4c7d(){var _0x5108da=['2668360sMSmzR','400101OFwLzb','XyGEV','UVkhW','312829KBCEvJ','owner','1330856tiNTtw','423052oHebyq','53334HtzAfe','normal','49YzOlNO','admin','1394075IDkqgv'];_0x4c7d=function(){return _0x5108da;};return _0x4c7d();}(function(_0x106ae7,_0x242339){var _0x5e454f=_0x2444,_0x4fb47a=_0x106ae7();while(!![]){try{var _0x395b11=parseInt(_0x5e454f(0xb1))/0x1+-parseInt(_0x5e454f(0xb4))/0x2+-parseInt(_0x5e454f(0xae))/0x3+parseInt(_0x5e454f(0xb3))/0x4+parseInt(_0x5e454f(0xac))/0x5+-parseInt(_0x5e454f(0xb5))/0x6*(parseInt(_0x5e454f(0xaa))/0x7)+-parseInt(_0x5e454f(0xad))/0x8;if(_0x395b11===_0x242339)break;else _0x4fb47a['push'](_0x4fb47a['shift']());}catch(_0x325f5f){_0x4fb47a['push'](_0x4fb47a['shift']());}}}(_0x4c7d,0x2cd91));function _0x2444(_0x16ced8,_0x252e3f){var _0x4c7d71=_0x4c7d();return _0x2444=function(_0x244464,_0x571118){_0x244464=_0x244464-0xaa;var _0x897a6c=_0x4c7d71[_0x244464];return _0x897a6c;},_0x2444(_0x16ced8,_0x252e3f);}export var GroupMemberRole;(function(_0x384b7a){var _0x234c66=_0x2444,_0x3cb8be={'UVkhW':_0x234c66(0xb6),'XyGEV':_0x234c66(0xb2)};_0x384b7a[_0x384b7a[_0x3cb8be['UVkhW']]=0x2]=_0x3cb8be[_0x234c66(0xb0)],_0x384b7a[_0x384b7a[_0x234c66(0xab)]=0x3]=_0x234c66(0xab),_0x384b7a[_0x384b7a[_0x3cb8be[_0x234c66(0xaf)]]=0x4]=_0x3cb8be[_0x234c66(0xaf)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x1a11d1,_0x31b858){var _0x1aa00c=_0x45c9,_0x519dea=_0x1a11d1();while(!![]){try{var _0x2d14b1=parseInt(_0x1aa00c(0x1bd))/0x1+-parseInt(_0x1aa00c(0x1b6))/0x2*(parseInt(_0x1aa00c(0x1b7))/0x3)+parseInt(_0x1aa00c(0x1bb))/0x4+-parseInt(_0x1aa00c(0x1ba))/0x5+-parseInt(_0x1aa00c(0x1b9))/0x6*(-parseInt(_0x1aa00c(0x1ae))/0x7)+parseInt(_0x1aa00c(0x1b2))/0x8*(-parseInt(_0x1aa00c(0x1b5))/0x9)+-parseInt(_0x1aa00c(0x1b0))/0xa*(-parseInt(_0x1aa00c(0x1b3))/0xb);if(_0x2d14b1===_0x31b858)break;else _0x519dea['push'](_0x519dea['shift']());}catch(_0x1b203b){_0x519dea['push'](_0x519dea['shift']());}}}(_0x358c,0x53f4f));function _0x358c(){var _0x53b6b8=['63ZMapDa','OalwL','2710yVQfke','hSEiv','48320jVQztk','40733YAaZfg','owner','864KfKuln','30dpcGBL','132495wGCTOc','NPyIP','114066dnysbl','1662105CaSVoO','739904gDQDuY','normal','559035MFaXqE'];_0x358c=function(){return _0x53b6b8;};return _0x358c();}function _0x45c9(_0x2bbc5a,_0x118dc4){var _0x358c46=_0x358c();return _0x45c9=function(_0x45c98b,_0x284f66){_0x45c98b=_0x45c98b-0x1ae;var _0x456dbe=_0x358c46[_0x45c98b];return _0x456dbe;},_0x45c9(_0x2bbc5a,_0x118dc4);}export var GroupMemberRole;(function(_0x33a765){var _0x2be560=_0x45c9,_0x11c1fc={'hSEiv':_0x2be560(0x1bc),'NPyIP':'admin','OalwL':_0x2be560(0x1b4)};_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1b1)]]=0x2]=_0x11c1fc[_0x2be560(0x1b1)],_0x33a765[_0x33a765['admin']=0x3]=_0x11c1fc[_0x2be560(0x1b8)],_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1af)]]=0x4]=_0x2be560(0x1b4);}(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 5d7d7519..52317080 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x530966,_0x37d5f3){var _0x4f2e3a=_0x4152,_0x4b98f0=_0x530966();while(!![]){try{var _0x5b5bff=parseInt(_0x4f2e3a(0xaa))/0x1+-parseInt(_0x4f2e3a(0xae))/0x2+parseInt(_0x4f2e3a(0xb0))/0x3*(parseInt(_0x4f2e3a(0xb2))/0x4)+-parseInt(_0x4f2e3a(0xa9))/0x5*(parseInt(_0x4f2e3a(0xad))/0x6)+parseInt(_0x4f2e3a(0xac))/0x7*(-parseInt(_0x4f2e3a(0xaf))/0x8)+-parseInt(_0x4f2e3a(0xb1))/0x9+parseInt(_0x4f2e3a(0xab))/0xa;if(_0x5b5bff===_0x37d5f3)break;else _0x4b98f0['push'](_0x4b98f0['shift']());}catch(_0x3814ce){_0x4b98f0['push'](_0x4b98f0['shift']());}}}(_0x5fee,0x4ebb5));export*from'./user';export*from'./group';function _0x5fee(){var _0x2dfcc5=['961470XOGTWw','68UuXXSi','25mELKKh','312928QPdPbp','11482880YWRJxd','3462109ZlQntQ','456834mEAOHu','604414qkqZzb','8oBKxMa','25692YXIJOr'];_0x5fee=function(){return _0x2dfcc5;};return _0x5fee();}export*from'./msg';export*from'./notify';export*from'./cache';function _0x4152(_0xf3bad2,_0x57da6e){var _0x5feeeb=_0x5fee();return _0x4152=function(_0x4152af,_0x11f460){_0x4152af=_0x4152af-0xa9;var _0x3d8fdb=_0x5feeeb[_0x4152af];return _0x3d8fdb;},_0x4152(_0xf3bad2,_0x57da6e);}export*from'./constructor'; \ No newline at end of file +function _0x88da(_0x3855ae,_0x2a3933){var _0x593c32=_0x593c();return _0x88da=function(_0x88da6,_0xdae7b1){_0x88da6=_0x88da6-0x7f;var _0x1b165e=_0x593c32[_0x88da6];return _0x1b165e;},_0x88da(_0x3855ae,_0x2a3933);}(function(_0x1a4961,_0x240a4a){var _0x1a9e38=_0x88da,_0x3a6455=_0x1a4961();while(!![]){try{var _0x425026=parseInt(_0x1a9e38(0x86))/0x1*(parseInt(_0x1a9e38(0x89))/0x2)+-parseInt(_0x1a9e38(0x82))/0x3*(parseInt(_0x1a9e38(0x87))/0x4)+-parseInt(_0x1a9e38(0x7f))/0x5+-parseInt(_0x1a9e38(0x88))/0x6*(parseInt(_0x1a9e38(0x84))/0x7)+parseInt(_0x1a9e38(0x85))/0x8*(parseInt(_0x1a9e38(0x81))/0x9)+-parseInt(_0x1a9e38(0x80))/0xa+parseInt(_0x1a9e38(0x83))/0xb;if(_0x425026===_0x240a4a)break;else _0x3a6455['push'](_0x3a6455['shift']());}catch(_0x3de0fa){_0x3a6455['push'](_0x3a6455['shift']());}}}(_0x593c,0xea5ab));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x593c(){var _0xde6bc0=['7284936tfUPog','197781yfVQTr','7796OwdHow','6UKCzyU','18Gaibsv','1566745nBHsnb','16110570ngQMQI','9jKyJUN','237kuJOnR','5940583FftUwa','1346849DSsRYz'];_0x593c=function(){return _0xde6bc0;};return _0x593c();}export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index a8643f9a..54896170 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x28287b=_0x3eac;(function(_0x2a8e9a,_0x1c8f76){var _0x2d67e8=_0x3eac,_0x21dfa0=_0x2a8e9a();while(!![]){try{var _0x3f74bd=parseInt(_0x2d67e8(0x1c8))/0x1+parseInt(_0x2d67e8(0x1d7))/0x2+-parseInt(_0x2d67e8(0x19e))/0x3+-parseInt(_0x2d67e8(0x19c))/0x4*(-parseInt(_0x2d67e8(0x1c0))/0x5)+-parseInt(_0x2d67e8(0x1bd))/0x6*(parseInt(_0x2d67e8(0x1b7))/0x7)+parseInt(_0x2d67e8(0x1a0))/0x8*(-parseInt(_0x2d67e8(0x20c))/0x9)+parseInt(_0x2d67e8(0x20b))/0xa;if(_0x3f74bd===_0x1c8f76)break;else _0x21dfa0['push'](_0x21dfa0['shift']());}catch(_0x35f457){_0x21dfa0['push'](_0x21dfa0['shift']());}}}(_0x49a8,0xcd07f));function _0x3eac(_0x36e586,_0x202d45){var _0x49a8b0=_0x49a8();return _0x3eac=function(_0x3eacac,_0x1ffba9){_0x3eacac=_0x3eacac-0x17a;var _0x5ccc1b=_0x49a8b0[_0x3eacac];return _0x5ccc1b;},_0x3eac(_0x36e586,_0x202d45);}export var ElementType;(function(_0x597df6){var _0x349a3b=_0x3eac,_0x546676={'LscMN':_0x349a3b(0x1e3),'qBQeH':_0x349a3b(0x198),'npamc':_0x349a3b(0x1e0),'AJKEn':_0x349a3b(0x1e8),'kSCNJ':_0x349a3b(0x1ec),'qDsnv':_0x349a3b(0x1df),'UuQUB':_0x349a3b(0x1f5),'aQrbz':_0x349a3b(0x204),'wPoiA':_0x349a3b(0x1f3),'Evpei':_0x349a3b(0x184)},_0x13fc76='6|5|1|2|9|3|7|4|8|0'['split']('|'),_0x2869fa=0x0;while(!![]){switch(_0x13fc76[_0x2869fa++]){case'0':_0x597df6[_0x597df6[_0x349a3b(0x1e3)]=0xe]=_0x546676[_0x349a3b(0x1b4)];continue;case'1':_0x597df6[_0x597df6[_0x349a3b(0x198)]=0x3]=_0x546676[_0x349a3b(0x194)];continue;case'2':_0x597df6[_0x597df6['PTT']=0x4]=_0x546676[_0x349a3b(0x1e7)];continue;case'3':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x202)]]=0x6]=_0x546676[_0x349a3b(0x202)];continue;case'4':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x207)]]=0xa]=_0x349a3b(0x1ec);continue;case'5':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x1c1)]]=0x2]=_0x546676[_0x349a3b(0x1c1)];continue;case'6':_0x597df6[_0x597df6['TEXT']=0x1]=_0x546676['UuQUB'];continue;case'7':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x182)]]=0x7]=_0x546676[_0x349a3b(0x182)];continue;case'8':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x1a4)]]=0xb]=_0x546676[_0x349a3b(0x1a4)];continue;case'9':_0x597df6[_0x597df6[_0x546676[_0x349a3b(0x17b)]]=0x5]=_0x546676[_0x349a3b(0x17b)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;function _0x49a8(){var _0x1b1204=['AJKEn','VIDEO_FORMAT_WMV','REPLY','QGMKs','KCHATTYPENEARBY','kSCNJ','vjSAP','mGZQv','friend','10951760ARQBWe','11169JPMuZh','kicked','TbPrb','YktyZ','https://multimedia.nt.qq.com.cn','gDPjx','KCHATTYPEC2C','vYVkB','VIDEO_FORMAT_MOD','DJAHS','Evpei','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGUILDMETA','fFnmX','OJsUR','atUser','LfZhJ','aQrbz','KCHATTYPENEARBYASSISTANT','VIDEO','notAt','KCHATTYPENEARBYINTERACT','kVWzz','pDiri','NOOtl','IFtzW','uizGv','aTEsC','zIrpU','OdYFn','KCHATTYPEWEIYUN','CHJWN','jpg','ZeeRE','KCHATTYPEMATCHFRIENDFOLDER','qBQeH','ban','atAll','KCHATTYPETEMPC2CFROMGROUP','FILE','tCmgB','LMJUB','soPVl','1040404eSCMEf','ztTGj','3881184hCuLjD','ScbGg','6160nRBemA','WaYxB','xdFuR','pcFMb','wPoiA','dWTcB','split','bMRYA','VIDEO_FORMAT_MTS','PuIQc','cHmkK','RPS','RiqxO','rcKSn','YHlRT','ksewP','EzvSE','YWYpN','7|8|10|6|5|3|2|0|4|9|1','KCHATTYPEUNKNOWN','LscMN','SeVbP','YQxqI','7XeTSRM','VVBWL','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPESUBSCRIBEFOLDER','VIDEO_FORMAT_MOV','normal2','6693762oLTowg','HEOSt','VIDEO_FORMAT_RMVB','25tAotNH','qDsnv','KCHATTYPEGROUP','MQwhS','VIDEO_FORMAT_RM','KCHATTYPEDISC','KCHATTYPETEMPADDRESSBOOK','face','1509292ejdEdr','KCHATTYPETEMPWPA','KCHATTYPEGAMEMESSAGE','ecKDf','KCHATTYPETEMPPUBLICACCOUNT','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYFOLDER','KCHATTYPEFAV','KCHATTYPENEARBYHELLOFOLDER','pFEvq','ATzZM','MEMBER_NEW_TITLE','HCqlB','QPEbG','KCHATTYPEGROUPNOTIFY','599518saoOpj','KCHATTYPETEMPC2CFROMUNKNOWN','aSUmQ','JxlWe','khIVa','KCHATTYPEQQNOTIFY','chatDevice','mfIRp','PIC','PTT','KCHATTYPEGROUPHELPER','KCHATTYPEADELIE','MARKDOWN','VIDEO_FORMAT_MKV','KCHATTYPESERVICEASSISTANT','lsWxg','npamc','FACE','KCHATTYPETEMPFRIENDVERIFY','fMrsY','dice','ARK','normal','nDaZI','VIDEO_FORMAT_AFS','KCHATTYPEGROUPBLESS','KCHATTYPECIRCLE','iIqyp','MFACE','KCHATTYPEMATCHFRIEND','TEXT','RSwgP','INVITE_NEW_MEMBER','memberIncrease','BeyFc','FytSG','sNTQE','KCHATTYPESQUAREPUBLIC','VIDEO_FORMAT_MP4','group','KCHATTYPEGROUPGUILD','gif','yvrtk'];_0x49a8=function(){return _0x1b1204;};return _0x49a8();}(function(_0x2b0a04){var _0x1b111f=_0x3eac,_0x24799a={'YQxqI':_0x1b111f(0x200),'LfZhJ':_0x1b111f(0x191)};_0x2b0a04[_0x2b0a04[_0x1b111f(0x200)]=0x7d0]=_0x24799a[_0x1b111f(0x1b6)],_0x2b0a04[_0x2b0a04[_0x24799a[_0x1b111f(0x181)]]=0x3e8]=_0x1b111f(0x191);}(PicType||(PicType={})));export var PicSubType;(function(_0x238d64){var _0xe7bb4b=_0x3eac,_0x4c9508={'BLlId':'normal','pFEvq':_0xe7bb4b(0x1c7)};_0x238d64[_0x238d64[_0xe7bb4b(0x1ed)]=0x0]=_0x4c9508['BLlId'],_0x238d64[_0x238d64[_0x4c9508['pFEvq']]=0x1]=_0x4c9508[_0xe7bb4b(0x1d1)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5b2103){var _0x3ba0b0=_0x3eac,_0x5577dd={'FytSG':'notAt','aSUmQ':_0x3ba0b0(0x196),'ylQfH':_0x3ba0b0(0x180)};_0x5b2103[_0x5b2103[_0x5577dd[_0x3ba0b0(0x1fa)]]=0x0]=_0x3ba0b0(0x185),_0x5b2103[_0x5b2103['atAll']=0x1]=_0x5577dd[_0x3ba0b0(0x1d9)],_0x5b2103[_0x5b2103[_0x5577dd['ylQfH']]=0x2]='atUser';}(AtType||(AtType={})));export var ChatType;(function(_0x21ac09){var _0xcacb88=_0x3eac,_0x5f48d7={'SeVbP':_0xcacb88(0x20a),'nDaZI':_0xcacb88(0x1fe),'soPVl':_0xcacb88(0x1dd),'pcFMb':'temp'};_0x21ac09[_0x21ac09[_0x5f48d7[_0xcacb88(0x1b5)]]=0x1]=_0x5f48d7[_0xcacb88(0x1b5)],_0x21ac09[_0x21ac09[_0x5f48d7['nDaZI']]=0x2]=_0x5f48d7[_0xcacb88(0x1ee)],_0x21ac09[_0x21ac09[_0x5f48d7['soPVl']]=0x8]=_0x5f48d7[_0xcacb88(0x19b)],_0x21ac09[_0x21ac09[_0x5f48d7[_0xcacb88(0x1a3)]]=0x64]=_0x5f48d7[_0xcacb88(0x1a3)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x3773fa){var _0x4e9e22=_0x3eac,_0x225bfa={'uizGv':'5|28|19|34|21|30|24|33|9|36|12|32|20|4|11|25|6|7|22|39|35|3|1|23|29|27|26|37|14|8|17|15|10|2|38|31|0|16|18|13','MQwhS':_0x4e9e22(0x1cc),'zIrpU':_0x4e9e22(0x1d0),'rcKSn':'KCHATTYPETEMPC2CFROMUNKNOWN','mGZQv':_0x4e9e22(0x1e1),'cHmkK':_0x4e9e22(0x1e2),'HEOSt':_0x4e9e22(0x17d),'gDPjx':_0x4e9e22(0x1ba),'fMrsY':_0x4e9e22(0x1ca),'wbKNI':_0x4e9e22(0x197),'mfIRp':_0x4e9e22(0x1d6),'bMRYA':_0x4e9e22(0x1c2),'ALDSX':_0x4e9e22(0x18f),'ztTGj':_0x4e9e22(0x1fc),'DJAHS':'KCHATTYPETEMPBUSSINESSCRM','BeyFc':_0x4e9e22(0x1c9),'YWYpN':_0x4e9e22(0x1c6),'VVBWL':_0x4e9e22(0x1b3),'HCqlB':_0x4e9e22(0x212),'PuIQc':_0x4e9e22(0x1ff),'yvrtk':'KCHATTYPEDATALINE','IFtzW':_0x4e9e22(0x193),'OJsUR':_0x4e9e22(0x186),'ZeeRE':_0x4e9e22(0x1c5),'lsWxg':'KCHATTYPEGUILD','boRhh':'KCHATTYPESERVICEASSISTANT','ksewP':'KCHATTYPERELATEACCOUNT','pDiri':'KCHATTYPEBUDDYNOTIFY','ytxGE':_0x4e9e22(0x1dc),'vYVkB':'KCHATTYPEDATALINEMQQ','fFnmX':_0x4e9e22(0x17c),'vjSAP':_0x4e9e22(0x1f0),'EzvSE':'KCHATTYPEFAV','YktyZ':_0x4e9e22(0x1f1),'sNTQE':_0x4e9e22(0x183),'qpeMF':_0x4e9e22(0x1cd),'ecKDf':_0x4e9e22(0x1b9),'LMJUB':_0x4e9e22(0x1e9),'WaYxB':_0x4e9e22(0x206)},_0x9d208=_0x225bfa[_0x4e9e22(0x18b)][_0x4e9e22(0x1a6)]('|'),_0x6537cb=0x0;while(!![]){switch(_0x9d208[_0x6537cb++]){case'0':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1c3)]]=0x67]=_0x225bfa[_0x4e9e22(0x1c3)];continue;case'1':_0x3773fa[_0x3773fa[_0x225bfa['zIrpU']]=0x70]=_0x225bfa[_0x4e9e22(0x18d)];continue;case'2':_0x3773fa[_0x3773fa[_0x4e9e22(0x1d8)]=0x63]=_0x225bfa[_0x4e9e22(0x1ad)];continue;case'3':_0x3773fa[_0x3773fa[_0x4e9e22(0x1ce)]=0x6e]=_0x4e9e22(0x1ce);continue;case'4':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x209)]]=0x7]=_0x225bfa[_0x4e9e22(0x209)];continue;case'5':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1aa)]]=0x2a]=_0x225bfa[_0x4e9e22(0x1aa)];continue;case'6':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1be)]]=0x10]=_0x225bfa[_0x4e9e22(0x1be)];continue;case'7':_0x3773fa[_0x3773fa[_0x4e9e22(0x1f4)]=0x68]=_0x4e9e22(0x1f4);continue;case'8':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x211)]]=0x1e]=_0x225bfa[_0x4e9e22(0x211)];continue;case'9':_0x3773fa[_0x3773fa[_0x225bfa['fMrsY']]=0x69]=_0x225bfa[_0x4e9e22(0x1ea)];continue;case'10':_0x3773fa[_0x3773fa[_0x225bfa['wbKNI']]=0x64]=_0x225bfa['wbKNI'];continue;case'11':_0x3773fa[_0x3773fa[_0x225bfa['mfIRp']]=0x6]=_0x225bfa[_0x4e9e22(0x1de)];continue;case'12':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1a7)]]=0x2]=_0x4e9e22(0x1c2);continue;case'13':_0x3773fa[_0x3773fa[_0x4e9e22(0x18f)]=0x28]=_0x225bfa['ALDSX'];continue;case'14':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x19d)]]=0x73]=_0x225bfa[_0x4e9e22(0x19d)];continue;case'15':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17a)]]=0x66]=_0x225bfa['DJAHS'];continue;case'16':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1f9)]]=0x75]=_0x4e9e22(0x1c9);continue;case'17':_0x3773fa[_0x3773fa[_0x225bfa['YWYpN']]=0x6f]=_0x225bfa[_0x4e9e22(0x1b1)];continue;case'18':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1b8)]]=0x0]=_0x225bfa[_0x4e9e22(0x1b8)];continue;case'19':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1d4)]]=0x1]=_0x225bfa[_0x4e9e22(0x1d4)];continue;case'20':_0x3773fa[_0x3773fa[_0x4e9e22(0x1ff)]=0x9]=_0x225bfa[_0x4e9e22(0x1a9)];continue;case'21':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x201)]]=0x8]=_0x225bfa[_0x4e9e22(0x201)];continue;case'22':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x18a)]]=0x6d]=_0x4e9e22(0x193);continue;case'23':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17f)]]=0x6c]=_0x4e9e22(0x186);continue;case'24':_0x3773fa[_0x3773fa['KCHATTYPEDISC']=0x3]=_0x225bfa[_0x4e9e22(0x192)];continue;case'25':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1e6)]]=0x4]=_0x225bfa[_0x4e9e22(0x1e6)];continue;case'26':_0x3773fa[_0x3773fa[_0x4e9e22(0x1e5)]=0x76]=_0x225bfa['boRhh'];continue;case'27':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1af)]]=0x83]='KCHATTYPERELATEACCOUNT';continue;case'28':_0x3773fa[_0x3773fa[_0x225bfa['pDiri']]=0x5]=_0x225bfa[_0x4e9e22(0x188)];continue;case'29':_0x3773fa[_0x3773fa[_0x4e9e22(0x1dc)]=0x84]=_0x225bfa['ytxGE'];continue;case'30':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x213)]]=0x86]=_0x225bfa[_0x4e9e22(0x213)];continue;case'31':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x17e)]]=0x77]=_0x225bfa[_0x4e9e22(0x17e)];continue;case'32':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x208)]]=0x85]='KCHATTYPEGROUPBLESS';continue;case'33':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1b0)]]=0x29]=_0x4e9e22(0x1cf);continue;case'34':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x20f)]]=0x71]=_0x4e9e22(0x1f1);continue;case'35':_0x3773fa[_0x3773fa[_0x225bfa[_0x4e9e22(0x1fb)]]=0x6b]=_0x225bfa['sNTQE'];continue;case'36':_0x3773fa[_0x3773fa[_0x4e9e22(0x1cd)]=0x74]=_0x225bfa['qpeMF'];continue;case'37':_0x3773fa[_0x3773fa[_0x4e9e22(0x1b9)]=0xc9]=_0x225bfa[_0x4e9e22(0x1cb)];continue;case'38':_0x3773fa[_0x3773fa[_0x4e9e22(0x1e9)]=0x65]=_0x225bfa[_0x4e9e22(0x19a)];continue;case'39':_0x3773fa[_0x3773fa[_0x4e9e22(0x206)]=0x6a]=_0x225bfa[_0x4e9e22(0x1a1)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x28287b(0x210);export var GrayTipElementSubType;(function(_0x275a22){var _0x5f3361=_0x28287b,_0x56facd={'ATzZM':_0x5f3361(0x1f7),'OdYFn':_0x5f3361(0x1d3)};_0x275a22[_0x275a22[_0x56facd[_0x5f3361(0x1d2)]]=0xc]=_0x5f3361(0x1f7),_0x275a22[_0x275a22[_0x56facd[_0x5f3361(0x18e)]]=0x11]=_0x56facd[_0x5f3361(0x18e)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xbe5855){var _0x532598=_0x28287b,_0x59d2f8={'NbjfM':_0x532598(0x1ed),'QGMKs':_0x532598(0x1bc),'khIVa':'dice'};_0xbe5855[_0xbe5855[_0x532598(0x1ed)]=0x1]=_0x59d2f8['NbjfM'],_0xbe5855[_0xbe5855[_0x59d2f8['QGMKs']]=0x2]=_0x59d2f8[_0x532598(0x205)],_0xbe5855[_0xbe5855[_0x59d2f8[_0x532598(0x1db)]]=0x3]=_0x59d2f8[_0x532598(0x1db)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x22c72f){var _0xc9c42d=_0x28287b,_0x33bdb5={'tCmgB':_0xc9c42d(0x1eb),'QPEbG':_0xc9c42d(0x1ab)};_0x22c72f[_0x22c72f[_0xc9c42d(0x1eb)]=0x166]=_0x33bdb5[_0xc9c42d(0x199)],_0x22c72f[_0x22c72f[_0x33bdb5[_0xc9c42d(0x1d5)]]=0x167]=_0x33bdb5[_0xc9c42d(0x1d5)];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x5d6390){var _0x223e88=_0x28287b,_0x5d99c9={'kVWzz':_0x223e88(0x1b2),'RSwgP':_0x223e88(0x1c4),'RiqxO':_0x223e88(0x203),'aTEsC':_0x223e88(0x1a8),'CZOUV':_0x223e88(0x1fd),'iIqyp':_0x223e88(0x1bf),'TbPrb':'VIDEO_FORMAT_MOV','YHlRT':_0x223e88(0x214),'JxlWe':_0x223e88(0x1ef),'xdFuR':'VIDEO_FORMAT_AVI','NOOtl':'VIDEO_FORMAT_TS','PRLLI':'VIDEO_FORMAT_MKV'},_0x532d8d=_0x5d99c9[_0x223e88(0x187)]['split']('|'),_0x391d49=0x0;while(!![]){switch(_0x532d8d[_0x391d49++]){case'0':_0x5d6390[_0x5d6390[_0x223e88(0x1c4)]=0x6]=_0x5d99c9[_0x223e88(0x1f6)];continue;case'1':_0x5d6390[_0x5d6390[_0x5d99c9['RiqxO']]=0x3]=_0x5d99c9[_0x223e88(0x1ac)];continue;case'2':_0x5d6390[_0x5d6390[_0x223e88(0x1a8)]=0xb]=_0x5d99c9[_0x223e88(0x18c)];continue;case'3':_0x5d6390[_0x5d6390[_0x223e88(0x1fd)]=0x2]=_0x5d99c9['CZOUV'];continue;case'4':_0x5d6390[_0x5d6390[_0x5d99c9[_0x223e88(0x1f2)]]=0x5]=_0x5d99c9[_0x223e88(0x1f2)];continue;case'5':_0x5d6390[_0x5d6390[_0x223e88(0x1bb)]=0x8]=_0x5d99c9[_0x223e88(0x20e)];continue;case'6':_0x5d6390[_0x5d6390[_0x223e88(0x214)]=0x9]=_0x5d99c9[_0x223e88(0x1ae)];continue;case'7':_0x5d6390[_0x5d6390[_0x5d99c9['JxlWe']]=0x7]=_0x5d99c9[_0x223e88(0x1da)];continue;case'8':_0x5d6390[_0x5d6390[_0x5d99c9[_0x223e88(0x1a2)]]=0x1]='VIDEO_FORMAT_AVI';continue;case'9':_0x5d6390[_0x5d6390[_0x5d99c9['NOOtl']]=0xa]=_0x5d99c9[_0x223e88(0x189)];continue;case'10':_0x5d6390[_0x5d6390[_0x5d99c9['PRLLI']]=0x4]=_0x223e88(0x1e4);continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x36c35a){var _0x110182=_0x28287b,_0x2b39a4={'ScbGg':_0x110182(0x1f8),'dWTcB':_0x110182(0x20d),'CHJWN':_0x110182(0x195)};_0x36c35a[_0x36c35a[_0x2b39a4[_0x110182(0x19f)]]=0x1]=_0x2b39a4['ScbGg'],_0x36c35a[_0x36c35a[_0x2b39a4['dWTcB']]=0x3]=_0x2b39a4[_0x110182(0x1a5)],_0x36c35a[_0x36c35a[_0x2b39a4[_0x110182(0x190)]]=0x8]=_0x2b39a4['CHJWN'];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x475737=_0x5bd5;(function(_0x467895,_0x344253){var _0x4ec5e1=_0x5bd5,_0x3e55de=_0x467895();while(!![]){try{var _0x3fe2f2=-parseInt(_0x4ec5e1(0x17f))/0x1+-parseInt(_0x4ec5e1(0x13d))/0x2*(parseInt(_0x4ec5e1(0x16a))/0x3)+-parseInt(_0x4ec5e1(0x154))/0x4*(parseInt(_0x4ec5e1(0x12e))/0x5)+-parseInt(_0x4ec5e1(0x139))/0x6*(parseInt(_0x4ec5e1(0xf8))/0x7)+-parseInt(_0x4ec5e1(0x155))/0x8*(-parseInt(_0x4ec5e1(0x11e))/0x9)+parseInt(_0x4ec5e1(0x17b))/0xa+parseInt(_0x4ec5e1(0x137))/0xb*(parseInt(_0x4ec5e1(0x12c))/0xc);if(_0x3fe2f2===_0x344253)break;else _0x3e55de['push'](_0x3e55de['shift']());}catch(_0x3a88cb){_0x3e55de['push'](_0x3e55de['shift']());}}}(_0x2544,0x9aa89));function _0x2544(){var _0xefedfb=['RlflG','QvUsk','group','iZAtU','HDJqW','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEGROUPNOTIFY','4|2|1|5|3|8|10|0|6|7|9','KCHATTYPENEARBYINTERACT','sLvoU','KCHATTYPERELATEACCOUNT','tCjnO','KCHATTYPETEMPC2CFROMUNKNOWN','MFACE','6|4|1|3|8|2|7|5|9|0','FACE','notAt','kWOtB','nEKwR','sXNTN','sqwmZ','eNnIL','KCHATTYPEGROUP','jpg','KCHATTYPESERVICEASSISTANT','uQfwh','YHRpp','KCHATTYPEDATALINEMQQ','KCHATTYPEGAMEMESSAGEFOLDER','lPnBd','mJJdS','KCHATTYPEUNKNOWN','27EaYgCS','ban','vQWbz','split','KCHATTYPEADELIE','YIfvC','CKEyg','BRDqz','zTImo','KCHATTYPETEMPBUSSINESSCRM','yunXK','VIDEO_FORMAT_MKV','TVyxp','DCiXg','4236zmCFrU','https://multimedia.nt.qq.com.cn','29335FHEHDg','Wvqrg','RPS','piNns','svUUf','OamSc','KCHATTYPEGAMEMESSAGE','MARKDOWN','kdcuE','30085VPlqou','VaBvS','6dHVLrL','dCXAC','EeSYS','temp','133426vupgCF','yLaXh','FILE','KCHATTYPENEARBYASSISTANT','lAkCZ','nLboy','WYhiq','KCHATTYPEGUILD','VIDEO_FORMAT_RMVB','JCwNZ','KCHATTYPETEMPNEARBYPRO','dice','VIDEO_FORMAT_WMV','FzQYd','VIDEO_FORMAT_AFS','LPPnd','FzVdJ','yITiM','GWdvB','hMdKZ','REPLY','KCHATTYPEGROUPGUILD','MLQkP','732iBBHAl','1990552NVvcsJ','AiVyW','KCHATTYPECIRCLE','TEXT','friend','rWfFJ','HNiQy','ZqyTH','zKfxj','ZBirF','chatDevice','face','hLrgx','KCHATTYPEQQNOTIFY','KCHATTYPENEARBYHELLOFOLDER','kicked','normal2','VIDEO_FORMAT_RM','oDaAt','KCHATTYPEC2C','YGSLk','12cZfkXz','MEMBER_NEW_TITLE','KCHATTYPEDISC','KCHATTYPEGROUPBLESS','MVFiF','PTT','zrFhT','VIDEO_FORMAT_TS','KCHATTYPEMATCHFRIEND','tSCkQ','AoaYz','KCHATTYPETEMPPUBLICACCOUNT','tAvHf','QWEUj','VIDEO_FORMAT_MTS','KCHATTYPEGUILDMETA','ryIbL','8762520NsPOcc','ARK','memberIncrease','iiJAY','519028AGlfBV','XsZiR','KCHATTYPETEMPADDRESSBOOK','BBGrC','WPhcT','KCHATTYPEMATCHFRIENDFOLDER','nBQzb','https://gchat.qpic.cn','sxmQN','KCHATTYPETEMPC2CFROMGROUP','665994IOFbfP','KCHATTYPETEMPFRIENDVERIFY','sMwsd','KCHATTYPETEMPWPA','VIDEO_FORMAT_AVI','gaXQd'];_0x2544=function(){return _0xefedfb;};return _0x2544();}export var ElementType;(function(_0x5a9983){var _0x3c9795=_0x5bd5,_0x4de825={'iQXFC':_0x3c9795(0x135),'yunXK':'FILE','vQWbz':_0x3c9795(0x10d),'FzQYd':_0x3c9795(0x16f),'HDJqW':'PIC','MpXiL':_0x3c9795(0x158),'FzVdJ':_0x3c9795(0x151),'ZqyTH':'VIDEO','kdcuE':_0x3c9795(0x10b)},_0x48bc51=_0x3c9795(0x10c)[_0x3c9795(0x121)]('|'),_0x3e3478=0x0;while(!![]){switch(_0x48bc51[_0x3e3478++]){case'0':_0x5a9983[_0x5a9983['MARKDOWN']=0xe]=_0x4de825['iQXFC'];continue;case'1':_0x5a9983[_0x5a9983[_0x3c9795(0x13f)]=0x3]=_0x4de825[_0x3c9795(0x128)];continue;case'2':_0x5a9983[_0x5a9983[_0x4de825['vQWbz']]=0x6]=_0x4de825[_0x3c9795(0x120)];continue;case'3':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14a)]]=0x4]=_0x4de825['FzQYd'];continue;case'4':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x102)]]=0x2]='PIC';continue;case'5':_0x5a9983[_0x5a9983[_0x3c9795(0x17c)]=0xa]=_0x3c9795(0x17c);continue;case'6':_0x5a9983[_0x5a9983[_0x4de825['MpXiL']]=0x1]=_0x3c9795(0x158);continue;case'7':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14d)]]=0x7]=_0x4de825[_0x3c9795(0x14d)];continue;case'8':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x15c)]]=0x5]=_0x4de825['ZqyTH'];continue;case'9':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x136)]]=0xb]=_0x4de825[_0x3c9795(0x136)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x22e330){var _0x149b9c=_0x5bd5,_0x320bb9={'hMdKZ':'gif','iZAtU':_0x149b9c(0x115)};_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x150)]]=0x7d0]='gif',_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x101)]]=0x3e8]=_0x149b9c(0x115);}(PicType||(PicType={})));export var PicSubType;(function(_0x5eedd7){var _0x1bd40e=_0x5bd5,_0x59d146={'tSCkQ':'normal','lAkCZ':_0x1bd40e(0x160)};_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x173)]]=0x0]=_0x59d146['tSCkQ'],_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x141)]]=0x1]=_0x59d146[_0x1bd40e(0x141)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5a9873){var _0x5d41f6=_0x5bd5,_0xe8da4d={'MVFiF':_0x5d41f6(0x10e),'vRQuZ':'atAll','sqwmZ':'atUser'};_0x5a9873[_0x5a9873[_0xe8da4d['MVFiF']]=0x0]=_0xe8da4d[_0x5d41f6(0x16e)],_0x5a9873[_0x5a9873['atAll']=0x1]=_0xe8da4d['vRQuZ'],_0x5a9873[_0x5a9873[_0xe8da4d[_0x5d41f6(0x112)]]=0x2]=_0xe8da4d['sqwmZ'];}(AtType||(AtType={})));function _0x5bd5(_0x1a5fd0,_0x2686a6){var _0x254441=_0x2544();return _0x5bd5=function(_0x5bd5c5,_0x4be405){_0x5bd5c5=_0x5bd5c5-0xf4;var _0x4106b5=_0x254441[_0x5bd5c5];return _0x4106b5;},_0x5bd5(_0x1a5fd0,_0x2686a6);}export var ChatType;(function(_0x4e76b1){var _0x436209=_0x5bd5,_0x4e4eed={'YGSLk':_0x436209(0x159),'hLrgx':_0x436209(0x100),'LLJBs':_0x436209(0x13c)};_0x4e76b1[_0x4e76b1[_0x4e4eed[_0x436209(0x169)]]=0x1]=_0x436209(0x159),_0x4e76b1[_0x4e76b1[_0x4e4eed[_0x436209(0x161)]]=0x2]=_0x4e4eed[_0x436209(0x161)],_0x4e76b1[_0x4e76b1[_0x436209(0x15f)]=0x8]=_0x436209(0x15f),_0x4e76b1[_0x4e76b1[_0x4e4eed['LLJBs']]=0x64]=_0x436209(0x13c);}(ChatType||(ChatType={})));export var ChatType2;(function(_0x1ff468){var _0x3721b8=_0x5bd5,_0x49207d={'zKfxj':'33|27|1|37|4|35|36|19|28|9|14|38|39|25|10|6|32|8|20|16|23|24|11|3|34|21|17|13|29|15|5|30|26|22|12|18|0|2|7|31','rWfFJ':_0x3721b8(0x175),'iiJAY':_0x3721b8(0x168),'QWEUj':_0x3721b8(0xfb),'mJJdS':_0x3721b8(0x106),'ZBirF':'KCHATTYPEDATALINE','sxmQN':_0x3721b8(0x181),'kWOtB':_0x3721b8(0x144),'YIfvC':_0x3721b8(0x11d),'AiVyW':_0x3721b8(0x172),'JCwNZ':_0x3721b8(0x11a),'LPPnd':_0x3721b8(0x104),'uQfwh':_0x3721b8(0x163),'ryIbL':_0x3721b8(0xf9),'BRDqz':'KCHATTYPESERVICEASSISTANTSUB','zrFhT':_0x3721b8(0x114),'Wvqrg':_0x3721b8(0x103),'TpKVZ':'KCHATTYPENEARBY','TVyxp':'KCHATTYPESERVICEASSISTANT','WYhiq':_0x3721b8(0x147),'yITiM':'KCHATTYPEMATCHFRIENDFOLDER','MLQkP':_0x3721b8(0x108),'nLboy':_0x3721b8(0x10a),'QvUsk':_0x3721b8(0x140),'BBGrC':'KCHATTYPENEARBYFOLDER','zTImo':'KCHATTYPEGROUPHELPER','sLvoU':'KCHATTYPETEMPC2CFROMGROUP','oDaAt':'KCHATTYPEBUDDYNOTIFY','EeSYS':'KCHATTYPEGAMEMESSAGE','GWdvB':'KCHATTYPESQUAREPUBLIC','YHRpp':_0x3721b8(0x127),'DCiXg':'KCHATTYPEWEIYUN','yLaXh':_0x3721b8(0x179),'OamSc':'KCHATTYPEADELIE','svUUf':_0x3721b8(0x162),'RlflG':_0x3721b8(0x119),'lPnBd':_0x3721b8(0x157),'XsZiR':_0x3721b8(0x16d),'efbBu':_0x3721b8(0x152)},_0x4be16a=_0x49207d[_0x3721b8(0x15d)][_0x3721b8(0x121)]('|'),_0x130e78=0x0;while(!![]){switch(_0x4be16a[_0x130e78++]){case'0':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x15a)]]=0x67]=_0x49207d[_0x3721b8(0x15a)];continue;case'1':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x17e)]]=0x1]=_0x49207d['iiJAY'];continue;case'2':_0x1ff468[_0x1ff468[_0x49207d['QWEUj']]=0x75]=_0x49207d[_0x3721b8(0x177)];continue;case'3':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x11c)]]=0x6c]='KCHATTYPENEARBYINTERACT';continue;case'4':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x15e)]]=0x8]=_0x49207d[_0x3721b8(0x15e)];continue;case'5':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xf6)]]=0x6f]=_0x49207d[_0x3721b8(0xf6)];continue;case'6':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x10f)]]=0x4]=_0x49207d[_0x3721b8(0x10f)];continue;case'7':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x123)]]=0x0]=_0x49207d[_0x3721b8(0x123)];continue;case'8':_0x1ff468[_0x1ff468[_0x49207d['AiVyW']]=0x68]=_0x49207d[_0x3721b8(0x156)];continue;case'9':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x146)]]=0x74]=_0x49207d[_0x3721b8(0x146)];continue;case'10':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x14c)]]=0x6]=_0x49207d[_0x3721b8(0x14c)];continue;case'11':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x117)]]=0x70]=_0x3721b8(0x163);continue;case'12':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x17a)]]=0x65]=_0x49207d[_0x3721b8(0x17a)];continue;case'13':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x125)]]=0xc9]='KCHATTYPESERVICEASSISTANTSUB';continue;case'14':_0x1ff468[_0x1ff468[_0x3721b8(0x114)]=0x2]=_0x49207d[_0x3721b8(0x170)];continue;case'15':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12f)]]=0x1e]=_0x49207d['Wvqrg'];continue;case'16':_0x1ff468[_0x1ff468[_0x49207d['TpKVZ']]=0x6a]=_0x49207d['TpKVZ'];continue;case'17':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12a)]]=0x76]=_0x3721b8(0x116);continue;case'18':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x143)]]=0x77]=_0x49207d[_0x3721b8(0x143)];continue;case'19':_0x1ff468[_0x1ff468['KCHATTYPEFAV']=0x29]='KCHATTYPEFAV';continue;case'20':_0x1ff468[_0x1ff468[_0x3721b8(0x184)]=0x6d]=_0x49207d[_0x3721b8(0x14e)];continue;case'21':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x153)]]=0x83]=_0x49207d[_0x3721b8(0x153)];continue;case'22':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x142)]]=0x63]=_0x49207d[_0x3721b8(0x142)];continue;case'23':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xff)]]=0x6b]=_0x49207d[_0x3721b8(0xff)];continue;case'24':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x182)]]=0x6e]=_0x49207d[_0x3721b8(0x182)];continue;case'25':_0x1ff468[_0x1ff468['KCHATTYPEGROUPHELPER']=0x7]=_0x49207d[_0x3721b8(0x126)];continue;case'26':_0x1ff468[_0x1ff468[_0x3721b8(0xf7)]=0x64]=_0x49207d[_0x3721b8(0x107)];continue;case'27':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x167)]]=0x5]=_0x49207d[_0x3721b8(0x167)];continue;case'28':_0x1ff468[_0x1ff468[_0x3721b8(0x134)]=0x69]=_0x49207d[_0x3721b8(0x13b)];continue;case'29':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x14f)]]=0x73]=_0x49207d['GWdvB'];continue;case'30':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x118)]]=0x66]=_0x3721b8(0x127);continue;case'31':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x12b)]]=0x28]=_0x49207d[_0x3721b8(0x12b)];continue;case'32':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x13e)]]=0x10]=_0x3721b8(0x179);continue;case'33':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x133)]]=0x2a]=_0x3721b8(0x122);continue;case'34':_0x1ff468[_0x1ff468[_0x49207d['svUUf']]=0x84]=_0x49207d[_0x3721b8(0x132)];continue;case'35':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0xfe)]]=0x86]=_0x49207d['RlflG'];continue;case'36':_0x1ff468[_0x1ff468[_0x3721b8(0x16c)]=0x3]=_0x3721b8(0x16c);continue;case'37':_0x1ff468[_0x1ff468[_0x49207d['lPnBd']]=0x71]=_0x49207d[_0x3721b8(0x11b)];continue;case'38':_0x1ff468[_0x1ff468[_0x49207d[_0x3721b8(0x180)]]=0x85]=_0x3721b8(0x16d);continue;case'39':_0x1ff468[_0x1ff468[_0x49207d['efbBu']]=0x9]=_0x49207d['efbBu'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x475737(0xf5);export const IMAGE_HTTP_HOST_NT=_0x475737(0x12d);export var GrayTipElementSubType;(function(_0x4f1c98){var _0x2eb4bc=_0x475737,_0x1c97a2={'nEKwR':'INVITE_NEW_MEMBER','CKEyg':_0x2eb4bc(0x16b)};_0x4f1c98[_0x4f1c98[_0x1c97a2['nEKwR']]=0xc]=_0x1c97a2[_0x2eb4bc(0x110)],_0x4f1c98[_0x4f1c98[_0x1c97a2['CKEyg']]=0x11]=_0x1c97a2[_0x2eb4bc(0x124)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3db55d){var _0x42e810=_0x475737,_0x2a407e={'WPhcT':'normal','gaXQd':_0x42e810(0x165),'sXNTN':_0x42e810(0x148)};_0x3db55d[_0x3db55d[_0x2a407e[_0x42e810(0x183)]]=0x1]=_0x2a407e['WPhcT'],_0x3db55d[_0x3db55d[_0x2a407e[_0x42e810(0xfd)]]=0x2]=_0x2a407e[_0x42e810(0xfd)],_0x3db55d[_0x3db55d['dice']=0x3]=_0x2a407e[_0x42e810(0x111)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x4e847d){var _0x4cc856=_0x475737,_0x464ad5={'sMwsd':_0x4cc856(0x148),'VaBvS':_0x4cc856(0x130)};_0x4e847d[_0x4e847d[_0x464ad5[_0x4cc856(0xfa)]]=0x166]=_0x4cc856(0x148),_0x4e847d[_0x4e847d[_0x464ad5[_0x4cc856(0x138)]]=0x167]=_0x464ad5['VaBvS'];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x180376){var _0x46e2fc=_0x475737,_0x51932f={'HNiQy':_0x46e2fc(0x105),'dCXAC':_0x46e2fc(0x166),'tAvHf':_0x46e2fc(0x129),'bIQgw':_0x46e2fc(0xfc),'nBQzb':'VIDEO_FORMAT_MOV','xPwIV':'VIDEO_FORMAT_MOD','YhjUl':'VIDEO_FORMAT_RMVB','piNns':'VIDEO_FORMAT_TS','KVWHx':'VIDEO_FORMAT_MP4','tCjnO':_0x46e2fc(0x149),'VPwRb':_0x46e2fc(0x178)},_0x522b1f=_0x51932f[_0x46e2fc(0x15b)]['split']('|'),_0x2b23eb=0x0;while(!![]){switch(_0x522b1f[_0x2b23eb++]){case'0':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x13a)]]=0x6]=_0x51932f[_0x46e2fc(0x13a)];continue;case'1':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x176)]]=0x4]=_0x51932f[_0x46e2fc(0x176)];continue;case'2':_0x180376[_0x180376[_0x46e2fc(0xfc)]=0x1]=_0x51932f['bIQgw'];continue;case'3':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0xf4)]]=0x8]=_0x51932f[_0x46e2fc(0xf4)];continue;case'4':_0x180376[_0x180376[_0x46e2fc(0x14b)]=0x7]=_0x46e2fc(0x14b);continue;case'5':_0x180376[_0x180376[_0x51932f['xPwIV']]=0x9]=_0x51932f['xPwIV'];continue;case'6':_0x180376[_0x180376[_0x46e2fc(0x145)]=0x5]=_0x51932f['YhjUl'];continue;case'7':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x131)]]=0xa]=_0x46e2fc(0x171);continue;case'8':_0x180376[_0x180376[_0x51932f['KVWHx']]=0x2]=_0x51932f['KVWHx'];continue;case'9':_0x180376[_0x180376[_0x51932f[_0x46e2fc(0x109)]]=0x3]=_0x46e2fc(0x149);continue;case'10':_0x180376[_0x180376['VIDEO_FORMAT_MTS']=0xb]=_0x51932f['VPwRb'];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0xa9334a){var _0x27a17a=_0x475737,_0x158270={'eNnIL':_0x27a17a(0x164),'AoaYz':_0x27a17a(0x11f)};_0xa9334a[_0xa9334a[_0x27a17a(0x17d)]=0x1]='memberIncrease',_0xa9334a[_0xa9334a[_0x158270[_0x27a17a(0x113)]]=0x3]=_0x158270[_0x27a17a(0x113)],_0xa9334a[_0xa9334a[_0x158270[_0x27a17a(0x174)]]=0x8]=_0x27a17a(0x11f);}(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 3e6f73dd..0b5725a0 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x31747c,_0x551271){var _0x4ad7cd=_0x2f37,_0x5d5550=_0x31747c();while(!![]){try{var _0x150828=-parseInt(_0x4ad7cd(0x182))/0x1*(parseInt(_0x4ad7cd(0x194))/0x2)+parseInt(_0x4ad7cd(0x177))/0x3*(-parseInt(_0x4ad7cd(0x1a7))/0x4)+parseInt(_0x4ad7cd(0x18b))/0x5+-parseInt(_0x4ad7cd(0x181))/0x6+parseInt(_0x4ad7cd(0x1a6))/0x7*(-parseInt(_0x4ad7cd(0x1a0))/0x8)+-parseInt(_0x4ad7cd(0x183))/0x9+parseInt(_0x4ad7cd(0x187))/0xa;if(_0x150828===_0x551271)break;else _0x5d5550['push'](_0x5d5550['shift']());}catch(_0x1b41cf){_0x5d5550['push'](_0x5d5550['shift']());}}}(_0x3c58,0x8817d));export var GroupNotifyTypes;(function(_0x581d36){var _0x573530=_0x2f37,_0x31f425={'jZHnP':_0x573530(0x178),'cIqMQ':_0x573530(0x17c),'Yroun':_0x573530(0x190),'VSbtH':_0x573530(0x195),'LrFWy':_0x573530(0x19a),'zzUlF':_0x573530(0x1ae),'HbqMz':'ADMIN_UNSET','YzFPT':_0x573530(0x1ac)};_0x581d36[_0x581d36[_0x573530(0x178)]=0x1]=_0x31f425[_0x573530(0x199)],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x179)]]=0x4]=_0x31f425['cIqMQ'],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1a9)]]=0x7]=_0x31f425[_0x573530(0x1a9)],_0x581d36[_0x581d36[_0x573530(0x195)]=0x8]=_0x31f425[_0x573530(0x17a)],_0x581d36[_0x581d36[_0x573530(0x19a)]=0x9]=_0x31f425[_0x573530(0x1af)],_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1ad)]]=0xb]='MEMBER_EXIT',_0x581d36[_0x581d36[_0x31f425[_0x573530(0x1b2)]]=0xc]='ADMIN_UNSET',_0x581d36[_0x581d36[_0x31f425[_0x573530(0x186)]]=0xd]=_0x31f425[_0x573530(0x186)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x330dc8){var _0x5c3c01=_0x2f37,_0x30e791={'CnsdM':_0x5c3c01(0x1ab),'FXXWc':_0x5c3c01(0x1b0),'DdMnx':_0x5c3c01(0x19b),'OZFZA':'REJECT'};_0x330dc8[_0x330dc8[_0x30e791[_0x5c3c01(0x185)]]=0x0]=_0x5c3c01(0x1ab),_0x330dc8[_0x330dc8[_0x30e791[_0x5c3c01(0x18c)]]=0x1]=_0x30e791['FXXWc'],_0x330dc8[_0x330dc8[_0x5c3c01(0x19b)]=0x2]=_0x30e791[_0x5c3c01(0x19f)],_0x330dc8[_0x330dc8[_0x5c3c01(0x19e)]=0x3]=_0x30e791[_0x5c3c01(0x1b3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2f37(_0x221e85,_0x485d89){var _0x3c5801=_0x3c58();return _0x2f37=function(_0x2f37cc,_0x4fb9f0){_0x2f37cc=_0x2f37cc-0x175;var _0x221e92=_0x3c5801[_0x2f37cc];return _0x221e92;},_0x2f37(_0x221e85,_0x485d89);}export var GroupRequestOperateTypes;(function(_0xfecb68){var _0x12a349=_0x2f37,_0x4bdf3c={'BXeOs':_0x12a349(0x1a2)};_0xfecb68[_0xfecb68[_0x4bdf3c[_0x12a349(0x1a1)]]=0x1]=_0x4bdf3c[_0x12a349(0x1a1)],_0xfecb68[_0xfecb68['reject']=0x2]=_0x12a349(0x1a8);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x1b3001){var _0x3b97b1=_0x2f37,_0x58c556={'eWWBW':_0x3b97b1(0x192),'Ozxpm':_0x3b97b1(0x18e),'UttFX':_0x3b97b1(0x1b1),'hsUth':_0x3b97b1(0x175),'MBbpF':_0x3b97b1(0x176),'EcrHc':'KMSGINFO','dLmJG':_0x3b97b1(0x188),'AIOjv':'KMEAGREEDANDADDED','bldkA':_0x3b97b1(0x1aa),'PQrEQ':'KMEIGNORED','MybZm':_0x3b97b1(0x1a4),'ALfiQ':_0x3b97b1(0x198),'bckGQ':'KPEERAGREEDANDADDED','qTXTQ':'KPEERAGREED'},_0x22e2ce=_0x58c556[_0x3b97b1(0x18a)]['split']('|'),_0x1f2988=0x0;while(!![]){switch(_0x22e2ce[_0x1f2988++]){case'0':_0x1b3001[_0x1b3001['KMEAGREEANYONE']=0x9]=_0x58c556['Ozxpm'];continue;case'1':_0x1b3001[_0x1b3001[_0x58c556['UttFX']]=0x7]=_0x58c556[_0x3b97b1(0x180)];continue;case'2':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x1a3)]]=0x0]=_0x58c556['hsUth'];continue;case'3':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x17f)]]=0x1]=_0x58c556[_0x3b97b1(0x17f)];continue;case'4':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x184)]]=0xc]=_0x58c556[_0x3b97b1(0x184)];continue;case'5':_0x1b3001[_0x1b3001[_0x3b97b1(0x188)]=0xd]=_0x58c556[_0x3b97b1(0x196)];continue;case'6':_0x1b3001[_0x1b3001['KMEAGREEDANDADDED']=0x3]=_0x58c556[_0x3b97b1(0x191)];continue;case'7':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x193)]]=0x2]=_0x58c556[_0x3b97b1(0x193)];continue;case'8':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x197)]]=0x8]=_0x58c556['PQrEQ'];continue;case'9':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x1b4)]]=0xb]=_0x58c556[_0x3b97b1(0x1b4)];continue;case'10':_0x1b3001[_0x1b3001[_0x3b97b1(0x19d)]=0xa]=_0x3b97b1(0x19d);continue;case'11':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x17d)]]=0x6]=_0x58c556[_0x3b97b1(0x17d)];continue;case'12':_0x1b3001[_0x1b3001[_0x58c556[_0x3b97b1(0x18d)]]=0x5]=_0x58c556[_0x3b97b1(0x18d)];continue;case'13':_0x1b3001[_0x1b3001[_0x3b97b1(0x19c)]=0x4]=_0x58c556['qTXTQ'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x3c58(){var _0x448b66=['PQrEQ','KPEERREFUSED','jZHnP','KICK_MEMBER','APPROVE','KPEERAGREED','KMESETQUESTION','REJECT','DdMnx','8QGMqqe','BXeOs','approve','hsUth','KMEAGREEANDADDFAILED','SKgsU','6152727NRinwO','382916GgUrQG','reject','Yroun','KMEAGREED','IGNORE','ADMIN_UNSET_OTHER','zzUlF','MEMBER_EXIT','LrFWy','WAIT_HANDLE','KMEREFUSED','HbqMz','OZFZA','MybZm','ejpxJ','KMEINITIATOR','KPEERINITIATOR','21MPTViy','INVITE_ME','cIqMQ','VSbtH','NEWGROUPTYPE','INVITED_JOIN','ALfiQ','pSwrZ','MBbpF','UttFX','5870970nNpQYM','153dOjUGR','8909766YeDYsw','EcrHc','CnsdM','YzFPT','47046480mBHULI','KMEINITIATORWAITPEERCONFIRM','TITLETYPE','eWWBW','1123370XkbNBt','FXXWc','bckGQ','KMEAGREEANYONE','DEFAULTTYPE','JOIN_REQUEST','AIOjv','2|3|7|6|13|12|11|1|8|0|10|9|4|5','bldkA','11168zBXqDP','ADMIN_SET','dLmJG'];_0x3c58=function(){return _0x448b66;};return _0x3c58();}(function(_0x222a3e){var _0xc9eabe=_0x2f37,_0x414d00={'pSwrZ':_0xc9eabe(0x18f),'SKgsU':_0xc9eabe(0x189),'ejpxJ':_0xc9eabe(0x17b)};_0x222a3e[_0x222a3e[_0x414d00[_0xc9eabe(0x17e)]]=0x0]=_0x414d00['pSwrZ'],_0x222a3e[_0x222a3e[_0x414d00[_0xc9eabe(0x1a5)]]=0x1]='TITLETYPE',_0x222a3e[_0x222a3e[_0xc9eabe(0x17b)]=0x2]=_0x414d00[_0xc9eabe(0x1b5)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x41c14a,_0x4917e0){var _0x1147c7=_0x4641,_0x2a96b6=_0x41c14a();while(!![]){try{var _0x485bcb=-parseInt(_0x1147c7(0x1b8))/0x1+-parseInt(_0x1147c7(0x1b5))/0x2+-parseInt(_0x1147c7(0x196))/0x3+parseInt(_0x1147c7(0x1b2))/0x4*(-parseInt(_0x1147c7(0x19d))/0x5)+-parseInt(_0x1147c7(0x193))/0x6*(parseInt(_0x1147c7(0x182))/0x7)+-parseInt(_0x1147c7(0x1a0))/0x8+parseInt(_0x1147c7(0x1aa))/0x9;if(_0x485bcb===_0x4917e0)break;else _0x2a96b6['push'](_0x2a96b6['shift']());}catch(_0x4f0033){_0x2a96b6['push'](_0x2a96b6['shift']());}}}(_0x1281,0x7e42d));export var GroupNotifyTypes;(function(_0x2d869f){var _0x288599=_0x4641,_0x53de1f={'UfRLa':_0x288599(0x18e),'Tgebz':'JOIN_REQUEST','xsKwf':_0x288599(0x189),'iwaEb':_0x288599(0x1b6),'FZInN':'ADMIN_UNSET','Dxrxh':_0x288599(0x1b0)};_0x2d869f[_0x2d869f[_0x288599(0x19e)]=0x1]=_0x288599(0x19e),_0x2d869f[_0x2d869f['INVITED_JOIN']=0x4]=_0x53de1f['UfRLa'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x18b)]]=0x7]=_0x53de1f['Tgebz'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x184)]]=0x8]=_0x53de1f['xsKwf'],_0x2d869f[_0x2d869f['KICK_MEMBER']=0x9]=_0x288599(0x1a8),_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1ac)]]=0xb]=_0x53de1f[_0x288599(0x1ac)],_0x2d869f[_0x2d869f[_0x53de1f['FZInN']]=0xc]=_0x53de1f[_0x288599(0x181)],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1b3)]]=0xd]=_0x53de1f[_0x288599(0x1b3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4641(_0x68be9c,_0x474f87){var _0x128178=_0x1281();return _0x4641=function(_0x46412b,_0x5c8431){_0x46412b=_0x46412b-0x17f;var _0x1e82b4=_0x128178[_0x46412b];return _0x1e82b4;},_0x4641(_0x68be9c,_0x474f87);}export var GroupNotifyStatus;(function(_0x6e20c7){var _0x3fc89a=_0x4641,_0x5366ee={'TQnSs':_0x3fc89a(0x1a1),'osfSf':_0x3fc89a(0x199),'ToZKy':_0x3fc89a(0x1ad),'ToMmQ':_0x3fc89a(0x1a6)};_0x6e20c7[_0x6e20c7[_0x5366ee[_0x3fc89a(0x19a)]]=0x0]=_0x5366ee[_0x3fc89a(0x19a)],_0x6e20c7[_0x6e20c7[_0x5366ee['osfSf']]=0x1]=_0x5366ee[_0x3fc89a(0x1b4)],_0x6e20c7[_0x6e20c7[_0x5366ee['ToZKy']]=0x2]=_0x5366ee['ToZKy'],_0x6e20c7[_0x6e20c7['REJECT']=0x3]=_0x5366ee[_0x3fc89a(0x187)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x19cdf7){var _0x1ed0fb=_0x4641,_0x3c12ba={'QaGDp':_0x1ed0fb(0x1a4),'gqJcB':_0x1ed0fb(0x195)};_0x19cdf7[_0x19cdf7[_0x3c12ba[_0x1ed0fb(0x1a2)]]=0x1]=_0x3c12ba[_0x1ed0fb(0x1a2)],_0x19cdf7[_0x19cdf7['reject']=0x2]=_0x3c12ba[_0x1ed0fb(0x17f)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;function _0x1281(){var _0x550099=['ToMmQ','KMEAGREEDANDADDED','ADMIN_SET','KMEAGREEANYONE','Tgebz','KMEIGNORED','KMEINITIATORWAITPEERCONFIRM','INVITED_JOIN','fvnQN','JhoCc','BkSOr','dGSbP','984NwQfoT','KPEERAGREEDANDADDED','reject','2051139FRHxDs','NoJGo','KMESETQUESTION','WAIT_HANDLE','TQnSs','KMEAGREEANDADDFAILED','DEFAULTTYPE','107370hdNRTd','INVITE_ME','KMEAGREED','1966152mOdKLx','IGNORE','QaGDp','KPEERINITIATOR','approve','NEWGROUPTYPE','REJECT','split','KICK_MEMBER','tQwpH','24612867mReKen','PnSdt','iwaEb','APPROVE','FbpCG','PxsUc','ADMIN_UNSET_OTHER','dChkZ','4clMPmH','Dxrxh','osfSf','60222kYfGFq','MEMBER_EXIT','KMEINITIATOR','683195IiYuRB','dRuMG','gqJcB','kTtfm','FZInN','23618lfJFMb','jlQpk','xsKwf','wesEI','12|0|3|8|13|1|7|5|4|11|6|9|10|2'];_0x1281=function(){return _0x550099;};return _0x1281();}(function(_0x3aea12){var _0x4db3ab=_0x4641,_0x38de29={'JhoCc':_0x4db3ab(0x186),'tQwpH':_0x4db3ab(0x1a3),'PnSdt':_0x4db3ab(0x194),'NAAfg':_0x4db3ab(0x18d),'dChkZ':'KMEAGREED','jlQpk':_0x4db3ab(0x198),'BkSOr':'KPEERREFUSED','wesEI':_0x4db3ab(0x188),'kTtfm':_0x4db3ab(0x19b),'dGSbP':'KMSGINFO','fvnQN':_0x4db3ab(0x1b7),'FbpCG':'KPEERAGREED'},_0x72d2ff=_0x38de29[_0x4db3ab(0x190)][_0x4db3ab(0x1a7)]('|'),_0x5e3607=0x0;while(!![]){switch(_0x72d2ff[_0x5e3607++]){case'0':_0x3aea12[_0x3aea12[_0x38de29['tQwpH']]=0x1]=_0x38de29[_0x4db3ab(0x1a9)];continue;case'1':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ab)]]=0x5]=_0x38de29['PnSdt'];continue;case'2':_0x3aea12[_0x3aea12['KMEINITIATORWAITPEERCONFIRM']=0xd]=_0x38de29['NAAfg'];continue;case'3':_0x3aea12[_0x3aea12[_0x4db3ab(0x19f)]=0x2]=_0x38de29[_0x4db3ab(0x1b1)];continue;case'4':_0x3aea12[_0x3aea12[_0x4db3ab(0x18c)]=0x8]=_0x4db3ab(0x18c);continue;case'5':_0x3aea12[_0x3aea12['KMEREFUSED']=0x7]='KMEREFUSED';continue;case'6':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x183)]]=0xa]=_0x38de29['jlQpk'];continue;case'7':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x191)]]=0x6]=_0x38de29['BkSOr'];continue;case'8':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x185)]]=0x3]=_0x4db3ab(0x188);continue;case'9':_0x3aea12[_0x3aea12[_0x38de29['kTtfm']]=0xb]=_0x38de29[_0x4db3ab(0x180)];continue;case'10':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x192)]]=0xc]=_0x38de29['dGSbP'];continue;case'11':_0x3aea12[_0x3aea12['KMEAGREEANYONE']=0x9]=_0x4db3ab(0x18a);continue;case'12':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x18f)]]=0x0]=_0x38de29['fvnQN'];continue;case'13':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ae)]]=0x4]=_0x38de29['FbpCG'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x16931f){var _0x3aec2d=_0x4641,_0x4d198b={'dRuMG':'DEFAULTTYPE','PxsUc':'TITLETYPE','NoJGo':_0x3aec2d(0x1a5)};_0x16931f[_0x16931f[_0x3aec2d(0x19c)]=0x0]=_0x4d198b[_0x3aec2d(0x1b9)],_0x16931f[_0x16931f[_0x4d198b[_0x3aec2d(0x1af)]]=0x1]='TITLETYPE',_0x16931f[_0x16931f[_0x4d198b[_0x3aec2d(0x197)]]=0x2]=_0x3aec2d(0x1a5);}(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 a750792b..002fccf7 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x69fe(){var _0x17981e=['866930FRFUph','645897lRtqNe','135jxwQoD','6762960BCdJqQ','1spPGhT','1148090XeHnkA','sGcQP','12jTLpxM','XyOEN','3369865bLsNtC','female','male','bdgJb','KPRIVILEGEICON','zskiE','unknown','47836SLTePA','142128NcamUD'];_0x69fe=function(){return _0x17981e;};return _0x69fe();}function _0x2ff3(_0x16d464,_0x128a89){var _0x69feaf=_0x69fe();return _0x2ff3=function(_0x2ff3b8,_0x2dc6e1){_0x2ff3b8=_0x2ff3b8-0x115;var _0x23dcfc=_0x69feaf[_0x2ff3b8];return _0x23dcfc;},_0x2ff3(_0x16d464,_0x128a89);}(function(_0x1acada,_0x10c3fe){var _0x3a8e0c=_0x2ff3,_0x400c34=_0x1acada();while(!![]){try{var _0x31653f=parseInt(_0x3a8e0c(0x122))/0x1*(parseInt(_0x3a8e0c(0x123))/0x2)+parseInt(_0x3a8e0c(0x120))/0x3*(-parseInt(_0x3a8e0c(0x11c))/0x4)+-parseInt(_0x3a8e0c(0x115))/0x5+parseInt(_0x3a8e0c(0x125))/0x6*(parseInt(_0x3a8e0c(0x11f))/0x7)+parseInt(_0x3a8e0c(0x121))/0x8+-parseInt(_0x3a8e0c(0x11d))/0x9+parseInt(_0x3a8e0c(0x11e))/0xa;if(_0x31653f===_0x10c3fe)break;else _0x400c34['push'](_0x400c34['shift']());}catch(_0x75e72e){_0x400c34['push'](_0x400c34['shift']());}}}(_0x69fe,0x70f8a));export var Sex;(function(_0x531117){var _0x319e2c=_0x2ff3,_0x493877={'zskiE':_0x319e2c(0x117),'XyOEN':_0x319e2c(0x116)};_0x531117[_0x531117[_0x493877['zskiE']]=0x1]=_0x493877[_0x319e2c(0x11a)],_0x531117[_0x531117[_0x493877['XyOEN']]=0x2]=_0x493877[_0x319e2c(0x126)],_0x531117[_0x531117[_0x319e2c(0x11b)]=0xff]=_0x319e2c(0x11b);}(Sex||(Sex={})));export var BizKey;(function(_0x18c1d0){var _0x58b978=_0x2ff3,_0x1d4e0e={'sGcQP':_0x58b978(0x119),'bdgJb':'KPHOTOWALL'};_0x18c1d0[_0x18c1d0[_0x1d4e0e[_0x58b978(0x124)]]=0x0]=_0x1d4e0e['sGcQP'],_0x18c1d0[_0x18c1d0[_0x1d4e0e['bdgJb']]=0x1]=_0x1d4e0e[_0x58b978(0x118)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x2c6ad1,_0x54607d){var _0x280e89=_0x5a0b,_0x3de3ec=_0x2c6ad1();while(!![]){try{var _0xabec87=parseInt(_0x280e89(0x150))/0x1+parseInt(_0x280e89(0x142))/0x2*(-parseInt(_0x280e89(0x14b))/0x3)+-parseInt(_0x280e89(0x140))/0x4*(-parseInt(_0x280e89(0x14c))/0x5)+parseInt(_0x280e89(0x147))/0x6*(parseInt(_0x280e89(0x14d))/0x7)+-parseInt(_0x280e89(0x148))/0x8+parseInt(_0x280e89(0x13f))/0x9*(parseInt(_0x280e89(0x14f))/0xa)+parseInt(_0x280e89(0x143))/0xb;if(_0xabec87===_0x54607d)break;else _0x3de3ec['push'](_0x3de3ec['shift']());}catch(_0x5ae7e5){_0x3de3ec['push'](_0x3de3ec['shift']());}}}(_0x5e05,0x29d37));export var Sex;function _0x5a0b(_0x15075d,_0x48f408){var _0x5e0542=_0x5e05();return _0x5a0b=function(_0x5a0bc3,_0x26137d){_0x5a0bc3=_0x5a0bc3-0x13d;var _0x7d1f6=_0x5e0542[_0x5a0bc3];return _0x7d1f6;},_0x5a0b(_0x15075d,_0x48f408);}function _0x5e05(){var _0x2e4ef3=['17655eswfiL','987973dbVrhl','unknown','2240jdbQyI','10644FfMQkj','KPHOTOWALL','BdaIU','4527HBUAZp','368nlFwSS','male','336998ikHRsz','239041RqNQzY','ORmnG','ZkAMr','female','12jNHpFs','1950880MqIZPv','jjTlS','KPRIVILEGEICON','6iyJDlq'];_0x5e05=function(){return _0x2e4ef3;};return _0x5e05();}(function(_0x517e1c){var _0x267ce4=_0x5a0b,_0x291a39={'ORmnG':_0x267ce4(0x141),'BdaIU':_0x267ce4(0x146),'jjTlS':_0x267ce4(0x14e)};_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x144)]]=0x1]=_0x291a39[_0x267ce4(0x144)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x13e)]]=0x2]=_0x291a39[_0x267ce4(0x13e)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x149)]]=0xff]=_0x291a39[_0x267ce4(0x149)];}(Sex||(Sex={})));export var BizKey;(function(_0x10321d){var _0x111bcd=_0x5a0b,_0x152e99={'ZkAMr':_0x111bcd(0x13d)};_0x10321d[_0x10321d[_0x111bcd(0x14a)]=0x0]=_0x111bcd(0x14a),_0x10321d[_0x10321d[_0x152e99['ZkAMr']]=0x1]=_0x152e99[_0x111bcd(0x145)];}(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 5cbfc2e7..62ab14cd 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x37d107,_0x31ea5e){var _0x46f6c0=_0x4606,_0x3262ae=_0x37d107();while(!![]){try{var _0x3dd38b=-parseInt(_0x46f6c0(0x196))/0x1*(-parseInt(_0x46f6c0(0x198))/0x2)+-parseInt(_0x46f6c0(0x193))/0x3+parseInt(_0x46f6c0(0x195))/0x4+-parseInt(_0x46f6c0(0x19a))/0x5*(-parseInt(_0x46f6c0(0x197))/0x6)+-parseInt(_0x46f6c0(0x19c))/0x7+-parseInt(_0x46f6c0(0x19b))/0x8*(-parseInt(_0x46f6c0(0x199))/0x9)+-parseInt(_0x46f6c0(0x194))/0xa*(parseInt(_0x46f6c0(0x192))/0xb);if(_0x3dd38b===_0x31ea5e)break;else _0x3262ae['push'](_0x3262ae['shift']());}catch(_0x4baaf8){_0x3262ae['push'](_0x3262ae['shift']());}}}(_0x9011,0x20e5c));import _0x16c58e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x4606(_0x38dd92,_0x341666){var _0x901136=_0x9011();return _0x4606=function(_0x46064e,_0x130a91){_0x46064e=_0x46064e-0x192;var _0x1eabdf=_0x901136[_0x46064e];return _0x1eabdf;},_0x4606(_0x38dd92,_0x341666);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x16c58e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x9011(){var _0x7183a0=['25VeoEEn','258704bLWMMF','309617GjoMWZ','607244mhIEZH','19473yoBJwI','40aMbrhh','936640chcBZv','43Iprkjo','107526AzmjmR','830jgGrcc','18QpQLMn'];_0x9011=function(){return _0x7183a0;};return _0x9011();} \ No newline at end of file +(function(_0x574965,_0x2b16c2){var _0x3ef9ed=_0x2136,_0xe4030e=_0x574965();while(!![]){try{var _0xe962e7=parseInt(_0x3ef9ed(0x1e5))/0x1*(-parseInt(_0x3ef9ed(0x1ed))/0x2)+parseInt(_0x3ef9ed(0x1e4))/0x3*(parseInt(_0x3ef9ed(0x1e8))/0x4)+-parseInt(_0x3ef9ed(0x1eb))/0x5*(parseInt(_0x3ef9ed(0x1ea))/0x6)+-parseInt(_0x3ef9ed(0x1ee))/0x7+parseInt(_0x3ef9ed(0x1ec))/0x8*(-parseInt(_0x3ef9ed(0x1e6))/0x9)+-parseInt(_0x3ef9ed(0x1e9))/0xa+parseInt(_0x3ef9ed(0x1e7))/0xb;if(_0xe962e7===_0x2b16c2)break;else _0xe4030e['push'](_0xe4030e['shift']());}catch(_0x262afc){_0xe4030e['push'](_0xe4030e['shift']());}}}(_0x59d2,0xcaef0));import _0x27e362 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x2136(_0x5a3c3c,_0x1430a2){var _0x59d2e4=_0x59d2();return _0x2136=function(_0x2136cc,_0x38d1f4){_0x2136cc=_0x2136cc-0x1e4;var _0x255a0b=_0x59d2e4[_0x2136cc];return _0x255a0b;},_0x2136(_0x5a3c3c,_0x1430a2);}export*as Services from'./services';export{_0x27e362 as Wrapper};export*as WrapperInterface from'./wrapper';function _0x59d2(){var _0x294058=['6SeQFHL','5011885PsBJda','173496XHoeIo','250XjAYOU','3140270jkeQFJ','1846317FUOJvn','2473WjHhmz','63HtpbPO','32127810ZSqEqm','4GzNADC','7930120VfKErn'];_0x59d2=function(){return _0x294058;};return _0x59d2();}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 97b8eb1f..771ab759 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x4dde(_0x113915,_0x2cc4ba){var _0x366bc4=_0x366b();return _0x4dde=function(_0x4ddef9,_0x3cedfb){_0x4ddef9=_0x4ddef9-0x1e2;var _0x497b10=_0x366bc4[_0x4ddef9];return _0x497b10;},_0x4dde(_0x113915,_0x2cc4ba);}function _0x366b(){var _0x4ad1ff=['onSpacePermissionInfos','onAvatarUrlUpdated','94086YHAEoC','onAddBuddyNeedVerify','973698IuBaNu','159CsNQdF','onCheckBuddySettingResult','3200qrMegE','56ccoosm','onBlockChanged','onBuddyInfoChange','6063580CBbyaG','onBuddyDetailInfoChange','onDelBatchBuddyInfos','1269935MzMJRp','1845935xxdXVY','7779snJBnC','onBuddyListChange','onAddMeSettingChanged','onSmartInfos','onDoubtBuddyReqUnreadNumChange','onBuddyRemarkUpdated','376Mktehu','onDoubtBuddyReqChange'];_0x366b=function(){return _0x4ad1ff;};return _0x366b();}var _0x52c733=_0x4dde;(function(_0x33249d,_0x45ac4b){var _0x5bdc96=_0x4dde,_0x55b2c1=_0x33249d();while(!![]){try{var _0x5691e2=-parseInt(_0x5bdc96(0x1e5))/0x1*(parseInt(_0x5bdc96(0x1e7))/0x2)+parseInt(_0x5bdc96(0x1f0))/0x3*(parseInt(_0x5bdc96(0x1f6))/0x4)+parseInt(_0x5bdc96(0x1ee))/0x5+parseInt(_0x5bdc96(0x1e4))/0x6+parseInt(_0x5bdc96(0x1ef))/0x7+parseInt(_0x5bdc96(0x1e8))/0x8*(parseInt(_0x5bdc96(0x1e2))/0x9)+-parseInt(_0x5bdc96(0x1eb))/0xa;if(_0x5691e2===_0x45ac4b)break;else _0x55b2c1['push'](_0x55b2c1['shift']());}catch(_0x40fda7){_0x55b2c1['push'](_0x55b2c1['shift']());}}}(_0x366b,0x213c9));export class BuddyListener{[_0x52c733(0x1e3)](_0x5cf500){}[_0x52c733(0x1f2)](_0x357531){}[_0x52c733(0x1f9)](_0x524aa4){}[_0x52c733(0x1e9)](_0x4ec75c){}[_0x52c733(0x1ec)](_0x48b967){}[_0x52c733(0x1ea)](_0x5809d8){}[_0x52c733(0x1f1)](_0xaa47b7){}[_0x52c733(0x1f5)](_0x345199){}['onBuddyReqChange'](_0x218a41){}['onBuddyReqUnreadCntChange'](_0x21b199){}[_0x52c733(0x1e6)](_0x4cf4c3){}[_0x52c733(0x1ed)](_0x2b13bc){}[_0x52c733(0x1f7)](_0x272c8d){}[_0x52c733(0x1f4)](_0x2fd8b1){}['onNickUpdated'](_0x46bde2){}[_0x52c733(0x1f3)](_0x57fec8){}[_0x52c733(0x1f8)](_0x1ef999){}} \ No newline at end of file +var _0x6cd226=_0x3fe0;function _0x3fe0(_0xd2a76d,_0x47a4b9){var _0x5415f5=_0x5415();return _0x3fe0=function(_0x3fe042,_0x1c32d2){_0x3fe042=_0x3fe042-0x18b;var _0x504f8a=_0x5415f5[_0x3fe042];return _0x504f8a;},_0x3fe0(_0xd2a76d,_0x47a4b9);}(function(_0x22f3c5,_0x320ecc){var _0x7c4866=_0x3fe0,_0x13dfff=_0x22f3c5();while(!![]){try{var _0x5cb97c=-parseInt(_0x7c4866(0x198))/0x1*(parseInt(_0x7c4866(0x19f))/0x2)+parseInt(_0x7c4866(0x18d))/0x3*(-parseInt(_0x7c4866(0x1a1))/0x4)+-parseInt(_0x7c4866(0x193))/0x5*(-parseInt(_0x7c4866(0x191))/0x6)+parseInt(_0x7c4866(0x195))/0x7+-parseInt(_0x7c4866(0x1a0))/0x8+parseInt(_0x7c4866(0x196))/0x9+-parseInt(_0x7c4866(0x199))/0xa;if(_0x5cb97c===_0x320ecc)break;else _0x13dfff['push'](_0x13dfff['shift']());}catch(_0x4f4085){_0x13dfff['push'](_0x13dfff['shift']());}}}(_0x5415,0x7f630));function _0x5415(){var _0x18bc88=['onAddMeSettingChanged','210dGLaVF','onDoubtBuddyReqUnreadNumChange','3568040furhmJ','8956602BuOWAf','onBuddyReqChange','1HJjGZn','799100QElLYU','onBuddyRemarkUpdated','onBuddyDetailInfoChange','onSmartInfos','onAddBuddyNeedVerify','onBuddyReqUnreadCntChange','186476EHsPgK','7889256xQKzZg','22468rUvqyi','onCheckBuddySettingResult','onDelBatchBuddyInfos','21NQnduG','onDoubtBuddyReqChange','onAvatarUrlUpdated','onNickUpdated','30786zuMTYr'];_0x5415=function(){return _0x18bc88;};return _0x5415();}export class BuddyListener{[_0x6cd226(0x19d)](_0x4e3e78){}[_0x6cd226(0x192)](_0x383301){}[_0x6cd226(0x18f)](_0x58f501){}['onBlockChanged'](_0x2f1417){}[_0x6cd226(0x19b)](_0x3c2f6f){}['onBuddyInfoChange'](_0x28f9a2){}['onBuddyListChange'](_0x4ec51c){}[_0x6cd226(0x19a)](_0x5bd7a0){}[_0x6cd226(0x197)](_0x36db35){}[_0x6cd226(0x19e)](_0x20cb8f){}[_0x6cd226(0x18b)](_0x1c6424){}[_0x6cd226(0x18c)](_0x46653b){}[_0x6cd226(0x18e)](_0x288422){}[_0x6cd226(0x194)](_0x5d3745){}[_0x6cd226(0x190)](_0x2577d6){}[_0x6cd226(0x19c)](_0x455304){}['onSpacePermissionInfos'](_0x280486){}} \ 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 34019964..2976207d 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x1f97(_0x16a989,_0x448247){var _0x20ff1b=_0x20ff();return _0x1f97=function(_0x1f9787,_0x7716d5){_0x1f9787=_0x1f9787-0x135;var _0x380496=_0x20ff1b[_0x1f9787];return _0x380496;},_0x1f97(_0x16a989,_0x448247);}var _0x339315=_0x1f97;function _0x20ff(){var _0x533b23=['9104ATLwXy','10eHLUHj','25509402TwZBaw','onFileStatusChanged','3182022WtmFNp','1439525xgGMBa','10182cdMFtk','onSessionListChanged','122hEUUhG','164029ubAWLm','onFileSearch','2425716rHfvki','5383cberHj','onSessionChanged'];_0x20ff=function(){return _0x533b23;};return _0x20ff();}(function(_0x2a194f,_0x3a15e0){var _0x18d4c4=_0x1f97,_0x111c42=_0x2a194f();while(!![]){try{var _0x509991=parseInt(_0x18d4c4(0x135))/0x1+-parseInt(_0x18d4c4(0x142))/0x2*(parseInt(_0x18d4c4(0x140))/0x3)+-parseInt(_0x18d4c4(0x137))/0x4+-parseInt(_0x18d4c4(0x13f))/0x5+-parseInt(_0x18d4c4(0x13e))/0x6+-parseInt(_0x18d4c4(0x138))/0x7*(parseInt(_0x18d4c4(0x13a))/0x8)+-parseInt(_0x18d4c4(0x13c))/0x9*(-parseInt(_0x18d4c4(0x13b))/0xa);if(_0x509991===_0x3a15e0)break;else _0x111c42['push'](_0x111c42['shift']());}catch(_0x3f1d92){_0x111c42['push'](_0x111c42['shift']());}}}(_0x20ff,0x7803c));export class KernelFileAssistantListener{[_0x339315(0x13d)](..._0x3a88e9){}[_0x339315(0x141)](..._0x7f8f75){}[_0x339315(0x139)](..._0x467931){}['onFileListChanged'](..._0x1c13ef){}[_0x339315(0x136)](..._0xb779b4){}} \ No newline at end of file +function _0x5dcc(_0x3d39bf,_0x2ea6c0){var _0x24737e=_0x2473();return _0x5dcc=function(_0x5dcc7c,_0x5c73e2){_0x5dcc7c=_0x5dcc7c-0x9d;var _0x5d7b4c=_0x24737e[_0x5dcc7c];return _0x5d7b4c;},_0x5dcc(_0x3d39bf,_0x2ea6c0);}function _0x2473(){var _0x2533bd=['onFileListChanged','onSessionListChanged','3308837YyNvWt','164680YqagIc','250078qdWzSA','1086758LVvRpv','10SZCZYF','1150296xgreym','631350hFUSYJ','3tZZtcf','543608wWVOev','onFileStatusChanged','8stimAs'];_0x2473=function(){return _0x2533bd;};return _0x2473();}var _0x441c7b=_0x5dcc;(function(_0x543004,_0x329c7c){var _0x158ec9=_0x5dcc,_0x246912=_0x543004();while(!![]){try{var _0x7db7e8=-parseInt(_0x158ec9(0xa8))/0x1+parseInt(_0x158ec9(0xa9))/0x2*(-parseInt(_0x158ec9(0xa0))/0x3)+parseInt(_0x158ec9(0xa1))/0x4+parseInt(_0x158ec9(0x9d))/0x5*(parseInt(_0x158ec9(0x9e))/0x6)+-parseInt(_0x158ec9(0xa6))/0x7*(-parseInt(_0x158ec9(0xa3))/0x8)+parseInt(_0x158ec9(0x9f))/0x9+parseInt(_0x158ec9(0xa7))/0xa;if(_0x7db7e8===_0x329c7c)break;else _0x246912['push'](_0x246912['shift']());}catch(_0x559266){_0x246912['push'](_0x246912['shift']());}}}(_0x2473,0x45a02));export class KernelFileAssistantListener{[_0x441c7b(0xa2)](..._0x94cb52){}[_0x441c7b(0xa5)](..._0x56bcc5){}['onSessionChanged'](..._0x963bac){}[_0x441c7b(0xa4)](..._0x13e40c){}['onFileSearch'](..._0x11d4bd){}} \ 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 4c1ee6f5..bcb31989 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0x7aee(_0x391e5c,_0x3818e2){var _0x51a027=_0x51a0();return _0x7aee=function(_0x7aee70,_0x50449b){_0x7aee70=_0x7aee70-0x12e;var _0x3e5ed9=_0x51a027[_0x7aee70];return _0x3e5ed9;},_0x7aee(_0x391e5c,_0x3818e2);}var _0x45e8f4=_0x7aee;function _0x51a0(){var _0x400979=['onGroupListUpdate','UCYwL','13253517VDiBgN','onGroupStatisticInfoChange:','onShutUpMemberListChanged','22996RPwitX','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','onJoinGroupNoVerifyFlag','onGroupsMsgMaskResult:','onGroupBulletinRichMediaDownloadComplete','onMemberInfoChange','onGroupBulletinRemindNotify:','onGroupBulletinRemindNotify','onGroupNotifiesUnreadCountUpdated','3943866hgyyKE','eBIGS','onGetGroupBulletinListResult:','7uylOFz','onGroupArkInviteStateResult','onGroupExtListUpdate','onGroupNotifiesUnreadCountUpdated:','2626932acOsQw','onGroupBulletinRichMediaProgressUpdate','cbsXN','onGroupFirstBulletinNotify','onGroupNotifiesUpdated','onGroupListUpdate:','CnGxC','onGroupDetailInfoChange','onGroupBulletinRichMediaDownloadComplete:','onGroupExtListUpdate:','TbdQJ','onGroupAllInfoChange','onGetGroupBulletinListResult','yKAvk','1959682ZWAwIU','onMemberListChange','log','onGroupMemberLevelInfoChange','teOiy','onGroupSingleScreenNotifies:','onGroupFirstBulletinNotify:','onGroupDetailInfoChange:','368845Jeamie','455008ynHILn','OcKuP','onGroupAllInfoChange:','onGroupBulletinChange:','onGroupStatisticInfoChange','onMemberListChange:','OwXdl','XKmOI','onGroupConfMemberChange:','onGroupsMsgMaskResult','onShutUpMemberListChanged:','onSearchMemberChange','XYIFg','105CkENdH','onJoinGroupNotify:','onGroupBulletinChange','onGroupNotifiesUpdated:','onJoinGroupNotify'];_0x51a0=function(){return _0x400979;};return _0x51a0();}(function(_0xdfdc26,_0x30cfe6){var _0x4a0a9e=_0x7aee,_0x1e318c=_0xdfdc26();while(!![]){try{var _0x21c775=-parseInt(_0x4a0a9e(0x141))/0x1+parseInt(_0x4a0a9e(0x139))/0x2+-parseInt(_0x4a0a9e(0x16a))/0x3+parseInt(_0x4a0a9e(0x159))/0x4*(parseInt(_0x4a0a9e(0x14f))/0x5)+parseInt(_0x4a0a9e(0x163))/0x6*(-parseInt(_0x4a0a9e(0x166))/0x7)+-parseInt(_0x4a0a9e(0x142))/0x8+parseInt(_0x4a0a9e(0x156))/0x9;if(_0x21c775===_0x30cfe6)break;else _0x1e318c['push'](_0x1e318c['shift']());}catch(_0x575736){_0x1e318c['push'](_0x1e318c['shift']());}}}(_0x51a0,0x9606b));export class GroupListener{['onGroupMemberLevelInfoChange'](..._0x861d22){}[_0x45e8f4(0x137)](..._0x5593ba){}[_0x45e8f4(0x136)](..._0x5c2c65){}[_0x45e8f4(0x151)](..._0x1be349){}[_0x45e8f4(0x161)](..._0x40de35){}[_0x45e8f4(0x167)](..._0x32083e){}[_0x45e8f4(0x15e)](..._0x223443){}[_0x45e8f4(0x15a)](..._0x1963c2){}[_0x45e8f4(0x132)](..._0x32c413){}[_0x45e8f4(0x168)](..._0x1fa4a6){}[_0x45e8f4(0x12e)](..._0x2558ce){}[_0x45e8f4(0x154)](_0xce8b44,_0x5665d5){}[_0x45e8f4(0x12f)](_0x3575b5,_0x1fc731){}[_0x45e8f4(0x16b)](..._0x4b1e5c){}['onGroupNotifiesUnreadCountUpdated'](..._0x501953){}['onGroupSingleScreenNotifies'](_0x215e55,_0x272c12,_0x13fd98){}[_0x45e8f4(0x14b)](..._0x3eb595){}['onGroupStatisticInfoChange'](..._0x5f5b6c){}[_0x45e8f4(0x153)](..._0x511a7e){}['onJoinGroupNoVerifyFlag'](..._0x4a0a9f){}[_0x45e8f4(0x15f)](_0x2fdb68,_0x4109eb,_0x2ccfaf){}[_0x45e8f4(0x13a)](_0x28e949){}[_0x45e8f4(0x14d)](..._0x56a76a){}[_0x45e8f4(0x158)](..._0x458f28){}}export class DebugGroupListener{[_0x45e8f4(0x13c)](..._0x4168ac){var _0xf54eb6=_0x45e8f4,_0x3f111e={'edCnW':'onGroupMemberLevelInfoChange:'};console[_0xf54eb6(0x13b)](_0x3f111e['edCnW'],..._0x4168ac);}[_0x45e8f4(0x137)](..._0x109fbb){var _0x26a320=_0x45e8f4;console[_0x26a320(0x13b)](_0x26a320(0x165),..._0x109fbb);}[_0x45e8f4(0x136)](..._0x573c54){var _0x370064=_0x45e8f4,_0x20d2c2={'TbdQJ':_0x370064(0x144)};console['log'](_0x20d2c2[_0x370064(0x135)],..._0x573c54);}['onGroupBulletinChange'](..._0x127c01){var _0x4fb706=_0x45e8f4,_0x237260={'eBIGS':_0x4fb706(0x145)};console[_0x4fb706(0x13b)](_0x237260[_0x4fb706(0x164)],..._0x127c01);}['onGroupBulletinRemindNotify'](..._0x31de15){var _0x595702=_0x45e8f4,_0x262af5={'UCYwL':_0x595702(0x160)};console[_0x595702(0x13b)](_0x262af5[_0x595702(0x155)],..._0x31de15);}[_0x45e8f4(0x167)](..._0x47c0fd){var _0x144c6b={'ezcYb':'onGroupArkInviteStateResult:'};console['log'](_0x144c6b['ezcYb'],..._0x47c0fd);}[_0x45e8f4(0x15e)](..._0x157e5c){var _0x4d5f6a=_0x45e8f4,_0x306c5a={'XYIFg':_0x4d5f6a(0x133)};console[_0x4d5f6a(0x13b)](_0x306c5a[_0x4d5f6a(0x14e)],..._0x157e5c);}[_0x45e8f4(0x15a)](..._0x5436a6){var _0x4fda91=_0x45e8f4;console['log'](_0x4fda91(0x14a),..._0x5436a6);}[_0x45e8f4(0x132)](..._0x627f46){var _0x3746b2=_0x45e8f4;console['log'](_0x3746b2(0x140),..._0x627f46);}['onGroupExtListUpdate'](..._0xc87b8f){var _0x5ea8c7=_0x45e8f4;console[_0x5ea8c7(0x13b)](_0x5ea8c7(0x134),..._0xc87b8f);}[_0x45e8f4(0x12e)](..._0x2e3ac9){var _0x10e9aa=_0x45e8f4,_0x449bf8={'osaxk':_0x10e9aa(0x13f)};console[_0x10e9aa(0x13b)](_0x449bf8['osaxk'],..._0x2e3ac9);}[_0x45e8f4(0x154)](..._0x319add){var _0x167bc7=_0x45e8f4;console['log'](_0x167bc7(0x130),..._0x319add);}['onGroupNotifiesUpdated'](..._0x1f6ba4){var _0x49f4e7=_0x45e8f4;console['log'](_0x49f4e7(0x152),..._0x1f6ba4);}[_0x45e8f4(0x16b)](..._0x543cb9){var _0x591c24=_0x45e8f4;console[_0x591c24(0x13b)]('onGroupBulletinRichMediaProgressUpdate:',..._0x543cb9);}[_0x45e8f4(0x162)](..._0x52f9be){var _0x34a5e2=_0x45e8f4,_0x52f9c5={'teOiy':_0x34a5e2(0x169)};console[_0x34a5e2(0x13b)](_0x52f9c5[_0x34a5e2(0x13d)],..._0x52f9be);}['onGroupSingleScreenNotifies'](_0x31113a,_0x54f244,_0x5c928b){var _0x544d98=_0x45e8f4,_0x3e4e94={'cbsXN':_0x544d98(0x13e)};console[_0x544d98(0x13b)](_0x3e4e94[_0x544d98(0x16c)]);}['onGroupsMsgMaskResult'](..._0x5d0ace){var _0x4ce834=_0x45e8f4,_0x4d7451={'OcKuP':_0x4ce834(0x15d)};console[_0x4ce834(0x13b)](_0x4d7451[_0x4ce834(0x143)],..._0x5d0ace);}[_0x45e8f4(0x146)](..._0x8c71f4){var _0x2a80fd=_0x45e8f4,_0x4e4d9e={'CnGxC':_0x2a80fd(0x157)};console[_0x2a80fd(0x13b)](_0x4e4d9e[_0x2a80fd(0x131)],..._0x8c71f4);}['onJoinGroupNotify'](..._0x852987){var _0x31ab51=_0x45e8f4,_0x478296={'OwXdl':_0x31ab51(0x150)};console['log'](_0x478296[_0x31ab51(0x148)],..._0x852987);}[_0x45e8f4(0x15c)](..._0x89077c){var _0x55f6d1=_0x45e8f4,_0x417075={'XKmOI':_0x55f6d1(0x15b)};console[_0x55f6d1(0x13b)](_0x417075[_0x55f6d1(0x149)],..._0x89077c);}[_0x45e8f4(0x15f)](_0x3e80b0,_0x4b6f9b,_0xaa0911){var _0x56b355=_0x45e8f4,_0x2457d8={'TtGnb':'onMemberInfoChange:'};console[_0x56b355(0x13b)](_0x2457d8['TtGnb'],_0x3e80b0,_0x4b6f9b,_0xaa0911);}['onMemberListChange'](..._0x477884){var _0x3ee57f=_0x45e8f4,_0x716bc5={'asmnx':_0x3ee57f(0x147)};console[_0x3ee57f(0x13b)](_0x716bc5['asmnx'],..._0x477884);}['onSearchMemberChange'](..._0x5ebfbe){var _0x185c9d=_0x45e8f4,_0x6fb4ba={'UqXTB':'onSearchMemberChange:'};console[_0x185c9d(0x13b)](_0x6fb4ba['UqXTB'],..._0x5ebfbe);}[_0x45e8f4(0x158)](..._0x224d78){var _0x1f9bfd=_0x45e8f4,_0x5bf7ec={'yKAvk':_0x1f9bfd(0x14c)};console[_0x1f9bfd(0x13b)](_0x5bf7ec[_0x1f9bfd(0x138)],..._0x224d78);}} \ No newline at end of file +var _0x4e0039=_0x51f8;function _0x1d62(){var _0x457b36=['JfEbM','onGroupNotifiesUpdated','onGetGroupBulletinListResult:','SJaeD','onGroupArkInviteStateResult','22iOPbtj','onGroupNotifiesUpdated:','128935VcjMQj','onMemberInfoChange:','ZQUwg','onJoinGroupNotify','nxqkv','7602JAILgw','cfGeR','3384xmQVqn','onJoinGroupNoVerifyFlag:','log','tkIZB','onMemberInfoChange','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','wMWXC','onGroupsMsgMaskResult','sBJky','onGroupFirstBulletinNotify:','onGroupStatisticInfoChange:','onGroupConfMemberChange:','hGQdw','onGroupBulletinRemindNotify','onGroupExtListUpdate','onGroupAllInfoChange','onJoinGroupNotify:','onGroupConfMemberChange','onGetGroupBulletinListResult','AAslv','onGroupNotifiesUnreadCountUpdated:','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','PDOpD','onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','69BKBbqM','1717210LSaFVb','onGroupMemberLevelInfoChange:','onGroupExtListUpdate:','onGroupArkInviteStateResult:','xKOVq','onGroupBulletinRichMediaProgressUpdate','6814VWkPOn','onGroupBulletinRemindNotify:','uHhLc','onJoinGroupNoVerifyFlag','YXIpp','onGroupSingleScreenNotifies:','onGroupListUpdate:','onSearchMemberChange','onGroupNotifiesUnreadCountUpdated','axzEz','onGroupBulletinRichMediaProgressUpdate:','onGroupDetailInfoChange','287024mPtVDt','1261253aKjuFG','25lDWuyI','1404JjcZpY','onGroupBulletinChange','onGroupSingleScreenNotifies'];_0x1d62=function(){return _0x457b36;};return _0x1d62();}function _0x51f8(_0x106392,_0x364879){var _0x1d624c=_0x1d62();return _0x51f8=function(_0x51f8c7,_0x58359f){_0x51f8c7=_0x51f8c7-0x1cc;var _0x5b5b0d=_0x1d624c[_0x51f8c7];return _0x5b5b0d;},_0x51f8(_0x106392,_0x364879);}(function(_0x40649a,_0x19ba14){var _0x23be2a=_0x51f8,_0x408e9d=_0x40649a();while(!![]){try{var _0x4552bd=-parseInt(_0x23be2a(0x200))/0x1+parseInt(_0x23be2a(0x1e7))/0x2*(parseInt(_0x23be2a(0x1e0))/0x3)+-parseInt(_0x23be2a(0x1f3))/0x4+parseInt(_0x23be2a(0x1f5))/0x5*(-parseInt(_0x23be2a(0x205))/0x6)+-parseInt(_0x23be2a(0x1f4))/0x7+parseInt(_0x23be2a(0x207))/0x8*(parseInt(_0x23be2a(0x1f6))/0x9)+parseInt(_0x23be2a(0x1e1))/0xa*(parseInt(_0x23be2a(0x1fe))/0xb);if(_0x4552bd===_0x19ba14)break;else _0x408e9d['push'](_0x408e9d['shift']());}catch(_0x10b091){_0x408e9d['push'](_0x408e9d['shift']());}}}(_0x1d62,0x188ea));export class GroupListener{[_0x4e0039(0x20d)](..._0x1e0cc7){}[_0x4e0039(0x1d8)](..._0x156387){}[_0x4e0039(0x1d5)](..._0x8fb306){}[_0x4e0039(0x1f7)](..._0x3ff610){}[_0x4e0039(0x1d3)](..._0x87cc4a){}[_0x4e0039(0x1fd)](..._0x38b6dc){}['onGroupBulletinRichMediaDownloadComplete'](..._0x18bdf1){}[_0x4e0039(0x1d7)](..._0x5eb0c7){}[_0x4e0039(0x1f2)](..._0xd609d7){}[_0x4e0039(0x1d4)](..._0x3dee5e){}['onGroupFirstBulletinNotify'](..._0xe12b90){}['onGroupListUpdate'](_0x511199,_0x5351b0){}[_0x4e0039(0x1fa)](_0x205739,_0x3d87ed){}[_0x4e0039(0x1e6)](..._0x359fcb){}[_0x4e0039(0x1ef)](..._0x2ddad2){}['onGroupSingleScreenNotifies'](_0x3b835d,_0xcb1db1,_0x238f3b){}[_0x4e0039(0x1cd)](..._0x5b14fa){}['onGroupStatisticInfoChange'](..._0x1a3f1d){}[_0x4e0039(0x203)](..._0x348329){}[_0x4e0039(0x1ea)](..._0x42c1cd){}[_0x4e0039(0x20b)](_0xc110d,_0x5d28d3,_0x4807e2){}[_0x4e0039(0x1dc)](_0x342848){}[_0x4e0039(0x1ee)](..._0xdcaf9e){}[_0x4e0039(0x1df)](..._0x3655c8){}}export class DebugGroupListener{[_0x4e0039(0x20d)](..._0x553d19){var _0x238a0c=_0x4e0039,_0x2212d1={'uHhLc':_0x238a0c(0x1e2)};console[_0x238a0c(0x209)](_0x2212d1[_0x238a0c(0x1e9)],..._0x553d19);}[_0x4e0039(0x1d8)](..._0x5053bc){var _0xe2572=_0x4e0039,_0x88c30b={'tkIZB':_0xe2572(0x1fb)};console[_0xe2572(0x209)](_0x88c30b[_0xe2572(0x20a)],..._0x5053bc);}[_0x4e0039(0x1d5)](..._0x2481bb){var _0x58edc4=_0x4e0039,_0x5efc27={'Geeka':'onGroupAllInfoChange:'};console[_0x58edc4(0x209)](_0x5efc27['Geeka'],..._0x2481bb);}[_0x4e0039(0x1f7)](..._0x4d6093){var _0x55c06e=_0x4e0039;console[_0x55c06e(0x209)]('onGroupBulletinChange:',..._0x4d6093);}['onGroupBulletinRemindNotify'](..._0x124fd4){var _0x31181d=_0x4e0039;console[_0x31181d(0x209)](_0x31181d(0x1e8),..._0x124fd4);}[_0x4e0039(0x1fd)](..._0x15fcdb){var _0x215096=_0x4e0039;console[_0x215096(0x209)](_0x215096(0x1e4),..._0x15fcdb);}[_0x4e0039(0x1db)](..._0x12be6c){var _0x13836b=_0x4e0039,_0x4cf5ee={'YXIpp':_0x13836b(0x1de)};console['log'](_0x4cf5ee[_0x13836b(0x1eb)],..._0x12be6c);}[_0x4e0039(0x1d7)](..._0x2c4b4e){var _0x2d8c63=_0x4e0039;console[_0x2d8c63(0x209)](_0x2d8c63(0x1d1),..._0x2c4b4e);}[_0x4e0039(0x1f2)](..._0x544cd5){var _0xa4fa7e=_0x4e0039,_0x33d03f={'cfGeR':'onGroupDetailInfoChange:'};console[_0xa4fa7e(0x209)](_0x33d03f[_0xa4fa7e(0x206)],..._0x544cd5);}[_0x4e0039(0x1d4)](..._0x3070ea){var _0x2bbf61=_0x4e0039,_0x3ab875={'hGQdw':_0x2bbf61(0x1e3)};console[_0x2bbf61(0x209)](_0x3ab875[_0x2bbf61(0x1d2)],..._0x3070ea);}['onGroupFirstBulletinNotify'](..._0x5dd70a){var _0x4afe05=_0x4e0039,_0x177f43={'SJaeD':_0x4afe05(0x1cf)};console['log'](_0x177f43[_0x4afe05(0x1fc)],..._0x5dd70a);}['onGroupListUpdate'](..._0x63c9a1){var _0x942e81=_0x4e0039,_0x2f847a={'axzEz':_0x942e81(0x1ed)};console[_0x942e81(0x209)](_0x2f847a[_0x942e81(0x1f0)],..._0x63c9a1);}['onGroupNotifiesUpdated'](..._0x542574){var _0x1b022a=_0x4e0039,_0x3c1523={'AAslv':_0x1b022a(0x1ff)};console[_0x1b022a(0x209)](_0x3c1523[_0x1b022a(0x1d9)],..._0x542574);}[_0x4e0039(0x1e6)](..._0x5e6b9){var _0x4bfa87=_0x4e0039,_0x7ded2b={'sBJky':_0x4bfa87(0x1f1)};console['log'](_0x7ded2b[_0x4bfa87(0x1ce)],..._0x5e6b9);}[_0x4e0039(0x1ef)](..._0x5d9054){var _0x2a6c30=_0x4e0039,_0x5c1fb7={'JfEbM':_0x2a6c30(0x1da)};console[_0x2a6c30(0x209)](_0x5c1fb7[_0x2a6c30(0x1f9)],..._0x5d9054);}[_0x4e0039(0x1f8)](_0x2c00fa,_0x39470f,_0x1224c6){var _0x1a7385=_0x4e0039;console[_0x1a7385(0x209)](_0x1a7385(0x1ec));}[_0x4e0039(0x1cd)](..._0x514cf1){var _0x3cf751=_0x4e0039;console[_0x3cf751(0x209)](_0x3cf751(0x20c),..._0x514cf1);}['onGroupStatisticInfoChange'](..._0x55c34d){var _0x3b5bb2=_0x4e0039,_0xf56c5d={'ZQUwg':_0x3b5bb2(0x1d0)};console[_0x3b5bb2(0x209)](_0xf56c5d[_0x3b5bb2(0x202)],..._0x55c34d);}[_0x4e0039(0x203)](..._0xa5e81){var _0xdc3ecc=_0x4e0039,_0x4dfdaa={'qRMfK':_0xdc3ecc(0x1d6)};console['log'](_0x4dfdaa['qRMfK'],..._0xa5e81);}[_0x4e0039(0x1ea)](..._0x10f46c){var _0x468439=_0x4e0039,_0xa9c218={'xKOVq':_0x468439(0x208)};console[_0x468439(0x209)](_0xa9c218[_0x468439(0x1e5)],..._0x10f46c);}[_0x4e0039(0x20b)](_0xb53190,_0x1e2538,_0x77b6d1){var _0x8b9e35=_0x4e0039,_0x9dda26={'wTFLf':_0x8b9e35(0x201)};console[_0x8b9e35(0x209)](_0x9dda26['wTFLf'],_0xb53190,_0x1e2538,_0x77b6d1);}[_0x4e0039(0x1dc)](..._0x4bf707){var _0x447079=_0x4e0039,_0x16862f={'PDOpD':'onMemberListChange:'};console[_0x447079(0x209)](_0x16862f[_0x447079(0x1dd)],..._0x4bf707);}[_0x4e0039(0x1ee)](..._0x1999bf){var _0xd888f3=_0x4e0039,_0x490548={'nxqkv':'onSearchMemberChange:'};console[_0xd888f3(0x209)](_0x490548[_0xd888f3(0x204)],..._0x1999bf);}[_0x4e0039(0x1df)](..._0x253d31){var _0x440c45=_0x4e0039,_0x1175c7={'wMWXC':'onShutUpMemberListChanged:'};console[_0x440c45(0x209)](_0x1175c7[_0x440c45(0x1cc)],..._0x253d31);}} \ 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 4d7e30b6..fae58631 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -var _0x4a23f7=_0x1a91;function _0x3734(){var _0xd01d49=['57638530ACJNBW','462628wCWMHP','onLogoutFailed','onPasswordLoginFailed','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','onLoginDisConnected','11759920LDGniL','onQRCodeGetPicture','onLoginState','onLoginFailed','2969230gyqBIt','9YHYrjZ','15paAgSV','onQRCodeLoginSucceed','onQRCodeSessionUserScaned','1682710KYWfUH','onUserLoggedIn','4JdSUlt','onQRCodeSessionFailed','10553081KfNXUa','onQRCodeLoginPollingStarted','4670352hIpjdF'];_0x3734=function(){return _0xd01d49;};return _0x3734();}function _0x1a91(_0x440259,_0x4edcee){var _0x3734d2=_0x3734();return _0x1a91=function(_0x1a91c0,_0x2da6d3){_0x1a91c0=_0x1a91c0-0xad;var _0x594105=_0x3734d2[_0x1a91c0];return _0x594105;},_0x1a91(_0x440259,_0x4edcee);}(function(_0x31e27f,_0x308a49){var _0x4b6fb8=_0x1a91,_0x38d81d=_0x31e27f();while(!![]){try{var _0x2e9514=-parseInt(_0x4b6fb8(0xba))/0x1+-parseInt(_0x4b6fb8(0xc2))/0x2*(-parseInt(_0x4b6fb8(0xb7))/0x3)+-parseInt(_0x4b6fb8(0xbc))/0x4*(parseInt(_0x4b6fb8(0xb5))/0x5)+-parseInt(_0x4b6fb8(0xc0))/0x6+-parseInt(_0x4b6fb8(0xbe))/0x7+-parseInt(_0x4b6fb8(0xb1))/0x8+parseInt(_0x4b6fb8(0xb6))/0x9*(parseInt(_0x4b6fb8(0xc1))/0xa);if(_0x2e9514===_0x308a49)break;else _0x38d81d['push'](_0x38d81d['shift']());}catch(_0x18b568){_0x38d81d['push'](_0x38d81d['shift']());}}}(_0x3734,0xd8c5e));export class LoginListener{['onLoginConnected'](..._0x2197a2){}[_0x4a23f7(0xb0)](..._0x3ecd65){}['onLoginConnecting'](..._0x5c8021){}[_0x4a23f7(0xb2)](_0x43aedf){}[_0x4a23f7(0xbf)](..._0x13068a){}[_0x4a23f7(0xb9)](..._0xbe6849){}[_0x4a23f7(0xb8)](_0x282638){}[_0x4a23f7(0xbd)](..._0x4a6f5c){}[_0x4a23f7(0xb4)](..._0x4ffab0){}['onLogoutSucceed'](..._0x1ced93){}[_0x4a23f7(0xc3)](..._0x4f2488){}[_0x4a23f7(0xbb)](..._0x2fc8ef){}[_0x4a23f7(0xaf)](..._0x395398){}[_0x4a23f7(0xad)](..._0x451d52){}['OnConfirmUnusualDeviceFailed'](..._0x418024){}[_0x4a23f7(0xae)](..._0x228bdf){}[_0x4a23f7(0xb3)](..._0x574b74){}} \ No newline at end of file +var _0x2cb340=_0x1364;function _0x1364(_0x2595c0,_0x1f2501){var _0x442286=_0x4422();return _0x1364=function(_0x136447,_0x2e67c5){_0x136447=_0x136447-0x76;var _0x236622=_0x442286[_0x136447];return _0x236622;},_0x1364(_0x2595c0,_0x1f2501);}function _0x4422(){var _0x1ad7df=['onQRCodeLoginPollingStarted','844zRSeoI','6963190KqwatY','11rWjuUq','onLoginDisConnected','1261585LZxGXd','onLogoutSucceed','16407YrtyqD','onUserLoggedIn','onQRCodeSessionQuickLoginFailed','onLoginConnected','onQRCodeSessionFailed','9678AsWhhx','2dGxpzo','onQRCodeSessionUserScaned','onLoginState','onQRCodeLoginSucceed','OnConfirmUnusualDeviceFailed','2171565OrELZL','onQQLoginNumLimited','10228932vVYZoU','1532405ucjSjK','32OGVdJB','5215dtfMcx'];_0x4422=function(){return _0x1ad7df;};return _0x4422();}(function(_0x5dbf77,_0x980759){var _0x24f111=_0x1364,_0x54be58=_0x5dbf77();while(!![]){try{var _0x26e740=parseInt(_0x24f111(0x79))/0x1*(parseInt(_0x24f111(0x81))/0x2)+-parseInt(_0x24f111(0x7b))/0x3*(parseInt(_0x24f111(0x8d))/0x4)+parseInt(_0x24f111(0x8b))/0x5*(parseInt(_0x24f111(0x80))/0x6)+-parseInt(_0x24f111(0x89))/0x7*(parseInt(_0x24f111(0x8a))/0x8)+parseInt(_0x24f111(0x86))/0x9+parseInt(_0x24f111(0x76))/0xa+-parseInt(_0x24f111(0x77))/0xb*(parseInt(_0x24f111(0x88))/0xc);if(_0x26e740===_0x980759)break;else _0x54be58['push'](_0x54be58['shift']());}catch(_0x54937b){_0x54be58['push'](_0x54be58['shift']());}}}(_0x4422,0xf405e));export class LoginListener{[_0x2cb340(0x7e)](..._0x36ae13){}[_0x2cb340(0x78)](..._0x4583b9){}['onLoginConnecting'](..._0xeebf3){}['onQRCodeGetPicture'](_0x45dcc4){}[_0x2cb340(0x8c)](..._0x223962){}[_0x2cb340(0x82)](..._0x4079e6){}[_0x2cb340(0x84)](_0x3d7e7f){}[_0x2cb340(0x7f)](..._0x33536a){}['onLoginFailed'](..._0x880bf){}[_0x2cb340(0x7a)](..._0x9b7587){}['onLogoutFailed'](..._0x12f720){}[_0x2cb340(0x7c)](..._0x48cb52){}[_0x2cb340(0x7d)](..._0x13bac5){}['onPasswordLoginFailed'](..._0x326f10){}[_0x2cb340(0x85)](..._0xcd5daf){}[_0x2cb340(0x87)](..._0x160f73){}[_0x2cb340(0x83)](..._0x4607b0){}} \ 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 bac61c3c..b4a15a80 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x2f93(){var _0x28399a=['onRichMediaUploadComplete','onLineDev','74418aNmPHP','onMsgRecall','onMsgInfoListUpdate','onGroupTransferInfoUpdate','onGroupGuildUpdate','onGuildNotificationAbstractUpdate','3536NlSObx','onImportOldDbProgressUpdate','onMsgInfoListAdd','18dmqUkI','2856042bxglrq','onEmojiResourceUpdate','onRecvMsgSvrRspTransInfo','onMsgDelete','onUnreadCntUpdate','onCustomWithdrawConfigUpdate','onRichMediaDownloadComplete','onRichMediaProgerssUpdate','onMsgSecurityNotify','786110ofZnav','onFileMsgCome','onNtMsgSyncEnd','onHitRelatedEmojiResult','onMsgAbstractUpdate','758416HQaUcX','onChannelFreqLimitInfoUpdate','onNtMsgSyncStart','onRecvMsg','onSysMsgNotification','onSearchGroupFileInfoUpdate','onUnreadCntAfterFirstView','onGuildInteractiveUpdate','240AnpkZy','onUserSecQualityChanged','onMsgSettingUpdate','onFeedEventUpdate','onMsgQRCodeStatusChanged','onMsgWithRichLinkInfoUpdate','onGrabPasswordRedBag','onRecvGroupGuildFlag','onMsgEventListUpdate','onSendMsgError','onTempChatInfoUpdate','onBroadcastHelperDownloadComplete','onReadFeedEventUpdate','2007442GTASik','onRedTouchChanged','onDraftUpdate','onKickedOffLine','3ZXPbJl','onAddSendMsg','onUserTabStatusChanged','onRecvUDCFlag','onHitCsRelatedEmojiResult','onRecvS2CMsg','onUserOnlineStatusChanged','onlineStatusSmallIconDownloadPush','6683680VKCzxZ','onRecvSysMsg'];_0x2f93=function(){return _0x28399a;};return _0x2f93();}function _0x1112(_0x332a4a,_0x3d18f2){var _0x2f9304=_0x2f93();return _0x1112=function(_0x11126e,_0x1a1bde){_0x11126e=_0x11126e-0x18c;var _0x34a70d=_0x2f9304[_0x11126e];return _0x34a70d;},_0x1112(_0x332a4a,_0x3d18f2);}var _0x1d9626=_0x1112;(function(_0x2e299d,_0x126b1a){var _0x564ed9=_0x1112,_0x28f894=_0x2e299d();while(!![]){try{var _0x135c71=parseInt(_0x564ed9(0x1be))/0x1+parseInt(_0x564ed9(0x196))/0x2*(parseInt(_0x564ed9(0x19a))/0x3)+-parseInt(_0x564ed9(0x1ac))/0x4+-parseInt(_0x564ed9(0x1c6))/0x5*(parseInt(_0x564ed9(0x1a6))/0x6)+parseInt(_0x564ed9(0x1b0))/0x7+-parseInt(_0x564ed9(0x1a2))/0x8+parseInt(_0x564ed9(0x1af))/0x9*(-parseInt(_0x564ed9(0x1b9))/0xa);if(_0x135c71===_0x126b1a)break;else _0x28f894['push'](_0x28f894['shift']());}catch(_0x4d3e1d){_0x28f894['push'](_0x28f894['shift']());}}}(_0x2f93,0x8de71));export class MsgListener{[_0x1d9626(0x19b)](_0x45ad29){}[_0x1d9626(0x194)](_0x2eb488){}['onBroadcastHelperProgressUpdate'](_0x2bfe05){}[_0x1d9626(0x1bf)](_0x3f453e,_0x491b78,_0x12a4cd){}['onContactUnreadCntUpdate'](_0x25a9c1){}[_0x1d9626(0x1b5)](_0x593a7f){}[_0x1d9626(0x198)](_0x4a1ff4,_0x19207c,_0x3f4adc){}['onEmojiDownloadComplete'](_0x1e56d3){}[_0x1d9626(0x1b1)](_0x2c72b0){}[_0x1d9626(0x18c)](_0x4107e7){}[_0x1d9626(0x1ba)](_0x5a81d6){}['onFirstViewDirectMsgUpdate'](_0x54a906){}['onFirstViewGroupGuildMapping'](_0xff4a07){}[_0x1d9626(0x18f)](_0x21cbd4,_0x3c6157,_0x3f1304,_0x2ed494,_0x2a43f9){}['onGroupFileInfoAdd'](_0x97499d){}['onGroupFileInfoUpdate'](_0xde1191){}[_0x1d9626(0x1aa)](_0x303664){}['onGroupTransferInfoAdd'](_0x2e8ddc){}[_0x1d9626(0x1a9)](_0x4e0ec8){}[_0x1d9626(0x1c5)](_0x455079){}['onGuildMsgAbFlagChanged'](_0x2032dc){}[_0x1d9626(0x1ab)](_0x4dc316){}[_0x1d9626(0x19e)](_0x1830d0){}['onHitEmojiKeywordResult'](_0x1282e1){}[_0x1d9626(0x1bc)](_0x5d1ae3){}[_0x1d9626(0x1ad)](_0x362b1e){}['onInputStatusPush'](_0x3fcf2c){}[_0x1d9626(0x199)](_0x573930){}[_0x1d9626(0x1a5)](_0x5a8347){}['onLogLevelChanged'](_0x2ebef2){}[_0x1d9626(0x1bd)](_0x45b1e5){}['onMsgBoxChanged'](_0x1f17db){}[_0x1d9626(0x1b3)](_0x55d0c8,_0x88aa3c){}[_0x1d9626(0x191)](_0x3e9be2){}[_0x1d9626(0x1ae)](_0x196283){}[_0x1d9626(0x1a8)](_0x46abca){}[_0x1d9626(0x18d)](_0x1b6fff){}[_0x1d9626(0x1a7)](_0x2b6a97,_0x371546,_0x57083c){}[_0x1d9626(0x1b8)](_0x5743ae){}[_0x1d9626(0x1c8)](_0x182486){}['onNtFirstViewMsgSyncEnd'](){}[_0x1d9626(0x1bb)](){}[_0x1d9626(0x1c0)](){}[_0x1d9626(0x195)](_0x408c7c){}[_0x1d9626(0x190)](_0x7c4405){}[_0x1d9626(0x1c1)](_0x179d3c){}[_0x1d9626(0x1b2)](_0x24bade,_0x527b22,_0x3827de,_0x3e1f6e,_0xa1b40d,_0x73f3c0){}['onRecvOnlineFileMsg'](_0x13e129){}[_0x1d9626(0x19f)](_0x53b5d0){}[_0x1d9626(0x1a3)](_0x233382){}[_0x1d9626(0x19d)](_0x1aec57){}[_0x1d9626(0x1b6)](_0x9a91a0){}[_0x1d9626(0x1b7)](_0x54dc37){}[_0x1d9626(0x1a4)](_0x44966f){}[_0x1d9626(0x1c3)](_0x18f98d){}[_0x1d9626(0x192)](_0x277c82,_0x481786,_0x4260c1,_0x2e0c4e){}[_0x1d9626(0x1c2)](_0x4f4367,_0x55ec18,_0xb7bfa3,_0x17145c){}[_0x1d9626(0x193)](_0x33de0c){}[_0x1d9626(0x1c4)](_0x4e9f3c){}[_0x1d9626(0x1b4)](_0x54e201){}['onUserChannelTabStatusChanged'](_0x5344f5){}[_0x1d9626(0x1a0)](_0x22cfea){}[_0x1d9626(0x19c)](_0x5d2eff){}['onlineStatusBigIconDownloadPush'](_0x3cba27,_0x43d895,_0x32783a){}[_0x1d9626(0x1a1)](_0x589dce,_0x3e288d,_0x2c6b42){}[_0x1d9626(0x1c7)](..._0x3d8551){}[_0x1d9626(0x18e)](..._0x5e4d61){}[_0x1d9626(0x197)](..._0x515884){}['onBroadcastHelperProgerssUpdate'](..._0x43826e){}} \ No newline at end of file +var _0x5c37e4=_0x144a;function _0x144a(_0x8cdf42,_0x2dc986){var _0x4ffb66=_0x4ffb();return _0x144a=function(_0x144a29,_0x14174a){_0x144a29=_0x144a29-0x138;var _0x22249b=_0x4ffb66[_0x144a29];return _0x22249b;},_0x144a(_0x8cdf42,_0x2dc986);}(function(_0x2e78d7,_0x2c7454){var _0x360032=_0x144a,_0x57249e=_0x2e78d7();while(!![]){try{var _0x13d559=parseInt(_0x360032(0x145))/0x1+-parseInt(_0x360032(0x159))/0x2*(-parseInt(_0x360032(0x15b))/0x3)+parseInt(_0x360032(0x161))/0x4+-parseInt(_0x360032(0x140))/0x5+parseInt(_0x360032(0x16a))/0x6*(-parseInt(_0x360032(0x164))/0x7)+parseInt(_0x360032(0x153))/0x8+-parseInt(_0x360032(0x15a))/0x9;if(_0x13d559===_0x2c7454)break;else _0x57249e['push'](_0x57249e['shift']());}catch(_0x124486){_0x57249e['push'](_0x57249e['shift']());}}}(_0x4ffb,0xb08c3));export class MsgListener{[_0x5c37e4(0x139)](_0x4ff5f0){}[_0x5c37e4(0x141)](_0x497000){}[_0x5c37e4(0x156)](_0x373cbd){}[_0x5c37e4(0x14f)](_0x27a0ad,_0x3574c2,_0x41a21f){}[_0x5c37e4(0x138)](_0x4c51ea){}[_0x5c37e4(0x14a)](_0x560131){}[_0x5c37e4(0x13c)](_0x267df1,_0x218bc5,_0x37e31f){}[_0x5c37e4(0x165)](_0x5739c1){}['onEmojiResourceUpdate'](_0x488663){}[_0x5c37e4(0x152)](_0x497296){}[_0x5c37e4(0x14d)](_0x38128d){}[_0x5c37e4(0x171)](_0x11852f){}['onFirstViewGroupGuildMapping'](_0x1b84af){}[_0x5c37e4(0x13e)](_0x4f2fdc,_0x3ba8d1,_0x2355df,_0x16650a,_0x2b1322){}['onGroupFileInfoAdd'](_0x241d5e){}['onGroupFileInfoUpdate'](_0x25039d){}[_0x5c37e4(0x15e)](_0xa6f342){}[_0x5c37e4(0x150)](_0x5d22d2){}['onGroupTransferInfoUpdate'](_0x2838fd){}['onGuildInteractiveUpdate'](_0x317ec0){}[_0x5c37e4(0x149)](_0x495921){}[_0x5c37e4(0x16e)](_0x2c75ad){}['onHitCsRelatedEmojiResult'](_0x2e2c03){}['onHitEmojiKeywordResult'](_0x2ba429){}[_0x5c37e4(0x14c)](_0x5cf60b){}[_0x5c37e4(0x158)](_0x44cbc0){}['onInputStatusPush'](_0x13d4bc){}[_0x5c37e4(0x168)](_0x42c40a){}[_0x5c37e4(0x16d)](_0x807a8c){}[_0x5c37e4(0x16c)](_0x31b01d){}[_0x5c37e4(0x162)](_0xd5e699){}['onMsgBoxChanged'](_0x1c9abe){}['onMsgDelete'](_0x57124b,_0x19c99e){}[_0x5c37e4(0x16b)](_0xcd0e60){}[_0x5c37e4(0x157)](_0x552193){}[_0x5c37e4(0x13a)](_0x52de90){}[_0x5c37e4(0x163)](_0x958cb0){}['onMsgRecall'](_0x59b1ea,_0x423b92,_0x3bad42){}[_0x5c37e4(0x15c)](_0x2b501d){}['onMsgSettingUpdate'](_0x16f8a7){}[_0x5c37e4(0x14b)](){}[_0x5c37e4(0x142)](){}[_0x5c37e4(0x166)](){}[_0x5c37e4(0x160)](_0x5cb0e0){}[_0x5c37e4(0x169)](_0x49b85d){}[_0x5c37e4(0x151)](_0x7687c2){}[_0x5c37e4(0x167)](_0x53a994,_0x5b52f2,_0x2c92eb,_0x137fd9,_0x1c6d35,_0x4c2ed9){}[_0x5c37e4(0x13b)](_0xf3615c){}[_0x5c37e4(0x148)](_0xea6e56){}[_0x5c37e4(0x155)](_0x4336c2){}[_0x5c37e4(0x154)](_0x1ec8d3){}[_0x5c37e4(0x14e)](_0x1d3719){}[_0x5c37e4(0x144)](_0x5a888a){}['onRichMediaUploadComplete'](_0x2dc0ac){}[_0x5c37e4(0x15d)](_0x490c01){}['onSendMsgError'](_0x267861,_0x28a1d7,_0x9cc24a,_0x23c2b3){}[_0x5c37e4(0x15f)](_0x2fa982,_0x3b9f88,_0x2112d3,_0x5617eb){}[_0x5c37e4(0x147)](_0x50081f){}['onUnreadCntAfterFirstView'](_0x199bfa){}[_0x5c37e4(0x170)](_0x5971a7){}[_0x5c37e4(0x16f)](_0x123ebb){}[_0x5c37e4(0x146)](_0xa19622){}[_0x5c37e4(0x13f)](_0x1c69d7){}['onlineStatusBigIconDownloadPush'](_0x2c30c3,_0x45641a,_0x5611cf){}['onlineStatusSmallIconDownloadPush'](_0x22639b,_0x115505,_0x450d8c){}['onUserSecQualityChanged'](..._0x43e486){}[_0x5c37e4(0x143)](..._0x65493e){}[_0x5c37e4(0x13d)](..._0x140789){}['onBroadcastHelperProgerssUpdate'](..._0x36dfd8){}}function _0x4ffb(){var _0xe33ebd=['2MkNuFz','15106752CirUSZ','2313975cgQSqV','onMsgSecurityNotify','onSearchGroupFileInfoUpdate','onGroupGuildUpdate','onSysMsgNotification','onReadFeedEventUpdate','5318980HjWaez','onMsgAbstractUpdate','onMsgQRCodeStatusChanged','98lpyeGs','onEmojiDownloadComplete','onNtMsgSyncStart','onRecvMsgSvrRspTransInfo','onKickedOffLine','onRecvGroupGuildFlag','574386ulKwTz','onMsgEventListUpdate','onLogLevelChanged','onLineDev','onGuildNotificationAbstractUpdate','onUserChannelTabStatusChanged','onUnreadCntUpdate','onFirstViewDirectMsgUpdate','onContactUnreadCntUpdate','onAddSendMsg','onMsgInfoListUpdate','onRecvOnlineFileMsg','onDraftUpdate','onRedTouchChanged','onGrabPasswordRedBag','onUserTabStatusChanged','2515270MOJwuq','onBroadcastHelperDownloadComplete','onNtMsgSyncEnd','onMsgWithRichLinkInfoUpdate','onRichMediaProgerssUpdate','901039ILpfhI','onUserOnlineStatusChanged','onTempChatInfoUpdate','onRecvS2CMsg','onGuildMsgAbFlagChanged','onCustomWithdrawConfigUpdate','onNtFirstViewMsgSyncEnd','onHitRelatedEmojiResult','onFileMsgCome','onRichMediaDownloadComplete','onChannelFreqLimitInfoUpdate','onGroupTransferInfoAdd','onRecvMsg','onFeedEventUpdate','9942768xdaiQT','onRecvUDCFlag','onRecvSysMsg','onBroadcastHelperProgressUpdate','onMsgInfoListAdd','onImportOldDbProgressUpdate'];_0x4ffb=function(){return _0xe33ebd;};return _0x4ffb();} \ 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 c3cee6c2..d01fa1af 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x3a82e4=_0x3782;function _0x5c2a(){var _0x248eb0=['4boSMcG','55218PXLHuS','399XseTDU','581988KeFIOM','33hISzEi','182FYMbVk','133305qvCUrh','4596744qhFziJ','245397sOpDUv','onProfileSimpleChanged','3284690wDjQOH','5776000imQIxO','18dqLHSc','12pcFONw'];_0x5c2a=function(){return _0x248eb0;};return _0x5c2a();}function _0x3782(_0x3b0d2f,_0x3becf8){var _0x5c2a8d=_0x5c2a();return _0x3782=function(_0x378296,_0x54cd36){_0x378296=_0x378296-0x148;var _0x362aaf=_0x5c2a8d[_0x378296];return _0x362aaf;},_0x3782(_0x3b0d2f,_0x3becf8);}(function(_0x55fdd0,_0x3d6b6b){var _0x56bda2=_0x3782,_0x54c5cc=_0x55fdd0();while(!![]){try{var _0x1e9321=parseInt(_0x56bda2(0x151))/0x1*(parseInt(_0x56bda2(0x14b))/0x2)+-parseInt(_0x56bda2(0x153))/0x3*(-parseInt(_0x56bda2(0x14a))/0x4)+parseInt(_0x56bda2(0x148))/0x5+-parseInt(_0x56bda2(0x14c))/0x6*(parseInt(_0x56bda2(0x14d))/0x7)+parseInt(_0x56bda2(0x152))/0x8*(parseInt(_0x56bda2(0x149))/0x9)+parseInt(_0x56bda2(0x155))/0xa*(-parseInt(_0x56bda2(0x14f))/0xb)+-parseInt(_0x56bda2(0x14e))/0xc*(parseInt(_0x56bda2(0x150))/0xd);if(_0x1e9321===_0x3d6b6b)break;else _0x54c5cc['push'](_0x54c5cc['shift']());}catch(_0x5a0bbd){_0x54c5cc['push'](_0x54c5cc['shift']());}}}(_0x5c2a,0x992e5));export class ProfileListener{[_0x3a82e4(0x154)](..._0x545fb2){}['onProfileDetailInfoChanged'](_0x40e2c7){}['onStatusUpdate'](..._0x50e3f0){}['onSelfStatusChanged'](..._0x4492a5){}['onStrangerRemarkChanged'](..._0x1e3b2d){}} \ No newline at end of file +function _0x1c02(_0x57b8e7,_0x5ae29c){var _0x258e06=_0x258e();return _0x1c02=function(_0x1c02bf,_0x10a660){_0x1c02bf=_0x1c02bf-0x1b5;var _0x12be10=_0x258e06[_0x1c02bf];return _0x12be10;},_0x1c02(_0x57b8e7,_0x5ae29c);}function _0x258e(){var _0x32eaf3=['12elQKjl','10616duontY','onSelfStatusChanged','10899270jPASsY','onStatusUpdate','91JLsdwL','onProfileSimpleChanged','2067050MgHzrh','3942675XsAcsy','1256884tXgcsy','onStrangerRemarkChanged','244eyoUdV','431672lqEFSp','59592380tsKHDD'];_0x258e=function(){return _0x32eaf3;};return _0x258e();}var _0x83d77c=_0x1c02;(function(_0x3e6634,_0x5f10bf){var _0x46b74d=_0x1c02,_0xb99dae=_0x3e6634();while(!![]){try{var _0x2cf13d=parseInt(_0x46b74d(0x1b9))/0x1*(-parseInt(_0x46b74d(0x1b5))/0x2)+-parseInt(_0x46b74d(0x1c0))/0x3+parseInt(_0x46b74d(0x1c1))/0x4+-parseInt(_0x46b74d(0x1bf))/0x5*(parseInt(_0x46b74d(0x1b8))/0x6)+-parseInt(_0x46b74d(0x1bd))/0x7*(parseInt(_0x46b74d(0x1b6))/0x8)+-parseInt(_0x46b74d(0x1bb))/0x9+parseInt(_0x46b74d(0x1b7))/0xa;if(_0x2cf13d===_0x5f10bf)break;else _0xb99dae['push'](_0xb99dae['shift']());}catch(_0x469dfd){_0xb99dae['push'](_0xb99dae['shift']());}}}(_0x258e,0xe1c5d));export class ProfileListener{[_0x83d77c(0x1be)](..._0x1a79f0){}['onProfileDetailInfoChanged'](_0x42a699){}[_0x83d77c(0x1bc)](..._0x5ed178){}[_0x83d77c(0x1ba)](..._0x282e09){}[_0x83d77c(0x1c2)](..._0x52927d){}} \ 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 14297c31..2dbbc8bb 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x8dcf(_0x402aec,_0x473f47){var _0x3531e2=_0x3531();return _0x8dcf=function(_0x8dcf48,_0xfc39b7){_0x8dcf48=_0x8dcf48-0x6d;var _0x1b3c0a=_0x3531e2[_0x8dcf48];return _0x1b3c0a;},_0x8dcf(_0x402aec,_0x473f47);}var _0x1867c2=_0x8dcf;(function(_0x5da2d5,_0x30a579){var _0x37c1d7=_0x8dcf,_0x250290=_0x5da2d5();while(!![]){try{var _0x18f4b0=-parseInt(_0x37c1d7(0x6f))/0x1*(-parseInt(_0x37c1d7(0x78))/0x2)+-parseInt(_0x37c1d7(0x76))/0x3+-parseInt(_0x37c1d7(0x70))/0x4*(-parseInt(_0x37c1d7(0x75))/0x5)+parseInt(_0x37c1d7(0x71))/0x6+parseInt(_0x37c1d7(0x74))/0x7*(parseInt(_0x37c1d7(0x6d))/0x8)+-parseInt(_0x37c1d7(0x77))/0x9+-parseInt(_0x37c1d7(0x6e))/0xa*(parseInt(_0x37c1d7(0x72))/0xb);if(_0x18f4b0===_0x30a579)break;else _0x250290['push'](_0x250290['shift']());}catch(_0x50d285){_0x250290['push'](_0x250290['shift']());}}}(_0x3531,0x9cc83));function _0x3531(){var _0x229f11=['56580tSZzCk','266928UuqtIY','11261151qunGoO','2882EdeLSr','8072nTPimv','2833140PCpKzM','501dmdCZh','92UCreYM','4465578JCnKvy','33nxGYaa','onRobotFriendListChanged','7672tdpRSH'];_0x3531=function(){return _0x229f11;};return _0x3531();}export class KernelRobotListener{[_0x1867c2(0x73)](..._0x57a92a){}['onRobotListChanged'](..._0x5b944f){}['onRobotProfileChanged'](..._0x528036){}} \ No newline at end of file +function _0x384e(_0x5545a0,_0x12299c){var _0x53299d=_0x5329();return _0x384e=function(_0x384eaf,_0x5a47da){_0x384eaf=_0x384eaf-0x89;var _0x389e9c=_0x53299d[_0x384eaf];return _0x389e9c;},_0x384e(_0x5545a0,_0x12299c);}var _0x24db5f=_0x384e;(function(_0x3e1adf,_0x5c8340){var _0x48e9f0=_0x384e,_0x2a6d38=_0x3e1adf();while(!![]){try{var _0x5117fd=parseInt(_0x48e9f0(0x91))/0x1*(parseInt(_0x48e9f0(0x89))/0x2)+-parseInt(_0x48e9f0(0x92))/0x3*(-parseInt(_0x48e9f0(0x8e))/0x4)+parseInt(_0x48e9f0(0x90))/0x5*(parseInt(_0x48e9f0(0x8f))/0x6)+-parseInt(_0x48e9f0(0x8d))/0x7+-parseInt(_0x48e9f0(0x94))/0x8*(-parseInt(_0x48e9f0(0x8a))/0x9)+-parseInt(_0x48e9f0(0x8c))/0xa*(parseInt(_0x48e9f0(0x96))/0xb)+-parseInt(_0x48e9f0(0x8b))/0xc;if(_0x5117fd===_0x5c8340)break;else _0x2a6d38['push'](_0x2a6d38['shift']());}catch(_0x58f1ae){_0x2a6d38['push'](_0x2a6d38['shift']());}}}(_0x5329,0x5fd2a));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x3836cc){}[_0x24db5f(0x93)](..._0x4e1e1b){}[_0x24db5f(0x95)](..._0x1e4487){}}function _0x5329(){var _0x5e66dc=['onRobotProfileChanged','181533bjslyN','39486VoYOna','5550921vcmPqx','7787580kRABYu','10FbsHBO','3906392xuMHAG','24nokoGc','3830718CeTwsc','5LIIWrW','12GHtSmX','61938yHvgHX','onRobotListChanged','8veFtTt'];_0x5329=function(){return _0x5e66dc;};return _0x5329();} \ 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 f180b276..04c4564d 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x3217ce=_0x1b53;function _0x1b53(_0x31fa45,_0xeba2ba){var _0x3a13a5=_0x3a13();return _0x1b53=function(_0x1b535f,_0x1d9462){_0x1b535f=_0x1b535f-0xc0;var _0x48c9c4=_0x3a13a5[_0x1b535f];return _0x48c9c4;},_0x1b53(_0x31fa45,_0xeba2ba);}function _0x3a13(){var _0x3eadd6=['2005899rLKGkJ','6mUbYPC','8312FCRrPh','onNTSessionCreate','2992548yVRcrO','3657423njcaNd','19080hKyPtu','4066760XYFlgu','onGProSessionCreate','onOpentelemetryInit','297888SPzcvs','onUserOnlineResult','3080550Owfuvm'];_0x3a13=function(){return _0x3eadd6;};return _0x3a13();}(function(_0x5c0fec,_0x43e46d){var _0x132868=_0x1b53,_0x45a8b2=_0x5c0fec();while(!![]){try{var _0x67783=-parseInt(_0x132868(0xc7))/0x1*(-parseInt(_0x132868(0xcb))/0x2)+parseInt(_0x132868(0xca))/0x3+-parseInt(_0x132868(0xc1))/0x4+parseInt(_0x132868(0xc4))/0x5+parseInt(_0x132868(0xc9))/0x6+parseInt(_0x132868(0xc2))/0x7+-parseInt(_0x132868(0xcc))/0x8*(parseInt(_0x132868(0xc3))/0x9);if(_0x67783===_0x43e46d)break;else _0x45a8b2['push'](_0x45a8b2['shift']());}catch(_0x50d84a){_0x45a8b2['push'](_0x45a8b2['shift']());}}}(_0x3a13,0x707ca));export class SessionListener{[_0x3217ce(0xc0)](_0x2c5032){}[_0x3217ce(0xc5)](_0x349f35){}['onSessionInitComplete'](_0x2aa360){}[_0x3217ce(0xc6)](_0x3b1b75){}[_0x3217ce(0xc8)](_0x423acc){}['onGetSelfTinyId'](_0x355c85){}} \ No newline at end of file +function _0x4281(_0x5734cc,_0xe630a9){var _0x1dab68=_0x1dab();return _0x4281=function(_0x4281c7,_0xd3883c){_0x4281c7=_0x4281c7-0xaf;var _0x5835bb=_0x1dab68[_0x4281c7];return _0x5835bb;},_0x4281(_0x5734cc,_0xe630a9);}function _0x1dab(){var _0x486ab4=['1684VakNhd','973uMEqlA','onNTSessionCreate','773137knWaKA','6mVOtAL','3220730nOyaVJ','onSessionInitComplete','2344HpiSOQ','onOpentelemetryInit','1092BDSZir','14431030uuGlfV','3962516tWxWmJ','onUserOnlineResult','118944YCjwop','onGProSessionCreate'];_0x1dab=function(){return _0x486ab4;};return _0x1dab();}var _0x28460f=_0x4281;(function(_0x4cb942,_0x527c2c){var _0x1b61fc=_0x4281,_0x2b4196=_0x4cb942();while(!![]){try{var _0xf12d47=-parseInt(_0x1b61fc(0xb7))/0x1+parseInt(_0x1b61fc(0xb4))/0x2*(parseInt(_0x1b61fc(0xbd))/0x3)+-parseInt(_0x1b61fc(0xb0))/0x4+-parseInt(_0x1b61fc(0xb9))/0x5*(-parseInt(_0x1b61fc(0xb8))/0x6)+-parseInt(_0x1b61fc(0xb5))/0x7*(-parseInt(_0x1b61fc(0xbb))/0x8)+parseInt(_0x1b61fc(0xb2))/0x9+parseInt(_0x1b61fc(0xaf))/0xa;if(_0xf12d47===_0x527c2c)break;else _0x2b4196['push'](_0x2b4196['shift']());}catch(_0x5919de){_0x2b4196['push'](_0x2b4196['shift']());}}}(_0x1dab,0xa6f8a));export class SessionListener{[_0x28460f(0xb6)](_0x382712){}[_0x28460f(0xb3)](_0x4871ac){}[_0x28460f(0xba)](_0x39a5a8){}[_0x28460f(0xbc)](_0x42a4a8){}[_0x28460f(0xb1)](_0x4f0295){}['onGetSelfTinyId'](_0x53abcb){}} \ 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 7c46590f..b99ffd79 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x1eee99=_0x586a;(function(_0x517108,_0x5c5c7d){var _0x56029b=_0x586a,_0xe5f51e=_0x517108();while(!![]){try{var _0x1ddd95=-parseInt(_0x56029b(0x89))/0x1*(parseInt(_0x56029b(0x8f))/0x2)+parseInt(_0x56029b(0x86))/0x3+-parseInt(_0x56029b(0x84))/0x4+parseInt(_0x56029b(0x8c))/0x5*(-parseInt(_0x56029b(0x8a))/0x6)+parseInt(_0x56029b(0x8b))/0x7*(-parseInt(_0x56029b(0x87))/0x8)+-parseInt(_0x56029b(0x83))/0x9+parseInt(_0x56029b(0x85))/0xa;if(_0x1ddd95===_0x5c5c7d)break;else _0xe5f51e['push'](_0xe5f51e['shift']());}catch(_0xedbb8){_0xe5f51e['push'](_0xe5f51e['shift']());}}}(_0x226b,0x40fbe));function _0x586a(_0x5c3d4c,_0x247991){var _0x226b78=_0x226b();return _0x586a=function(_0x586a67,_0x53148b){_0x586a67=_0x586a67-0x83;var _0x7f3244=_0x226b78[_0x586a67];return _0x7f3244;},_0x586a(_0x5c3d4c,_0x247991);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x20a1d5){}[_0x1eee99(0x8e)](_0x4c2d14){}[_0x1eee99(0x88)](_0x3316d9){}[_0x1eee99(0x90)](_0x14d350){}[_0x1eee99(0x8d)](_0x444678){}}function _0x226b(){var _0x56eda3=['1572652fsyJaV','11307730fQljUA','1442355BXsfha','8iRkjCs','onCleanCacheStorageChanged','1cgjobK','6uMdqgs','1055201EtJPRo','922815FBZDtc','onChatCleanDone','onScanCacheProgressChanged','1014282gUoctv','onFinishScan','987966lYeTzu'];_0x226b=function(){return _0x56eda3;};return _0x226b();} \ No newline at end of file +function _0x49e4(_0x3398dd,_0x112ff9){var _0x68f491=_0x68f4();return _0x49e4=function(_0x49e4eb,_0xfcda6d){_0x49e4eb=_0x49e4eb-0x1cd;var _0x5cc45c=_0x68f491[_0x49e4eb];return _0x5cc45c;},_0x49e4(_0x3398dd,_0x112ff9);}var _0x4e5250=_0x49e4;function _0x68f4(){var _0x38ba99=['5840135bggMoW','onScanCacheProgressChanged','816380FEyjXa','onFinishScan','99GqUdPQ','12uiOaAq','5225885dwdPXn','10080585fqhdAB','onCleanCacheProgressChanged','6yerBkw','16XzQqpZ','102521SqwtmK','7023nxolVY','1492rhRllI','27664728rStmLS','16phqCEO'];_0x68f4=function(){return _0x38ba99;};return _0x68f4();}(function(_0x2cea68,_0x5cd821){var _0x5d6cca=_0x49e4,_0x4c77f6=_0x2cea68();while(!![]){try{var _0x53fa87=parseInt(_0x5d6cca(0x1dc))/0x1*(parseInt(_0x5d6cca(0x1d0))/0x2)+parseInt(_0x5d6cca(0x1cd))/0x3*(parseInt(_0x5d6cca(0x1ce))/0x4)+parseInt(_0x5d6cca(0x1d1))/0x5*(-parseInt(_0x5d6cca(0x1da))/0x6)+-parseInt(_0x5d6cca(0x1d7))/0x7*(parseInt(_0x5d6cca(0x1db))/0x8)+-parseInt(_0x5d6cca(0x1d8))/0x9+-parseInt(_0x5d6cca(0x1d3))/0xa*(-parseInt(_0x5d6cca(0x1d5))/0xb)+-parseInt(_0x5d6cca(0x1d6))/0xc*(-parseInt(_0x5d6cca(0x1cf))/0xd);if(_0x53fa87===_0x5cd821)break;else _0x4c77f6['push'](_0x4c77f6['shift']());}catch(_0x2951a9){_0x4c77f6['push'](_0x4c77f6['shift']());}}}(_0x68f4,0xbd32d));export class StorageCleanListener{[_0x4e5250(0x1d9)](_0x1865a9){}[_0x4e5250(0x1d2)](_0x5ad8c1){}['onCleanCacheStorageChanged'](_0xe0bd52){}[_0x4e5250(0x1d4)](_0x46f44a){}['onChatCleanDone'](_0x4802b5){}} \ 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 931238b3..5cfabab4 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x463798,_0x2ac5aa){var _0x324ac9=_0x33ef,_0x589eeb=_0x463798();while(!![]){try{var _0x4c6768=-parseInt(_0x324ac9(0x182))/0x1+-parseInt(_0x324ac9(0x180))/0x2*(parseInt(_0x324ac9(0x185))/0x3)+parseInt(_0x324ac9(0x184))/0x4+-parseInt(_0x324ac9(0x183))/0x5+parseInt(_0x324ac9(0x181))/0x6*(parseInt(_0x324ac9(0x17f))/0x7)+-parseInt(_0x324ac9(0x17c))/0x8*(parseInt(_0x324ac9(0x17e))/0x9)+parseInt(_0x324ac9(0x17d))/0xa;if(_0x4c6768===_0x2ac5aa)break;else _0x589eeb['push'](_0x589eeb['shift']());}catch(_0x4b4d2f){_0x589eeb['push'](_0x589eeb['shift']());}}}(_0x257e,0x1f814));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x33ef(_0x3a948d,_0x4591a8){var _0x257ec1=_0x257e();return _0x33ef=function(_0x33ef8b,_0x3b5e3a){_0x33ef8b=_0x33ef8b-0x17c;var _0x43bb67=_0x257ec1[_0x33ef8b];return _0x43bb67;},_0x33ef(_0x3a948d,_0x4591a8);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x257e(){var _0x5bfc5e=['759844MAupGK','474DHGPeA','8mcfWTI','2309520bZwvax','39438exaauk','119IlfEyU','2782TFMgtT','53958MCNwet','11581NBcSEw','1045045VJvVEe'];_0x257e=function(){return _0x5bfc5e;};return _0x257e();}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x5d6a5c,_0x4aa357){var _0x2c769e=_0x553c,_0x5d1a73=_0x5d6a5c();while(!![]){try{var _0x53640d=parseInt(_0x2c769e(0x1e2))/0x1+-parseInt(_0x2c769e(0x1df))/0x2*(-parseInt(_0x2c769e(0x1e6))/0x3)+parseInt(_0x2c769e(0x1e1))/0x4*(-parseInt(_0x2c769e(0x1e7))/0x5)+-parseInt(_0x2c769e(0x1e9))/0x6*(parseInt(_0x2c769e(0x1e5))/0x7)+-parseInt(_0x2c769e(0x1e0))/0x8*(parseInt(_0x2c769e(0x1ea))/0x9)+-parseInt(_0x2c769e(0x1e3))/0xa+parseInt(_0x2c769e(0x1e4))/0xb*(parseInt(_0x2c769e(0x1e8))/0xc);if(_0x53640d===_0x4aa357)break;else _0x5d1a73['push'](_0x5d1a73['shift']());}catch(_0x1f6500){_0x5d1a73['push'](_0x5d1a73['shift']());}}}(_0x43f4,0xe9005));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x43f4(){var _0x5acd1a=['4263258fTVphn','833103rpcZkp','14746xdNwcG','16HXheKq','4MqVUay','492389hfbaEz','10503400CtkwkQ','11CDBfxg','14JYPlDH','606DTFkpy','6765475rzBqac','35787516VdCodY'];_0x43f4=function(){return _0x5acd1a;};return _0x43f4();}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x553c(_0x1aa9b6,_0x45315e){var _0x43f429=_0x43f4();return _0x553c=function(_0x553cfd,_0x138b1f){_0x553cfd=_0x553cfd-0x1df;var _0x11e00a=_0x43f429[_0x553cfd];return _0x11e00a;},_0x553c(_0x1aa9b6,_0x45315e);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts b/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts index ff3fcd08..2b68476c 100644 --- a/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts +++ b/src/core.lib/src/services/NodeIKernelRichMediaService.d.ts @@ -2,7 +2,21 @@ import { GetFileListParam, Peer } from "../entities"; import { GeneralCallResult } from "./common"; export interface NodeIKernelRichMediaService { getVideoPlayUrl(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, VideoRequestWay: number): Promise; - getVideoPlayUrlV2(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, exParams: unknown): unknown; + getVideoPlayUrlV2(peer: Peer, msgId: string, elemId: string, videoCodecFormat: number, exParams: { + downSourceType: number; + triggerType: number; + }): Promise; + videoCodecFormat: number; + }; + }>; getRichMediaFileDir(arg1: unknown, arg2: unknown, arg3: unknown): unknown; getVideoPlayUrlInVisit(arg: unknown): unknown; isFileExpired(arg: unknown): unknown; diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index d31345ee..3df1caf0 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x3e7893,_0x421a25){var _0x43467d=_0x28cc,_0x491f47=_0x3e7893();while(!![]){try{var _0x17b0c3=parseInt(_0x43467d(0x118))/0x1*(-parseInt(_0x43467d(0x116))/0x2)+-parseInt(_0x43467d(0x10e))/0x3+-parseInt(_0x43467d(0x117))/0x4*(-parseInt(_0x43467d(0x114))/0x5)+-parseInt(_0x43467d(0x110))/0x6*(parseInt(_0x43467d(0x113))/0x7)+parseInt(_0x43467d(0x10d))/0x8+-parseInt(_0x43467d(0x10f))/0x9*(-parseInt(_0x43467d(0x112))/0xa)+-parseInt(_0x43467d(0x115))/0xb*(-parseInt(_0x43467d(0x111))/0xc);if(_0x17b0c3===_0x421a25)break;else _0x491f47['push'](_0x491f47['shift']());}catch(_0x45b177){_0x491f47['push'](_0x491f47['shift']());}}}(_0x248f,0xa854c));function _0x28cc(_0x59e3e9,_0x203456){var _0x248fe1=_0x248f();return _0x28cc=function(_0x28cc02,_0x35b577){_0x28cc02=_0x28cc02-0x10d;var _0x5aa9c9=_0x248fe1[_0x28cc02];return _0x5aa9c9;},_0x28cc(_0x59e3e9,_0x203456);}function _0x248f(){var _0x4e35be=['1AyFWAP','8971968PLvAyd','3112476WhBlmh','49986nTYzbI','5442jeWctY','24oMPnun','50duOJQA','9499bKczmH','5AxScYw','3362029aLAYSz','44534JlpgVL','4877992klxdZf'];_0x248f=function(){return _0x4e35be;};return _0x248f();} \ No newline at end of file +'use strict';(function(_0x57cb8d,_0x5bf139){var _0x4a3ccd=_0x2475,_0x3821c4=_0x57cb8d();while(!![]){try{var _0x5652d1=-parseInt(_0x4a3ccd(0x9b))/0x1+-parseInt(_0x4a3ccd(0x97))/0x2*(-parseInt(_0x4a3ccd(0x98))/0x3)+-parseInt(_0x4a3ccd(0x92))/0x4+-parseInt(_0x4a3ccd(0x9a))/0x5+parseInt(_0x4a3ccd(0x96))/0x6*(parseInt(_0x4a3ccd(0x95))/0x7)+parseInt(_0x4a3ccd(0x94))/0x8*(parseInt(_0x4a3ccd(0x93))/0x9)+parseInt(_0x4a3ccd(0x99))/0xa;if(_0x5652d1===_0x5bf139)break;else _0x3821c4['push'](_0x3821c4['shift']());}catch(_0x525ea5){_0x3821c4['push'](_0x3821c4['shift']());}}}(_0x6557,0x7dd9c));function _0x6557(){var _0xa1b379=['2469112ryjejX','2331SKTGhK','18856WFqFYx','42ASCsDM','824244lsJfoS','26TYHpBe','177381PfKXPk','4092080SMyxLv','3648045CDLecH','750195Nleizp'];_0x6557=function(){return _0xa1b379;};return _0x6557();}function _0x2475(_0x248485,_0x55c1ea){var _0x65572c=_0x6557();return _0x2475=function(_0x2475a1,_0xe00e35){_0x2475a1=_0x2475a1-0x92;var _0x5bfa54=_0x65572c[_0x2475a1];return _0x5bfa54;},_0x2475(_0x248485,_0x55c1ea);} \ 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 f9c18c22..98fd41a4 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(function(_0x57888f,_0x2ce67c){var _0x25deda=_0x1002,_0x4091a9=_0x57888f();while(!![]){try{var _0x556693=parseInt(_0x25deda(0x10e))/0x1+parseInt(_0x25deda(0x111))/0x2+-parseInt(_0x25deda(0x10c))/0x3*(parseInt(_0x25deda(0x10f))/0x4)+parseInt(_0x25deda(0x10b))/0x5+parseInt(_0x25deda(0x110))/0x6+parseInt(_0x25deda(0x10d))/0x7*(parseInt(_0x25deda(0x114))/0x8)+parseInt(_0x25deda(0x113))/0x9*(-parseInt(_0x25deda(0x112))/0xa);if(_0x556693===_0x2ce67c)break;else _0x4091a9['push'](_0x4091a9['shift']());}catch(_0x4c9892){_0x4091a9['push'](_0x4091a9['shift']());}}}(_0xf105,0x9c9f3));function _0xf105(){var _0x4648ec=['3052EqHxYH','303490RzayFv','198UUjPfx','6828736ciOuyw','5217820qnedit','417KxKzRR','7rBfObJ','258968VBwBPU','36232kAAAKm','2463678DcCTVW'];_0xf105=function(){return _0x4648ec;};return _0xf105();}function _0x1002(_0x22ae73,_0x23505a){var _0xf1057=_0xf105();return _0x1002=function(_0x1002e6,_0x311388){_0x1002e6=_0x1002e6-0x10b;var _0x37dfe7=_0xf1057[_0x1002e6];return _0x37dfe7;},_0x1002(_0x22ae73,_0x23505a);}export var GeneralCallResultStatus;(function(_0x1b1b32){_0x1b1b32[_0x1b1b32['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x54b4da,_0x22aa9c){var _0x5efa89=_0x19fc,_0xd5abac=_0x54b4da();while(!![]){try{var _0x2b0e05=-parseInt(_0x5efa89(0xd5))/0x1+parseInt(_0x5efa89(0xd9))/0x2*(parseInt(_0x5efa89(0xd2))/0x3)+-parseInt(_0x5efa89(0xd4))/0x4*(parseInt(_0x5efa89(0xd7))/0x5)+parseInt(_0x5efa89(0xd6))/0x6*(-parseInt(_0x5efa89(0xd1))/0x7)+-parseInt(_0x5efa89(0xd0))/0x8*(-parseInt(_0x5efa89(0xd8))/0x9)+-parseInt(_0x5efa89(0xd3))/0xa+parseInt(_0x5efa89(0xda))/0xb;if(_0x2b0e05===_0x22aa9c)break;else _0xd5abac['push'](_0xd5abac['shift']());}catch(_0x5008a2){_0xd5abac['push'](_0xd5abac['shift']());}}}(_0xb9cf,0x6383b));export var GeneralCallResultStatus;(function(_0x44e834){_0x44e834[_0x44e834['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x19fc(_0x110eb3,_0x2c6a6b){var _0xb9cfd5=_0xb9cf();return _0x19fc=function(_0x19fc04,_0x569eb7){_0x19fc04=_0x19fc04-0xd0;var _0x5998f8=_0xb9cfd5[_0x19fc04];return _0x5998f8;},_0x19fc(_0x110eb3,_0x2c6a6b);}function _0xb9cf(){var _0x3eb6eb=['26263402LdlFAi','16HQAJIf','6475jHbLPu','3qGtzqT','6214880kAHorg','42268mGOvkc','812352PhwTHL','4254RgoPVN','265DStVcy','2489769twiWeB','232926hsOSaF'];_0xb9cf=function(){return _0x3eb6eb;};return _0xb9cf();} \ 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 467ed108..a552ff98 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x41194f,_0xd296f){var _0xbdf4f6=_0x22ee,_0x329804=_0x41194f();while(!![]){try{var _0x280917=-parseInt(_0xbdf4f6(0xe4))/0x1*(parseInt(_0xbdf4f6(0xe2))/0x2)+-parseInt(_0xbdf4f6(0xe9))/0x3*(-parseInt(_0xbdf4f6(0xe7))/0x4)+-parseInt(_0xbdf4f6(0xe6))/0x5+-parseInt(_0xbdf4f6(0xe3))/0x6*(parseInt(_0xbdf4f6(0xdd))/0x7)+-parseInt(_0xbdf4f6(0xe8))/0x8*(-parseInt(_0xbdf4f6(0xe0))/0x9)+parseInt(_0xbdf4f6(0xde))/0xa*(parseInt(_0xbdf4f6(0xe5))/0xb)+parseInt(_0xbdf4f6(0xdf))/0xc*(parseInt(_0xbdf4f6(0xe1))/0xd);if(_0x280917===_0xd296f)break;else _0x329804['push'](_0x329804['shift']());}catch(_0x22b984){_0x329804['push'](_0x329804['shift']());}}}(_0x3d36,0xd5aac));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3d36(){var _0x2de0d8=['4341162qyfKkJ','51790VSuNzD','11760uhMhuv','45rCsJUY','18109RtHfUm','2Ikizwt','6KNnzWg','607346vOKGcw','1133WvOLHh','5757115MBqNPu','4dYuqbB','803976uPitFD','2559159dgmTfl'];_0x3d36=function(){return _0x2de0d8;};return _0x3d36();}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';function _0x22ee(_0x3a9c87,_0x1e2004){var _0x3d365c=_0x3d36();return _0x22ee=function(_0x22eef8,_0x604062){_0x22eef8=_0x22eef8-0xdd;var _0x53accf=_0x3d365c[_0x22eef8];return _0x53accf;},_0x22ee(_0x3a9c87,_0x1e2004);}export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x4a8cd1,_0x4b8d3f){var _0x46c902=_0xe26d,_0x295c56=_0x4a8cd1();while(!![]){try{var _0x25bbf1=parseInt(_0x46c902(0x17c))/0x1*(parseInt(_0x46c902(0x177))/0x2)+parseInt(_0x46c902(0x17a))/0x3*(-parseInt(_0x46c902(0x180))/0x4)+parseInt(_0x46c902(0x178))/0x5+parseInt(_0x46c902(0x17b))/0x6*(parseInt(_0x46c902(0x17f))/0x7)+parseInt(_0x46c902(0x17e))/0x8+-parseInt(_0x46c902(0x17d))/0x9+parseInt(_0x46c902(0x179))/0xa;if(_0x25bbf1===_0x4b8d3f)break;else _0x295c56['push'](_0x295c56['shift']());}catch(_0x2db156){_0x295c56['push'](_0x295c56['shift']());}}}(_0x311b,0x8a8ad));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0xe26d(_0x59d12d,_0x2fbdc0){var _0x311b66=_0x311b();return _0xe26d=function(_0xe26db3,_0x25b73c){_0xe26db3=_0xe26db3-0x177;var _0x2c28f1=_0x311b66[_0xe26db3];return _0x2c28f1;},_0xe26d(_0x59d12d,_0x2fbdc0);}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x311b(){var _0x30759a=['1336PWQWfa','3644610uVfqcx','6507170hCEcnA','101733RSjHbQ','71658MoypQT','686eJogoH','4171959VBgPFI','583208mkYwkZ','21ZgJtDf','108vcXkpC'];_0x311b=function(){return _0x30759a;};return _0x311b();}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 95f96c3f..a229e1fa 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x3f964e,_0xdecb8b){var _0x59f393=_0x44b1,_0x30a170=_0x3f964e();while(!![]){try{var _0x47e381=-parseInt(_0x59f393(0x1d0))/0x1+parseInt(_0x59f393(0x1cb))/0x2*(parseInt(_0x59f393(0x1d7))/0x3)+-parseInt(_0x59f393(0x1dd))/0x4*(-parseInt(_0x59f393(0x1c7))/0x5)+-parseInt(_0x59f393(0x1cf))/0x6+-parseInt(_0x59f393(0x1bf))/0x7*(-parseInt(_0x59f393(0x1d2))/0x8)+-parseInt(_0x59f393(0x1c8))/0x9*(parseInt(_0x59f393(0x1b3))/0xa)+parseInt(_0x59f393(0x1d8))/0xb*(parseInt(_0x59f393(0x1e0))/0xc);if(_0x47e381===_0xdecb8b)break;else _0x30a170['push'](_0x30a170['shift']());}catch(_0x198aab){_0x30a170['push'](_0x30a170['shift']());}}}(_0x59e6,0x5c0a8));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0xe14945 from'node:path';function _0x59e6(){var _0x5107e8=['NdkPh','ykFJr','curVersion','join','820abHfeG','0|4|1|3|2','temp','60hzQUCS','3597910Moyzon','eyMZx','KCOMPUTER','FzrPo','KUNSUPPORTANDROIDPUSH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','NapCat','AXRFa','KWINDOWS','version','HVVBU','KSUPPORTGOOGLEPUSH','1510901pqRzhK','KANDROID','assign','dRQXW','UIOWz','KSUPPORTTPNS','KNOSETONIOS','jHSAj','17645JCmJXL','9PBbIDS','bGgEQ','mkdirSync','95756WkmXYC','KSUPPORTVIVOPUSH','KPAD','LbleG','3621444nlkuHZ','528845FqnxAq','3|2|1|0|5|4|6','16zzSrjc','odcuv','hpOzA','xYhPD','KSUPPORTOPPOPUSH','9AuYqDD','1254979lODKfU'];_0x59e6=function(){return _0x5107e8;};return _0x59e6();}import _0x256564 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x31cac2){var _0x5dc10c=_0x44b1,_0x2ac09f={'dRQXW':_0x5dc10c(0x1de),'AXRFa':'KUNKNOWN','FzrPo':'KIOS','hpOzA':'KMAC','JkIHN':_0x5dc10c(0x1bb),'eyMZx':_0x5dc10c(0x1c0)},_0x55faab=_0x2ac09f[_0x5dc10c(0x1c2)]['split']('|'),_0xa0faa4=0x0;while(!![]){switch(_0x55faab[_0xa0faa4++]){case'0':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1ba)]]=0x0]=_0x2ac09f['AXRFa'];continue;case'1':_0x31cac2[_0x31cac2['KIOS']=0x2]=_0x2ac09f[_0x5dc10c(0x1b6)];continue;case'2':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1d4)]]=0x4]=_0x2ac09f[_0x5dc10c(0x1d4)];continue;case'3':_0x31cac2[_0x31cac2[_0x5dc10c(0x1bb)]=0x3]=_0x2ac09f['JkIHN'];continue;case'4':_0x31cac2[_0x31cac2[_0x2ac09f[_0x5dc10c(0x1b4)]]=0x1]=_0x5dc10c(0x1c0);continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x373aa2){var _0x12b14f=_0x44b1,_0x307cbd={'xYhPD':'KUNKNOWN','UIOWz':'KPHONE','ykFJr':_0x12b14f(0x1b5)};_0x373aa2[_0x373aa2[_0x307cbd[_0x12b14f(0x1d5)]]=0x0]=_0x307cbd[_0x12b14f(0x1d5)],_0x373aa2[_0x373aa2[_0x307cbd[_0x12b14f(0x1c3)]]=0x1]=_0x307cbd[_0x12b14f(0x1c3)],_0x373aa2[_0x373aa2[_0x12b14f(0x1cd)]=0x2]=_0x12b14f(0x1cd),_0x373aa2[_0x373aa2[_0x12b14f(0x1b5)]=0x3]=_0x307cbd[_0x12b14f(0x1da)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x56c87f){var _0x51a281=_0x44b1,_0x3d7fd1={'jHSAj':'KSUPPORTHMS','thtxL':_0x51a281(0x1be),'bGgEQ':_0x51a281(0x1c5),'HVVBU':_0x51a281(0x1cc),'NdkPh':_0x51a281(0x1c4),'odcuv':_0x51a281(0x1b7)},_0x385ee0=_0x51a281(0x1d1)['split']('|'),_0x12ea0f=0x0;while(!![]){switch(_0x385ee0[_0x12ea0f++]){case'0':_0x56c87f[_0x56c87f[_0x51a281(0x1d6)]=0x4]=_0x51a281(0x1d6);continue;case'1':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1c6)]]=0x3]=_0x3d7fd1[_0x51a281(0x1c6)];continue;case'2':_0x56c87f[_0x56c87f[_0x51a281(0x1be)]=0x63]=_0x3d7fd1['thtxL'];continue;case'3':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1c9)]]=0x0]=_0x3d7fd1[_0x51a281(0x1c9)];continue;case'4':_0x56c87f[_0x56c87f[_0x51a281(0x1cc)]=0x5]=_0x3d7fd1[_0x51a281(0x1bd)];continue;case'5':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1d9)]]=0x2]=_0x3d7fd1[_0x51a281(0x1d9)];continue;case'6':_0x56c87f[_0x56c87f[_0x3d7fd1[_0x51a281(0x1d3)]]=0x1]=_0x3d7fd1['odcuv'];continue;}break;}}(VendorType||(VendorType={})));function _0x44b1(_0x5d4471,_0x12d149){var _0x59e6cd=_0x59e6();return _0x44b1=function(_0x44b170,_0x3973d2){_0x44b170=_0x44b170-0x1b3;var _0x2bb797=_0x59e6cd[_0x44b170];return _0x2bb797;},_0x44b1(_0x5d4471,_0x12d149);}export const sessionConfig={};export async function genSessionConfig(_0x52c7ea,_0xff4c8c,_0x1bd53c){var _0x537007=_0x44b1,_0x50b534={'LbleG':_0x537007(0x1b9),'XquJc':function(_0x4e8a9e){return _0x4e8a9e();}};const _0x2ec7c6=_0xe14945[_0x537007(0x1dc)](_0x1bd53c,_0x50b534[_0x537007(0x1ce)],_0x537007(0x1df));_0x256564[_0x537007(0x1ca)](_0x2ec7c6,{'recursive':!![]});let _0x536cc7=await _0x50b534['XquJc'](getMachineId);const _0x398851={'selfUin':_0x52c7ea,'selfUid':_0xff4c8c,'desktopPathConfig':{'account_path':_0x1bd53c},'clientVer':qqVersionConfigInfo[_0x537007(0x1db)],'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':_0x2ec7c6,'deviceInfo':{'guid':_0x536cc7,'buildVer':qqPkgInfo[_0x537007(0x1bc)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x537007(0x1b8)};return Object[_0x537007(0x1c1)](sessionConfig,_0x398851),_0x398851;} \ No newline at end of file +(function(_0x55fb7f,_0x3c4ade){var _0x3b8fbd=_0x3340,_0x15ab71=_0x55fb7f();while(!![]){try{var _0x296187=-parseInt(_0x3b8fbd(0xed))/0x1+-parseInt(_0x3b8fbd(0xf0))/0x2+parseInt(_0x3b8fbd(0xff))/0x3*(-parseInt(_0x3b8fbd(0x10d))/0x4)+-parseInt(_0x3b8fbd(0x108))/0x5*(parseInt(_0x3b8fbd(0xf4))/0x6)+parseInt(_0x3b8fbd(0xf8))/0x7*(parseInt(_0x3b8fbd(0xf6))/0x8)+parseInt(_0x3b8fbd(0x100))/0x9+parseInt(_0x3b8fbd(0xe9))/0xa;if(_0x296187===_0x3c4ade)break;else _0x15ab71['push'](_0x15ab71['shift']());}catch(_0xbe2481){_0x15ab71['push'](_0x15ab71['shift']());}}}(_0x1bdd,0x2c5cc));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x177685 from'node:path';function _0x3340(_0x5d4627,_0x2585c7){var _0x1bddd3=_0x1bdd();return _0x3340=function(_0x33405a,_0x1c5f01){_0x33405a=_0x33405a-0xe1;var _0x561de6=_0x1bddd3[_0x33405a];return _0x561de6;},_0x3340(_0x5d4627,_0x2585c7);}import _0x515567 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x243b18){var _0x3f4f6e=_0x3340,_0x4223f1={'gsOPv':'3|0|4|1|2','fTrla':_0x3f4f6e(0xf9),'TveUg':_0x3f4f6e(0xea),'SGiMB':_0x3f4f6e(0x101),'HIBPo':_0x3f4f6e(0xfb)},_0x59a9ab=_0x4223f1[_0x3f4f6e(0x10c)][_0x3f4f6e(0x10a)]('|'),_0x4a4c5a=0x0;while(!![]){switch(_0x59a9ab[_0x4a4c5a++]){case'0':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe6)]]=0x1]=_0x4223f1['fTrla'];continue;case'1':_0x243b18[_0x243b18[_0x4223f1['TveUg']]=0x3]=_0x4223f1[_0x3f4f6e(0xf1)];continue;case'2':_0x243b18[_0x243b18[_0x3f4f6e(0x110)]=0x4]=_0x3f4f6e(0x110);continue;case'3':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe3)]]=0x0]=_0x3f4f6e(0x101);continue;case'4':_0x243b18[_0x243b18[_0x4223f1['HIBPo']]=0x2]=_0x4223f1[_0x3f4f6e(0xf7)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x4a2a18){var _0x565a09=_0x3340,_0x39f6e1={'oaheu':_0x565a09(0x101),'SVsPV':_0x565a09(0xf3),'pNXwL':'KPAD','RWnEG':_0x565a09(0xe1)};_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xeb)]]=0x0]=_0x565a09(0x101),_0x4a2a18[_0x4a2a18[_0x565a09(0xf3)]=0x1]=_0x39f6e1[_0x565a09(0x102)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xe7)]]=0x2]=_0x39f6e1[_0x565a09(0xe7)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0x10f)]]=0x3]=_0x39f6e1[_0x565a09(0x10f)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x3d9be6){var _0x290680=_0x3340,_0x4b182b={'oQPdc':'KSUPPORTTPNS','RXhzw':_0x290680(0x10e),'PLKyj':_0x290680(0x109),'TRxyZ':_0x290680(0xfa),'KNBKk':_0x290680(0x10b),'QwsDc':'KSUPPORTOPPOPUSH','qumtO':_0x290680(0x104)},_0xf203d3=_0x290680(0xe2)['split']('|'),_0x3e1770=0x0;while(!![]){switch(_0xf203d3[_0x3e1770++]){case'0':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x103)]]=0x2]=_0x4b182b['oQPdc'];continue;case'1':_0x3d9be6[_0x3d9be6[_0x290680(0x10e)]=0x0]=_0x4b182b[_0x290680(0xfc)];continue;case'2':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x107)]]=0x63]=_0x4b182b[_0x290680(0x107)];continue;case'3':_0x3d9be6[_0x3d9be6[_0x4b182b['TRxyZ']]=0x3]=_0x290680(0xfa);continue;case'4':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xf2)]]=0x5]=_0x4b182b['KNBKk'];continue;case'5':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xec)]]=0x4]=_0x4b182b[_0x290680(0xec)];continue;case'6':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xfe)]]=0x1]=_0x290680(0x104);continue;}break;}}(VendorType||(VendorType={})));function _0x1bdd(){var _0x329792=['SVsPV','oQPdc','KUNSUPPORTANDROIDPUSH','YaAfh','curVersion','PLKyj','1529950TfJXBu','KSUPPORTGOOGLEPUSH','split','KSUPPORTVIVOPUSH','gsOPv','1132760EmddTI','KNOSETONIOS','RWnEG','KMAC','KCOMPUTER','1|2|3|5|0|4|6','SGiMB','mkdirSync','join','fTrla','pNXwL','assign','7920630AXwRfJ','KWINDOWS','oaheu','QwsDc','350286FAGbIU','temp','version','127980FrOrSa','TveUg','KNBKk','KPHONE','6rVjwWj','NapCat','8gzGWBf','HIBPo','2174137noiPAJ','KANDROID','KSUPPORTHMS','KIOS','RXhzw','ATSZt','qumtO','3WQiIoV','742590XdDCwN','KUNKNOWN'];_0x1bdd=function(){return _0x329792;};return _0x1bdd();}export const sessionConfig={};export async function genSessionConfig(_0x5ccc41,_0x16fba5,_0x50b317){var _0xc33250=_0x3340,_0x54917a={'YaAfh':_0xc33250(0xf5),'ATSZt':function(_0x2a79bb){return _0x2a79bb();}};const _0x4e706e=_0x177685[_0xc33250(0xe5)](_0x50b317,_0x54917a[_0xc33250(0x105)],_0xc33250(0xee));_0x515567[_0xc33250(0xe4)](_0x4e706e,{'recursive':!![]});let _0x2e07db=await _0x54917a[_0xc33250(0xfd)](getMachineId);const _0x5a1444={'selfUin':_0x5ccc41,'selfUid':_0x16fba5,'desktopPathConfig':{'account_path':_0x50b317},'clientVer':qqVersionConfigInfo[_0xc33250(0x106)],'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':_0x4e706e,'deviceInfo':{'guid':_0x2e07db,'buildVer':qqPkgInfo[_0xc33250(0xef)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0xc33250(0xe8)](sessionConfig,_0x5a1444),_0x5a1444;} \ 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 e5919763..36d2551d 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x5cd826=_0x5b50;(function(_0x3a48b8,_0x5f0ba7){const _0x170642=_0x5b50,_0x3159cf=_0x3a48b8();while(!![]){try{const _0x40d107=parseInt(_0x170642(0x130))/0x1*(parseInt(_0x170642(0x121))/0x2)+-parseInt(_0x170642(0x12c))/0x3*(-parseInt(_0x170642(0x120))/0x4)+-parseInt(_0x170642(0x11d))/0x5*(parseInt(_0x170642(0x11e))/0x6)+parseInt(_0x170642(0x11f))/0x7*(-parseInt(_0x170642(0x12b))/0x8)+parseInt(_0x170642(0x12a))/0x9+parseInt(_0x170642(0x12e))/0xa*(-parseInt(_0x170642(0x127))/0xb)+parseInt(_0x170642(0x125))/0xc;if(_0x40d107===_0x5f0ba7)break;else _0x3159cf['push'](_0x3159cf['shift']());}catch(_0x1853b7){_0x3159cf['push'](_0x3159cf['shift']());}}}(_0x490b,0xcf9ea));import _0x2dffc8 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x5b50(_0x34f7f3,_0x547ef7){const _0x490b3b=_0x490b();return _0x5b50=function(_0x5b503b,_0x546a60){_0x5b503b=_0x5b503b-0x11c;let _0xab0bdd=_0x490b3b[_0x5b503b];return _0xab0bdd;},_0x5b50(_0x34f7f3,_0x547ef7);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x5cd826(0x129)]=!![];['consoleLog']=!![];[_0x5cd826(0x122)]=LogLevel[_0x5cd826(0x11c)];[_0x5cd826(0x124)]=LogLevel[_0x5cd826(0x128)];constructor(){super();}[_0x5cd826(0x12d)](){const _0x2697cf=_0x5cd826;return _0x2dffc8[_0x2697cf(0x126)](this['getConfigDir'](),_0x2697cf(0x123)+selfInfo[_0x2697cf(0x12f)]+'.json');}}function _0x490b(){const _0x4a0939=['48NJfeZq','getConfigPath','310TxPHks','uin','87SMGXwj','DEBUG','70TIkaTq','721542Hjtebf','2552690GnBEvu','52568UQJjGB','26032CJOMHQ','fileLogLevel','napcat_','consoleLogLevel','16040508LTvdlH','join','81587yBDQqh','INFO','fileLog','7325118IJcmKF','16mcLViF'];_0x490b=function(){return _0x4a0939;};return _0x490b();}export const napCatConfig=new Config(); \ No newline at end of file +const _0x123f30=_0x5673;(function(_0x47189d,_0x421099){const _0x28320c=_0x5673,_0x31a807=_0x47189d();while(!![]){try{const _0x388bd2=parseInt(_0x28320c(0x175))/0x1+-parseInt(_0x28320c(0x17f))/0x2*(-parseInt(_0x28320c(0x17a))/0x3)+-parseInt(_0x28320c(0x188))/0x4*(parseInt(_0x28320c(0x17c))/0x5)+parseInt(_0x28320c(0x185))/0x6*(-parseInt(_0x28320c(0x187))/0x7)+parseInt(_0x28320c(0x189))/0x8+parseInt(_0x28320c(0x176))/0x9*(-parseInt(_0x28320c(0x17d))/0xa)+-parseInt(_0x28320c(0x178))/0xb*(-parseInt(_0x28320c(0x183))/0xc);if(_0x388bd2===_0x421099)break;else _0x31a807['push'](_0x31a807['shift']());}catch(_0x5812b0){_0x31a807['push'](_0x31a807['shift']());}}}(_0x11eb,0x66746));import _0x1bd30b from'node:path';function _0x11eb(){const _0x37dff2=['DEBUG','1481133CNwLOD','fileLog','15455pOjGOV','520jHxtuW','consoleLog','2OSpGzU','uin','getConfigPath','consoleLogLevel','158172MIPMMU','join','3038010ExNSHv','fileLogLevel','7CkddDQ','1084kvBqVn','1527416JqUvGC','202093pRpKqi','46701TfLClb','napcat_','957OvLEhL'];_0x11eb=function(){return _0x37dff2;};return _0x11eb();}import{LogLevel}from'@/common/utils/log';function _0x5673(_0x9fffb8,_0xca565c){const _0x11eb82=_0x11eb();return _0x5673=function(_0x56734c,_0x1de4a4){_0x56734c=_0x56734c-0x175;let _0x491c60=_0x11eb82[_0x56734c];return _0x491c60;},_0x5673(_0x9fffb8,_0xca565c);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x123f30(0x17b)]=!![];[_0x123f30(0x17e)]=!![];[_0x123f30(0x186)]=LogLevel[_0x123f30(0x179)];[_0x123f30(0x182)]=LogLevel['INFO'];constructor(){super();}[_0x123f30(0x181)](){const _0x2616e0=_0x123f30;return _0x1bd30b[_0x2616e0(0x184)](this['getConfigDir'](),_0x2616e0(0x177)+selfInfo[_0x2616e0(0x180)]+'.json');}}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 91794bef..ad89fe2a 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x1bc2d2=_0x8525;(function(_0x1f1e13,_0x1cfdb0){const _0x2c58be=_0x8525,_0x45b406=_0x1f1e13();while(!![]){try{const _0x2f2a36=-parseInt(_0x2c58be(0x13f))/0x1+parseInt(_0x2c58be(0x139))/0x2+parseInt(_0x2c58be(0x13d))/0x3*(parseInt(_0x2c58be(0x145))/0x4)+parseInt(_0x2c58be(0x136))/0x5+-parseInt(_0x2c58be(0x137))/0x6*(parseInt(_0x2c58be(0x141))/0x7)+parseInt(_0x2c58be(0x149))/0x8*(parseInt(_0x2c58be(0x14b))/0x9)+parseInt(_0x2c58be(0x146))/0xa*(-parseInt(_0x2c58be(0x13b))/0xb);if(_0x2f2a36===_0x1cfdb0)break;else _0x45b406['push'](_0x45b406['shift']());}catch(_0x3d2ff3){_0x45b406['push'](_0x45b406['shift']());}}}(_0x1a5a,0x4ba03));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x1a5a(){const _0x15cec6=['12017951TLwssq','isExpired','3Srmrvz','获取rkey失败','9812fZWqeJ','getTime','14ckxdgs','http://napcat-sign.wumiao.wang:2082/rkey','XiSKT','bVoub','1119516KKQbwo','10zLhmQS','QgLjd','refreshRkey','919216kHmNET','cjxqU','27UdYnqg','serverUrl','expired_time','1882180UaLmBH','80892jmiRhe','rkeyData','876118vathcq','HttpGetJson'];_0x1a5a=function(){return _0x15cec6;};return _0x1a5a();}class RkeyManager{['serverUrl']='';[_0x1bc2d2(0x138)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x164552){const _0x431b66=_0x1bc2d2;this[_0x431b66(0x14c)]=_0x164552;}async['getRkey'](){const _0x38b4c1=_0x1bc2d2,_0x3a485d={'bVoub':function(_0x426bdc,_0x43622f,_0xa7193b){return _0x426bdc(_0x43622f,_0xa7193b);}};if(this[_0x38b4c1(0x13c)]())try{await this[_0x38b4c1(0x148)]();}catch(_0x3ce3e9){_0x3a485d[_0x38b4c1(0x144)](logError,_0x38b4c1(0x13e),_0x3ce3e9);}return this[_0x38b4c1(0x138)];}[_0x1bc2d2(0x13c)](){const _0x27f569=_0x1bc2d2,_0x2e38dd={'cjxqU':function(_0x1308e2,_0x2c0a1e){return _0x1308e2/_0x2c0a1e;},'QgLjd':function(_0x2f354c,_0x20d697){return _0x2f354c>_0x20d697;}},_0x1e1dfd=_0x2e38dd[_0x27f569(0x14a)](new Date()[_0x27f569(0x140)](),0x3e8);return _0x2e38dd[_0x27f569(0x147)](_0x1e1dfd,this[_0x27f569(0x138)][_0x27f569(0x135)]);}async[_0x1bc2d2(0x148)](){const _0x3a1ed2=_0x1bc2d2,_0x3fb6ba={'XiSKT':'GET'};this[_0x3a1ed2(0x138)]=await RequestUtil[_0x3a1ed2(0x13a)](this[_0x3a1ed2(0x14c)],_0x3fb6ba[_0x3a1ed2(0x143)]);}}function _0x8525(_0x34c923,_0x3fcb1c){const _0x1a5a2d=_0x1a5a();return _0x8525=function(_0x852527,_0xe8d257){_0x852527=_0x852527-0x135;let _0x4dbc99=_0x1a5a2d[_0x852527];return _0x4dbc99;},_0x8525(_0x34c923,_0x3fcb1c);}export const rkeyManager=new RkeyManager(_0x1bc2d2(0x142)); \ No newline at end of file +const _0x3f57e7=_0x381e;(function(_0x299626,_0x448260){const _0x426500=_0x381e,_0x357321=_0x299626();while(!![]){try{const _0x37d127=parseInt(_0x426500(0xb4))/0x1*(-parseInt(_0x426500(0xa2))/0x2)+parseInt(_0x426500(0xa5))/0x3*(parseInt(_0x426500(0xa6))/0x4)+-parseInt(_0x426500(0xad))/0x5*(-parseInt(_0x426500(0xae))/0x6)+parseInt(_0x426500(0xab))/0x7*(-parseInt(_0x426500(0xa0))/0x8)+parseInt(_0x426500(0xa3))/0x9*(parseInt(_0x426500(0xa7))/0xa)+-parseInt(_0x426500(0x9f))/0xb*(parseInt(_0x426500(0xa4))/0xc)+parseInt(_0x426500(0xb1))/0xd;if(_0x37d127===_0x448260)break;else _0x357321['push'](_0x357321['shift']());}catch(_0x2c384f){_0x357321['push'](_0x357321['shift']());}}}(_0x340d,0x6d592));function _0x381e(_0x57fdf7,_0x50b76d){const _0x340dc6=_0x340d();return _0x381e=function(_0x381ed7,_0x31cfc6){_0x381ed7=_0x381ed7-0x9f;let _0x5ea12f=_0x340dc6[_0x381ed7];return _0x5ea12f;},_0x381e(_0x57fdf7,_0x50b76d);}import{logError}from'@/common/utils/log';function _0x340d(){const _0x42e80e=['3626524eCEkyU','7112oNtotr','http://napcat-sign.wumiao.wang:2082/rkey','10084fDxrZj','1558926aodNiA','24ZGJfxn','12xqpzLr','324788qeokwS','50cJvsJe','rkeyData','serverUrl','isExpired','5635nlqrAD','获取rkey失败','20NFcgow','1180896OAoWFG','HttpGetJson','Dnvjo','4405661yVqdXD','OCNHG','expired_time','98XksGQB','getTime','GET','iXkdz','ZTxGs'];_0x340d=function(){return _0x42e80e;};return _0x340d();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3f57e7(0xa9)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x484601){this['serverUrl']=_0x484601;}async['getRkey'](){const _0xd5cecb=_0x3f57e7,_0x5a766d={'OCNHG':_0xd5cecb(0xac)};if(this[_0xd5cecb(0xaa)]())try{await this['refreshRkey']();}catch(_0x58cac8){logError(_0x5a766d[_0xd5cecb(0xb2)],_0x58cac8);}return this[_0xd5cecb(0xa8)];}[_0x3f57e7(0xaa)](){const _0x4e1edc=_0x3f57e7,_0x11b9bb={'ZTxGs':function(_0x39498c,_0x1db114){return _0x39498c/_0x1db114;},'Dnvjo':function(_0x1fcddb,_0x54a911){return _0x1fcddb>_0x54a911;}},_0x20d1d1=_0x11b9bb[_0x4e1edc(0xb8)](new Date()[_0x4e1edc(0xb5)](),0x3e8);return _0x11b9bb[_0x4e1edc(0xb0)](_0x20d1d1,this[_0x4e1edc(0xa8)][_0x4e1edc(0xb3)]);}async['refreshRkey'](){const _0x3eda00=_0x3f57e7,_0x14ee72={'iXkdz':_0x3eda00(0xb6)};this[_0x3eda00(0xa8)]=await RequestUtil[_0x3eda00(0xaf)](this['serverUrl'],_0x14ee72[_0x3eda00(0xb7)]);}}export const rkeyManager=new RkeyManager(_0x3f57e7(0xa1)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index 3be4e279..f1e29588 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x230ff6=_0x22ec;(function(_0x5db7ca,_0x4de8a5){const _0x1be26f=_0x22ec,_0x361716=_0x5db7ca();while(!![]){try{const _0x46ed33=-parseInt(_0x1be26f(0x100))/0x1+-parseInt(_0x1be26f(0x110))/0x2+parseInt(_0x1be26f(0x109))/0x3+-parseInt(_0x1be26f(0x102))/0x4+parseInt(_0x1be26f(0x10e))/0x5+parseInt(_0x1be26f(0xfe))/0x6+parseInt(_0x1be26f(0x10a))/0x7;if(_0x46ed33===_0x4de8a5)break;else _0x361716['push'](_0x361716['shift']());}catch(_0x4b04a8){_0x361716['push'](_0x361716['shift']());}}}(_0x1e0c,0x37a89));import _0x1be65e from'node:path';import _0x5407b2 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x1e0c(){const _0x7889c4=['existsSync','./resources/app/wrapper.node','180171OvOcvP','2641737fPOJgN','\x0amodule.exports\x20=\x20require(\x22','resolve','join','1344555CxpUdo','/wrapper.node','610102LKWWyF','1681992JwFhvN','WrapperLoader.cjs','323066ypAabl','execPath','522388IaQetS','curVersion','default','file://','url'];_0x1e0c=function(){return _0x7889c4;};return _0x1e0c();}import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x230ff6(0x106)]),__dirname=dirname(__filename);function _0x22ec(_0x46fc1c,_0x3ac7f3){const _0x1e0c4b=_0x1e0c();return _0x22ec=function(_0x22ec1e,_0x7e6bd1){_0x22ec1e=_0x22ec1e-0xfe;let _0x28658f=_0x1e0c4b[_0x22ec1e];return _0x28658f;},_0x22ec(_0x46fc1c,_0x3ac7f3);}let wrapperNodePath=_0x1be65e[_0x230ff6(0x10c)](_0x1be65e['dirname'](process[_0x230ff6(0x101)]),_0x230ff6(0x108));!_0x5407b2[_0x230ff6(0x107)](wrapperNodePath)&&(wrapperNodePath=_0x1be65e['join'](_0x1be65e['dirname'](process[_0x230ff6(0x101)]),'resources/app/versions/'+qqVersionConfigInfo[_0x230ff6(0x103)]+_0x230ff6(0x10f)));let WrapperLoader=_0x1be65e[_0x230ff6(0x10d)](__dirname,_0x230ff6(0xff));_0x5407b2['writeFileSync'](WrapperLoader,_0x230ff6(0x10b)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import(_0x230ff6(0x105)+WrapperLoader))[_0x230ff6(0x104)];export default QQWrapper; \ No newline at end of file +const _0x2bf31b=_0x2d78;(function(_0x29f866,_0x72657c){const _0x5b007d=_0x2d78,_0x829392=_0x29f866();while(!![]){try{const _0x1a4ba8=-parseInt(_0x5b007d(0x194))/0x1*(-parseInt(_0x5b007d(0x19b))/0x2)+parseInt(_0x5b007d(0x198))/0x3*(-parseInt(_0x5b007d(0x1a1))/0x4)+parseInt(_0x5b007d(0x19d))/0x5*(-parseInt(_0x5b007d(0x18b))/0x6)+parseInt(_0x5b007d(0x19c))/0x7+-parseInt(_0x5b007d(0x18d))/0x8*(-parseInt(_0x5b007d(0x19a))/0x9)+-parseInt(_0x5b007d(0x18f))/0xa*(-parseInt(_0x5b007d(0x1a3))/0xb)+-parseInt(_0x5b007d(0x193))/0xc*(-parseInt(_0x5b007d(0x196))/0xd);if(_0x1a4ba8===_0x72657c)break;else _0x829392['push'](_0x829392['shift']());}catch(_0x3bd4a4){_0x829392['push'](_0x829392['shift']());}}}(_0x4506,0x374be));import _0x15f3d9 from'node:path';import _0x4aa4ad from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2bf31b(0x18e)]),__dirname=dirname(__filename);let wrapperNodePath=_0x15f3d9[_0x2bf31b(0x190)](_0x15f3d9[_0x2bf31b(0x19e)](process[_0x2bf31b(0x1a4)]),_0x2bf31b(0x192));function _0x4506(){const _0x483b21=['resolve','writeFileSync','./resources/app/wrapper.node','393996kmRVtS','157XxEQBJ','\x0amodule.exports\x20=\x20require(\x22','13wWoEUH','curVersion','387126oNyBWS','WrapperLoader.cjs','9NcXYGQ','3854nhEBbJ','1227366uLxXBu','10klYmEt','dirname','default','join','12hfeaVz','/wrapper.node','176CUxGQW','execPath','664932NOyRdg','existsSync','932048dDTtuH','url','130030iuLVzI'];_0x4506=function(){return _0x483b21;};return _0x4506();}function _0x2d78(_0x3af6eb,_0x393088){const _0x4506ba=_0x4506();return _0x2d78=function(_0x2d78ac,_0x264ca){_0x2d78ac=_0x2d78ac-0x18b;let _0x4b7b85=_0x4506ba[_0x2d78ac];return _0x4b7b85;},_0x2d78(_0x3af6eb,_0x393088);}!_0x4aa4ad[_0x2bf31b(0x18c)](wrapperNodePath)&&(wrapperNodePath=_0x15f3d9[_0x2bf31b(0x1a0)](_0x15f3d9['dirname'](process[_0x2bf31b(0x1a4)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2bf31b(0x197)]+_0x2bf31b(0x1a2)));let WrapperLoader=_0x15f3d9['join'](__dirname,_0x2bf31b(0x199));_0x4aa4ad[_0x2bf31b(0x191)](WrapperLoader,_0x2bf31b(0x195)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0x2bf31b(0x19f)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/constructor.ts b/src/onebot11/constructor.ts index 86ec4bae..dc835ff5 100644 --- a/src/onebot11/constructor.ts +++ b/src/onebot11/constructor.ts @@ -42,6 +42,7 @@ import { ob11Config } from '@/onebot11/config'; import { deleteGroup, getFriend, 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'; export class OB11Constructor { @@ -191,23 +192,13 @@ export class OB11Constructor { else if (element.videoElement || element.fileElement) { const videoOrFileElement = element.videoElement || element.fileElement; const ob11MessageDataType = element.videoElement ? OB11MessageDataType.video : OB11MessageDataType.file; + let videoDownUrl = NTQQFileApi.getVideoUrl(msg, element); message_data['type'] = ob11MessageDataType; message_data['data']['file'] = videoOrFileElement.fileName; - message_data['data']['path'] = videoOrFileElement.filePath; + message_data['data']['path'] = videoDownUrl; + message_data['data']['url'] = videoDownUrl; message_data['data']['file_id'] = videoOrFileElement.fileUuid; message_data['data']['file_size'] = videoOrFileElement.fileSize; - // 怎么拿到url呢 - dbUtil.addFileCache({ - msgId: msg.msgId, - name: videoOrFileElement.fileName, - path: videoOrFileElement.filePath, - size: parseInt(videoOrFileElement.fileSize || '0'), - uuid: videoOrFileElement.fileUuid || '', - url: '', - element: element.videoElement || element.fileElement, - elementType: element.videoElement ? ElementType.VIDEO : ElementType.FILE, - elementId: element.elementId - }).then(); } else if (element.pttElement) { message_data['type'] = OB11MessageDataType.voice; diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index dd2a09b0..8410ff00 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -5,6 +5,7 @@ import { postOB11Event } from '@/onebot11/server/postOB11Event'; import { BuddyReqType, ChatType, + ElementType, FriendRequest, Group, GroupMember, @@ -36,6 +37,7 @@ import { Data as SysData } from '@/proto/SysMessage'; import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange'; import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent'; import { isEqual } from '@/common/utils/helper'; +import e from 'express'; //下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便 // @@ -203,7 +205,7 @@ export class NapCatOnebot11 { // 临时会话更新 tempGroupCodeMap uid -> source/GroupCode }; msgListener.onRecvMsg = async (msg) => { - // console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); + //console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2)); // logDebug('收到消息', msg); for (const m of msg) { // try: 减掉3s 试图修复消息半天收不到