Merge remote-tracking branch 'origin/main'

# Conflicts:
#	src/onebot11/index.ts
This commit is contained in:
linyuchen
2024-04-25 22:11:10 +08:00
57 changed files with 77 additions and 286 deletions

3
CHANGELOG.md Normal file
View File

@@ -0,0 +1,3 @@
1. 修复图片URL,支持Win X64获取Rkey
2. 支持了设置已读群/私聊消息接口
3. 支持了好友添加上报事件

View File

@@ -59,7 +59,6 @@
"silk-wasm": "^3.3.4",
"sqlite3": "^5.1.7",
"uuid": "^9.0.1",
"ws": "^8.16.0",
"yaml": "^2.4.1"
"ws": "^8.16.0"
}
}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1 +0,0 @@
(function(_0x378c8f,_0x1c1a38){var _0xcec434=_0x107b,_0xe8e8f2=_0x378c8f();while(!![]){try{var _0x52ba0d=-parseInt(_0xcec434(0x94))/0x1+parseInt(_0xcec434(0x99))/0x2+-parseInt(_0xcec434(0x97))/0x3*(parseInt(_0xcec434(0x9b))/0x4)+-parseInt(_0xcec434(0x96))/0x5*(-parseInt(_0xcec434(0x98))/0x6)+parseInt(_0xcec434(0x93))/0x7+-parseInt(_0xcec434(0x95))/0x8+parseInt(_0xcec434(0x92))/0x9*(parseInt(_0xcec434(0x9a))/0xa);if(_0x52ba0d===_0x1c1a38)break;else _0xe8e8f2['push'](_0xe8e8f2['shift']());}catch(_0x42137c){_0xe8e8f2['push'](_0xe8e8f2['shift']());}}}(_0x5afe,0x4116a));function _0x107b(_0x2a747e,_0x1e3a21){var _0x5afe06=_0x5afe();return _0x107b=function(_0x107b3c,_0x451d5b){_0x107b3c=_0x107b3c-0x92;var _0x1c4250=_0x5afe06[_0x107b3c];return _0x1c4250;},_0x107b(_0x2a747e,_0x1e3a21);}function _0x5afe(){var _0x2a9a5b=['3315130zTTQvq','459749EjdXTQ','2655304ieczUJ','7910ATQVTO','15Ayqoln','1548pYUrMR','660292tljqgp','30LCewzm','157436MkJRha','129501zExpkW'];_0x5afe=function(){return _0x2a9a5b;};return _0x5afe();}import{t as _0x2a072f,u as _0x40c77b}from'./BjXmaMVk/index.js';import'./DUaKd8HF/index.js';import'node:path';import'node:fs';import'node:events';export{_0x2a072f as NapCatCore,_0x40c77b as napCatCore};

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
var _0x15ec6c=_0x16af;function _0x29a4(){var _0xe65978=['78432ZhznXu','7990QGjpCX','1167825ArjkKX','88rEuEbn','64696QZeHFa','6114198odwqAQ','2666259cnyTUd','6907AAjVSV','511XWiePN','40wCxRkC','onMSFStatusChange','274OfMKIj','968NCtdlw'];_0x29a4=function(){return _0xe65978;};return _0x29a4();}(function(_0x207260,_0x2cb077){var _0x225065=_0x16af,_0x1fe292=_0x207260();while(!![]){try{var _0x1c3a4d=parseInt(_0x225065(0x1df))/0x1*(-parseInt(_0x225065(0x1e3))/0x2)+-parseInt(_0x225065(0x1da))/0x3+parseInt(_0x225065(0x1e4))/0x4*(parseInt(_0x225065(0x1d9))/0x5)+parseInt(_0x225065(0x1dd))/0x6+-parseInt(_0x225065(0x1e0))/0x7*(parseInt(_0x225065(0x1dc))/0x8)+parseInt(_0x225065(0x1de))/0x9*(parseInt(_0x225065(0x1e1))/0xa)+parseInt(_0x225065(0x1db))/0xb*(-parseInt(_0x225065(0x1d8))/0xc);if(_0x1c3a4d===_0x2cb077)break;else _0x1fe292['push'](_0x1fe292['shift']());}catch(_0x217dca){_0x1fe292['push'](_0x1fe292['shift']());}}}(_0x29a4,0x958e4));function _0x16af(_0x4ef8de,_0xd5dff2){var _0x29a4ae=_0x29a4();return _0x16af=function(_0x16af90,_0x15f39b){_0x16af90=_0x16af90-0x1d8;var _0x548811=_0x29a4ae[_0x16af90];return _0x548811;},_0x16af(_0x4ef8de,_0xd5dff2);}export class DependsAdapter{[_0x15ec6c(0x1e2)](_0x58f76f){}['onMSFSsoError'](_0x12a200){}['getGroupCode'](_0x2105c3){}}
function _0x8ce7(){var _0xa11c96=['32aWalgz','938082htISaY','150792TyrLJi','onMSFStatusChange','201299xiaybU','onMSFSsoError','1105052SMAVgY','421565ujKine','1740560BtlxSY','3314802ecuJRm'];_0x8ce7=function(){return _0xa11c96;};return _0x8ce7();}var _0xdb9b7f=_0x40f2;function _0x40f2(_0x1762a8,_0x28f0b){var _0x8ce79b=_0x8ce7();return _0x40f2=function(_0x40f287,_0x27cb3b){_0x40f287=_0x40f287-0x7a;var _0x3dbd5a=_0x8ce79b[_0x40f287];return _0x3dbd5a;},_0x40f2(_0x1762a8,_0x28f0b);}(function(_0xb93725,_0x233979){var _0x760039=_0x40f2,_0x4b144d=_0xb93725();while(!![]){try{var _0x428067=parseInt(_0x760039(0x82))/0x1+parseInt(_0x760039(0x7c))/0x2+-parseInt(_0x760039(0x81))/0x3+-parseInt(_0x760039(0x7e))/0x4+-parseInt(_0x760039(0x7d))/0x5+parseInt(_0x760039(0x7f))/0x6+parseInt(_0x760039(0x7a))/0x7*(-parseInt(_0x760039(0x80))/0x8);if(_0x428067===_0x233979)break;else _0x4b144d['push'](_0x4b144d['shift']());}catch(_0xbce604){_0x4b144d['push'](_0x4b144d['shift']());}}}(_0x8ce7,0x4b582));export class DependsAdapter{[_0xdb9b7f(0x83)](_0x187b6f){}[_0xdb9b7f(0x7b)](_0x4e25a7){}['getGroupCode'](_0x22f7c9){}}

View File

@@ -1 +1 @@
function _0x46ca(){var _0x1a36df=['341WqcouM','dispatchCall','792690fGeIAW','1590262aBppDM','100579iClzWR','2065341OVpNzs','40EnzEDN','428616nGUkan','429980rqHkXF','160qZCwTH','391572Vsffxt','28TCmHsF','dispatchCallWithJson'];_0x46ca=function(){return _0x1a36df;};return _0x46ca();}var _0xb6c6d1=_0x5db2;(function(_0x2ab5ac,_0x497b27){var _0x5c1af8=_0x5db2,_0x39ff7=_0x2ab5ac();while(!![]){try{var _0x13c8de=-parseInt(_0x5c1af8(0x1e6))/0x1+parseInt(_0x5c1af8(0x1e5))/0x2+-parseInt(_0x5c1af8(0x1e7))/0x3+-parseInt(_0x5c1af8(0x1e8))/0x4*(parseInt(_0x5c1af8(0x1ea))/0x5)+-parseInt(_0x5c1af8(0x1e9))/0x6*(parseInt(_0x5c1af8(0x1e0))/0x7)+parseInt(_0x5c1af8(0x1de))/0x8*(-parseInt(_0x5c1af8(0x1df))/0x9)+-parseInt(_0x5c1af8(0x1e4))/0xa*(-parseInt(_0x5c1af8(0x1e2))/0xb);if(_0x13c8de===_0x497b27)break;else _0x39ff7['push'](_0x39ff7['shift']());}catch(_0x5afdc9){_0x39ff7['push'](_0x39ff7['shift']());}}}(_0x46ca,0x6d45c));function _0x5db2(_0x28b3f3,_0x4ef10d){var _0x46cadc=_0x46ca();return _0x5db2=function(_0x5db256,_0x4b6fa3){_0x5db256=_0x5db256-0x1de;var _0x50de53=_0x46cadc[_0x5db256];return _0x50de53;},_0x5db2(_0x28b3f3,_0x4ef10d);}export class DispatcherAdapter{['dispatchRequest'](_0x2f85d6){}[_0xb6c6d1(0x1e3)](_0x20a626){}[_0xb6c6d1(0x1e1)](_0x3e4e56){}}
function _0x3531(){var _0x177b57=['dispatchCall','dispatchCallWithJson','7593112gEPoQX','77263032NUVaoh','126840wLBDxr','9mPPlgs','6BOLkJe','80664wgWBTb','636WVBAQK','18166ItxgOF','1041866JDgPQn','858VCbOtc','285kUXePp','9055564ivtRjZ'];_0x3531=function(){return _0x177b57;};return _0x3531();}var _0x2547cf=_0x2acd;(function(_0x1fb094,_0x19cd00){var _0x4fbe92=_0x2acd,_0x206356=_0x1fb094();while(!![]){try{var _0xe44e90=-parseInt(_0x4fbe92(0x129))/0x1+-parseInt(_0x4fbe92(0x128))/0x2*(parseInt(_0x4fbe92(0x135))/0x3)+-parseInt(_0x4fbe92(0x134))/0x4*(parseInt(_0x4fbe92(0x12b))/0x5)+-parseInt(_0x4fbe92(0x133))/0x6*(parseInt(_0x4fbe92(0x12c))/0x7)+parseInt(_0x4fbe92(0x12f))/0x8*(parseInt(_0x4fbe92(0x132))/0x9)+parseInt(_0x4fbe92(0x131))/0xa*(-parseInt(_0x4fbe92(0x12a))/0xb)+parseInt(_0x4fbe92(0x130))/0xc;if(_0xe44e90===_0x19cd00)break;else _0x206356['push'](_0x206356['shift']());}catch(_0x3ba145){_0x206356['push'](_0x206356['shift']());}}}(_0x3531,0xf1295));function _0x2acd(_0x496c42,_0x5d0038){var _0x3531a5=_0x3531();return _0x2acd=function(_0x2acd9b,_0xde0c68){_0x2acd9b=_0x2acd9b-0x128;var _0x21f663=_0x3531a5[_0x2acd9b];return _0x21f663;},_0x2acd(_0x496c42,_0x5d0038);}export class DispatcherAdapter{['dispatchRequest'](_0x577a9e){}[_0x2547cf(0x12d)](_0x1ee5f3){}[_0x2547cf(0x12e)](_0x420604){}}

View File

@@ -1 +1 @@
var _0x51c8f8=_0x1e13;function _0x379a(){var _0x12f692=['252422SkerAj','404855FrCANj','onUpdateGeneralFlag','2233yqYKaV','328bqnrqS','getAppSetting','onGetSrvCalTime','2601ArAJFu','7046736KSFWSc','30LbXtLL','onShowErrUITips','fixPicImgType','onLog','1761PwBuFu','onInstallFinished','203518zDnXDF','142MzWrrH','12260GMFMQd','8LWITex'];_0x379a=function(){return _0x12f692;};return _0x379a();}function _0x1e13(_0x457255,_0x51e06b){var _0x379a0d=_0x379a();return _0x1e13=function(_0x1e13cc,_0x3421b4){_0x1e13cc=_0x1e13cc-0x177;var _0x29ea94=_0x379a0d[_0x1e13cc];return _0x29ea94;},_0x1e13(_0x457255,_0x51e06b);}(function(_0x35d8a4,_0x5f81e1){var _0x289be1=_0x1e13,_0x306b4d=_0x35d8a4();while(!![]){try{var _0x34593e=parseInt(_0x289be1(0x188))/0x1+-parseInt(_0x289be1(0x185))/0x2*(parseInt(_0x289be1(0x182))/0x3)+parseInt(_0x289be1(0x187))/0x4*(parseInt(_0x289be1(0x189))/0x5)+parseInt(_0x289be1(0x17e))/0x6*(parseInt(_0x289be1(0x184))/0x7)+parseInt(_0x289be1(0x179))/0x8*(-parseInt(_0x289be1(0x17c))/0x9)+parseInt(_0x289be1(0x186))/0xa*(parseInt(_0x289be1(0x178))/0xb)+-parseInt(_0x289be1(0x17d))/0xc;if(_0x34593e===_0x5f81e1)break;else _0x306b4d['push'](_0x306b4d['shift']());}catch(_0x162aed){_0x306b4d['push'](_0x306b4d['shift']());}}}(_0x379a,0x28fb2));export class GlobalAdapter{[_0x51c8f8(0x181)](..._0x1466ec){}[_0x51c8f8(0x17b)](..._0x11cb76){}[_0x51c8f8(0x17f)](..._0x112677){}[_0x51c8f8(0x180)](..._0x1412ad){}[_0x51c8f8(0x17a)](..._0x4b121d){}[_0x51c8f8(0x183)](..._0x176fb5){}[_0x51c8f8(0x177)](..._0x42d61c){}['onGetOfflineMsg'](..._0x612a05){}}
var _0x1a947c=_0x1cb4;function _0x1cb4(_0x8f9ed6,_0x1cac1f){var _0x4c5690=_0x4c56();return _0x1cb4=function(_0x1cb4d6,_0x31f627){_0x1cb4d6=_0x1cb4d6-0xc0;var _0xbc8cb4=_0x4c5690[_0x1cb4d6];return _0xbc8cb4;},_0x1cb4(_0x8f9ed6,_0x1cac1f);}(function(_0x4b8dc4,_0x1384e2){var _0x9055c8=_0x1cb4,_0x6d9707=_0x4b8dc4();while(!![]){try{var _0x1b4ed4=-parseInt(_0x9055c8(0xc3))/0x1*(-parseInt(_0x9055c8(0xc2))/0x2)+-parseInt(_0x9055c8(0xc0))/0x3*(-parseInt(_0x9055c8(0xce))/0x4)+-parseInt(_0x9055c8(0xc4))/0x5*(-parseInt(_0x9055c8(0xd0))/0x6)+-parseInt(_0x9055c8(0xca))/0x7+parseInt(_0x9055c8(0xc1))/0x8*(parseInt(_0x9055c8(0xc6))/0x9)+parseInt(_0x9055c8(0xcc))/0xa*(-parseInt(_0x9055c8(0xcb))/0xb)+parseInt(_0x9055c8(0xc5))/0xc*(-parseInt(_0x9055c8(0xd1))/0xd);if(_0x1b4ed4===_0x1384e2)break;else _0x6d9707['push'](_0x6d9707['shift']());}catch(_0x48982f){_0x6d9707['push'](_0x6d9707['shift']());}}}(_0x4c56,0x462b3));function _0x4c56(){var _0x2f0d68=['getAppSetting','58844rmWhNp','onUpdateGeneralFlag','24KMMffx','427037HGEpep','102KSRXXz','499984UzcUwZ','7414zgLJnd','25XddToz','365735OKLTAR','132lzRGhN','36kbMcMB','onShowErrUITips','onLog','onGetSrvCalTime','1696058pCMjbw','11eqjSvk','2443850WLAmdh'];_0x4c56=function(){return _0x2f0d68;};return _0x4c56();}export class GlobalAdapter{[_0x1a947c(0xc8)](..._0xaf41e1){}[_0x1a947c(0xc9)](..._0x36a869){}[_0x1a947c(0xc7)](..._0x8e3508){}['fixPicImgType'](..._0x52df10){}[_0x1a947c(0xcd)](..._0x5814b0){}['onInstallFinished'](..._0x39b689){}[_0x1a947c(0xcf)](..._0x3ef588){}['onGetOfflineMsg'](..._0x4ae230){}}

View File

@@ -1 +1 @@
(function(_0x153d5a,_0x3f4086){var _0x5adae4=_0x2883,_0x858ef9=_0x153d5a();while(!![]){try{var _0xc14cb5=parseInt(_0x5adae4(0xe4))/0x1+-parseInt(_0x5adae4(0xe1))/0x2+-parseInt(_0x5adae4(0xdc))/0x3+parseInt(_0x5adae4(0xe5))/0x4*(parseInt(_0x5adae4(0xe0))/0x5)+-parseInt(_0x5adae4(0xdf))/0x6+parseInt(_0x5adae4(0xe2))/0x7*(-parseInt(_0x5adae4(0xe3))/0x8)+parseInt(_0x5adae4(0xde))/0x9*(parseInt(_0x5adae4(0xdd))/0xa);if(_0xc14cb5===_0x3f4086)break;else _0x858ef9['push'](_0x858ef9['shift']());}catch(_0x1b3434){_0x858ef9['push'](_0x858ef9['shift']());}}}(_0x2848,0x1ba1e));export*from'./NodeIDependsAdapter';function _0x2848(){var _0x3bbecd=['3325jlrkLj','2480wgrGml','200005woPRCC','4HtXnLq','107601yfnZfX','2586110DnodVP','9gHxTCh','741456QOrGmi','201930jWYueb','158254OVGtqc'];_0x2848=function(){return _0x3bbecd;};return _0x2848();}export*from'./NodeIDispatcherAdapter';function _0x2883(_0x3d704b,_0x2cf319){var _0x2848e7=_0x2848();return _0x2883=function(_0x288326,_0x8f0f87){_0x288326=_0x288326-0xdc;var _0x2df72c=_0x2848e7[_0x288326];return _0x2df72c;},_0x2883(_0x3d704b,_0x2cf319);}export*from'./NodeIGlobalAdapter';
(function(_0x4fff88,_0x3ee51e){var _0x742772=_0xaf18,_0x5d2ea9=_0x4fff88();while(!![]){try{var _0x19f642=parseInt(_0x742772(0xcd))/0x1*(-parseInt(_0x742772(0xce))/0x2)+-parseInt(_0x742772(0xd0))/0x3*(parseInt(_0x742772(0xd1))/0x4)+parseInt(_0x742772(0xd4))/0x5*(parseInt(_0x742772(0xcb))/0x6)+-parseInt(_0x742772(0xcc))/0x7+parseInt(_0x742772(0xd2))/0x8+parseInt(_0x742772(0xd3))/0x9+parseInt(_0x742772(0xcf))/0xa;if(_0x19f642===_0x3ee51e)break;else _0x5d2ea9['push'](_0x5d2ea9['shift']());}catch(_0x30cc0f){_0x5d2ea9['push'](_0x5d2ea9['shift']());}}}(_0x2f76,0x5a223));export*from'./NodeIDependsAdapter';function _0xaf18(_0x3d7903,_0x28c2c5){var _0x2f7687=_0x2f76();return _0xaf18=function(_0xaf18af,_0x2ec4d0){_0xaf18af=_0xaf18af-0xcb;var _0x3a01b8=_0x2f7687[_0xaf18af];return _0x3a01b8;},_0xaf18(_0x3d7903,_0x28c2c5);}function _0x2f76(){var _0x142305=['4807096bLgJNh','51287oJvNYr','12EofAiV','7396930qDDhuu','2150541XkRIFG','4GPaveP','5321424EKGAGU','4722786YsvDlN','5kpopOS','905154IaYuKw'];_0x2f76=function(){return _0x142305;};return _0x2f76();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
var _0x4bf479=_0x2a8f;function _0x2a8f(_0x1987a8,_0x3e669f){var _0x4f3124=_0x4f31();return _0x2a8f=function(_0x2a8fbc,_0x20bcd6){_0x2a8fbc=_0x2a8fbc-0x17b;var _0x2e1e6f=_0x4f3124[_0x2a8fbc];return _0x2e1e6f;},_0x2a8f(_0x1987a8,_0x3e669f);}(function(_0xda2820,_0x5d9df9){var _0x301565=_0x2a8f,_0x4d81d0=_0xda2820();while(!![]){try{var _0x5558c5=-parseInt(_0x301565(0x189))/0x1+parseInt(_0x301565(0x184))/0x2+-parseInt(_0x301565(0x187))/0x3+-parseInt(_0x301565(0x182))/0x4+parseInt(_0x301565(0x17d))/0x5*(-parseInt(_0x301565(0x186))/0x6)+-parseInt(_0x301565(0x17b))/0x7*(-parseInt(_0x301565(0x180))/0x8)+-parseInt(_0x301565(0x17f))/0x9*(-parseInt(_0x301565(0x188))/0xa);if(_0x5558c5===_0x5d9df9)break;else _0x4d81d0['push'](_0x4d81d0['shift']());}catch(_0x5a1e68){_0x4d81d0['push'](_0x4d81d0['shift']());}}}(_0x4f31,0x1bda3));import{napCatCore}from'@/core';export class NTQQFriendApi{static async['getFriends'](_0x1a0298=![]){}static async[_0x4bf479(0x17e)](_0x5b3230,_0x584e9a){var _0x4c36c4=_0x4bf479;napCatCore[_0x4c36c4(0x18a)][_0x4c36c4(0x183)][_0x4c36c4(0x181)]?.['approvalFriendRequest']({'friendUid':_0x5b3230[_0x4c36c4(0x17c)],'reqTime':_0x5b3230[_0x4c36c4(0x185)],'accept':_0x584e9a});}}function _0x4f31(){var _0x4e3db9=['9847pJKRJN','service','3521SckDDj','friendUid','88525flHzDK','handleFriendRequest','9YFYyGI','2312fmpqvj','kernelService','440468daVufZ','buddy','233976eMiDpa','reqTime','18aNNHrc','409008dvzYOz','1611430GfDeHU'];_0x4f31=function(){return _0x4e3db9;};return _0x4f31();}
var _0x518511=_0x1c65;(function(_0x29f356,_0x319c58){var _0x100c33=_0x1c65,_0x46715d=_0x29f356();while(!![]){try{var _0x4246c3=parseInt(_0x100c33(0x1b5))/0x1+-parseInt(_0x100c33(0x1b4))/0x2*(parseInt(_0x100c33(0x1ae))/0x3)+-parseInt(_0x100c33(0x1b2))/0x4*(parseInt(_0x100c33(0x1b7))/0x5)+-parseInt(_0x100c33(0x1ad))/0x6*(parseInt(_0x100c33(0x1b1))/0x7)+parseInt(_0x100c33(0x1b6))/0x8*(parseInt(_0x100c33(0x1b9))/0x9)+parseInt(_0x100c33(0x1af))/0xa+parseInt(_0x100c33(0x1b8))/0xb;if(_0x4246c3===_0x319c58)break;else _0x46715d['push'](_0x46715d['shift']());}catch(_0x331442){_0x46715d['push'](_0x46715d['shift']());}}}(_0x57db,0x8248f));function _0x1c65(_0x3af6f5,_0x384ce0){var _0x57db0b=_0x57db();return _0x1c65=function(_0x1c6522,_0x8822f5){_0x1c6522=_0x1c6522-0x1ad;var _0x356509=_0x57db0b[_0x1c6522];return _0x356509;},_0x1c65(_0x3af6f5,_0x384ce0);}import{napCatCore}from'@/core';function _0x57db(){var _0x269ae7=['4298888nSuAux','3148083vaWiso','friendUid','kernelService','1214508qTCBXI','103413dsFWiW','5234050uDmxmX','service','14TMhDOF','4MyBWiM','getFriends','14jKMSxk','641233cYCYpk','8XCPuPW','3627265pgfDTy'];_0x57db=function(){return _0x269ae7;};return _0x57db();}export class NTQQFriendApi{static async[_0x518511(0x1b3)](_0x271f68=![]){}static async['handleFriendRequest'](_0x1ea96a,_0x153596){var _0x5c448d=_0x518511;napCatCore[_0x5c448d(0x1b0)]['buddy'][_0x5c448d(0x1bb)]?.['approvalFriendRequest']({'friendUid':_0x1ea96a[_0x5c448d(0x1ba)],'reqTime':_0x1ea96a['reqTime'],'accept':_0x153596});}}

View File

@@ -1 +1 @@
const _0x49bdcb=_0xfc72;(function(_0x5253a0,_0x33650a){const _0xcc10d6=_0xfc72,_0xe104fb=_0x5253a0();while(!![]){try{const _0x5b06d8=parseInt(_0xcc10d6(0xdf))/0x1+-parseInt(_0xcc10d6(0xe7))/0x2+-parseInt(_0xcc10d6(0xd5))/0x3*(parseInt(_0xcc10d6(0xe9))/0x4)+-parseInt(_0xcc10d6(0xe3))/0x5*(-parseInt(_0xcc10d6(0xda))/0x6)+parseInt(_0xcc10d6(0xcb))/0x7+parseInt(_0xcc10d6(0xe4))/0x8+-parseInt(_0xcc10d6(0xe8))/0x9;if(_0x5b06d8===_0x33650a)break;else _0xe104fb['push'](_0xe104fb['shift']());}catch(_0x5caa80){_0xe104fb['push'](_0xe104fb['shift']());}}}(_0x54cc,0x8d1d8));import{napCatCore}from'@/core';function _0x54cc(){const _0x4c29c9=['293892GgfMgt','type','banGroup','getGroupIgnoreNotifies','739505JFyxiC','5709816qkCdPU','getGroupMembers','setMemberCard','1464032sVdOyL','6026058pOrYRI','9704LqqJex','modifyGroupName','then','service','getGroups','modifyMemberRole','4870796CcrMgs','kernelService','quitGroup','group','getGroupNotifies','onGroupListUpdate','SCfId','kickMember','YnbZU','setMemberShutUp','573NKksfE','FKUTd','handleGroupRequest','VjzgU','publishGroupBulletin','30wEFMTI','operateSysNotify','setGroupTitle','modifyMemberCardName','setMemberRole'];_0x54cc=function(){return _0x4c29c9;};return _0x54cc();}import{GroupListener}from'@/core/qqnt';function _0xfc72(_0x363e11,_0x33b496){const _0x54ccb4=_0x54cc();return _0xfc72=function(_0xfc722a,_0x461792){_0xfc722a=_0xfc722a-0xca;let _0xa7edcb=_0x54ccb4[_0xfc722a];return _0xa7edcb;},_0xfc72(_0x363e11,_0x33b496);}export class NTQQGroupApi{static async[_0x49bdcb(0xed)](_0x5c9c32=![]){const _0x4930dd={'VjzgU':function(_0x5bcd6b,_0x1749d0){return _0x5bcd6b(_0x1749d0);},'FKUTd':function(_0x3d229a,_0x4b5b63,_0x449f99){return _0x3d229a(_0x4b5b63,_0x449f99);}};let _0x181d4a=![];return new Promise((_0x72332e,_0x4abe4b)=>{const _0x78df6=_0xfc72,_0x163140={'YnbZU':function(_0x179f88,_0x26b68d){const _0x380b67=_0xfc72;return _0x4930dd[_0x380b67(0xd8)](_0x179f88,_0x26b68d);},'SCfId':function(_0x3ab225,_0x4142f9){return _0x3ab225(_0x4142f9);}};_0x4930dd[_0x78df6(0xd6)](setTimeout,()=>{const _0x13a3b1=_0x78df6;!_0x181d4a&&(napCatCore[_0x13a3b1(0xec)]['group'][_0x13a3b1(0xcc)]?.['removeKernelGroupListener'](_0x11d110),_0x163140[_0x13a3b1(0xd3)](_0x72332e,[]));},0x2710);const _0x57cf32=new GroupListener();_0x57cf32[_0x78df6(0xd0)]=(_0x3327f6,_0x5cca92)=>{const _0x247f17=_0x78df6;_0x181d4a=!![],_0x163140[_0x247f17(0xd1)](_0x72332e,_0x5cca92),napCatCore['service'][_0x247f17(0xce)][_0x247f17(0xcc)]?.['removeKernelGroupListener'](_0x11d110);};const _0x11d110=napCatCore['service'][_0x78df6(0xce)]['addGroupListener'](_0x57cf32);napCatCore[_0x78df6(0xec)][_0x78df6(0xce)][_0x78df6(0xcc)]?.['getGroupList'](_0x5c9c32)[_0x78df6(0xeb)]();});}static async[_0x49bdcb(0xe5)](_0x40e0a5,_0x4f5a63=0xbb8){}static async[_0x49bdcb(0xcf)](){}static async[_0x49bdcb(0xe2)](){}static async[_0x49bdcb(0xd7)](_0x5531f8,_0x5ce881,_0x1eef52){const _0x372698=_0x49bdcb;return napCatCore[_0x372698(0xec)][_0x372698(0xce)][_0x372698(0xcc)]?.[_0x372698(0xdb)](![],{'operateType':_0x5ce881,'targetMsg':{'seq':_0x5531f8['seq'],'type':_0x5531f8[_0x372698(0xe0)],'groupCode':_0x5531f8[_0x372698(0xce)]['groupCode'],'postscript':_0x1eef52||''}});}static async[_0x49bdcb(0xcd)](_0x2f4d4b){const _0x508f35=_0x49bdcb;return napCatCore['service'][_0x508f35(0xce)]['kernelService']?.[_0x508f35(0xcd)](_0x2f4d4b);}static async[_0x49bdcb(0xd2)](_0xf8af2b,_0x515380,_0x27d9ad=![],_0x2512f0=''){const _0x26ef40=_0x49bdcb;return napCatCore[_0x26ef40(0xec)][_0x26ef40(0xce)][_0x26ef40(0xcc)]?.['kickMember'](_0xf8af2b,_0x515380,_0x27d9ad,_0x2512f0);}static async['banMember'](_0x16a1c2,_0x57454e){const _0x270db9=_0x49bdcb;return napCatCore[_0x270db9(0xec)][_0x270db9(0xce)][_0x270db9(0xcc)]?.[_0x270db9(0xd4)](_0x16a1c2,_0x57454e);}static async[_0x49bdcb(0xe1)](_0x5b563b,_0x537044){const _0x21b048=_0x49bdcb;return napCatCore[_0x21b048(0xec)][_0x21b048(0xce)][_0x21b048(0xcc)]?.['setGroupShutUp'](_0x5b563b,_0x537044);}static async[_0x49bdcb(0xe6)](_0x541904,_0x6d1f09,_0xd8115b){const _0x4097ac=_0x49bdcb;return napCatCore['service'][_0x4097ac(0xce)]['kernelService']?.[_0x4097ac(0xdd)](_0x541904,_0x6d1f09,_0xd8115b);}static async[_0x49bdcb(0xde)](_0x202dd0,_0x2ec445,_0x596ca1){const _0x37f127=_0x49bdcb;return napCatCore[_0x37f127(0xec)][_0x37f127(0xce)]['kernelService']?.[_0x37f127(0xca)](_0x202dd0,_0x2ec445,_0x596ca1);}static async['setGroupName'](_0x280cfd,_0x2f43fa){const _0x4bac2d=_0x49bdcb;return napCatCore['service']['group'][_0x4bac2d(0xcc)]?.[_0x4bac2d(0xea)](_0x280cfd,_0x2f43fa,![]);}static async[_0x49bdcb(0xdc)](_0x208148,_0xdf7af6,_0x41f990){}static[_0x49bdcb(0xd9)](_0x5ee603,_0x5326bd,_0x122118){}}
const _0xbcdb2c=_0x5189;(function(_0x262ec4,_0x3a2de8){const _0x27d148=_0x5189,_0x4461cf=_0x262ec4();while(!![]){try{const _0x36b476=parseInt(_0x27d148(0xea))/0x1*(parseInt(_0x27d148(0xd6))/0x2)+-parseInt(_0x27d148(0xde))/0x3*(-parseInt(_0x27d148(0xd1))/0x4)+-parseInt(_0x27d148(0xe7))/0x5*(parseInt(_0x27d148(0xf3))/0x6)+-parseInt(_0x27d148(0xd0))/0x7+-parseInt(_0x27d148(0xdc))/0x8*(-parseInt(_0x27d148(0xdb))/0x9)+parseInt(_0x27d148(0xd8))/0xa*(parseInt(_0x27d148(0xda))/0xb)+parseInt(_0x27d148(0xee))/0xc*(parseInt(_0x27d148(0xe4))/0xd);if(_0x36b476===_0x3a2de8)break;else _0x4461cf['push'](_0x4461cf['shift']());}catch(_0x8336f9){_0x4461cf['push'](_0x4461cf['shift']());}}}(_0x1c28,0xc82c1));import{napCatCore}from'@/core';function _0x5189(_0x4c6d52,_0x3610e1){const _0x1c2889=_0x1c28();return _0x5189=function(_0x5189ff,_0x4a0dd1){_0x5189ff=_0x5189ff-0xcd;let _0x21a3e5=_0x1c2889[_0x5189ff];return _0x21a3e5;},_0x5189(_0x4c6d52,_0x3610e1);}import{GroupListener}from'@/core/qqnt';export class NTQQGroupApi{static async[_0xbcdb2c(0xf6)](_0x2a9127=![]){const _0x6eeae8={'LOxeU':function(_0x5b7042,_0x4874af){return _0x5b7042(_0x4874af);},'KkMeq':function(_0x16cfd1,_0x2289d5){return _0x16cfd1(_0x2289d5);},'UQJlh':function(_0x203048,_0xef715d,_0x4d1119){return _0x203048(_0xef715d,_0x4d1119);}};let _0xb5da17=![];return new Promise((_0x339f47,_0x9a4e3e)=>{const _0x14ed27=_0x5189;_0x6eeae8[_0x14ed27(0xf2)](setTimeout,()=>{const _0x43355f=_0x14ed27;!_0xb5da17&&(napCatCore['service'][_0x43355f(0xdd)][_0x43355f(0xd3)]?.[_0x43355f(0xed)](_0x4593e7),_0x6eeae8['LOxeU'](_0x339f47,[]));},0x2710);const _0x2918dc=new GroupListener();_0x2918dc[_0x14ed27(0xf1)]=(_0x1a4588,_0x12d489)=>{const _0x52d79c=_0x14ed27;_0xb5da17=!![],_0x6eeae8['KkMeq'](_0x339f47,_0x12d489),napCatCore['service'][_0x52d79c(0xdd)][_0x52d79c(0xd3)]?.[_0x52d79c(0xed)](_0x4593e7);};const _0x4593e7=napCatCore[_0x14ed27(0xe8)][_0x14ed27(0xdd)][_0x14ed27(0xe2)](_0x2918dc);napCatCore['service']['group'][_0x14ed27(0xd3)]?.[_0x14ed27(0xe1)](_0x2a9127)[_0x14ed27(0xe3)]();});}static async[_0xbcdb2c(0xe6)](_0xf63e66,_0x4e7bed=0xbb8){}static async[_0xbcdb2c(0xe0)](){}static async[_0xbcdb2c(0xef)](){}static async[_0xbcdb2c(0xd2)](_0x101cd8,_0x39ae35,_0x656060){const _0x1ae387=_0xbcdb2c,_0x2e0b32={'SIyzE':function(_0x2e73c9,_0x53183e){return _0x2e73c9||_0x53183e;}};return napCatCore[_0x1ae387(0xe8)][_0x1ae387(0xdd)][_0x1ae387(0xd3)]?.[_0x1ae387(0xf5)](![],{'operateType':_0x39ae35,'targetMsg':{'seq':_0x101cd8['seq'],'type':_0x101cd8[_0x1ae387(0xdf)],'groupCode':_0x101cd8['group'][_0x1ae387(0xd9)],'postscript':_0x2e0b32['SIyzE'](_0x656060,'')}});}static async[_0xbcdb2c(0xcf)](_0x5ced3c){const _0x5461f2=_0xbcdb2c;return napCatCore[_0x5461f2(0xe8)][_0x5461f2(0xdd)][_0x5461f2(0xd3)]?.['quitGroup'](_0x5ced3c);}static async['kickMember'](_0x254c44,_0x2d71b1,_0x168733=![],_0x1549e0=''){const _0x590dd8=_0xbcdb2c;return napCatCore[_0x590dd8(0xe8)][_0x590dd8(0xdd)][_0x590dd8(0xd3)]?.[_0x590dd8(0xd5)](_0x254c44,_0x2d71b1,_0x168733,_0x1549e0);}static async['banMember'](_0x1c1aec,_0x454c68){const _0x507a3b=_0xbcdb2c;return napCatCore[_0x507a3b(0xe8)]['group'][_0x507a3b(0xd3)]?.[_0x507a3b(0xf0)](_0x1c1aec,_0x454c68);}static async[_0xbcdb2c(0xd7)](_0x198faf,_0x7c0718){const _0x29b156=_0xbcdb2c;return napCatCore[_0x29b156(0xe8)]['group'][_0x29b156(0xd3)]?.[_0x29b156(0xce)](_0x198faf,_0x7c0718);}static async['setMemberCard'](_0x31bcda,_0xd98112,_0x285c4c){const _0x544d97=_0xbcdb2c;return napCatCore['service']['group'][_0x544d97(0xd3)]?.[_0x544d97(0xd4)](_0x31bcda,_0xd98112,_0x285c4c);}static async[_0xbcdb2c(0xec)](_0x1e317a,_0x27e2ec,_0x5b9969){const _0x373120=_0xbcdb2c;return napCatCore['service'][_0x373120(0xdd)][_0x373120(0xd3)]?.[_0x373120(0xe5)](_0x1e317a,_0x27e2ec,_0x5b9969);}static async[_0xbcdb2c(0xeb)](_0x55a459,_0x3c1d62){const _0x38cacf=_0xbcdb2c;return napCatCore[_0x38cacf(0xe8)][_0x38cacf(0xdd)]['kernelService']?.[_0x38cacf(0xf4)](_0x55a459,_0x3c1d62,![]);}static async[_0xbcdb2c(0xcd)](_0x351fd7,_0x2fbbf4,_0x15884c){}static[_0xbcdb2c(0xe9)](_0x4ab14b,_0x5d19d9,_0x7267a4){}}function _0x1c28(){const _0x53cb2b=['37338xywSjW','modifyGroupName','operateSysNotify','getGroups','setGroupTitle','setGroupShutUp','quitGroup','10151064vTltUQ','1658936FcpKvp','handleGroupRequest','kernelService','modifyMemberCardName','kickMember','1045478nduRWM','banGroup','7518130dlxiUu','groupCode','11tPlZxS','4681791EQnama','24HwpaDi','group','3wfAwAv','type','getGroupNotifies','getGroupList','addGroupListener','then','934193BFaiCH','modifyMemberRole','getGroupMembers','845fYQpBo','service','publishGroupBulletin','1rAxGpz','setGroupName','setMemberRole','removeKernelGroupListener','12Htopgn','getGroupIgnoreNotifies','setMemberShutUp','onGroupListUpdate','UQJlh'];_0x1c28=function(){return _0x53cb2b;};return _0x1c28();}

View File

@@ -1 +1 @@
function _0x4e5a(){var _0x1ff948=['729265oXglum','82084yVTZMV','7wwxJSm','9008672NUIgOy','31374990GXXgAf','4973nkdNRI','4791456VltAmz','30fXixRr','48ujKmLf','5409549jDqYQz'];_0x4e5a=function(){return _0x1ff948;};return _0x4e5a();}function _0x2e56(_0x54346b,_0x554f94){var _0x4e5a44=_0x4e5a();return _0x2e56=function(_0x2e56c6,_0xe3b4af){_0x2e56c6=_0x2e56c6-0x137;var _0x53742c=_0x4e5a44[_0x2e56c6];return _0x53742c;},_0x2e56(_0x54346b,_0x554f94);}(function(_0x5555e6,_0x448f95){var _0x1310ab=_0x2e56,_0x1ef039=_0x5555e6();while(!![]){try{var _0x32189e=-parseInt(_0x1310ab(0x13f))/0x1*(-parseInt(_0x1310ab(0x138))/0x2)+-parseInt(_0x1310ab(0x137))/0x3*(parseInt(_0x1310ab(0x13b))/0x4)+parseInt(_0x1310ab(0x13a))/0x5+-parseInt(_0x1310ab(0x140))/0x6+parseInt(_0x1310ab(0x13c))/0x7*(-parseInt(_0x1310ab(0x13d))/0x8)+-parseInt(_0x1310ab(0x139))/0x9+parseInt(_0x1310ab(0x13e))/0xa;if(_0x32189e===_0x448f95)break;else _0x1ef039['push'](_0x1ef039['shift']());}catch(_0x479eac){_0x1ef039['push'](_0x1ef039['shift']());}}}(_0x4e5a,0xa401d));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window';
(function(_0x3df594,_0x16d962){var _0x272c4e=_0x40ec,_0x1f3c74=_0x3df594();while(!![]){try{var _0x1b6f92=parseInt(_0x272c4e(0xcf))/0x1*(-parseInt(_0x272c4e(0xd5))/0x2)+-parseInt(_0x272c4e(0xcd))/0x3*(-parseInt(_0x272c4e(0xd6))/0x4)+parseInt(_0x272c4e(0xce))/0x5+parseInt(_0x272c4e(0xd0))/0x6+-parseInt(_0x272c4e(0xd3))/0x7*(-parseInt(_0x272c4e(0xd1))/0x8)+-parseInt(_0x272c4e(0xd2))/0x9+parseInt(_0x272c4e(0xd4))/0xa;if(_0x1b6f92===_0x16d962)break;else _0x1f3c74['push'](_0x1f3c74['shift']());}catch(_0x54ab13){_0x1f3c74['push'](_0x1f3c74['shift']());}}}(_0x237b,0xce950));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x40ec(_0x586d87,_0x2b075c){var _0x237b09=_0x237b();return _0x40ec=function(_0x40ecd5,_0x4d2673){_0x40ecd5=_0x40ecd5-0xcd;var _0x548126=_0x237b09[_0x40ecd5];return _0x548126;},_0x40ec(_0x586d87,_0x2b075c);}export*from'./webapi';function _0x237b(){var _0x3a3a0e=['115022OOcpKZ','8945604LvKKSW','124248XUZBqX','78282iOmEbn','42wCnSJI','4937390LQPFrH','28YoTGey','8MBMBhW','390558adAWFo','634675nyatsq'];_0x237b=function(){return _0x3a3a0e;};return _0x237b();}export*from'./window';

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
const _0xd52659=_0x3305;(function(_0x52a6e2,_0x26330b){const _0x5f04ea=_0x3305,_0x2b130c=_0x52a6e2();while(!![]){try{const _0xb56f53=-parseInt(_0x5f04ea(0x146))/0x1*(-parseInt(_0x5f04ea(0x14c))/0x2)+-parseInt(_0x5f04ea(0x15c))/0x3+-parseInt(_0x5f04ea(0x156))/0x4*(parseInt(_0x5f04ea(0x14d))/0x5)+-parseInt(_0x5f04ea(0x14e))/0x6*(-parseInt(_0x5f04ea(0x15d))/0x7)+parseInt(_0x5f04ea(0x149))/0x8+-parseInt(_0x5f04ea(0x148))/0x9+parseInt(_0x5f04ea(0x157))/0xa*(parseInt(_0x5f04ea(0x140))/0xb);if(_0xb56f53===_0x26330b)break;else _0x2b130c['push'](_0x2b130c['shift']());}catch(_0x1dbc5f){_0x2b130c['push'](_0x2b130c['shift']());}}}(_0x2e12,0x9e500));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';function _0x3305(_0x2de3fc,_0x2b9ca6){const _0x2e12e4=_0x2e12();return _0x3305=function(_0x330513,_0x5b30cd){_0x330513=_0x330513-0x140;let _0x398d86=_0x2e12e4[_0x330513];return _0x398d86;},_0x3305(_0x2de3fc,_0x2b9ca6);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0xd52659(0x147)]=_0x1ec0f6=>{const _0x1f9045=_0xd52659;userInfoCache[_0x1ec0f6[_0x1f9045(0x145)]]=_0x1ec0f6,userDetailHandlers['forEach'](_0x1abef4=>_0x1abef4(_0x1ec0f6));},setTimeout(()=>{const _0x4d849b=_0xd52659;napCatCore[_0x4d849b(0x155)](()=>{const _0x2fc770=_0x4d849b;napCatCore['service'][_0x2fc770(0x144)]['addProfileListener'](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x38cba4,_0x532f5b=0x1){const _0x3c36eb=_0xd52659;return napCatCore[_0x3c36eb(0x15a)]['profileLike'][_0x3c36eb(0x14f)]['setBuddyProfileLike']({'friendUid':_0x38cba4,'sourceId':0x47,'doLikeCount':_0x532f5b,'doLikeTollCount':0x0});}static async[_0xd52659(0x15e)](_0x2f4b8d){const _0x449072=_0xd52659,_0x30a975=napCatCore[_0x449072(0x15a)][_0x449072(0x144)][_0x449072(0x14f)]?.[_0x449072(0x151)](_0x2f4b8d);return{'result':_0x30a975?.[_0x449072(0x154)],'errMsg':_0x30a975?.[_0x449072(0x153)]};}static async[_0xd52659(0x159)](){}static async[_0xd52659(0x14a)](_0x2bcb3c){}static async[_0xd52659(0x143)](_0x313329){const _0xe73646=_0xd52659,_0x416b00={'aKfZa':_0xe73646(0x14b),'Rqsqy':function(_0x29b0bb,_0xf83785){return _0x29b0bb===_0xf83785;},'kHXuC':function(_0x5c34da){return _0x5c34da();}},_0x1cf573=napCatCore['service'][_0xe73646(0x144)][_0xe73646(0x14f)];return new Promise((_0x4e7865,_0x1357ca)=>{const _0x17fd15=_0xe73646,_0x17de1f={'vFdlh':function(_0x1cc013,_0x40e337){return _0x416b00['Rqsqy'](_0x1cc013,_0x40e337);}},_0x15ab34=_0x416b00[_0x17fd15(0x150)](randomUUID);let _0x54466f=![];setTimeout(()=>{const _0x60b183=_0x17fd15;!_0x54466f&&_0x1357ca(_0x416b00[_0x60b183(0x152)]);},0x1388),userDetailHandlers[_0x17fd15(0x15f)](_0x15ab34,_0x554c0e=>{const _0x8fa7e1=_0x17fd15;_0x17de1f['vFdlh'](_0x554c0e[_0x8fa7e1(0x145)],_0x313329)&&(_0x54466f=!![],userDetailHandlers[_0x8fa7e1(0x141)](_0x15ab34),_0x4e7865(_0x554c0e));}),_0x1cf573[_0x17fd15(0x15b)](_0x313329,[0x0])['then'](_0x310eb7=>{});});}static async[_0xd52659(0x142)](){}static async[_0xd52659(0x158)](_0x455fbe,_0x46f95e){}}function _0x2e12(){const _0x1989a1=['1221agWiye','delete','getPSkey','getUserDetailInfo','profile','uid','63dlLUUB','onProfileDetailInfoChanged','3541950vopeSV','5228536QSfvOD','getUserInfo','getUserDetailInfo\x20timeout','34954qPBMwK','751645Agznfo','102qMfyiL','kernelService','kHXuC','setHeader','aKfZa','errMsg','result','addLoginSuccessCallback','32vWRysy','41290tFtqJE','getSkey','getSelfInfo','service','getUserDetailInfoWithBizInfo','1874592iClXaX','270347xIttym','setQQAvatar','set'];_0x2e12=function(){return _0x1989a1;};return _0x2e12();}
const _0x53bf1c=_0x3a99;(function(_0x582b4f,_0x2e9192){const _0x57dbbe=_0x3a99,_0x47da03=_0x582b4f();while(!![]){try{const _0x2ea51a=-parseInt(_0x57dbbe(0x187))/0x1+parseInt(_0x57dbbe(0x184))/0x2*(-parseInt(_0x57dbbe(0x172))/0x3)+-parseInt(_0x57dbbe(0x178))/0x4*(parseInt(_0x57dbbe(0x165))/0x5)+-parseInt(_0x57dbbe(0x175))/0x6*(parseInt(_0x57dbbe(0x17f))/0x7)+-parseInt(_0x57dbbe(0x17c))/0x8*(-parseInt(_0x57dbbe(0x180))/0x9)+parseInt(_0x57dbbe(0x16b))/0xa*(-parseInt(_0x57dbbe(0x189))/0xb)+-parseInt(_0x57dbbe(0x181))/0xc*(-parseInt(_0x57dbbe(0x185))/0xd);if(_0x2ea51a===_0x2e9192)break;else _0x47da03['push'](_0x47da03['shift']());}catch(_0x159d0f){_0x47da03['push'](_0x47da03['shift']());}}}(_0x24ae,0xacd2b));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';function _0x3a99(_0x115d88,_0x2a1bf3){const _0x24ae7e=_0x24ae();return _0x3a99=function(_0x3a990c,_0x1c3043){_0x3a990c=_0x3a990c-0x164;let _0x179f9d=_0x24ae7e[_0x3a990c];return _0x179f9d;},_0x3a99(_0x115d88,_0x2a1bf3);}import{randomUUID}from'crypto';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x53bf1c(0x170)]=_0x105fce=>{const _0x5aeae3=_0x53bf1c;userInfoCache[_0x105fce[_0x5aeae3(0x174)]]=_0x105fce,userDetailHandlers['forEach'](_0x4a5a1d=>_0x4a5a1d(_0x105fce));},setTimeout(()=>{const _0x3bf59b=_0x53bf1c;napCatCore[_0x3bf59b(0x16f)](()=>{const _0x119685=_0x3bf59b;napCatCore[_0x119685(0x186)][_0x119685(0x183)][_0x119685(0x17b)](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x45c69a,_0x4cc6be=0x1){const _0x393f76=_0x53bf1c;return napCatCore['service'][_0x393f76(0x17e)]['kernelService'][_0x393f76(0x177)]({'friendUid':_0x45c69a,'sourceId':0x47,'doLikeCount':_0x4cc6be,'doLikeTollCount':0x0});}static async[_0x53bf1c(0x179)](_0x2f6f92){const _0x3dbe8e=_0x53bf1c,_0x41d3bd=napCatCore[_0x3dbe8e(0x186)][_0x3dbe8e(0x183)][_0x3dbe8e(0x171)]?.[_0x3dbe8e(0x16a)](_0x2f6f92);return{'result':_0x41d3bd?.[_0x3dbe8e(0x164)],'errMsg':_0x41d3bd?.['errMsg']};}static async[_0x53bf1c(0x168)](){}static async[_0x53bf1c(0x17a)](_0x8ac2a0){}static async[_0x53bf1c(0x169)](_0x5316e7){const _0x1166fd=_0x53bf1c,_0x178559={'nOrhd':function(_0x604b28,_0x6c2119){return _0x604b28===_0x6c2119;},'lvzsk':function(_0x633325,_0x14da98){return _0x633325(_0x14da98);},'fPysa':_0x1166fd(0x173),'xwEVA':function(_0xf1f80e){return _0xf1f80e();},'XsaQh':function(_0x223bfa,_0x53d5e5,_0x55db39){return _0x223bfa(_0x53d5e5,_0x55db39);}},_0x3a9687=napCatCore['service']['profile']['kernelService'];return new Promise((_0x34679b,_0x1e3c95)=>{const _0x4f33e3=_0x1166fd,_0x5e6a18={'NgZEB':_0x178559[_0x4f33e3(0x166)]},_0x1253ba=_0x178559['xwEVA'](randomUUID);let _0x9a2aaf=![];_0x178559[_0x4f33e3(0x176)](setTimeout,()=>{const _0x5df914=_0x4f33e3;!_0x9a2aaf&&_0x1e3c95(_0x5e6a18[_0x5df914(0x16d)]);},0x1388),userDetailHandlers[_0x4f33e3(0x17d)](_0x1253ba,_0x5594f2=>{const _0x548c24=_0x4f33e3;_0x178559['nOrhd'](_0x5594f2[_0x548c24(0x174)],_0x5316e7)&&(_0x9a2aaf=!![],userDetailHandlers[_0x548c24(0x182)](_0x1253ba),_0x178559[_0x548c24(0x16e)](_0x34679b,_0x5594f2));}),_0x3a9687[_0x4f33e3(0x16c)](_0x5316e7,[0x0])[_0x4f33e3(0x188)](_0x2b719c=>{});});}static async[_0x53bf1c(0x167)](){}static async['getSkey'](_0x186c09,_0x19483b){}}function _0x24ae(){const _0x31f7d6=['NgZEB','lvzsk','addLoginSuccessCallback','onProfileDetailInfoChanged','kernelService','2586bYPxzM','getUserDetailInfo\x20timeout','uid','1842BCiWpL','XsaQh','setBuddyProfileLike','28mRJodZ','setQQAvatar','getUserInfo','addProfileListener','2344RtvZDT','set','profileLike','31668EcasME','17586HPheEt','688596QSdHqN','delete','profile','2444apHmGJ','1170tdLKhn','service','759247cjDnPr','then','1117589GjrzNh','result','797455mPzIUL','fPysa','getPSkey','getSelfInfo','getUserDetailInfo','setHeader','70NNKrlp','getUserDetailInfoWithBizInfo'];_0x24ae=function(){return _0x31f7d6;};return _0x24ae();}

View File

@@ -1 +1 @@
const _0x57a49f=_0x31a3;function _0x31a3(_0x5bdf86,_0x316604){const _0x5bb92c=_0x5bb9();return _0x31a3=function(_0x31a3cc,_0x32a276){_0x31a3cc=_0x31a3cc-0x1ad;let _0x244123=_0x5bb92c[_0x31a3cc];return _0x244123;},_0x31a3(_0x5bdf86,_0x316604);}(function(_0x1a0df6,_0x6510a4){const _0x982df5=_0x31a3,_0x223342=_0x1a0df6();while(!![]){try{const _0x1ae0dd=-parseInt(_0x982df5(0x1c2))/0x1*(-parseInt(_0x982df5(0x1ba))/0x2)+parseInt(_0x982df5(0x1cf))/0x3+-parseInt(_0x982df5(0x1b0))/0x4*(-parseInt(_0x982df5(0x1b8))/0x5)+parseInt(_0x982df5(0x1d3))/0x6+parseInt(_0x982df5(0x1c1))/0x7*(parseInt(_0x982df5(0x1c0))/0x8)+parseInt(_0x982df5(0x1bb))/0x9*(-parseInt(_0x982df5(0x1af))/0xa)+-parseInt(_0x982df5(0x1b6))/0xb;if(_0x1ae0dd===_0x6510a4)break;else _0x223342['push'](_0x223342['shift']());}catch(_0xcc8e7a){_0x223342['push'](_0x223342['shift']());}}}(_0x5bb9,0xa4a83));function _0x5bb9(){const _0x27cad5=['&bkn=','include','UOPdf','272655qQsTUZ','getGroupDigest','addGroupDigest','gdEtH','773136WirhOG','GET','VmtKL','20UUDzwm','1059672VclmSd','bQxjc','init','json','TLgnT','&msg_random=444021292','25973849wOQRaC','request','20VjzoQF','cookie','34okwjsS','240003TgEDvX','headers','pskey','length','XycVa','16504qRXGUb','3668cmAqMn','42859IeIRkr','defaultHeaders','skey','charCodeAt','QHEav','toString','bkn','genBkn','https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code=','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='];_0x5bb9=function(){return _0x27cad5;};return _0x5bb9();}import{log}from'@/common/utils/log';export class WebApi{static ['bkn'];static [_0x57a49f(0x1c4)];static [_0x57a49f(0x1bd)];static [_0x57a49f(0x1b9)];[_0x57a49f(0x1c3)]={'User-Agent':'QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0'};constructor(){}async[_0x57a49f(0x1d1)](_0x421b2f,_0x13f0bf){const _0x59ceec=_0x57a49f,_0x494615=_0x59ceec(0x1cb)+_0x421b2f+'&msg_seq='+_0x13f0bf+_0x59ceec(0x1b5),_0x3a3b60=await this['request'](_0x494615);return await _0x3a3b60[_0x59ceec(0x1b3)]();}async[_0x57a49f(0x1d0)](_0x212984){const _0x40ff51=_0x57a49f,_0x7489de={'XycVa':function(_0x40f9ae,_0x730e1e){return _0x40f9ae(_0x730e1e);}},_0x20f9d0=_0x40ff51(0x1ca)+_0x212984+'&page_start=0&page_limit=20',_0x2a4008=await this[_0x40ff51(0x1b7)](_0x20f9d0);return _0x7489de[_0x40ff51(0x1bf)](log,_0x2a4008[_0x40ff51(0x1bc)]),await _0x2a4008[_0x40ff51(0x1b3)]();}[_0x57a49f(0x1c9)](_0x4a99e9){const _0x4ef12c=_0x57a49f,_0x108d43={'xspFv':function(_0xc04961,_0x3bfaab){return _0xc04961<_0x3bfaab;},'QHEav':function(_0x4beb45,_0x35a910){return _0x4beb45+_0x35a910;},'gdEtH':function(_0x34f52d,_0x2d5975){return _0x34f52d+_0x2d5975;},'UOPdf':function(_0x3ecbd8,_0x5f456c){return _0x3ecbd8<<_0x5f456c;}};_0x4a99e9=_0x4a99e9||'';let _0xd3c00c=0x1505;for(let _0x13d724=0x0;_0x108d43['xspFv'](_0x13d724,_0x4a99e9[_0x4ef12c(0x1be)]);_0x13d724++){const _0x19c0be=_0x4a99e9[_0x4ef12c(0x1c5)](_0x13d724);_0xd3c00c=_0x108d43[_0x4ef12c(0x1c6)](_0x108d43[_0x4ef12c(0x1d2)](_0xd3c00c,_0x108d43[_0x4ef12c(0x1ce)](_0xd3c00c,0x5)),_0x19c0be);}return(_0xd3c00c&0x7fffffff)[_0x4ef12c(0x1c7)]();}async['init'](){const _0x4d7c28=_0x57a49f;if(!WebApi[_0x4d7c28(0x1c8)]){}}async[_0x57a49f(0x1b7)](_0x5211ab,_0x168596=_0x57a49f(0x1ad),_0x5dc257={}){const _0x5c6879=_0x57a49f,_0xf4cf={'TLgnT':function(_0x1740c0,_0x5279a9){return _0x1740c0+_0x5279a9;},'AzenZ':_0x5c6879(0x1cc),'VmtKL':function(_0x251e65,_0x2f319f,_0x574c5f,_0x426e26){return _0x251e65(_0x2f319f,_0x574c5f,_0x426e26);},'bQxjc':function(_0x282b25,_0x194d5a,_0x54a9f6){return _0x282b25(_0x194d5a,_0x54a9f6);}};await this[_0x5c6879(0x1b2)](),_0x5211ab+=_0xf4cf[_0x5c6879(0x1b4)](_0xf4cf['AzenZ'],WebApi[_0x5c6879(0x1c8)]);const _0x4f5f76={...this[_0x5c6879(0x1c3)],..._0x5dc257,'Cookie':WebApi['cookie'],'credentials':_0x5c6879(0x1cd)};_0xf4cf[_0x5c6879(0x1ae)](log,_0x5c6879(0x1b7),_0x5211ab,_0x4f5f76);const _0x30556e={'method':_0x168596,'headers':_0x4f5f76};return _0xf4cf[_0x5c6879(0x1b1)](fetch,_0x5211ab,_0x30556e);}}
function _0x5d3a(_0x2d5fb3,_0x52150d){const _0x1eccf6=_0x1ecc();return _0x5d3a=function(_0x5d3a1c,_0x1023c0){_0x5d3a1c=_0x5d3a1c-0x76;let _0x38405f=_0x1eccf6[_0x5d3a1c];return _0x38405f;},_0x5d3a(_0x2d5fb3,_0x52150d);}const _0x443715=_0x5d3a;(function(_0x3f26e4,_0x6440f){const _0x5cf115=_0x5d3a,_0x4683e8=_0x3f26e4();while(!![]){try{const _0x2f079f=-parseInt(_0x5cf115(0x7f))/0x1+-parseInt(_0x5cf115(0x8e))/0x2*(parseInt(_0x5cf115(0x91))/0x3)+parseInt(_0x5cf115(0x86))/0x4+parseInt(_0x5cf115(0x99))/0x5*(parseInt(_0x5cf115(0x84))/0x6)+-parseInt(_0x5cf115(0x80))/0x7+-parseInt(_0x5cf115(0x78))/0x8+-parseInt(_0x5cf115(0x83))/0x9*(-parseInt(_0x5cf115(0x77))/0xa);if(_0x2f079f===_0x6440f)break;else _0x4683e8['push'](_0x4683e8['shift']());}catch(_0x58bb3a){_0x4683e8['push'](_0x4683e8['shift']());}}}(_0x1ecc,0xb727b));function _0x1ecc(){const _0x46290a=['4580mStCTV','init','bkn','1800LBdiqs','genBkn','&msg_random=444021292','getGroupDigest','pDFUa','headers','charCodeAt','QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0','5646815zqxaCQ','&msg_seq=','6270730tOpBEL','2789584cgLfEn','defaultHeaders','zqCcO','oMJAK','include','cookie','&bkn=','771487OuMjTr','3679235jxvtJL','json','rUKlZ','18uAWQYA','6fVVhYi','pskey','5545936YUhfhU','uCpyu','request','MTCCn','addGroupDigest','GET','&page_start=0&page_limit=20','skey'];_0x1ecc=function(){return _0x46290a;};return _0x1ecc();}import{log}from'@/common/utils/log';export class WebApi{static [_0x443715(0x90)];static [_0x443715(0x8d)];static [_0x443715(0x85)];static [_0x443715(0x7d)];['defaultHeaders']={'User-Agent':_0x443715(0x98)};constructor(){}async[_0x443715(0x8a)](_0x565e38,_0x143468){const _0x4710c9=_0x443715,_0x4c6f19='https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x565e38+_0x4710c9(0x76)+_0x143468+_0x4710c9(0x93),_0x507a9e=await this[_0x4710c9(0x88)](_0x4c6f19);return await _0x507a9e[_0x4710c9(0x81)]();}async[_0x443715(0x94)](_0x17f478){const _0x1674c6=_0x443715,_0x33f613={'hfxoo':function(_0x309ccd,_0x458477){return _0x309ccd(_0x458477);}},_0x5a3ee7='https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code='+_0x17f478+_0x1674c6(0x8c),_0x3d3166=await this[_0x1674c6(0x88)](_0x5a3ee7);return _0x33f613['hfxoo'](log,_0x3d3166[_0x1674c6(0x96)]),await _0x3d3166[_0x1674c6(0x81)]();}[_0x443715(0x92)](_0x16c1cb){const _0x3de3ae=_0x443715,_0x23c6b6={'mlPDA':function(_0x242098,_0x506e67){return _0x242098||_0x506e67;},'qQjtM':function(_0x4294fc,_0x13aaa2){return _0x4294fc<_0x13aaa2;},'pIhPL':function(_0x2d445c,_0x174238){return _0x2d445c+_0x174238;},'WIkVX':function(_0x27ab5c,_0x1e0f8b){return _0x27ab5c+_0x1e0f8b;},'zqCcO':function(_0x447b37,_0x39ee46){return _0x447b37<<_0x39ee46;},'rUKlZ':function(_0x547843,_0x2a6330){return _0x547843&_0x2a6330;}};_0x16c1cb=_0x23c6b6['mlPDA'](_0x16c1cb,'');let _0x5cf796=0x1505;for(let _0x1024b7=0x0;_0x23c6b6['qQjtM'](_0x1024b7,_0x16c1cb['length']);_0x1024b7++){const _0x532721=_0x16c1cb[_0x3de3ae(0x97)](_0x1024b7);_0x5cf796=_0x23c6b6['pIhPL'](_0x23c6b6['WIkVX'](_0x5cf796,_0x23c6b6[_0x3de3ae(0x7a)](_0x5cf796,0x5)),_0x532721);}return _0x23c6b6[_0x3de3ae(0x82)](_0x5cf796,0x7fffffff)['toString']();}async[_0x443715(0x8f)](){const _0x27875c=_0x443715;if(!WebApi[_0x27875c(0x90)]){}}async[_0x443715(0x88)](_0x4cabcd,_0x2980b9=_0x443715(0x8b),_0x4e9228={}){const _0x1b9e35=_0x443715,_0x169a05={'dxGMU':function(_0x5dcac8,_0x4eb1eb){return _0x5dcac8+_0x4eb1eb;},'oMJAK':_0x1b9e35(0x7e),'MTCCn':_0x1b9e35(0x7c),'nVIty':function(_0x49af4f,_0x2ce37d,_0x362e92,_0x4d9a12){return _0x49af4f(_0x2ce37d,_0x362e92,_0x4d9a12);},'pDFUa':_0x1b9e35(0x88),'uCpyu':function(_0x5255b0,_0x4d60d1,_0x3a2f86){return _0x5255b0(_0x4d60d1,_0x3a2f86);}};await this[_0x1b9e35(0x8f)](),_0x4cabcd+=_0x169a05['dxGMU'](_0x169a05[_0x1b9e35(0x7b)],WebApi[_0x1b9e35(0x90)]);const _0x2c7395={...this[_0x1b9e35(0x79)],..._0x4e9228,'Cookie':WebApi['cookie'],'credentials':_0x169a05[_0x1b9e35(0x89)]};_0x169a05['nVIty'](log,_0x169a05[_0x1b9e35(0x95)],_0x4cabcd,_0x2c7395);const _0x487aca={'method':_0x2980b9,'headers':_0x2c7395};return _0x169a05[_0x1b9e35(0x87)](fetch,_0x4cabcd,_0x487aca);}}

View File

@@ -1 +1 @@
function _0xceeb(_0x1b33fb,_0x2ebb86){var _0x4c58a8=_0x4c58();return _0xceeb=function(_0xceebed,_0x4817d6){_0xceebed=_0xceebed-0x121;var _0x418337=_0x4c58a8[_0xceebed];return _0x418337;},_0xceeb(_0x1b33fb,_0x2ebb86);}var _0x15c0a0=_0xceeb;(function(_0x519955,_0x48166b){var _0x4805e5=_0xceeb,_0x5613e2=_0x519955();while(!![]){try{var _0x5a9d55=-parseInt(_0x4805e5(0x125))/0x1+-parseInt(_0x4805e5(0x122))/0x2*(parseInt(_0x4805e5(0x126))/0x3)+-parseInt(_0x4805e5(0x12d))/0x4+-parseInt(_0x4805e5(0x12c))/0x5+parseInt(_0x4805e5(0x128))/0x6+-parseInt(_0x4805e5(0x127))/0x7+parseInt(_0x4805e5(0x121))/0x8;if(_0x5a9d55===_0x48166b)break;else _0x5613e2['push'](_0x5613e2['shift']());}catch(_0x552ca8){_0x5613e2['push'](_0x5613e2['shift']());}}}(_0x4c58,0xb3a2c));function _0x4c58(){var _0x3d88ac=['#/group-notify-filter','#/group-home-work','963725hzvkIG','3rlVesQ','6437207lvtIQv','7243572XpSIDg','GroupHomeWorkWindow','GroupNotifyFilterWindow','GroupEssenceWindow','813260AwLMAi','4762900bGQeTV','30444512NxrmCi','2080670odKPWn'];_0x4c58=function(){return _0x3d88ac;};return _0x4c58();}export class NTQQWindows{static [_0x15c0a0(0x129)]={'windowName':_0x15c0a0(0x129),'windowUrlHash':_0x15c0a0(0x124)};static [_0x15c0a0(0x12a)]={'windowName':_0x15c0a0(0x12a),'windowUrlHash':_0x15c0a0(0x123)};static ['GroupEssenceWindow']={'windowName':_0x15c0a0(0x12b),'windowUrlHash':'#/group-essence'};}export class NTQQWindowApi{}
var _0x5982e5=_0x3c88;function _0x3f89(){var _0x457cba=['86013LyBlWw','328BVFIpP','9KgpvzU','2897576yUZPxk','211955ljrRfn','GroupHomeWorkWindow','472924VqyyPf','917436BvjWqO','3386124uviehj','198VZOjYb','#/group-essence','GroupEssenceWindow','201800pMSnMz','2189ClyPnw','GroupNotifyFilterWindow'];_0x3f89=function(){return _0x457cba;};return _0x3f89();}(function(_0x4497e5,_0x4e2818){var _0x18104a=_0x3c88,_0xc38278=_0x4497e5();while(!![]){try{var _0x1536b0=parseInt(_0x18104a(0x143))/0x1+parseInt(_0x18104a(0x140))/0x2+parseInt(_0x18104a(0x13f))/0x3*(parseInt(_0x18104a(0x144))/0x4)+parseInt(_0x18104a(0x141))/0x5*(parseInt(_0x18104a(0x146))/0x6)+parseInt(_0x18104a(0x145))/0x7+-parseInt(_0x18104a(0x13e))/0x8*(-parseInt(_0x18104a(0x13d))/0x9)+-parseInt(_0x18104a(0x149))/0xa*(parseInt(_0x18104a(0x14a))/0xb);if(_0x1536b0===_0x4e2818)break;else _0xc38278['push'](_0xc38278['shift']());}catch(_0x20cd95){_0xc38278['push'](_0xc38278['shift']());}}}(_0x3f89,0xd4059));function _0x3c88(_0x4c9b00,_0x5834fd){var _0x3f893d=_0x3f89();return _0x3c88=function(_0x3c8885,_0x564177){_0x3c8885=_0x3c8885-0x13c;var _0x13f277=_0x3f893d[_0x3c8885];return _0x13f277;},_0x3c88(_0x4c9b00,_0x5834fd);}export class NTQQWindows{static [_0x5982e5(0x142)]={'windowName':_0x5982e5(0x142),'windowUrlHash':'#/group-home-work'};static ['GroupNotifyFilterWindow']={'windowName':_0x5982e5(0x13c),'windowUrlHash':'#/group-notify-filter'};static [_0x5982e5(0x148)]={'windowName':'GroupEssenceWindow','windowUrlHash':_0x5982e5(0x147)};}export class NTQQWindowApi{}

View File

@@ -1 +1 @@
function _0x1bcc(_0x322967,_0x352591){var _0x28e9ef=_0x28e9();return _0x1bcc=function(_0x1bcc2e,_0x302f94){_0x1bcc2e=_0x1bcc2e-0x114;var _0x5be780=_0x28e9ef[_0x1bcc2e];return _0x5be780;},_0x1bcc(_0x322967,_0x352591);}function _0x28e9(){var _0x56c6d2=['790706uIRcvX','5375178rCstUg','lZZYX','1|3|0|2|4','935JOkMdg','DOCUMENT','LuPZH','EghCt','211110tnMtON','ulctl','8164mQMdcK','3363696gwjMBa','3346224lsFzDp','IMAGE','eoGjL','12ZEfdNp','split','32019651JHpIRW'];_0x28e9=function(){return _0x56c6d2;};return _0x28e9();}(function(_0x4812b9,_0x4d9d8c){var _0x2e7bf9=_0x1bcc,_0x286acb=_0x4812b9();while(!![]){try{var _0x5e39a9=-parseInt(_0x2e7bf9(0x125))/0x1+parseInt(_0x2e7bf9(0x122))/0x2*(-parseInt(_0x2e7bf9(0x11b))/0x3)+parseInt(_0x2e7bf9(0x11d))/0x4*(parseInt(_0x2e7bf9(0x117))/0x5)+-parseInt(_0x2e7bf9(0x114))/0x6+-parseInt(_0x2e7bf9(0x11f))/0x7+-parseInt(_0x2e7bf9(0x11e))/0x8+parseInt(_0x2e7bf9(0x124))/0x9;if(_0x5e39a9===_0x4d9d8c)break;else _0x286acb['push'](_0x286acb['shift']());}catch(_0x453837){_0x286acb['push'](_0x286acb['shift']());}}}(_0x28e9,0xe391b));export var CacheFileType;(function(_0xfbabd8){var _0x4652b4=_0x1bcc,_0x118ccd={'lZZYX':_0x4652b4(0x116),'kihaj':'AUDIO','EghCt':_0x4652b4(0x120),'eoGjL':_0x4652b4(0x118),'ulctl':'VIDEO','LuPZH':'OTHER'},_0x31cc0c=_0x118ccd[_0x4652b4(0x115)][_0x4652b4(0x123)]('|'),_0x55da17=0x0;while(!![]){switch(_0x31cc0c[_0x55da17++]){case'0':_0xfbabd8[_0xfbabd8['AUDIO']=0x2]=_0x118ccd['kihaj'];continue;case'1':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x11a)]]=0x0]=_0x118ccd[_0x4652b4(0x11a)];continue;case'2':_0xfbabd8[_0xfbabd8[_0x4652b4(0x118)]=0x3]=_0x118ccd[_0x4652b4(0x121)];continue;case'3':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x11c)]]=0x1]=_0x118ccd[_0x4652b4(0x11c)];continue;case'4':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x119)]]=0x4]=_0x118ccd[_0x4652b4(0x119)];continue;}break;}}(CacheFileType||(CacheFileType={})));
function _0x1f8b(_0x211adc,_0x2fca8d){var _0x2555c6=_0x2555();return _0x1f8b=function(_0x1f8bbf,_0x5788a7){_0x1f8bbf=_0x1f8bbf-0xe1;var _0x51e13f=_0x2555c6[_0x1f8bbf];return _0x51e13f;},_0x1f8b(_0x211adc,_0x2fca8d);}(function(_0x280c6f,_0x218299){var _0x557dd8=_0x1f8b,_0x1d7e56=_0x280c6f();while(!![]){try{var _0x21b505=parseInt(_0x557dd8(0xe4))/0x1+parseInt(_0x557dd8(0xe6))/0x2+-parseInt(_0x557dd8(0xea))/0x3+parseInt(_0x557dd8(0xe8))/0x4+parseInt(_0x557dd8(0xef))/0x5+parseInt(_0x557dd8(0xec))/0x6*(-parseInt(_0x557dd8(0xe7))/0x7)+parseInt(_0x557dd8(0xe1))/0x8*(parseInt(_0x557dd8(0xe2))/0x9);if(_0x21b505===_0x218299)break;else _0x1d7e56['push'](_0x1d7e56['shift']());}catch(_0x4ef306){_0x1d7e56['push'](_0x1d7e56['shift']());}}}(_0x2555,0x21ecd));export var CacheFileType;function _0x2555(){var _0x4b2753=['7357lFIgjo','210744URUnpB','BFOrB','667230NPsPuV','IMAGE','708bOoGAy','DOCUMENT','QrntX','768720pWOTnJ','OTHER','175976PIlIaB','36apimus','OwhCi','37065HxnmFI','FuQpx','307804BEueLs'];_0x2555=function(){return _0x4b2753;};return _0x2555();}(function(_0x1c7788){var _0x3619ca=_0x1f8b,_0x48b1b7={'BFOrB':'VIDEO','QrntX':'AUDIO','OwhCi':_0x3619ca(0xed),'FuQpx':_0x3619ca(0xf0)};_0x1c7788[_0x1c7788['IMAGE']=0x0]=_0x3619ca(0xeb),_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe9)]]=0x1]=_0x48b1b7[_0x3619ca(0xe9)],_0x1c7788[_0x1c7788[_0x48b1b7['QrntX']]=0x2]=_0x48b1b7[_0x3619ca(0xee)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe3)]]=0x3]=_0x48b1b7[_0x3619ca(0xe3)],_0x1c7788[_0x1c7788[_0x48b1b7[_0x3619ca(0xe5)]]=0x4]=_0x3619ca(0xf0);}(CacheFileType||(CacheFileType={})));

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
function _0x1de1(_0x860c83,_0x3c5b65){var _0x266784=_0x2667();return _0x1de1=function(_0x1de1bc,_0x324302){_0x1de1bc=_0x1de1bc-0x1be;var _0x277693=_0x266784[_0x1de1bc];return _0x277693;},_0x1de1(_0x860c83,_0x3c5b65);}function _0x2667(){var _0x784f3e=['BJjyv','Orooq','135743Pifyvg','loqMx','6731472xtBdLT','1312930abmosw','12KsANnP','14zsXLtT','1439976eioIKT','18LnrIyn','owner','5dnQGLx','9JrAWyr','1925244TXokwH','470020uZYDlZ','27239663LEqUVH'];_0x2667=function(){return _0x784f3e;};return _0x2667();}(function(_0x15f3fe,_0x4acb4b){var _0x4b742f=_0x1de1,_0x170790=_0x15f3fe();while(!![]){try{var _0x1ad80c=parseInt(_0x4b742f(0x1c7))/0x1+-parseInt(_0x4b742f(0x1c3))/0x2*(parseInt(_0x4b742f(0x1c1))/0x3)+parseInt(_0x4b742f(0x1cd))/0x4*(parseInt(_0x4b742f(0x1c0))/0x5)+-parseInt(_0x4b742f(0x1c2))/0x6*(parseInt(_0x4b742f(0x1cc))/0x7)+-parseInt(_0x4b742f(0x1c9))/0x8+-parseInt(_0x4b742f(0x1be))/0x9*(parseInt(_0x4b742f(0x1ca))/0xa)+-parseInt(_0x4b742f(0x1c4))/0xb*(-parseInt(_0x4b742f(0x1cb))/0xc);if(_0x1ad80c===_0x4acb4b)break;else _0x170790['push'](_0x170790['shift']());}catch(_0x2e5db3){_0x170790['push'](_0x170790['shift']());}}}(_0x2667,0x7f438));export var GroupMemberRole;(function(_0x5c281d){var _0x2dfba9=_0x1de1,_0x296fd1={'Orooq':'normal','BJjyv':'admin','loqMx':_0x2dfba9(0x1bf)};_0x5c281d[_0x5c281d['normal']=0x2]=_0x296fd1[_0x2dfba9(0x1c6)],_0x5c281d[_0x5c281d[_0x296fd1['BJjyv']]=0x3]=_0x296fd1[_0x2dfba9(0x1c5)],_0x5c281d[_0x5c281d[_0x296fd1[_0x2dfba9(0x1c8)]]=0x4]=_0x296fd1[_0x2dfba9(0x1c8)];}(GroupMemberRole||(GroupMemberRole={})));
function _0xdd85(){var _0x8aee54=['owner','204PAyMBG','admin','1522088VzrprI','105036ImtSBq','448299Klrnki','18425FMIwXN','40BpQcAs','yCOhr','4KTZczv','OHTAR','1096235oQaljQ','MZPVP','119219bWkHEX','359874GHXFtx'];_0xdd85=function(){return _0x8aee54;};return _0xdd85();}function _0x4740(_0x2184fd,_0x288faa){var _0xdd85d5=_0xdd85();return _0x4740=function(_0x4740d5,_0x4c799f){_0x4740d5=_0x4740d5-0x17c;var _0x1bcb01=_0xdd85d5[_0x4740d5];return _0x1bcb01;},_0x4740(_0x2184fd,_0x288faa);}(function(_0x1d86a9,_0x2851c2){var _0x211200=_0x4740,_0x9ee885=_0x1d86a9();while(!![]){try{var _0x5c9b43=-parseInt(_0x211200(0x184))/0x1+parseInt(_0x211200(0x180))/0x2*(-parseInt(_0x211200(0x18a))/0x3)+-parseInt(_0x211200(0x187))/0x4*(parseInt(_0x211200(0x17d))/0x5)+-parseInt(_0x211200(0x185))/0x6+parseInt(_0x211200(0x182))/0x7+parseInt(_0x211200(0x189))/0x8+parseInt(_0x211200(0x17c))/0x9*(parseInt(_0x211200(0x17e))/0xa);if(_0x5c9b43===_0x2851c2)break;else _0x9ee885['push'](_0x9ee885['shift']());}catch(_0x121ef3){_0x9ee885['push'](_0x9ee885['shift']());}}}(_0xdd85,0x1a999));export var GroupMemberRole;(function(_0x59e7a5){var _0x586b9a=_0x4740,_0x48ef58={'MZPVP':'normal','OHTAR':_0x586b9a(0x188),'yCOhr':_0x586b9a(0x186)};_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x183)]]=0x2]=_0x48ef58[_0x586b9a(0x183)],_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x181)]]=0x3]='admin',_0x59e7a5[_0x59e7a5[_0x48ef58[_0x586b9a(0x17f)]]=0x4]=_0x48ef58[_0x586b9a(0x17f)];}(GroupMemberRole||(GroupMemberRole={})));

View File

@@ -1 +1 @@
function _0x2e19(_0x3b5f6d,_0x5a1587){var _0x4c2dd2=_0x4c2d();return _0x2e19=function(_0x2e1992,_0x272396){_0x2e1992=_0x2e1992-0xd1;var _0x353ed4=_0x4c2dd2[_0x2e1992];return _0x353ed4;},_0x2e19(_0x3b5f6d,_0x5a1587);}(function(_0x4d7584,_0x48a915){var _0x37f771=_0x2e19,_0xe4053c=_0x4d7584();while(!![]){try{var _0x5e654b=parseInt(_0x37f771(0xd9))/0x1*(-parseInt(_0x37f771(0xd5))/0x2)+parseInt(_0x37f771(0xd4))/0x3*(-parseInt(_0x37f771(0xd6))/0x4)+parseInt(_0x37f771(0xd1))/0x5+-parseInt(_0x37f771(0xd3))/0x6+-parseInt(_0x37f771(0xd7))/0x7+parseInt(_0x37f771(0xd8))/0x8+-parseInt(_0x37f771(0xd2))/0x9*(-parseInt(_0x37f771(0xda))/0xa);if(_0x5e654b===_0x48a915)break;else _0xe4053c['push'](_0xe4053c['shift']());}catch(_0x288a55){_0xe4053c['push'](_0xe4053c['shift']());}}}(_0x4c2d,0xe41a7));function _0x4c2d(){var _0x53aa95=['665465ZAOiaj','32393565QOfapZ','2610276AfCsJn','4423947ELLWCa','9028HfEwSy','4felEFX','9062417CKRyVa','4802888jxTaHy','43LZlBNd','10sGNSHs'];_0x4c2d=function(){return _0x53aa95;};return _0x4c2d();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
(function(_0x40cb53,_0x4607ad){var _0x2a30d6=_0x54ef,_0x1e72e8=_0x40cb53();while(!![]){try{var _0x109b8a=-parseInt(_0x2a30d6(0x115))/0x1*(-parseInt(_0x2a30d6(0x11a))/0x2)+-parseInt(_0x2a30d6(0x118))/0x3*(parseInt(_0x2a30d6(0x116))/0x4)+parseInt(_0x2a30d6(0x11c))/0x5+-parseInt(_0x2a30d6(0x11b))/0x6*(parseInt(_0x2a30d6(0x11d))/0x7)+parseInt(_0x2a30d6(0x119))/0x8+parseInt(_0x2a30d6(0x114))/0x9+-parseInt(_0x2a30d6(0x11e))/0xa*(-parseInt(_0x2a30d6(0x117))/0xb);if(_0x109b8a===_0x4607ad)break;else _0x1e72e8['push'](_0x1e72e8['shift']());}catch(_0x35b93b){_0x1e72e8['push'](_0x1e72e8['shift']());}}}(_0x3a46,0x22c8e));function _0x3a46(){var _0x56a0ff=['7sRvroy','2687610OXJxIf','1854864QDIcpI','1ppYTSa','357092DvGXdJ','11SzRixC','6Vizrxs','360496mwIRDi','44914PrSmJY','1370838MLtyrI','35605ELRImu'];_0x3a46=function(){return _0x56a0ff;};return _0x3a46();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x54ef(_0x1eeacf,_0x4ab49a){var _0x3a466d=_0x3a46();return _0x54ef=function(_0x54ef4b,_0x5a6168){_0x54ef4b=_0x54ef4b-0x114;var _0xe7c4f=_0x3a466d[_0x54ef4b];return _0xe7c4f;},_0x54ef(_0x1eeacf,_0x4ab49a);}export*from'./constructor';

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
(function(_0x575f04,_0x4b14ac){var _0x5ce4ca=_0x3467,_0x197fe9=_0x575f04();while(!![]){try{var _0x625559=-parseInt(_0x5ce4ca(0x1f4))/0x1+-parseInt(_0x5ce4ca(0x1ec))/0x2*(parseInt(_0x5ce4ca(0x1f1))/0x3)+-parseInt(_0x5ce4ca(0x200))/0x4*(-parseInt(_0x5ce4ca(0x209))/0x5)+-parseInt(_0x5ce4ca(0x1fe))/0x6+parseInt(_0x5ce4ca(0x1f5))/0x7*(parseInt(_0x5ce4ca(0x1fa))/0x8)+parseInt(_0x5ce4ca(0x20c))/0x9+parseInt(_0x5ce4ca(0x201))/0xa;if(_0x625559===_0x4b14ac)break;else _0x197fe9['push'](_0x197fe9['shift']());}catch(_0x3976a3){_0x197fe9['push'](_0x197fe9['shift']());}}}(_0x2fa4,0x4bfbb));function _0x3467(_0x20ba21,_0x5d1a6c){var _0x2fa4b=_0x2fa4();return _0x3467=function(_0x3467c2,_0x312d46){_0x3467c2=_0x3467c2-0x1ec;var _0x58f2d8=_0x2fa4b[_0x3467c2];return _0x58f2d8;},_0x3467(_0x20ba21,_0x5d1a6c);}function _0x2fa4(){var _0x199107=['KICK_MEMBER','6|3|5|0|2|4|1','5229lGRPYQ','KjRIx','tToVE','577519foXtPX','170653ZuCsaT','IVPWZ','split','INVITED_JOIN','WAIT_HANDLE','88glKHEL','INVITE_ME','pxnwS','SaRji','2049786aWaMiv','wmYkl','81516HtzcDW','10224990uMjppX','psYcb','REJECT','approve','ADMIN_SET','APPROVE','LFtUt','MEMBER_EXIT','15efvDCb','ADMIN_UNSET','NRAzE','1699434zmMZvK','uiZRQ','356muhCnS','mSnqD','JOIN_REQUEST'];_0x2fa4=function(){return _0x199107;};return _0x2fa4();}export var GroupNotifyTypes;(function(_0x5edc6e){var _0x7c1866=_0x3467,_0x2c46c7={'uiZRQ':_0x7c1866(0x205),'LFtUt':_0x7c1866(0x20a),'wmYkl':_0x7c1866(0x1ef),'IVPWZ':_0x7c1866(0x1f8),'KjRIx':'MEMBER_EXIT','NRAzE':_0x7c1866(0x1ee),'SaRji':_0x7c1866(0x1fb)},_0x187b30=_0x7c1866(0x1f0)[_0x7c1866(0x1f7)]('|'),_0x8810db=0x0;while(!![]){switch(_0x187b30[_0x8810db++]){case'0':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x20d)]]=0x8]='ADMIN_SET';continue;case'1':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x207)]]=0xc]=_0x2c46c7['LFtUt'];continue;case'2':_0x5edc6e[_0x5edc6e[_0x2c46c7['wmYkl']]=0x9]=_0x2c46c7[_0x7c1866(0x1ff)];continue;case'3':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x1f6)]]=0x4]=_0x2c46c7['IVPWZ'];continue;case'4':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x1f2)]]=0xb]=_0x7c1866(0x208);continue;case'5':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x20b)]]=0x7]=_0x2c46c7[_0x7c1866(0x20b)];continue;case'6':_0x5edc6e[_0x5edc6e['INVITE_ME']=0x1]=_0x2c46c7[_0x7c1866(0x1fd)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5b3e2b){var _0x5005e9=_0x3467,_0x558dc4={'pxnwS':'IGNORE','mQQKc':_0x5005e9(0x1f9),'mSnqD':'APPROVE','EfeGr':_0x5005e9(0x203)};_0x5b3e2b[_0x5b3e2b[_0x558dc4[_0x5005e9(0x1fc)]]=0x0]='IGNORE',_0x5b3e2b[_0x5b3e2b[_0x5005e9(0x1f9)]=0x1]=_0x558dc4['mQQKc'],_0x5b3e2b[_0x5b3e2b[_0x558dc4[_0x5005e9(0x1ed)]]=0x2]=_0x5005e9(0x206),_0x5b3e2b[_0x5b3e2b['REJECT']=0x3]=_0x558dc4['EfeGr'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x1c63c9){var _0x329ee0=_0x3467,_0x3f934a={'tToVE':_0x329ee0(0x204),'psYcb':'reject'};_0x1c63c9[_0x1c63c9[_0x329ee0(0x204)]=0x1]=_0x3f934a[_0x329ee0(0x1f3)],_0x1c63c9[_0x1c63c9[_0x3f934a[_0x329ee0(0x202)]]=0x2]=_0x3f934a[_0x329ee0(0x202)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));
function _0x36b4(){var _0x2cde96=['HJEay','reject','YhHhr','pRQMp','lsNsz','11AAUaqA','3OOlfyx','1970950ErILgM','yZVFn','guxWB','WyxlW','DhhWn','CjgEr','INVITE_ME','6550640enYrdC','IGNORE','1812592fiRuMy','approve','14332TkOOPo','MEMBER_EXIT','72kCfAFy','10403440MyuOIS','KICK_MEMBER','178kZfemo','7yrWqiw','INVITED_JOIN','DPesz','JOIN_REQUEST','49530108VaygiE','pCeUo','10644264RjIGYD','APPROVE','TOFsN','OmPLr','ADMIN_UNSET','ADMIN_SET','REJECT'];_0x36b4=function(){return _0x2cde96;};return _0x36b4();}(function(_0x42be81,_0x36c152){var _0x15b322=_0x2299,_0x467395=_0x42be81();while(!![]){try{var _0x38f819=parseInt(_0x15b322(0x167))/0x1*(parseInt(_0x15b322(0x16c))/0x2)+parseInt(_0x15b322(0x15b))/0x3*(parseInt(_0x15b322(0x165))/0x4)+parseInt(_0x15b322(0x163))/0x5+parseInt(_0x15b322(0x14e))/0x6+-parseInt(_0x15b322(0x16d))/0x7*(parseInt(_0x15b322(0x16a))/0x8)+parseInt(_0x15b322(0x169))/0x9*(parseInt(_0x15b322(0x15c))/0xa)+-parseInt(_0x15b322(0x15a))/0xb*(parseInt(_0x15b322(0x171))/0xc);if(_0x38f819===_0x36c152)break;else _0x467395['push'](_0x467395['shift']());}catch(_0x1db9e0){_0x467395['push'](_0x467395['shift']());}}}(_0x36b4,0xeac99));export var GroupNotifyTypes;(function(_0x13c112){var _0x1f406d=_0x2299,_0x303385={'CjgEr':_0x1f406d(0x162),'pCeUo':_0x1f406d(0x16e),'yZVFn':_0x1f406d(0x170),'YhHhr':_0x1f406d(0x153),'DhhWn':_0x1f406d(0x16b),'DPesz':_0x1f406d(0x168),'HJEay':_0x1f406d(0x152)};_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x161)]]=0x1]=_0x303385['CjgEr'],_0x13c112[_0x13c112[_0x1f406d(0x16e)]=0x4]=_0x303385[_0x1f406d(0x14d)],_0x13c112[_0x13c112[_0x303385['yZVFn']]=0x7]=_0x303385[_0x1f406d(0x15d)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x157)]]=0x8]=_0x303385['YhHhr'],_0x13c112[_0x13c112[_0x1f406d(0x16b)]=0x9]=_0x303385[_0x1f406d(0x160)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x16f)]]=0xb]=_0x303385[_0x1f406d(0x16f)],_0x13c112[_0x13c112[_0x303385[_0x1f406d(0x155)]]=0xc]=_0x303385[_0x1f406d(0x155)];}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x4c94db){var _0x4201e7=_0x2299,_0x2cd7fe={'OmPLr':_0x4201e7(0x164),'WyxlW':'WAIT_HANDLE','guxWB':_0x4201e7(0x14f),'TOFsN':_0x4201e7(0x154)};_0x4c94db[_0x4c94db[_0x4201e7(0x164)]=0x0]=_0x2cd7fe[_0x4201e7(0x151)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x15f)]]=0x1]=_0x2cd7fe[_0x4201e7(0x15f)],_0x4c94db[_0x4c94db[_0x4201e7(0x14f)]=0x2]=_0x2cd7fe[_0x4201e7(0x15e)],_0x4c94db[_0x4c94db[_0x2cd7fe[_0x4201e7(0x150)]]=0x3]=_0x4201e7(0x154);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x2299(_0x3a3cc9,_0x515d29){var _0x36b48a=_0x36b4();return _0x2299=function(_0x2299f8,_0x22dbf7){_0x2299f8=_0x2299f8-0x14d;var _0x20d837=_0x36b48a[_0x2299f8];return _0x20d837;},_0x2299(_0x3a3cc9,_0x515d29);}export var GroupRequestOperateTypes;(function(_0x5d3518){var _0x1c5a6c=_0x2299,_0x48e094={'pRQMp':'approve','lsNsz':_0x1c5a6c(0x156)};_0x5d3518[_0x5d3518[_0x1c5a6c(0x166)]=0x1]=_0x48e094[_0x1c5a6c(0x158)],_0x5d3518[_0x5d3518[_0x48e094[_0x1c5a6c(0x159)]]=0x2]=_0x1c5a6c(0x156);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));

View File

@@ -1 +1 @@
function _0x4d69(){var _0x4f0b17=['231uEHUrc','22BkBQod','1757svvWWg','2044vYVmPS','551338HoyHlE','1990782clDGMA','OrTcv','YYraG','unknown','2HzpGyp','male','192aqGGUz','415850MABUGi','2178324XokaHP','1527680HfcrRE'];_0x4d69=function(){return _0x4f0b17;};return _0x4d69();}(function(_0x159a64,_0x4fa98b){var _0x3d1916=_0xbd52,_0x412fae=_0x159a64();while(!![]){try{var _0x446c5d=parseInt(_0x3d1916(0x1dc))/0x1*(-parseInt(_0x3d1916(0x1e1))/0x2)+parseInt(_0x3d1916(0x1d8))/0x3*(-parseInt(_0x3d1916(0x1db))/0x4)+parseInt(_0x3d1916(0x1d7))/0x5+parseInt(_0x3d1916(0x1dd))/0x6+-parseInt(_0x3d1916(0x1da))/0x7*(parseInt(_0x3d1916(0x1d4))/0x8)+parseInt(_0x3d1916(0x1d6))/0x9+parseInt(_0x3d1916(0x1d5))/0xa*(parseInt(_0x3d1916(0x1d9))/0xb);if(_0x446c5d===_0x4fa98b)break;else _0x412fae['push'](_0x412fae['shift']());}catch(_0x166c89){_0x412fae['push'](_0x412fae['shift']());}}}(_0x4d69,0x59506));export var Sex;function _0xbd52(_0x33d099,_0x2fd0ae){var _0x4d6998=_0x4d69();return _0xbd52=function(_0xbd524a,_0x59101e){_0xbd524a=_0xbd524a-0x1d4;var _0x1fd717=_0x4d6998[_0xbd524a];return _0x1fd717;},_0xbd52(_0x33d099,_0x2fd0ae);}(function(_0xfffbdb){var _0x50f12b=_0xbd52,_0x13d73d={'dAJYl':_0x50f12b(0x1e2),'OrTcv':'female','YYraG':_0x50f12b(0x1e0)};_0xfffbdb[_0xfffbdb[_0x13d73d['dAJYl']]=0x1]=_0x50f12b(0x1e2),_0xfffbdb[_0xfffbdb[_0x13d73d[_0x50f12b(0x1de)]]=0x2]=_0x13d73d['OrTcv'],_0xfffbdb[_0xfffbdb[_0x13d73d[_0x50f12b(0x1df)]]=0xff]=_0x13d73d['YYraG'];}(Sex||(Sex={})));
(function(_0x2fdf6d,_0x19ae82){var _0x40541e=_0x1d41,_0x2bbfd4=_0x2fdf6d();while(!![]){try{var _0x401481=parseInt(_0x40541e(0xc2))/0x1*(-parseInt(_0x40541e(0xb6))/0x2)+-parseInt(_0x40541e(0xbb))/0x3+parseInt(_0x40541e(0xb9))/0x4+parseInt(_0x40541e(0xc0))/0x5+parseInt(_0x40541e(0xbf))/0x6+parseInt(_0x40541e(0xbe))/0x7+parseInt(_0x40541e(0xba))/0x8;if(_0x401481===_0x19ae82)break;else _0x2bbfd4['push'](_0x2bbfd4['shift']());}catch(_0x246cb9){_0x2bbfd4['push'](_0x2bbfd4['shift']());}}}(_0x3b94,0xe60d6));function _0x1d41(_0x556fa8,_0x3ac444){var _0x3b945d=_0x3b94();return _0x1d41=function(_0x1d4191,_0x3a2f95){_0x1d4191=_0x1d4191-0xb6;var _0x305be2=_0x3b945d[_0x1d4191];return _0x305be2;},_0x1d41(_0x556fa8,_0x3ac444);}export var Sex;(function(_0x243a19){var _0x18923b=_0x1d41,_0x1be68d={'pcKHa':'male','GNHjP':_0x18923b(0xbd),'AWSAb':_0x18923b(0xc1)};_0x243a19[_0x243a19[_0x1be68d['pcKHa']]=0x1]=_0x18923b(0xbc),_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb7)]]=0x2]=_0x1be68d[_0x18923b(0xb7)],_0x243a19[_0x243a19[_0x1be68d[_0x18923b(0xb8)]]=0xff]=_0x1be68d[_0x18923b(0xb8)];}(Sex||(Sex={})));function _0x3b94(){var _0x5f2410=['851755bSueiG','unknown','1631837YJKynR','2XXNqmY','GNHjP','AWSAb','1384896yWlJGx','8201048DkZbtl','4417452Xkincj','male','female','5765795pyaWzB','10087344Pcafxc'];_0x3b94=function(){return _0x5f2410;};return _0x3b94();}

View File

@@ -1 +1 @@
(function(_0x24c0c6,_0x363bab){const _0x57900a=_0x5b39,_0x30923d=_0x24c0c6();while(!![]){try{const _0x40f4e5=-parseInt(_0x57900a(0x12f))/0x1*(parseInt(_0x57900a(0x12c))/0x2)+parseInt(_0x57900a(0x12d))/0x3+parseInt(_0x57900a(0x129))/0x4*(parseInt(_0x57900a(0x12b))/0x5)+-parseInt(_0x57900a(0x126))/0x6+-parseInt(_0x57900a(0x12e))/0x7+parseInt(_0x57900a(0x127))/0x8+-parseInt(_0x57900a(0x128))/0x9*(-parseInt(_0x57900a(0x12a))/0xa);if(_0x40f4e5===_0x363bab)break;else _0x30923d['push'](_0x30923d['shift']());}catch(_0x37efa6){_0x30923d['push'](_0x30923d['shift']());}}}(_0x83d7,0x1ff5c));function _0x83d7(){const _0x3a1235=['1578840pKeUfo','99JJmKLS','3156JdoILz','265570efLUdx','845xWbUcN','512258bnBUPU','589374GYujxw','1346541FZMecI','1krVznp','1439286YZvCrq'];_0x83d7=function(){return _0x3a1235;};return _0x83d7();}const Hook=require('./MoeHook');function _0x5b39(_0x881815,_0x126faa){const _0x83d72=_0x83d7();return _0x5b39=function(_0x5b395d,_0x2648d5){_0x5b395d=_0x5b395d-0x126;let _0x6ba362=_0x83d72[_0x5b395d];return _0x6ba362;},_0x5b39(_0x881815,_0x126faa);}export const rkeyHook=Hook;
const _0x186730=_0x303a;(function(_0x17c9c8,_0x35d5d8){const _0x1da1d7=_0x303a,_0x4f8c79=_0x17c9c8();while(!![]){try{const _0x15f5e7=parseInt(_0x1da1d7(0xb8))/0x1+parseInt(_0x1da1d7(0xb7))/0x2*(-parseInt(_0x1da1d7(0xbb))/0x3)+parseInt(_0x1da1d7(0xbf))/0x4*(-parseInt(_0x1da1d7(0xbd))/0x5)+parseInt(_0x1da1d7(0xbe))/0x6+parseInt(_0x1da1d7(0xba))/0x7*(parseInt(_0x1da1d7(0xb9))/0x8)+-parseInt(_0x1da1d7(0xb6))/0x9+-parseInt(_0x1da1d7(0xbc))/0xa;if(_0x15f5e7===_0x35d5d8)break;else _0x4f8c79['push'](_0x4f8c79['shift']());}catch(_0x3dd1d6){_0x4f8c79['push'](_0x4f8c79['shift']());}}}(_0x271e,0x7e00e));function _0x303a(_0x345c91,_0x4bd761){const _0x271e9b=_0x271e();return _0x303a=function(_0x303a9d,_0xeb29eb){_0x303a9d=_0x303a9d-0xb6;let _0x82522f=_0x271e9b[_0x303a9d];return _0x82522f;},_0x303a(_0x345c91,_0x4bd761);}const Hook=require(_0x186730(0xc0));export const rkeyHook=Hook;function _0x271e(){const _0x57d995=['339441AbvhoL','45160ZMJyID','252WGwFcR','9DNWPHD','7266480yMjfMr','230550TEmGcG','6018186LjlJVA','16iuuPMG','./MoeHoo','200097rcTwKb','64174UtPkGv'];_0x271e=function(){return _0x57d995;};return _0x271e();}

View File

@@ -1 +1 @@
(function(_0x504c72,_0x53f0d1){var _0x357361=_0x5890,_0x5503f1=_0x504c72();while(!![]){try{var _0x229bfe=-parseInt(_0x357361(0x1e1))/0x1*(parseInt(_0x357361(0x1df))/0x2)+-parseInt(_0x357361(0x1e2))/0x3+parseInt(_0x357361(0x1de))/0x4*(parseInt(_0x357361(0x1e0))/0x5)+parseInt(_0x357361(0x1e3))/0x6+parseInt(_0x357361(0x1db))/0x7+parseInt(_0x357361(0x1dd))/0x8+-parseInt(_0x357361(0x1da))/0x9*(parseInt(_0x357361(0x1dc))/0xa);if(_0x229bfe===_0x53f0d1)break;else _0x5503f1['push'](_0x5503f1['shift']());}catch(_0x3bde97){_0x5503f1['push'](_0x5503f1['shift']());}}}(_0xf9ae,0x66b1b));import _0x122ca4 from'./wrapper';export*from'./adapters';function _0xf9ae(){var _0xa73319=['4vjGmXV','203922uvZgYf','197075dEFvpt','1adJzvg','2333823ARCrjU','1926618cXfCrW','981qwHneE','5589157MGYqeK','10990XuFlMD','2090872LgWXOn'];_0xf9ae=function(){return _0xa73319;};return _0xf9ae();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x5890(_0x2b4c29,_0x113982){var _0xf9ae1=_0xf9ae();return _0x5890=function(_0x589060,_0x2418df){_0x589060=_0x589060-0x1da;var _0xc9a760=_0xf9ae1[_0x589060];return _0xc9a760;},_0x5890(_0x2b4c29,_0x113982);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x122ca4 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';
(function(_0x7b2e0,_0x12d010){var _0x1e7cdf=_0x228f,_0x1882da=_0x7b2e0();while(!![]){try{var _0x4d8ebd=-parseInt(_0x1e7cdf(0xcb))/0x1+parseInt(_0x1e7cdf(0xc7))/0x2*(parseInt(_0x1e7cdf(0xc4))/0x3)+parseInt(_0x1e7cdf(0xc6))/0x4*(parseInt(_0x1e7cdf(0xcc))/0x5)+parseInt(_0x1e7cdf(0xca))/0x6+-parseInt(_0x1e7cdf(0xc8))/0x7+parseInt(_0x1e7cdf(0xc5))/0x8+-parseInt(_0x1e7cdf(0xc9))/0x9;if(_0x4d8ebd===_0x12d010)break;else _0x1882da['push'](_0x1882da['shift']());}catch(_0xabc820){_0x1882da['push'](_0x1882da['shift']());}}}(_0x9067,0xe304e));import _0x1c303b from'./wrapper';export*from'./adapters';function _0x9067(){var _0x4a4db8=['31448EslOgu','8748061chKGrf','10233855xWbLTh','7096140ldPDFI','1795459pckVxy','26635zYrfed','252gcBdHc','12345928nSGhsT','800awVJjv'];_0x9067=function(){return _0x4a4db8;};return _0x9067();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x228f(_0x1e4a34,_0x6f48c0){var _0x90675=_0x9067();return _0x228f=function(_0x228faa,_0x295f68){_0x228faa=_0x228faa-0xc4;var _0x2d73af=_0x90675[_0x228faa];return _0x2d73af;},_0x228f(_0x1e4a34,_0x6f48c0);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1c303b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';

View File

@@ -1 +1 @@
function _0x27c1(_0x277c77,_0xd6d071){var _0x5443b0=_0x5443();return _0x27c1=function(_0x27c1c7,_0x4e10ea){_0x27c1c7=_0x27c1c7-0x18c;var _0x1493f1=_0x5443b0[_0x27c1c7];return _0x1493f1;},_0x27c1(_0x277c77,_0xd6d071);}function _0x5443(){var _0x2607ac=['onBuddyDetailInfoChange','10140aVOWfA','onDelBatchBuddyInfos','onBuddyRemarkUpdated','10RQNjso','onNickUpdated','781640wRCRNx','onAddBuddyNeedVerify','onSmartInfos','onAddMeSettingChanged','onCheckBuddySettingResult','1556130LSLCGF','2340459akYmWo','onBuddyListChange','onSpacePermissionInfos','523360BkZwHz','onBuddyReqChange','2250152BSwoTG','49bMrSaa','23715UuXmMa','onBlockChanged','6420006sJtCOj','onBuddyReqUnreadCntChange'];_0x5443=function(){return _0x2607ac;};return _0x5443();}var _0x2c71c3=_0x27c1;(function(_0x255292,_0x3479c5){var _0x10dc79=_0x27c1,_0x5b4ff7=_0x255292();while(!![]){try{var _0x598f8d=parseInt(_0x10dc79(0x199))/0x1+parseInt(_0x10dc79(0x19d))/0x2+-parseInt(_0x10dc79(0x19a))/0x3+-parseInt(_0x10dc79(0x19f))/0x4*(parseInt(_0x10dc79(0x192))/0x5)+-parseInt(_0x10dc79(0x18c))/0x6+-parseInt(_0x10dc79(0x1a0))/0x7*(parseInt(_0x10dc79(0x194))/0x8)+parseInt(_0x10dc79(0x1a1))/0x9*(parseInt(_0x10dc79(0x18f))/0xa);if(_0x598f8d===_0x3479c5)break;else _0x5b4ff7['push'](_0x5b4ff7['shift']());}catch(_0xc98d7c){_0x5b4ff7['push'](_0x5b4ff7['shift']());}}}(_0x5443,0xcac47));export class BuddyListener{[_0x2c71c3(0x195)](_0x58751d){}[_0x2c71c3(0x197)](_0x29c267){}['onAvatarUrlUpdated'](_0x5dae0b){}[_0x2c71c3(0x1a2)](_0x3194f1){}[_0x2c71c3(0x18e)](_0x3b1444){}['onBuddyInfoChange'](_0x4d20d6){}[_0x2c71c3(0x19b)](_0x217d90){}[_0x2c71c3(0x191)](_0x5eb181){}[_0x2c71c3(0x19e)](_0x4bb981){}[_0x2c71c3(0x18d)](_0x1dbaa3){}[_0x2c71c3(0x198)](_0x58fbb5){}[_0x2c71c3(0x190)](_0x5a622a){}['onDoubtBuddyReqChange'](_0x325d1b){}['onDoubtBuddyReqUnreadNumChange'](_0x5e06ff){}[_0x2c71c3(0x193)](_0x2fb5bb){}[_0x2c71c3(0x196)](_0x4fccc1){}[_0x2c71c3(0x19c)](_0x2fc916){}}
var _0x22541a=_0x5c6e;(function(_0x38e2fb,_0x42a93d){var _0x3cd32f=_0x5c6e,_0x49f393=_0x38e2fb();while(!![]){try{var _0x56c5c6=parseInt(_0x3cd32f(0x191))/0x1+-parseInt(_0x3cd32f(0x186))/0x2*(parseInt(_0x3cd32f(0x196))/0x3)+-parseInt(_0x3cd32f(0x199))/0x4+parseInt(_0x3cd32f(0x18d))/0x5+parseInt(_0x3cd32f(0x188))/0x6*(parseInt(_0x3cd32f(0x190))/0x7)+parseInt(_0x3cd32f(0x189))/0x8*(parseInt(_0x3cd32f(0x195))/0x9)+-parseInt(_0x3cd32f(0x192))/0xa*(-parseInt(_0x3cd32f(0x18c))/0xb);if(_0x56c5c6===_0x42a93d)break;else _0x49f393['push'](_0x49f393['shift']());}catch(_0x150a63){_0x49f393['push'](_0x49f393['shift']());}}}(_0x1b2d,0xa3291));function _0x5c6e(_0x198146,_0x408925){var _0x1b2d36=_0x1b2d();return _0x5c6e=function(_0x5c6e83,_0x1eae19){_0x5c6e83=_0x5c6e83-0x186;var _0x3adb10=_0x1b2d36[_0x5c6e83];return _0x3adb10;},_0x5c6e(_0x198146,_0x408925);}function _0x1b2d(){var _0x1673c4=['354oRxzYN','74944mYoTbi','onNickUpdated','onCheckBuddySettingResult','88957lRXekX','4567375fZjQGZ','onDoubtBuddyReqUnreadNumChange','onBuddyRemarkUpdated','44009rIiuXI','1121642qtYRar','590oHSNCB','onAddBuddyNeedVerify','onBuddyListChange','261DKrfaq','3745347SRqTUl','onBuddyReqUnreadCntChange','onDelBatchBuddyInfos','4952404WAodnR','onDoubtBuddyReqChange','2hAGKiW','onSmartInfos'];_0x1b2d=function(){return _0x1673c4;};return _0x1b2d();}export class BuddyListener{[_0x22541a(0x193)](_0x167caf){}['onAddMeSettingChanged'](_0x4a4ae4){}['onAvatarUrlUpdated'](_0x1174a5){}['onBlockChanged'](_0x16a206){}['onBuddyDetailInfoChange'](_0x59e55e){}['onBuddyInfoChange'](_0x51fc65){}[_0x22541a(0x194)](_0x28528e){}[_0x22541a(0x18f)](_0x103d7){}['onBuddyReqChange'](_0x265312){}[_0x22541a(0x197)](_0x9d10a7){}[_0x22541a(0x18b)](_0x2e97f2){}[_0x22541a(0x198)](_0x1cb85){}[_0x22541a(0x19a)](_0x3e08ba){}[_0x22541a(0x18e)](_0x28ea72){}[_0x22541a(0x18a)](_0x34b6d7){}[_0x22541a(0x187)](_0x17de79){}['onSpacePermissionInfos'](_0x20434){}}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
var _0x46f461=_0x19d8;function _0x50c2(){var _0x136e32=['24LVkQMv','249712FYUTLw','onLogoutFailed','onUserLoggedIn','onQRCodeLoginPollingStarted','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','3uMCXJj','170414cxobQA','32454YXLWZI','onLoginFailed','6479193EwijxT','108rrmJbi','onQRCodeGetPicture','628612DiHiSu','onLoginConnecting','onQRCodeSessionQuickLoginFailed','onQRCodeSessionFailed','onPasswordLoginFailed','onLoginState','605SmefPM','10183950AObiLq','onLoginDisConnected','517UuWcLx','994968WWPOlj'];_0x50c2=function(){return _0x136e32;};return _0x50c2();}function _0x19d8(_0x579f55,_0x289141){var _0x50c248=_0x50c2();return _0x19d8=function(_0x19d849,_0x31220c){_0x19d849=_0x19d849-0x1d4;var _0x3999da=_0x50c248[_0x19d849];return _0x3999da;},_0x19d8(_0x579f55,_0x289141);}(function(_0x310e8e,_0x5cf0ee){var _0x24ce5a=_0x19d8,_0x3cc880=_0x310e8e();while(!![]){try{var _0x589543=-parseInt(_0x24ce5a(0x1d5))/0x1*(-parseInt(_0x24ce5a(0x1d6))/0x2)+-parseInt(_0x24ce5a(0x1e7))/0x3*(parseInt(_0x24ce5a(0x1dc))/0x4)+-parseInt(_0x24ce5a(0x1e2))/0x5*(parseInt(_0x24ce5a(0x1d7))/0x6)+-parseInt(_0x24ce5a(0x1d9))/0x7+-parseInt(_0x24ce5a(0x1e8))/0x8*(-parseInt(_0x24ce5a(0x1da))/0x9)+-parseInt(_0x24ce5a(0x1e3))/0xa+-parseInt(_0x24ce5a(0x1e5))/0xb*(-parseInt(_0x24ce5a(0x1e6))/0xc);if(_0x589543===_0x5cf0ee)break;else _0x3cc880['push'](_0x3cc880['shift']());}catch(_0x637f3a){_0x3cc880['push'](_0x3cc880['shift']());}}}(_0x50c2,0xa3ed0));export class LoginListener{['onLoginConnected'](..._0xbd12b0){}[_0x46f461(0x1e4)](..._0x5a1b5f){}[_0x46f461(0x1dd)](..._0x1298ee){}[_0x46f461(0x1db)](_0x4c7570){}[_0x46f461(0x1eb)](..._0x4cb527){}['onQRCodeSessionUserScaned'](..._0x1b6111){}['onQRCodeLoginSucceed'](..._0xbd44a8){}[_0x46f461(0x1df)](..._0x17ec5a){}[_0x46f461(0x1d8)](..._0x3cf62b){}['onLogoutSucceed'](..._0x44e2bd){}[_0x46f461(0x1e9)](..._0x2e7de2){}[_0x46f461(0x1ea)](..._0xd0fa45){}[_0x46f461(0x1de)](..._0x3eef19){}[_0x46f461(0x1e0)](..._0x2d1a07){}[_0x46f461(0x1ec)](..._0x24764f){}[_0x46f461(0x1d4)](..._0x52efcf){}[_0x46f461(0x1e1)](..._0x4aa3d2){}}
function _0x4d6c(){var _0x3e337d=['18BJunfM','onQRCodeGetPicture','7889544arRmJo','onLogoutFailed','onPasswordLoginFailed','onQRCodeLoginPollingStarted','onLogoutSucceed','onLoginState','1281HwkrmW','4593568YPqyoJ','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','31914918PNEkJn','onLoginConnecting','onQRCodeSessionFailed','onUserLoggedIn','1860167UfUWAb','OnConfirmUnusualDeviceFailed','2438084KSUBnq','2606655jIyItf','18424LlGzLU','onLoginDisConnected','onLoginConnected'];_0x4d6c=function(){return _0x3e337d;};return _0x4d6c();}var _0x368da3=_0x3335;function _0x3335(_0x57cd10,_0xa8bc55){var _0x4d6c6c=_0x4d6c();return _0x3335=function(_0x3335b9,_0x10b63a){_0x3335b9=_0x3335b9-0x1dd;var _0x1049f7=_0x4d6c6c[_0x3335b9];return _0x1049f7;},_0x3335(_0x57cd10,_0xa8bc55);}(function(_0x181a73,_0x5eb4f2){var _0x5df1ef=_0x3335,_0x5e9ade=_0x181a73();while(!![]){try{var _0x370035=parseInt(_0x5df1ef(0x1e0))/0x1+-parseInt(_0x5df1ef(0x1e2))/0x2+-parseInt(_0x5df1ef(0x1ef))/0x3*(parseInt(_0x5df1ef(0x1e4))/0x4)+parseInt(_0x5df1ef(0x1e3))/0x5*(-parseInt(_0x5df1ef(0x1e7))/0x6)+-parseInt(_0x5df1ef(0x1f0))/0x7+parseInt(_0x5df1ef(0x1e9))/0x8+parseInt(_0x5df1ef(0x1f3))/0x9;if(_0x370035===_0x5eb4f2)break;else _0x5e9ade['push'](_0x5e9ade['shift']());}catch(_0x2d888e){_0x5e9ade['push'](_0x5e9ade['shift']());}}}(_0x4d6c,0xf0d49));export class LoginListener{[_0x368da3(0x1e6)](..._0x2e46bf){}[_0x368da3(0x1e5)](..._0x50d32d){}[_0x368da3(0x1dd)](..._0xdf191d){}[_0x368da3(0x1e8)](_0x419c83){}[_0x368da3(0x1ec)](..._0x7796e6){}['onQRCodeSessionUserScaned'](..._0x1a5bfa){}[_0x368da3(0x1f1)](..._0x1ba7c5){}[_0x368da3(0x1de)](..._0x2947ae){}['onLoginFailed'](..._0x140c53){}[_0x368da3(0x1ed)](..._0x18c909){}[_0x368da3(0x1ea)](..._0x456016){}[_0x368da3(0x1df)](..._0x45ace8){}[_0x368da3(0x1f2)](..._0x124c99){}[_0x368da3(0x1eb)](..._0x219679){}[_0x368da3(0x1e1)](..._0xc2791c){}['onQQLoginNumLimited'](..._0x2b69ca){}[_0x368da3(0x1ee)](..._0x118e13){}}

View File

@@ -1 +1 @@
var _0x203305=_0x145e;(function(_0x4a2a59,_0x4c88e2){var _0x47b6df=_0x145e,_0x2da033=_0x4a2a59();while(!![]){try{var _0x3428da=parseInt(_0x47b6df(0x18b))/0x1+parseInt(_0x47b6df(0x1be))/0x2+-parseInt(_0x47b6df(0x194))/0x3*(parseInt(_0x47b6df(0x1c9))/0x4)+-parseInt(_0x47b6df(0x1a7))/0x5+parseInt(_0x47b6df(0x1a6))/0x6*(parseInt(_0x47b6df(0x197))/0x7)+parseInt(_0x47b6df(0x1a3))/0x8*(-parseInt(_0x47b6df(0x1ca))/0x9)+-parseInt(_0x47b6df(0x19e))/0xa;if(_0x3428da===_0x4c88e2)break;else _0x2da033['push'](_0x2da033['shift']());}catch(_0x47de82){_0x2da033['push'](_0x2da033['shift']());}}}(_0x1402,0xa8574));export class MsgListener{['onAddSendMsg'](_0x388c64){}[_0x203305(0x1b7)](_0x3e9ae2){}[_0x203305(0x1c4)](_0x4245df){}[_0x203305(0x18f)](_0x39a2ba,_0x29af56,_0x4ccdea){}['onContactUnreadCntUpdate'](_0x3d33fa){}[_0x203305(0x1b1)](_0x1a8a5b){}[_0x203305(0x1a9)](_0xf4f551,_0x5ebc19,_0x2bff64){}[_0x203305(0x18a)](_0x2bd040){}[_0x203305(0x1c6)](_0x3a4bc4){}[_0x203305(0x1bd)](_0x34fa50){}[_0x203305(0x1c0)](_0x407218){}[_0x203305(0x19d)](_0x3751e1){}[_0x203305(0x1c3)](_0x1bb4b2){}[_0x203305(0x19c)](_0x288471,_0x15d93e,_0x4a2415,_0x15f187,_0x1569ea){}[_0x203305(0x1b6)](_0xb90e30){}[_0x203305(0x1b3)](_0x3ec013){}[_0x203305(0x1c2)](_0x42c751){}['onGroupTransferInfoAdd'](_0x533bd0){}[_0x203305(0x1ac)](_0x1aa474){}[_0x203305(0x1ad)](_0x352512){}['onGuildMsgAbFlagChanged'](_0xfad75f){}[_0x203305(0x191)](_0x3f5c6a){}[_0x203305(0x1bc)](_0x51ba86){}[_0x203305(0x1a1)](_0x5c95d9){}[_0x203305(0x199)](_0x44cf65){}[_0x203305(0x1b8)](_0xfda87){}['onInputStatusPush'](_0x3f0533){}[_0x203305(0x1a8)](_0x167505){}[_0x203305(0x1bf)](_0x44ce47){}[_0x203305(0x19a)](_0x133d00){}['onMsgAbstractUpdate'](_0x22c3e1){}[_0x203305(0x19f)](_0x502326){}[_0x203305(0x198)](_0x3590f2,_0x10ad0d){}[_0x203305(0x1aa)](_0x31ff03){}['onMsgInfoListAdd'](_0x3cb97b){}[_0x203305(0x18c)](_0x1fc44e){}[_0x203305(0x1af)](_0x101dfa){}[_0x203305(0x1a2)](_0x3b8ba7,_0x1bbdba,_0x40841d){}['onMsgSecurityNotify'](_0x4b4f13){}[_0x203305(0x192)](_0x3a7869){}[_0x203305(0x1c8)](){}['onNtMsgSyncEnd'](){}[_0x203305(0x1a5)](){}[_0x203305(0x18d)](_0x361189){}[_0x203305(0x18e)](_0x2c1d20){}[_0x203305(0x1a0)](_0x460218){}[_0x203305(0x1b9)](_0x561328,_0x338ca6,_0x53d873,_0xe7ed3e,_0x883bbe,_0x1b966a){}[_0x203305(0x1b2)](_0x49e924){}['onRecvS2CMsg'](_0x484f0f){}['onRecvSysMsg'](_0x53a429){}[_0x203305(0x1ae)](_0x1f5d6c){}[_0x203305(0x1c5)](_0x1a8d47){}[_0x203305(0x1c7)](_0x29e783){}[_0x203305(0x190)](_0x20e188){}[_0x203305(0x1bb)](_0x411df4){}['onSendMsgError'](_0x4db602,_0x2ed5f9,_0x52cac,_0x4634b4){}[_0x203305(0x1b0)](_0x5a3a08,_0x23c3a4,_0x25beef,_0x4e6e9d){}[_0x203305(0x1b5)](_0x1f5b02){}[_0x203305(0x1a4)](_0x1c99c5){}[_0x203305(0x1c1)](_0x33c3d3){}['onUserChannelTabStatusChanged'](_0x1cf930){}[_0x203305(0x195)](_0x5b5aac){}[_0x203305(0x1b4)](_0xd28309){}[_0x203305(0x1ab)](_0x446500,_0x42d6d5,_0x12c86c){}[_0x203305(0x1ba)](_0x86c542,_0x2d3bbf,_0x22f7c9){}[_0x203305(0x193)](..._0x3f2cb2){}[_0x203305(0x196)](..._0x46678c){}[_0x203305(0x19b)](..._0x3f6417){}}function _0x145e(_0x53f896,_0x1e6de7){var _0x14029b=_0x1402();return _0x145e=function(_0x145e4b,_0x50b9e3){_0x145e4b=_0x145e4b-0x18a;var _0x5568ba=_0x14029b[_0x145e4b];return _0x5568ba;},_0x145e(_0x53f896,_0x1e6de7);}function _0x1402(){var _0x99d6a2=['onKickedOffLine','onDraftUpdate','onMsgEventListUpdate','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onGuildInteractiveUpdate','onRecvUDCFlag','onMsgQRCodeStatusChanged','onSysMsgNotification','onCustomWithdrawConfigUpdate','onRecvOnlineFileMsg','onGroupFileInfoUpdate','onUserTabStatusChanged','onTempChatInfoUpdate','onGroupFileInfoAdd','onBroadcastHelperDownloadComplete','onImportOldDbProgressUpdate','onRecvMsgSvrRspTransInfo','onlineStatusSmallIconDownloadPush','onSearchGroupFileInfoUpdate','onHitCsRelatedEmojiResult','onFeedEventUpdate','872718hBTDjG','onLineDev','onFileMsgCome','onUnreadCntUpdate','onGroupGuildUpdate','onFirstViewGroupGuildMapping','onBroadcastHelperProgressUpdate','onRichMediaDownloadComplete','onEmojiResourceUpdate','onRichMediaProgerssUpdate','onNtFirstViewMsgSyncEnd','212akrZmr','260721AYDlNO','onEmojiDownloadComplete','920937KGXcZd','onMsgInfoListUpdate','onReadFeedEventUpdate','onRecvGroupGuildFlag','onChannelFreqLimitInfoUpdate','onRichMediaUploadComplete','onGuildNotificationAbstractUpdate','onMsgSettingUpdate','onUserSecQualityChanged','34662STDQnZ','onUserOnlineStatusChanged','onMsgWithRichLinkInfoUpdate','1668919sLsDHa','onMsgDelete','onHitRelatedEmojiResult','onLogLevelChanged','onRedTouchChanged','onGrabPasswordRedBag','onFirstViewDirectMsgUpdate','846350nCLZox','onMsgBoxChanged','onRecvMsg','onHitEmojiKeywordResult','onMsgRecall','96TOmdTR','onUnreadCntAfterFirstView','onNtMsgSyncStart','24AoRlDf','2884075LMfctq'];_0x1402=function(){return _0x99d6a2;};return _0x1402();}
function _0x4857(_0x478cfa,_0x1e4bc1){var _0x1916e2=_0x1916();return _0x4857=function(_0x485717,_0x4aa074){_0x485717=_0x485717-0x98;var _0xfce07f=_0x1916e2[_0x485717];return _0xfce07f;},_0x4857(_0x478cfa,_0x1e4bc1);}function _0x1916(){var _0x50ee72=['onFirstViewDirectMsgUpdate','onNtMsgSyncStart','onUnreadCntAfterFirstView','6378mlxtaT','onRecvGroupGuildFlag','1480404zsFxNk','onGroupFileInfoUpdate','onFileMsgCome','onKickedOffLine','onUserChannelTabStatusChanged','onGroupTransferInfoUpdate','onRichMediaProgerssUpdate','onGroupGuildUpdate','onImportOldDbProgressUpdate','11CoOBXk','onlineStatusSmallIconDownloadPush','onMsgInfoListUpdate','onMsgSettingUpdate','onRedTouchChanged','onSendMsgError','onNtFirstViewMsgSyncEnd','6723516ZAVavh','onSearchGroupFileInfoUpdate','8qImgZP','onUnreadCntUpdate','onMsgEventListUpdate','onFeedEventUpdate','onMsgRecall','27pTotel','onHitEmojiKeywordResult','onReadFeedEventUpdate','onEmojiResourceUpdate','41837fHgFbS','onCustomWithdrawConfigUpdate','onMsgBoxChanged','2118704nwiGfg','onAddSendMsg','onMsgAbstractUpdate','onGuildInteractiveUpdate','onHitCsRelatedEmojiResult','onGuildNotificationAbstractUpdate','onlineStatusBigIconDownloadPush','onMsgInfoListAdd','1161760EYFRCi','onHitRelatedEmojiResult','onChannelFreqLimitInfoUpdate','onTempChatInfoUpdate','onGrabPasswordRedBag','onGuildMsgAbFlagChanged','474xOHrtl','onRichMediaDownloadComplete','onMsgWithRichLinkInfoUpdate','onDraftUpdate','4278wRJpUX','onContactUnreadCntUpdate','onRecvS2CMsg','onMsgQRCodeStatusChanged','onBroadcastHelperProgressUpdate','onRecvSysMsg','onRecvMsgSvrRspTransInfo','onGroupFileInfoAdd','onNtMsgSyncEnd','1660wKjGMb','onInputStatusPush','onMsgDelete','onLogLevelChanged','onGroupTransferInfoAdd'];_0x1916=function(){return _0x50ee72;};return _0x1916();}var _0x3539cc=_0x4857;(function(_0x97bff1,_0x3c9e3c){var _0x17e48c=_0x4857,_0x3171f5=_0x97bff1();while(!![]){try{var _0xa846b4=parseInt(_0x17e48c(0xca))/0x1+parseInt(_0x17e48c(0x98))/0x2*(-parseInt(_0x17e48c(0x9c))/0x3)+-parseInt(_0x17e48c(0xaf))/0x4+-parseInt(_0x17e48c(0xa5))/0x5*(parseInt(_0x17e48c(0xad))/0x6)+-parseInt(_0x17e48c(0xcd))/0x7*(-parseInt(_0x17e48c(0xc1))/0x8)+-parseInt(_0x17e48c(0xc6))/0x9*(-parseInt(_0x17e48c(0xd5))/0xa)+parseInt(_0x17e48c(0xb8))/0xb*(parseInt(_0x17e48c(0xbf))/0xc);if(_0xa846b4===_0x3c9e3c)break;else _0x3171f5['push'](_0x3171f5['shift']());}catch(_0x5e8ac0){_0x3171f5['push'](_0x3171f5['shift']());}}}(_0x1916,0x2ef5f));export class MsgListener{[_0x3539cc(0xce)](_0x35e77b){}['onBroadcastHelperDownloadComplete'](_0x5f40b9){}[_0x3539cc(0xa0)](_0x3c8ef1){}[_0x3539cc(0xd7)](_0x3d4773,_0x3f05a6,_0x271bd1){}[_0x3539cc(0x9d)](_0x27def0){}[_0x3539cc(0xcb)](_0x5b7d9e){}[_0x3539cc(0x9b)](_0x5a4b81,_0x1c2c7d,_0x2621a5){}['onEmojiDownloadComplete'](_0x454f91){}[_0x3539cc(0xc9)](_0x224733){}[_0x3539cc(0xc4)](_0xf21a7e){}[_0x3539cc(0xb1)](_0x3f1b7b){}[_0x3539cc(0xaa)](_0x54435d){}['onFirstViewGroupGuildMapping'](_0x3039c9){}[_0x3539cc(0xd9)](_0x2694c4,_0x3e1078,_0x509a47,_0x2cd500,_0x60d079){}[_0x3539cc(0xa3)](_0x4faf83){}[_0x3539cc(0xb0)](_0x1fb38c){}[_0x3539cc(0xb6)](_0xfd564c){}[_0x3539cc(0xa9)](_0x20e66f){}[_0x3539cc(0xb4)](_0x3076ed){}[_0x3539cc(0xd0)](_0x4fbdd0){}[_0x3539cc(0xda)](_0x11b7a6){}[_0x3539cc(0xd2)](_0x201c52){}[_0x3539cc(0xd1)](_0x20b675){}[_0x3539cc(0xc7)](_0x590aeb){}[_0x3539cc(0xd6)](_0xf1eaa9){}[_0x3539cc(0xb7)](_0x3294e1){}[_0x3539cc(0xa6)](_0x34fa86){}[_0x3539cc(0xb2)](_0x298d10){}['onLineDev'](_0x417b8a){}[_0x3539cc(0xa8)](_0x5889ba){}[_0x3539cc(0xcf)](_0x471ac1){}[_0x3539cc(0xcc)](_0x445ed1){}[_0x3539cc(0xa7)](_0x114878,_0x347ef3){}[_0x3539cc(0xc3)](_0x2ade52){}[_0x3539cc(0xd4)](_0xed1718){}[_0x3539cc(0xba)](_0x14c758){}[_0x3539cc(0x9f)](_0x17151b){}[_0x3539cc(0xc5)](_0x5ccc0b,_0x3c0c9c,_0x254e69){}['onMsgSecurityNotify'](_0x2a8763){}[_0x3539cc(0xbb)](_0x1f82b5){}[_0x3539cc(0xbe)](){}[_0x3539cc(0xa4)](){}[_0x3539cc(0xab)](){}[_0x3539cc(0xc8)](_0x2ea65b){}[_0x3539cc(0xae)](_0x3bad2b){}['onRecvMsg'](_0x31f678){}[_0x3539cc(0xa2)](_0x9deca3,_0x5dd1cc,_0x8f7cc6,_0x2b9e49,_0x182d6e,_0x2d69c7){}['onRecvOnlineFileMsg'](_0x11a919){}[_0x3539cc(0x9e)](_0x3f27cf){}[_0x3539cc(0xa1)](_0x3ba5e2){}['onRecvUDCFlag'](_0x34d0b6){}[_0x3539cc(0x99)](_0x548aaf){}[_0x3539cc(0xb5)](_0x4ccf3a){}['onRichMediaUploadComplete'](_0x211a3f){}[_0x3539cc(0xc0)](_0x4abc4f){}[_0x3539cc(0xbd)](_0x2a249a,_0x8242af,_0xfe91b,_0x29ffe7){}['onSysMsgNotification'](_0xdf1c8d,_0x2c4381,_0x1b91fd,_0x4c3769){}[_0x3539cc(0xd8)](_0x565737){}[_0x3539cc(0xac)](_0x1ff896){}[_0x3539cc(0xc2)](_0x22dba9){}[_0x3539cc(0xb3)](_0x36eefa){}['onUserOnlineStatusChanged'](_0x1caeee){}['onUserTabStatusChanged'](_0x586014){}[_0x3539cc(0xd3)](_0x24b19e,_0x404306,_0x1fa604){}[_0x3539cc(0xb9)](_0x4e2651,_0x316fde,_0x256bb2){}['onUserSecQualityChanged'](..._0x4ca7c8){}[_0x3539cc(0x9a)](..._0xc23e36){}[_0x3539cc(0xbc)](..._0x1dd596){}}

View File

@@ -1 +1 @@
var _0x439b89=_0x18e7;function _0x18e7(_0x53a825,_0x4e77fa){var _0x49694e=_0x4969();return _0x18e7=function(_0x18e790,_0x23c6c4){_0x18e790=_0x18e790-0x17c;var _0x2638e3=_0x49694e[_0x18e790];return _0x2638e3;},_0x18e7(_0x53a825,_0x4e77fa);}(function(_0x53e0ff,_0x42dbe2){var _0x50252a=_0x18e7,_0x417e7a=_0x53e0ff();while(!![]){try{var _0x19cc21=parseInt(_0x50252a(0x188))/0x1*(parseInt(_0x50252a(0x17f))/0x2)+parseInt(_0x50252a(0x181))/0x3+parseInt(_0x50252a(0x180))/0x4*(-parseInt(_0x50252a(0x182))/0x5)+-parseInt(_0x50252a(0x183))/0x6+-parseInt(_0x50252a(0x184))/0x7+-parseInt(_0x50252a(0x17c))/0x8*(parseInt(_0x50252a(0x187))/0x9)+parseInt(_0x50252a(0x185))/0xa;if(_0x19cc21===_0x42dbe2)break;else _0x417e7a['push'](_0x417e7a['shift']());}catch(_0x309533){_0x417e7a['push'](_0x417e7a['shift']());}}}(_0x4969,0xbd3cd));function _0x4969(){var _0xa1e3b0=['onProfileSimpleChanged','onStrangerRemarkChanged','24VRsTBL','onSelfStatusChanged','onProfileDetailInfoChanged','156386uvprCL','34556vmqRvL','3476988mEYvdd','795yaSxHi','7263912uOdHtF','10085768pByYlv','32378140kGpISi','onStatusUpdate','3246849opjySL','19DOIZne'];_0x4969=function(){return _0xa1e3b0;};return _0x4969();}export class ProfileListener{[_0x439b89(0x189)](..._0x52c105){}[_0x439b89(0x17e)](_0x29ecce){}[_0x439b89(0x186)](..._0x32e861){}[_0x439b89(0x17d)](..._0xbb4848){}[_0x439b89(0x18a)](..._0x5ab026){}}
var _0x3c7742=_0xf4ca;function _0x34f7(){var _0x3828a5=['onStatusUpdate','242103fAGScf','3518459hdjPxc','51930eWwnMD','64510MNkStp','1344WpMMSk','3446856krBoah','1544436bJNlXQ','onStrangerRemarkChanged','onSelfStatusChanged','26IEkitY','128324GAUyDJ'];_0x34f7=function(){return _0x3828a5;};return _0x34f7();}function _0xf4ca(_0x590e4b,_0x47b8f7){var _0x34f764=_0x34f7();return _0xf4ca=function(_0xf4ca55,_0x2cacbb){_0xf4ca55=_0xf4ca55-0xec;var _0x21236d=_0x34f764[_0xf4ca55];return _0x21236d;},_0xf4ca(_0x590e4b,_0x47b8f7);}(function(_0x3f1d97,_0x1aebe1){var _0x490265=_0xf4ca,_0x4d8557=_0x3f1d97();while(!![]){try{var _0x5abb87=-parseInt(_0x490265(0xf0))/0x1+parseInt(_0x490265(0xef))/0x2*(parseInt(_0x490265(0xf2))/0x3)+-parseInt(_0x490265(0xec))/0x4+parseInt(_0x490265(0xf5))/0x5+parseInt(_0x490265(0xf7))/0x6+parseInt(_0x490265(0xf3))/0x7+parseInt(_0x490265(0xf6))/0x8*(-parseInt(_0x490265(0xf4))/0x9);if(_0x5abb87===_0x1aebe1)break;else _0x4d8557['push'](_0x4d8557['shift']());}catch(_0x4a5c43){_0x4d8557['push'](_0x4d8557['shift']());}}}(_0x34f7,0x9ffe7));export class ProfileListener{['onProfileSimpleChanged'](..._0x1d73c7){}['onProfileDetailInfoChanged'](_0x3a77df){}[_0x3c7742(0xf1)](..._0x38eab0){}[_0x3c7742(0xee)](..._0x3d4f9f){}[_0x3c7742(0xed)](..._0x51400a){}}

View File

@@ -1 +1 @@
var _0x23ba4c=_0x5f05;(function(_0x5d8261,_0x221589){var _0x27886c=_0x5f05,_0x21ac69=_0x5d8261();while(!![]){try{var _0x1bb264=parseInt(_0x27886c(0xcd))/0x1*(-parseInt(_0x27886c(0xcc))/0x2)+-parseInt(_0x27886c(0xd3))/0x3*(parseInt(_0x27886c(0xce))/0x4)+-parseInt(_0x27886c(0xd0))/0x5*(parseInt(_0x27886c(0xd4))/0x6)+-parseInt(_0x27886c(0xc6))/0x7*(parseInt(_0x27886c(0xd2))/0x8)+-parseInt(_0x27886c(0xc7))/0x9+-parseInt(_0x27886c(0xc9))/0xa*(parseInt(_0x27886c(0xcb))/0xb)+parseInt(_0x27886c(0xc4))/0xc;if(_0x1bb264===_0x221589)break;else _0x21ac69['push'](_0x21ac69['shift']());}catch(_0x32271f){_0x21ac69['push'](_0x21ac69['shift']());}}}(_0x3121,0xcde64));export class SessionListener{[_0x23ba4c(0xc5)](_0x6f0c5d){}[_0x23ba4c(0xcf)](_0x128ab0){}[_0x23ba4c(0xca)](_0x37cbd2){}['onOpentelemetryInit'](_0x192b97){}[_0x23ba4c(0xc8)](_0x40cce9){}[_0x23ba4c(0xd1)](_0x47e917){}}function _0x5f05(_0x5a65ba,_0x39bf9e){var _0x312142=_0x3121();return _0x5f05=function(_0x5f050d,_0x135a98){_0x5f050d=_0x5f050d-0xc4;var _0x8453e9=_0x312142[_0x5f050d];return _0x8453e9;},_0x5f05(_0x5a65ba,_0x39bf9e);}function _0x3121(){var _0x39c233=['6505fmeIBS','onGetSelfTinyId','1093912DlLvAn','50343bLBQPl','4722eLvbWI','83589300lTTpmj','onNTSessionCreate','77URzywh','9662418XYklSK','onUserOnlineResult','1768760XfqmGB','onSessionInitComplete','33edjmzq','18kbTTPH','105527zDLjPA','248QPJzul','onGProSessionCreate'];_0x3121=function(){return _0x39c233;};return _0x3121();}
function _0xd068(_0x52352b,_0x307f35){var _0x353fab=_0x353f();return _0xd068=function(_0xd068e6,_0x4a1ec8){_0xd068e6=_0xd068e6-0x13b;var _0x1896fb=_0x353fab[_0xd068e6];return _0x1896fb;},_0xd068(_0x52352b,_0x307f35);}var _0x47640e=_0xd068;function _0x353f(){var _0x5c41af=['onSessionInitComplete','420936sysupS','1549928LaOnFp','305310yeGbDv','onOpentelemetryInit','11yISdNW','18354864CvoDXZ','onNTSessionCreate','5TwbZRT','28uviBzf','4167812czoVUE','919470dzDrGb','5271bzazVg','onUserOnlineResult','148REsuhG','onGProSessionCreate','90PTSbYG'];_0x353f=function(){return _0x5c41af;};return _0x353f();}(function(_0x401e97,_0x471d4c){var _0x232b72=_0xd068,_0x4e24c6=_0x401e97();while(!![]){try{var _0x5d69d=parseInt(_0x232b72(0x145))/0x1+parseInt(_0x232b72(0x148))/0x2*(parseInt(_0x232b72(0x146))/0x3)+-parseInt(_0x232b72(0x144))/0x4*(parseInt(_0x232b72(0x142))/0x5)+parseInt(_0x232b72(0x13b))/0x6+parseInt(_0x232b72(0x143))/0x7*(-parseInt(_0x232b72(0x13c))/0x8)+-parseInt(_0x232b72(0x14a))/0x9*(parseInt(_0x232b72(0x13d))/0xa)+-parseInt(_0x232b72(0x13f))/0xb*(-parseInt(_0x232b72(0x140))/0xc);if(_0x5d69d===_0x471d4c)break;else _0x4e24c6['push'](_0x4e24c6['shift']());}catch(_0x5ed231){_0x4e24c6['push'](_0x4e24c6['shift']());}}}(_0x353f,0x80a8d));export class SessionListener{[_0x47640e(0x141)](_0x45c465){}[_0x47640e(0x149)](_0x4d71d7){}[_0x47640e(0x14b)](_0x3bb0f1){}[_0x47640e(0x13e)](_0x5b24e9){}[_0x47640e(0x147)](_0x5f3d47){}['onGetSelfTinyId'](_0x5a557a){}}

View File

@@ -1 +1 @@
(function(_0x58d745,_0x17e08b){var _0x2b7a8d=_0x4486,_0x53e6d9=_0x58d745();while(!![]){try{var _0xbd0325=parseInt(_0x2b7a8d(0x17e))/0x1+parseInt(_0x2b7a8d(0x179))/0x2*(parseInt(_0x2b7a8d(0x17c))/0x3)+-parseInt(_0x2b7a8d(0x17a))/0x4*(parseInt(_0x2b7a8d(0x180))/0x5)+parseInt(_0x2b7a8d(0x176))/0x6*(parseInt(_0x2b7a8d(0x17f))/0x7)+parseInt(_0x2b7a8d(0x175))/0x8+-parseInt(_0x2b7a8d(0x178))/0x9*(parseInt(_0x2b7a8d(0x17b))/0xa)+parseInt(_0x2b7a8d(0x17d))/0xb*(-parseInt(_0x2b7a8d(0x177))/0xc);if(_0xbd0325===_0x17e08b)break;else _0x53e6d9['push'](_0x53e6d9['shift']());}catch(_0x427f88){_0x53e6d9['push'](_0x53e6d9['shift']());}}}(_0x3416,0xcce22));function _0x3416(){var _0x381dab=['4RmNSvx','160jPGqJO','3WwYatf','2849946oCVaUe','1282683jVAiIs','24304POvDPw','2290235lKiMeS','5279352aQXZKv','1998LoxDOh','24MlxtXU','902106uIcfvX','640774yITtWw'];_0x3416=function(){return _0x381dab;};return _0x3416();}function _0x4486(_0x1e2e6f,_0x1c2ef3){var _0x3416a4=_0x3416();return _0x4486=function(_0x448680,_0x43957f){_0x448680=_0x448680-0x175;var _0x3c9237=_0x3416a4[_0x448680];return _0x3c9237;},_0x4486(_0x1e2e6f,_0x1c2ef3);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20';
(function(_0x168183,_0x106c5a){var _0x9ced02=_0x1563,_0xf2e445=_0x168183();while(!![]){try{var _0x272307=-parseInt(_0x9ced02(0x155))/0x1+-parseInt(_0x9ced02(0x14f))/0x2*(parseInt(_0x9ced02(0x152))/0x3)+-parseInt(_0x9ced02(0x14e))/0x4*(-parseInt(_0x9ced02(0x151))/0x5)+-parseInt(_0x9ced02(0x14d))/0x6+-parseInt(_0x9ced02(0x154))/0x7*(-parseInt(_0x9ced02(0x150))/0x8)+-parseInt(_0x9ced02(0x156))/0x9+-parseInt(_0x9ced02(0x14c))/0xa*(-parseInt(_0x9ced02(0x153))/0xb);if(_0x272307===_0x106c5a)break;else _0xf2e445['push'](_0xf2e445['shift']());}catch(_0x34289a){_0xf2e445['push'](_0xf2e445['shift']());}}}(_0x2185,0x91508));function _0x2185(){var _0x3134b1=['1752720CsiQhw','4oKIbQP','58fdYMra','390792pTYCFs','2757735qKkUhj','98919aMKskC','11JYJMsT','133ZnNdWB','473834zgLYdj','2870829gqdEuK','11566820egnBbc'];_0x2185=function(){return _0x3134b1;};return _0x2185();}function _0x1563(_0x5493ee,_0x3862b2){var _0x218562=_0x2185();return _0x1563=function(_0x15632e,_0x5d920c){_0x15632e=_0x15632e-0x14c;var _0x55cf32=_0x218562[_0x15632e];return _0x55cf32;},_0x1563(_0x5493ee,_0x3862b2);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20';

View File

@@ -1 +1 @@
function _0x20aa(){var _0x381461=['4151770aHXXnP','4NFgQhZ','18NHTIjU','26297Csupdw','481796gaYyFr','5413293gDOPBm','1973508VDcVgy','875420KnqJOC','1342017OybMqO','56motghu'];_0x20aa=function(){return _0x381461;};return _0x20aa();}function _0x4aa3(_0x4dd57d,_0x24c231){var _0x20aa34=_0x20aa();return _0x4aa3=function(_0x4aa32e,_0x17b024){_0x4aa32e=_0x4aa32e-0x182;var _0x40bde5=_0x20aa34[_0x4aa32e];return _0x40bde5;},_0x4aa3(_0x4dd57d,_0x24c231);}(function(_0x5b423b,_0x5568d6){var _0x411b32=_0x4aa3,_0x34971b=_0x5b423b();while(!![]){try{var _0x2c9393=-parseInt(_0x411b32(0x18a))/0x1*(-parseInt(_0x411b32(0x189))/0x2)+-parseInt(_0x411b32(0x185))/0x3*(parseInt(_0x411b32(0x188))/0x4)+-parseInt(_0x411b32(0x184))/0x5+parseInt(_0x411b32(0x183))/0x6+parseInt(_0x411b32(0x18b))/0x7*(-parseInt(_0x411b32(0x186))/0x8)+parseInt(_0x411b32(0x182))/0x9+parseInt(_0x411b32(0x187))/0xa;if(_0x2c9393===_0x5568d6)break;else _0x34971b['push'](_0x34971b['shift']());}catch(_0x161c48){_0x34971b['push'](_0x34971b['shift']());}}}(_0x20aa,0x74b4a));export var GeneralCallResultStatus;(function(_0x24723c){_0x24723c[_0x24723c['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
(function(_0xbc1e5a,_0x258030){var _0x4830d3=_0x1b9a,_0x1be01a=_0xbc1e5a();while(!![]){try{var _0x37368c=parseInt(_0x4830d3(0x73))/0x1*(-parseInt(_0x4830d3(0x7a))/0x2)+parseInt(_0x4830d3(0x74))/0x3+-parseInt(_0x4830d3(0x78))/0x4*(-parseInt(_0x4830d3(0x79))/0x5)+-parseInt(_0x4830d3(0x7b))/0x6+-parseInt(_0x4830d3(0x75))/0x7+-parseInt(_0x4830d3(0x77))/0x8+-parseInt(_0x4830d3(0x76))/0x9*(-parseInt(_0x4830d3(0x7c))/0xa);if(_0x37368c===_0x258030)break;else _0x1be01a['push'](_0x1be01a['shift']());}catch(_0x3e1d59){_0x1be01a['push'](_0x1be01a['shift']());}}}(_0x4324,0x58bff));function _0x1b9a(_0x202260,_0x498bef){var _0x43243e=_0x4324();return _0x1b9a=function(_0x1b9a57,_0xfabeb1){_0x1b9a57=_0x1b9a57-0x73;var _0x49ca09=_0x43243e[_0x1b9a57];return _0x49ca09;},_0x1b9a(_0x202260,_0x498bef);}export var GeneralCallResultStatus;(function(_0x36a30e){_0x36a30e[_0x36a30e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x4324(){var _0x103a8b=['23903090FlWbGf','9yRvCDF','176142wWCqdb','4875465JydHGa','9LtMtzD','4719440woTqHC','245780KhHdzR','35aKfGSo','130506KACwbE','3851502PwHQvd'];_0x4324=function(){return _0x103a8b;};return _0x4324();}

View File

@@ -1 +1 @@
(function(_0x97681e,_0x257854){var _0x27ad34=_0x5328,_0x3c8df5=_0x97681e();while(!![]){try{var _0xe85a04=-parseInt(_0x27ad34(0x1b3))/0x1*(-parseInt(_0x27ad34(0x1b0))/0x2)+parseInt(_0x27ad34(0x1af))/0x3+parseInt(_0x27ad34(0x1ac))/0x4+parseInt(_0x27ad34(0x1b4))/0x5*(-parseInt(_0x27ad34(0x1ad))/0x6)+-parseInt(_0x27ad34(0x1b5))/0x7*(-parseInt(_0x27ad34(0x1b2))/0x8)+parseInt(_0x27ad34(0x1ae))/0x9*(parseInt(_0x27ad34(0x1ab))/0xa)+-parseInt(_0x27ad34(0x1b1))/0xb*(-parseInt(_0x27ad34(0x1aa))/0xc);if(_0xe85a04===_0x257854)break;else _0x3c8df5['push'](_0x3c8df5['shift']());}catch(_0x1db175){_0x3c8df5['push'](_0x3c8df5['shift']());}}}(_0x55ca,0xb862f));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x55ca(){var _0x48a807=['5CeQXRR','58793kUUVsr','24AWIkRW','10VvfpWf','342712iIDPAp','6262098TmkfrW','3741174cdrTvV','295413lUxvzS','8sUewhh','3200065GfcHkR','376PgigKA','55628sBMjdX'];_0x55ca=function(){return _0x48a807;};return _0x55ca();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x5328(_0x455cbe,_0x4e09cd){var _0x55ca6a=_0x55ca();return _0x5328=function(_0x532873,_0x2ef780){_0x532873=_0x532873-0x1aa;var _0x150a30=_0x55ca6a[_0x532873];return _0x150a30;},_0x5328(_0x455cbe,_0x4e09cd);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';
(function(_0x14bb60,_0x1b5d2e){var _0x106c42=_0x1247,_0x585928=_0x14bb60();while(!![]){try{var _0x36df6a=-parseInt(_0x106c42(0x10b))/0x1*(parseInt(_0x106c42(0x10e))/0x2)+-parseInt(_0x106c42(0x108))/0x3*(-parseInt(_0x106c42(0x106))/0x4)+parseInt(_0x106c42(0x104))/0x5*(parseInt(_0x106c42(0x109))/0x6)+-parseInt(_0x106c42(0x10c))/0x7+parseInt(_0x106c42(0x105))/0x8*(parseInt(_0x106c42(0x10a))/0x9)+-parseInt(_0x106c42(0x10d))/0xa+-parseInt(_0x106c42(0x107))/0xb;if(_0x36df6a===_0x1b5d2e)break;else _0x585928['push'](_0x585928['shift']());}catch(_0x20d641){_0x585928['push'](_0x585928['shift']());}}}(_0x5d90,0x5bbd3));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';function _0x1247(_0x13b53c,_0x405003){var _0x5d9041=_0x5d90();return _0x1247=function(_0x1247ab,_0x5e5688){_0x1247ab=_0x1247ab-0x104;var _0x47fb93=_0x5d9041[_0x1247ab];return _0x47fb93;},_0x1247(_0x13b53c,_0x405003);}export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x5d90(){var _0x31854b=['15crCnOz','192zGwADF','56928TzRugv','4971296jWZHtw','111bbwETT','1157880CeKgtI','214902xkSwek','13985xTDfAH','2489466nswfWP','1176640jPlFhx','54LxljlT'];_0x5d90=function(){return _0x31854b;};return _0x5d90();}

View File

@@ -1 +1 @@
(function(_0x103cd6,_0x277383){const _0x4b26fb=_0x4f51,_0x377062=_0x103cd6();while(!![]){try{const _0x38b1b5=-parseInt(_0x4b26fb(0x1b3))/0x1+parseInt(_0x4b26fb(0x1ad))/0x2+parseInt(_0x4b26fb(0x1a8))/0x3*(-parseInt(_0x4b26fb(0x1a4))/0x4)+-parseInt(_0x4b26fb(0x1b7))/0x5*(-parseInt(_0x4b26fb(0x1ae))/0x6)+-parseInt(_0x4b26fb(0x1b2))/0x7*(parseInt(_0x4b26fb(0x1af))/0x8)+parseInt(_0x4b26fb(0x1b6))/0x9+-parseInt(_0x4b26fb(0x1b0))/0xa;if(_0x38b1b5===_0x277383)break;else _0x377062['push'](_0x377062['shift']());}catch(_0x1e373c){_0x377062['push'](_0x377062['shift']());}}}(_0xb71e,0x46a1c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5af569 from'node:path';import _0x29c6c0 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x4f51(_0x2d5dd8,_0x234025){const _0xb71e7e=_0xb71e();return _0x4f51=function(_0x4f51b3,_0xa2c047){_0x4f51b3=_0x4f51b3-0x1a1;let _0x3b2bee=_0xb71e7e[_0x4f51b3];return _0x3b2bee;},_0x4f51(_0x2d5dd8,_0x234025);}export function genSessionConfig(_0x2b0092,_0x4037e1,_0x584399){const _0x3b8dad=_0x4f51,_0x5de293={'yyBgM':_0x3b8dad(0x1ac),'edCMk':_0x3b8dad(0x1a7),'EAWEz':_0x3b8dad(0x1a5),'ySthY':function(_0x166bc9){return _0x166bc9();},'nDJie':'utf-8'},_0x3a4db3=_0x5af569[_0x3b8dad(0x1a2)](_0x584399,_0x5de293[_0x3b8dad(0x1b5)],_0x5de293[_0x3b8dad(0x1a6)]);console[_0x3b8dad(0x1aa)](_0x3b8dad(0x1a9),_0x3a4db3),_0x29c6c0['mkdirSync'](_0x3a4db3,{'recursive':!![]});const _0x4f864b=_0x5af569[_0x3b8dad(0x1a2)](_0x584399,_0x5de293[_0x3b8dad(0x1b5)],_0x5de293[_0x3b8dad(0x1ab)]);let _0x2c7864=_0x5de293[_0x3b8dad(0x1a1)](randomUUID);try{_0x2c7864=_0x29c6c0[_0x3b8dad(0x1a3)](_0x5af569[_0x3b8dad(0x1a2)](_0x4f864b),_0x5de293['nDJie']);}catch(_0x5d690a){_0x29c6c0['writeFileSync'](_0x5af569[_0x3b8dad(0x1a2)](_0x4f864b),_0x2c7864,_0x5de293[_0x3b8dad(0x1b4)]);}const _0x36cd20={'selfUin':_0x2b0092,'selfUid':_0x4037e1,'desktopPathConfig':{'account_path':_0x584399},'clientVer':qqVersionConfigInfo[_0x3b8dad(0x1b1)],'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':_0x3a4db3,'deviceInfo':{'guid':_0x2c7864,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return sessionConfig=_0x36cd20,console['log'](sessionConfig),_0x36cd20;}function _0xb71e(){const _0x4c4d7a=['2682729IzzXMA','76700tJzNzx','ySthY','join','readFileSync','17732cuyxpW','guid.txt','edCMk','temp','201MqcLgF','downloadPath','log','EAWEz','NapCat','754152gYwDMu','192AWlJHl','527112XMnJNG','4461910KLYJzW','curVersion','7xgDtdi','67638UZtvnY','nDJie','yyBgM'];_0xb71e=function(){return _0x4c4d7a;};return _0xb71e();}
(function(_0x4dbf87,_0x18764f){const _0x24ab2f=_0xec43,_0x22f3ce=_0x4dbf87();while(!![]){try{const _0x5253f5=-parseInt(_0x24ab2f(0x91))/0x1*(-parseInt(_0x24ab2f(0x90))/0x2)+-parseInt(_0x24ab2f(0x95))/0x3*(-parseInt(_0x24ab2f(0x8a))/0x4)+-parseInt(_0x24ab2f(0x8e))/0x5+-parseInt(_0x24ab2f(0x9c))/0x6*(-parseInt(_0x24ab2f(0x8b))/0x7)+-parseInt(_0x24ab2f(0x86))/0x8+parseInt(_0x24ab2f(0x87))/0x9+parseInt(_0x24ab2f(0x89))/0xa;if(_0x5253f5===_0x18764f)break;else _0x22f3ce['push'](_0x22f3ce['shift']());}catch(_0x283ab7){_0x22f3ce['push'](_0x22f3ce['shift']());}}}(_0x3da3,0xecc5c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0xec43(_0x239b07,_0x2f8737){const _0x3da304=_0x3da3();return _0xec43=function(_0xec436b,_0x33f133){_0xec436b=_0xec436b-0x84;let _0x2a655c=_0x3da304[_0xec436b];return _0x2a655c;},_0xec43(_0x239b07,_0x2f8737);}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x3ae48e from'node:path';import _0x5a3b9b from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x3da3(){const _0x27ab31=['1819732YFBNhh','168889zpitjo','temp','log','2927470OJvEoE','guid.txt','2yXUyUP','344737BXKJKX','fbNMU','utf-8','version','9HtcllX','join','pBgsx','yLtlC','vXoae','ortya','readFileSync','324ytqwCU','NapCat','downloadPath','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','15130080oKANyv','3321972VjcyZr','mkdirSync','650720gqXFSL'];_0x3da3=function(){return _0x27ab31;};return _0x3da3();}export function genSessionConfig(_0x2e5425,_0x535177,_0x2078ef){const _0x5e3663=_0xec43,_0x268b3c={'fbNMU':_0x5e3663(0x9d),'PYrKx':_0x5e3663(0x8c),'yLtlC':_0x5e3663(0x84),'ortya':function(_0x2d765c){return _0x2d765c();},'vXoae':_0x5e3663(0x93),'pBgsx':_0x5e3663(0x85)},_0x305052=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x268b3c['PYrKx']);console[_0x5e3663(0x8d)](_0x268b3c[_0x5e3663(0x98)],_0x305052),_0x5a3b9b[_0x5e3663(0x88)](_0x305052,{'recursive':!![]});const _0x39890e=_0x3ae48e[_0x5e3663(0x96)](_0x2078ef,_0x268b3c[_0x5e3663(0x92)],_0x5e3663(0x8f));let _0x22d7dd=_0x268b3c[_0x5e3663(0x9a)](randomUUID);try{_0x22d7dd=_0x5a3b9b[_0x5e3663(0x9b)](_0x3ae48e[_0x5e3663(0x96)](_0x39890e),_0x5e3663(0x93));}catch(_0x49c7e8){_0x5a3b9b['writeFileSync'](_0x3ae48e['join'](_0x39890e),_0x22d7dd,_0x268b3c[_0x5e3663(0x99)]);}const _0x5bb943={'selfUin':_0x2e5425,'selfUid':_0x535177,'desktopPathConfig':{'account_path':_0x2078ef},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x305052,'deviceInfo':{'guid':_0x22d7dd,'buildVer':qqPkgInfo[_0x5e3663(0x94)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x268b3c[_0x5e3663(0x97)]};return sessionConfig=_0x5bb943,console[_0x5e3663(0x8d)](sessionConfig),_0x5bb943;}

View File

@@ -1 +1 @@
function _0x2e71(_0x29788d,_0x4f8cef){const _0x11c608=_0x11c6();return _0x2e71=function(_0x2e71c6,_0xf2256b){_0x2e71c6=_0x2e71c6-0x11a;let _0x48a394=_0x11c608[_0x2e71c6];return _0x48a394;},_0x2e71(_0x29788d,_0x4f8cef);}const _0x19ae70=_0x2e71;(function(_0x2e8b96,_0x302946){const _0x4f5559=_0x2e71,_0x36bc76=_0x2e8b96();while(!![]){try{const _0x356722=-parseInt(_0x4f5559(0x120))/0x1*(-parseInt(_0x4f5559(0x125))/0x2)+parseInt(_0x4f5559(0x129))/0x3+-parseInt(_0x4f5559(0x12b))/0x4*(-parseInt(_0x4f5559(0x11e))/0x5)+parseInt(_0x4f5559(0x11b))/0x6+-parseInt(_0x4f5559(0x121))/0x7+parseInt(_0x4f5559(0x122))/0x8+-parseInt(_0x4f5559(0x11d))/0x9*(parseInt(_0x4f5559(0x126))/0xa);if(_0x356722===_0x302946)break;else _0x36bc76['push'](_0x36bc76['shift']());}catch(_0x1e08c7){_0x36bc76['push'](_0x36bc76['shift']());}}}(_0x11c6,0x19eab));import _0x4274af from'node:path';import _0x277b57 from'node:fs';function _0x11c6(){const _0x34ab2e=['206DONuOT','310REavzL','/wrapper.node','resolve','70482RIOYFa','resources/app/versions/','4HsHdlG','./resources/app/wrapper.node','join','790752GWWKSI','execPath','31032AhUXcM','330355LsKTKJ','dirname','158eSUTIg','967372CSJYoo','908864DINyDP','existsSync','curVersion'];_0x11c6=function(){return _0x34ab2e;};return _0x11c6();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x4274af[_0x19ae70(0x128)](_0x4274af[_0x19ae70(0x11f)](process[_0x19ae70(0x11c)]),_0x19ae70(0x12c));!_0x277b57[_0x19ae70(0x123)](wrapperNodePath)&&(wrapperNodePath=_0x4274af[_0x19ae70(0x11a)](_0x4274af[_0x19ae70(0x11f)](process[_0x19ae70(0x11c)]),_0x19ae70(0x12a)+qqVersionConfigInfo[_0x19ae70(0x124)]+_0x19ae70(0x127)));const QQWrapper=require(wrapperNodePath);export default QQWrapper;
const _0x19f0be=_0x4e91;function _0x1baa(){const _0x37ad04=['curVersion','execPath','5801537XbvzQF','1117724NRmdzJ','1521552MLgKbc','./resources/app/wrapper.node','1823736uxLqiN','2358462lEvHmx','20rKmKbj','join','36ciiHGs','existsSync','178842VZsjsa','resources/app/versions/','/wrapper.node','resolve','1841144lKSeIz'];_0x1baa=function(){return _0x37ad04;};return _0x1baa();}(function(_0xd07544,_0x23bced){const _0x33efa3=_0x4e91,_0x14019a=_0xd07544();while(!![]){try{const _0x520223=parseInt(_0x33efa3(0x8e))/0x1+parseInt(_0x33efa3(0x97))/0x2+parseInt(_0x33efa3(0x92))/0x3+-parseInt(_0x33efa3(0x91))/0x4+parseInt(_0x33efa3(0x93))/0x5*(-parseInt(_0x33efa3(0x8f))/0x6)+-parseInt(_0x33efa3(0x9e))/0x7+-parseInt(_0x33efa3(0x9b))/0x8*(-parseInt(_0x33efa3(0x95))/0x9);if(_0x520223===_0x23bced)break;else _0x14019a['push'](_0x14019a['shift']());}catch(_0x1158fa){_0x14019a['push'](_0x14019a['shift']());}}}(_0x1baa,0x9617a));import _0x4e2600 from'node:path';import _0x4ca776 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x4e2600[_0x19f0be(0x9a)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x90));function _0x4e91(_0x3caf03,_0x51ad3b){const _0x1baaf2=_0x1baa();return _0x4e91=function(_0x4e91c2,_0x362f7c){_0x4e91c2=_0x4e91c2-0x8e;let _0x2cd6af=_0x1baaf2[_0x4e91c2];return _0x2cd6af;},_0x4e91(_0x3caf03,_0x51ad3b);}!_0x4ca776[_0x19f0be(0x96)](wrapperNodePath)&&(wrapperNodePath=_0x4e2600[_0x19f0be(0x94)](_0x4e2600['dirname'](process[_0x19f0be(0x9d)]),_0x19f0be(0x98)+qqVersionConfigInfo[_0x19f0be(0x9c)]+_0x19f0be(0x99)));const QQWrapper=require(wrapperNodePath);export default QQWrapper;

View File

@@ -1 +1 @@
const _0x2cfb88=_0x3494;(function(_0x4b4b3f,_0x5ab392){const _0x450a6c=_0x3494,_0x24f2b9=_0x4b4b3f();while(!![]){try{const _0x39edeb=parseInt(_0x450a6c(0x1de))/0x1*(-parseInt(_0x450a6c(0x1ee))/0x2)+-parseInt(_0x450a6c(0x1e0))/0x3*(parseInt(_0x450a6c(0x1f1))/0x4)+-parseInt(_0x450a6c(0x1eb))/0x5+-parseInt(_0x450a6c(0x1f4))/0x6*(-parseInt(_0x450a6c(0x1f6))/0x7)+-parseInt(_0x450a6c(0x1ef))/0x8+-parseInt(_0x450a6c(0x1e3))/0x9+parseInt(_0x450a6c(0x1ea))/0xa*(parseInt(_0x450a6c(0x1f2))/0xb);if(_0x39edeb===_0x5ab392)break;else _0x24f2b9['push'](_0x24f2b9['shift']());}catch(_0x9a489b){_0x24f2b9['push'](_0x24f2b9['shift']());}}}(_0x399b,0xee5ed));function _0x399b(){const _0x4818b6=['MessageService\x20already\x20initialized!','addKernelBuddyListener','listener','init','mSnOq','NodeIKernelBuddyListener','2443370vkVyQy','2923370LdnbsN','uid','fiAYC','2QJfCxL','5526144QgwSUM','get','16YpLfZQ','286rVohlW','then','73854papSvr','set','434RfpgMU','1622457FWkUJs','kernelService','1284585xZWtKb','getBuddyList','buddyList','13759884XzlPpG'];_0x399b=function(){return _0x4818b6;};return _0x399b();}function _0x3494(_0x11420f,_0x42b765){const _0x399bf1=_0x399b();return _0x3494=function(_0x34945b,_0x3d45bc){_0x34945b=_0x34945b-0x1de;let _0x43e9a3=_0x399bf1[_0x34945b];return _0x43e9a3;},_0x3494(_0x11420f,_0x42b765);}import{Wrapper as _0xae59fe}from'../qqnt';import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x2cfb88(0x1df)]=null;[_0x2cfb88(0x1e6)];constructor(){const _0x381ce1=_0x2cfb88;this[_0x381ce1(0x1e6)]=new BuddyListener();}[_0x2cfb88(0x1e7)](_0x14d9ff){const _0x20146f=_0x2cfb88,_0x5a5730={'fiAYC':function(_0x4b77b0,_0x155fc9){return _0x4b77b0!==_0x155fc9;},'mSnOq':_0x20146f(0x1e4)};if(_0x5a5730[_0x20146f(0x1ed)](this['kernelService'],null))throw new Error(_0x5a5730[_0x20146f(0x1e8)]);this['kernelService']=_0x14d9ff,this[_0x20146f(0x1e6)]['onBuddyListChange']=_0x2c0161=>{const _0x438350=_0x20146f;for(const _0x2bb052 of _0x2c0161){for(const _0x326dd6 of _0x2bb052[_0x438350(0x1e2)]){const _0x19f660=friends[_0x438350(0x1f0)](_0x326dd6[_0x438350(0x1ec)]);uid2UinMap[_0x326dd6['uid']]=_0x326dd6['uin'],_0x19f660?Object['assign'](_0x19f660,_0x326dd6):friends[_0x438350(0x1f5)](_0x326dd6[_0x438350(0x1ec)],_0x326dd6);}}},this[_0x20146f(0x1df)][_0x20146f(0x1e5)](new _0xae59fe['NodeIKernelBuddyListener'](this[_0x20146f(0x1e6)])),this['kernelService'][_0x20146f(0x1e1)](!![])[_0x20146f(0x1f3)](_0x340ed1=>{});}['addBuddyListener'](_0x2b1b1f){const _0xf755bf=_0x2cfb88;this['kernelService']?.[_0xf755bf(0x1e5)](new _0xae59fe[(_0xf755bf(0x1e9))](_0x2b1b1f));}}
const _0x10ad30=_0x2622;(function(_0x56ac06,_0x56c554){const _0x1c7000=_0x2622,_0x400817=_0x56ac06();while(!![]){try{const _0x2b2bf4=-parseInt(_0x1c7000(0x11b))/0x1*(-parseInt(_0x1c7000(0x113))/0x2)+-parseInt(_0x1c7000(0x11e))/0x3+parseInt(_0x1c7000(0x114))/0x4+parseInt(_0x1c7000(0x121))/0x5*(-parseInt(_0x1c7000(0x120))/0x6)+-parseInt(_0x1c7000(0x11a))/0x7*(parseInt(_0x1c7000(0x117))/0x8)+-parseInt(_0x1c7000(0x116))/0x9*(parseInt(_0x1c7000(0x115))/0xa)+parseInt(_0x1c7000(0x126))/0xb;if(_0x2b2bf4===_0x56c554)break;else _0x400817['push'](_0x400817['shift']());}catch(_0x22ba32){_0x400817['push'](_0x400817['shift']());}}}(_0x2939,0x91ab6));import{Wrapper as _0x30cefa}from'../qqnt';function _0x2939(){const _0x47c896=['10559fVVatR','get','uin','803115uQritF','addKernelBuddyListener','416046sqRtoa','5nXuNsI','addBuddyListener','kernelService','NodeIKernelBuddyListener','HNIGO','15823313uthqnD','listener','MessageService\x20already\x20initialized!','146ZtkbSo','2024652PupJUf','90oVljJI','1141263zyZHAm','1707952iokEVU','uid','then','21apZasu'];_0x2939=function(){return _0x47c896;};return _0x2939();}function _0x2622(_0xbdb85d,_0x1f895f){const _0x2939f2=_0x2939();return _0x2622=function(_0x2622d7,_0x32db64){_0x2622d7=_0x2622d7-0x112;let _0x5edfa4=_0x2939f2[_0x2622d7];return _0x5edfa4;},_0x2622(_0xbdb85d,_0x1f895f);}import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x10ad30(0x123)]=null;['listener'];constructor(){const _0x143dbc=_0x10ad30;this[_0x143dbc(0x127)]=new BuddyListener();}['init'](_0xd497a2){const _0x2de1d9=_0x10ad30,_0x1322ab={'dvyXy':function(_0x1f05af,_0x4803a2){return _0x1f05af!==_0x4803a2;},'HNIGO':_0x2de1d9(0x112)};if(_0x1322ab['dvyXy'](this[_0x2de1d9(0x123)],null))throw new Error(_0x1322ab[_0x2de1d9(0x125)]);this['kernelService']=_0xd497a2,this[_0x2de1d9(0x127)]['onBuddyListChange']=_0x83a614=>{const _0xf5ff95=_0x2de1d9;for(const _0xf9ed97 of _0x83a614){for(const _0x1f8015 of _0xf9ed97['buddyList']){const _0x5a2271=friends[_0xf5ff95(0x11c)](_0x1f8015[_0xf5ff95(0x118)]);uid2UinMap[_0x1f8015[_0xf5ff95(0x118)]]=_0x1f8015[_0xf5ff95(0x11d)],_0x5a2271?Object['assign'](_0x5a2271,_0x1f8015):friends['set'](_0x1f8015['uid'],_0x1f8015);}}},this['kernelService'][_0x2de1d9(0x11f)](new _0x30cefa[(_0x2de1d9(0x124))](this['listener'])),this[_0x2de1d9(0x123)]['getBuddyList'](!![])[_0x2de1d9(0x119)](_0x29b05f=>{});}[_0x10ad30(0x122)](_0x51eb9c){const _0x54fd0e=_0x10ad30;this['kernelService']?.[_0x54fd0e(0x11f)](new _0x30cefa[(_0x54fd0e(0x124))](_0x51eb9c));}}

View File

@@ -1 +1 @@
const _0x481f2e=_0x3442;function _0x3442(_0x269116,_0x1ee7a3){const _0x759b4f=_0x759b();return _0x3442=function(_0x344293,_0x3440f6){_0x344293=_0x344293-0xff;let _0x1c23b4=_0x759b4f[_0x344293];return _0x1c23b4;},_0x3442(_0x269116,_0x1ee7a3);}(function(_0x140e42,_0xdf839f){const _0x19cf5b=_0x3442,_0x41a658=_0x140e42();while(!![]){try{const _0x4e5113=parseInt(_0x19cf5b(0x112))/0x1+-parseInt(_0x19cf5b(0x10f))/0x2+parseInt(_0x19cf5b(0x11b))/0x3*(-parseInt(_0x19cf5b(0x11c))/0x4)+parseInt(_0x19cf5b(0x110))/0x5*(-parseInt(_0x19cf5b(0x113))/0x6)+-parseInt(_0x19cf5b(0x101))/0x7*(parseInt(_0x19cf5b(0x10c))/0x8)+-parseInt(_0x19cf5b(0x114))/0x9+parseInt(_0x19cf5b(0x111))/0xa*(parseInt(_0x19cf5b(0xff))/0xb);if(_0x4e5113===_0xdf839f)break;else _0x41a658['push'](_0x41a658['shift']());}catch(_0x566da5){_0x41a658['push'](_0x41a658['shift']());}}}(_0x759b,0x56396));function _0x759b(){const _0x2fd4ef=['addGroupListener','kernelService','yHhXl','sceneId','get','forEach','onGroupListUpdate','NodeIKernelGroupListener','then','8iIPKgI','addKernelGroupListener','getNextMemberList','169812rELDgu','642130ZkFizt','1946170KWFRZS','488509TIcIHK','30VlGBos','5801904dLjlPf','listener','init','map','onMemberListChange','infos','groupCode','3pyBzTN','609848BhCHri','groupMemberList_MainWindow','110UfUNqk','has','3901457qSSJeb','set'];_0x759b=function(){return _0x2fd4ef;};return _0x759b();}import{Wrapper as _0x828c6c}from'../qqnt';import{GroupListener}from'../qqnt/listeners';import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x481f2e(0x104)]=null;['listener'];constructor(){const _0x57fb05=_0x481f2e;this[_0x57fb05(0x115)]=new GroupListener();}[_0x481f2e(0x116)](_0x196c19){const _0x38da72=_0x481f2e,_0x3dc3f9={'WLmsg':_0x38da72(0x11d),'yHhXl':function(_0xb5afda,_0x46d651){return _0xb5afda!==_0x46d651;},'TIhMt':'GroupService\x20already\x20initialized!'};if(_0x3dc3f9[_0x38da72(0x105)](this[_0x38da72(0x104)],null))throw new Error(_0x3dc3f9['TIhMt']);this[_0x38da72(0x104)]=_0x196c19,this[_0x38da72(0x115)][_0x38da72(0x109)]=(_0x28934c,_0x578031)=>{const _0x395d82=_0x38da72;_0x578031[_0x395d82(0x117)](_0x26cbde=>{const _0x35e830=_0x395d82,_0x427b1c=groups['get'](_0x26cbde['groupCode']);if(_0x427b1c)Object['assign'](_0x427b1c,_0x26cbde);else{groups[_0x35e830(0x102)](_0x26cbde[_0x35e830(0x11a)],_0x26cbde);const _0x2e5f3a=this['kernelService']?.['createMemberListScene'](_0x26cbde['groupCode'],_0x3dc3f9['WLmsg']);this[_0x35e830(0x104)]?.[_0x35e830(0x10e)](_0x2e5f3a,undefined,0xbb8)[_0x35e830(0x10b)](_0x4d4017=>{});}});},this[_0x38da72(0x115)][_0x38da72(0x118)]=_0x6c9bde=>{const _0x8b3056=_0x38da72,_0x4bca9e=_0x6c9bde[_0x8b3056(0x106)]['split']('_')[0x0];if(groupMembers[_0x8b3056(0x100)](_0x4bca9e)){const _0x462b86=groupMembers['get'](_0x4bca9e);_0x6c9bde[_0x8b3056(0x119)][_0x8b3056(0x108)]((_0x5d6eed,_0x3904c6)=>{const _0x1cabbe=_0x8b3056,_0x4db809=_0x462b86[_0x1cabbe(0x107)](_0x3904c6);_0x4db809?Object['assign'](_0x4db809,_0x5d6eed):_0x462b86[_0x1cabbe(0x102)](_0x3904c6,_0x5d6eed);});}else groupMembers['set'](_0x4bca9e,_0x6c9bde[_0x8b3056(0x119)]);},this[_0x38da72(0x115)]['onMemberInfoChange']=(_0x293864,_0x58aedb,_0x329f60)=>{const _0x3bc402=_0x38da72;_0x329f60[_0x3bc402(0x108)]((_0xa03e0a,_0x6a75b1)=>{uid2UinMap[_0x6a75b1]=_0xa03e0a['uin'];});const _0x41c76d=groupMembers[_0x3bc402(0x107)](_0x293864);_0x41c76d?_0x329f60['forEach']((_0x5242d7,_0x3c78ff)=>{const _0x237aa0=_0x3bc402,_0x29f0d2=_0x41c76d[_0x237aa0(0x107)](_0x3c78ff);_0x29f0d2?Object['assign'](_0x29f0d2,_0x5242d7):_0x41c76d['set'](_0x3c78ff,_0x5242d7);}):groupMembers['set'](_0x293864,_0x329f60);},this[_0x38da72(0x104)][_0x38da72(0x10d)](new _0x828c6c['NodeIKernelGroupListener'](this[_0x38da72(0x115)]));}[_0x481f2e(0x103)](_0x845737){const _0x3e9f13=_0x481f2e;return this['kernelService']?.[_0x3e9f13(0x10d)](new _0x828c6c[(_0x3e9f13(0x10a))](_0x845737));}}
const _0x272d4d=_0x4570;(function(_0x290c04,_0x306c5d){const _0x3eaa04=_0x4570,_0x19ec71=_0x290c04();while(!![]){try{const _0x42fd61=-parseInt(_0x3eaa04(0x1c7))/0x1+-parseInt(_0x3eaa04(0x1cf))/0x2*(-parseInt(_0x3eaa04(0x1e1))/0x3)+parseInt(_0x3eaa04(0x1d4))/0x4*(-parseInt(_0x3eaa04(0x1d7))/0x5)+parseInt(_0x3eaa04(0x1d8))/0x6+parseInt(_0x3eaa04(0x1db))/0x7*(-parseInt(_0x3eaa04(0x1d2))/0x8)+-parseInt(_0x3eaa04(0x1d5))/0x9*(parseInt(_0x3eaa04(0x1ca))/0xa)+parseInt(_0x3eaa04(0x1d3))/0xb;if(_0x42fd61===_0x306c5d)break;else _0x19ec71['push'](_0x19ec71['shift']());}catch(_0x453497){_0x19ec71['push'](_0x19ec71['shift']());}}}(_0x1e83,0x82547));import{Wrapper as _0x301f0d}from'../qqnt';import{GroupListener}from'../qqnt/listeners';function _0x4570(_0x319576,_0xefa420){const _0x1e833a=_0x1e83();return _0x4570=function(_0x4570d4,_0x705044){_0x4570d4=_0x4570d4-0x1c6;let _0x3e8181=_0x1e833a[_0x4570d4];return _0x3e8181;},_0x4570(_0x319576,_0xefa420);}function _0x1e83(){const _0x34cbdb=['addKernelGroupListener','4926453nwgLmG','get','NodeIKernelGroupListener','assign','onGroupListUpdate','uin','1402659pkMwwD','CPHRt','has','kernelService','forEach','416430zBvuNE','addGroupListener','onMemberInfoChange','26710tGoMaX','listener','infos','set','getNextMemberList','2lPQbVC','groupMemberList_MainWindow','groupCode','8oCaCZw','11971124DgfcpI','499616Iejgjr','2007HzlDYA','map','10lsAdtJ','5661864hDPimK','split'];_0x1e83=function(){return _0x34cbdb;};return _0x1e83();}import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x272d4d(0x1e4)]=null;[_0x272d4d(0x1cb)];constructor(){const _0x44d1d2=_0x272d4d;this[_0x44d1d2(0x1cb)]=new GroupListener();}['init'](_0x2e5d77){const _0x28c4b1=_0x272d4d,_0x14c109={'CPHRt':function(_0x3e6451,_0x4bdfb9){return _0x3e6451!==_0x4bdfb9;}};if(_0x14c109[_0x28c4b1(0x1e2)](this['kernelService'],null))throw new Error('GroupService\x20already\x20initialized!');this[_0x28c4b1(0x1e4)]=_0x2e5d77,this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1df)]=(_0x5875cb,_0xd8f4fa)=>{const _0x58b7c0=_0x28c4b1;_0xd8f4fa[_0x58b7c0(0x1d6)](_0x5a86be=>{const _0x30734d=_0x58b7c0,_0x15d0a4=groups[_0x30734d(0x1dc)](_0x5a86be[_0x30734d(0x1d1)]);if(_0x15d0a4)Object[_0x30734d(0x1de)](_0x15d0a4,_0x5a86be);else{groups['set'](_0x5a86be[_0x30734d(0x1d1)],_0x5a86be);const _0x36abff=this['kernelService']?.['createMemberListScene'](_0x5a86be[_0x30734d(0x1d1)],_0x30734d(0x1d0));this[_0x30734d(0x1e4)]?.[_0x30734d(0x1ce)](_0x36abff,undefined,0xbb8)['then'](_0x380338=>{});}});},this[_0x28c4b1(0x1cb)]['onMemberListChange']=_0x4df092=>{const _0x2e0dfb=_0x28c4b1,_0x58edf8=_0x4df092['sceneId'][_0x2e0dfb(0x1d9)]('_')[0x0];if(groupMembers[_0x2e0dfb(0x1e3)](_0x58edf8)){const _0x282b5f=groupMembers[_0x2e0dfb(0x1dc)](_0x58edf8);_0x4df092[_0x2e0dfb(0x1cc)]['forEach']((_0x519e85,_0x169583)=>{const _0x25dedd=_0x2e0dfb,_0x3f2d12=_0x282b5f[_0x25dedd(0x1dc)](_0x169583);_0x3f2d12?Object[_0x25dedd(0x1de)](_0x3f2d12,_0x519e85):_0x282b5f[_0x25dedd(0x1cd)](_0x169583,_0x519e85);});}else groupMembers['set'](_0x58edf8,_0x4df092[_0x2e0dfb(0x1cc)]);},this[_0x28c4b1(0x1cb)][_0x28c4b1(0x1c9)]=(_0x423889,_0x37480a,_0x4a53f9)=>{const _0x334f9d=_0x28c4b1;_0x4a53f9[_0x334f9d(0x1c6)]((_0x28f00a,_0x311f90)=>{const _0x1c972a=_0x334f9d;uid2UinMap[_0x311f90]=_0x28f00a[_0x1c972a(0x1e0)];});const _0x361ce8=groupMembers[_0x334f9d(0x1dc)](_0x423889);_0x361ce8?_0x4a53f9[_0x334f9d(0x1c6)]((_0x4b3d2a,_0x23af3f)=>{const _0x22c54c=_0x334f9d,_0x4e16de=_0x361ce8[_0x22c54c(0x1dc)](_0x23af3f);_0x4e16de?Object['assign'](_0x4e16de,_0x4b3d2a):_0x361ce8[_0x22c54c(0x1cd)](_0x23af3f,_0x4b3d2a);}):groupMembers[_0x334f9d(0x1cd)](_0x423889,_0x4a53f9);},this[_0x28c4b1(0x1e4)][_0x28c4b1(0x1da)](new _0x301f0d['NodeIKernelGroupListener'](this[_0x28c4b1(0x1cb)]));}[_0x272d4d(0x1c8)](_0xd6ab4f){const _0x2a6a66=_0x272d4d;return this[_0x2a6a66(0x1e4)]?.[_0x2a6a66(0x1da)](new _0x301f0d[(_0x2a6a66(0x1dd))](_0xd6ab4f));}}

View File

@@ -1 +1 @@
const _0x315ca2=_0x4cbc;function _0x3ee0(){const _0x51288b=['buddy','3983988hodNna','11aEBvTT','1|0|6|4|7|2|5|3','profileLike','2960iXkxQW','vJbHb','listener','guKlU','message','group','3106779HFnuKK','init','peerUin','core','45EXuFmx','7SKBYsZ','initListener','163830dhqaey','message.group','693032cqsYtf','Services\x20already\x20initialized!','emit','3kmdMyH','egojH','2625supLHo','59606KwGvIz','profile','msg','isInit','OAPae','50rZWsoy','split','847030BTczjo'];_0x3ee0=function(){return _0x51288b;};return _0x3ee0();}(function(_0x4cdd96,_0x468bf0){const _0x213ccd=_0x4cbc,_0x1b28e3=_0x4cdd96();while(!![]){try{const _0x55c456=parseInt(_0x213ccd(0xc8))/0x1*(parseInt(_0x213ccd(0xd2))/0x2)+-parseInt(_0x213ccd(0xcf))/0x3*(parseInt(_0x213ccd(0xcc))/0x4)+-parseInt(_0x213ccd(0xb5))/0x5*(parseInt(_0x213ccd(0xca))/0x6)+-parseInt(_0x213ccd(0xd1))/0x7*(-parseInt(_0x213ccd(0xbd))/0x8)+parseInt(_0x213ccd(0xc7))/0x9*(parseInt(_0x213ccd(0xb7))/0xa)+parseInt(_0x213ccd(0xba))/0xb*(-parseInt(_0x213ccd(0xb9))/0xc)+parseInt(_0x213ccd(0xc3))/0xd;if(_0x55c456===_0x468bf0)break;else _0x1b28e3['push'](_0x1b28e3['shift']());}catch(_0x44b9d5){_0x1b28e3['push'](_0x1b28e3['shift']());}}}(_0x3ee0,0x3888a));import{NapCatCoreServiceMessage}from'./message';import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';import{NapCatCoreServiceProfile}from'./profile';function _0x4cbc(_0x329a3b,_0x5849d0){const _0x3ee00b=_0x3ee0();return _0x4cbc=function(_0x4cbccb,_0x5a130e){_0x4cbccb=_0x4cbccb-0xb3;let _0xa81c2a=_0x3ee00b[_0x4cbccb];return _0xa81c2a;},_0x4cbc(_0x329a3b,_0x5849d0);}import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x315ca2(0xb3)]=![];['core'];[_0x315ca2(0xd4)];[_0x315ca2(0xc2)];['buddy'];['profile'];[_0x315ca2(0xbc)];constructor(_0x191b30){const _0x2f5e05=_0x315ca2;this['core']=_0x191b30,this[_0x2f5e05(0xd4)]=new NapCatCoreServiceMessage(),this[_0x2f5e05(0xc2)]=new NapCatCoreServiceGroup(),this[_0x2f5e05(0xb8)]=new NapCatCoreServiceBuddy(),this[_0x2f5e05(0xd3)]=new NapCatCoreServiceProfile(),this[_0x2f5e05(0xbc)]=new NapCatCoreServiceProfileLike();}[_0x315ca2(0xc4)](_0x39124a,_0x3dde5c,_0x6daa95,_0x47e5a4,_0x523695){const _0x3cd12b=_0x315ca2,_0x35762d={'tcmhg':_0x3cd12b(0xbb),'vJbHb':_0x3cd12b(0xcd)},_0x253d21=_0x35762d['tcmhg'][_0x3cd12b(0xb6)]('|');let _0x52d122=0x0;while(!![]){switch(_0x253d21[_0x52d122++]){case'0':this[_0x3cd12b(0xd4)][_0x3cd12b(0xc4)](_0x39124a);continue;case'1':if(this[_0x3cd12b(0xb3)])throw new Error(_0x35762d[_0x3cd12b(0xbe)]);continue;case'2':this[_0x3cd12b(0xbc)][_0x3cd12b(0xc4)](_0x523695);continue;case'3':this[_0x3cd12b(0xb3)]=!![];continue;case'4':this[_0x3cd12b(0xb8)]['init'](_0x6daa95);continue;case'5':this[_0x3cd12b(0xc9)]();continue;case'6':this[_0x3cd12b(0xc2)]['init'](_0x3dde5c);continue;case'7':this[_0x3cd12b(0xd3)]['init'](_0x47e5a4);continue;}break;}}['initListener'](){const _0x32d44e=_0x315ca2,_0x1609d9={'egojH':_0x32d44e(0xc1),'guKlU':function(_0x185cdd,_0xc59f21){return _0x185cdd!==_0xc59f21;},'OAPae':_0x32d44e(0xcb)};this[_0x32d44e(0xd4)][_0x32d44e(0xbf)]['onRecvMsg']=_0x4ec285=>{const _0x4b1912=_0x32d44e;for(const _0x84a423 of _0x4ec285){this[_0x4b1912(0xc6)][_0x4b1912(0xce)](_0x1609d9[_0x4b1912(0xd0)],_0x84a423);if(_0x1609d9[_0x4b1912(0xc0)](_0x84a423[_0x4b1912(0xc5)],_0x84a423['senderUin']))this[_0x4b1912(0xc6)]['emit'](_0x1609d9[_0x4b1912(0xb4)],_0x84a423);else this[_0x4b1912(0xc6)][_0x4b1912(0xce)]('message.private',_0x84a423);}};}}
function _0x11dc(_0x50104e,_0x3706e9){const _0x134182=_0x1341();return _0x11dc=function(_0x11dc7a,_0x3517f4){_0x11dc7a=_0x11dc7a-0x1df;let _0x114035=_0x134182[_0x11dc7a];return _0x114035;},_0x11dc(_0x50104e,_0x3706e9);}const _0x557aae=_0x11dc;(function(_0x127897,_0x46229d){const _0x1a5392=_0x11dc,_0x292b83=_0x127897();while(!![]){try{const _0x18363b=-parseInt(_0x1a5392(0x1df))/0x1+parseInt(_0x1a5392(0x1e1))/0x2+parseInt(_0x1a5392(0x1f0))/0x3+parseInt(_0x1a5392(0x1f8))/0x4+-parseInt(_0x1a5392(0x1e2))/0x5+-parseInt(_0x1a5392(0x1f4))/0x6*(parseInt(_0x1a5392(0x1fd))/0x7)+-parseInt(_0x1a5392(0x1e8))/0x8*(parseInt(_0x1a5392(0x1fb))/0x9);if(_0x18363b===_0x46229d)break;else _0x292b83['push'](_0x292b83['shift']());}catch(_0x3e93b4){_0x292b83['push'](_0x292b83['shift']());}}}(_0x1341,0xd2f70));import{NapCatCoreServiceMessage}from'./message';function _0x1341(){const _0x45619e=['2|4|0|1|3|5','message','kArFp','3544baWHzj','init','0|2|6|3|1|7|5|4','MCMlq','PspRS','message.private','initListener','message.group','1087317hldQWc','ISYJC','listener','Services\x20already\x20initialized!','173892pbDRpe','group','emit','hWgnQ','3400372VlndrL','profileLike','onRecvMsg','1017PTgrNy','core','77Heuphz','isInit','buddy','msg','1174813hdVZVw','peerUin','3020824CKxlRi','1575790QxWkBl','split','profile'];_0x1341=function(){return _0x45619e;};return _0x1341();}import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';import{NapCatCoreServiceProfile}from'./profile';import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x557aae(0x1fe)]=![];[_0x557aae(0x1fc)];[_0x557aae(0x200)];[_0x557aae(0x1f5)];[_0x557aae(0x1ff)];[_0x557aae(0x1e4)];[_0x557aae(0x1f9)];constructor(_0x3fa007){const _0x4e2e7d=_0x557aae,_0x424dcc={'XNnAD':_0x4e2e7d(0x1e5)},_0x58c1e5=_0x424dcc['XNnAD'][_0x4e2e7d(0x1e3)]('|');let _0x505c3a=0x0;while(!![]){switch(_0x58c1e5[_0x505c3a++]){case'0':this[_0x4e2e7d(0x1f5)]=new NapCatCoreServiceGroup();continue;case'1':this['buddy']=new NapCatCoreServiceBuddy();continue;case'2':this[_0x4e2e7d(0x1fc)]=_0x3fa007;continue;case'3':this['profile']=new NapCatCoreServiceProfile();continue;case'4':this[_0x4e2e7d(0x200)]=new NapCatCoreServiceMessage();continue;case'5':this[_0x4e2e7d(0x1f9)]=new NapCatCoreServiceProfileLike();continue;}break;}}['init'](_0x45f259,_0x572b44,_0x2b11b8,_0x4c74e6,_0x1c9b3a){const _0x247132=_0x557aae,_0x240b83={'kArFp':_0x247132(0x1f3)},_0x3e7ed1=_0x247132(0x1ea)[_0x247132(0x1e3)]('|');let _0x5e5034=0x0;while(!![]){switch(_0x3e7ed1[_0x5e5034++]){case'0':if(this[_0x247132(0x1fe)])throw new Error(_0x240b83[_0x247132(0x1e7)]);continue;case'1':this['profile'][_0x247132(0x1e9)](_0x4c74e6);continue;case'2':this[_0x247132(0x200)][_0x247132(0x1e9)](_0x45f259);continue;case'3':this[_0x247132(0x1ff)][_0x247132(0x1e9)](_0x2b11b8);continue;case'4':this[_0x247132(0x1fe)]=!![];continue;case'5':this[_0x247132(0x1ee)]();continue;case'6':this['group']['init'](_0x572b44);continue;case'7':this[_0x247132(0x1f9)][_0x247132(0x1e9)](_0x1c9b3a);continue;}break;}}['initListener'](){const _0x37d363=_0x557aae,_0x27616b={'PspRS':_0x37d363(0x1e6),'ISYJC':function(_0x177c7a,_0x202048){return _0x177c7a!==_0x202048;},'MCMlq':_0x37d363(0x1ef),'hWgnQ':_0x37d363(0x1ed)};this[_0x37d363(0x200)][_0x37d363(0x1f2)][_0x37d363(0x1fa)]=_0x3873ed=>{const _0x10b90e=_0x37d363;for(const _0x5aaa82 of _0x3873ed){this[_0x10b90e(0x1fc)][_0x10b90e(0x1f6)](_0x27616b[_0x10b90e(0x1ec)],_0x5aaa82);if(_0x27616b[_0x10b90e(0x1f1)](_0x5aaa82[_0x10b90e(0x1e0)],_0x5aaa82['senderUin']))this[_0x10b90e(0x1fc)][_0x10b90e(0x1f6)](_0x27616b[_0x10b90e(0x1eb)],_0x5aaa82);else this[_0x10b90e(0x1fc)]['emit'](_0x27616b[_0x10b90e(0x1f7)],_0x5aaa82);}};}}

View File

@@ -1 +1 @@
function _0x9047(){var _0x399ede=['766828eGzKxF','MessageService\x20already\x20initialized!','2512812SgSMPl','2004934dliUCE','6762110PoKhrt','msgId','3413739DAimwr','24wLcVai','3xLfKvf','addKernelMsgListener','9eDhMta','recallTime','YxiYy','kernelService','addMsg','DyriN','12iowjtN','catch','5574816hbzeXG','11gaJliD','onMsgInfoListUpdate','listener','NodeIKernelMsgListener','1870795SBjJcL','init'];_0x9047=function(){return _0x399ede;};return _0x9047();}var _0xe58c3b=_0x3c70;function _0x3c70(_0x18871b,_0x1be00b){var _0x904787=_0x9047();return _0x3c70=function(_0x3c70e3,_0x3a21ff){_0x3c70e3=_0x3c70e3-0xaa;var _0x40f85d=_0x904787[_0x3c70e3];return _0x40f85d;},_0x3c70(_0x18871b,_0x1be00b);}(function(_0x655b89,_0x1e0340){var _0x37666e=_0x3c70,_0x5490e0=_0x655b89();while(!![]){try{var _0x2b0e0a=parseInt(_0x37666e(0xb2))/0x1+parseInt(_0x37666e(0xb5))/0x2*(-parseInt(_0x37666e(0xba))/0x3)+-parseInt(_0x37666e(0xc2))/0x4*(parseInt(_0x37666e(0xb0))/0x5)+parseInt(_0x37666e(0xb4))/0x6+parseInt(_0x37666e(0xb8))/0x7*(parseInt(_0x37666e(0xb9))/0x8)+parseInt(_0x37666e(0xbc))/0x9*(parseInt(_0x37666e(0xb6))/0xa)+parseInt(_0x37666e(0xac))/0xb*(-parseInt(_0x37666e(0xab))/0xc);if(_0x2b0e0a===_0x1e0340)break;else _0x5490e0['push'](_0x5490e0['shift']());}catch(_0x18fe28){_0x5490e0['push'](_0x5490e0['shift']());}}}(_0x9047,0xb3880));import{Wrapper as _0x4cae93}from'../qqnt';import{MsgListener}from'../qqnt/listeners';import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0xe58c3b(0xbf)]=null;[_0xe58c3b(0xae)];constructor(){var _0x9de117=_0xe58c3b,_0x45383c={'YxiYy':function(_0x2ed938,_0x250815){return _0x2ed938===_0x250815;}};this[_0x9de117(0xae)]=new MsgListener(),this[_0x9de117(0xae)][_0x9de117(0xad)]=_0x7e5061=>{_0x7e5061['map'](_0x1c0175=>{var _0x745192=_0x3c70;_0x45383c[_0x745192(0xbe)](_0x1c0175[_0x745192(0xbd)],'0')?dbUtil[_0x745192(0xc0)](_0x1c0175)['then']()[_0x745192(0xaa)]():dbUtil['getMsgByLongId'](_0x1c0175[_0x745192(0xb7)])['then'](_0x5c983f=>{var _0x34f473=_0x745192;_0x5c983f&&(_0x5c983f[_0x34f473(0xbd)]=_0x1c0175[_0x34f473(0xbd)],dbUtil['updateMsg'](_0x5c983f)['then']());});});};}[_0xe58c3b(0xb1)](_0x3ee9bb){var _0x5274ee=_0xe58c3b,_0x44b9bb={'DyriN':_0x5274ee(0xb3)};if(this[_0x5274ee(0xbf)]!==null)throw new Error(_0x44b9bb[_0x5274ee(0xc1)]);this[_0x5274ee(0xbf)]=_0x3ee9bb,this[_0x5274ee(0xbf)]['addKernelMsgListener'](new _0x4cae93[(_0x5274ee(0xaf))](this[_0x5274ee(0xae)]));}['addMsgListener'](_0x2298ab){var _0x307202=_0xe58c3b;return this[_0x307202(0xbf)]?.[_0x307202(0xbb)](new _0x4cae93[(_0x307202(0xaf))](_0x2298ab));}}
var _0x56d664=_0xb439;function _0xb439(_0x4b0269,_0x1d12d3){var _0x151a08=_0x151a();return _0xb439=function(_0xb439d4,_0x2bd608){_0xb439d4=_0xb439d4-0xac;var _0x3c5897=_0x151a08[_0xb439d4];return _0x3c5897;},_0xb439(_0x4b0269,_0x1d12d3);}(function(_0x18a7f9,_0x45c875){var _0x55786e=_0xb439,_0xf30b83=_0x18a7f9();while(!![]){try{var _0x414d43=-parseInt(_0x55786e(0xb8))/0x1*(parseInt(_0x55786e(0xb4))/0x2)+-parseInt(_0x55786e(0xb0))/0x3*(parseInt(_0x55786e(0xaf))/0x4)+-parseInt(_0x55786e(0xbe))/0x5+-parseInt(_0x55786e(0xb1))/0x6+-parseInt(_0x55786e(0xc3))/0x7*(parseInt(_0x55786e(0xbc))/0x8)+parseInt(_0x55786e(0xac))/0x9*(-parseInt(_0x55786e(0xbb))/0xa)+parseInt(_0x55786e(0xb7))/0xb;if(_0x414d43===_0x45c875)break;else _0xf30b83['push'](_0xf30b83['shift']());}catch(_0x25300b){_0xf30b83['push'](_0xf30b83['shift']());}}}(_0x151a,0x7e5bc));import{Wrapper as _0x394653}from'../qqnt';import{MsgListener}from'../qqnt/listeners';function _0x151a(){var _0x13a044=['onMsgInfoListUpdate','init','2956DEReFa','2274skipKU','3044508LMSKjQ','listener','kernelService','4pbiHjh','addMsg','yolVj','39112590dEOJyF','351539iKOVAy','getMsgByLongId','NodeIKernelMsgListener','2740wcuQUm','8pGocML','map','974115PlcgYC','recallTime','catch','msgId','updateMsg','1589567wicvHx','then','27774yHWCgl'];_0x151a=function(){return _0x13a044;};return _0x151a();}import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0x56d664(0xb3)]=null;[_0x56d664(0xb2)];constructor(){var _0x50b426=_0x56d664,_0x20785b={'htHiz':function(_0x4a27d8,_0x222c8c){return _0x4a27d8===_0x222c8c;}};this[_0x50b426(0xb2)]=new MsgListener(),this[_0x50b426(0xb2)][_0x50b426(0xad)]=_0x1c3a32=>{var _0x30f16e=_0x50b426;_0x1c3a32[_0x30f16e(0xbd)](_0x33793b=>{var _0x37cc5d=_0x30f16e;_0x20785b['htHiz'](_0x33793b[_0x37cc5d(0xbf)],'0')?dbUtil[_0x37cc5d(0xb5)](_0x33793b)[_0x37cc5d(0xc4)]()[_0x37cc5d(0xc0)]():dbUtil[_0x37cc5d(0xb9)](_0x33793b[_0x37cc5d(0xc1)])[_0x37cc5d(0xc4)](_0x36ec59=>{var _0x19796a=_0x37cc5d;_0x36ec59&&(_0x36ec59['recallTime']=_0x33793b['recallTime'],dbUtil[_0x19796a(0xc2)](_0x36ec59)[_0x19796a(0xc4)]());});});};}[_0x56d664(0xae)](_0xee3e6e){var _0x48a0d1=_0x56d664,_0x1b363f={'usTYA':function(_0x59aa08,_0x25f732){return _0x59aa08!==_0x25f732;},'yolVj':'MessageService\x20already\x20initialized!'};if(_0x1b363f['usTYA'](this[_0x48a0d1(0xb3)],null))throw new Error(_0x1b363f[_0x48a0d1(0xb6)]);this[_0x48a0d1(0xb3)]=_0xee3e6e,this[_0x48a0d1(0xb3)]['addKernelMsgListener'](new _0x394653[(_0x48a0d1(0xba))](this['listener']));}['addMsgListener'](_0x388d81){var _0x5d044e=_0x56d664;return this['kernelService']?.['addKernelMsgListener'](new _0x394653[(_0x5d044e(0xba))](_0x388d81));}}

View File

@@ -1 +1 @@
var _0x48bc1b=_0x13f1;(function(_0x558acc,_0x4e11dd){var _0x26c1cb=_0x13f1,_0x4e194a=_0x558acc();while(!![]){try{var _0x36824a=-parseInt(_0x26c1cb(0xea))/0x1*(-parseInt(_0x26c1cb(0xdf))/0x2)+-parseInt(_0x26c1cb(0xe4))/0x3+parseInt(_0x26c1cb(0xdc))/0x4+-parseInt(_0x26c1cb(0xd4))/0x5*(parseInt(_0x26c1cb(0xd9))/0x6)+-parseInt(_0x26c1cb(0xd8))/0x7+-parseInt(_0x26c1cb(0xd6))/0x8*(parseInt(_0x26c1cb(0xdd))/0x9)+parseInt(_0x26c1cb(0xe3))/0xa;if(_0x36824a===_0x4e11dd)break;else _0x4e194a['push'](_0x4e194a['shift']());}catch(_0x46b8f8){_0x4e194a['push'](_0x4e194a['shift']());}}}(_0x5092,0x91aa4));import{Wrapper as _0xfa7cc2}from'../qqnt';import{ProfileListener}from'../qqnt/listeners';function _0x5092(){var _0x2900d5=['37685UemuFR','listener','8BnDJFF','getUserDetailInfoWithBizInfo','7631519XQRNzs','12TeCadp','JdYtn','bAjFp','3333448NWZVSj','9176859QENABb','init','88134MAINzP','uid','ProfileService\x20already\x20initialized!','kernelService','27005020lCTioM','3230040RfvEac','assign','lXSPI','addKernelProfileListener','onProfileDetailInfoChanged','NodeIKernelProfileListener','6sWLWxv'];_0x5092=function(){return _0x2900d5;};return _0x5092();}import{selfInfo}from'@/common/data';function _0x13f1(_0x5f18c0,_0x540775){var _0x509263=_0x5092();return _0x13f1=function(_0x13f164,_0x59f7d0){_0x13f164=_0x13f164-0xd4;var _0x372b3e=_0x509263[_0x13f164];return _0x372b3e;},_0x13f1(_0x5f18c0,_0x540775);}export class NapCatCoreServiceProfile{['kernelService']=null;['listener'];constructor(){var _0xd458d3=_0x13f1,_0xe9c763={'bAjFp':function(_0x5576f6,_0x3190c9){return _0x5576f6===_0x3190c9;}};this[_0xd458d3(0xd5)]=new ProfileListener(),this[_0xd458d3(0xd5)][_0xd458d3(0xe8)]=_0x4cf9f3=>{var _0x3b6a1f=_0xd458d3;_0xe9c763[_0x3b6a1f(0xdb)](_0x4cf9f3['uid'],selfInfo[_0x3b6a1f(0xe0)])&&Object[_0x3b6a1f(0xe5)](selfInfo,_0x4cf9f3);};}[_0x48bc1b(0xde)](_0x7f12ec){var _0x5d1935=_0x48bc1b,_0x470ee2={'JdYtn':function(_0x2a72b8,_0x5dbfbd){return _0x2a72b8!==_0x5dbfbd;},'lXSPI':_0x5d1935(0xe1)};if(_0x470ee2[_0x5d1935(0xda)](this[_0x5d1935(0xe2)],null))throw new Error(_0x470ee2[_0x5d1935(0xe6)]);this[_0x5d1935(0xe2)]=_0x7f12ec,this[_0x5d1935(0xe2)][_0x5d1935(0xe7)](new _0xfa7cc2[(_0x5d1935(0xe9))](this['listener'])),this[_0x5d1935(0xe2)][_0x5d1935(0xd7)](selfInfo[_0x5d1935(0xe0)],[0x1,0x0]);}['addProfileListener'](_0x373751){var _0x4f8139=_0x48bc1b;return this[_0x4f8139(0xe2)]?.[_0x4f8139(0xe7)](new _0xfa7cc2[(_0x4f8139(0xe9))](_0x373751));}}
var _0x1b44f5=_0x2d7f;(function(_0x1087af,_0x1e0a58){var _0x4005bb=_0x2d7f,_0x384e41=_0x1087af();while(!![]){try{var _0x1ca714=parseInt(_0x4005bb(0x167))/0x1+parseInt(_0x4005bb(0x15e))/0x2*(-parseInt(_0x4005bb(0x15c))/0x3)+parseInt(_0x4005bb(0x159))/0x4+parseInt(_0x4005bb(0x162))/0x5*(parseInt(_0x4005bb(0x165))/0x6)+-parseInt(_0x4005bb(0x156))/0x7+parseInt(_0x4005bb(0x166))/0x8+-parseInt(_0x4005bb(0x158))/0x9*(parseInt(_0x4005bb(0x160))/0xa);if(_0x1ca714===_0x1e0a58)break;else _0x384e41['push'](_0x384e41['shift']());}catch(_0x7134d7){_0x384e41['push'](_0x384e41['shift']());}}}(_0x573f,0x537af));function _0x2d7f(_0x536c51,_0x3110c){var _0x573f2b=_0x573f();return _0x2d7f=function(_0x2d7f53,_0x352421){_0x2d7f53=_0x2d7f53-0x155;var _0x5c1fd8=_0x573f2b[_0x2d7f53];return _0x5c1fd8;},_0x2d7f(_0x536c51,_0x3110c);}import{Wrapper as _0x167c6e}from'../qqnt';import{ProfileListener}from'../qqnt/listeners';function _0x573f(){var _0x1826b1=['379336rSCDNT','assign','2373007xVTxpy','WrLMa','9MtmgwD','2195140iykmBt','listener','NodeIKernelProfileListener','1194jGFIDe','kernelService','916vWeBqs','uid','12411260zTHcEv','addProfileListener','5yjwnlS','ProfileService\x20already\x20initialized!','init','3921648ZThcyz','4180936ksVWyc'];_0x573f=function(){return _0x1826b1;};return _0x573f();}import{selfInfo}from'@/common/data';export class NapCatCoreServiceProfile{[_0x1b44f5(0x15d)]=null;['listener'];constructor(){var _0x1be5a2=_0x1b44f5,_0x5a55a4={'xVpBT':function(_0x2871d7,_0xc68045){return _0x2871d7===_0xc68045;}};this[_0x1be5a2(0x15a)]=new ProfileListener(),this[_0x1be5a2(0x15a)]['onProfileDetailInfoChanged']=_0x3f38d3=>{var _0x4c2bd6=_0x1be5a2;_0x5a55a4['xVpBT'](_0x3f38d3[_0x4c2bd6(0x15f)],selfInfo['uid'])&&Object[_0x4c2bd6(0x155)](selfInfo,_0x3f38d3);};}[_0x1b44f5(0x164)](_0x5eea3f){var _0x49c7c5=_0x1b44f5,_0x4d9481={'WrLMa':_0x49c7c5(0x163)};if(this['kernelService']!==null)throw new Error(_0x4d9481[_0x49c7c5(0x157)]);this[_0x49c7c5(0x15d)]=_0x5eea3f,this['kernelService']['addKernelProfileListener'](new _0x167c6e[(_0x49c7c5(0x15b))](this[_0x49c7c5(0x15a)])),this[_0x49c7c5(0x15d)]['getUserDetailInfoWithBizInfo'](selfInfo[_0x49c7c5(0x15f)],[0x1,0x0]);}[_0x1b44f5(0x161)](_0x2badd8){var _0x19a1df=_0x1b44f5;return this[_0x19a1df(0x15d)]?.['addKernelProfileListener'](new _0x167c6e[(_0x19a1df(0x15b))](_0x2badd8));}}

View File

@@ -1 +1 @@
function _0x35a7(_0x313b00,_0x4bc25c){var _0x4c8380=_0x4c83();return _0x35a7=function(_0x35a7fa,_0x27e7b9){_0x35a7fa=_0x35a7fa-0x1c6;var _0x219a32=_0x4c8380[_0x35a7fa];return _0x219a32;},_0x35a7(_0x313b00,_0x4bc25c);}function _0x4c83(){var _0x24c194=['2359462kxNBPN','177914ASztny','kernelService','8476240pUfHUf','6XmVTKl','999084SilHif','986060LsHjFG','init','2608085xOlwxW','ProfileLikeService\x20already\x20initialized!','896916qvbSNR'];_0x4c83=function(){return _0x24c194;};return _0x4c83();}var _0x56034e=_0x35a7;(function(_0x9ac874,_0x5658c8){var _0x1c1b57=_0x35a7,_0x1f0944=_0x9ac874();while(!![]){try{var _0x49c78a=parseInt(_0x1c1b57(0x1ce))/0x1+parseInt(_0x1c1b57(0x1c7))/0x2+-parseInt(_0x1c1b57(0x1cc))/0x3+-parseInt(_0x1c1b57(0x1c8))/0x4+parseInt(_0x1c1b57(0x1ca))/0x5*(-parseInt(_0x1c1b57(0x1c6))/0x6)+-parseInt(_0x1c1b57(0x1cd))/0x7+parseInt(_0x1c1b57(0x1d0))/0x8;if(_0x49c78a===_0x5658c8)break;else _0x1f0944['push'](_0x1f0944['shift']());}catch(_0x47f479){_0x1f0944['push'](_0x1f0944['shift']());}}}(_0x4c83,0x51410));export class NapCatCoreServiceProfileLike{[_0x56034e(0x1cf)]=null;[_0x56034e(0x1c9)](_0x2ae73f){var _0x10d8f2=_0x56034e;if(this['kernelService']!==null)throw new Error(_0x10d8f2(0x1cb));this[_0x10d8f2(0x1cf)]=_0x2ae73f;}}
var _0x2b5f19=_0x304a;function _0x304a(_0x298e54,_0x40e845){var _0x280c8e=_0x280c();return _0x304a=function(_0x304a73,_0x1749f3){_0x304a73=_0x304a73-0xdf;var _0x515b60=_0x280c8e[_0x304a73];return _0x515b60;},_0x304a(_0x298e54,_0x40e845);}(function(_0x470ed2,_0x109d09){var _0x1223cb=_0x304a,_0x50df05=_0x470ed2();while(!![]){try{var _0x1602ce=-parseInt(_0x1223cb(0xe5))/0x1+parseInt(_0x1223cb(0xdf))/0x2*(-parseInt(_0x1223cb(0xe9))/0x3)+parseInt(_0x1223cb(0xe6))/0x4*(parseInt(_0x1223cb(0xe8))/0x5)+-parseInt(_0x1223cb(0xe4))/0x6*(parseInt(_0x1223cb(0xeb))/0x7)+parseInt(_0x1223cb(0xe7))/0x8+parseInt(_0x1223cb(0xed))/0x9*(-parseInt(_0x1223cb(0xec))/0xa)+parseInt(_0x1223cb(0xee))/0xb;if(_0x1602ce===_0x109d09)break;else _0x50df05['push'](_0x50df05['shift']());}catch(_0x3e56c1){_0x50df05['push'](_0x50df05['shift']());}}}(_0x280c,0x772b2));function _0x280c(){var _0x54b117=['5uuiPMc','2878278BMZKro','ProfileLikeService\x20already\x20initialized!','5858657ucLKgp','601670aeGgEa','9etKXna','13326203MfMOKZ','2qBzTSu','kernelService','AdsjD','WNFLl','init','6FcPePK','236365jsSrJC','1976752Ujsbzw','7002896NxjnQD'];_0x280c=function(){return _0x54b117;};return _0x280c();}export class NapCatCoreServiceProfileLike{[_0x2b5f19(0xe0)]=null;[_0x2b5f19(0xe3)](_0x3786bf){var _0x383d15=_0x2b5f19,_0x91b517={'AdsjD':function(_0x151822,_0x270f89){return _0x151822!==_0x270f89;},'WNFLl':_0x383d15(0xea)};if(_0x91b517[_0x383d15(0xe1)](this[_0x383d15(0xe0)],null))throw new Error(_0x91b517[_0x383d15(0xe2)]);this[_0x383d15(0xe0)]=_0x3786bf;}}

View File

@@ -1 +1 @@
const _0x5058c7=_0x42e4;function _0x42e4(_0xa5745f,_0x4a76a4){const _0x216874=_0x2168();return _0x42e4=function(_0x42e4ea,_0x17633c){_0x42e4ea=_0x42e4ea-0x9c;let _0x2f1da2=_0x216874[_0x42e4ea];return _0x2f1da2;},_0x42e4(_0xa5745f,_0x4a76a4);}(function(_0x5ddc13,_0x1ea65a){const _0x2f3c09=_0x42e4,_0x1aa11f=_0x5ddc13();while(!![]){try{const _0x42e7d6=parseInt(_0x2f3c09(0xa2))/0x1*(parseInt(_0x2f3c09(0xaa))/0x2)+parseInt(_0x2f3c09(0xaf))/0x3*(-parseInt(_0x2f3c09(0xa7))/0x4)+parseInt(_0x2f3c09(0xa6))/0x5+-parseInt(_0x2f3c09(0xa5))/0x6*(parseInt(_0x2f3c09(0xae))/0x7)+-parseInt(_0x2f3c09(0xa0))/0x8+-parseInt(_0x2f3c09(0xad))/0x9+parseInt(_0x2f3c09(0xb4))/0xa*(parseInt(_0x2f3c09(0xab))/0xb);if(_0x42e7d6===_0x1ea65a)break;else _0x1aa11f['push'](_0x1aa11f['shift']());}catch(_0x1f9bed){_0x1aa11f['push'](_0x1aa11f['shift']());}}}(_0x2168,0x524ec));import{Wrapper as _0x248e36}from'./qqnt';import{genSessionConfig}from'./qqnt/sessionConfig';function _0x2168(){const _0x5082b0=['3667176kLRBBU','7nbUcOy','3HraMtU','yuhdf','onSessionInitComplete','init\x20failed','listener','2382770wUzkss','startNT','NodeIDispatcherAdapter','NodeIQQNTWrapperSession','lsJWO','wrapper','1576000wgnoGa','mjSrD','8MZFNOf','init','oyqoD','1427646wqxIUJ','2411690KyfivH','1695116ZXnhAD','error','NodeIKernelSessionListener','161106JKzogB','22iffJei','NodeIDependsAdapter'];_0x2168=function(){return _0x5082b0;};return _0x2168();}import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x5058c7(0x9f)];[_0x5058c7(0xb3)];constructor(){const _0x568f2c=_0x5058c7;this[_0x568f2c(0x9f)]=new _0x248e36[(_0x568f2c(0x9d))](),this[_0x568f2c(0xb3)]=new SessionListener();}[_0x5058c7(0xa3)](_0x4e9daa,_0x199e8d,_0x48343d){const _0x1e96e2=_0x5058c7,_0x307a13={'zAKbV':function(_0x1d0b6a,_0x35ea4d){return _0x1d0b6a===_0x35ea4d;},'mjSrD':function(_0x4d7fdb,_0x26ec8f,_0x4570df,_0x5cfd45){return _0x4d7fdb(_0x26ec8f,_0x4570df,_0x5cfd45);},'yuhdf':_0x1e96e2(0xb2)};return new Promise((_0x4ff9bc,_0x3154af)=>{const _0x3f3d4a=_0x1e96e2,_0xc60dad={'oyqoD':function(_0x3aabe8,_0x3e7bab){return _0x307a13['zAKbV'](_0x3aabe8,_0x3e7bab);},'lsJWO':function(_0x3c4ffc,_0x7bf6af){return _0x3c4ffc(_0x7bf6af);}},_0x1b5472=_0x307a13[_0x3f3d4a(0xa1)](genSessionConfig,_0x4e9daa,_0x199e8d,_0x48343d);this[_0x3f3d4a(0xb3)][_0x3f3d4a(0xb1)]=_0x56a9ce=>{const _0x48227f=_0x3f3d4a;if(_0xc60dad[_0x48227f(0xa4)](_0x56a9ce,0x0))return _0x4ff9bc(0x0);_0xc60dad[_0x48227f(0x9e)](_0x3154af,_0x56a9ce);},this[_0x3f3d4a(0x9f)][_0x3f3d4a(0xa3)](_0x1b5472,new _0x248e36[(_0x3f3d4a(0xac))](new DependsAdapter()),new _0x248e36[(_0x3f3d4a(0x9c))](new DispatcherAdapter()),new _0x248e36[(_0x3f3d4a(0xa9))](this[_0x3f3d4a(0xb3)]));try{this[_0x3f3d4a(0x9f)][_0x3f3d4a(0xb5)](0x0);}catch(_0x8540c){try{this['wrapper'][_0x3f3d4a(0xb5)]();}catch(_0x21ed3c){console[_0x3f3d4a(0xa8)](_0x307a13[_0x3f3d4a(0xb0)],_0x21ed3c);}}});}}
const _0x4dc7b9=_0x4e84;(function(_0x2a145f,_0x4972ff){const _0x1f1170=_0x4e84,_0xc2b501=_0x2a145f();while(!![]){try{const _0x4704dd=parseInt(_0x1f1170(0x169))/0x1*(-parseInt(_0x1f1170(0x167))/0x2)+parseInt(_0x1f1170(0x173))/0x3+parseInt(_0x1f1170(0x179))/0x4*(-parseInt(_0x1f1170(0x170))/0x5)+-parseInt(_0x1f1170(0x17e))/0x6*(parseInt(_0x1f1170(0x17a))/0x7)+parseInt(_0x1f1170(0x177))/0x8*(parseInt(_0x1f1170(0x178))/0x9)+parseInt(_0x1f1170(0x17d))/0xa*(-parseInt(_0x1f1170(0x16d))/0xb)+parseInt(_0x1f1170(0x168))/0xc*(parseInt(_0x1f1170(0x183))/0xd);if(_0x4704dd===_0x4972ff)break;else _0xc2b501['push'](_0xc2b501['shift']());}catch(_0x1564e1){_0xc2b501['push'](_0xc2b501['shift']());}}}(_0xe48b,0x59159));function _0xe48b(){const _0x30be99=['8xmjYoQ','1956609DlKbUA','1250252clUKyP','84fIdfos','zFeii','rzWSv','2235580XsPMfm','33954fvimhF','NodeIQQNTWrapperSession','sqIOa','NodeIKernelSessionListener','error','3101709XuwxHD','10BsJJSP','36wMopps','35591StLlck','wrapper','listener','NodeIDependsAdapter','33Rxggbg','init','EITxh','5EECUDV','onSessionInitComplete','xdmnG','1982427yOipOp','NodeIDispatcherAdapter','startNT','init\x20failed'];_0xe48b=function(){return _0x30be99;};return _0xe48b();}import{Wrapper as _0x3cf883}from'./qqnt';function _0x4e84(_0x2d553d,_0x36781d){const _0xe48b2e=_0xe48b();return _0x4e84=function(_0x4e84df,_0x562401){_0x4e84df=_0x4e84df-0x167;let _0x17f17b=_0xe48b2e[_0x4e84df];return _0x17f17b;},_0x4e84(_0x2d553d,_0x36781d);}import{genSessionConfig}from'./qqnt/sessionConfig';import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x4dc7b9(0x16a)];[_0x4dc7b9(0x16b)];constructor(){const _0x9696f=_0x4dc7b9;this[_0x9696f(0x16a)]=new _0x3cf883[(_0x9696f(0x17f))](),this[_0x9696f(0x16b)]=new SessionListener();}[_0x4dc7b9(0x16e)](_0x55bfca,_0x35a79a,_0x3c8678){const _0x244118=_0x4dc7b9,_0x2f8e4f={'xdmnG':function(_0x3ec3de,_0x4224ef){return _0x3ec3de===_0x4224ef;},'sqIOa':function(_0x5a6051,_0x40c91d){return _0x5a6051(_0x40c91d);},'EITxh':function(_0x29e1b0,_0x117e67,_0x1e9204,_0x4df4cb){return _0x29e1b0(_0x117e67,_0x1e9204,_0x4df4cb);},'zFeii':_0x244118(0x176)};return new Promise((_0x482509,_0x18b612)=>{const _0x254c75=_0x244118,_0x185bc4={'rzWSv':function(_0x556935,_0x8060e2){const _0x5cfa63=_0x4e84;return _0x2f8e4f[_0x5cfa63(0x172)](_0x556935,_0x8060e2);},'xxODr':function(_0x4916bb,_0x2b39f8){const _0x3e55b5=_0x4e84;return _0x2f8e4f[_0x3e55b5(0x180)](_0x4916bb,_0x2b39f8);}},_0x1b5051=_0x2f8e4f[_0x254c75(0x16f)](genSessionConfig,_0x55bfca,_0x35a79a,_0x3c8678);this[_0x254c75(0x16b)][_0x254c75(0x171)]=_0x12928d=>{const _0x2598a2=_0x254c75;if(_0x185bc4[_0x2598a2(0x17c)](_0x12928d,0x0))return _0x482509(0x0);_0x185bc4['xxODr'](_0x18b612,_0x12928d);},this['wrapper']['init'](_0x1b5051,new _0x3cf883[(_0x254c75(0x16c))](new DependsAdapter()),new _0x3cf883[(_0x254c75(0x174))](new DispatcherAdapter()),new _0x3cf883[(_0x254c75(0x181))](this[_0x254c75(0x16b)]));try{this[_0x254c75(0x16a)][_0x254c75(0x175)](0x0);}catch(_0x266c72){try{this['wrapper'][_0x254c75(0x175)]();}catch(_0x500b8f){console[_0x254c75(0x182)](_0x2f8e4f[_0x254c75(0x17b)],_0x500b8f);}}});}}

View File

@@ -1 +1 @@
const _0x3afff3=_0x4e1f;(function(_0x1cbabe,_0x1dbea3){const _0x7264a=_0x4e1f,_0x5729bf=_0x1cbabe();while(!![]){try{const _0x746bc0=parseInt(_0x7264a(0x1c4))/0x1+parseInt(_0x7264a(0x1cd))/0x2*(parseInt(_0x7264a(0x1c6))/0x3)+-parseInt(_0x7264a(0x1d6))/0x4*(parseInt(_0x7264a(0x1c2))/0x5)+-parseInt(_0x7264a(0x1d4))/0x6*(-parseInt(_0x7264a(0x1ce))/0x7)+parseInt(_0x7264a(0x1c3))/0x8*(parseInt(_0x7264a(0x1d2))/0x9)+parseInt(_0x7264a(0x1cb))/0xa*(parseInt(_0x7264a(0x1d7))/0xb)+-parseInt(_0x7264a(0x1d3))/0xc;if(_0x746bc0===_0x1dbea3)break;else _0x5729bf['push'](_0x5729bf['shift']());}catch(_0x2c0a1c){_0x5729bf['push'](_0x5729bf['shift']());}}}(_0x4665,0x5a16e));import _0x13aee7 from'node:os';function _0x4665(){const _0xc0432f=['71442jPsxYm','engine','dataPathGlobal','NodeQQNTWrapperUtil','resolve','211310NbVuvE','getNTUserDataInfoConfig','54yTvOtN','3087mzejPD','init','initWithDeskTopConfig','util','342423LybvYW','14961300GXbwtl','270ygoiYM','./nt_qq/global','112YYffyP','275KLmQte','homedir','NodeIQQNTWrapperEngine','./.config/QQ','2645wnPsTv','56hCBFSV','173166NnBbHV','dataPath'];_0x4665=function(){return _0xc0432f;};return _0x4665();}import _0xc8cf8f from'node:fs';import _0x3cadeb from'node:path';function _0x4e1f(_0x5988f9,_0x4170d6){const _0x46652a=_0x4665();return _0x4e1f=function(_0x4e1f06,_0x2fcf00){_0x4e1f06=_0x4e1f06-0x1bf;let _0x19b53f=_0x46652a[_0x4e1f06];return _0x19b53f;},_0x4e1f(_0x5988f9,_0x4170d6);}import{Wrapper as _0x49df5e}from'./qqnt';export class NapCatCoreWrapper{[_0x3afff3(0x1c7)];['util'];constructor(){const _0x4b8980=_0x3afff3;this[_0x4b8980(0x1c7)]=new _0x49df5e[(_0x4b8980(0x1c0))](),this['util']=new _0x49df5e[(_0x4b8980(0x1c9))]();}get[_0x3afff3(0x1c5)](){const _0x495f8e=_0x3afff3;let _0x3245c2=this[_0x495f8e(0x1d1)][_0x495f8e(0x1cc)]();return!_0x3245c2&&(_0x3245c2=_0x3cadeb[_0x495f8e(0x1ca)](_0x13aee7[_0x495f8e(0x1bf)](),_0x495f8e(0x1c1)),_0xc8cf8f['mkdirSync'](_0x3245c2,{'recursive':!![]})),_0x3245c2;}get[_0x3afff3(0x1c8)](){const _0x5a9b09=_0x3afff3;return _0x3cadeb['resolve'](this['dataPath'],_0x5a9b09(0x1d5));}[_0x3afff3(0x1cf)](_0x662be2,_0x5f1513){const _0x24824e=_0x3afff3;this['engine'][_0x24824e(0x1d0)](_0x662be2,_0x5f1513);}}
const _0x472b69=_0x40e1;(function(_0x2ab85d,_0x2864f2){const _0xb93af1=_0x40e1,_0x54c7ae=_0x2ab85d();while(!![]){try{const _0x2e3a53=-parseInt(_0xb93af1(0x1b5))/0x1+-parseInt(_0xb93af1(0x1b3))/0x2*(-parseInt(_0xb93af1(0x1a6))/0x3)+parseInt(_0xb93af1(0x1af))/0x4*(parseInt(_0xb93af1(0x1ad))/0x5)+-parseInt(_0xb93af1(0x1a4))/0x6+parseInt(_0xb93af1(0x1a2))/0x7*(-parseInt(_0xb93af1(0x1aa))/0x8)+-parseInt(_0xb93af1(0x1a5))/0x9+parseInt(_0xb93af1(0x1ae))/0xa;if(_0x2e3a53===_0x2864f2)break;else _0x54c7ae['push'](_0x54c7ae['shift']());}catch(_0x2c5515){_0x54c7ae['push'](_0x54c7ae['shift']());}}}(_0x5f1c,0x8af9f));function _0x40e1(_0x2af087,_0x4df5d3){const _0x5f1cf8=_0x5f1c();return _0x40e1=function(_0x40e1d0,_0x1e96d8){_0x40e1d0=_0x40e1d0-0x1a2;let _0x19e51b=_0x5f1cf8[_0x40e1d0];return _0x19e51b;},_0x40e1(_0x2af087,_0x4df5d3);}import _0x5337c8 from'node:os';import _0x1ce633 from'node:fs';function _0x5f1c(){const _0x13f1dc=['util','./.config/QQ','115474RjHguK','NodeIQQNTWrapperEngine','1021053zoiFVY','mkdirSync','initWithDeskTopConfig','resolve','6397699GZFXYN','izgNM','2053452bDvZJZ','2376009sTHqZr','30YlcIfV','NodeQQNTWrapperUtil','engine','dataPath','8JkEaEO','homedir','getNTUserDataInfoConfig','10ZaATon','23148880znvlxO','436484ZspMuu','./nt_qq/global'];_0x5f1c=function(){return _0x13f1dc;};return _0x5f1c();}import _0x37e0eb from'node:path';import{Wrapper as _0x534805}from'./qqnt';export class NapCatCoreWrapper{[_0x472b69(0x1a8)];['util'];constructor(){const _0x15a68d=_0x472b69;this['engine']=new _0x534805[(_0x15a68d(0x1b4))](),this[_0x15a68d(0x1b1)]=new _0x534805[(_0x15a68d(0x1a7))]();}get['dataPath'](){const _0x5d3015=_0x472b69;let _0x1d12a1=this['util'][_0x5d3015(0x1ac)]();return!_0x1d12a1&&(_0x1d12a1=_0x37e0eb['resolve'](_0x5337c8[_0x5d3015(0x1ab)](),_0x5d3015(0x1b2)),_0x1ce633[_0x5d3015(0x1b6)](_0x1d12a1,{'recursive':!![]})),_0x1d12a1;}get['dataPathGlobal'](){const _0xa929ae=_0x472b69,_0x499669={'izgNM':_0xa929ae(0x1b0)};return _0x37e0eb[_0xa929ae(0x1b8)](this[_0xa929ae(0x1a9)],_0x499669[_0xa929ae(0x1a3)]);}['init'](_0x548f46,_0x5b1ad7){const _0x23693b=_0x472b69;this[_0x23693b(0x1a8)][_0x23693b(0x1b7)](_0x548f46,_0x5b1ad7);}}

View File

@@ -30,6 +30,7 @@ import { OB11GroupIncreaseEvent } from './event/notice/OB11GroupIncreaseEvent';
import { OB11GroupBanEvent } from './event/notice/OB11GroupBanEvent';
import { OB11GroupUploadNoticeEvent } from './event/notice/OB11GroupUploadNoticeEvent';
import { OB11GroupNoticeEvent } from './event/notice/OB11GroupNoticeEvent';
import { OB11FriendAddNoticeEvent } from './event/notice/OB11FriendAddNoticeEvent';
import { calcQQLevel } from '../common/utils/qqlevel';
import { log } from '../common/utils/log';
@@ -371,6 +372,17 @@ export class OB11Constructor {
}
}
static async FriendAddEvent(msg: RawMessage): Promise<OB11FriendAddNoticeEvent | undefined> {
if (msg.chatType !== ChatType.friend) {
return;
}
if (msg.msgType === 5 && msg.subMsgType === 12) {
const event = new OB11FriendAddNoticeEvent(parseInt(msg.peerUin));
return event;
}
return;
}
static friend(friend: User): OB11User {
return {
user_id: parseInt(friend.uin),

View File

@@ -0,0 +1,11 @@
import { OB11BaseNoticeEvent } from './OB11BaseNoticeEvent';
export class OB11FriendAddNoticeEvent extends OB11BaseNoticeEvent {
notice_type = 'friend_add';
user_id: number;
public constructor(user_Id: number) {
super();
this.user_id = user_Id;
}
}

View File

@@ -154,6 +154,11 @@ export class NapCatOnebot11 {
postOB11Event(groupEvent);
}
}).catch(e => log('constructGroupEvent error: ', e));
OB11Constructor.FriendAddEvent(message).then(friendAddEvent=>{
if(friendAddEvent){
postOB11Event(friendAddEvent)
}
}).catch(e => log('constructFriendAddEvent error: ', e));
}
}

View File

@@ -1,208 +0,0 @@
import path from 'node:path';
import fs from 'node:fs';
import * as log4js from 'log4js';
import * as YAML from 'yaml';
import qrcode from 'qrcode-terminal';
import { NapCatCore, napCatCore } from '@/core';
import { NapCatOnebot11 } from '@/onebot11/main';
import PackageInfo from '@/../package.json';
import { INapCatConfig } from './types';
import { RawMessage } from '@/core/qqnt/entities';
const DefaultNapCatConfig: INapCatConfig = {
account: {
uin: '10086',
password: 'password',
noQuickLogin: false,
},
heartbeat: {
interval: 5,
},
adapters: {
onebot: {
address: '0.0.0.0',
port: 8123,
accessToken: 'token123456',
}
},
log: {
level: 'info',
},
};
function getLog4jConfig(logLevel = 'info', writeFile = false): log4js.Configuration {
const outputMethod = [ 'console' ];
if (writeFile) outputMethod.push('file');
const defaultCategory = {
appenders: outputMethod,
level: logLevel,
};
return {
appenders: {
console: {
type: 'stdout'
},
file: {
type: 'file',
},
ascii: {
type: 'stdout',
layout: {
type: 'pattern',
pattern: '%[%m%]',
},
},
asciiNoColor: {
type: 'stdout',
layout: {
type: 'pattern',
pattern: '%m',
},
},
},
categories: {
default: defaultCategory,
ascii: {
appenders: [ 'ascii' ],
level: 'info',
},
asciiNoColor: {
appenders: [ 'asciiNoColor' ],
level: 'info',
}
},
};
}
export class NapCat {
readonly dataPath: string;
readonly config: INapCatConfig;
readonly core: NapCatCore;
readonly onebot: NapCatOnebot11;
readonly log: log4js.Logger;
readonly logMsg: log4js.Logger;
constructor() {
// Get data path (usually the same path of NapCat)
this.dataPath = path.resolve(__dirname, './');
// Init core
this.core = napCatCore;
this.onebot = new NapCatOnebot11();
// Get user config
if (!fs.existsSync(path.resolve(this.dataPath, './config.yml'))) { // Detect if no config file exist
// Use default logger
log4js.configure(getLog4jConfig('all'));
this.log = log4js.getLogger('App');
this.logMsg = log4js.getLogger('Message');
this.drawBootAscii();
this.config = DefaultNapCatConfig;
fs.writeFileSync(path.resolve(this.dataPath, './config.yml'), YAML.stringify(DefaultNapCatConfig));
this.log.error('未找到配置文件!');
this.log.error('已为您创建了默认配置文件,请关闭 NapCatQQ 后填写配置文件再启动');
this.log.error('完整的配置文件详解可前往 [DOC_URL] 查看');
return;
}
this.config = YAML.parse(fs.readFileSync(path.resolve(this.dataPath, './config.yml'), { encoding: 'utf8' }));
// Apply log4j config before use it
log4js.configure(getLog4jConfig('all'));
// log4js.configure(getLog4jConfig(this.config.log.level));
this.log = log4js.getLogger('App');
this.logMsg = log4js.getLogger('Message');
this.drawBootAscii();
// Init app
this.initApp();
}
// Output ASCII because i love it
private drawBootAscii() {
const logAscii = log4js.getLogger('ascii');
[
'',
' _ _ _____ _ ____ ____',
' | \\ | | / ____| | | / __ \\ / __ \\',
' | \\| | __ _ _ __ | | __ _ | |_ | | | || | | |',
' | . ` | / _` || \'_ \\ | | / _` || __|| | | || | | |',
' | |\\ || (_| || |_) || |____ | (_| || |_ | |__| || |__| |',
' |_| \\_| \\__,_|| .__/ \\_____| \\__,_| \\__| \\___\\_\\ \\___\\_\\',
' | |',
' |_| ',
].forEach(i => {
logAscii.info(i);
});
logAscii.info(`---------------------< NapCatQQ v${PackageInfo.version} >---------------------`);
}
private initApp() {
this.core.on('system.login.qrcode', ({ url }: { url: string }) => {
this.log.info('请扫描下面的二维码然后在手Q上授权登录');
const ascii = log4js.getLogger('asciiNoColor');
qrcode.generate(url, { small: true }, (res) => {
ascii.info(res);
});
});
this.core.on('system.login.slider', ({ url }: { url: string }) => {
this.log.info('登录需要验证,请访问下面的滑块验证链接,然后按下回车:');
const ascii = log4js.getLogger('asciiNoColor');
ascii.info(url);
});
this.core.on('system.online', () => {
this.onLoginSuccess();
});
this.core.on('system.login.error', ({ code, message }: { code: string, message: string }) => {
this.log.error(`登录出现问题(${code}`);
this.log.error(message);
});
if (!this.config.account || !this.config.account.uin) {
this.log.info('未读取到账号配置,终止初始化...');
return;
}
this.log.info(`正在尝试登录账号 ${this.config.account.uin} ...`);
if (this.config.account.password) this.core.login.password(this.config.account.uin, this.config.account.password);
else if (!this.config.account.noQuickLogin) this.core.login.quick(this.config.account.uin);
else this.core.login.qrcode();
}
private onLoginSuccess() {
this.log.info('登录成功');
this.core.on('message.private', (e) => {
this.logMsg.info(`[Private] ${e.peerName}(${e.senderUin}) -> ${msgElementParser(e)}`);
});
this.core.on('message.group', (e) => {
this.logMsg.info(`[Group] ${e.peerName}(${e.peerUin}) - ${e.sendMemberName ? e.sendMemberName : e.sendNickName}(${e.senderUin}) -> ${msgElementParser(e)}`);
});
}
}
const msgElementParser = (msg: RawMessage) => {
let result = '';
for (const element of msg.elements) {
if (element.textElement) {
if (element.textElement.atType === 0) result += element.textElement.content;
else result += `[@${element.textElement.atType === 2 ? element.textElement.atUid : 'all'}]`;
}
if (element.picElement) result += `[Pic=${element.picElement.fileName}]`;
if (element.pttElement) result += '[Voice]';
if (element.faceElement) result += `[Face=${element.faceElement.faceIndex}]`;
if (element.videoElement) result += `[Video=${element.videoElement.fileName}]`;
if (element.fileElement) result += `[File=${element.fileElement.fileName}]`;
if (element.marketFaceElement) result += `[MarketFace=${element.marketFaceElement.faceName}]`;
}
return result;
};

View File

@@ -1,26 +0,0 @@
export interface INapCatConfig {
account: INapCatConfigAccount,
heartbeat: INapCatConfigHeartbeat,
adapters: Record<string, INapCatConfigAdapterBase>,
log: INapCatConfigLog,
}
export interface INapCatConfigAccount {
uin: string,
password?: string,
noQuickLogin?: boolean,
}
export interface INapCatConfigHeartbeat {
interval: number,
}
export interface INapCatConfigLog {
level: string,
}
export interface INapCatConfigAdapterBase {
address: string,
port: number,
accessToken?: string,
}

View File

@@ -11,7 +11,7 @@ import os from 'node:os';
import fs from 'node:fs';
const external = ['silk-wasm', 'ws', 'express', 'uuid', 'fluent-ffmpeg', 'sqlite3', 'log4js',
'qrcode-terminal', 'MoeHook'];
'qrcode-terminal', 'MoeHoo'];
const nodeModules = [...builtinModules, builtinModules.map(m => `node:${m}`)].flat();
// let nodeModules = ["fs", "path", "events", "buffer", "url", "crypto", "fs/promise", "fsPromise", "os", "http", "net"]
@@ -37,7 +37,7 @@ const baseConfigPlugin: PluginOption[] = [
{ src: './src/onebot11/onebot11.json', dest: 'dist/config/' },
{ src: './package.json', dest: 'dist' },
{ src: './README.md', dest: 'dist' },
{ src: './src/core.lib/MoeHook.node', dest: 'dist' },
{ src: './src/core.lib/MoeHoo.node', dest: 'dist' },
...(startScripts.map((startScript) => {
return { src: startScript, dest: 'dist' };
})),