Compare commits

..

16 Commits

Author SHA1 Message Date
手瓜一十雪
45c922c377 release: 1.6.3 2024-06-28 14:00:15 +08:00
手瓜一十雪
f854c258bd fix: 清除旧的反向ws 2024-06-28 13:42:09 +08:00
手瓜一十雪
a643fac073 refactor: msg context 2024-06-28 13:38:03 +08:00
手瓜一十雪
861f105bea fix: uid->uin 临时修复方案
uid uin转换需要优化
2024-06-28 13:11:06 +08:00
手瓜一十雪
bf10ce9f1e fix: error 2024-06-26 18:40:08 +08:00
手瓜一十雪
ccf521d0a8 feat: win ia32支持 2024-06-26 18:13:55 +08:00
手瓜一十雪
6075d98eaa release: v1.6.2 2024-06-26 18:09:41 +08:00
手瓜一十雪
a3801fc243 fix: script 2024-06-26 17:17:33 +08:00
手瓜一十雪
a1f0c05f3a chore: build script 2024-06-26 17:16:54 +08:00
手瓜一十雪
a568c96929 chore: build script 2024-06-26 17:15:46 +08:00
手瓜一十雪
d58bcf3c0e refactor: error catch 2024-06-26 17:14:23 +08:00
手瓜一十雪
985f2e6436 fix: 还原修改 2024-06-25 17:24:42 +08:00
手瓜一十雪
ad441fa793 docs: update 2024-06-24 21:38:28 +08:00
手瓜一十雪
316300cc86 Merge pull request #86 from NapNeko/dependabot/npm_and_yarn/types/uuid-10.0.0
build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
2024-06-24 17:44:25 +08:00
dependabot[bot]
5c4f37b234 build(deps-dev): bump @types/uuid from 9.0.8 to 10.0.0
Bumps [@types/uuid](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/uuid) from 9.0.8 to 10.0.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/uuid)

---
updated-dependencies:
- dependency-name: "@types/uuid"
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-24 08:14:47 +00:00
手瓜一十雪
77b51a072d fix: 增加容错 2024-06-24 12:03:49 +08:00
64 changed files with 225 additions and 74 deletions

View File

@@ -1,4 +1,4 @@
name: "Build"
name: "Build Action"
on:
workflow_dispatch:
push:

View File

@@ -1,4 +1,4 @@
name: "release"
name: "Build Release"
on:
push:
@@ -130,6 +130,7 @@ jobs:
token: ${{ secrets.GITHUB_TOKEN }}
body_path: CHANGELOG.md
files: |
NapCat.win32.ia32.zip
NapCat.win32.x64.zip
NapCat.linux.x64.zip
NapCat.linux.arm64.zip

69
.github/workflows/test.yml vendored Normal file
View File

@@ -0,0 +1,69 @@
name: "Build Test"
on:
workflow_dispatch:
permissions: write-all
jobs:
build-linux:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target_platform: [linux]
target_arch: [x64, arm64]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
with:
repository: 'NapNeko/NapCatQQ'
submodules: true
ref: main
token: ${{ secrets.NAPCAT_BUILD }}
- name: Use Node.js 20.X
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
path: dist
build-win32:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
with:
repository: 'NapNeko/NapCatQQ'
submodules: true
ref: main
token: ${{ secrets.NAPCAT_BUILD }}
- name: Use Node.js 20.X
uses: actions/setup-node@v4
with:
node-version: 20.x
- name: Build NuCat Linux
run: |
npm i --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
npm run build:prod
cd dist
npm i --omit=dev --arch=${{ matrix.target_arch }} --platform=${{ matrix.target_platform }}
cd ..
- name: Upload Artifact
uses: actions/upload-artifact@v4
with:
name: NapCat.${{ matrix.target_platform }}.${{ matrix.target_arch }}
path: dist

View File

@@ -0,0 +1,13 @@
# v1.6.3
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 修复带有groupid的私聊消息异常发送到群聊消息
* 尝试修复rws热重载失效问题
* 尝试修复进群事件无法正常获取uin
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)

View File

@@ -0,0 +1,13 @@
# v1.6.2
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 修复获取Cookies异常崩溃问题
* 尝试修复成员退群缓存问题
* 修复自身退群后群缓存清理问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)

View File

@@ -0,0 +1 @@
getMsgUniqueId 传入时间 产出一个唯一ID 发送消息作为一个参数

View File

@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "1.6.1",
"version": "1.6.3",
"scripts": {
"watch:dev": "vite --mode development",
"watch:prod": "vite --mode production",
@@ -33,7 +33,7 @@
"@types/fluent-ffmpeg": "^2.1.24",
"@types/node": "^20.11.30",
"@types/qrcode-terminal": "^0.12.2",
"@types/uuid": "^9.0.8",
"@types/uuid": "^10.0.0",
"@types/ws": "^8.5.10",
"@typescript-eslint/eslint-plugin": "^7.4.0",
"@typescript-eslint/parser": "^7.4.0",

View File

@@ -1,15 +1,13 @@
import https from 'node:https';
import http from 'node:http';
import fs, { readFileSync } from 'node:fs';
import { readFileSync } from 'node:fs';
import { NTQQUserApi } from '@/core';
import path from 'node:path';
import { request } from 'node:http';
export class RequestUtil {
// 适用于获取服务器下发cookies时获取仅GET
static async HttpsGetCookies(url: string): Promise<{ [key: string]: string }> {
const client = url.startsWith('https') ? https : http;
return new Promise((resolve, reject) => {
client.get(url, (res) => {
let req = client.get(url, (res) => {
let cookies: { [key: string]: string } = {};
const handleRedirect = (res: http.IncomingMessage) => {
//console.log(res.headers.location);
@@ -20,6 +18,8 @@ export class RequestUtil {
// 合并重定向过程中的cookies
cookies = { ...cookies, ...redirectCookies };
resolve(cookies);
}).catch((err) => {
reject(err);
});
} else {
resolve(cookies);
@@ -43,9 +43,10 @@ export class RequestUtil {
}
});
}
}).on('error', (err) => {
reject(err);
});
req.on('error', (error: any) => {
reject(error);
});
});
}
@@ -173,6 +174,7 @@ export class RequestUtil {
});
req.on('error', (error) => {
reject(error);
console.error('Error during upload:', error);
});
@@ -188,4 +190,4 @@ export class RequestUtil {
return undefined;
});
}
}
}

View File

@@ -1 +1 @@
var _0xcc391f=_0x1dbc;function _0x52b6(){var _0x415ac1=['getGroupCode','688761AQTgdS','onMSFStatusChange','4780153elzsdz','104jUCcYC','335227uPPfBg','976830pbzGRQ','5625055eKGJTT','5073624gTujzP','6DxfcvM','5630040LsNiIa'];_0x52b6=function(){return _0x415ac1;};return _0x52b6();}function _0x1dbc(_0x2e7338,_0x3c3487){var _0x52b69c=_0x52b6();return _0x1dbc=function(_0x1dbc94,_0x5792b5){_0x1dbc94=_0x1dbc94-0xbe;var _0x2be02b=_0x52b69c[_0x1dbc94];return _0x2be02b;},_0x1dbc(_0x2e7338,_0x3c3487);}(function(_0x1457cf,_0x101874){var _0x174c51=_0x1dbc,_0x5a350c=_0x1457cf();while(!![]){try{var _0x4060d=parseInt(_0x174c51(0xc4))/0x1+parseInt(_0x174c51(0xc5))/0x2*(parseInt(_0x174c51(0xc8))/0x3)+parseInt(_0x174c51(0xc7))/0x4+-parseInt(_0x174c51(0xc6))/0x5+-parseInt(_0x174c51(0xbe))/0x6+-parseInt(_0x174c51(0xc2))/0x7+parseInt(_0x174c51(0xc3))/0x8*(parseInt(_0x174c51(0xc0))/0x9);if(_0x4060d===_0x101874)break;else _0x5a350c['push'](_0x5a350c['shift']());}catch(_0x33aafc){_0x5a350c['push'](_0x5a350c['shift']());}}}(_0x52b6,0xca6b6));export class DependsAdapter{[_0xcc391f(0xc1)](_0x160645,_0x5838f1){}['onMSFSsoError'](_0x502d99){}[_0xcc391f(0xbf)](_0x45bdb6){}}
function _0x21a3(){var _0x47a1fd=['248rmfMrR','179622UXIoav','1055459tsnnaS','onMSFStatusChange','689414NaQcNx','316cTYJBC','39830eOEQfH','30260maZsxw','1860726PpRoBo','80NMQPYe','6295452xCWIll','2FgvZer','getGroupCode'];_0x21a3=function(){return _0x47a1fd;};return _0x21a3();}var _0x3d5b59=_0xbbfe;function _0xbbfe(_0x35749d,_0x27b2cc){var _0x21a3b8=_0x21a3();return _0xbbfe=function(_0xbbfe69,_0x206a1e){_0xbbfe69=_0xbbfe69-0x18f;var _0x2155e2=_0x21a3b8[_0xbbfe69];return _0x2155e2;},_0xbbfe(_0x35749d,_0x27b2cc);}(function(_0x4ff99,_0x119e47){var _0x2caf22=_0xbbfe,_0x53ef76=_0x4ff99();while(!![]){try{var _0x8016be=parseInt(_0x2caf22(0x193))/0x1+parseInt(_0x2caf22(0x18f))/0x2*(-parseInt(_0x2caf22(0x199))/0x3)+parseInt(_0x2caf22(0x196))/0x4*(-parseInt(_0x2caf22(0x198))/0x5)+parseInt(_0x2caf22(0x19b))/0x6+parseInt(_0x2caf22(0x197))/0x7*(parseInt(_0x2caf22(0x191))/0x8)+parseInt(_0x2caf22(0x192))/0x9+parseInt(_0x2caf22(0x19a))/0xa*(-parseInt(_0x2caf22(0x195))/0xb);if(_0x8016be===_0x119e47)break;else _0x53ef76['push'](_0x53ef76['shift']());}catch(_0x20106d){_0x53ef76['push'](_0x53ef76['shift']());}}}(_0x21a3,0xab37b));export class DependsAdapter{[_0x3d5b59(0x194)](_0x41e90c,_0x453b93){}['onMSFSsoError'](_0x28ca66){}[_0x3d5b59(0x190)](_0x5c6159){}}

View File

@@ -1 +1 @@
var _0x24dc95=_0x585a;function _0x585a(_0x98cee9,_0x215212){var _0x1e1827=_0x1e18();return _0x585a=function(_0x585a22,_0x290a2f){_0x585a22=_0x585a22-0x146;var _0x206eae=_0x1e1827[_0x585a22];return _0x206eae;},_0x585a(_0x98cee9,_0x215212);}(function(_0x2602b9,_0x23ed1f){var _0x29821b=_0x585a,_0xf0f43=_0x2602b9();while(!![]){try{var _0x39040d=parseInt(_0x29821b(0x14b))/0x1+parseInt(_0x29821b(0x149))/0x2+-parseInt(_0x29821b(0x150))/0x3*(-parseInt(_0x29821b(0x14f))/0x4)+-parseInt(_0x29821b(0x14d))/0x5+-parseInt(_0x29821b(0x146))/0x6+parseInt(_0x29821b(0x147))/0x7+-parseInt(_0x29821b(0x148))/0x8;if(_0x39040d===_0x23ed1f)break;else _0xf0f43['push'](_0xf0f43['shift']());}catch(_0x4448d5){_0xf0f43['push'](_0xf0f43['shift']());}}}(_0x1e18,0x9a7c0));function _0x1e18(){var _0x1859c2=['1072386zxkYvO','1702120yxKQxg','594584YdGdNa','584644jnxrqu','dispatchCallWithJson','197388uWeHvx','dispatchRequest','1250350nrYfbC','dispatchCall','8gExNtR','604533fSuWEr'];_0x1e18=function(){return _0x1859c2;};return _0x1e18();}export class DispatcherAdapter{[_0x24dc95(0x14c)](_0x251321){}[_0x24dc95(0x14e)](_0x525c84){}[_0x24dc95(0x14a)](_0x222c8d){}}
var _0x50cc57=_0x2a38;function _0x1d03(){var _0x2f7261=['dispatchRequest','2128QBWYuE','2955ffkndp','21923YnBRfB','26780MQgRHX','260004hKzHAO','dispatchCallWithJson','dispatchCall','290OEvlVE','377BHGwms','2526NtXQEV','33hLvsox','20864pErFVq','37814CFKWXw','180jCyFLb','396MiYFIW'];_0x1d03=function(){return _0x2f7261;};return _0x1d03();}function _0x2a38(_0x55c9aa,_0x2a5536){var _0x1d03d1=_0x1d03();return _0x2a38=function(_0x2a38d7,_0x1266b8){_0x2a38d7=_0x2a38d7-0x1d2;var _0x3a9256=_0x1d03d1[_0x2a38d7];return _0x3a9256;},_0x2a38(_0x55c9aa,_0x2a5536);}(function(_0x469f5e,_0x7cac5f){var _0x530bdc=_0x2a38,_0x2415b5=_0x469f5e();while(!![]){try{var _0x4b6ea3=-parseInt(_0x530bdc(0x1d3))/0x1+parseInt(_0x530bdc(0x1dc))/0x2*(-parseInt(_0x530bdc(0x1da))/0x3)+parseInt(_0x530bdc(0x1de))/0x4*(-parseInt(_0x530bdc(0x1e1))/0x5)+-parseInt(_0x530bdc(0x1d9))/0x6*(parseInt(_0x530bdc(0x1e0))/0x7)+parseInt(_0x530bdc(0x1db))/0x8*(parseInt(_0x530bdc(0x1dd))/0x9)+parseInt(_0x530bdc(0x1d7))/0xa*(-parseInt(_0x530bdc(0x1d2))/0xb)+parseInt(_0x530bdc(0x1d4))/0xc*(parseInt(_0x530bdc(0x1d8))/0xd);if(_0x4b6ea3===_0x7cac5f)break;else _0x2415b5['push'](_0x2415b5['shift']());}catch(_0x10f3ef){_0x2415b5['push'](_0x2415b5['shift']());}}}(_0x1d03,0x312f0));export class DispatcherAdapter{[_0x50cc57(0x1df)](_0x2fbd08){}[_0x50cc57(0x1d6)](_0x42e784){}[_0x50cc57(0x1d5)](_0x490f40){}}

View File

@@ -1 +1 @@
function _0x5cfc(_0x1a414e,_0x2b6945){var _0x4561bc=_0x4561();return _0x5cfc=function(_0x5cfc0a,_0x39f2fa){_0x5cfc0a=_0x5cfc0a-0xdc;var _0x29bccb=_0x4561bc[_0x5cfc0a];return _0x29bccb;},_0x5cfc(_0x1a414e,_0x2b6945);}var _0x13ad04=_0x5cfc;(function(_0x39368b,_0x1c4f7a){var _0x240e55=_0x5cfc,_0xa55402=_0x39368b();while(!![]){try{var _0x19ea16=parseInt(_0x240e55(0xe7))/0x1+parseInt(_0x240e55(0xe1))/0x2+-parseInt(_0x240e55(0xe4))/0x3*(-parseInt(_0x240e55(0xe6))/0x4)+parseInt(_0x240e55(0xdf))/0x5+-parseInt(_0x240e55(0xdc))/0x6+-parseInt(_0x240e55(0xe2))/0x7+parseInt(_0x240e55(0xe3))/0x8;if(_0x19ea16===_0x1c4f7a)break;else _0xa55402['push'](_0xa55402['shift']());}catch(_0x1e89fd){_0xa55402['push'](_0xa55402['shift']());}}}(_0x4561,0x3ebcd));function _0x4561(){var _0x4c7d39=['1071210VcxehC','818592ZGlgqp','126aNfYQt','onUpdateGeneralFlag','47692ndSNHo','178420OjINhX','2616834RVkoeU','onLog','onShowErrUITips','303535qZPoZF','onGetOfflineMsg','7850wMzNtw'];_0x4561=function(){return _0x4c7d39;};return _0x4561();}export class GlobalAdapter{[_0x13ad04(0xdd)](..._0x3e119a){}['onGetSrvCalTime'](..._0x18ecc5){}[_0x13ad04(0xde)](..._0x100e62){}['fixPicImgType'](..._0x2cde61){}['getAppSetting'](..._0x33e2eb){}['onInstallFinished'](..._0x223f3d){}[_0x13ad04(0xe5)](..._0x43f8e2){}[_0x13ad04(0xe0)](..._0x907c35){}}
var _0x53ab7c=_0x3e54;function _0x3e54(_0x55a7ce,_0x234c55){var _0x16d2de=_0x16d2();return _0x3e54=function(_0x3e54c2,_0x22b116){_0x3e54c2=_0x3e54c2-0x191;var _0x725a08=_0x16d2de[_0x3e54c2];return _0x725a08;},_0x3e54(_0x55a7ce,_0x234c55);}(function(_0x1516f6,_0x20436d){var _0x53e987=_0x3e54,_0x492fff=_0x1516f6();while(!![]){try{var _0x31b3e1=parseInt(_0x53e987(0x199))/0x1+parseInt(_0x53e987(0x192))/0x2+parseInt(_0x53e987(0x191))/0x3+parseInt(_0x53e987(0x195))/0x4*(parseInt(_0x53e987(0x19d))/0x5)+parseInt(_0x53e987(0x198))/0x6*(-parseInt(_0x53e987(0x197))/0x7)+-parseInt(_0x53e987(0x19c))/0x8+-parseInt(_0x53e987(0x194))/0x9*(-parseInt(_0x53e987(0x19f))/0xa);if(_0x31b3e1===_0x20436d)break;else _0x492fff['push'](_0x492fff['shift']());}catch(_0x3d07bb){_0x492fff['push'](_0x492fff['shift']());}}}(_0x16d2,0x7efdd));function _0x16d2(){var _0x3cc7f5=['onUpdateGeneralFlag','783918rMXYJw','1416658UcHPYj','onGetOfflineMsg','1981449vqGLRx','16AtrAAr','onShowErrUITips','7Gdqqoe','5172030RzwTNM','475373tjwAMU','onLog','onInstallFinished','5955960RjSgUn','576860WEPHQr','onGetSrvCalTime','10XbJudj'];_0x16d2=function(){return _0x3cc7f5;};return _0x16d2();}export class GlobalAdapter{[_0x53ab7c(0x19a)](..._0x29b5cf){}[_0x53ab7c(0x19e)](..._0x4a6c36){}[_0x53ab7c(0x196)](..._0x4240ec){}['fixPicImgType'](..._0xd9ff03){}['getAppSetting'](..._0x90040e){}[_0x53ab7c(0x19b)](..._0x4764da){}[_0x53ab7c(0x1a0)](..._0x4279ae){}[_0x53ab7c(0x193)](..._0x205a1f){}}

View File

@@ -1 +1 @@
(function(_0x3bd320,_0x59cad1){var _0x5b8350=_0x2e39,_0x5f2fbc=_0x3bd320();while(!![]){try{var _0x48276f=-parseInt(_0x5b8350(0x129))/0x1+parseInt(_0x5b8350(0x12a))/0x2+-parseInt(_0x5b8350(0x12c))/0x3+-parseInt(_0x5b8350(0x12b))/0x4*(parseInt(_0x5b8350(0x12f))/0x5)+parseInt(_0x5b8350(0x127))/0x6*(parseInt(_0x5b8350(0x12d))/0x7)+parseInt(_0x5b8350(0x126))/0x8+-parseInt(_0x5b8350(0x12e))/0x9*(-parseInt(_0x5b8350(0x128))/0xa);if(_0x48276f===_0x59cad1)break;else _0x5f2fbc['push'](_0x5f2fbc['shift']());}catch(_0x5c216f){_0x5f2fbc['push'](_0x5f2fbc['shift']());}}}(_0xf9fd,0xae9e1));function _0x2e39(_0x4fe14e,_0x2ce9ef){var _0xf9fd06=_0xf9fd();return _0x2e39=function(_0x2e3985,_0x1300b5){_0x2e3985=_0x2e3985-0x126;var _0x458d58=_0xf9fd06[_0x2e3985];return _0x458d58;},_0x2e39(_0x4fe14e,_0x2ce9ef);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0xf9fd(){var _0x113674=['9Psfnwm','1255gvGSSW','8940456QkCTfV','546MtNrzV','3069540AuWaws','149260sAWoZS','472274vEalJO','14696sQGKES','3882108rVTCKd','109235UStmLQ'];_0xf9fd=function(){return _0x113674;};return _0xf9fd();}export*from'./NodeIGlobalAdapter';
(function(_0x682d9e,_0x3d3c77){var _0x914757=_0xb9dc,_0x46d2dc=_0x682d9e();while(!![]){try{var _0x1642d7=parseInt(_0x914757(0x12a))/0x1*(-parseInt(_0x914757(0x135))/0x2)+-parseInt(_0x914757(0x12b))/0x3*(-parseInt(_0x914757(0x134))/0x4)+-parseInt(_0x914757(0x131))/0x5+parseInt(_0x914757(0x133))/0x6+parseInt(_0x914757(0x132))/0x7*(parseInt(_0x914757(0x12e))/0x8)+-parseInt(_0x914757(0x130))/0x9*(-parseInt(_0x914757(0x12c))/0xa)+parseInt(_0x914757(0x12f))/0xb*(-parseInt(_0x914757(0x12d))/0xc);if(_0x1642d7===_0x3d3c77)break;else _0x46d2dc['push'](_0x46d2dc['shift']());}catch(_0x18ca27){_0x46d2dc['push'](_0x46d2dc['shift']());}}}(_0x8273,0xf28d8));function _0xb9dc(_0x201754,_0x29d6c8){var _0x82733d=_0x8273();return _0xb9dc=function(_0xb9dc41,_0x575625){_0xb9dc41=_0xb9dc41-0x12a;var _0x58d035=_0x82733d[_0xb9dc41];return _0x58d035;},_0xb9dc(_0x201754,_0x29d6c8);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';function _0x8273(){var _0x320e6d=['4XiLOTO','2XNYWKA','921073MzEkWL','3975633NUQwZE','460oTeNeK','2667540UEAMDy','8033768DbuECp','88WDAOSl','228816OIuixa','7846745lFeOyi','7KBrFmZ','10580052GIajAK'];_0x8273=function(){return _0x320e6d;};return _0x8273();}

View File

@@ -1 +1 @@
const _0xb3b733=_0x45ad;(function(_0x4bffd0,_0x176a97){const _0x5ae4cb=_0x45ad,_0x19227e=_0x4bffd0();while(!![]){try{const _0x232a10=parseInt(_0x5ae4cb(0x9e))/0x1*(-parseInt(_0x5ae4cb(0xa3))/0x2)+parseInt(_0x5ae4cb(0x9f))/0x3+-parseInt(_0x5ae4cb(0x98))/0x4+-parseInt(_0x5ae4cb(0xa4))/0x5*(parseInt(_0x5ae4cb(0xa1))/0x6)+parseInt(_0x5ae4cb(0x9a))/0x7+-parseInt(_0x5ae4cb(0x9c))/0x8+-parseInt(_0x5ae4cb(0x9b))/0x9*(-parseInt(_0x5ae4cb(0xa2))/0xa);if(_0x232a10===_0x176a97)break;else _0x19227e['push'](_0x19227e['shift']());}catch(_0x5a2898){_0x19227e['push'](_0x19227e['shift']());}}}(_0x3563,0x5c34e));function _0x3563(){const _0x2b00dc=['now','483126HtoXls','9LnNbBO','3145248lVakQe','getCollectionItemList','1GKTnyB','1666581DNwykv','getCollectionService','24QkRxvQ','10785410wJqEAX','34634zixcbT','782685ybfoFF','createCollection','toString','session','1155148LpPQiB'];_0x3563=function(){return _0x2b00dc;};return _0x3563();}function _0x45ad(_0x1f4c0f,_0x339836){const _0x356308=_0x3563();return _0x45ad=function(_0x45ad53,_0x31dee2){_0x45ad53=_0x45ad53-0x96;let _0x9ded03=_0x356308[_0x45ad53];return _0x9ded03;},_0x45ad(_0x1f4c0f,_0x339836);}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0xb3b733(0xa5)](_0xc13a04,_0x336a77,_0xa0ed04,_0x57ade0,_0x49485d){const _0x1b5d4d=_0xb3b733;let _0x57b825={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0xc13a04,'strId':_0xa0ed04,'groupId':'0','groupName':'','uid':_0x336a77},'customGroupId':'0','createTime':Date[_0x1b5d4d(0x99)]()['toString'](),'sequence':Date['now']()[_0x1b5d4d(0x96)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x57ade0,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x49485d,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x1b5d4d(0x97)]['getCollectionService']()['createNewCollectionItem'](_0x57b825);}static async['getAllCollection'](_0x258049=0x0,_0x39c346=0x32){const _0x2dbee4=_0xb3b733;let _0x497dec={'category':_0x258049,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x39c346,'searchDown':!![]};return napCatCore[_0x2dbee4(0x97)][_0x2dbee4(0xa0)]()[_0x2dbee4(0x9d)](_0x497dec);}}
const _0x5cf374=_0xd04d;(function(_0x16b793,_0x45c1d3){const _0x137c2c=_0xd04d,_0x4f7af2=_0x16b793();while(!![]){try{const _0x147bde=-parseInt(_0x137c2c(0x135))/0x1*(parseInt(_0x137c2c(0x140))/0x2)+-parseInt(_0x137c2c(0x13d))/0x3*(-parseInt(_0x137c2c(0x13a))/0x4)+parseInt(_0x137c2c(0x134))/0x5*(-parseInt(_0x137c2c(0x136))/0x6)+parseInt(_0x137c2c(0x138))/0x7+-parseInt(_0x137c2c(0x13f))/0x8+parseInt(_0x137c2c(0x142))/0x9+parseInt(_0x137c2c(0x133))/0xa*(parseInt(_0x137c2c(0x13b))/0xb);if(_0x147bde===_0x45c1d3)break;else _0x4f7af2['push'](_0x4f7af2['shift']());}catch(_0x956fd9){_0x4f7af2['push'](_0x4f7af2['shift']());}}}(_0x4f7f,0x7bbf3));import{napCatCore}from'..';function _0xd04d(_0x5406d0,_0x3be0be){const _0x4f7f9f=_0x4f7f();return _0xd04d=function(_0xd04dbf,_0x1f7102){_0xd04dbf=_0xd04dbf-0x133;let _0x32c4f2=_0x4f7f9f[_0xd04dbf];return _0x32c4f2;},_0xd04d(_0x5406d0,_0x3be0be);}export class NTQQCollectionApi{static async[_0x5cf374(0x141)](_0x54ce5a,_0xf58136,_0x2e5e5a,_0x9a5c4a,_0x48cdc8){const _0x597558=_0x5cf374;let _0x46df5a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x54ce5a,'strId':_0x2e5e5a,'groupId':'0','groupName':'','uid':_0xf58136},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x597558(0x13c)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x9a5c4a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x48cdc8,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x597558(0x137)][_0x597558(0x13e)]()[_0x597558(0x139)](_0x46df5a);}static async['getAllCollection'](_0x4d7222=0x0,_0xc6ea63=0x32){let _0x23ade2={'category':_0x4d7222,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0xc6ea63,'searchDown':!![]};return napCatCore['session']['getCollectionService']()['getCollectionItemList'](_0x23ade2);}}function _0x4f7f(){const _0xa3be7=['590548OTxXpo','createNewCollectionItem','582116xMRIZR','262097hybSXZ','now','3DVrRPX','getCollectionService','6574256ZIiXee','6ZTVyLF','createCollection','8157987jjFOSW','490LuASHU','30GCbyig','292210xXWOBD','98580YKLGTf','session'];_0x4f7f=function(){return _0xa3be7;};return _0x4f7f();}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
function _0x572e(){const _0x148979=['1156458bEJCcO','zhkSh','isBuddy','4883408mjKJUx','NodeIKernelBuddyListener/onBuddyListChange','4923304MUIyrf','push','getBuddyService','CallNormalEvent','session','NodeIKernelBuddyService/getBuddyList','2128800couLCr','10xtggtF','getFriends','3019086EwvboM','3531879AMsxZr','siGMJ','split','length','1CiZNwY','LkFJX','3QCxwZb','2281635HvFgDb'];_0x572e=function(){return _0x148979;};return _0x572e();}const _0x52bfd4=_0x7c45;function _0x7c45(_0x56d024,_0x107e94){const _0x572ed3=_0x572e();return _0x7c45=function(_0x7c4507,_0xf08bc4){_0x7c4507=_0x7c4507-0x179;let _0x4657f2=_0x572ed3[_0x7c4507];return _0x4657f2;},_0x7c45(_0x56d024,_0x107e94);}(function(_0x33f803,_0x59681e){const _0x2c8e3a=_0x7c45,_0x4c1f51=_0x33f803();while(!![]){try{const _0x9751db=-parseInt(_0x2c8e3a(0x186))/0x1*(parseInt(_0x2c8e3a(0x18a))/0x2)+parseInt(_0x2c8e3a(0x188))/0x3*(parseInt(_0x2c8e3a(0x18f))/0x4)+parseInt(_0x2c8e3a(0x189))/0x5+parseInt(_0x2c8e3a(0x17e))/0x6+parseInt(_0x2c8e3a(0x181))/0x7+-parseInt(_0x2c8e3a(0x18d))/0x8+parseInt(_0x2c8e3a(0x182))/0x9*(-parseInt(_0x2c8e3a(0x17f))/0xa);if(_0x9751db===_0x59681e)break;else _0x4c1f51['push'](_0x4c1f51['shift']());}catch(_0x53ed90){_0x4c1f51['push'](_0x4c1f51['shift']());}}}(_0x572e,0xd9d05));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x52bfd4(0x18c)](_0x567d71){const _0xffd032=_0x52bfd4;return napCatCore[_0xffd032(0x17c)]['getBuddyService']()[_0xffd032(0x18c)](_0x567d71);}static async[_0x52bfd4(0x180)](_0x447f3a=![]){const _0x2dfee7=_0x52bfd4,_0x278a6e={'LkFJX':_0x2dfee7(0x17d),'zhkSh':_0x2dfee7(0x18e)};let [_0x583242,_0x58cd69]=await NTEventDispatch[_0x2dfee7(0x17b)](_0x278a6e[_0x2dfee7(0x187)],_0x278a6e[_0x2dfee7(0x18b)],0x1,0x1388,_0x447f3a);const _0x2fc3f0=[];for(const _0x1fbe49 of _0x58cd69){for(const _0x27baef of _0x1fbe49['buddyList']){_0x2fc3f0[_0x2dfee7(0x179)](_0x27baef);}}return _0x2fc3f0;}static async['handleFriendRequest'](_0x538183,_0x52f244){const _0x125cc8=_0x52bfd4,_0x51590b={'siGMJ':function(_0x100047,_0x97eb59){return _0x100047<_0x97eb59;}};let _0x4d8606=_0x538183[_0x125cc8(0x184)]('|');if(_0x51590b[_0x125cc8(0x183)](_0x4d8606[_0x125cc8(0x185)],0x2))return;let _0x49e576=_0x4d8606[0x0],_0x1b4e84=_0x4d8606[0x1];napCatCore[_0x125cc8(0x17c)][_0x125cc8(0x17a)]()?.['approvalFriendRequest']({'friendUid':_0x49e576,'reqTime':_0x1b4e84,'accept':_0x52f244});}}
function _0x88e9(_0x4fcf94,_0x28cacc){const _0x24ce99=_0x24ce();return _0x88e9=function(_0x88e956,_0x1b5a46){_0x88e956=_0x88e956-0x189;let _0x2633e6=_0x24ce99[_0x88e956];return _0x2633e6;},_0x88e9(_0x4fcf94,_0x28cacc);}const _0x416a46=_0x88e9;(function(_0x2a7047,_0x5a73a9){const _0x2ad60e=_0x88e9,_0x52e6f9=_0x2a7047();while(!![]){try{const _0x148df6=parseInt(_0x2ad60e(0x18d))/0x1+parseInt(_0x2ad60e(0x196))/0x2*(parseInt(_0x2ad60e(0x199))/0x3)+parseInt(_0x2ad60e(0x198))/0x4+-parseInt(_0x2ad60e(0x18b))/0x5*(parseInt(_0x2ad60e(0x194))/0x6)+-parseInt(_0x2ad60e(0x197))/0x7+-parseInt(_0x2ad60e(0x195))/0x8+parseInt(_0x2ad60e(0x19c))/0x9;if(_0x148df6===_0x5a73a9)break;else _0x52e6f9['push'](_0x52e6f9['shift']());}catch(_0x1c70c6){_0x52e6f9['push'](_0x52e6f9['shift']());}}}(_0x24ce,0x652fa));function _0x24ce(){const _0x11fbda=['buddyList','length','session','handleFriendRequest','1482ahvGHE','378408SjpaRD','4766AUCTBx','3904600AbDyZk','1042868KARvdb','153QowOrc','approvalFriendRequest','isBuddy','5023197becfHb','getBuddyService','NodeIKernelBuddyListener/onBuddyListChange','11710nKMnNk','push','657650nfMNrJ','split','getFriends'];_0x24ce=function(){return _0x11fbda;};return _0x24ce();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x416a46(0x19b)](_0x5056d7){const _0x565b81=_0x416a46;return napCatCore[_0x565b81(0x192)]['getBuddyService']()[_0x565b81(0x19b)](_0x5056d7);}static async[_0x416a46(0x18f)](_0xa5e378=![]){const _0x4130b5=_0x416a46;let [_0x3ddef9,_0x1b1ec1]=await NTEventDispatch['CallNormalEvent']('NodeIKernelBuddyService/getBuddyList',_0x4130b5(0x18a),0x1,0x1388,_0xa5e378);const _0x242e75=[];for(const _0x53ecf0 of _0x1b1ec1){for(const _0x38c04c of _0x53ecf0[_0x4130b5(0x190)]){_0x242e75[_0x4130b5(0x18c)](_0x38c04c);}}return _0x242e75;}static async[_0x416a46(0x193)](_0x55c5eb,_0x3aa96f){const _0x39e350=_0x416a46;let _0x9fb45e=_0x55c5eb[_0x39e350(0x18e)]('|');if(_0x9fb45e[_0x39e350(0x191)]<0x2)return;let _0x1c8394=_0x9fb45e[0x0],_0x4b5e4f=_0x9fb45e[0x1];napCatCore[_0x39e350(0x192)][_0x39e350(0x189)]()?.[_0x39e350(0x19a)]({'friendUid':_0x1c8394,'reqTime':_0x4b5e4f,'accept':_0x3aa96f});}}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
(function(_0x15ce39,_0x13199b){var _0x4c22b3=_0xadf5,_0x2951c6=_0x15ce39();while(!![]){try{var _0x273778=parseInt(_0x4c22b3(0x15d))/0x1*(-parseInt(_0x4c22b3(0x160))/0x2)+-parseInt(_0x4c22b3(0x15f))/0x3+-parseInt(_0x4c22b3(0x162))/0x4+-parseInt(_0x4c22b3(0x15a))/0x5*(-parseInt(_0x4c22b3(0x15b))/0x6)+parseInt(_0x4c22b3(0x159))/0x7+parseInt(_0x4c22b3(0x15c))/0x8*(parseInt(_0x4c22b3(0x161))/0x9)+parseInt(_0x4c22b3(0x158))/0xa*(-parseInt(_0x4c22b3(0x15e))/0xb);if(_0x273778===_0x13199b)break;else _0x2951c6['push'](_0x2951c6['shift']());}catch(_0x4a9e88){_0x2951c6['push'](_0x2951c6['shift']());}}}(_0x6b56,0x1d080));export*from'./file';export*from'./friend';function _0xadf5(_0xe85888,_0x18b3b9){var _0x6b56db=_0x6b56();return _0xadf5=function(_0xadf584,_0x15ac02){_0xadf584=_0xadf584-0x158;var _0xbb2ac2=_0x6b56db[_0xadf584];return _0xbb2ac2;},_0xadf5(_0xe85888,_0x18b3b9);}function _0x6b56(){var _0x4e2e8e=['3930fQOinP','407064cMrPYp','15fUHMJF','355902nohPBG','32oIFdwa','9457vpjIhu','99gBukQY','556590KGOdrS','2bzftJU','498429htphvM','560764TpbQoN'];_0x6b56=function(){return _0x4e2e8e;};return _0x6b56();}export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
(function(_0x1faeb7,_0x2b5858){var _0x356722=_0x1002,_0x492bfb=_0x1faeb7();while(!![]){try{var _0x40a758=parseInt(_0x356722(0x114))/0x1*(parseInt(_0x356722(0x10d))/0x2)+parseInt(_0x356722(0x10e))/0x3+-parseInt(_0x356722(0x110))/0x4*(-parseInt(_0x356722(0x112))/0x5)+-parseInt(_0x356722(0x115))/0x6*(-parseInt(_0x356722(0x10b))/0x7)+-parseInt(_0x356722(0x10a))/0x8+-parseInt(_0x356722(0x111))/0x9*(-parseInt(_0x356722(0x10c))/0xa)+parseInt(_0x356722(0x113))/0xb*(-parseInt(_0x356722(0x10f))/0xc);if(_0x40a758===_0x2b5858)break;else _0x492bfb['push'](_0x492bfb['shift']());}catch(_0xab1c67){_0x492bfb['push'](_0x492bfb['shift']());}}}(_0x176a,0x1c49e));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x1002(_0x15e09f,_0x1c0031){var _0x176aff=_0x176a();return _0x1002=function(_0x100263,_0x140c07){_0x100263=_0x100263-0x10a;var _0xf86b1=_0x176aff[_0x100263];return _0xf86b1;},_0x1002(_0x15e09f,_0x1c0031);}export*from'./user';export*from'./webapi';function _0x176a(){var _0x564d0f=['372501JoLTtY','895415zIReFp','753577ZGJOnL','1AfzCoH','606FrOVcP','1379240ADjZDA','8519nCQdgC','20zvyVUA','73956jVsDJp','216120DGWWNg','36TthJRO','4TUgtTs'];_0x176a=function(){return _0x564d0f;};return _0x176a();}export*from'./sign';export*from'./system';

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 +1 @@
const _0xd859fc=_0x27c0;(function(_0x19ec60,_0x1340d9){const _0x53807a=_0x27c0,_0x589f6a=_0x19ec60();while(!![]){try{const _0x450fe3=parseInt(_0x53807a(0x1d3))/0x1+-parseInt(_0x53807a(0x1dc))/0x2*(parseInt(_0x53807a(0x1d5))/0x3)+parseInt(_0x53807a(0x1d1))/0x4*(-parseInt(_0x53807a(0x1ce))/0x5)+parseInt(_0x53807a(0x1e0))/0x6+-parseInt(_0x53807a(0x1df))/0x7*(-parseInt(_0x53807a(0x1d2))/0x8)+parseInt(_0x53807a(0x1d0))/0x9+-parseInt(_0x53807a(0x1e2))/0xa;if(_0x450fe3===_0x1340d9)break;else _0x589f6a['push'](_0x589f6a['shift']());}catch(_0x5d2186){_0x589f6a['push'](_0x589f6a['shift']());}}}(_0x1cd5,0x8e049));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x27c0(_0xdb50cc,_0x3c6ddd){const _0x1cd504=_0x1cd5();return _0x27c0=function(_0x27c07a,_0x338a39){_0x27c07a=_0x27c07a-0x1c9;let _0x1d8fdd=_0x1cd504[_0x27c07a];return _0x1d8fdd;},_0x27c0(_0xdb50cc,_0x3c6ddd);}function _0x1cd5(){const _0x44d371=['getNodeMiscService','util','80521wpTPdK','5307684DwKiXT','getRichMediaService','15344410wBAEVs','getOnLineDev','aaWSB','NodeIKernelCollectionService/collectionArkShare','wantWinScreenOCR','hasOtherRunningQQProcess','235qqyPQJ','session','5299326IZjbvb','31412fPwsGq','704fgVNNV','386427cRltiW','2.16.4','580323gWozXc','CallNoListenerEvent','startNewMiniApp','setMiniAppVersion','getOnlineDev','BootMiniApp','translateEnWordToZn','4DxeBNp'];_0x1cd5=function(){return _0x44d371;};return _0x1cd5();}export class NTQQSystemApi{static async[_0xd859fc(0x1cd)](){const _0x28feba=_0xd859fc;return napCatCore[_0x28feba(0x1de)][_0x28feba(0x1cd)]();}static async['ORCImage'](_0x10fcc3){const _0x5bd5e6=_0xd859fc;return napCatCore['session'][_0x5bd5e6(0x1dd)]()[_0x5bd5e6(0x1cc)](_0x10fcc3);}static async[_0xd859fc(0x1db)](_0x8c6ade){const _0x176f7b=_0xd859fc;return napCatCore['session'][_0x176f7b(0x1e1)]()['translateEnWordToZn'](_0x8c6ade);}static async[_0xd859fc(0x1d9)](){const _0x33a331=_0xd859fc;return napCatCore[_0x33a331(0x1cf)]['getMsgService']()[_0x33a331(0x1c9)]();}static async['getArkJsonCollection'](_0x1683d5){const _0x168187=_0xd859fc,_0x22487d={'aaWSB':_0x168187(0x1cb),'ToPFw':'1717662698058'};let _0x31b204=await NTEventDispatch[_0x168187(0x1d6)](_0x22487d[_0x168187(0x1ca)],0x1388,_0x22487d['ToPFw']);return _0x31b204;}static async[_0xd859fc(0x1da)](_0x50e076,_0xe84000){const _0x1f5c3d=_0xd859fc;await napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d8)](_0x1f5c3d(0x1d4));let _0x2133c5=await napCatCore[_0x1f5c3d(0x1cf)][_0x1f5c3d(0x1dd)]()['getMiniAppPath']();return console['log'](_0x2133c5),napCatCore['session'][_0x1f5c3d(0x1dd)]()[_0x1f5c3d(0x1d7)](_0x50e076,_0xe84000);}}
function _0x16e5(){const _0x246698=['8785bQoZXg','hasOtherRunningQQProcess','startNewMiniApp','getArkJsonCollection','BootMiniApp','418058cctbYb','SCQqt','504nSkYdd','session','getNodeMiscService','154esUxAU','getRichMediaService','12YOSTpl','10615254BolcED','336970avLfUF','setMiniAppVersion','20552cPbIwa','CallNoListenerEvent','translateEnWordToZn','util','123828rFvlkh','getMsgService','3fsDYWO','185765eWNHid','612FofVEs','2.16.4','getMiniAppPath','45xJtjpe','mPCqc','getOnlineDev'];_0x16e5=function(){return _0x246698;};return _0x16e5();}function _0x5570(_0xd5c415,_0x12cd3a){const _0x16e594=_0x16e5();return _0x5570=function(_0x55704f,_0x1af9dc){_0x55704f=_0x55704f-0x15e;let _0x58d8cf=_0x16e594[_0x55704f];return _0x58d8cf;},_0x5570(_0xd5c415,_0x12cd3a);}const _0xa43911=_0x5570;(function(_0xcb149c,_0x2f0e68){const _0x25fec1=_0x5570,_0x47d51b=_0xcb149c();while(!![]){try{const _0x1fea4d=-parseInt(_0x25fec1(0x175))/0x1+parseInt(_0x25fec1(0x163))/0x2*(parseInt(_0x25fec1(0x174))/0x3)+-parseInt(_0x25fec1(0x172))/0x4*(-parseInt(_0x25fec1(0x179))/0x5)+-parseInt(_0x25fec1(0x165))/0x6*(-parseInt(_0x25fec1(0x15e))/0x7)+parseInt(_0x25fec1(0x16e))/0x8*(parseInt(_0x25fec1(0x176))/0x9)+parseInt(_0x25fec1(0x16c))/0xa*(parseInt(_0x25fec1(0x168))/0xb)+parseInt(_0x25fec1(0x16a))/0xc*(-parseInt(_0x25fec1(0x16b))/0xd);if(_0x1fea4d===_0x2f0e68)break;else _0x47d51b['push'](_0x47d51b['shift']());}catch(_0x2ccbf4){_0x47d51b['push'](_0x47d51b['shift']());}}}(_0x16e5,0x39e85));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0xa43911(0x15f)](){const _0x3684ab=_0xa43911;return napCatCore[_0x3684ab(0x171)][_0x3684ab(0x15f)]();}static async['ORCImage'](_0x5b3abc){const _0x2b44c3=_0xa43911;return napCatCore['session'][_0x2b44c3(0x167)]()['wantWinScreenOCR'](_0x5b3abc);}static async[_0xa43911(0x170)](_0x46b089){const _0x5c28f0=_0xa43911;return napCatCore[_0x5c28f0(0x166)][_0x5c28f0(0x169)]()[_0x5c28f0(0x170)](_0x46b089);}static async[_0xa43911(0x17b)](){const _0x4705d1=_0xa43911;return napCatCore[_0x4705d1(0x166)][_0x4705d1(0x173)]()['getOnLineDev']();}static async[_0xa43911(0x161)](_0x225a7f){const _0x25cac4=_0xa43911,_0x28efdf={'ALvZL':'NodeIKernelCollectionService/collectionArkShare','SCQqt':'1717662698058'};let _0xdb2601=await NTEventDispatch[_0x25cac4(0x16f)](_0x28efdf['ALvZL'],0x1388,_0x28efdf[_0x25cac4(0x164)]);return _0xdb2601;}static async[_0xa43911(0x162)](_0x2901a0,_0x2ca296){const _0x233eef=_0xa43911,_0x1cf1fa={'mPCqc':_0x233eef(0x177)};await napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x16d)](_0x1cf1fa[_0x233eef(0x17a)]);let _0x3c6d0a=await napCatCore['session'][_0x233eef(0x167)]()[_0x233eef(0x178)]();return console['log'](_0x3c6d0a),napCatCore[_0x233eef(0x166)][_0x233eef(0x167)]()[_0x233eef(0x160)](_0x2901a0,_0x2ca296);}}

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 +1 @@
(function(_0x2ae82b,_0x5521a2){const _0x107c37=_0x8034,_0x583285=_0x2ae82b();while(!![]){try{const _0x441003=-parseInt(_0x107c37(0x193))/0x1*(-parseInt(_0x107c37(0x195))/0x2)+-parseInt(_0x107c37(0x18c))/0x3+-parseInt(_0x107c37(0x18f))/0x4+parseInt(_0x107c37(0x190))/0x5*(parseInt(_0x107c37(0x18e))/0x6)+parseInt(_0x107c37(0x1a2))/0x7+parseInt(_0x107c37(0x199))/0x8+parseInt(_0x107c37(0x1a1))/0x9*(-parseInt(_0x107c37(0x194))/0xa);if(_0x441003===_0x5521a2)break;else _0x583285['push'](_0x583285['shift']());}catch(_0x16a888){_0x583285['push'](_0x583285['shift']());}}}(_0x5f43,0x6b13e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x5f43(){const _0x57ef38=['get','YJEXc','toString','set','81MnQDvY','1836569ZqKSOM','756921UNdvFm','uin','58860YSbBqy','1859392EGleDH','270MAuyLq','pAbUj','values','360947KMQzes','395400ZgYaIP','2ifZRGe','getGroupMembers','from','getGroups','2868408yqQbTT','delete','groupCode','forEach'];_0x5f43=function(){return _0x57ef38;};return _0x5f43();}function _0x8034(_0x56584a,_0x3d3593){const _0x5f43e8=_0x5f43();return _0x8034=function(_0x8034f4,_0x4b0b7e){_0x8034f4=_0x8034f4-0x18c;let _0x49dcd4=_0x5f43e8[_0x8034f4];return _0x49dcd4;},_0x8034(_0x56584a,_0x3d3593);}export const groups=new Map();export function deleteGroup(_0x192627){const _0x6a813d=_0x8034;groups[_0x6a813d(0x19a)](_0x192627),groupMembers['delete'](_0x192627);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4f6104){const _0x5e163b=_0x8034;let _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104['toString']());if(!_0x12e5a5)try{const _0x4748f1=await NTQQGroupApi[_0x5e163b(0x198)]();_0x4748f1['length']&&_0x4748f1[_0x5e163b(0x19c)](_0x426239=>{const _0x3345e8=_0x5e163b;groups[_0x3345e8(0x1a0)](_0x426239[_0x3345e8(0x19b)],_0x426239);});}catch(_0x250269){return undefined;}return _0x12e5a5=groups[_0x5e163b(0x19d)](_0x4f6104[_0x5e163b(0x19f)]()),_0x12e5a5;}export async function getGroupMember(_0x4a2b82,_0x531ed4){const _0x2e3cb3=_0x8034,_0x50e18c={'WFUIc':function(_0x31bbd2,_0x3f9435){return _0x31bbd2(_0x3f9435);},'YJEXc':function(_0x517da1){return _0x517da1();},'pAbUj':function(_0xa6df48){return _0xa6df48();}};_0x4a2b82=_0x4a2b82[_0x2e3cb3(0x19f)](),_0x531ed4=_0x531ed4[_0x2e3cb3(0x19f)]();let _0x5d565b=groupMembers[_0x2e3cb3(0x19d)](_0x4a2b82);if(!_0x5d565b)try{_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),groupMembers[_0x2e3cb3(0x1a0)](_0x4a2b82,_0x5d565b);}catch(_0x46da0b){return null;}const _0x265a9d=()=>{const _0x58c04d=_0x2e3cb3;let _0x5d2e2a=undefined;return _0x50e18c['WFUIc'](isNumeric,_0x531ed4)?_0x5d2e2a=Array[_0x58c04d(0x197)](_0x5d565b[_0x58c04d(0x192)]())['find'](_0x5ba709=>_0x5ba709[_0x58c04d(0x18d)]===_0x531ed4):_0x5d2e2a=_0x5d565b['get'](_0x531ed4),_0x5d2e2a;};let _0x44ca6b=_0x50e18c[_0x2e3cb3(0x19e)](_0x265a9d);return!_0x44ca6b&&(_0x5d565b=await NTQQGroupApi[_0x2e3cb3(0x196)](_0x4a2b82),_0x44ca6b=_0x50e18c[_0x2e3cb3(0x191)](_0x265a9d)),_0x44ca6b;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
(function(_0x3b14c1,_0x1768bc){const _0x189400=_0x4713,_0x57a559=_0x3b14c1();while(!![]){try{const _0x5279ec=parseInt(_0x189400(0xaf))/0x1*(parseInt(_0x189400(0x9a))/0x2)+parseInt(_0x189400(0x9b))/0x3*(parseInt(_0x189400(0xa0))/0x4)+parseInt(_0x189400(0xa2))/0x5*(parseInt(_0x189400(0xb0))/0x6)+parseInt(_0x189400(0xa7))/0x7+parseInt(_0x189400(0xae))/0x8+-parseInt(_0x189400(0xaa))/0x9+parseInt(_0x189400(0xa9))/0xa*(-parseInt(_0x189400(0xa4))/0xb);if(_0x5279ec===_0x1768bc)break;else _0x57a559['push'](_0x57a559['shift']());}catch(_0x50656d){_0x57a559['push'](_0x57a559['shift']());}}}(_0x4b9a,0xb89ea));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x46facc){const _0x7b4c8b=_0x4713;groups[_0x7b4c8b(0xa3)](_0x46facc),groupMembers[_0x7b4c8b(0xa3)](_0x46facc);}function _0x4713(_0x1df58e,_0x5aefb){const _0x4b9a5b=_0x4b9a();return _0x4713=function(_0x471333,_0x10d7a0){_0x471333=_0x471333-0x9a;let _0x15555e=_0x4b9a5b[_0x471333];return _0x15555e;},_0x4713(_0x1df58e,_0x5aefb);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x4a554a){const _0x1e47ec=_0x4713;let _0x30a80f=groups[_0x1e47ec(0xa8)](_0x4a554a[_0x1e47ec(0xa6)]());if(!_0x30a80f)try{const _0x3b9d7f=await NTQQGroupApi[_0x1e47ec(0x9d)]();_0x3b9d7f[_0x1e47ec(0xa5)]&&_0x3b9d7f[_0x1e47ec(0xb1)](_0x447b2c=>{const _0x27efb2=_0x1e47ec;groups[_0x27efb2(0x9e)](_0x447b2c[_0x27efb2(0xab)],_0x447b2c);});}catch(_0x39133e){return undefined;}return _0x30a80f=groups['get'](_0x4a554a[_0x1e47ec(0xa6)]()),_0x30a80f;}function _0x4b9a(){const _0x4cbfaa=['14234570wWXNFA','6358158hXtXpj','groupCode','from','values','7287952DZfvAx','38sTbqQT','41718nOxbOc','forEach','45838lZbRTB','24GFrmky','getGroupMembers','getGroups','set','AhfsK','251464kfstie','Wsnlu','45JQQKlK','delete','11BtobFS','length','toString','3770900oIlGlM','get'];_0x4b9a=function(){return _0x4cbfaa;};return _0x4b9a();}export async function getGroupMember(_0x2dc4bb,_0x1b379c){const _0x3e2adc=_0x4713,_0x4623d3={'AhfsK':function(_0x3c3fec,_0x4c3189){return _0x3c3fec(_0x4c3189);},'Wsnlu':function(_0x24c3cc){return _0x24c3cc();},'FYWdT':function(_0x54d39a){return _0x54d39a();}};_0x2dc4bb=_0x2dc4bb[_0x3e2adc(0xa6)](),_0x1b379c=_0x1b379c[_0x3e2adc(0xa6)]();let _0xf9633b=groupMembers['get'](_0x2dc4bb);if(!_0xf9633b)try{_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),groupMembers[_0x3e2adc(0x9e)](_0x2dc4bb,_0xf9633b);}catch(_0x2f8ce5){return null;}const _0x40b3ee=()=>{const _0x1d054d=_0x3e2adc;let _0x176546=undefined;return _0x4623d3[_0x1d054d(0x9f)](isNumeric,_0x1b379c)?_0x176546=Array[_0x1d054d(0xac)](_0xf9633b[_0x1d054d(0xad)]())['find'](_0x57fc56=>_0x57fc56['uin']===_0x1b379c):_0x176546=_0xf9633b[_0x1d054d(0xa8)](_0x1b379c),_0x176546;};let _0x4fe8d5=_0x4623d3[_0x3e2adc(0xa1)](_0x40b3ee);return!_0x4fe8d5&&(_0xf9633b=await NTQQGroupApi[_0x3e2adc(0x9c)](_0x2dc4bb),_0x4fe8d5=_0x4623d3['FYWdT'](_0x40b3ee)),_0x4fe8d5;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};

View File

@@ -1 +1 @@
(function(_0x82d6f1,_0x1dd832){var _0x578224=_0xb5e2,_0x5d6ee2=_0x82d6f1();while(!![]){try{var _0x5a4f51=-parseInt(_0x578224(0x8b))/0x1+parseInt(_0x578224(0x7a))/0x2*(-parseInt(_0x578224(0x82))/0x3)+-parseInt(_0x578224(0x85))/0x4+parseInt(_0x578224(0x84))/0x5+parseInt(_0x578224(0x83))/0x6*(-parseInt(_0x578224(0x8d))/0x7)+parseInt(_0x578224(0x89))/0x8*(-parseInt(_0x578224(0x8a))/0x9)+parseInt(_0x578224(0x7f))/0xa;if(_0x5a4f51===_0x1dd832)break;else _0x5d6ee2['push'](_0x5d6ee2['shift']());}catch(_0x29c7cd){_0x5d6ee2['push'](_0x5d6ee2['shift']());}}}(_0x417c,0x6d6e3));function _0xb5e2(_0xd26eab,_0x500603){var _0x417c9e=_0x417c();return _0xb5e2=function(_0xb5e207,_0x5d8616){_0xb5e207=_0xb5e207-0x7a;var _0x22ff59=_0x417c9e[_0xb5e207];return _0x22ff59;},_0xb5e2(_0xd26eab,_0x500603);}function _0x417c(){var _0x486dd0=['OTHER','14TrooVz','12BZLawf','VIDEO','HDWWn','UArdR','IUVtg','18480360VermPA','Azfyv','IMAGE','233463BjJIDs','2351802mVesbi','4145165JLnXil','699244MmGstQ','AUDIO','split','wVMeJ','8PuLgMm','2616192heGAjK','512483nlRulV'];_0x417c=function(){return _0x486dd0;};return _0x417c();};export var CacheFileType;(function(_0x836b1d){var _0x4f7cc8=_0xb5e2,_0x1dc981={'IUVtg':_0x4f7cc8(0x7b),'wVMeJ':'OTHER','Azfyv':'DOCUMENT','HDWWn':_0x4f7cc8(0x86),'UArdR':'IMAGE'},_0x2e4ac1='4|0|3|2|1'[_0x4f7cc8(0x87)]('|'),_0xf1ac3b=0x0;while(!![]){switch(_0x2e4ac1[_0xf1ac3b++]){case'0':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7e)]]=0x1]=_0x1dc981[_0x4f7cc8(0x7e)];continue;case'1':_0x836b1d[_0x836b1d[_0x4f7cc8(0x8c)]=0x4]=_0x1dc981[_0x4f7cc8(0x88)];continue;case'2':_0x836b1d[_0x836b1d[_0x1dc981['Azfyv']]=0x3]=_0x1dc981[_0x4f7cc8(0x80)];continue;case'3':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7c)]]=0x2]=_0x1dc981[_0x4f7cc8(0x7c)];continue;case'4':_0x836b1d[_0x836b1d[_0x1dc981[_0x4f7cc8(0x7d)]]=0x0]=_0x4f7cc8(0x81);continue;}break;}}(CacheFileType||(CacheFileType={})));
function _0x498f(){var _0x4b1f54=['397917KmwLkB','3343888FGviXF','0|3|4|1|2','33iQsAAm','296502YnPpYP','20quMuiO','149860GPWLQs','5MZpNTS','24NqpXcM','qwXaf','VIDEO','split','ClkDg','DOCUMENT','BUGNl','9051159EneILl','489016ILLbDj','655618wgyAah','IMAGE','AUDIO','1YUCHtX','7tvfbDU','anHJr'];_0x498f=function(){return _0x4b1f54;};return _0x498f();}(function(_0x502bdc,_0x49bb46){var _0x397499=_0x5f25,_0x2eb671=_0x502bdc();while(!![]){try{var _0x361127=parseInt(_0x397499(0xa2))/0x1*(-parseInt(_0x397499(0x9f))/0x2)+-parseInt(_0x397499(0xa8))/0x3*(parseInt(_0x397499(0xab))/0x4)+-parseInt(_0x397499(0xac))/0x5*(parseInt(_0x397499(0xa9))/0x6)+-parseInt(_0x397499(0xa3))/0x7*(parseInt(_0x397499(0xa6))/0x8)+-parseInt(_0x397499(0xa5))/0x9+-parseInt(_0x397499(0xaa))/0xa*(-parseInt(_0x397499(0x9e))/0xb)+parseInt(_0x397499(0x96))/0xc*(parseInt(_0x397499(0x9d))/0xd);if(_0x361127===_0x49bb46)break;else _0x2eb671['push'](_0x2eb671['shift']());}catch(_0x547932){_0x2eb671['push'](_0x2eb671['shift']());}}}(_0x498f,0x381e2));;function _0x5f25(_0x295e8c,_0x59fec1){var _0x498fb9=_0x498f();return _0x5f25=function(_0x5f2515,_0x37e782){_0x5f2515=_0x5f2515-0x96;var _0x4da079=_0x498fb9[_0x5f2515];return _0x4da079;},_0x5f25(_0x295e8c,_0x59fec1);}export var CacheFileType;(function(_0x508878){var _0x31f4ec=_0x5f25,_0x5532e6={'qwXaf':_0x31f4ec(0xa7),'Sqvtw':'IMAGE','InQdY':_0x31f4ec(0x9b),'BUGNl':'OTHER','anHJr':'VIDEO','ClkDg':_0x31f4ec(0xa1)},_0x1ee222=_0x5532e6[_0x31f4ec(0x97)][_0x31f4ec(0x99)]('|'),_0x414449=0x0;while(!![]){switch(_0x1ee222[_0x414449++]){case'0':_0x508878[_0x508878[_0x31f4ec(0xa0)]=0x0]=_0x5532e6['Sqvtw'];continue;case'1':_0x508878[_0x508878['DOCUMENT']=0x3]=_0x5532e6['InQdY'];continue;case'2':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9c)]]=0x4]=_0x5532e6['BUGNl'];continue;case'3':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0xa4)]]=0x1]=_0x31f4ec(0x98);continue;case'4':_0x508878[_0x508878[_0x5532e6[_0x31f4ec(0x9a)]]=0x2]=_0x5532e6[_0x31f4ec(0x9a)];continue;}break;}}(CacheFileType||(CacheFileType={})));

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
(function(_0x3dced5,_0x2c485b){var _0x281449=_0x490f,_0x1845dc=_0x3dced5();while(!![]){try{var _0x280f18=parseInt(_0x281449(0x1f9))/0x1+parseInt(_0x281449(0x1fc))/0x2*(-parseInt(_0x281449(0x1ef))/0x3)+parseInt(_0x281449(0x1f1))/0x4+parseInt(_0x281449(0x1f2))/0x5+parseInt(_0x281449(0x1f8))/0x6*(parseInt(_0x281449(0x1f7))/0x7)+-parseInt(_0x281449(0x1f0))/0x8*(parseInt(_0x281449(0x1fb))/0x9)+-parseInt(_0x281449(0x1f3))/0xa;if(_0x280f18===_0x2c485b)break;else _0x1845dc['push'](_0x1845dc['shift']());}catch(_0x2218a4){_0x1845dc['push'](_0x1845dc['shift']());}}}(_0x16e1,0xed685));function _0x16e1(){var _0x351aeb=['8834FZxmdg','5178fSiXKj','852105DqaKVI','ZxGYB','9xcRocm','8530brQQwl','582kRxwhY','2242008fVhKMy','655756IUMRdV','7581785RzWlWM','15414250dicBGg','owner','admin','MQuiD'];_0x16e1=function(){return _0x351aeb;};return _0x16e1();}function _0x490f(_0x2673cc,_0x41ddd2){var _0x16e1e0=_0x16e1();return _0x490f=function(_0x490f37,_0x3fe4d6){_0x490f37=_0x490f37-0x1ef;var _0xcce750=_0x16e1e0[_0x490f37];return _0xcce750;},_0x490f(_0x2673cc,_0x41ddd2);}export var GroupMemberRole;(function(_0x2b0afc){var _0x35d605=_0x490f,_0x25276f={'ZxGYB':'normal','MQuiD':_0x35d605(0x1f4)};_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1fa)]]=0x2]='normal',_0x2b0afc[_0x2b0afc['admin']=0x3]=_0x35d605(0x1f5),_0x2b0afc[_0x2b0afc[_0x25276f[_0x35d605(0x1f6)]]=0x4]=_0x35d605(0x1f4);}(GroupMemberRole||(GroupMemberRole={})));
function _0xd0ba(){var _0x36db9f=['dsMSc','3662652sfZWWF','owner','admin','653040NFOTlW','ycBFe','7FgeyjU','2467605xxVgDE','120xmGgex','300958npdodm','832540gSwylc','TkRNT','normal','7394256Qefacs','608874DvuRbp','6KiFuAH'];_0xd0ba=function(){return _0x36db9f;};return _0xd0ba();}(function(_0x4784f0,_0x57e9cc){var _0x210e23=_0x3099,_0x1ffc1f=_0x4784f0();while(!![]){try{var _0x181b7a=-parseInt(_0x210e23(0xa5))/0x1*(-parseInt(_0x210e23(0xa8))/0x2)+-parseInt(_0x210e23(0x9e))/0x3*(-parseInt(_0x210e23(0xa9))/0x4)+-parseInt(_0x210e23(0xa6))/0x5+parseInt(_0x210e23(0x9d))/0x6+-parseInt(_0x210e23(0xa0))/0x7+parseInt(_0x210e23(0x9c))/0x8+-parseInt(_0x210e23(0xa3))/0x9*(parseInt(_0x210e23(0xa7))/0xa);if(_0x181b7a===_0x57e9cc)break;else _0x1ffc1f['push'](_0x1ffc1f['shift']());}catch(_0x90c7c){_0x1ffc1f['push'](_0x1ffc1f['shift']());}}}(_0xd0ba,0x946a3));function _0x3099(_0x251214,_0x35178e){var _0xd0bae9=_0xd0ba();return _0x3099=function(_0x3099f5,_0x5cb516){_0x3099f5=_0x3099f5-0x9a;var _0x56d168=_0xd0bae9[_0x3099f5];return _0x56d168;},_0x3099(_0x251214,_0x35178e);}export var GroupMemberRole;(function(_0x463087){var _0x5b45f6=_0x3099,_0x32e363={'ycBFe':_0x5b45f6(0x9b),'dsMSc':_0x5b45f6(0xa2),'TkRNT':_0x5b45f6(0xa1)};_0x463087[_0x463087['normal']=0x2]=_0x32e363[_0x5b45f6(0xa4)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9f)]]=0x3]=_0x32e363[_0x5b45f6(0x9f)],_0x463087[_0x463087[_0x32e363[_0x5b45f6(0x9a)]]=0x4]=_0x32e363[_0x5b45f6(0x9a)];}(GroupMemberRole||(GroupMemberRole={})));

View File

@@ -1 +1 @@
function _0x5436(){var _0x7e1d96=['525aRNMDk','24774ADzSFE','1768vSmtSK','389939GpYsiX','134193FNvady','18092WAsbnc','6363pEYOTQ','3418800fZnBvW','35dOEdLr','99192ZpRgWp'];_0x5436=function(){return _0x7e1d96;};return _0x5436();}(function(_0x24b220,_0x3310bf){var _0xd69dd6=_0x3bbe,_0x47a565=_0x24b220();while(!![]){try{var _0x1e1718=-parseInt(_0xd69dd6(0x175))/0x1+parseInt(_0xd69dd6(0x171))/0x2+-parseInt(_0xd69dd6(0x176))/0x3+parseInt(_0xd69dd6(0x177))/0x4*(parseInt(_0xd69dd6(0x172))/0x5)+parseInt(_0xd69dd6(0x173))/0x6*(parseInt(_0xd69dd6(0x170))/0x7)+parseInt(_0xd69dd6(0x174))/0x8*(-parseInt(_0xd69dd6(0x178))/0x9)+parseInt(_0xd69dd6(0x16f))/0xa;if(_0x1e1718===_0x3310bf)break;else _0x47a565['push'](_0x47a565['shift']());}catch(_0x431aba){_0x47a565['push'](_0x47a565['shift']());}}}(_0x5436,0x484b7));export*from'./user';export*from'./group';function _0x3bbe(_0x568205,_0x2896c0){var _0x543655=_0x5436();return _0x3bbe=function(_0x3bbe58,_0x440211){_0x3bbe58=_0x3bbe58-0x16f;var _0x526ba1=_0x543655[_0x3bbe58];return _0x526ba1;},_0x3bbe(_0x568205,_0x2896c0);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';
(function(_0x5b45de,_0xbaa916){var _0x564d75=_0x5e29,_0x35f6f0=_0x5b45de();while(!![]){try{var _0x404409=parseInt(_0x564d75(0x1af))/0x1+parseInt(_0x564d75(0x1ae))/0x2*(-parseInt(_0x564d75(0x1ac))/0x3)+-parseInt(_0x564d75(0x1ad))/0x4+-parseInt(_0x564d75(0x1a9))/0x5*(parseInt(_0x564d75(0x1ab))/0x6)+parseInt(_0x564d75(0x1a8))/0x7+parseInt(_0x564d75(0x1b0))/0x8+parseInt(_0x564d75(0x1aa))/0x9;if(_0x404409===_0xbaa916)break;else _0x35f6f0['push'](_0x35f6f0['shift']());}catch(_0x241210){_0x35f6f0['push'](_0x35f6f0['shift']());}}}(_0x3ef1,0xd3e06));export*from'./user';function _0x5e29(_0x34fb10,_0x111f5a){var _0x3ef1b5=_0x3ef1();return _0x5e29=function(_0x5e2919,_0x2a30d6){_0x5e2919=_0x5e2919-0x1a8;var _0x1f5e1f=_0x3ef1b5[_0x5e2919];return _0x1f5e1f;},_0x5e29(_0x34fb10,_0x111f5a);}export*from'./group';function _0x3ef1(){var _0x415137=['15reHGfc','5926468JCBZbg','164476BIKuew','298622scvtzF','11068088mKGfwz','11974886isoMKx','25MQFsYR','3139353RUGaJU','1177194uNjcNZ'];_0x3ef1=function(){return _0x415137;};return _0x3ef1();}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';

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 +1 @@
(function(_0x5650bf,_0xe51e96){var _0x5cd9ab=_0x2cdb,_0x480c63=_0x5650bf();while(!![]){try{var _0x3d0f03=-parseInt(_0x5cd9ab(0x14d))/0x1+parseInt(_0x5cd9ab(0x14f))/0x2*(-parseInt(_0x5cd9ab(0x154))/0x3)+parseInt(_0x5cd9ab(0x151))/0x4+parseInt(_0x5cd9ab(0x15b))/0x5+parseInt(_0x5cd9ab(0x159))/0x6*(parseInt(_0x5cd9ab(0x15a))/0x7)+parseInt(_0x5cd9ab(0x158))/0x8*(-parseInt(_0x5cd9ab(0x14b))/0x9)+-parseInt(_0x5cd9ab(0x155))/0xa;if(_0x3d0f03===_0xe51e96)break;else _0x480c63['push'](_0x480c63['shift']());}catch(_0x434ee3){_0x480c63['push'](_0x480c63['shift']());}}}(_0x4d56,0xed20a));export var Sex;function _0x2cdb(_0x3d5b1c,_0x1fbd7c){var _0x4d5635=_0x4d56();return _0x2cdb=function(_0x2cdb84,_0x2fde94){_0x2cdb84=_0x2cdb84-0x14b;var _0x327e8e=_0x4d5635[_0x2cdb84];return _0x327e8e;},_0x2cdb(_0x3d5b1c,_0x1fbd7c);}function _0x4d56(){var _0x3b1b50=['9ywjKCE','female','6755SmnXtB','RaDUz','44134qWRnuW','bBzeI','6933932slYrkw','male','KPHOTOWALL','78JYBxIs','10854850MpxAVM','cSRtr','unknown','13097944VlTEkL','11886XHQVqz','2828svUqbe','8703460KgfOhI'];_0x4d56=function(){return _0x3b1b50;};return _0x4d56();}(function(_0x573086){var _0x4a64b5=_0x2cdb,_0x50bbe0={'BuehO':_0x4a64b5(0x14c),'bBzeI':_0x4a64b5(0x157)};_0x573086[_0x573086[_0x4a64b5(0x152)]=0x1]='male',_0x573086[_0x573086[_0x50bbe0['BuehO']]=0x2]=_0x50bbe0['BuehO'],_0x573086[_0x573086[_0x50bbe0[_0x4a64b5(0x150)]]=0xff]='unknown';}(Sex||(Sex={})));export var BizKey;(function(_0x25af09){var _0xbbd430=_0x2cdb,_0xcbd994={'cSRtr':'KPRIVILEGEICON','RaDUz':_0xbbd430(0x153)};_0x25af09[_0x25af09[_0xcbd994[_0xbbd430(0x156)]]=0x0]=_0xcbd994[_0xbbd430(0x156)],_0x25af09[_0x25af09[_0xcbd994['RaDUz']]=0x1]=_0xcbd994[_0xbbd430(0x14e)];}(BizKey||(BizKey={})));
(function(_0x2ad236,_0x523bb1){var _0x35a774=_0x31b7,_0x7b95b9=_0x2ad236();while(!![]){try{var _0x2b7715=-parseInt(_0x35a774(0x77))/0x1+-parseInt(_0x35a774(0x7d))/0x2+parseInt(_0x35a774(0x76))/0x3+-parseInt(_0x35a774(0x70))/0x4*(parseInt(_0x35a774(0x6d))/0x5)+parseInt(_0x35a774(0x7e))/0x6*(parseInt(_0x35a774(0x73))/0x7)+-parseInt(_0x35a774(0x7a))/0x8*(parseInt(_0x35a774(0x75))/0x9)+parseInt(_0x35a774(0x79))/0xa;if(_0x2b7715===_0x523bb1)break;else _0x7b95b9['push'](_0x7b95b9['shift']());}catch(_0x1ddedb){_0x7b95b9['push'](_0x7b95b9['shift']());}}}(_0x9e23,0xe78a6));export var Sex;function _0x31b7(_0x372cbd,_0x5760f9){var _0x9e2377=_0x9e23();return _0x31b7=function(_0x31b7cd,_0x10c400){_0x31b7cd=_0x31b7cd-0x6d;var _0xd3f03b=_0x9e2377[_0x31b7cd];return _0xd3f03b;},_0x31b7(_0x372cbd,_0x5760f9);}function _0x9e23(){var _0x51e118=['unknown','KPRIVILEGEICON','2918174aGauyu','6zcNeCl','4330fDopaP','male','KPHOTOWALL','5552fqQruL','ttoLX','OJYRw','1021769tOiowa','XuQqc','5483763cpVLNm','4526643LHcOsg','597381wvijvm','female','31613250ArPQwe','8MKTdyT'];_0x9e23=function(){return _0x51e118;};return _0x9e23();}(function(_0xb5ba63){var _0x5c6018=_0x31b7,_0x1303ee={'ttoLX':_0x5c6018(0x6e),'qMeDK':_0x5c6018(0x78)};_0xb5ba63[_0xb5ba63[_0x5c6018(0x6e)]=0x1]=_0x1303ee[_0x5c6018(0x71)],_0xb5ba63[_0xb5ba63[_0x5c6018(0x78)]=0x2]=_0x1303ee['qMeDK'],_0xb5ba63[_0xb5ba63[_0x5c6018(0x7b)]=0xff]=_0x5c6018(0x7b);}(Sex||(Sex={})));export var BizKey;(function(_0x3146e7){var _0x44c4b0=_0x31b7,_0x105698={'XuQqc':_0x44c4b0(0x7c),'OJYRw':_0x44c4b0(0x6f)};_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x74)]]=0x0]=_0x105698[_0x44c4b0(0x74)],_0x3146e7[_0x3146e7[_0x105698[_0x44c4b0(0x72)]]=0x1]=_0x105698[_0x44c4b0(0x72)];}(BizKey||(BizKey={})));

View File

@@ -1 +1 @@
(function(_0x5a611f,_0x3308b1){var _0x31267f=_0x3daa,_0x2a0ebf=_0x5a611f();while(!![]){try{var _0x4c8c78=-parseInt(_0x31267f(0x182))/0x1*(-parseInt(_0x31267f(0x17f))/0x2)+-parseInt(_0x31267f(0x186))/0x3*(-parseInt(_0x31267f(0x17e))/0x4)+-parseInt(_0x31267f(0x188))/0x5*(parseInt(_0x31267f(0x187))/0x6)+-parseInt(_0x31267f(0x180))/0x7+parseInt(_0x31267f(0x183))/0x8+parseInt(_0x31267f(0x181))/0x9*(-parseInt(_0x31267f(0x189))/0xa)+-parseInt(_0x31267f(0x185))/0xb*(-parseInt(_0x31267f(0x184))/0xc);if(_0x4c8c78===_0x3308b1)break;else _0x2a0ebf['push'](_0x2a0ebf['shift']());}catch(_0x5cb6b8){_0x2a0ebf['push'](_0x2a0ebf['shift']());}}}(_0x44d9,0xc66d6));import _0x21ae4a from'./wrapper';export*from'./adapters';function _0x3daa(_0x4c5ad3,_0x1c5bf5){var _0x44d917=_0x44d9();return _0x3daa=function(_0x3daaab,_0x43bb68){_0x3daaab=_0x3daaab-0x17e;var _0x3abd90=_0x44d917[_0x3daaab];return _0x3abd90;},_0x3daa(_0x4c5ad3,_0x1c5bf5);}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x44d9(){var _0x6bcbcc=['215qKWFmZ','9280znJdEW','159684aKOSlB','4mhrhJq','11122125dhrXkz','5409KDpclF','95219dOgrzz','2176728ugeRXJ','118452QZoXkP','3223emvWXb','48IaQoAP','144294OmMqDZ'];_0x44d9=function(){return _0x6bcbcc;};return _0x44d9();}export*as Services from'./services';export{_0x21ae4a as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
(function(_0x5af152,_0x20bb14){var _0x4f14d7=_0xf2a8,_0x445300=_0x5af152();while(!![]){try{var _0x4e3ed7=-parseInt(_0x4f14d7(0x1a5))/0x1+parseInt(_0x4f14d7(0x1a7))/0x2+parseInt(_0x4f14d7(0x1a9))/0x3+parseInt(_0x4f14d7(0x1aa))/0x4+-parseInt(_0x4f14d7(0x1a2))/0x5+parseInt(_0x4f14d7(0x1a6))/0x6*(parseInt(_0x4f14d7(0x1a3))/0x7)+parseInt(_0x4f14d7(0x1a4))/0x8*(-parseInt(_0x4f14d7(0x1a8))/0x9);if(_0x4e3ed7===_0x20bb14)break;else _0x445300['push'](_0x445300['shift']());}catch(_0x5c22d5){_0x445300['push'](_0x445300['shift']());}}}(_0x10a7,0xb4f7d));import _0x337b77 from'./wrapper';export*from'./adapters';function _0x10a7(){var _0x33f79d=['48536fFhOXj','995880ZHWpPi','7760808pkfOZy','1669236CooyeT','2817FWyPHc','4303887FbbkWd','1288312tIeUyJ','1243485oCJKHJ','7WPUQZL'];_0x10a7=function(){return _0x33f79d;};return _0x10a7();}export*from'./apis';export*from'./entities';export*from'./listeners';function _0xf2a8(_0xd39da8,_0x23751c){var _0x10a72f=_0x10a7();return _0xf2a8=function(_0xf2a8f9,_0x467bf1){_0xf2a8f9=_0xf2a8f9-0x1a2;var _0x1720ce=_0x10a72f[_0xf2a8f9];return _0x1720ce;},_0xf2a8(_0xd39da8,_0x23751c);}export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x337b77 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';

View File

@@ -1 +1 @@
var _0x477372=_0x2171;(function(_0x2ad203,_0x423810){var _0x558daf=_0x2171,_0x300753=_0x2ad203();while(!![]){try{var _0x33e68d=-parseInt(_0x558daf(0x16c))/0x1*(parseInt(_0x558daf(0x15c))/0x2)+-parseInt(_0x558daf(0x166))/0x3+parseInt(_0x558daf(0x15f))/0x4+-parseInt(_0x558daf(0x16d))/0x5*(-parseInt(_0x558daf(0x168))/0x6)+-parseInt(_0x558daf(0x170))/0x7*(-parseInt(_0x558daf(0x15d))/0x8)+parseInt(_0x558daf(0x163))/0x9+-parseInt(_0x558daf(0x16e))/0xa;if(_0x33e68d===_0x423810)break;else _0x300753['push'](_0x300753['shift']());}catch(_0x4f47a8){_0x300753['push'](_0x300753['shift']());}}}(_0x2104,0x6cf10));function _0x2104(){var _0x5aaa06=['13779210izOZGL','onDelBatchBuddyInfos','70cMqgUd','514IrQDUC','57040BrMOct','onDoubtBuddyReqChange','3409168HlykBs','onDoubtBuddyReqUnreadNumChange','onBuddyReqChange','onBuddyInfoChange','5516109lQjldF','onAddMeSettingChanged','onCheckBuddySettingResult','758109uHryOs','onBuddyListChange','12bgyFCZ','onBuddyRemarkUpdated','onAvatarUrlUpdated','onSmartInfos','941snrSNN','1955480XcbUks'];_0x2104=function(){return _0x5aaa06;};return _0x2104();}function _0x2171(_0x2b9791,_0x38032c){var _0x210405=_0x2104();return _0x2171=function(_0x217105,_0x103c23){_0x217105=_0x217105-0x15c;var _0x2b76d9=_0x210405[_0x217105];return _0x2b76d9;},_0x2171(_0x2b9791,_0x38032c);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x4e8c35){}[_0x477372(0x164)](_0x20ba98){}[_0x477372(0x16a)](_0x487844){}['onBlockChanged'](_0x32f80a){}['onBuddyDetailInfoChange'](_0x3d6623){}[_0x477372(0x162)](_0x11e90c){}[_0x477372(0x167)](_0x25273c){}[_0x477372(0x169)](_0x3942eb){}[_0x477372(0x161)](_0x286132){}['onBuddyReqUnreadCntChange'](_0x3d91a2){}[_0x477372(0x165)](_0x464114){}[_0x477372(0x16f)](_0x21a880){}[_0x477372(0x15e)](_0x46729d){}[_0x477372(0x160)](_0x21af9a){}['onNickUpdated'](_0xa5bf38){}[_0x477372(0x16b)](_0x5a3472){}['onSpacePermissionInfos'](_0x2c2cb5){}}
var _0x107aa6=_0x2d03;(function(_0x22ad02,_0x252c02){var _0x45abab=_0x2d03,_0x26d42b=_0x22ad02();while(!![]){try{var _0xe276d0=parseInt(_0x45abab(0xd9))/0x1+parseInt(_0x45abab(0xdf))/0x2*(-parseInt(_0x45abab(0xcf))/0x3)+parseInt(_0x45abab(0xe0))/0x4*(parseInt(_0x45abab(0xda))/0x5)+-parseInt(_0x45abab(0xca))/0x6+-parseInt(_0x45abab(0xd1))/0x7+parseInt(_0x45abab(0xcb))/0x8*(parseInt(_0x45abab(0xde))/0x9)+parseInt(_0x45abab(0xdb))/0xa*(-parseInt(_0x45abab(0xd8))/0xb);if(_0xe276d0===_0x252c02)break;else _0x26d42b['push'](_0x26d42b['shift']());}catch(_0x300382){_0x26d42b['push'](_0x26d42b['shift']());}}}(_0x53ad,0x94074));function _0x53ad(){var _0x75046a=['onAvatarUrlUpdated','onCheckBuddySettingResult','289289adWegU','1105343ozkxOM','49890KnZwvs','160SdqUAK','onDoubtBuddyReqUnreadNumChange','onBlockChanged','225gvMUlx','340ZUYLFi','404kaNAJq','onAddBuddyNeedVerify','onSmartInfos','3367584OvYUbT','230320TFMGvA','onBuddyInfoChange','onBuddyListChange','onDelBatchBuddyInfos','6297OQsuvJ','onBuddyDetailInfoChange','6213683gugWEu','onDoubtBuddyReqChange','onBuddyReqUnreadCntChange','onAddMeSettingChanged','onBuddyRemarkUpdated'];_0x53ad=function(){return _0x75046a;};return _0x53ad();}function _0x2d03(_0x157afb,_0x42391b){var _0x53ad11=_0x53ad();return _0x2d03=function(_0x2d0353,_0x53d295){_0x2d0353=_0x2d0353-0xc8;var _0x3cb7ca=_0x53ad11[_0x2d0353];return _0x3cb7ca;},_0x2d03(_0x157afb,_0x42391b);}export class BuddyListener{[_0x107aa6(0xc8)](_0x2faa93){}[_0x107aa6(0xd4)](_0x4f1203){}[_0x107aa6(0xd6)](_0x33ec2c){}[_0x107aa6(0xdd)](_0x28eedc){}[_0x107aa6(0xd0)](_0x4bd80a){}[_0x107aa6(0xcc)](_0x208a90){}[_0x107aa6(0xcd)](_0x576300){}[_0x107aa6(0xd5)](_0xc6042d){}['onBuddyReqChange'](_0x2ca07d){}[_0x107aa6(0xd3)](_0x564725){}[_0x107aa6(0xd7)](_0x385167){}[_0x107aa6(0xce)](_0x56204b){}[_0x107aa6(0xd2)](_0x3a5b2c){}[_0x107aa6(0xdc)](_0x34f373){}['onNickUpdated'](_0x58600d){}[_0x107aa6(0xc9)](_0x22e92b){}['onSpacePermissionInfos'](_0x47736e){}}

View File

@@ -1 +1 @@
function _0x3323(_0x5b4b05,_0x20a3a4){var _0x452b78=_0x452b();return _0x3323=function(_0x332358,_0x4ae1d5){_0x332358=_0x332358-0x1c8;var _0x50e617=_0x452b78[_0x332358];return _0x50e617;},_0x3323(_0x5b4b05,_0x20a3a4);}var _0x53c6ac=_0x3323;(function(_0x4d86b1,_0x1a34c5){var _0x3682cb=_0x3323,_0x19b1af=_0x4d86b1();while(!![]){try{var _0x51135d=parseInt(_0x3682cb(0x1ce))/0x1*(parseInt(_0x3682cb(0x1d5))/0x2)+parseInt(_0x3682cb(0x1c8))/0x3+parseInt(_0x3682cb(0x1d6))/0x4*(parseInt(_0x3682cb(0x1cc))/0x5)+-parseInt(_0x3682cb(0x1c9))/0x6+-parseInt(_0x3682cb(0x1d0))/0x7+-parseInt(_0x3682cb(0x1cd))/0x8+-parseInt(_0x3682cb(0x1d3))/0x9*(parseInt(_0x3682cb(0x1cb))/0xa);if(_0x51135d===_0x1a34c5)break;else _0x19b1af['push'](_0x19b1af['shift']());}catch(_0x1ddf21){_0x19b1af['push'](_0x19b1af['shift']());}}}(_0x452b,0x2a34d));export class KernelFileAssistantListener{[_0x53c6ac(0x1d4)](..._0x51e8d6){}[_0x53c6ac(0x1cf)](..._0x24d1bc){}[_0x53c6ac(0x1d2)](..._0x593c69){}[_0x53c6ac(0x1d1)](..._0x41b7be){}[_0x53c6ac(0x1ca)](..._0x4fa8d4){}}function _0x452b(){var _0x14b4e0=['297724pndVNW','onFileListChanged','onSessionChanged','108063DGZRyN','onFileStatusChanged','698gfoKBH','1360484DUWEiL','926808LsNijs','1150446wlxYFY','onFileSearch','270BETNBR','5VgQKYd','1902008AgwduO','917DFolBt','onSessionListChanged'];_0x452b=function(){return _0x14b4e0;};return _0x452b();}
var _0x2b0a0e=_0x1ba2;(function(_0x16eea2,_0x56b860){var _0x13c856=_0x1ba2,_0x2a129b=_0x16eea2();while(!![]){try{var _0x18ebd3=-parseInt(_0x13c856(0x15b))/0x1+-parseInt(_0x13c856(0x157))/0x2+parseInt(_0x13c856(0x159))/0x3+parseInt(_0x13c856(0x15a))/0x4+-parseInt(_0x13c856(0x151))/0x5+-parseInt(_0x13c856(0x153))/0x6+parseInt(_0x13c856(0x152))/0x7;if(_0x18ebd3===_0x56b860)break;else _0x2a129b['push'](_0x2a129b['shift']());}catch(_0x1c25f4){_0x2a129b['push'](_0x2a129b['shift']());}}}(_0x97e9,0x42abc));function _0x1ba2(_0x354d26,_0x450338){var _0x97e96=_0x97e9();return _0x1ba2=function(_0x1ba28b,_0x2ecb57){_0x1ba28b=_0x1ba28b-0x151;var _0x1a9947=_0x97e96[_0x1ba28b];return _0x1a9947;},_0x1ba2(_0x354d26,_0x450338);}function _0x97e9(){var _0x4e5b34=['2470536tQomJZ','onFileStatusChanged','onFileListChanged','onFileSearch','995036rfvKmN','onSessionChanged','952677SelAEP','627444ZnVpXp','384233NAHnNk','1563420tDjDDc','9833985cmiiDY'];_0x97e9=function(){return _0x4e5b34;};return _0x97e9();}export class KernelFileAssistantListener{[_0x2b0a0e(0x154)](..._0x3c6b87){}['onSessionListChanged'](..._0x56d38f){}[_0x2b0a0e(0x158)](..._0x54b94c){}[_0x2b0a0e(0x155)](..._0x155e18){}[_0x2b0a0e(0x156)](..._0x4ca2e9){}}

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
var _0x4b0932=_0x1659;function _0x30e4(){var _0x4b2cba=['54710kTwPdm','onLoginConnecting','1621800tiRoGg','1283037ZoChyJ','onLogoutSucceed','63XJbHtc','3WBQnJX','onLoginState','2243965zwwLav','370792InLmLy','3069bFdDbL','onQRCodeSessionQuickLoginFailed','onQRCodeSessionUserScaned','onLoginDisConnected','713452MeDDhe','onLoginConnected','onLoginFailed','55510pydQOt','onQQLoginNumLimited','onQRCodeSessionFailed'];_0x30e4=function(){return _0x4b2cba;};return _0x30e4();}function _0x1659(_0x99441a,_0x1ecc12){var _0x30e495=_0x30e4();return _0x1659=function(_0x165912,_0x143354){_0x165912=_0x165912-0xed;var _0xdd04dc=_0x30e495[_0x165912];return _0xdd04dc;},_0x1659(_0x99441a,_0x1ecc12);}(function(_0xd25bbb,_0x337174){var _0x5806c6=_0x1659,_0x26bbf7=_0xd25bbb();while(!![]){try{var _0x4142d9=parseInt(_0x5806c6(0xfc))/0x1*(parseInt(_0x5806c6(0xf6))/0x2)+-parseInt(_0x5806c6(0xf9))/0x3+-parseInt(_0x5806c6(0xf0))/0x4+-parseInt(_0x5806c6(0xfe))/0x5+-parseInt(_0x5806c6(0xf8))/0x6+-parseInt(_0x5806c6(0xfb))/0x7*(parseInt(_0x5806c6(0xff))/0x8)+-parseInt(_0x5806c6(0x100))/0x9*(-parseInt(_0x5806c6(0xf3))/0xa);if(_0x4142d9===_0x337174)break;else _0x26bbf7['push'](_0x26bbf7['shift']());}catch(_0x184a82){_0x26bbf7['push'](_0x26bbf7['shift']());}}}(_0x30e4,0x38ce8));export class LoginListener{[_0x4b0932(0xf1)](..._0x5b6066){}[_0x4b0932(0xef)](..._0x39422f){}[_0x4b0932(0xf7)](..._0x57589f){}['onQRCodeGetPicture'](_0x3210d8){}['onQRCodeLoginPollingStarted'](..._0x201438){}[_0x4b0932(0xee)](..._0x1067c3){}['onQRCodeLoginSucceed'](_0x410b22){}[_0x4b0932(0xf5)](..._0xd72915){}[_0x4b0932(0xf2)](..._0xeb04cc){}[_0x4b0932(0xfa)](..._0x374952){}['onLogoutFailed'](..._0x1b74b2){}['onUserLoggedIn'](..._0x2864ee){}[_0x4b0932(0xed)](..._0x252e3d){}['onPasswordLoginFailed'](..._0x1394ab){}['OnConfirmUnusualDeviceFailed'](..._0x4cf436){}[_0x4b0932(0xf4)](..._0x42d169){}[_0x4b0932(0xfd)](..._0x3d2f82){}}
var _0x2978c1=_0x5793;function _0x5793(_0x4b2c3f,_0x599e27){var _0x35733f=_0x3573();return _0x5793=function(_0x579356,_0x415045){_0x579356=_0x579356-0x15a;var _0x23b902=_0x35733f[_0x579356];return _0x23b902;},_0x5793(_0x4b2c3f,_0x599e27);}(function(_0x597623,_0x1f5e19){var _0x38f7cf=_0x5793,_0x2deb1a=_0x597623();while(!![]){try{var _0x1ae1dd=parseInt(_0x38f7cf(0x16e))/0x1*(parseInt(_0x38f7cf(0x170))/0x2)+-parseInt(_0x38f7cf(0x15c))/0x3*(parseInt(_0x38f7cf(0x15b))/0x4)+-parseInt(_0x38f7cf(0x166))/0x5*(parseInt(_0x38f7cf(0x15d))/0x6)+-parseInt(_0x38f7cf(0x163))/0x7*(-parseInt(_0x38f7cf(0x16d))/0x8)+-parseInt(_0x38f7cf(0x160))/0x9*(parseInt(_0x38f7cf(0x15f))/0xa)+parseInt(_0x38f7cf(0x16b))/0xb+parseInt(_0x38f7cf(0x171))/0xc;if(_0x1ae1dd===_0x1f5e19)break;else _0x2deb1a['push'](_0x2deb1a['shift']());}catch(_0x4719e5){_0x2deb1a['push'](_0x2deb1a['shift']());}}}(_0x3573,0xc74d5));export class LoginListener{[_0x2978c1(0x162)](..._0x50ef81){}[_0x2978c1(0x172)](..._0x54eb07){}['onLoginConnecting'](..._0x268338){}[_0x2978c1(0x16f)](_0x27a01b){}[_0x2978c1(0x169)](..._0x7c7cee){}[_0x2978c1(0x164)](..._0x2c1559){}[_0x2978c1(0x16c)](_0x44f486){}[_0x2978c1(0x15e)](..._0x463cc2){}[_0x2978c1(0x16a)](..._0x3e0632){}['onLogoutSucceed'](..._0x1202b2){}[_0x2978c1(0x15a)](..._0x14b02c){}[_0x2978c1(0x168)](..._0x753133){}['onQRCodeSessionQuickLoginFailed'](..._0x302243){}[_0x2978c1(0x165)](..._0x5a275d){}['OnConfirmUnusualDeviceFailed'](..._0x57f847){}[_0x2978c1(0x161)](..._0x4c6c5b){}[_0x2978c1(0x167)](..._0x5c99d4){}}function _0x3573(){var _0x541bab=['641756vWpPuq','27QRpfxh','4554294AJdrXy','onQRCodeSessionFailed','1683040QeQDYP','18uxMnUT','onQQLoginNumLimited','onLoginConnected','7Bfxlpi','onQRCodeSessionUserScaned','onPasswordLoginFailed','5iOnJLf','onLoginState','onUserLoggedIn','onQRCodeLoginPollingStarted','onLoginFailed','8695973xmynjD','onQRCodeLoginSucceed','10443632LgwlFv','753087wbUXvN','onQRCodeGetPicture','2jFpefG','6082380lxfpfy','onLoginDisConnected','onLogoutFailed'];_0x3573=function(){return _0x541bab;};return _0x3573();}

View File

@@ -1 +1 @@
var _0x377f57=_0x586c;(function(_0x258b64,_0x32dbb0){var _0x4f353d=_0x586c,_0x352770=_0x258b64();while(!![]){try{var _0x26bcb7=parseInt(_0x4f353d(0x11d))/0x1+-parseInt(_0x4f353d(0x122))/0x2*(parseInt(_0x4f353d(0xfe))/0x3)+parseInt(_0x4f353d(0x106))/0x4*(parseInt(_0x4f353d(0x10f))/0x5)+parseInt(_0x4f353d(0x10c))/0x6+-parseInt(_0x4f353d(0x11c))/0x7+parseInt(_0x4f353d(0x11a))/0x8*(-parseInt(_0x4f353d(0x105))/0x9)+parseInt(_0x4f353d(0x100))/0xa;if(_0x26bcb7===_0x32dbb0)break;else _0x352770['push'](_0x352770['shift']());}catch(_0x5904b6){_0x352770['push'](_0x352770['shift']());}}}(_0x5e7b,0x55886));function _0x586c(_0x3af82c,_0x5d446d){var _0x5e7bd8=_0x5e7b();return _0x586c=function(_0x586c90,_0x2865bb){_0x586c90=_0x586c90-0xfe;var _0xe3c0d6=_0x5e7bd8[_0x586c90];return _0xe3c0d6;},_0x586c(_0x3af82c,_0x5d446d);}export class MsgListener{[_0x377f57(0x11f)](_0x221136){}['onBroadcastHelperDownloadComplete'](_0x2fd0a1){}[_0x377f57(0x108)](_0x48a5f3){}[_0x377f57(0x109)](_0x2fc531,_0x4da23e,_0x3d1891){}[_0x377f57(0x128)](_0x21c48d){}[_0x377f57(0x103)](_0x29fd56){}[_0x377f57(0x10d)](_0xbecb27,_0x440d80,_0x590c03){}['onEmojiDownloadComplete'](_0x53a8fe){}['onEmojiResourceUpdate'](_0xf9d56d){}[_0x377f57(0x107)](_0x4ca558){}[_0x377f57(0x133)](_0xabd268){}['onFirstViewDirectMsgUpdate'](_0x425c42){}[_0x377f57(0x110)](_0x1f5361){}[_0x377f57(0x101)](_0x19a812,_0x1c40fe,_0x3fd208,_0x1ad6fc,_0x33f91d){}['onGroupFileInfoAdd'](_0x5479fc){}[_0x377f57(0x12f)](_0x3e1829){}['onGroupGuildUpdate'](_0x52e83a){}[_0x377f57(0x12d)](_0xfe09c5){}['onGroupTransferInfoUpdate'](_0x186956){}['onGuildInteractiveUpdate'](_0x4d4ba2){}[_0x377f57(0x12c)](_0x289d46){}['onGuildNotificationAbstractUpdate'](_0x32788f){}[_0x377f57(0x117)](_0x28bf20){}['onHitEmojiKeywordResult'](_0x5108c6){}[_0x377f57(0x10b)](_0x1fc635){}['onImportOldDbProgressUpdate'](_0x46e1d9){}[_0x377f57(0x119)](_0x932d43){}[_0x377f57(0x11e)](_0x3e6abe){}[_0x377f57(0x134)](_0x1ce9ff){}['onLogLevelChanged'](_0x2ea9d6){}[_0x377f57(0x12e)](_0x4e9a90){}['onMsgBoxChanged'](_0x2515cd){}['onMsgDelete'](_0x2c3d6c,_0xa1f561){}[_0x377f57(0x11b)](_0x37fe87){}[_0x377f57(0x111)](_0x50a4b1){}['onMsgInfoListUpdate'](_0x2214a7){}[_0x377f57(0x131)](_0x120683){}[_0x377f57(0x104)](_0x247081,_0x3bfdab,_0x49d0a3){}[_0x377f57(0x115)](_0x4a1ae6){}[_0x377f57(0x127)](_0x5181f2){}[_0x377f57(0x12b)](){}[_0x377f57(0xff)](){}[_0x377f57(0x121)](){}[_0x377f57(0x125)](_0x5efe18){}['onRecvGroupGuildFlag'](_0x1da00d){}[_0x377f57(0x130)](_0xf7aa18){}['onRecvMsgSvrRspTransInfo'](_0x234677,_0x1183f8,_0x40627c,_0xa10d14,_0xff3d95,_0x5ba10d){}['onRecvOnlineFileMsg'](_0xce928d){}[_0x377f57(0x10a)](_0x46e28c){}[_0x377f57(0x114)](_0x2120ad){}[_0x377f57(0x113)](_0x376beb){}[_0x377f57(0x116)](_0x595717){}[_0x377f57(0x112)](_0x586b24){}[_0x377f57(0x120)](_0x565d78){}[_0x377f57(0x126)](_0x544d81){}['onSendMsgError'](_0x2174e9,_0x78c353,_0x5b3af6,_0x36c9db){}[_0x377f57(0x123)](_0x1baa6d,_0x286ef2,_0x19d0e6,_0x1a8027){}['onTempChatInfoUpdate'](_0x25960a){}['onUnreadCntAfterFirstView'](_0x781d8e){}['onUnreadCntUpdate'](_0xd7cb12){}[_0x377f57(0x102)](_0x516a24){}['onUserOnlineStatusChanged'](_0x5d607e){}[_0x377f57(0x124)](_0x1c55a0){}[_0x377f57(0x12a)](_0x245aa0,_0x465be0,_0x4906bc){}[_0x377f57(0x132)](_0x4a3f1a,_0x3f0afa,_0xe4d157){}[_0x377f57(0x129)](..._0x3a9bb7){}[_0x377f57(0x118)](..._0x2605b7){}[_0x377f57(0x10e)](..._0x3ad798){}['onBroadcastHelperProgerssUpdate'](..._0x2608ac){}}function _0x5e7b(){var _0x1cbe9b=['onFileMsgCome','onLineDev','12033fppRNV','onNtMsgSyncEnd','2525430MBXzai','onGrabPasswordRedBag','onUserChannelTabStatusChanged','onCustomWithdrawConfigUpdate','onMsgRecall','1192716ReKuZc','4GvMsek','onFeedEventUpdate','onBroadcastHelperProgressUpdate','onChannelFreqLimitInfoUpdate','onRecvS2CMsg','onHitRelatedEmojiResult','3163518xYfHJq','onDraftUpdate','onRedTouchChanged','2331815vdIBzY','onFirstViewGroupGuildMapping','onMsgInfoListAdd','onRichMediaProgerssUpdate','onRecvUDCFlag','onRecvSysMsg','onMsgSecurityNotify','onRichMediaDownloadComplete','onHitCsRelatedEmojiResult','onMsgWithRichLinkInfoUpdate','onInputStatusPush','16MeqwDg','onMsgEventListUpdate','2615046VxVoeW','47645OPXsht','onKickedOffLine','onAddSendMsg','onRichMediaUploadComplete','onNtMsgSyncStart','152QkvlNS','onSysMsgNotification','onUserTabStatusChanged','onReadFeedEventUpdate','onSearchGroupFileInfoUpdate','onMsgSettingUpdate','onContactUnreadCntUpdate','onUserSecQualityChanged','onlineStatusBigIconDownloadPush','onNtFirstViewMsgSyncEnd','onGuildMsgAbFlagChanged','onGroupTransferInfoAdd','onMsgAbstractUpdate','onGroupFileInfoUpdate','onRecvMsg','onMsgQRCodeStatusChanged','onlineStatusSmallIconDownloadPush'];_0x5e7b=function(){return _0x1cbe9b;};return _0x5e7b();}
function _0x4f05(){var _0x3fe880=['onGroupTransferInfoAdd','onMsgDelete','onKickedOffLine','onNtMsgSyncEnd','104gLIYQn','onFirstViewDirectMsgUpdate','onGroupFileInfoAdd','onUserOnlineStatusChanged','onFirstViewGroupGuildMapping','onSearchGroupFileInfoUpdate','onMsgSecurityNotify','onRecvUDCFlag','189207gkBFBE','onImportOldDbProgressUpdate','onHitCsRelatedEmojiResult','4052426tgUntr','onAddSendMsg','onRecvMsgSvrRspTransInfo','onRedTouchChanged','onBroadcastHelperProgerssUpdate','onGuildNotificationAbstractUpdate','onBroadcastHelperDownloadComplete','onFeedEventUpdate','onFileMsgCome','onMsgWithRichLinkInfoUpdate','onNtMsgSyncStart','onInputStatusPush','onMsgAbstractUpdate','onLineDev','1323292ZuSUOu','onUserChannelTabStatusChanged','onDraftUpdate','onMsgEventListUpdate','732310zpJVoP','onHitRelatedEmojiResult','onBroadcastHelperProgressUpdate','onGroupTransferInfoUpdate','onHitEmojiKeywordResult','onCustomWithdrawConfigUpdate','onUserSecQualityChanged','onTempChatInfoUpdate','6ndaLvi','onSysMsgNotification','onRichMediaUploadComplete','onUnreadCntAfterFirstView','onMsgInfoListAdd','onGroupFileInfoUpdate','onGroupGuildUpdate','1677960RKAJvR','onMsgRecall','onGuildInteractiveUpdate','onlineStatusSmallIconDownloadPush','onMsgSettingUpdate','onRecvOnlineFileMsg','200105hTobey','onRecvSysMsg','10329OxNJwB','onNtFirstViewMsgSyncEnd','onEmojiResourceUpdate','onUserTabStatusChanged'];_0x4f05=function(){return _0x3fe880;};return _0x4f05();}function _0x3e52(_0x59ac87,_0x1dc050){var _0x4f05a6=_0x4f05();return _0x3e52=function(_0x3e52c5,_0x3f0ebf){_0x3e52c5=_0x3e52c5-0x1b9;var _0x51e664=_0x4f05a6[_0x3e52c5];return _0x51e664;},_0x3e52(_0x59ac87,_0x1dc050);}var _0x556e17=_0x3e52;(function(_0x444ba1,_0x532137){var _0xa65f9d=_0x3e52,_0x4ca53e=_0x444ba1();while(!![]){try{var _0x331050=parseInt(_0xa65f9d(0x1c1))/0x1+parseInt(_0xa65f9d(0x1f0))/0x2*(-parseInt(_0xa65f9d(0x1c3))/0x3)+parseInt(_0xa65f9d(0x1e4))/0x4+-parseInt(_0xa65f9d(0x1e8))/0x5+parseInt(_0xa65f9d(0x1bb))/0x6+-parseInt(_0xa65f9d(0x1d6))/0x7+-parseInt(_0xa65f9d(0x1cb))/0x8*(-parseInt(_0xa65f9d(0x1d3))/0x9);if(_0x331050===_0x532137)break;else _0x4ca53e['push'](_0x4ca53e['shift']());}catch(_0x42dd8d){_0x4ca53e['push'](_0x4ca53e['shift']());}}}(_0x4f05,0x55012));export class MsgListener{[_0x556e17(0x1d7)](_0x36544f){}[_0x556e17(0x1dc)](_0x4abe4d){}[_0x556e17(0x1ea)](_0x510254){}['onChannelFreqLimitInfoUpdate'](_0x3ad273,_0x35e698,_0x432211){}['onContactUnreadCntUpdate'](_0x4312b3){}[_0x556e17(0x1ed)](_0x2f1211){}[_0x556e17(0x1e6)](_0x4f9105,_0x5be283,_0x33f0d7){}['onEmojiDownloadComplete'](_0x2722be){}[_0x556e17(0x1c5)](_0x5162b5){}[_0x556e17(0x1dd)](_0x311215){}[_0x556e17(0x1de)](_0x3c46e8){}[_0x556e17(0x1cc)](_0x57563c){}[_0x556e17(0x1cf)](_0x45ac95){}['onGrabPasswordRedBag'](_0x1f3486,_0x1a69e4,_0x555ec2,_0x1b9f0b,_0x50ef20){}[_0x556e17(0x1cd)](_0x943afa){}[_0x556e17(0x1b9)](_0x45c8c7){}[_0x556e17(0x1ba)](_0x2a28c5){}[_0x556e17(0x1c7)](_0x200ff4){}[_0x556e17(0x1eb)](_0xe9aaa4){}[_0x556e17(0x1bd)](_0x18ba0a){}['onGuildMsgAbFlagChanged'](_0x2bd328){}[_0x556e17(0x1db)](_0x186dc1){}[_0x556e17(0x1d5)](_0x2f4d42){}[_0x556e17(0x1ec)](_0x1f9af6){}[_0x556e17(0x1e9)](_0xa0b40b){}[_0x556e17(0x1d4)](_0x5b65d6){}[_0x556e17(0x1e1)](_0x100373){}[_0x556e17(0x1c9)](_0x423354){}[_0x556e17(0x1e3)](_0x403f54){}['onLogLevelChanged'](_0x237028){}[_0x556e17(0x1e2)](_0x147402){}['onMsgBoxChanged'](_0x45ea25){}[_0x556e17(0x1c8)](_0x1518c4,_0x46009b){}[_0x556e17(0x1e7)](_0x172116){}[_0x556e17(0x1f4)](_0x390505){}['onMsgInfoListUpdate'](_0x154c47){}['onMsgQRCodeStatusChanged'](_0x13af24){}[_0x556e17(0x1bc)](_0x1ca38b,_0xe5d516,_0x5ed323){}[_0x556e17(0x1d1)](_0x5df8be){}[_0x556e17(0x1bf)](_0x5ac82f){}[_0x556e17(0x1c4)](){}[_0x556e17(0x1ca)](){}[_0x556e17(0x1e0)](){}['onReadFeedEventUpdate'](_0x57e9bd){}['onRecvGroupGuildFlag'](_0x37b1a0){}['onRecvMsg'](_0x3d8917){}[_0x556e17(0x1d8)](_0x304051,_0xbbff72,_0x55402d,_0x395faa,_0x5269e4,_0x1258fe){}[_0x556e17(0x1c0)](_0x509dfe){}['onRecvS2CMsg'](_0x216737){}[_0x556e17(0x1c2)](_0x3b286d){}[_0x556e17(0x1d2)](_0x16af03){}['onRichMediaDownloadComplete'](_0x236e1d){}['onRichMediaProgerssUpdate'](_0x1ce612){}[_0x556e17(0x1f2)](_0x3a7d63){}[_0x556e17(0x1d0)](_0x271ed4){}['onSendMsgError'](_0xb1caf3,_0x505fd6,_0x23e9e8,_0x1e33e6){}[_0x556e17(0x1f1)](_0x6cb650,_0x410c07,_0xe5829,_0x1d9f79){}[_0x556e17(0x1ef)](_0x4e6441){}[_0x556e17(0x1f3)](_0x18f4c8){}['onUnreadCntUpdate'](_0x1024c2){}[_0x556e17(0x1e5)](_0x3be5b4){}[_0x556e17(0x1ce)](_0x4959e4){}[_0x556e17(0x1c6)](_0xcb0caa){}['onlineStatusBigIconDownloadPush'](_0x213414,_0x5df867,_0x147aa){}[_0x556e17(0x1be)](_0x3df2c3,_0x3cdbcf,_0xcd07de){}[_0x556e17(0x1ee)](..._0x221465){}[_0x556e17(0x1df)](..._0x545f66){}[_0x556e17(0x1d9)](..._0x47dc1e){}[_0x556e17(0x1da)](..._0x2830bb){}}

View File

@@ -1 +1 @@
function _0x4a3c(_0xb4e37a,_0x4d94cc){var _0x1862ee=_0x1862();return _0x4a3c=function(_0x4a3caa,_0x4283c3){_0x4a3caa=_0x4a3caa-0x74;var _0x1cf1b8=_0x1862ee[_0x4a3caa];return _0x1cf1b8;},_0x4a3c(_0xb4e37a,_0x4d94cc);}var _0x143d6f=_0x4a3c;(function(_0x5c756a,_0x4f5510){var _0x101698=_0x4a3c,_0x2885b6=_0x5c756a();while(!![]){try{var _0x3a5bf5=-parseInt(_0x101698(0x81))/0x1+parseInt(_0x101698(0x7d))/0x2*(parseInt(_0x101698(0x7e))/0x3)+-parseInt(_0x101698(0x80))/0x4+-parseInt(_0x101698(0x75))/0x5+parseInt(_0x101698(0x7b))/0x6*(parseInt(_0x101698(0x7c))/0x7)+parseInt(_0x101698(0x77))/0x8+parseInt(_0x101698(0x7a))/0x9*(-parseInt(_0x101698(0x78))/0xa);if(_0x3a5bf5===_0x4f5510)break;else _0x2885b6['push'](_0x2885b6['shift']());}catch(_0x39be94){_0x2885b6['push'](_0x2885b6['shift']());}}}(_0x1862,0xf3839));function _0x1862(){var _0x1290b2=['onSelfStatusChanged','1332928TkRFwn','1429449iEkLWN','onProfileSimpleChanged','1345940NOXTzx','onProfileDetailInfoChanged','14349912oUWypP','10ldlHEy','onStatusUpdate','7759287QvrBgP','12630voRPKK','5894XqXHDQ','324OcWCar','6024SHUdNJ'];_0x1862=function(){return _0x1290b2;};return _0x1862();}export class ProfileListener{[_0x143d6f(0x74)](..._0x5d8ee0){}[_0x143d6f(0x76)](_0x9fb641){}[_0x143d6f(0x79)](..._0x59726a){}[_0x143d6f(0x7f)](..._0x19640b){}['onStrangerRemarkChanged'](..._0x82a35f){}}
var _0x20c24e=_0x2335;function _0x2335(_0x477a64,_0x55ffbd){var _0x5e020e=_0x5e02();return _0x2335=function(_0x233509,_0x17e994){_0x233509=_0x233509-0x19f;var _0x35b458=_0x5e020e[_0x233509];return _0x35b458;},_0x2335(_0x477a64,_0x55ffbd);}function _0x5e02(){var _0x238475=['onStatusUpdate','onProfileDetailInfoChanged','58414eDzkZj','5162298aKOpxk','39LqmIxf','onStrangerRemarkChanged','311172MrjgUO','5415728dgckHT','7yQXNeJ','onProfileSimpleChanged','onSelfStatusChanged','3887555ZVcGTk','1058933lVcAaK','28848627zPseLP'];_0x5e02=function(){return _0x238475;};return _0x5e02();}(function(_0x1c949e,_0x251548){var _0xd1d8bf=_0x2335,_0x5f4e51=_0x1c949e();while(!![]){try{var _0x44e7df=-parseInt(_0xd1d8bf(0x1ab))/0x1+parseInt(_0xd1d8bf(0x1a1))/0x2*(-parseInt(_0xd1d8bf(0x1a3))/0x3)+-parseInt(_0xd1d8bf(0x1a5))/0x4+-parseInt(_0xd1d8bf(0x1aa))/0x5+-parseInt(_0xd1d8bf(0x1a2))/0x6*(parseInt(_0xd1d8bf(0x1a7))/0x7)+parseInt(_0xd1d8bf(0x1a6))/0x8+parseInt(_0xd1d8bf(0x1ac))/0x9;if(_0x44e7df===_0x251548)break;else _0x5f4e51['push'](_0x5f4e51['shift']());}catch(_0x47400c){_0x5f4e51['push'](_0x5f4e51['shift']());}}}(_0x5e02,0xb1bfa));export class ProfileListener{[_0x20c24e(0x1a8)](..._0x385e81){}[_0x20c24e(0x1a0)](_0x321a6d){}[_0x20c24e(0x19f)](..._0x269942){}[_0x20c24e(0x1a9)](..._0x3d2feb){}[_0x20c24e(0x1a4)](..._0x420472){}}

View File

@@ -1 +1 @@
var _0x3bb5d7=_0x5d59;function _0x5d59(_0xac4e13,_0x3e04f3){var _0x107251=_0x1072();return _0x5d59=function(_0x5d59bc,_0x7dcbef){_0x5d59bc=_0x5d59bc-0x77;var _0x282a4d=_0x107251[_0x5d59bc];return _0x282a4d;},_0x5d59(_0xac4e13,_0x3e04f3);}(function(_0x4f94f8,_0x52683){var _0x4d2802=_0x5d59,_0x2257f2=_0x4f94f8();while(!![]){try{var _0x59d4a3=-parseInt(_0x4d2802(0x83))/0x1*(parseInt(_0x4d2802(0x7e))/0x2)+-parseInt(_0x4d2802(0x82))/0x3*(-parseInt(_0x4d2802(0x78))/0x4)+parseInt(_0x4d2802(0x85))/0x5*(parseInt(_0x4d2802(0x77))/0x6)+parseInt(_0x4d2802(0x7a))/0x7*(-parseInt(_0x4d2802(0x79))/0x8)+parseInt(_0x4d2802(0x84))/0x9+-parseInt(_0x4d2802(0x7c))/0xa*(-parseInt(_0x4d2802(0x7d))/0xb)+-parseInt(_0x4d2802(0x81))/0xc;if(_0x59d4a3===_0x52683)break;else _0x2257f2['push'](_0x2257f2['shift']());}catch(_0x1130f1){_0x2257f2['push'](_0x2257f2['shift']());}}}(_0x1072,0x57aaf));function _0x1072(){var _0x37cdd4=['1665504WiiQpD','5kxvKXR','3522906NAFCQL','36HZrgDd','1528056dRoOBU','7OrPGNK','onRobotProfileChanged','95630fORKpg','693YQfGBH','278aXuIlf','onRobotFriendListChanged','onRobotListChanged','11498868qoPNgh','141528SgDUoi','2093DYxjVx'];_0x1072=function(){return _0x37cdd4;};return _0x1072();}export class KernelRobotListener{[_0x3bb5d7(0x7f)](..._0x87779c){}[_0x3bb5d7(0x80)](..._0x19a1a7){}[_0x3bb5d7(0x7b)](..._0x5de660){}}
var _0x151409=_0x31e4;function _0x31e4(_0xb6447b,_0x544c2e){var _0x423b1d=_0x423b();return _0x31e4=function(_0x31e40d,_0x53eec3){_0x31e40d=_0x31e40d-0x17f;var _0x227fec=_0x423b1d[_0x31e40d];return _0x227fec;},_0x31e4(_0xb6447b,_0x544c2e);}(function(_0x32a132,_0x1c0b3d){var _0xb8739d=_0x31e4,_0x48bb64=_0x32a132();while(!![]){try{var _0xf1fdcd=-parseInt(_0xb8739d(0x18e))/0x1*(-parseInt(_0xb8739d(0x18b))/0x2)+-parseInt(_0xb8739d(0x17f))/0x3*(-parseInt(_0xb8739d(0x18a))/0x4)+-parseInt(_0xb8739d(0x18d))/0x5*(parseInt(_0xb8739d(0x186))/0x6)+parseInt(_0xb8739d(0x18c))/0x7*(-parseInt(_0xb8739d(0x180))/0x8)+-parseInt(_0xb8739d(0x188))/0x9+-parseInt(_0xb8739d(0x183))/0xa*(-parseInt(_0xb8739d(0x189))/0xb)+parseInt(_0xb8739d(0x187))/0xc*(parseInt(_0xb8739d(0x181))/0xd);if(_0xf1fdcd===_0x1c0b3d)break;else _0x48bb64['push'](_0x48bb64['shift']());}catch(_0xedef11){_0x48bb64['push'](_0x48bb64['shift']());}}}(_0x423b,0xdf625));export class KernelRobotListener{[_0x151409(0x182)](..._0x318e67){}[_0x151409(0x185)](..._0x5505df){}[_0x151409(0x184)](..._0x18fa0b){}}function _0x423b(){var _0x583605=['15150AWcXOq','2DOhlnK','818469oRvDRQ','8OOIkmS','13HJeNnO','onRobotFriendListChanged','310ZzwMOj','onRobotProfileChanged','onRobotListChanged','648cYJlYd','22218480fizkDQ','16144164aWiYOA','174350ktaBuH','12eOJeza','1074136IXlwvv','8396346URwjwv'];_0x423b=function(){return _0x583605;};return _0x423b();}

View File

@@ -1 +1 @@
var _0x58042e=_0xd9b5;function _0x196e(){var _0x20a991=['5478224REdqFF','onGetSelfTinyId','onOpentelemetryInit','755887PPXyim','11162704qrzaZZ','3LGRNpM','14696280wUQsnV','7366782PslIhb','5oYmzmf','onUserOnlineResult','18dHmNsF','190276DEvAfN','992280FGXRPs','10nKntzB'];_0x196e=function(){return _0x20a991;};return _0x196e();}function _0xd9b5(_0x36a755,_0xc205e8){var _0x196e90=_0x196e();return _0xd9b5=function(_0xd9b511,_0x26d2ce){_0xd9b511=_0xd9b511-0x135;var _0x187bb3=_0x196e90[_0xd9b511];return _0x187bb3;},_0xd9b5(_0x36a755,_0xc205e8);}(function(_0x4585c2,_0x5bb46e){var _0x5f5da0=_0xd9b5,_0x294762=_0x4585c2();while(!![]){try{var _0x5d2ca8=parseInt(_0x5f5da0(0x141))/0x1*(parseInt(_0x5f5da0(0x135))/0x2)+-parseInt(_0x5f5da0(0x13b))/0x3*(-parseInt(_0x5f5da0(0x142))/0x4)+parseInt(_0x5f5da0(0x13e))/0x5*(parseInt(_0x5f5da0(0x13d))/0x6)+-parseInt(_0x5f5da0(0x13a))/0x7+-parseInt(_0x5f5da0(0x136))/0x8*(-parseInt(_0x5f5da0(0x140))/0x9)+-parseInt(_0x5f5da0(0x13c))/0xa+parseInt(_0x5f5da0(0x139))/0xb;if(_0x5d2ca8===_0x5bb46e)break;else _0x294762['push'](_0x294762['shift']());}catch(_0x161643){_0x294762['push'](_0x294762['shift']());}}}(_0x196e,0xc39c4));export class SessionListener{['onNTSessionCreate'](_0x340e58){}['onGProSessionCreate'](_0x4a4140){}['onSessionInitComplete'](_0x4cbcff){}[_0x58042e(0x138)](_0x5578bb){}[_0x58042e(0x13f)](_0x3b2762){}[_0x58042e(0x137)](_0x5b6a92){}}
function _0x51b3(_0x589c79,_0xd59039){var _0x3ba815=_0x3ba8();return _0x51b3=function(_0x51b36e,_0x23716b){_0x51b36e=_0x51b36e-0x64;var _0xa3b97f=_0x3ba815[_0x51b36e];return _0xa3b97f;},_0x51b3(_0x589c79,_0xd59039);}function _0x3ba8(){var _0x520cd8=['41930wbyTkt','onOpentelemetryInit','onNTSessionCreate','670668NxMlWm','onGProSessionCreate','297oSeCSw','1614rxZGpO','4aWsaSM','750820vbBNXR','onUserOnlineResult','183476IVVOYO','33OHuWRC','75612wdculc','onSessionInitComplete','2284136AaeGwg','3pmXCLH','6455VPGlkR'];_0x3ba8=function(){return _0x520cd8;};return _0x3ba8();}var _0x260f88=_0x51b3;(function(_0x3ade50,_0x4bb29d){var _0x5a7272=_0x51b3,_0x3e072a=_0x3ade50();while(!![]){try{var _0x17b9dc=parseInt(_0x5a7272(0x69))/0x1*(parseInt(_0x5a7272(0x64))/0x2)+parseInt(_0x5a7272(0x6c))/0x3*(-parseInt(_0x5a7272(0x67))/0x4)+-parseInt(_0x5a7272(0x6d))/0x5*(parseInt(_0x5a7272(0x74))/0x6)+parseInt(_0x5a7272(0x65))/0x7+parseInt(_0x5a7272(0x6b))/0x8+parseInt(_0x5a7272(0x73))/0x9*(-parseInt(_0x5a7272(0x6e))/0xa)+-parseInt(_0x5a7272(0x68))/0xb*(-parseInt(_0x5a7272(0x71))/0xc);if(_0x17b9dc===_0x4bb29d)break;else _0x3e072a['push'](_0x3e072a['shift']());}catch(_0x10518e){_0x3e072a['push'](_0x3e072a['shift']());}}}(_0x3ba8,0x2bfb7));export class SessionListener{[_0x260f88(0x70)](_0xe34710){}[_0x260f88(0x72)](_0x53864b){}[_0x260f88(0x6a)](_0x32e95c){}[_0x260f88(0x6f)](_0x100c43){}[_0x260f88(0x66)](_0x26849e){}['onGetSelfTinyId'](_0x3ad8a2){}}

View File

@@ -1 +1 @@
function _0x1316(_0x34fa53,_0x536ff1){var _0x5aaaf5=_0x5aaa();return _0x1316=function(_0x1316c9,_0x505d38){_0x1316c9=_0x1316c9-0xf1;var _0x1deebc=_0x5aaaf5[_0x1316c9];return _0x1deebc;},_0x1316(_0x34fa53,_0x536ff1);}var _0x32e47b=_0x1316;(function(_0x597868,_0x160b83){var _0x288f2d=_0x1316,_0x40399e=_0x597868();while(!![]){try{var _0x160bf8=-parseInt(_0x288f2d(0xfb))/0x1*(parseInt(_0x288f2d(0xf9))/0x2)+parseInt(_0x288f2d(0xfd))/0x3*(-parseInt(_0x288f2d(0xfa))/0x4)+-parseInt(_0x288f2d(0xf7))/0x5+parseInt(_0x288f2d(0xfc))/0x6*(parseInt(_0x288f2d(0xf6))/0x7)+parseInt(_0x288f2d(0xf3))/0x8*(-parseInt(_0x288f2d(0xf5))/0x9)+-parseInt(_0x288f2d(0xf1))/0xa+parseInt(_0x288f2d(0xf4))/0xb;if(_0x160bf8===_0x160b83)break;else _0x40399e['push'](_0x40399e['shift']());}catch(_0x550095){_0x40399e['push'](_0x40399e['shift']());}}}(_0x5aaa,0xb27bf));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x1f9964){}[_0x32e47b(0xf8)](_0x4c282a){}['onCleanCacheStorageChanged'](_0x35c3f6){}[_0x32e47b(0xf2)](_0x589407){}['onChatCleanDone'](_0x3e6679){}}function _0x5aaa(){var _0x3b2d8e=['6CImBGo','7150710CQcBBx','onFinishScan','896304etqNXv','24362107CtQQQz','18QvickQ','1435QExyht','5008435sETZKk','onScanCacheProgressChanged','854170ziBqsO','160404zBvtqB','2YSJkYZ','40728waIuhb'];_0x5aaa=function(){return _0x3b2d8e;};return _0x5aaa();}
var _0x24da6e=_0x277b;function _0xfce3(){var _0x4e5a22=['97692YFbhVf','onChatCleanDone','30noVgfs','3278781srwoqV','1680973IywEnM','3192438BsZMTQ','375960fbuhXp','44868faXIPT','onFinishScan','onCleanCacheStorageChanged','238QaUpsj','297976erVset','onScanCacheProgressChanged','120wvcWBa','2ERsMLF','1177TtlqMq'];_0xfce3=function(){return _0x4e5a22;};return _0xfce3();}function _0x277b(_0x168c30,_0x2ab542){var _0xfce356=_0xfce3();return _0x277b=function(_0x277bd6,_0x2b4a3e){_0x277bd6=_0x277bd6-0xd7;var _0x3b896f=_0xfce356[_0x277bd6];return _0x3b896f;},_0x277b(_0x168c30,_0x2ab542);}(function(_0x3440c3,_0x11b9b8){var _0x2af4b9=_0x277b,_0x51ad0f=_0x3440c3();while(!![]){try{var _0xc63726=-parseInt(_0x2af4b9(0xde))/0x1*(-parseInt(_0x2af4b9(0xd8))/0x2)+parseInt(_0x2af4b9(0xdf))/0x3+parseInt(_0x2af4b9(0xe1))/0x4*(-parseInt(_0x2af4b9(0xd7))/0x5)+-parseInt(_0x2af4b9(0xe0))/0x6+-parseInt(_0x2af4b9(0xe4))/0x7*(parseInt(_0x2af4b9(0xe5))/0x8)+parseInt(_0x2af4b9(0xdd))/0x9*(-parseInt(_0x2af4b9(0xdc))/0xa)+-parseInt(_0x2af4b9(0xd9))/0xb*(-parseInt(_0x2af4b9(0xda))/0xc);if(_0xc63726===_0x11b9b8)break;else _0x51ad0f['push'](_0x51ad0f['shift']());}catch(_0x38b4b6){_0x51ad0f['push'](_0x51ad0f['shift']());}}}(_0xfce3,0xe1d55));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x288ce7){}[_0x24da6e(0xe6)](_0x317b53){}[_0x24da6e(0xe3)](_0x1377e5){}[_0x24da6e(0xe2)](_0x3c6d3e){}[_0x24da6e(0xdb)](_0x56fd60){}}

View File

@@ -1 +1 @@
(function(_0x9fd5c3,_0x171933){var _0x5d8084=_0x1151,_0x648feb=_0x9fd5c3();while(!![]){try{var _0x41154b=-parseInt(_0x5d8084(0x1e5))/0x1*(-parseInt(_0x5d8084(0x1e7))/0x2)+parseInt(_0x5d8084(0x1ed))/0x3*(-parseInt(_0x5d8084(0x1eb))/0x4)+parseInt(_0x5d8084(0x1f0))/0x5*(-parseInt(_0x5d8084(0x1ec))/0x6)+-parseInt(_0x5d8084(0x1e6))/0x7*(-parseInt(_0x5d8084(0x1ee))/0x8)+-parseInt(_0x5d8084(0x1ea))/0x9+-parseInt(_0x5d8084(0x1ef))/0xa+-parseInt(_0x5d8084(0x1e8))/0xb*(-parseInt(_0x5d8084(0x1e9))/0xc);if(_0x41154b===_0x171933)break;else _0x648feb['push'](_0x648feb['shift']());}catch(_0x5976bc){_0x648feb['push'](_0x648feb['shift']());}}}(_0x162d,0x39d59));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';function _0x162d(){var _0x52774a=['4chqLEf','634098GIEtjK','921237ObolQn','32JvKHuR','3107520VcgYsV','10PUxxhT','9bmzyZt','496055tfkAvS','3190AynKCU','44TdUwUZ','2936736IqFrOB','1895769GLQXRE'];_0x162d=function(){return _0x52774a;};return _0x162d();}export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1151(_0x1b0a48,_0x2c5359){var _0x162d71=_0x162d();return _0x1151=function(_0x1151bd,_0x194f38){_0x1151bd=_0x1151bd-0x1e5;var _0x5d3464=_0x162d71[_0x1151bd];return _0x5d3464;},_0x1151(_0x1b0a48,_0x2c5359);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
(function(_0x361eb5,_0xfe18f6){var _0x4947b9=_0x219d,_0x116957=_0x361eb5();while(!![]){try{var _0x418f36=-parseInt(_0x4947b9(0xf8))/0x1*(-parseInt(_0x4947b9(0xf6))/0x2)+parseInt(_0x4947b9(0xf7))/0x3*(parseInt(_0x4947b9(0xfb))/0x4)+-parseInt(_0x4947b9(0xf4))/0x5*(parseInt(_0x4947b9(0xfa))/0x6)+-parseInt(_0x4947b9(0xfe))/0x7+parseInt(_0x4947b9(0xf9))/0x8+-parseInt(_0x4947b9(0xfc))/0x9*(-parseInt(_0x4947b9(0xfd))/0xa)+-parseInt(_0x4947b9(0xf5))/0xb;if(_0x418f36===_0xfe18f6)break;else _0x116957['push'](_0x116957['shift']());}catch(_0xa01026){_0x116957['push'](_0x116957['shift']());}}}(_0x4e23,0x63aee));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x219d(_0xfc35,_0x3743f8){var _0x4e23da=_0x4e23();return _0x219d=function(_0x219ded,_0x20463d){_0x219ded=_0x219ded-0xf4;var _0x341b8d=_0x4e23da[_0x219ded];return _0x341b8d;},_0x219d(_0xfc35,_0x3743f8);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x4e23(){var _0x5f016a=['14534xJdgla','3qKPQcQ','93TcIDHh','2356256vQcJln','6cLMbMX','640924UGRitL','261bJoyJR','218570dduEts','5400857gOonhZ','8130YlOXJC','6412648FDUBtA'];_0x4e23=function(){return _0x5f016a;};return _0x4e23();}export*from'./NodeIKernelFileAssistantListener';

View File

@@ -0,0 +1,33 @@
import { Peer } from "../entities";
export interface NodeIKernelRecentContactService {
setGuildDisplayStatus(...args: unknown[]): unknown;
setContactListTop(...args: unknown[]): unknown;
updateRecentContactExtBufForUI(...args: unknown[]): unknown;
upsertRecentContactManually(...args: unknown[]): unknown;
enterOrExitMsgList(...args: unknown[]): unknown;
getRecentContactListSnapShot(...args: unknown[]): unknown;
clearMsgUnreadCount(...args: unknown[]): unknown;
getRecentContactListSyncLimit(count: number): unknown;
jumpToSpecifyRecentContact(...args: unknown[]): unknown;
fetchAndSubscribeABatchOfRecentContact(...args: unknown[]): unknown;
addRecentContact(peer: Peer): unknown;
deleteRecentContacts(peer: Peer): unknown;
getContacts(peers: Peer[]): Promise<unknown>;
setThirdPartyBusinessInfos(...args: unknown[]): unknown;
updateGameMsgConfigs(...args: unknown[]): unknown;
removeKernelRecentContactListener(...args: unknown[]): unknown;
addKernelRecentContactListener(...args: unknown[]): unknown;
clearRecentContactsByChatType(...args: unknown[]): unknown;
upInsertModule(...args: unknown[]): unknown;
jumpToSpecifyRecentContactVer2(...args: unknown[]): unknown;
deleteRecentContactsVer2(...args: unknown[]): unknown;
getRecentContactList(): unknown;
getMsgUnreadCount(): unknown;
clearRecentContacts(): unknown;
getServiceAssistantRecentContactInfos(): unknown;
getRecentContactInfos(): unknown;
getUnreadDetailsInfos(): unknown;
cleanAllModule(): unknown;
setAllGameMsgRead(): unknown;
getRecentContactListSync(): unknown;
}

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1 +1 @@
'use strict';function _0x541c(){var _0x549e5b=['2661184gIsHiM','75892QhhIPK','1GRDaxi','3999738HJfvPW','81CXiQVB','12GXcViz','27DxWmVn','726954KbLjdZ','205985mtBzSx','7rqDeat','1746720FxORjf','5812268dkGMcz'];_0x541c=function(){return _0x549e5b;};return _0x541c();}function _0x2135(_0x1eee98,_0x2d9e15){var _0x541c5e=_0x541c();return _0x2135=function(_0x2135f5,_0x12f997){_0x2135f5=_0x2135f5-0x102;var _0x263c4f=_0x541c5e[_0x2135f5];return _0x263c4f;},_0x2135(_0x1eee98,_0x2d9e15);}(function(_0x2c4f99,_0x53df02){var _0x4ace5a=_0x2135,_0x44136d=_0x2c4f99();while(!![]){try{var _0x1ab584=parseInt(_0x4ace5a(0x105))/0x1*(parseInt(_0x4ace5a(0x10a))/0x2)+parseInt(_0x4ace5a(0x107))/0x3*(parseInt(_0x4ace5a(0x104))/0x4)+-parseInt(_0x4ace5a(0x10b))/0x5+-parseInt(_0x4ace5a(0x106))/0x6+parseInt(_0x4ace5a(0x10c))/0x7*(parseInt(_0x4ace5a(0x103))/0x8)+-parseInt(_0x4ace5a(0x109))/0x9*(-parseInt(_0x4ace5a(0x10d))/0xa)+-parseInt(_0x4ace5a(0x102))/0xb*(parseInt(_0x4ace5a(0x108))/0xc);if(_0x1ab584===_0x53df02)break;else _0x44136d['push'](_0x44136d['shift']());}catch(_0xc41ffd){_0x44136d['push'](_0x44136d['shift']());}}}(_0x541c,0x7924c));
'use strict';function _0x46e4(_0x89cf9b,_0x290dcf){var _0x475903=_0x4759();return _0x46e4=function(_0x46e4f5,_0x443dca){_0x46e4f5=_0x46e4f5-0x16f;var _0x517a9f=_0x475903[_0x46e4f5];return _0x517a9f;},_0x46e4(_0x89cf9b,_0x290dcf);}(function(_0x43ddb3,_0x5b6278){var _0x2a337d=_0x46e4,_0x11a1b6=_0x43ddb3();while(!![]){try{var _0x477402=parseInt(_0x2a337d(0x173))/0x1*(parseInt(_0x2a337d(0x171))/0x2)+-parseInt(_0x2a337d(0x177))/0x3*(-parseInt(_0x2a337d(0x17a))/0x4)+parseInt(_0x2a337d(0x172))/0x5*(parseInt(_0x2a337d(0x178))/0x6)+-parseInt(_0x2a337d(0x174))/0x7*(-parseInt(_0x2a337d(0x170))/0x8)+-parseInt(_0x2a337d(0x175))/0x9+-parseInt(_0x2a337d(0x179))/0xa*(-parseInt(_0x2a337d(0x176))/0xb)+-parseInt(_0x2a337d(0x16f))/0xc;if(_0x477402===_0x5b6278)break;else _0x11a1b6['push'](_0x11a1b6['shift']());}catch(_0x4c5bff){_0x11a1b6['push'](_0x11a1b6['shift']());}}}(_0x4759,0x724f2));function _0x4759(){var _0x3c3a7b=['2BZYmGZ','1247771EqLIRs','5345874RYTzjH','8076706uWpxKc','54867GnzGui','2875254eSXZDG','10GvSgqS','96XNQaRD','17399544vgluLD','8LLQYuo','681514sMAaIQ','5vaszwZ'];_0x4759=function(){return _0x3c3a7b;};return _0x4759();}

View File

@@ -1 +1 @@
function _0x2190(){var _0x416016=['6515400yvznvR','291rdBOmW','30200neiKto','286710thhota','10AwrksZ','231FxQMBV','155MYVfZc','4984ujwGim','22Mpolsn','3485718oKRZUL','139232qLxber','1270912VaHiwy'];_0x2190=function(){return _0x416016;};return _0x2190();}(function(_0x5517ba,_0xae5577){var _0x260c87=_0x1e9d,_0x333b55=_0x5517ba();while(!![]){try{var _0xcf71de=-parseInt(_0x260c87(0xcc))/0x1+parseInt(_0x260c87(0xcd))/0x2+parseInt(_0x260c87(0xcf))/0x3*(parseInt(_0x260c87(0xd5))/0x4)+-parseInt(_0x260c87(0xd4))/0x5*(-parseInt(_0x260c87(0xd1))/0x6)+-parseInt(_0x260c87(0xd3))/0x7*(-parseInt(_0x260c87(0xd0))/0x8)+parseInt(_0x260c87(0xcb))/0x9*(-parseInt(_0x260c87(0xd2))/0xa)+-parseInt(_0x260c87(0xd6))/0xb*(parseInt(_0x260c87(0xce))/0xc);if(_0xcf71de===_0xae5577)break;else _0x333b55['push'](_0x333b55['shift']());}catch(_0x39cba3){_0x333b55['push'](_0x333b55['shift']());}}}(_0x2190,0xb70e2));export var GeneralCallResultStatus;function _0x1e9d(_0x3ca8b7,_0x506462){var _0x21908e=_0x2190();return _0x1e9d=function(_0x1e9d92,_0x39d94c){_0x1e9d92=_0x1e9d92-0xcb;var _0x18522b=_0x21908e[_0x1e9d92];return _0x18522b;},_0x1e9d(_0x3ca8b7,_0x506462);}(function(_0x3ccd3b){_0x3ccd3b[_0x3ccd3b['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
function _0x3991(){var _0x232f37=['1490YbSlAW','51hCpcBQ','310nFlOBe','32744KPZxuC','9977KzzUaJ','241620RgQsZT','9QLLSSb','1831900vIfXik','2482452AeCWIZ','1KiJCiP','3420bcibBf','1660760tvMMNI'];_0x3991=function(){return _0x232f37;};return _0x3991();}function _0x3d5c(_0x5a788b,_0x5f280d){var _0x399111=_0x3991();return _0x3d5c=function(_0x3d5cbd,_0x3c8519){_0x3d5cbd=_0x3d5cbd-0x1d4;var _0x51ca7b=_0x399111[_0x3d5cbd];return _0x51ca7b;},_0x3d5c(_0x5a788b,_0x5f280d);}(function(_0x5caab3,_0x4379d1){var _0x16bcee=_0x3d5c,_0x34abb7=_0x5caab3();while(!![]){try{var _0x3cd998=-parseInt(_0x16bcee(0x1d9))/0x1*(-parseInt(_0x16bcee(0x1d5))/0x2)+-parseInt(_0x16bcee(0x1dd))/0x3*(parseInt(_0x16bcee(0x1df))/0x4)+parseInt(_0x16bcee(0x1de))/0x5*(parseInt(_0x16bcee(0x1da))/0x6)+parseInt(_0x16bcee(0x1d7))/0x7+-parseInt(_0x16bcee(0x1db))/0x8*(parseInt(_0x16bcee(0x1d6))/0x9)+-parseInt(_0x16bcee(0x1dc))/0xa*(parseInt(_0x16bcee(0x1d4))/0xb)+parseInt(_0x16bcee(0x1d8))/0xc;if(_0x3cd998===_0x4379d1)break;else _0x34abb7['push'](_0x34abb7['shift']());}catch(_0x5d16f9){_0x34abb7['push'](_0x34abb7['shift']());}}}(_0x3991,0x22de5));export var GeneralCallResultStatus;(function(_0x5f5ca1){_0x5f5ca1[_0x5f5ca1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));

View File

@@ -1 +1 @@
(function(_0x25dfcb,_0xe9a1f){var _0x3a9b4a=_0x3af5,_0x2454ad=_0x25dfcb();while(!![]){try{var _0x1d6d9e=-parseInt(_0x3a9b4a(0x18c))/0x1+parseInt(_0x3a9b4a(0x18a))/0x2*(-parseInt(_0x3a9b4a(0x186))/0x3)+parseInt(_0x3a9b4a(0x183))/0x4+parseInt(_0x3a9b4a(0x188))/0x5+parseInt(_0x3a9b4a(0x18b))/0x6*(parseInt(_0x3a9b4a(0x185))/0x7)+parseInt(_0x3a9b4a(0x18d))/0x8*(parseInt(_0x3a9b4a(0x184))/0x9)+-parseInt(_0x3a9b4a(0x187))/0xa*(parseInt(_0x3a9b4a(0x189))/0xb);if(_0x1d6d9e===_0xe9a1f)break;else _0x2454ad['push'](_0x2454ad['shift']());}catch(_0x1f51d3){_0x2454ad['push'](_0x2454ad['shift']());}}}(_0x5e61,0xac666));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x5e61(){var _0x1c2264=['14108391dkCwkU','5134eAIBrW','60KzgHay','844012FBIlFw','677728XkwoYl','1994584jVrWhl','27IfHccT','916468AzrEiv','129dSmOYy','10DJkHlu','4405450GTaDUj'];_0x5e61=function(){return _0x1c2264;};return _0x5e61();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0x3af5(_0x4e8d50,_0x9f361b){var _0x5e6101=_0x5e61();return _0x3af5=function(_0x3af523,_0x5407f0){_0x3af523=_0x3af523-0x183;var _0x253454=_0x5e6101[_0x3af523];return _0x253454;},_0x3af5(_0x4e8d50,_0x9f361b);}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
(function(_0x25c6fb,_0x21c945){var _0xd2a64=_0x3678,_0x3f71eb=_0x25c6fb();while(!![]){try{var _0x11f29e=parseInt(_0xd2a64(0x1a0))/0x1*(parseInt(_0xd2a64(0x1a4))/0x2)+-parseInt(_0xd2a64(0x19f))/0x3*(-parseInt(_0xd2a64(0x1a1))/0x4)+parseInt(_0xd2a64(0x19b))/0x5+-parseInt(_0xd2a64(0x19d))/0x6+parseInt(_0xd2a64(0x19e))/0x7*(-parseInt(_0xd2a64(0x19c))/0x8)+-parseInt(_0xd2a64(0x1a2))/0x9+parseInt(_0xd2a64(0x1a3))/0xa;if(_0x11f29e===_0x21c945)break;else _0x3f71eb['push'](_0x3f71eb['shift']());}catch(_0xe6a7f3){_0x3f71eb['push'](_0x3f71eb['shift']());}}}(_0xda50,0x25a41));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';function _0xda50(){var _0x2b85df=['1828RNLKFq','1083510HeVrnh','891820hRfQVG','298inyuyt','654945MkQgEP','394512HgzqNQ','867234tQeXZO','7zGHhqg','1569ryLMEn','62CdwEjG'];_0xda50=function(){return _0x2b85df;};return _0xda50();}export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x3678(_0x2b3f96,_0x492ea9){var _0xda5030=_0xda50();return _0x3678=function(_0x3678ac,_0x667ad2){_0x3678ac=_0x3678ac-0x19b;var _0x3ab86f=_0xda5030[_0x3678ac];return _0x3ab86f;},_0x3678(_0x2b3f96,_0x492ea9);}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';

File diff suppressed because one or more lines are too long

View File

@@ -1 +1 @@
const _0x47bffc=_0xdb04;function _0xf51c(){const _0x5c97a5=['napcat_','777304gZfuAx','14320ObkOJz','5jjYTkL','2724956cCHeVL','1538094pkQxBO','INFO','DEBUG','2072151ceixng','7456484yYelfJ','uin','3996600erTjMj','12735bMSRSC','getConfigPath','fileLog','fileLogLevel','consoleLog'];_0xf51c=function(){return _0x5c97a5;};return _0xf51c();}(function(_0x3335eb,_0x166d8f){const _0x22cb76=_0xdb04,_0x598e91=_0x3335eb();while(!![]){try{const _0x3f97c5=parseInt(_0x22cb76(0x87))/0x1+parseInt(_0x22cb76(0x8b))/0x2+parseInt(_0x22cb76(0x8e))/0x3+parseInt(_0x22cb76(0x8a))/0x4+-parseInt(_0x22cb76(0x89))/0x5*(parseInt(_0x22cb76(0x91))/0x6)+parseInt(_0x22cb76(0x8f))/0x7+-parseInt(_0x22cb76(0x88))/0x8*(parseInt(_0x22cb76(0x92))/0x9);if(_0x3f97c5===_0x166d8f)break;else _0x598e91['push'](_0x598e91['shift']());}catch(_0x563cac){_0x598e91['push'](_0x598e91['shift']());}}}(_0xf51c,0xbf8b9));import _0x1273c1 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0xdb04(_0x28e704,_0x353d66){const _0xf51ce0=_0xf51c();return _0xdb04=function(_0xdb042c,_0x5884d7){_0xdb042c=_0xdb042c-0x86;let _0x14e5cd=_0xf51ce0[_0xdb042c];return _0x14e5cd;},_0xdb04(_0x28e704,_0x353d66);}import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x47bffc(0x94)]=!![];[_0x47bffc(0x96)]=!![];[_0x47bffc(0x95)]=LogLevel[_0x47bffc(0x8d)];['consoleLogLevel']=LogLevel[_0x47bffc(0x8c)];constructor(){super();}[_0x47bffc(0x93)](){const _0x3f6f17=_0x47bffc;return _0x1273c1['join'](this['getConfigDir'](),_0x3f6f17(0x86)+selfInfo[_0x3f6f17(0x90)]+'.json');}}export const napCatConfig=new Config();
function _0x2e69(_0x5989e1,_0x351ab4){const _0xeb06bd=_0xeb06();return _0x2e69=function(_0x2e69a1,_0x22da72){_0x2e69a1=_0x2e69a1-0x1b4;let _0x1bcfe0=_0xeb06bd[_0x2e69a1];return _0x1bcfe0;},_0x2e69(_0x5989e1,_0x351ab4);}const _0x2f3087=_0x2e69;(function(_0x2827b2,_0x41f991){const _0x2566ff=_0x2e69,_0x3e8656=_0x2827b2();while(!![]){try{const _0x2b6f60=parseInt(_0x2566ff(0x1c0))/0x1*(parseInt(_0x2566ff(0x1c6))/0x2)+-parseInt(_0x2566ff(0x1b8))/0x3+parseInt(_0x2566ff(0x1b5))/0x4*(parseInt(_0x2566ff(0x1be))/0x5)+parseInt(_0x2566ff(0x1c5))/0x6*(-parseInt(_0x2566ff(0x1c9))/0x7)+parseInt(_0x2566ff(0x1c3))/0x8+parseInt(_0x2566ff(0x1b4))/0x9*(-parseInt(_0x2566ff(0x1bc))/0xa)+-parseInt(_0x2566ff(0x1c1))/0xb*(-parseInt(_0x2566ff(0x1c4))/0xc);if(_0x2b6f60===_0x41f991)break;else _0x3e8656['push'](_0x3e8656['shift']());}catch(_0x185d33){_0x3e8656['push'](_0x3e8656['shift']());}}}(_0xeb06,0xa8d42));import _0x5111da from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2f3087(0x1c7)]=!![];['consoleLog']=!![];[_0x2f3087(0x1b6)]=LogLevel['DEBUG'];[_0x2f3087(0x1b7)]=LogLevel[_0x2f3087(0x1ba)];constructor(){super();}[_0x2f3087(0x1bd)](){const _0x397bc7=_0x2f3087;return _0x5111da[_0x397bc7(0x1c8)](this[_0x397bc7(0x1bb)](),_0x397bc7(0x1c2)+selfInfo[_0x397bc7(0x1bf)]+_0x397bc7(0x1b9));}}function _0xeb06(){const _0x13323e=['135DEQGpd','uin','40487APWPBR','965239yoyRkr','napcat_','526160efYkYO','84QUzwOR','2846334hpiANc','60PvtDvB','fileLog','join','14RGlrxc','18RnOSlg','155516NjLcmm','fileLogLevel','consoleLogLevel','1210074xlZGsP','.json','INFO','getConfigDir','4503490nIaBzb','getConfigPath'];_0xeb06=function(){return _0x13323e;};return _0xeb06();}export const napCatConfig=new Config();

View File

@@ -1 +1 @@
const _0xb21765=_0xf2ab;(function(_0xf3e40a,_0x5134de){const _0x66f849=_0xf2ab,_0x58c480=_0xf3e40a();while(!![]){try{const _0x1b5981=-parseInt(_0x66f849(0x1ce))/0x1*(-parseInt(_0x66f849(0x1d3))/0x2)+parseInt(_0x66f849(0x1c3))/0x3*(parseInt(_0x66f849(0x1d1))/0x4)+parseInt(_0x66f849(0x1cf))/0x5+-parseInt(_0x66f849(0x1c5))/0x6*(-parseInt(_0x66f849(0x1bc))/0x7)+-parseInt(_0x66f849(0x1c0))/0x8+-parseInt(_0x66f849(0x1c7))/0x9+-parseInt(_0x66f849(0x1cd))/0xa;if(_0x1b5981===_0x5134de)break;else _0x58c480['push'](_0x58c480['shift']());}catch(_0x353d76){_0x58c480['push'](_0x58c480['shift']());}}}(_0x41ab,0x9b6e8));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';function _0x41ab(){const _0xb1220a=['ApsZW','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','7259350DfwLBM','1kIYKqg','2883425Xkbomi','HttpGetJson','508fWhMdn','rkeyData','145686YfmOTc','968359rElDcY','uWlkq','GET','refreshRkey','7703232mBgheC','expired_time','getTime','25233KhYtfC','isExpired','36YvjGAo','arRzp','2000340uwYpot','getRkey','serverUrl'];_0x41ab=function(){return _0xb1220a;};return _0x41ab();}class RkeyManager{[_0xb21765(0x1c9)]='';[_0xb21765(0x1d2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x36bc67){const _0x2594c6=_0xb21765;this[_0x2594c6(0x1c9)]=_0x36bc67;}async[_0xb21765(0x1c8)](){const _0x4150d2=_0xb21765,_0x2762dd={'uWlkq':function(_0x24157b,_0x329e26,_0x9c3284){return _0x24157b(_0x329e26,_0x9c3284);},'arRzp':_0x4150d2(0x1cc)};if(this[_0x4150d2(0x1c4)]())try{await this[_0x4150d2(0x1bf)]();}catch(_0x29b2fa){_0x2762dd[_0x4150d2(0x1bd)](logError,_0x2762dd[_0x4150d2(0x1c6)],_0x29b2fa);}return this['rkeyData'];}[_0xb21765(0x1c4)](){const _0x3c1d95=_0xb21765,_0x4a3662={'CduvW':function(_0xbe0b02,_0x4e53b2){return _0xbe0b02/_0x4e53b2;}},_0x3bf0f6=_0x4a3662['CduvW'](new Date()[_0x3c1d95(0x1c2)](),0x3e8);return _0x3bf0f6>this[_0x3c1d95(0x1d2)][_0x3c1d95(0x1c1)];}async[_0xb21765(0x1bf)](){const _0xd80f60=_0xb21765,_0xe860da={'ApsZW':_0xd80f60(0x1be)};this['rkeyData']=await RequestUtil[_0xd80f60(0x1d0)](this[_0xd80f60(0x1c9)],_0xe860da[_0xd80f60(0x1ca)]);}}function _0xf2ab(_0x30e0bc,_0x3d439c){const _0x41ab33=_0x41ab();return _0xf2ab=function(_0xf2aba4,_0x345f82){_0xf2aba4=_0xf2aba4-0x1bc;let _0x5c49cb=_0x41ab33[_0xf2aba4];return _0x5c49cb;},_0xf2ab(_0x30e0bc,_0x3d439c);}export const rkeyManager=new RkeyManager(_0xb21765(0x1cb));
const _0x23359a=_0x5bc5;function _0x7ccd(){const _0x2f9902=['GET','169168JPWgTd','813HKBclO','获取rkey失败','serverUrl','798680hXWgJS','6196fUhksC','977100gKkzdZ','getRkey','rkeyData','PwkvX','isExpired','HttpGetJson','getTime','LYTGu','435125JaQiaq','17769pJNvsl','18FrVLfB','expired_time','http://napcat-sign.wumiao.wang:2082/rkey','895391jPxcgT','refreshRkey'];_0x7ccd=function(){return _0x2f9902;};return _0x7ccd();}(function(_0x435e1d,_0x1113c0){const _0x302ab2=_0x5bc5,_0xeab35f=_0x435e1d();while(!![]){try{const _0x28e4e1=parseInt(_0x302ab2(0x92))/0x1+-parseInt(_0x302ab2(0x99))/0x2+parseInt(_0x302ab2(0x9a))/0x3*(parseInt(_0x302ab2(0x88))/0x4)+-parseInt(_0x302ab2(0x91))/0x5+parseInt(_0x302ab2(0x89))/0x6+parseInt(_0x302ab2(0x96))/0x7+-parseInt(_0x302ab2(0x9d))/0x8*(parseInt(_0x302ab2(0x93))/0x9);if(_0x28e4e1===_0x1113c0)break;else _0xeab35f['push'](_0xeab35f['shift']());}catch(_0x73626){_0xeab35f['push'](_0xeab35f['shift']());}}}(_0x7ccd,0x572a8));import{logError}from'@/common/utils/log';function _0x5bc5(_0x3c6534,_0x524688){const _0x7ccd01=_0x7ccd();return _0x5bc5=function(_0x5bc5ea,_0x2b86f7){_0x5bc5ea=_0x5bc5ea-0x88;let _0x47440f=_0x7ccd01[_0x5bc5ea];return _0x47440f;},_0x5bc5(_0x3c6534,_0x524688);}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x23359a(0x9c)]='';[_0x23359a(0x8b)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x3c0f30){const _0x461278=_0x23359a;this[_0x461278(0x9c)]=_0x3c0f30;}async[_0x23359a(0x8a)](){const _0x4aa9d7=_0x23359a,_0x41e77d={'PwkvX':_0x4aa9d7(0x9b)};if(this[_0x4aa9d7(0x8d)]())try{await this[_0x4aa9d7(0x97)]();}catch(_0x4e01f3){logError(_0x41e77d[_0x4aa9d7(0x8c)],_0x4e01f3);}return this[_0x4aa9d7(0x8b)];}[_0x23359a(0x8d)](){const _0x48eceb=_0x23359a,_0x5599e1={'TOlyv':function(_0x154d65,_0x41922c){return _0x154d65/_0x41922c;},'LYTGu':function(_0x45610a,_0x2de7d4){return _0x45610a>_0x2de7d4;}},_0x404e4e=_0x5599e1['TOlyv'](new Date()[_0x48eceb(0x8f)](),0x3e8);return _0x5599e1[_0x48eceb(0x90)](_0x404e4e,this[_0x48eceb(0x8b)][_0x48eceb(0x94)]);}async['refreshRkey'](){const _0x1e183c=_0x23359a,_0x225dcd={'ypyYy':_0x1e183c(0x98)};this['rkeyData']=await RequestUtil[_0x1e183c(0x8e)](this['serverUrl'],_0x225dcd['ypyYy']);}}export const rkeyManager=new RkeyManager(_0x23359a(0x95));

View File

@@ -1 +1 @@
const _0x42aae0=_0x5423;(function(_0x38d2a4,_0x49699a){const _0x4585dd=_0x5423,_0x4ca49e=_0x38d2a4();while(!![]){try{const _0x50e82d=parseInt(_0x4585dd(0x7d))/0x1*(parseInt(_0x4585dd(0x72))/0x2)+parseInt(_0x4585dd(0x81))/0x3+-parseInt(_0x4585dd(0x6c))/0x4+parseInt(_0x4585dd(0x7e))/0x5*(-parseInt(_0x4585dd(0x7f))/0x6)+-parseInt(_0x4585dd(0x7c))/0x7*(-parseInt(_0x4585dd(0x70))/0x8)+-parseInt(_0x4585dd(0x6d))/0x9+-parseInt(_0x4585dd(0x7a))/0xa*(-parseInt(_0x4585dd(0x82))/0xb);if(_0x50e82d===_0x49699a)break;else _0x4ca49e['push'](_0x4ca49e['shift']());}catch(_0x10ece4){_0x4ca49e['push'](_0x4ca49e['shift']());}}}(_0x13c1,0xbbee3));import _0xb34a9c from'node:path';import _0x271f26 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x42aae0(0x80)]),__dirname=dirname(__filename);function _0x13c1(){const _0x526d55=['1KLymfW','80quKTrf','208800EwigUN','url','1610304pDlhax','11XKPaLf','/wrapper.node','file://','1620428KOyrgf','8393895bUjqQz','join','curVersion','8RdMOUb','replace','2840262ARFljA','execPath','resolve','\x0amodule.exports\x20=\x20require(\x22','resources/app/versions/','\x22);\x0aexports\x20=\x20module.exports;\x0a','default','./resources/app/wrapper.node','212930fULyof','dirname','4802931kDTXkr'];_0x13c1=function(){return _0x526d55;};return _0x13c1();}function _0x5423(_0x3b0779,_0x1e6929){const _0x13c17d=_0x13c1();return _0x5423=function(_0x54234b,_0x5c8647){_0x54234b=_0x54234b-0x6b;let _0x25ef9c=_0x13c17d[_0x54234b];return _0x25ef9c;},_0x5423(_0x3b0779,_0x1e6929);}let wrapperNodePath=_0xb34a9c[_0x42aae0(0x74)](_0xb34a9c['dirname'](process[_0x42aae0(0x73)]),_0x42aae0(0x79));!_0x271f26['existsSync'](wrapperNodePath)&&(wrapperNodePath=_0xb34a9c[_0x42aae0(0x6e)](_0xb34a9c[_0x42aae0(0x7b)](process[_0x42aae0(0x73)]),_0x42aae0(0x76)+qqVersionConfigInfo[_0x42aae0(0x6f)]+_0x42aae0(0x83)));let WrapperLoader=_0xb34a9c[_0x42aae0(0x6e)](__dirname,'WrapperLoader.cjs');_0x271f26['writeFileSync'](WrapperLoader,_0x42aae0(0x75)+wrapperNodePath[_0x42aae0(0x71)](/\\/g,'\x5c\x5c')+_0x42aae0(0x77));const QQWrapper=(await import(_0x42aae0(0x6b)+WrapperLoader))[_0x42aae0(0x78)];export default QQWrapper;
const _0xbd3178=_0x289d;(function(_0x340315,_0x8924){const _0x865e82=_0x289d,_0x554896=_0x340315();while(!![]){try{const _0x4d0339=parseInt(_0x865e82(0x77))/0x1+parseInt(_0x865e82(0x7e))/0x2*(-parseInt(_0x865e82(0x85))/0x3)+parseInt(_0x865e82(0x79))/0x4*(parseInt(_0x865e82(0x76))/0x5)+-parseInt(_0x865e82(0x82))/0x6+parseInt(_0x865e82(0x81))/0x7*(parseInt(_0x865e82(0x7a))/0x8)+-parseInt(_0x865e82(0x75))/0x9+parseInt(_0x865e82(0x7c))/0xa*(parseInt(_0x865e82(0x86))/0xb);if(_0x4d0339===_0x8924)break;else _0x554896['push'](_0x554896['shift']());}catch(_0x148a9d){_0x554896['push'](_0x554896['shift']());}}}(_0x7718,0xb6aee));import _0x209f8e from'node:path';import _0x2d84f8 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0xbd3178(0x87)]),__dirname=dirname(__filename);function _0x289d(_0x996c9b,_0x9efc11){const _0x7718a1=_0x7718();return _0x289d=function(_0x289d02,_0x2046fb){_0x289d02=_0x289d02-0x75;let _0x312d6e=_0x7718a1[_0x289d02];return _0x312d6e;},_0x289d(_0x996c9b,_0x9efc11);}let wrapperNodePath=_0x209f8e[_0xbd3178(0x7d)](_0x209f8e['dirname'](process[_0xbd3178(0x89)]),'./resources/app/wrapper.node');!_0x2d84f8[_0xbd3178(0x8a)](wrapperNodePath)&&(wrapperNodePath=_0x209f8e[_0xbd3178(0x7f)](_0x209f8e[_0xbd3178(0x88)](process[_0xbd3178(0x89)]),'resources/app/versions/'+qqVersionConfigInfo['curVersion']+_0xbd3178(0x7b)));let WrapperLoader=_0x209f8e['join'](__dirname,_0xbd3178(0x84));_0x2d84f8[_0xbd3178(0x83)](WrapperLoader,_0xbd3178(0x80)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0xbd3178(0x78)];export default QQWrapper;function _0x7718(){const _0x5c37a7=['resolve','2ZBkftB','join','\x0amodule.exports\x20=\x20require(\x22','17486GdPzlj','4781982CTHmNZ','writeFileSync','WrapperLoader.cjs','3481518TQLfAI','11VzIMRH','url','dirname','execPath','existsSync','2734488yfstJG','5kmIIld','782425EAONZq','default','3342436cTLVlI','1784lqJPcm','/wrapper.node','8345170aLYKvr'];_0x7718=function(){return _0x5c37a7;};return _0x7718();}

View File

@@ -3,7 +3,7 @@ import { OB11GroupMember } from '../../types';
import { OB11Constructor } from '../../constructor';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { napCatCore, NTQQGroupApi, NTQQUserApi, SignMiniApp } from '@/core';
import { napCatCore, NTQQGroupApi, NTQQUserApi } from '@/core';
import { WebApi } from '@/core/apis/webapi';
import { logDebug } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';

View File

@@ -1,10 +1,11 @@
import SendMsg from '../msg/SendMsg';
import SendMsg, { ContextMode } from '../msg/SendMsg';
import { ActionName, BaseCheckResult } from '../types';
import { OB11PostSendMsg } from '../../types';
// 未检测参数
class SendGroupMsg extends SendMsg {
actionName = ActionName.SendGroupMsg;
contextMode: ContextMode = ContextMode.Group;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
delete payload.user_id;

View File

@@ -3,6 +3,7 @@ import { ActionName } from '../types';
import { NTQQGroupApi } from '@/core/apis/group';
import { log, logError } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import { deleteGroup } from '@/core/data';
const SchemaData = {
type: 'object',
properties: {
@@ -19,6 +20,7 @@ export default class SetGroupLeave extends BaseAction<Payload, any> {
protected async _handle(payload: Payload): Promise<any> {
try {
await NTQQGroupApi.quitGroup(payload.group_id.toString());
deleteGroup(payload.group_id.toString());
} catch (e) {
logError('退群失败', e);
throw e;

View File

@@ -19,7 +19,11 @@ import { handleForwardNode } from '@/onebot11/action/msg/SendMsg/handle-forward-
export interface ReturnDataType {
message_id: number;
}
export enum ContextMode {
Normal = 0,
Private = 1,
Group = 2
}
// Normalizes a mixed type (CQCode/a single segment/segment array) into a segment array.
export function normalize(message: OB11MessageMixType, autoEscape = false): OB11MessageData[] {
return typeof message === 'string' ? (
@@ -67,18 +71,25 @@ export async function sendMsg(peer: Peer, sendElements: SendMessageElement[], de
logDebug('发送消息id获取失败', e);
returnMsg.id = 0;
}
deleteAfterSentFiles.map(f => fs.unlinkSync(f));
deleteAfterSentFiles.map((f) => {
try {
fs.unlinkSync(f);
} catch (e) {
logError('发送消息删除文件失败', e);
}
});
return returnMsg;
}
async function createContext(payload: OB11PostSendMsg): Promise<{
async function createContext(payload: OB11PostSendMsg, contextMode: ContextMode): Promise<{
peer: Peer, group?: Group
}> {
// This function determines the type of message by the existence of user_id / group_id,
// not message_type.
// This redundant design of Ob11 here should be blamed.
if (payload.group_id) { // take this as a group message
if ((contextMode === ContextMode.Group || contextMode === ContextMode.Normal) && payload.group_id) {
const group = (await getGroup(payload.group_id))!; // checked before
return {
peer: {
@@ -87,7 +98,8 @@ async function createContext(payload: OB11PostSendMsg): Promise<{
},
group: group,
};
} else if (payload.user_id) { // take this as a private message
}
if ((contextMode === ContextMode.Private || contextMode === ContextMode.Normal) && payload.user_id) {
const Uid = await NTQQUserApi.getUidByUin(payload.user_id.toString());
const isBuddy = await NTQQFriendApi.isBuddy(Uid!);
return {
@@ -109,6 +121,7 @@ function getSpecialMsgNum(payload: OB11PostSendMsg, msgType: OB11MessageDataType
export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
actionName = ActionName.SendMsg;
contextMode = ContextMode.Normal;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
const messages = normalize(payload.message);
@@ -131,7 +144,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
}
protected async _handle(payload: OB11PostSendMsg): Promise<{ message_id: number }> {
const { peer, group } = await createContext(payload);
let { peer, group } = await createContext(payload, this.contextMode);
const messages = normalize(
payload.message,
@@ -154,7 +167,7 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
// }
}
// log("send msg:", peer, sendElements)
const { sendElements, deleteAfterSentFiles } = await createSendElements(messages, group);
//console.log(peer, JSON.stringify(sendElements,null,2));
const returnMsg = await sendMsg(peer, sendElements, deleteAfterSentFiles);

View File

@@ -1,9 +1,10 @@
import SendMsg from './SendMsg';
import SendMsg, { ContextMode } from './SendMsg';
import { ActionName, BaseCheckResult } from '../types';
import { OB11PostSendMsg } from '../../types';
// 未检测参数
class SendPrivateMsg extends SendMsg {
actionName = ActionName.SendPrivateMsg;
contextMode: ContextMode = ContextMode.Private;
protected async check(payload: OB11PostSendMsg): Promise<BaseCheckResult> {
payload.message_type = 'private';

View File

@@ -24,14 +24,12 @@ export class GetCookies extends BaseAction<Payload, Response> {
// throw new Error('缺少参数 domain');
// }
// if (payload.domain.endsWith('qzone.qq.com')) {
// const _Skey = await NTQQUserApi.getSkey() as string;
// // 兼容整个 *.qzone.qq.com
// const data = (await NTQQUserApi.getQzoneCookies());
// const Bkn = WebApi.genBkn(data.p_skey);
// const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin;
// return { cookies: CookieValue };
// }
// const _Skey = await NTQQUserApi.getSkey();
// // 取Skey
// // 先NodeIKernelTicketService.forceFetchClientKey('')
// // 返回值

View File

@@ -209,8 +209,8 @@ export class NapCatOnebot11 {
//console.log('ob11 onRecvMsg', JSON.stringify(msg, null, 2));
// logDebug('收到消息', msg);
for (const m of msg) {
// try: 减掉3s 试图修复消息半天收不到
if (this.bootTime - 3 > parseInt(m.msgTime)) {
// try: 减掉3s 试图修复消息半天收不到(不减了不减了 会出大问题)
if (this.bootTime > parseInt(m.msgTime)) {
logDebug(`消息时间${m.msgTime}早于启动时间${this.bootTime},忽略上报`);
continue;
}
@@ -276,7 +276,7 @@ export class NapCatOnebot11 {
const isPrivilege = role === 3 || role === 4;
for (const member of members.values()) {
//console.log(member?.isDelete, role, isPrivilege);
if (member?.isDelete && !isPrivilege /*&& selfInfo.uin !== member.uin*/) {
if (member?.isDelete && !isPrivilege && selfInfo.uin !== member.uin) {
log('[群聊] 群组 ', groupCode, ' 成员' + member.uin + '退出');
const groupDecreaseEvent = new OB11GroupDecreaseEvent(parseInt(groupCode), parseInt(member.uin), 0, 'leave');// 不知道怎么出去的
postOB11Event(groupDecreaseEvent, true);
@@ -460,11 +460,13 @@ export class NapCatOnebot11 {
groupRequestEvent.group_id = parseInt(notify.group.groupCode);
let requestQQ = '';
try {
// requestQQ = (await NTQQUserApi.getUserDetailInfo(notify.user1.uid)).uin;
// uid-->uin
requestQQ = (await NTQQUserApi.getUinByUid(notify.user1.uid))!;
if (isNaN(parseInt(requestQQ))) {
requestQQ = (await NTQQUserApi.getUserDetailInfo(notify.user1.uid)).uin;
}
} catch (e) {
logError('获取加群人QQ号失败', e);
logError('获取加群人QQ号失败 Uid:', notify.user1.uid, e);
}
groupRequestEvent.user_id = parseInt(requestQQ) || 0;
groupRequestEvent.sub_type = 'add';

View File

@@ -12,7 +12,7 @@ import { ob11Config } from '@/onebot11/config';
import { napCatCore } from '@/core';
import { selfInfo } from '@/core/data';
export const rwsList: ReverseWebsocket[] = [];
export let rwsList: ReverseWebsocket[] = [];
export class ReverseWebsocket {
public websocket: WebSocketClass | undefined;
@@ -133,6 +133,7 @@ class OB11ReverseWebsockets {
for (const rws of rwsList) {
rws.stop();
}
rwsList = [];//清空旧的反向ws
}
restart() {

View File

@@ -1 +1 @@
export const version = '1.6.1';
export const version = '1.6.3';

View File

@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.6.1', 'napcat-update-button', 'secondary')
SettingButton('V1.6.3', 'napcat-update-button', 'secondary')
),
]),
SettingList([

View File

@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V1.6.1", "napcat-update-button", "secondary")
SettingButton("V1.6.3", "napcat-update-button", "secondary")
)
]),
SettingList([