Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
1619adfc27 | ||
|
|
5510fb473f | ||
|
|
be1878cb2b | ||
|
|
15ab121cbd | ||
|
|
aa79b0e861 | ||
|
|
b80e550bcd | ||
|
|
dbc40b5814 | ||
|
|
0d5696a644 | ||
|
|
ceffa05802 | ||
|
|
d5668920b6 | ||
|
|
516f2da144 | ||
|
|
33c94e1888 | ||
|
|
51ab58cd91 | ||
|
|
aa7798d1d1 | ||
|
|
9067a1fc92 | ||
|
|
4024b6c564 | ||
|
|
d39730928b | ||
|
|
e1f049229c | ||
|
|
8f2676ec19 | ||
|
|
32d26248dc | ||
|
|
16f926401b | ||
|
|
66d60d3599 | ||
|
|
5a35ab6c34 | ||
|
|
ba1542bd31 | ||
|
|
453060945a | ||
|
|
c8351be461 | ||
|
|
9954da22a6 | ||
|
|
907b5611eb | ||
|
|
5f075de212 | ||
|
|
8fcf3c5079 | ||
|
|
07cee90c7a | ||
|
|
75ad495b98 | ||
|
|
0bb7288ad2 | ||
|
|
ad72415532 | ||
|
|
0ad0353fc0 | ||
|
|
9fa0dcd7aa | ||
|
|
1f2e80cd39 | ||
|
|
6cb6034d43 | ||
|
|
25134c6ac6 | ||
|
|
92bf42878a | ||
|
|
9f4582d158 | ||
|
|
68af73970e | ||
|
|
b6ed8d4975 | ||
|
|
d07d3645ce | ||
|
|
123759ab17 | ||
|
|
f2f1f893d8 | ||
|
|
db93a8eed2 | ||
|
|
12ab6d4a7d | ||
|
|
add759e889 | ||
|
|
f315f7977d | ||
|
|
f2f6701ebd | ||
|
|
1a92794d33 | ||
|
|
7640deb798 | ||
|
|
f1e8ef1cf6 | ||
|
|
5e5ac0162e | ||
|
|
0c013820f0 | ||
|
|
4b3a9e5847 | ||
|
|
e4982256a4 | ||
|
|
babc4927a8 | ||
|
|
6dd84cf469 | ||
|
|
a8800e3899 | ||
|
|
5f03496046 | ||
|
|
41500c17a2 | ||
|
|
2dcfde8b9a | ||
|
|
5c3305d8fa | ||
|
|
0d1fe99f53 | ||
|
|
4c03ffeec7 | ||
|
|
8101d17482 | ||
|
|
bc7b4dcc2a | ||
|
|
3db8b9078d | ||
|
|
943dbbefd3 | ||
|
|
480abcb853 | ||
|
|
60aaaff58e | ||
|
|
e3b889bbe8 | ||
|
|
ac5506a43b | ||
|
|
b29f533a3b | ||
|
|
a8ee86b09e | ||
|
|
0238c53302 | ||
|
|
665e3c806f | ||
|
|
8c96838441 | ||
|
|
4a722daec6 | ||
|
|
4e0cdbcb91 | ||
|
|
08976624cd | ||
|
|
fdeba94653 | ||
|
|
d3b100b7e5 | ||
|
|
1de3e18b08 | ||
|
|
d5c3c95682 | ||
|
|
dabe1e29ed | ||
|
|
203d1c0cfc | ||
|
|
7edd8601be | ||
|
|
a4423247f4 | ||
|
|
4834b203a0 | ||
|
|
bbabb32d13 | ||
|
|
95112d6bdf | ||
|
|
36cdca5a3e | ||
|
|
6980a9f3fc | ||
|
|
7b09479cd2 | ||
|
|
5825fd6f36 | ||
|
|
2d5b45dd82 | ||
|
|
52dda1d1fe | ||
|
|
420624bee4 | ||
|
|
8abde7b7d0 | ||
|
|
9e5b1ba28e | ||
|
|
b9c7d3c18e | ||
|
|
10aeccbbe5 | ||
|
|
15d351ebc2 | ||
|
|
7194f31cb6 | ||
|
|
84b7e82446 | ||
|
|
8264423b1a | ||
|
|
37f897f3bf | ||
|
|
fe3efac145 | ||
|
|
9773aebefc | ||
|
|
06f2b8c371 | ||
|
|
e8f0bb8350 | ||
|
|
9bfa6b827b | ||
|
|
b21bc17a58 | ||
|
|
f4d5d417d0 | ||
|
|
91fc83621e | ||
|
|
461feca0ca | ||
|
|
5e9afab3f7 | ||
|
|
2599ca6450 | ||
|
|
fc99ad3a39 | ||
|
|
10e1c3e72c | ||
|
|
af5dedd4d4 | ||
|
|
3b986c1076 | ||
|
|
72f77e8b7c | ||
|
|
e893bf676f | ||
|
|
80eb34f611 | ||
|
|
5d01947552 | ||
|
|
d3a025ef7b | ||
|
|
c466df841e | ||
|
|
b3c6e2a0f3 | ||
|
|
076c9cfed7 | ||
|
|
c3f3d12f83 | ||
|
|
44974034ec | ||
|
|
d6175acd38 | ||
|
|
62eee5f05c | ||
|
|
d4e5201913 | ||
|
|
f4d584765a | ||
|
|
26e224f852 | ||
|
|
252358ed66 | ||
|
|
475afeb7c8 | ||
|
|
7cbbb846eb | ||
|
|
25f947968c | ||
|
|
cad824dcbc | ||
|
|
e506f50b00 | ||
|
|
96ec149a98 | ||
|
|
8c913512f6 | ||
|
|
4cc307299d | ||
|
|
407c6b4c5f | ||
|
|
8f87070434 | ||
|
|
4a63996ee2 | ||
|
|
0358fe7620 | ||
|
|
55e64395ed | ||
|
|
ff5fb18e14 | ||
|
|
52dd960857 | ||
|
|
430221c2de | ||
|
|
217bdf8f92 | ||
|
|
38c6c869bf | ||
|
|
84d46da67e | ||
|
|
eb9d6240d7 | ||
|
|
2d44a871b0 | ||
|
|
3f89f350ff | ||
|
|
1a8407a782 | ||
|
|
cf288a3f73 | ||
|
|
f1f37fb180 | ||
|
|
fb0dd079fd | ||
|
|
a6c584c85c | ||
|
|
77adf35a30 | ||
|
|
dc6951c2a9 | ||
|
|
d14ba3f0f7 | ||
|
|
78ddf36e35 | ||
|
|
d42734624d | ||
|
|
b5dbd9d59b | ||
|
|
bed3e1289b | ||
|
|
b11ca4e60e | ||
|
|
4fcf3aa2bd | ||
|
|
dc39da8ca5 | ||
|
|
c10c87d28e | ||
|
|
c6fe6f1cc5 | ||
|
|
1c2bbeb26d | ||
|
|
17ed3692d0 | ||
|
|
966a00f41e | ||
|
|
fd8d8f89aa | ||
|
|
305bb74072 | ||
|
|
7f4dcdd134 | ||
|
|
aac37dcce1 | ||
|
|
f539c662a5 | ||
|
|
c82f346dd0 | ||
|
|
21b4a87837 | ||
|
|
ae73bcf24b | ||
|
|
2a3b56bde1 | ||
|
|
b8ebededd8 | ||
|
|
227c4c422c | ||
|
|
652bfb93cc | ||
|
|
c2278e3536 | ||
|
|
caa2fca4e8 | ||
|
|
745cb0175c | ||
|
|
e5165a780f | ||
|
|
b4b91af02b | ||
|
|
5649ff9c2e | ||
|
|
5b4bf6c62a | ||
|
|
93cb662282 | ||
|
|
00a8715e58 | ||
|
|
7ecd479b3e | ||
|
|
8fe7d3aaec | ||
|
|
f32a693393 | ||
|
|
17ebc01597 | ||
|
|
827fb698e1 | ||
|
|
32bdf10fd2 | ||
|
|
b795e6c3d2 | ||
|
|
42ba524e4e | ||
|
|
317c6d96e3 | ||
|
|
3692d1499f | ||
|
|
b21fbad8a3 | ||
|
|
743334a68a | ||
|
|
951413eb38 | ||
|
|
32dcdef853 | ||
|
|
34c9254d4a | ||
|
|
14012a4668 | ||
|
|
575debca63 | ||
|
|
763cac8532 | ||
|
|
43faacd7a7 | ||
|
|
1d4e307e96 | ||
|
|
7f8933b0de | ||
|
|
81608ff025 | ||
|
|
db63675b8e | ||
|
|
f74a83bc46 | ||
|
|
bc1deba3e4 | ||
|
|
d6113a8f0a | ||
|
|
2062cd48ea | ||
|
|
1c965ef515 | ||
|
|
58291b7156 | ||
|
|
afd1648d80 | ||
|
|
21814ffa9a | ||
|
|
9d3522da54 | ||
|
|
e07a76755e | ||
|
|
ba46bcdeae | ||
|
|
8d7e44314c | ||
|
|
35a67498c7 | ||
|
|
90dd934f95 | ||
|
|
4087045542 | ||
|
|
d11cef5907 | ||
|
|
76c91d226c | ||
|
|
c2b4dd2afd | ||
|
|
25b39cb39a | ||
|
|
35dcb7b88b | ||
|
|
e5f7e7c26e | ||
|
|
c5c11fd6a6 | ||
|
|
8134083419 | ||
|
|
a87e624198 | ||
|
|
e4c62d20b4 | ||
|
|
fa195d9e55 | ||
|
|
5ef5773d23 | ||
|
|
6eea52afdf | ||
|
|
80e64af30f | ||
|
|
563b6ddc36 | ||
|
|
c051ab9dc4 | ||
|
|
87737a8bdb | ||
|
|
94273d80b0 | ||
|
|
a08ec2a4bd | ||
|
|
d246c556f4 | ||
|
|
65aa365e38 | ||
|
|
eeeae449b4 | ||
|
|
17c10a7ba2 | ||
|
|
69f4383678 | ||
|
|
07852a7295 | ||
|
|
20b7e9b6b5 | ||
|
|
75f43ccea4 | ||
|
|
59e5785e93 | ||
|
|
b38f52dba9 | ||
|
|
2a6b17a48e | ||
|
|
a6c056a894 | ||
|
|
5c3442a71f | ||
|
|
390253242f | ||
|
|
9ab80fe1ac | ||
|
|
91fdd09e7a |
No files matched your search
+2
-2
@@ -5,7 +5,7 @@ root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
end_of_line = lf
|
||||
end_of_line = lf|crlf
|
||||
insert_final_newline = true
|
||||
|
||||
# Matches multiple files with brace expansion notation
|
||||
@@ -18,4 +18,4 @@ indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
# Unfortunately, EditorConfig doesn't support space configuration inside import braces directly.
|
||||
# You'll need to rely on your linter/formatter like ESLint or Prettier for that.
|
||||
# You'll need to rely on your linter/formatter like ESLint or Prettier for that.
|
||||
+1
-1
@@ -1 +1 @@
|
||||
VITE_BUILD_TYPE = Production
|
||||
VITE_BUILD_TYPE = Production
|
||||
+2
-1
@@ -1,9 +1,10 @@
|
||||
module.exports = {
|
||||
'env': {
|
||||
'browser': true,
|
||||
'es2021': true,
|
||||
'node': true
|
||||
},
|
||||
'ignorePatterns': ['src/core/', 'src/core.lib/'],
|
||||
'ignorePatterns': ['src/core/', 'src/core.lib/','src/proto/'],
|
||||
'extends': [
|
||||
'eslint:recommended',
|
||||
'plugin:@typescript-eslint/recommended'
|
||||
|
||||
@@ -121,7 +121,7 @@ jobs:
|
||||
run: echo "VERSION=${GITHUB_REF#refs/tags/v}" >> $GITHUB_ENV
|
||||
|
||||
- name: Clone Changes Log
|
||||
run: curl -o CHANGELOG.md https://fastly.jsdelivr.net/gh/NapNeko/NapCatQQ@main/CHANGELOG.md
|
||||
run: curl -o CHANGELOG.md https://fastly.jsdelivr.net/gh/NapNeko/NapCatQQ@main/docs/changelogs/CHANGELOG.v${{ env.VERSION }}.md
|
||||
|
||||
- name: Create Release Draft and Upload Artifacts
|
||||
uses: softprops/action-gh-release@v1
|
||||
|
||||
+3
-3
@@ -4,8 +4,8 @@ package-lock.json
|
||||
pnpm-lock.yaml
|
||||
out/
|
||||
dist/
|
||||
src/core.lib/common/
|
||||
test
|
||||
/src/core.lib/common/
|
||||
/localdebug/
|
||||
|
||||
# Editor
|
||||
.vscode/*
|
||||
@@ -14,4 +14,4 @@ test
|
||||
|
||||
# Build
|
||||
*.db
|
||||
checkVersion.sh
|
||||
checkVersion.sh
|
||||
@@ -1,13 +0,0 @@
|
||||
# v1.3.2
|
||||
|
||||
QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 重置Rkey获取机制,使用接口分发Rkey
|
||||
* 尝试修复启动时消息处理需要等待过长时间
|
||||
* 修复多图情况为同一张图片的问题
|
||||
|
||||
## 新增与调整
|
||||
* 新增扩展获取好友分类列表 Api /get_friends_with_category
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,17 @@
|
||||
# v1.3.3
|
||||
|
||||
QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 尝试修复多开崩溃问题
|
||||
* 修复群列表更新问题
|
||||
* 修复兼容性问题支持Win7
|
||||
* 修复下载 http 资源缺少UA
|
||||
* 优化少量消息合并转发速度
|
||||
* 修复加载群通知时出现 getUserDetailInfo timeout 导致程序崩溃
|
||||
|
||||
## 新增与调整
|
||||
* 新增设置群公告 Api: /_send_group_notice
|
||||
* 新增重启实现 包括重启快速登录/普通重启 副作用: 原进程 无法清理
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,18 @@
|
||||
# v1.3.5
|
||||
|
||||
QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 优化启动脚本
|
||||
* 修复非管理时群成员减少事件上报 **无法获取操作者与操作类型**
|
||||
* 修复快速重启进程清理问题
|
||||
* 优化配置文件格式 支持自动更新配置 但仍然建议 **备份配置**
|
||||
* 修复正向反向ws多个客户端周期多次心跳问题
|
||||
|
||||
## 新增与调整
|
||||
* 支持WebUi热重载
|
||||
* 新增启动输出WEBUI秘钥
|
||||
* 新增群荣誉信息 /get_group_honor_info
|
||||
* 支持获取群系统消息 /get_group_system_msg
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,11 @@
|
||||
# v1.3.6
|
||||
|
||||
QQ Version: Windows 9.9.9-23424 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 修复戳一戳多次上报问题
|
||||
|
||||
## 新增与调整
|
||||
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,15 @@
|
||||
# v1.3.8
|
||||
|
||||
QQ Version: Windows 9.9.9-23873 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 优化打包后体积问题
|
||||
* 修复QQ等级获取
|
||||
* 兼容 9.7.x 版本换行符 统一为 \n
|
||||
* 修复处理加群请求 字段异常情况
|
||||
* 修复退群通知问题
|
||||
|
||||
## 新增与调整
|
||||
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,11 @@
|
||||
# v1.3.9
|
||||
|
||||
QQ Version: Windows 9.9.10-23873 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 修复QQ等级获取与兼容性问题
|
||||
|
||||
## 新增与调整
|
||||
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,12 @@
|
||||
# v1.4.0
|
||||
|
||||
QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
|
||||
## 新增与调整
|
||||
* 支持空间Cookies获取
|
||||
* 支持获取在线设备 API /get_online_clients
|
||||
* 支持图片OCR API: /.ocr_image /ocr_image
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,14 @@
|
||||
# v1.4.1
|
||||
|
||||
QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 提高部分Api兼容性
|
||||
* 优化日志膨胀问题
|
||||
* 在线状态刷新问题修复
|
||||
## 新增与调整
|
||||
* 支持非管理群 本地记录时间数据 (建议 **备份配置 清空配置 重新配置**)
|
||||
* 新增英译中接口 Api: /translate_en2zh
|
||||
* 新增群文件管理相关扩展接口 Api: /get_group_file_count /get_group_file_list /set_group_file_folder /del_group_file /del_group_file_folder
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
@@ -0,0 +1,12 @@
|
||||
# v1.4.2
|
||||
|
||||
QQ Version: Windows 9.9.10-24108 / Linux 3.2.7-23361
|
||||
|
||||
## 修复与优化
|
||||
* 修复获取群文件列表Api
|
||||
* 修复退群通知问题
|
||||
|
||||
## 新增与调整
|
||||
|
||||
|
||||
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
|
||||
+66
-65
@@ -1,65 +1,66 @@
|
||||
{
|
||||
"name": "napcat",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.3.2",
|
||||
"scripts": {
|
||||
"watch:dev": "vite --mode development",
|
||||
"watch:prod": "vite --mode production",
|
||||
"build:dev": "vite build --mode development",
|
||||
"build:prod": "vite build --mode production",
|
||||
"build": "npm run build:dev",
|
||||
"build:core": "cd ./src/core && npm run build && cd ../.. && node ./script/copy-core.cjs",
|
||||
"build:webui": "cd ./src/webui && vite build",
|
||||
"watch": "npm run watch:dev",
|
||||
"debug-win": "powershell dist/napcat.ps1",
|
||||
"lint": "eslint --fix src/**/*.{js,ts}",
|
||||
"release": "npm run build:prod",
|
||||
"depend": "cd dist && npm install --omit=dev"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@log4js-node/log4js-api": "^1.0.2",
|
||||
"@rollup/plugin-commonjs": "^25.0.7",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-typescript": "^11.1.6",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/figlet": "^1.5.8",
|
||||
"@types/fluent-ffmpeg": "^2.1.24",
|
||||
"@types/node": "^20.11.30",
|
||||
"@types/qrcode-terminal": "^0.12.2",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@types/ws": "^8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||||
"@typescript-eslint/parser": "^7.4.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"i": "^0.3.7",
|
||||
"javascript-obfuscator": "^4.1.0",
|
||||
"protobufjs-cli": "^1.1.2",
|
||||
"rollup": "^4.13.2",
|
||||
"rollup-plugin-dts": "^6.1.0",
|
||||
"rollup-plugin-obfuscator": "^1.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.2.6",
|
||||
"vite-plugin-cp": "^4.0.8",
|
||||
"vite-plugin-dts": "^3.8.2",
|
||||
"vite-tsconfig-paths": "^4.3.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"commander": "^12.0.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^5.0.0-beta.2",
|
||||
"fast-xml-parser": "^4.3.6",
|
||||
"file-type": "^19.0.0",
|
||||
"fluent-ffmpeg": "^2.1.2",
|
||||
"image-size": "^1.1.1",
|
||||
"log4js": "^6.9.1",
|
||||
"qrcode-terminal": "^0.12.0",
|
||||
"silk-wasm": "^3.3.4",
|
||||
"sqlite3": "^5.1.7",
|
||||
"uuid": "^9.0.1",
|
||||
"ws": "^8.16.0"
|
||||
}
|
||||
}
|
||||
{
|
||||
"name": "napcat",
|
||||
"private": true,
|
||||
"type": "module",
|
||||
"version": "1.4.1",
|
||||
"scripts": {
|
||||
"watch:dev": "vite --mode development",
|
||||
"watch:prod": "vite --mode production",
|
||||
"build:dev": "vite build --mode development",
|
||||
"build:prod": "vite build --mode production",
|
||||
"build": "npm run build:dev",
|
||||
"build:core": "cd ./src/core && npm run build && cd ../.. && node ./script/copy-core.cjs",
|
||||
"build:webui": "cd ./src/webui && vite build",
|
||||
"watch": "npm run watch:dev",
|
||||
"debug-win": "powershell dist/napcat.ps1",
|
||||
"lint": "eslint --fix src/**/*.{js,ts}",
|
||||
"release": "npm run build:prod",
|
||||
"depend": "cd dist && npm install --omit=dev"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@log4js-node/log4js-api": "^1.0.2",
|
||||
"@rollup/plugin-node-resolve": "^15.2.3",
|
||||
"@rollup/plugin-typescript": "^11.1.6",
|
||||
"@types/cors": "^2.8.17",
|
||||
"@types/express": "^4.17.21",
|
||||
"@types/figlet": "^1.5.8",
|
||||
"@types/fluent-ffmpeg": "^2.1.24",
|
||||
"@types/node": "^20.11.30",
|
||||
"@types/qrcode-terminal": "^0.12.2",
|
||||
"@types/uuid": "^9.0.8",
|
||||
"@types/ws": "^8.5.10",
|
||||
"@typescript-eslint/eslint-plugin": "^7.4.0",
|
||||
"@typescript-eslint/parser": "^7.4.0",
|
||||
"eslint": "^8.57.0",
|
||||
"eslint-import-resolver-typescript": "^3.6.1",
|
||||
"eslint-plugin-import": "^2.29.1",
|
||||
"i": "^0.3.7",
|
||||
"javascript-obfuscator": "^4.1.0",
|
||||
"rollup": "^4.13.2",
|
||||
"rollup-plugin-dts": "^6.1.0",
|
||||
"rollup-plugin-obfuscator": "^1.1.0",
|
||||
"typescript": "^5.3.3",
|
||||
"vite": "^5.2.6",
|
||||
"vite-plugin-cp": "^4.0.8",
|
||||
"vite-plugin-dts": "^3.8.2",
|
||||
"vite-tsconfig-paths": "^4.3.2",
|
||||
"@protobuf-ts/plugin": "^2.9.4"
|
||||
},
|
||||
"dependencies": {
|
||||
"ajv": "^8.13.0",
|
||||
"commander": "^12.0.0",
|
||||
"cors": "^2.8.5",
|
||||
"express": "^5.0.0-beta.2",
|
||||
"fast-xml-parser": "^4.3.6",
|
||||
"file-type": "^19.0.0",
|
||||
"fluent-ffmpeg": "^2.1.2",
|
||||
"image-size": "^1.1.1",
|
||||
"json-schema-to-ts": "^3.1.0",
|
||||
"log4js": "^6.9.1",
|
||||
"qrcode-terminal": "^0.12.0",
|
||||
"silk-wasm": "^3.3.4",
|
||||
"sqlite3": "^5.1.7",
|
||||
"uuid": "^9.0.1",
|
||||
"ws": "^8.16.0"
|
||||
}
|
||||
}
|
||||
+41
-12
@@ -1,13 +1,42 @@
|
||||
let fs = require("fs");
|
||||
let process = require("process")
|
||||
const fs = require("fs");
|
||||
const process = require("process");
|
||||
|
||||
console.log("[NapCat] [CheckVersion] 开始检测当前仓库版本...");
|
||||
let currentVersion = require("../package.json").version;
|
||||
let targetVersion = process.env.VERSION;
|
||||
console.log("[NapCat] [CheckVersion] currentVersion:", currentVersion, " targetVersion:", targetVersion);
|
||||
// fs.mkdirSync("./dist");
|
||||
if (currentVersion === targetVersion) {
|
||||
fs.writeFileSync("./checkVersion.sh", "#!/bin/bashe\necho \"CheckVersion Is Done\"")
|
||||
} else {
|
||||
let runscript = "sed -i 's/\"version\": \"" + currentVersion + "\"/\"version\": \"" + targetVersion + "\"/g' package.json";
|
||||
fs.writeFileSync("./checkVersion.sh", "#!/bin/bashe\ngit config --global user.email \"bot@test.wumiao.wang\"\n git config --global user.name \"Version\"\n" + runscript + "\ngit add .\n git commit -m \"chore:version change\"\n git push -u origin main")
|
||||
}
|
||||
try {
|
||||
const packageJson = require("../package.json");
|
||||
const currentVersion = packageJson.version;
|
||||
const targetVersion = process.env.VERSION;
|
||||
|
||||
console.log("[NapCat] [CheckVersion] currentVersion:", currentVersion, "targetVersion:", targetVersion);
|
||||
|
||||
// 验证 targetVersion 格式
|
||||
if (!targetVersion || typeof targetVersion !== 'string') {
|
||||
console.error("[NapCat] [CheckVersion] 目标版本格式不正确或未设置!");
|
||||
return;
|
||||
}
|
||||
|
||||
// 写入脚本文件的统一函数
|
||||
const writeScriptToFile = (content) => {
|
||||
fs.writeFileSync("./checkVersion.sh", content, { flag: 'w' });
|
||||
console.log("[NapCat] [CheckVersion] checkVersion.sh 文件已更新。");
|
||||
};
|
||||
|
||||
if (currentVersion === targetVersion) {
|
||||
// 不需要更新版本,写入一个简单的脚本
|
||||
const simpleScript = "#!/bin/bash\necho \"CheckVersion Is Done\"";
|
||||
writeScriptToFile(simpleScript);
|
||||
} else {
|
||||
// 更新版本,构建安全的sed命令
|
||||
const safeScriptContent = `
|
||||
#!/bin/bash
|
||||
git config --global user.email "bot@test.wumiao.wang"
|
||||
git config --global user.name "Version"
|
||||
sed -i "s/\\\"version\\\": \\\"${currentVersion}\\\"/\\\"version\\\": \\\"${targetVersion}\\\"/g" package.json
|
||||
git add .
|
||||
git commit -m "chore:version change"
|
||||
git push -u origin main`;
|
||||
writeScriptToFile(safeScriptContent);
|
||||
}
|
||||
} catch (error) {
|
||||
console.error("[NapCat] [CheckVersion] 检测过程中发生错误:", error);
|
||||
}
|
||||
@@ -15,4 +15,4 @@ for %%a in ("!RetString!") do (
|
||||
set "QQPath=!pathWithoutUninstall!QQ.exe"
|
||||
set ELECTRON_RUN_AS_NODE=1
|
||||
echo !QQPath!
|
||||
"!QQPath!" ./napcat.cjs %*
|
||||
"!QQPath!" ./napcat.mjs %*
|
||||
+32
-4
@@ -5,11 +5,39 @@ function Get-QQpath {
|
||||
return [System.IO.Path]::GetDirectoryName($uninstallString) + "\QQ.exe"
|
||||
}
|
||||
catch {
|
||||
return "D:\QQ.exe"
|
||||
throw "get QQ path error: $_"
|
||||
}
|
||||
}
|
||||
function Select-QQPath {
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
[System.Windows.Forms.Application]::EnableVisualStyles()
|
||||
|
||||
$dialogTitle = "Select QQ.exe"
|
||||
|
||||
$filePicker = New-Object System.Windows.Forms.OpenFileDialog
|
||||
$filePicker.Title = $dialogTitle
|
||||
$filePicker.Filter = "Executable Files (*.exe)|*.exe|All Files (*.*)|*.*"
|
||||
$filePicker.FilterIndex = 1
|
||||
$null = $filePicker.ShowDialog()
|
||||
if (-not ($filePicker.FileName)) {
|
||||
throw "User did not select an .exe file."
|
||||
}
|
||||
return $filePicker.FileName
|
||||
}
|
||||
|
||||
$params = $args -join " "
|
||||
$QQpath = Get-QQpath
|
||||
$Bootfile = Join-Path $PSScriptRoot "napcat.cjs"
|
||||
Try {
|
||||
$QQpath = Get-QQpath
|
||||
}
|
||||
Catch {
|
||||
$QQpath = Select-QQPath
|
||||
}
|
||||
|
||||
if (!(Test-Path $QQpath)) {
|
||||
throw "provided QQ path is invalid: $QQpath"
|
||||
}
|
||||
|
||||
$Bootfile = Join-Path $PSScriptRoot "napcat.mjs"
|
||||
$env:ELECTRON_RUN_AS_NODE = 1
|
||||
Start-Process powershell -ArgumentList "-noexit", "-noprofile", "-command &{& chcp 65001;& '$QQpath' $Bootfile $params}"
|
||||
$commandInfo = Get-Command $QQpath -ErrorAction Stop
|
||||
Start-Process powershell -ArgumentList "-noexit", "-noprofile", "-command &{& chcp 65001;& '$($commandInfo.Path)' $Bootfile $params}"
|
||||
+1
-1
@@ -14,4 +14,4 @@ for %%a in ("!RetString!") do (
|
||||
set "QQPath=!pathWithoutUninstall!QQ.exe"
|
||||
set ELECTRON_RUN_AS_NODE=1
|
||||
echo !QQPath!
|
||||
"!QQPath!" ./napcat.cjs %*
|
||||
"!QQPath!" ./napcat.mjs %*
|
||||
+32
-4
@@ -5,11 +5,39 @@ function Get-QQpath {
|
||||
return [System.IO.Path]::GetDirectoryName($uninstallString) + "\QQ.exe"
|
||||
}
|
||||
catch {
|
||||
return "D:\QQ.exe"
|
||||
throw "get QQ path error: $_"
|
||||
}
|
||||
}
|
||||
function Select-QQPath {
|
||||
Add-Type -AssemblyName System.Windows.Forms
|
||||
[System.Windows.Forms.Application]::EnableVisualStyles()
|
||||
|
||||
$dialogTitle = "Select QQ.exe"
|
||||
|
||||
$filePicker = New-Object System.Windows.Forms.OpenFileDialog
|
||||
$filePicker.Title = $dialogTitle
|
||||
$filePicker.Filter = "Executable Files (*.exe)|*.exe|All Files (*.*)|*.*"
|
||||
$filePicker.FilterIndex = 1
|
||||
$null = $filePicker.ShowDialog()
|
||||
if (-not ($filePicker.FileName)) {
|
||||
throw "User did not select an .exe file."
|
||||
}
|
||||
return $filePicker.FileName
|
||||
}
|
||||
|
||||
$params = $args -join " "
|
||||
$QQpath = Get-QQpath
|
||||
$Bootfile = Join-Path $PSScriptRoot "napcat.cjs"
|
||||
Try {
|
||||
$QQpath = Get-QQpath
|
||||
}
|
||||
Catch {
|
||||
$QQpath = Select-QQPath
|
||||
}
|
||||
|
||||
if (!(Test-Path $QQpath)) {
|
||||
throw "provided QQ path is invalid: $QQpath"
|
||||
}
|
||||
|
||||
$Bootfile = Join-Path $PSScriptRoot "napcat.mjs"
|
||||
$env:ELECTRON_RUN_AS_NODE = 1
|
||||
Start-Process powershell -ArgumentList "-noexit", "-noprofile", "-command &{& '$QQpath' $Bootfile $params}"
|
||||
$commandInfo = Get-Command $QQpath -ErrorAction Stop
|
||||
Start-Process powershell -ArgumentList "-noexit", "-noprofile", "-command &{& '$($commandInfo.Path)' $Bootfile $params}"
|
||||
+19
-2
@@ -1,4 +1,21 @@
|
||||
#!/bin/bash
|
||||
SCRIPT_DIR=$(realpath $(dirname "${BASH_SOURCE[0]}"))
|
||||
|
||||
get_script_dir() {
|
||||
local script_path="${1:-$0}"
|
||||
local script_dir
|
||||
script_path=$(readlink -f "$script_path")
|
||||
script_dir=$(dirname "$script_path")
|
||||
|
||||
echo "$script_dir"
|
||||
}
|
||||
|
||||
SCRIPT_DIR=$(get_script_dir)
|
||||
|
||||
export ELECTRON_RUN_AS_NODE=1
|
||||
/opt/QQ/qq ${SCRIPT_DIR}/napcat.cjs $@
|
||||
|
||||
if ! [ -x /opt/QQ/qq ]; then
|
||||
echo "Error: /opt/QQ/qq is not executable or does not exist." >&2
|
||||
exit 1
|
||||
fi
|
||||
|
||||
/opt/QQ/qq "${SCRIPT_DIR}/napcat.mjs" "$@"
|
||||
@@ -37,14 +37,14 @@ export abstract class HttpServerBase {
|
||||
const authHeader = req.get('authorization');
|
||||
if (authHeader) {
|
||||
clientToken = authHeader.split('Bearer ').pop() || '';
|
||||
logDebug('receive http header token', clientToken);
|
||||
//logDebug('receive http header token', clientToken);
|
||||
} else if (req.query.access_token) {
|
||||
if (Array.isArray(req.query.access_token)) {
|
||||
clientToken = req.query.access_token[0].toString();
|
||||
} else {
|
||||
clientToken = req.query.access_token.toString();
|
||||
}
|
||||
logDebug('receive http url token', clientToken);
|
||||
//logDebug('receive http url token', clientToken);
|
||||
}
|
||||
|
||||
if (serverToken && clientToken != serverToken) {
|
||||
@@ -61,12 +61,12 @@ export abstract class HttpServerBase {
|
||||
this.listen(port, host);
|
||||
} catch (e: any) {
|
||||
logError('HTTP服务启动失败', e.toString());
|
||||
// llonebotError.httpServerError = "HTTP服务启动失败, " + e.toString()
|
||||
// httpServerError = "HTTP服务启动失败, " + e.toString()
|
||||
}
|
||||
}
|
||||
|
||||
stop() {
|
||||
// llonebotError.httpServerError = ""
|
||||
// httpServerError = ""
|
||||
if (this.server) {
|
||||
this.server.close();
|
||||
this.server = null;
|
||||
@@ -114,8 +114,10 @@ export abstract class HttpServerBase {
|
||||
this.server = this.expressAPP.listen(port, host, () => {
|
||||
const info = `${this.name} started ${host}:${port}`;
|
||||
log(info);
|
||||
}).on('error', (err) => {
|
||||
logError('HTTP服务启动失败', err.toString());
|
||||
});
|
||||
}catch (e: any) {
|
||||
} catch (e: any) {
|
||||
logError('HTTP服务启动失败, 请检查监听的ip地址和端口', e.stack.toString());
|
||||
}
|
||||
}
|
||||
|
||||
@@ -30,9 +30,10 @@ export class WebsocketServerBase {
|
||||
start(port: number, host: string = '') {
|
||||
try {
|
||||
this.ws = new WebSocketServer({
|
||||
port ,
|
||||
port,
|
||||
host: '',
|
||||
maxPayload: 1024 * 1024 * 1024
|
||||
}).on('error', () => {
|
||||
});
|
||||
log(`ws服务启动成功, ${host}:${port}`);
|
||||
} catch (e: any) {
|
||||
|
||||
@@ -1,6 +1,12 @@
|
||||
import path from 'node:path';
|
||||
import fs from 'node:fs';
|
||||
import { log, logDebug, logError } from '@/common/utils/log';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
const configDir = path.resolve(__dirname, 'config');
|
||||
fs.mkdirSync(configDir, { recursive: true });
|
||||
|
||||
@@ -0,0 +1,145 @@
|
||||
import { logError, logDebug } from "@/common/utils/log";
|
||||
|
||||
type group_id = number;
|
||||
type user_id = number;
|
||||
|
||||
class cacheNode<T> {
|
||||
value: T;
|
||||
groupId: group_id;
|
||||
userId: user_id;
|
||||
prev: cacheNode<T> | null;
|
||||
next: cacheNode<T> | null;
|
||||
timestamp: number;
|
||||
|
||||
constructor(groupId: group_id, userId: user_id, value: T) {
|
||||
this.groupId = groupId;
|
||||
this.userId = userId;
|
||||
this.value = value;
|
||||
this.prev = null;
|
||||
this.next = null;
|
||||
this.timestamp = Date.now();
|
||||
}
|
||||
}
|
||||
|
||||
type cache<T> = { [key: group_id]: { [key: user_id]: cacheNode<T> } };
|
||||
class LRU<T> {
|
||||
private maxAge: number;
|
||||
private maxSize: number;
|
||||
private currentSize: number;
|
||||
private cache: cache<T>;
|
||||
private head: cacheNode<T> | null = null;
|
||||
private tail: cacheNode<T> | null = null;
|
||||
private onFuncs: ((node: cacheNode<T>) => void)[] = [];
|
||||
|
||||
constructor(maxAge: number = 2e4, maxSize: number = 5e3) {
|
||||
this.maxAge = maxAge;
|
||||
this.maxSize = maxSize;
|
||||
this.cache = Object.create(null);
|
||||
this.currentSize = 0;
|
||||
|
||||
if (maxSize == 0) return;
|
||||
setInterval(() => this.removeExpired(), this.maxAge);
|
||||
}
|
||||
|
||||
// 移除LRU节点
|
||||
private removeLRUNode(node: cacheNode<T>) {
|
||||
logDebug(
|
||||
"removeLRUNode",
|
||||
node.groupId,
|
||||
node.userId,
|
||||
node.value,
|
||||
this.currentSize
|
||||
);
|
||||
node.prev = node.next = null;
|
||||
delete this.cache[node.groupId][node.userId];
|
||||
this.removeNode(node);
|
||||
this.onFuncs.forEach((func) => func(node));
|
||||
this.currentSize--;
|
||||
}
|
||||
|
||||
public on(func: (node: cacheNode<T>) => void) {
|
||||
this.onFuncs.push(func);
|
||||
}
|
||||
|
||||
private removeExpired() {
|
||||
const now = Date.now();
|
||||
let current = this.tail;
|
||||
const nodesToRemove: cacheNode<T>[] = [];
|
||||
let removedCount = 0;
|
||||
|
||||
// 收集需要删除的节点
|
||||
while (current && now - current.timestamp > this.maxAge) {
|
||||
nodesToRemove.push(current);
|
||||
current = current.prev;
|
||||
removedCount++;
|
||||
if (removedCount >= 100) break;
|
||||
}
|
||||
|
||||
// 更新链表指向
|
||||
if (nodesToRemove.length > 0) {
|
||||
const newTail = nodesToRemove[nodesToRemove.length - 1].prev;
|
||||
if (newTail) {
|
||||
newTail.next = null;
|
||||
} else {
|
||||
this.head = null;
|
||||
}
|
||||
this.tail = newTail;
|
||||
}
|
||||
|
||||
nodesToRemove.forEach((node) => {
|
||||
node.prev = node.next = null;
|
||||
delete this.cache[node.groupId][node.userId];
|
||||
|
||||
this.currentSize--;
|
||||
this.onFuncs.forEach((func) => func(node));
|
||||
});
|
||||
}
|
||||
|
||||
private addNode(node: cacheNode<T>) {
|
||||
node.next = this.head;
|
||||
if (this.head) this.head.prev = node;
|
||||
if (!this.tail) this.tail = node;
|
||||
this.head = node;
|
||||
}
|
||||
|
||||
private removeNode(node: cacheNode<T>) {
|
||||
if (node.prev) node.prev.next = node.next;
|
||||
if (node.next) node.next.prev = node.prev;
|
||||
if (node === this.head) this.head = node.next;
|
||||
if (node === this.tail) this.tail = node.prev;
|
||||
}
|
||||
|
||||
private moveToHead(node: cacheNode<T>) {
|
||||
if (this.head === node) return;
|
||||
|
||||
this.removeNode(node);
|
||||
this.addNode(node);
|
||||
node.prev = null;
|
||||
}
|
||||
|
||||
public set(groupId: group_id, userId: user_id, value: T) {
|
||||
if (!this.cache[groupId]) {
|
||||
this.cache[groupId] = Object.create(null);
|
||||
}
|
||||
|
||||
const groupObject = this.cache[groupId];
|
||||
|
||||
if (groupObject[userId]) {
|
||||
const node = groupObject[userId];
|
||||
node.value = value;
|
||||
node.timestamp = Date.now();
|
||||
this.moveToHead(node);
|
||||
} else {
|
||||
const node = new cacheNode(groupId, userId, value);
|
||||
groupObject[userId] = node;
|
||||
this.currentSize++;
|
||||
this.addNode(node);
|
||||
if (this.currentSize > this.maxSize) {
|
||||
const tail = this.tail!;
|
||||
this.removeLRUNode(tail);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
export default LRU;
|
||||
@@ -55,7 +55,7 @@ if (fs.existsSync(configVersionInfoPath)) {
|
||||
|
||||
export const qqVersionConfigInfo: QQVersionConfigInfo = _qqVersionConfigInfo;
|
||||
|
||||
export const qqPkgInfo: QQPkgInfo = require(pkgInfoPath);
|
||||
export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toString());
|
||||
// platform_type: 3,
|
||||
// app_type: 4,
|
||||
// app_version: '9.9.9-23159',
|
||||
|
||||
@@ -1,7 +1,12 @@
|
||||
import * as os from 'os';
|
||||
import path from 'node:path';
|
||||
import fs from 'fs';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
export function getModuleWithArchName(moduleName: string) {
|
||||
const systemPlatform = os.platform();
|
||||
const cpuArch = os.arch();
|
||||
@@ -14,6 +19,6 @@ export function cpModule(moduleName: string) {
|
||||
try {
|
||||
fs.copyFileSync(path.join(currentDir, fileName), path.join(currentDir, `${moduleName}.node`));
|
||||
} catch (e) {
|
||||
|
||||
console.error(e);
|
||||
}
|
||||
}
|
||||
@@ -0,0 +1,509 @@
|
||||
import { ElementType, FileElement, PicElement, PttElement, RawMessage, VideoElement } from '../../core/src/entities';
|
||||
|
||||
import sqlite3 from 'sqlite3';
|
||||
import { log, logDebug, logError } from '@/common/utils/log';
|
||||
import { NTQQMsgApi } from '@/core';
|
||||
import LRU from "@/common/utils/LRUCache";
|
||||
|
||||
export interface IRember {
|
||||
last_sent_time: number;
|
||||
join_time: number;
|
||||
user_id: number;
|
||||
}
|
||||
|
||||
|
||||
type DBMsg = {
|
||||
id: number,
|
||||
shortId: number,
|
||||
longId: string,
|
||||
seq: number,
|
||||
peerUid: string,
|
||||
chatType: number,
|
||||
}
|
||||
|
||||
type DBFile = {
|
||||
name: string; // 文件名
|
||||
path: string;
|
||||
url: string;
|
||||
size: number;
|
||||
uuid: string;
|
||||
msgId: string;
|
||||
elementId: string;
|
||||
element: PicElement | VideoElement | FileElement | PttElement;
|
||||
elementType: ElementType.PIC | ElementType.VIDEO | ElementType.FILE | ElementType.PTT;
|
||||
}
|
||||
|
||||
|
||||
class DBUtilBase {
|
||||
protected db: sqlite3.Database | undefined;
|
||||
|
||||
async init(dbPath: string) {
|
||||
if (this.db) {
|
||||
return;
|
||||
}
|
||||
return new Promise<void>((resolve, reject) => {
|
||||
this.db = new sqlite3.Database(dbPath, sqlite3.OPEN_READWRITE | sqlite3.OPEN_CREATE, (err) => {
|
||||
if (err) {
|
||||
logError('Could not connect to database', err);
|
||||
reject(err);
|
||||
return;
|
||||
}
|
||||
this.createTable();
|
||||
resolve();
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
protected createTable() {
|
||||
throw new Error('Method not implemented.');
|
||||
}
|
||||
|
||||
close() {
|
||||
this.db?.close();
|
||||
}
|
||||
}
|
||||
|
||||
class DBUtil extends DBUtilBase {
|
||||
private msgCache: Map<string | number, RawMessage> = new Map<string | number, RawMessage>();
|
||||
private globalMsgShortId = -2147483640;
|
||||
private groupIds: number[] = [];
|
||||
private LURCache = new LRU<number>();
|
||||
private LastSentCache = new (class {
|
||||
private cache: { gid: number; uid: number }[] = [];
|
||||
private maxSize: number;
|
||||
|
||||
constructor(maxSize: number = 5000) {
|
||||
this.maxSize = maxSize;
|
||||
}
|
||||
|
||||
get(gid: number, uid: number): boolean {
|
||||
const exists = this.cache.some(
|
||||
(entry) => entry.gid === gid && entry.uid === uid
|
||||
);
|
||||
if (!exists) {
|
||||
this.cache.push({ gid, uid });
|
||||
if (this.cache.length > this.maxSize) {
|
||||
this.cache.shift();
|
||||
}
|
||||
}
|
||||
|
||||
return exists;
|
||||
}
|
||||
})();
|
||||
|
||||
constructor() {
|
||||
super();
|
||||
const interval = 1000 * 60 * 10; // 10分钟清理一次缓存
|
||||
setInterval(() => {
|
||||
logDebug('清理消息缓存');
|
||||
this.msgCache.forEach((msg, key) => {
|
||||
if ((Date.now() - parseInt(msg.msgTime) * 1000) > interval) {
|
||||
this.msgCache.delete(key);
|
||||
}
|
||||
});
|
||||
}, interval);
|
||||
}
|
||||
|
||||
async init(dbPath: string) {
|
||||
await super.init(dbPath);
|
||||
this.globalMsgShortId = await this.getCurrentMaxShortId();
|
||||
|
||||
|
||||
// 初始化群缓存列表
|
||||
this.db!.serialize(() => {
|
||||
const sql = `SELECT * FROM sqlite_master WHERE type='table'`;
|
||||
this.db!.all(sql, [], (err, rows: { name: string }[]) => {
|
||||
if (err) return logError(err);
|
||||
rows.forEach((row) => this.groupIds.push(parseInt(row.name)));
|
||||
//logDebug(`已加载 ${groupIds.length} 个群`);
|
||||
});
|
||||
});
|
||||
|
||||
|
||||
this.LURCache.on(async (node) => {
|
||||
const { value: time, groupId, userId } = node;
|
||||
|
||||
logDebug("插入发言时间", userId, groupId);
|
||||
await this.createGroupInfoTimeTableIfNotExist(groupId);
|
||||
|
||||
const method = await this.getDataSetMethod(groupId, userId);
|
||||
logDebug("插入发言时间方法判断", userId, groupId, method);
|
||||
|
||||
const sql =
|
||||
method == "update"
|
||||
? `UPDATE "${groupId}" SET last_sent_time = ? WHERE user_id = ?`
|
||||
: `INSERT INTO "${groupId}" (last_sent_time, user_id) VALUES (?, ?)`;
|
||||
|
||||
this.db!.all(sql, [time, userId], (err) => {
|
||||
if (err) {
|
||||
return logError("插入/更新发言时间失败", userId, groupId);
|
||||
}
|
||||
logDebug("插入/更新发言时间成功", userId, groupId);
|
||||
});
|
||||
|
||||
});
|
||||
}
|
||||
async getDataSetMethod(groupId: number, userId: number) {
|
||||
// 缓存记录
|
||||
if (this.LastSentCache.get(groupId, userId)) {
|
||||
logDebug("缓存命中", userId, groupId);
|
||||
return "update";
|
||||
}
|
||||
|
||||
// 数据库判断
|
||||
return new Promise<"insert" | "update">((resolve, reject) => {
|
||||
this.db!.all(
|
||||
`SELECT * FROM "${groupId}" WHERE user_id = ?`,
|
||||
[userId],
|
||||
(err, rows) => {
|
||||
if (err) {
|
||||
logError("查询发言时间存在失败", userId, groupId, err);
|
||||
return logError("插入发言时间失败", userId, groupId, err);
|
||||
}
|
||||
|
||||
if (rows.length === 0) {
|
||||
logDebug("查询发言时间不存在", userId, groupId);
|
||||
return resolve("insert");
|
||||
}
|
||||
|
||||
logDebug("查询发言时间存在", userId, groupId);
|
||||
resolve("update");
|
||||
}
|
||||
);
|
||||
});
|
||||
}
|
||||
async createGroupInfoTimeTableIfNotExist(groupId: number) {
|
||||
const createTableSQL = (groupId: number) =>
|
||||
`CREATE TABLE IF NOT EXISTS "${groupId}" (
|
||||
user_id INTEGER,
|
||||
last_sent_time INTEGER,
|
||||
join_time INTEGER,
|
||||
PRIMARY KEY (user_id)
|
||||
);`;
|
||||
|
||||
if (this.groupIds.includes(groupId)) {
|
||||
return;
|
||||
}
|
||||
return new Promise((resolve, reject) => {
|
||||
const sql = createTableSQL(groupId);
|
||||
this.db!.all(sql, (err) => {
|
||||
if (err) {
|
||||
reject(err);
|
||||
return;
|
||||
}
|
||||
this.groupIds.push(groupId);
|
||||
resolve(true);
|
||||
});
|
||||
});
|
||||
}
|
||||
protected createTable() {
|
||||
// 消息记录
|
||||
const createTableSQL = `
|
||||
CREATE TABLE IF NOT EXISTS msgs (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
shortId INTEGER NOT NULL UNIQUE,
|
||||
longId TEXT NOT NULL UNIQUE,
|
||||
seq INTEGER NOT NULL,
|
||||
peerUid TEXT NOT NULL,
|
||||
chatType INTEGER NOT NULL
|
||||
)`;
|
||||
this.db!.run(createTableSQL, function (err) {
|
||||
if (err) {
|
||||
logError('Could not create table msgs', err.stack);
|
||||
}
|
||||
});
|
||||
|
||||
// 文件缓存
|
||||
const createFileTableSQL = `
|
||||
CREATE TABLE IF NOT EXISTS files (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
name TEXT NOT NULL,
|
||||
path TEXT NOT NULL,
|
||||
url TEXT,
|
||||
size INTEGER NOT NULL,
|
||||
uuid TEXT,
|
||||
elementType INTEGER,
|
||||
element TEXT NOT NULL,
|
||||
elementId TEXT NOT NULL,
|
||||
msgId TEXT NOT NULL
|
||||
)`;
|
||||
this.db!.run(createFileTableSQL, function (err) {
|
||||
if (err) {
|
||||
logError('Could not create table files', err);
|
||||
}
|
||||
});
|
||||
|
||||
// 接收到的临时会话消息uid
|
||||
const createTempUinTableSQL = `
|
||||
CREATE TABLE IF NOT EXISTS temp_uins (
|
||||
id INTEGER PRIMARY KEY AUTOINCREMENT,
|
||||
uid TEXT,
|
||||
uin TEXT
|
||||
)`;
|
||||
this.db!.run(createTempUinTableSQL, function (err) {
|
||||
if (err) {
|
||||
logError('Could not create table temp_uins', err);
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
private async getCurrentMaxShortId() {
|
||||
return new Promise<number>((resolve, reject) => {
|
||||
this.db!.get('SELECT MAX(shortId) as maxId FROM msgs', (err, row: { maxId: number }) => {
|
||||
if (err) {
|
||||
logDebug('Could not get max short id, Use default -2147483640', err);
|
||||
return resolve(-2147483640);
|
||||
}
|
||||
logDebug('数据库中消息最大短id', row?.maxId);
|
||||
resolve(row?.maxId ?? -2147483640);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
private async getMsg(query: string, params: any[]) {
|
||||
const stmt = this.db!.prepare(query);
|
||||
return new Promise<RawMessage | null>((resolve, reject) => {
|
||||
stmt.get(...params, (err: any, row: DBMsg) => {
|
||||
// log("getMsg", row, err);
|
||||
if (err) {
|
||||
logError('Could not get msg', err, query, params);
|
||||
return resolve(null);
|
||||
}
|
||||
if (!row) {
|
||||
// logDebug('不存在数据库中的消息,不进行处理', query, params);
|
||||
resolve(null);
|
||||
return;
|
||||
}
|
||||
const msgId = row.longId;
|
||||
NTQQMsgApi.getMsgsByMsgId({ peerUid: row.peerUid, chatType: row.chatType }, [msgId]).then(res => {
|
||||
const msg = res.msgList[0];
|
||||
if (!msg) {
|
||||
resolve(null);
|
||||
return;
|
||||
}
|
||||
msg.id = row.shortId;
|
||||
resolve(msg);
|
||||
}).catch(e => {
|
||||
resolve(null);
|
||||
});
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
async getMsgByShortId(shortId: number): Promise<RawMessage | null> {
|
||||
if (this.msgCache.has(shortId)) {
|
||||
return this.msgCache.get(shortId)!;
|
||||
}
|
||||
const getStmt = 'SELECT * FROM msgs WHERE shortId = ?';
|
||||
return this.getMsg(getStmt, [shortId]);
|
||||
}
|
||||
|
||||
async getMsgByLongId(longId: string): Promise<RawMessage | null> {
|
||||
if (this.msgCache.has(longId)) {
|
||||
return this.msgCache.get(longId)!;
|
||||
}
|
||||
return this.getMsg('SELECT * FROM msgs WHERE longId = ?', [longId]);
|
||||
}
|
||||
|
||||
async getMsgBySeq(peerUid: string, seq: string): Promise<RawMessage | null> {
|
||||
const stmt = 'SELECT * FROM msgs WHERE peerUid = ? AND seq = ?';
|
||||
return this.getMsg(stmt, [peerUid, seq]);
|
||||
}
|
||||
|
||||
async addMsg(msg: RawMessage, update = true): Promise<number> {
|
||||
const existMsg = await this.getMsgByLongId(msg.msgId);
|
||||
if (existMsg) {
|
||||
// logDebug('消息已存在,更新数据库', msg.msgId);
|
||||
if (update) this.updateMsg(msg).then();
|
||||
return existMsg.id!;
|
||||
}
|
||||
const stmt = this.db!.prepare('INSERT INTO msgs (shortId, longId, seq, peerUid, chatType) VALUES (?, ?, ?, ?, ?)');
|
||||
// const runAsync = promisify(stmt.run.bind(stmt));
|
||||
const shortId = ++this.globalMsgShortId;
|
||||
msg.id = shortId;
|
||||
//logDebug(`记录消息到数据库, 消息长id: ${msg.msgId}, 短id: ${msg.id}`);
|
||||
this.msgCache.set(shortId, msg);
|
||||
this.msgCache.set(msg.msgId, msg);
|
||||
stmt.run(this.globalMsgShortId, msg.msgId, msg.msgSeq.toString(), msg.peerUid, msg.chatType, (err: any) => {
|
||||
if (err) {
|
||||
if (err.errno === 19) {
|
||||
this.getMsgByLongId(msg.msgId).then((msg: RawMessage | null) => {
|
||||
if (msg) {
|
||||
this.msgCache.set(shortId, msg);
|
||||
this.msgCache.set(msg.msgId, msg);
|
||||
// logDebug('获取消息短id成功', msg.id);
|
||||
} else {
|
||||
logError('db could not get msg by long id', err);
|
||||
}
|
||||
}).catch(e => logError('db getMsgByLongId error', e));
|
||||
} else {
|
||||
logError('db could not add msg', err);
|
||||
}
|
||||
}
|
||||
});
|
||||
return shortId;
|
||||
}
|
||||
|
||||
async updateMsg(msg: RawMessage) {
|
||||
const existMsg = this.msgCache.get(msg.msgId);
|
||||
if (existMsg) {
|
||||
Object.assign(existMsg, msg);
|
||||
}
|
||||
//logDebug(`更新消息, shortId:${msg.id}, seq: ${msg.msgSeq}, msgId: ${msg.msgId}`);
|
||||
const stmt = this.db!.prepare('UPDATE msgs SET seq=? WHERE longId=?');
|
||||
stmt.run(msg.msgSeq, msg.msgId, (err: any) => {
|
||||
if (err) {
|
||||
logError('updateMsg db error', err);
|
||||
}
|
||||
});
|
||||
|
||||
}
|
||||
|
||||
async addFileCache(file: DBFile) {
|
||||
const stmt = this.db!.prepare('INSERT INTO files (name, path, url, size, uuid, elementType ,element, elementId, msgId) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)');
|
||||
return new Promise((resolve, reject) => {
|
||||
stmt.run(file.name, file.path, file.url, file.size, file.uuid,
|
||||
file.elementType,
|
||||
JSON.stringify(file.element),
|
||||
file.elementId,
|
||||
file.msgId,
|
||||
function (err: any) {
|
||||
if (err) {
|
||||
logError('db could not add file', err);
|
||||
reject(err);
|
||||
}
|
||||
resolve(null);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
private async getFileCache(query: string, params: any[]) {
|
||||
const stmt = this.db!.prepare(query);
|
||||
return new Promise<DBFile | null>((resolve, reject) => {
|
||||
stmt.get(...params, (err: any, row: DBFile & { element: string }) => {
|
||||
if (err) {
|
||||
logError('db could not get file cache', err);
|
||||
reject(err);
|
||||
}
|
||||
if (row) {
|
||||
row.element = JSON.parse(row.element);
|
||||
}
|
||||
resolve(row);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
async getFileCacheByName(name: string): Promise<DBFile | null> {
|
||||
return this.getFileCache('SELECT * FROM files WHERE name = ?', [name]);
|
||||
}
|
||||
|
||||
async getFileCacheByUuid(uuid: string): Promise<DBFile | null> {
|
||||
return this.getFileCache('SELECT * FROM files WHERE uuid = ?', [uuid]);
|
||||
}
|
||||
|
||||
// todo: 是否所有的文件都有uuid?语音消息有没有uuid?
|
||||
async updateFileCache(file: DBFile) {
|
||||
const stmt = this.db!.prepare('UPDATE files SET path = ?, url = ? WHERE uuid = ?');
|
||||
return new Promise((resolve, reject) => {
|
||||
stmt.run(file.path, file.url, file.uuid, function (err: any) {
|
||||
if (err) {
|
||||
logError('db could not update file cache', err);
|
||||
reject(err);
|
||||
}
|
||||
resolve(null);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// 被动收到的临时会话消息uin->uid
|
||||
async getReceivedTempUinMap() {
|
||||
const stmt = 'SELECT * FROM temp_uins';
|
||||
return new Promise<Record<string, string>>((resolve, reject) => {
|
||||
this.db!.all(stmt, (err, rows: { uin: string, uid: string }[]) => {
|
||||
if (err) {
|
||||
logError('db could not get temp uin map', err);
|
||||
reject(err);
|
||||
}
|
||||
const map: Record<string, string> = {};
|
||||
rows.forEach(row => {
|
||||
map[row.uin] = row.uid;
|
||||
});
|
||||
resolve(map);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
// 通过uin获取临时会话消息uid
|
||||
async getUidByTempUin(uid: string) {
|
||||
const stmt = 'SELECT * FROM temp_uins WHERE uin = ?';
|
||||
return new Promise<string>((resolve, reject) => {
|
||||
this.db!.get(stmt, [uid], (err, row: { uin: string, uid: string }) => {
|
||||
if (err) {
|
||||
logError('db could not get temp uin map', err);
|
||||
reject(err);
|
||||
}
|
||||
resolve(row?.uid);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
async addTempUin(uin: string, uid: string) {
|
||||
const existUid = await this.getUidByTempUin(uin);
|
||||
if (!existUid) {
|
||||
const stmt = this.db!.prepare('INSERT INTO temp_uins (uin, uid) VALUES (?, ?)');
|
||||
return new Promise((resolve, reject) => {
|
||||
stmt.run(uin, uid, function (err: any) {
|
||||
if (err) {
|
||||
logError('db could not add temp uin', err);
|
||||
reject(err);
|
||||
}
|
||||
resolve(null);
|
||||
});
|
||||
});
|
||||
}
|
||||
}
|
||||
async getLastSentTimeAndJoinTime(
|
||||
groupId: number
|
||||
): Promise<IRember[]> {
|
||||
logDebug("读取发言时间", groupId);
|
||||
return new Promise<IRember[]>((resolve, reject) => {
|
||||
this.db!.all(`SELECT * FROM "${groupId}" `, (err, rows: IRember[]) => {
|
||||
if (err) {
|
||||
logError("查询发言时间失败", groupId);
|
||||
return resolve([]);
|
||||
}
|
||||
logDebug("查询发言时间成功", groupId, rows);
|
||||
resolve(rows);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
insertLastSentTime(
|
||||
groupId: number,
|
||||
userId: number,
|
||||
time: number
|
||||
) {
|
||||
this.LURCache.set(groupId, userId, time)
|
||||
}
|
||||
async insertJoinTime(
|
||||
groupId: number,
|
||||
userId: number,
|
||||
time: number
|
||||
) {
|
||||
await this.createGroupInfoTimeTableIfNotExist(groupId);
|
||||
this.db!.all(
|
||||
`INSERT OR REPLACE INTO "${groupId}" (user_id, last_sent_time, join_time) VALUES (?,?,?)`,
|
||||
[userId, time, time],
|
||||
(err) => {
|
||||
if (err)
|
||||
logError(err),
|
||||
Promise.reject(),
|
||||
console.log("插入入群时间失败", userId, groupId);
|
||||
}
|
||||
);
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
export const dbUtil = new DBUtil();
|
||||
@@ -4,7 +4,7 @@ import crypto from 'crypto';
|
||||
import util from 'util';
|
||||
import path from 'node:path';
|
||||
import { log } from './log';
|
||||
import { dbUtil } from '@/core/utils/db';
|
||||
import { dbUtil } from '@/common/utils/db';
|
||||
import * as fileType from 'file-type';
|
||||
import { v4 as uuidv4 } from 'uuid';
|
||||
import { napCatCore } from '@/core';
|
||||
@@ -125,7 +125,7 @@ export async function httpDownload(options: string | HttpDownloadOptions): Promi
|
||||
}
|
||||
}
|
||||
}
|
||||
const fetchRes = await fetch(url, headers);
|
||||
const fetchRes = await fetch(url, { headers });
|
||||
if (!fetchRes.ok) throw new Error(`下载文件失败: ${fetchRes.statusText}`);
|
||||
|
||||
const blob = await fetchRes.blob();
|
||||
|
||||
@@ -1,5 +1,13 @@
|
||||
import crypto from 'node:crypto';
|
||||
import path from 'node:path';
|
||||
import fs from 'fs/promises';
|
||||
import { log, logDebug } from './log';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
export function sleep(ms: number): Promise<void> {
|
||||
return new Promise(resolve => setTimeout(resolve, ms));
|
||||
}
|
||||
@@ -35,3 +43,142 @@ export function truncateString(obj: any, maxLength = 500) {
|
||||
}
|
||||
return obj;
|
||||
}
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 函数缓存装饰器,根据方法名、参数、自定义key生成缓存键,在一定时间内返回缓存结果
|
||||
* @param ttl 超时时间,单位毫秒
|
||||
* @param customKey 自定义缓存键前缀,可为空,防止方法名参数名一致时导致缓存键冲突
|
||||
* @returns 处理后缓存或调用原方法的结果
|
||||
*/
|
||||
export function cacheFunc(ttl: number, customKey: string = '') {
|
||||
const cache = new Map<string, { expiry: number; value: any }>();
|
||||
|
||||
return function (target: any, propertyKey: string, descriptor: PropertyDescriptor): PropertyDescriptor {
|
||||
const originalMethod = descriptor.value;
|
||||
const className = target.constructor.name; // 获取类名
|
||||
const methodName = propertyKey; // 获取方法名
|
||||
descriptor.value = async function (...args: any[]) {
|
||||
const cacheKey = `${customKey}${className}.${methodName}:${JSON.stringify(args)}`;
|
||||
const cached = cache.get(cacheKey);
|
||||
if (cached && cached.expiry > Date.now()) {
|
||||
return cached.value;
|
||||
} else {
|
||||
const result = await originalMethod.apply(this, args);
|
||||
cache.set(cacheKey, { value: result, expiry: Date.now() + ttl });
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
return descriptor;
|
||||
};
|
||||
}
|
||||
export function isValidOldConfig(config: any) {
|
||||
if (typeof config !== 'object') {
|
||||
return false;
|
||||
}
|
||||
const requiredKeys = [
|
||||
'httpHost', 'httpPort', 'httpPostUrls', 'httpSecret',
|
||||
'wsHost', 'wsPort', 'wsReverseUrls', 'enableHttp',
|
||||
'enableHttpHeart', 'enableHttpPost', 'enableWs', 'enableWsReverse',
|
||||
'messagePostFormat', 'reportSelfMessage', 'enableLocalFile2Url',
|
||||
'debug', 'heartInterval', 'token', 'musicSignUrl'
|
||||
];
|
||||
for (const key of requiredKeys) {
|
||||
if (!(key in config)) {
|
||||
return false;
|
||||
}
|
||||
}
|
||||
if (!Array.isArray(config.httpPostUrls) || !Array.isArray(config.wsReverseUrls)) {
|
||||
return false;
|
||||
}
|
||||
if (config.httpPostUrls.some((url: any) => typeof url !== 'string')) {
|
||||
return false;
|
||||
}
|
||||
if (config.wsReverseUrls.some((url: any) => typeof url !== 'string')) {
|
||||
return false;
|
||||
}
|
||||
if (typeof config.httpPort !== 'number' || typeof config.wsPort !== 'number' || typeof config.heartInterval !== 'number') {
|
||||
return false;
|
||||
}
|
||||
if (
|
||||
typeof config.enableHttp !== 'boolean' ||
|
||||
typeof config.enableHttpHeart !== 'boolean' ||
|
||||
typeof config.enableHttpPost !== 'boolean' ||
|
||||
typeof config.enableWs !== 'boolean' ||
|
||||
typeof config.enableWsReverse !== 'boolean' ||
|
||||
typeof config.enableLocalFile2Url !== 'boolean' ||
|
||||
typeof config.reportSelfMessage !== 'boolean'
|
||||
) {
|
||||
return false;
|
||||
}
|
||||
if (config.messagePostFormat !== 'array' && config.messagePostFormat !== 'string') {
|
||||
return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
export function migrateConfig(oldConfig: any) {
|
||||
const newConfig = {
|
||||
http: {
|
||||
enable: oldConfig.enableHttp,
|
||||
host: oldConfig.httpHost,
|
||||
port: oldConfig.httpPort,
|
||||
secret: oldConfig.httpSecret,
|
||||
enableHeart: oldConfig.enableHttpHeart,
|
||||
enablePost: oldConfig.enableHttpPost,
|
||||
postUrls: oldConfig.httpPostUrls,
|
||||
},
|
||||
ws: {
|
||||
enable: oldConfig.enableWs,
|
||||
host: oldConfig.wsHost,
|
||||
port: oldConfig.wsPort,
|
||||
},
|
||||
reverseWs: {
|
||||
enable: oldConfig.enableWsReverse,
|
||||
urls: oldConfig.wsReverseUrls,
|
||||
},
|
||||
GroupLocalTime: {
|
||||
Record: false,
|
||||
RecordList: []
|
||||
},
|
||||
debug: oldConfig.debug,
|
||||
heartInterval: oldConfig.heartInterval,
|
||||
messagePostFormat: oldConfig.messagePostFormat,
|
||||
enableLocalFile2Url: oldConfig.enableLocalFile2Url,
|
||||
musicSignUrl: oldConfig.musicSignUrl,
|
||||
reportSelfMessage: oldConfig.reportSelfMessage,
|
||||
token: oldConfig.token,
|
||||
|
||||
};
|
||||
return newConfig;
|
||||
}
|
||||
// 升级旧的配置到新的
|
||||
export async function UpdateConfig() {
|
||||
const configFiles = await fs.readdir(path.join(__dirname, 'config'));
|
||||
for (const file of configFiles) {
|
||||
if (file.match(/^onebot11_\d+.json$/)) {
|
||||
const CurrentConfig = JSON.parse(await fs.readFile(path.join(__dirname, 'config', file), 'utf8'));
|
||||
if (isValidOldConfig(CurrentConfig)) {
|
||||
log('正在迁移旧配置到新配置 File:', file);
|
||||
const NewConfig = migrateConfig(CurrentConfig);
|
||||
await fs.writeFile(path.join(__dirname, 'config', file), JSON.stringify(NewConfig, null, 2));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
export function isEqual(obj1: any, obj2: any) {
|
||||
if (obj1 === obj2) return true;
|
||||
if (obj1 == null || obj2 == null) return false;
|
||||
if (typeof obj1 !== 'object' || typeof obj2 !== 'object') return obj1 === obj2;
|
||||
|
||||
const keys1 = Object.keys(obj1);
|
||||
const keys2 = Object.keys(obj2);
|
||||
|
||||
if (keys1.length !== keys2.length) return false;
|
||||
|
||||
for (const key of keys1) {
|
||||
if (!isEqual(obj1[key], obj2[key])) return false;
|
||||
}
|
||||
return true;
|
||||
}
|
||||
@@ -2,6 +2,12 @@ import log4js, { Configuration } from 'log4js';
|
||||
import { truncateString } from '@/common/utils/helper';
|
||||
import path from 'node:path';
|
||||
import { SelfInfo } from '@/core';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
export enum LogLevel {
|
||||
DEBUG = 'debug',
|
||||
@@ -21,7 +27,8 @@ function getFormattedTimestamp() {
|
||||
const hours = now.getHours().toString().padStart(2, '0');
|
||||
const minutes = now.getMinutes().toString().padStart(2, '0');
|
||||
const seconds = now.getSeconds().toString().padStart(2, '0');
|
||||
return `${year}-${month}-${day}_${hours}-${minutes}-${seconds}`;
|
||||
const milliseconds = now.getMilliseconds().toString().padStart(3, '0');
|
||||
return `${year}-${month}-${day}_${hours}-${minutes}-${seconds}.${milliseconds}`;
|
||||
}
|
||||
|
||||
const filename = `${getFormattedTimestamp()}.log`;
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
// QQ等级换算
|
||||
import { QQLevel } from '../../core/src/entities';
|
||||
import { QQLevel } from '@/core/entities';
|
||||
|
||||
export function calcQQLevel(level: QQLevel) {
|
||||
const { crownNum, sunNum, moonNum, starNum } = level;
|
||||
|
||||
+42
-13
@@ -1,15 +1,44 @@
|
||||
import { exit } from "process";
|
||||
import { resolve } from "path";
|
||||
async function reboot() {
|
||||
let batScript = resolve(__dirname, './napcat.bat');
|
||||
let batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
||||
let bashScript = resolve(__dirname, './napcat.sh');
|
||||
//如果是win系统写出 5s延迟启动 默认batUtf8Script启动
|
||||
// 如果是linux系统写出 5s延迟启动 默认bashScript启动
|
||||
if (process.platform === 'win32') {
|
||||
// console.log('正在重启...');
|
||||
} else if (process.platform === 'linux') {
|
||||
//console.log('正在重启...');
|
||||
}
|
||||
import { resolve } from 'node:path';
|
||||
import { spawn } from 'node:child_process';
|
||||
import { pid, ppid, exit } from 'node:process';
|
||||
import { dirname } from 'node:path';
|
||||
import { fileURLToPath } from 'node:url';
|
||||
|
||||
|
||||
const __filename = fileURLToPath(import.meta.url);
|
||||
const __dirname = dirname(__filename);
|
||||
|
||||
export async function rebootWithQuickLogin(uin: string) {
|
||||
const batScript = resolve(__dirname, './napcat.bat');
|
||||
const batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
||||
const bashScript = resolve(__dirname, './napcat.sh');
|
||||
if (process.platform === 'win32') {
|
||||
const subProcess = spawn(`start ${batUtf8Script} -q ${uin}`, { detached: true, windowsHide: false, env: process.env, shell: true, stdio: 'ignore' });
|
||||
subProcess.unref();
|
||||
// 子父进程一起送走 有点效果
|
||||
spawn('cmd /c taskkill /t /f /pid ' + pid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
||||
spawn('cmd /c taskkill /t /f /pid ' + ppid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
||||
} else if (process.platform === 'linux') {
|
||||
const subProcess = spawn(`${bashScript} -q ${uin}`, { detached: true, windowsHide: false, env: process.env, shell: true, stdio: 'ignore' });
|
||||
//还没兼容
|
||||
subProcess.unref();
|
||||
exit(0);
|
||||
}
|
||||
//exit(0);
|
||||
}
|
||||
export async function rebootWithNormolLogin() {
|
||||
const batScript = resolve(__dirname, './napcat.bat');
|
||||
const batUtf8Script = resolve(__dirname, './napcat-utf8.bat');
|
||||
const bashScript = resolve(__dirname, './napcat.sh');
|
||||
if (process.platform === 'win32') {
|
||||
const subProcess = spawn(`start ${batUtf8Script} `, { detached: true, windowsHide: false, env: process.env, shell: true, stdio: 'ignore' });
|
||||
subProcess.unref();
|
||||
// 子父进程一起送走 有点效果
|
||||
spawn('cmd /c taskkill /t /f /pid ' + pid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
||||
spawn('cmd /c taskkill /t /f /pid ' + ppid.toString(), { detached: true, shell: true, stdio: 'ignore' });
|
||||
} else if (process.platform === 'linux') {
|
||||
const subProcess = spawn(`${bashScript}`, { detached: true, windowsHide: false, env: process.env, shell: true });
|
||||
subProcess.unref();
|
||||
exit(0);
|
||||
}
|
||||
}
|
||||
+97
-48
@@ -1,57 +1,106 @@
|
||||
const https = require('node:https');
|
||||
export async function HttpGetCookies(url: string): Promise<Map<string, string>> {
|
||||
return new Promise((resolve, reject) => {
|
||||
const result: Map<string, string> = new Map<string, string>();
|
||||
const req = https.get(url, (res: any) => {
|
||||
res.on('data', (data: any) => {
|
||||
});
|
||||
res.on('end', () => {
|
||||
try {
|
||||
const responseCookies = res.headers['set-cookie'];
|
||||
for (const line of responseCookies) {
|
||||
const parts = line.split(';');
|
||||
const [key, value] = parts[0].split('=');
|
||||
result.set(key, value);
|
||||
import https from 'node:https';
|
||||
import http 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 cookies: { [key: string]: string } = {};
|
||||
const handleRedirect = (res: http.IncomingMessage) => {
|
||||
//console.log(res.headers.location);
|
||||
if (res.statusCode === 301 || res.statusCode === 302) {
|
||||
if (res.headers.location) {
|
||||
const redirectUrl = new URL(res.headers.location, url);
|
||||
RequestUtil.HttpsGetCookies(redirectUrl.href).then((redirectCookies) => {
|
||||
// 合并重定向过程中的cookies
|
||||
cookies = { ...cookies, ...redirectCookies };
|
||||
resolve(cookies);
|
||||
});
|
||||
} else {
|
||||
resolve(cookies);
|
||||
}
|
||||
} else {
|
||||
resolve(cookies);
|
||||
}
|
||||
} catch (e) {
|
||||
};
|
||||
res.on('data', () => { }); // Necessary to consume the stream
|
||||
res.on('end', () => {
|
||||
handleRedirect(res);
|
||||
});
|
||||
if (res.headers['set-cookie']) {
|
||||
//console.log(res.headers['set-cookie']);
|
||||
res.headers['set-cookie'].forEach((cookie) => {
|
||||
const parts = cookie.split(';')[0].split('=');
|
||||
const key = parts[0];
|
||||
const value = parts[1];
|
||||
if (key && value && key.length > 0 && value.length > 0) {
|
||||
cookies[key] = value;
|
||||
}
|
||||
});
|
||||
}
|
||||
resolve(result);
|
||||
|
||||
}).on('error', (err) => {
|
||||
reject(err);
|
||||
});
|
||||
});
|
||||
req.on('error', (error: any) => {
|
||||
resolve(result);
|
||||
// console.log(error)
|
||||
});
|
||||
req.end();
|
||||
});
|
||||
}
|
||||
|
||||
}
|
||||
export async function HttpPostCookies(url: string): Promise<Map<string, string>> {
|
||||
return new Promise((resolve, reject) => {
|
||||
const result: Map<string, string> = new Map<string, string>();
|
||||
const req = https.get(url, (res: any) => {
|
||||
res.on('data', (data: any) => {
|
||||
});
|
||||
res.on('end', () => {
|
||||
try {
|
||||
const responseCookies = res.headers['set-cookie'];
|
||||
for (const line of responseCookies) {
|
||||
const parts = line.split(';');
|
||||
const [key, value] = parts[0].split('=');
|
||||
result.set(key, value);
|
||||
|
||||
|
||||
// 请求和回复都是JSON data传原始内容 自动编码json
|
||||
static async HttpGetJson<T>(url: string, method: string = 'GET', data?: any, headers: Record<string, string> = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise<T> {
|
||||
const option = new URL(url);
|
||||
const protocol = url.startsWith('https://') ? https : http;
|
||||
const options = {
|
||||
hostname: option.hostname,
|
||||
port: option.port,
|
||||
path: option.href,
|
||||
method: method,
|
||||
headers: headers
|
||||
};
|
||||
return new Promise((resolve, reject) => {
|
||||
const req = protocol.request(options, (res: any) => {
|
||||
let responseBody = '';
|
||||
res.on('data', (chunk: string | Buffer) => {
|
||||
responseBody += chunk.toString();
|
||||
});
|
||||
|
||||
res.on('end', () => {
|
||||
try {
|
||||
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
|
||||
if (isJsonRet) {
|
||||
const responseJson = JSON.parse(responseBody);
|
||||
resolve(responseJson as T);
|
||||
} else {
|
||||
resolve(responseBody as T);
|
||||
}
|
||||
} else {
|
||||
reject(new Error(`Unexpected status code: ${res.statusCode}`));
|
||||
}
|
||||
} catch (parseError) {
|
||||
reject(parseError);
|
||||
}
|
||||
} catch (e) {
|
||||
}
|
||||
resolve(result);
|
||||
|
||||
});
|
||||
});
|
||||
});
|
||||
req.on('error', (error: any) => {
|
||||
resolve(result);
|
||||
// console.log(error)
|
||||
});
|
||||
req.end();
|
||||
});
|
||||
|
||||
req.on('error', (error: any) => {
|
||||
reject(error);
|
||||
});
|
||||
if (method === 'POST' || method === 'PUT' || method === 'PATCH') {
|
||||
if (isArgJson) {
|
||||
req.write(JSON.stringify(data));
|
||||
} else {
|
||||
req.write(data);
|
||||
}
|
||||
|
||||
}
|
||||
req.end();
|
||||
});
|
||||
}
|
||||
|
||||
// 请求返回都是原始内容
|
||||
static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: Record<string, string> = {}) {
|
||||
return this.HttpGetJson<string>(url, method, data, headers, false, false);
|
||||
}
|
||||
}
|
||||
@@ -1,10 +1,17 @@
|
||||
import os from 'node:os';
|
||||
import path from 'node:path';
|
||||
|
||||
// 缓解Win7设备兼容性问题
|
||||
let osName: string;
|
||||
try {
|
||||
osName = os.hostname();
|
||||
} catch (e) {
|
||||
osName = 'NapCat'; // + crypto.randomUUID().substring(0, 4);
|
||||
}
|
||||
export const systemPlatform = os.platform();
|
||||
export const cpuArch = os.arch();
|
||||
export const systemVersion = os.release();
|
||||
export const hostname = os.hostname();
|
||||
export const hostname = osName;
|
||||
const homeDir = os.homedir();
|
||||
export const downloadsPath = path.join(homeDir, 'Downloads');
|
||||
export const systemName = os.type();
|
||||
@@ -0,0 +1,31 @@
|
||||
/**
|
||||
* 运行时类型转换与检查类
|
||||
*/
|
||||
export class TypeCheck {
|
||||
static isEmpty(value: any): boolean {
|
||||
return value === null || value === undefined || value === '' ||
|
||||
(Array.isArray(value) && value.length === 0) || (typeof value === 'object' && Object.keys(value).length === 0);
|
||||
}
|
||||
}
|
||||
|
||||
export class TypeConvert {
|
||||
static toNumber(value: any): number {
|
||||
const num = Number(value);
|
||||
if (isNaN(num)) {
|
||||
throw new Error(`无法将输入转换为数字: ${value}`);
|
||||
}
|
||||
return num;
|
||||
}
|
||||
|
||||
static toString(value: any): string {
|
||||
return String(value);
|
||||
}
|
||||
|
||||
static toBoolean(value: any): boolean {
|
||||
return Boolean(value);
|
||||
}
|
||||
|
||||
static toArray(value: any): any[] {
|
||||
return Array.isArray(value) ? value : [value];
|
||||
}
|
||||
}
|
||||
@@ -1,44 +0,0 @@
|
||||
import { request } from 'node:https';
|
||||
export function postLoginStatus() {
|
||||
const req = request(
|
||||
{
|
||||
hostname: 'napcat.wumiao.wang',
|
||||
path: '/api/send',
|
||||
port: 443,
|
||||
method: 'POST',
|
||||
headers: {
|
||||
'Content-Type': 'application/json',
|
||||
'User-Agent': 'Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/124.0.0.0 Safari/537.36 Edg/124.0.0.0'
|
||||
}
|
||||
},
|
||||
(res) => {
|
||||
//let data = '';
|
||||
res.on('data', (chunk) => {
|
||||
//data += chunk;
|
||||
});
|
||||
res.on('error', (err) => {
|
||||
});
|
||||
res.on('end', () => {
|
||||
//console.log('Response:', data);
|
||||
});
|
||||
}
|
||||
);
|
||||
req.on('error', (e) => {
|
||||
// console.error('Request error:', e);
|
||||
});
|
||||
const StatesData = {
|
||||
type: 'event',
|
||||
payload: {
|
||||
'website': '952bf82f-8f49-4456-aec5-e17db5f27f7e',
|
||||
'hostname': 'napcat.demo.cn',
|
||||
'screen': '1920x1080',
|
||||
'language': 'zh-CN',
|
||||
'title': 'OneBot.Login',
|
||||
'url': '/login/onebot11/1.3.2',
|
||||
'referrer': 'https://napcat.demo.cn/login?type=onebot11'
|
||||
}
|
||||
};
|
||||
req.write(JSON.stringify(StatesData));
|
||||
|
||||
req.end();
|
||||
}
|
||||
+14
-33
@@ -1,40 +1,21 @@
|
||||
import { get as httpsGet } from 'node:https';
|
||||
function requestMirror(url: string): Promise<string | undefined> {
|
||||
return new Promise((resolve, reject) => {
|
||||
httpsGet(url, (response) => {
|
||||
let data = '';
|
||||
response.on('data', (chunk) => {
|
||||
data += chunk;
|
||||
});
|
||||
|
||||
response.on('end', () => {
|
||||
try {
|
||||
const parsedData = JSON.parse(data);
|
||||
const version = parsedData.version;
|
||||
resolve(version);
|
||||
} catch (error) {
|
||||
// 解析失败或无法访问域名,跳过
|
||||
resolve(undefined);
|
||||
}
|
||||
});
|
||||
}).on('error', (error) => {
|
||||
// 请求失败,跳过
|
||||
resolve(undefined);
|
||||
});
|
||||
});
|
||||
}
|
||||
|
||||
import { logDebug } from './log';
|
||||
import { RequestUtil } from './request';
|
||||
export async function checkVersion(): Promise<string> {
|
||||
return new Promise(async (resolve, reject) => {
|
||||
const MirrorList =
|
||||
[
|
||||
'https://fastly.jsdelivr.net/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://gcore.jsdelivr.net/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://cdn.jsdelivr.us/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://jsd.cdn.zzko.cn/gh/NapNeko/NapCatQQ@main/package.json'
|
||||
];
|
||||
[
|
||||
'https://fastly.jsdelivr.net/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://gcore.jsdelivr.net/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://cdn.jsdelivr.us/gh/NapNeko/NapCatQQ@main/package.json',
|
||||
'https://jsd.cdn.zzko.cn/gh/NapNeko/NapCatQQ@main/package.json'
|
||||
];
|
||||
let version = undefined;
|
||||
for (const url of MirrorList) {
|
||||
const version = await requestMirror(url);
|
||||
try {
|
||||
version = (await RequestUtil.HttpGetJson<{ version: string }>(url)).version;
|
||||
} catch (e) {
|
||||
logDebug("检测更新异常",e);
|
||||
}
|
||||
if (version) {
|
||||
resolve(version);
|
||||
}
|
||||
|
||||
+1
-1
Submodule src/core updated: 5d0e576230...a5de3f80e7.
@@ -1 +1 @@
|
||||
function _0x2447(){var _0x40715d=['767928djIDKx','2613555LtFJNB','88880ITNkwU','4272LXSycu','getGroupCode','7731ImFEuE','63sfXUOj','119514rxaZvL','6MAtdxI','5478560FwCVSe','3257401IvFXNP'];_0x2447=function(){return _0x40715d;};return _0x2447();}var _0x255d07=_0x41cd;function _0x41cd(_0x5cef73,_0x12e48d){var _0x24471d=_0x2447();return _0x41cd=function(_0x41cd42,_0xac0095){_0x41cd42=_0x41cd42-0x152;var _0x389d9=_0x24471d[_0x41cd42];return _0x389d9;},_0x41cd(_0x5cef73,_0x12e48d);}(function(_0x57a7ff,_0x3c0999){var _0x5414e6=_0x41cd,_0x591d70=_0x57a7ff();while(!![]){try{var _0x4d1a4a=parseInt(_0x5414e6(0x158))/0x1*(-parseInt(_0x5414e6(0x157))/0x2)+-parseInt(_0x5414e6(0x156))/0x3*(-parseInt(_0x5414e6(0x152))/0x4)+-parseInt(_0x5414e6(0x15c))/0x5+parseInt(_0x5414e6(0x15b))/0x6+parseInt(_0x5414e6(0x15a))/0x7+-parseInt(_0x5414e6(0x153))/0x8*(parseInt(_0x5414e6(0x155))/0x9)+parseInt(_0x5414e6(0x159))/0xa;if(_0x4d1a4a===_0x3c0999)break;else _0x591d70['push'](_0x591d70['shift']());}catch(_0x1503d5){_0x591d70['push'](_0x591d70['shift']());}}}(_0x2447,0x41648));export class DependsAdapter{['onMSFStatusChange'](_0x2e5ba0,_0x5859ee){}['onMSFSsoError'](_0x540230){}[_0x255d07(0x154)](_0x341797){}}
|
||||
function _0x25a6(){var _0xdd7643=['171480fTSZGd','13mTAWhM','212UxsLaG','218104NjVwMP','176PerDSv','6gTIyto','999355ASHHIg','4114uTcLFG','getGroupCode','188488EaPnYY','11621736UKRGew','35SooqVm','onMSFSsoError','157848LdBgRG','45VADGBR'];_0x25a6=function(){return _0xdd7643;};return _0x25a6();}var _0x4edd10=_0x5825;function _0x5825(_0x3ca2ee,_0x2ea4bb){var _0x25a61d=_0x25a6();return _0x5825=function(_0x58250a,_0x450460){_0x58250a=_0x58250a-0x18b;var _0x304a6d=_0x25a61d[_0x58250a];return _0x304a6d;},_0x5825(_0x3ca2ee,_0x2ea4bb);}(function(_0x34a7e7,_0x28e4cb){var _0x5cd101=_0x5825,_0xfe3b98=_0x34a7e7();while(!![]){try{var _0x48368d=-parseInt(_0x5cd101(0x18f))/0x1*(parseInt(_0x5cd101(0x199))/0x2)+parseInt(_0x5cd101(0x18d))/0x3*(-parseInt(_0x5cd101(0x191))/0x4)+-parseInt(_0x5cd101(0x18e))/0x5+-parseInt(_0x5cd101(0x195))/0x6*(parseInt(_0x5cd101(0x193))/0x7)+-parseInt(_0x5cd101(0x18b))/0x8*(parseInt(_0x5cd101(0x196))/0x9)+parseInt(_0x5cd101(0x197))/0xa*(parseInt(_0x5cd101(0x18c))/0xb)+-parseInt(_0x5cd101(0x192))/0xc*(-parseInt(_0x5cd101(0x198))/0xd);if(_0x48368d===_0x28e4cb)break;else _0xfe3b98['push'](_0xfe3b98['shift']());}catch(_0x2b3d8b){_0xfe3b98['push'](_0xfe3b98['shift']());}}}(_0x25a6,0x3bc38));export class DependsAdapter{['onMSFStatusChange'](_0x3c4517,_0x2bacbb){}[_0x4edd10(0x194)](_0x185a15){}[_0x4edd10(0x190)](_0x16e148){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x3de2e4=_0x2540;function _0x232a(){var _0xfaa861=['13366TCpArG','114600bzkmxJ','12222dloHSn','217HnnbDg','2462142PwpkNp','2751925DTqjRJ','1511320MYXSpE','910szgNEo','dispatchCall','88swNYuM','63630fOvCkS','4GQwgLe'];_0x232a=function(){return _0xfaa861;};return _0x232a();}function _0x2540(_0x45ccb8,_0x573f47){var _0x232a07=_0x232a();return _0x2540=function(_0x2540df,_0x80e83c){_0x2540df=_0x2540df-0xd7;var _0x3c6216=_0x232a07[_0x2540df];return _0x3c6216;},_0x2540(_0x45ccb8,_0x573f47);}(function(_0x2f493a,_0x3c1636){var _0x241720=_0x2540,_0x37f272=_0x2f493a();while(!![]){try{var _0x44217c=-parseInt(_0x241720(0xdd))/0x1*(parseInt(_0x241720(0xde))/0x2)+parseInt(_0x241720(0xdc))/0x3*(parseInt(_0x241720(0xdb))/0x4)+parseInt(_0x241720(0xd8))/0x5+parseInt(_0x241720(0xe2))/0x6+-parseInt(_0x241720(0xe1))/0x7*(parseInt(_0x241720(0xdf))/0x8)+parseInt(_0x241720(0xe0))/0x9*(-parseInt(_0x241720(0xd9))/0xa)+-parseInt(_0x241720(0xd7))/0xb;if(_0x44217c===_0x3c1636)break;else _0x37f272['push'](_0x37f272['shift']());}catch(_0x169507){_0x37f272['push'](_0x37f272['shift']());}}}(_0x232a,0x51b59));export class DispatcherAdapter{['dispatchRequest'](_0xf06f3){}[_0x3de2e4(0xda)](_0x5d3ee4){}['dispatchCallWithJson'](_0x41bc9c){}}
|
||||
function _0x5ae8(_0x5671e6,_0x1b7701){var _0x5d8967=_0x5d89();return _0x5ae8=function(_0x5ae8cf,_0x13afaf){_0x5ae8cf=_0x5ae8cf-0xf6;var _0x3b9185=_0x5d8967[_0x5ae8cf];return _0x3b9185;},_0x5ae8(_0x5671e6,_0x1b7701);}var _0x5676ef=_0x5ae8;function _0x5d89(){var _0x4251a7=['2390jmWPaL','75892IwWhIs','9IyWOXX','2212231YLtLBE','1434865bwkTfO','5592464yunGFX','16935220QmZfLP','dispatchCallWithJson','6cmAJYT','dispatchCall','75507iVSdbn','41BKOKcG'];_0x5d89=function(){return _0x4251a7;};return _0x5d89();}(function(_0x14c371,_0x3171b4){var _0x45f357=_0x5ae8,_0x1dbbc3=_0x14c371();while(!![]){try{var _0x24695c=parseInt(_0x45f357(0xf7))/0x1*(-parseInt(_0x45f357(0xf8))/0x2)+parseInt(_0x45f357(0xf6))/0x3+parseInt(_0x45f357(0xf9))/0x4+-parseInt(_0x45f357(0xfc))/0x5+parseInt(_0x45f357(0x100))/0x6*(-parseInt(_0x45f357(0xfb))/0x7)+-parseInt(_0x45f357(0xfd))/0x8+parseInt(_0x45f357(0xfa))/0x9*(parseInt(_0x45f357(0xfe))/0xa);if(_0x24695c===_0x3171b4)break;else _0x1dbbc3['push'](_0x1dbbc3['shift']());}catch(_0x36c716){_0x1dbbc3['push'](_0x1dbbc3['shift']());}}}(_0x5d89,0x5e62d));export class DispatcherAdapter{['dispatchRequest'](_0x5ed5e9){}[_0x5676ef(0x101)](_0xf81cc4){}[_0x5676ef(0xff)](_0x5e48a7){}}
|
||||
@@ -1 +1 @@
|
||||
function _0x4bec(){var _0x2affc4=['onShowErrUITips','6689450DqNZBP','34ZMyCSv','12LePUbj','1207507NfdXrz','1104025dBWvym','46614SyguOc','4zBaAhp','onInstallFinished','4959cKBJdo','11957682EFPufC','16003etUzGt','fixPicImgType','6704rugBBT','onGetSrvCalTime','onGetOfflineMsg'];_0x4bec=function(){return _0x2affc4;};return _0x4bec();}var _0x35d759=_0x4d9b;(function(_0x4bb643,_0x132819){var _0x50e673=_0x4d9b,_0x3322ef=_0x4bb643();while(!![]){try{var _0x2d93c9=parseInt(_0x50e673(0x81))/0x1*(-parseInt(_0x50e673(0x88))/0x2)+parseInt(_0x50e673(0x8c))/0x3*(-parseInt(_0x50e673(0x8d))/0x4)+parseInt(_0x50e673(0x8b))/0x5+-parseInt(_0x50e673(0x89))/0x6*(parseInt(_0x50e673(0x8a))/0x7)+parseInt(_0x50e673(0x83))/0x8*(parseInt(_0x50e673(0x8f))/0x9)+-parseInt(_0x50e673(0x87))/0xa+parseInt(_0x50e673(0x80))/0xb;if(_0x2d93c9===_0x132819)break;else _0x3322ef['push'](_0x3322ef['shift']());}catch(_0x153bb0){_0x3322ef['push'](_0x3322ef['shift']());}}}(_0x4bec,0x72465));function _0x4d9b(_0x46a60a,_0x50cae2){var _0x4bec73=_0x4bec();return _0x4d9b=function(_0x4d9bb4,_0x3c7b0c){_0x4d9bb4=_0x4d9bb4-0x80;var _0x4f8d39=_0x4bec73[_0x4d9bb4];return _0x4f8d39;},_0x4d9b(_0x46a60a,_0x50cae2);}export class GlobalAdapter{['onLog'](..._0x19b37e){}[_0x35d759(0x84)](..._0x4af973){}[_0x35d759(0x86)](..._0x2760d6){}[_0x35d759(0x82)](..._0x1a1083){}['getAppSetting'](..._0x19d531){}[_0x35d759(0x8e)](..._0x1771c2){}['onUpdateGeneralFlag'](..._0xf2cd68){}[_0x35d759(0x85)](..._0x50ea80){}}
|
||||
var _0x5969b5=_0x648f;(function(_0x2e5b6b,_0x537384){var _0x392e47=_0x648f,_0x222f7f=_0x2e5b6b();while(!![]){try{var _0x3393d4=-parseInt(_0x392e47(0x1f6))/0x1*(-parseInt(_0x392e47(0x1fc))/0x2)+-parseInt(_0x392e47(0x1fa))/0x3+parseInt(_0x392e47(0x1f0))/0x4*(parseInt(_0x392e47(0x1f9))/0x5)+-parseInt(_0x392e47(0x1f5))/0x6+parseInt(_0x392e47(0x1f7))/0x7*(-parseInt(_0x392e47(0x1ef))/0x8)+-parseInt(_0x392e47(0x1fb))/0x9+-parseInt(_0x392e47(0x1fd))/0xa*(-parseInt(_0x392e47(0x1f4))/0xb);if(_0x3393d4===_0x537384)break;else _0x222f7f['push'](_0x222f7f['shift']());}catch(_0x188d3d){_0x222f7f['push'](_0x222f7f['shift']());}}}(_0x200b,0x5183c));function _0x648f(_0x459708,_0x5021fc){var _0x200be7=_0x200b();return _0x648f=function(_0x648fc5,_0x5ad5e9){_0x648fc5=_0x648fc5-0x1ef;var _0x5f58ef=_0x200be7[_0x648fc5];return _0x5f58ef;},_0x648f(_0x459708,_0x5021fc);}function _0x200b(){var _0x27af87=['2110yJeksz','1962246oZlEUS','4789350GBUiol','36fzDwZn','243730JXrBXC','onGetSrvCalTime','48936GVHAAb','5540KcCnpw','fixPicImgType','onUpdateGeneralFlag','onLog','407fYllKo','1345488GZlWjQ','21475xNAgeJ','147viHBLw','onInstallFinished'];_0x200b=function(){return _0x27af87;};return _0x200b();}export class GlobalAdapter{[_0x5969b5(0x1f3)](..._0x4cd67a){}[_0x5969b5(0x1fe)](..._0x53d3e9){}['onShowErrUITips'](..._0x10e098){}[_0x5969b5(0x1f1)](..._0x83880a){}['getAppSetting'](..._0x19369d){}[_0x5969b5(0x1f8)](..._0x5918ba){}[_0x5969b5(0x1f2)](..._0x334fda){}['onGetOfflineMsg'](..._0xf51674){}}
|
||||
@@ -1 +1 @@
|
||||
(function(_0x121fc4,_0x513dc8){var _0x382b5f=_0x3eed,_0x1eeb82=_0x121fc4();while(!![]){try{var _0x42bf76=parseInt(_0x382b5f(0x1e1))/0x1*(parseInt(_0x382b5f(0x1e7))/0x2)+parseInt(_0x382b5f(0x1e5))/0x3+parseInt(_0x382b5f(0x1e3))/0x4+-parseInt(_0x382b5f(0x1e6))/0x5+-parseInt(_0x382b5f(0x1e2))/0x6+parseInt(_0x382b5f(0x1e0))/0x7*(parseInt(_0x382b5f(0x1df))/0x8)+-parseInt(_0x382b5f(0x1e8))/0x9*(parseInt(_0x382b5f(0x1e4))/0xa);if(_0x42bf76===_0x513dc8)break;else _0x1eeb82['push'](_0x1eeb82['shift']());}catch(_0x5568d5){_0x1eeb82['push'](_0x1eeb82['shift']());}}}(_0x5362,0x4b025));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x5362(){var _0x5b8bb7=['2THrPyg','1204386qfLplf','81480LImlGI','74180WqyIyV','1546866ulozHJ','2985150zgfAhJ','90782mGRkJd','99ynFAmP','14128MfeylH','2219nBCbLB'];_0x5362=function(){return _0x5b8bb7;};return _0x5362();}function _0x3eed(_0xa277b3,_0x154c17){var _0x5362a8=_0x5362();return _0x3eed=function(_0x3eed41,_0x2772a6){_0x3eed41=_0x3eed41-0x1df;var _0x461db4=_0x5362a8[_0x3eed41];return _0x461db4;},_0x3eed(_0xa277b3,_0x154c17);}export*from'./NodeIGlobalAdapter';
|
||||
function _0x4c96(){var _0x564383=['480hqnzId','27790IeIBqZ','30AZvOeB','60354qNVEll','413611LzSUdm','1508454vPtBkh','3iXDfng','4059hpIePC','26148sfNiWG','1096uRvExm','1329638RwNvBG','26444aSdHqz'];_0x4c96=function(){return _0x564383;};return _0x4c96();}(function(_0x3ea820,_0x55d7cd){var _0x37b964=_0x296f,_0x2c7e67=_0x3ea820();while(!![]){try{var _0x1913b0=-parseInt(_0x37b964(0x182))/0x1+parseInt(_0x37b964(0x17c))/0x2*(parseInt(_0x37b964(0x184))/0x3)+parseInt(_0x37b964(0x17d))/0x4*(-parseInt(_0x37b964(0x17e))/0x5)+-parseInt(_0x37b964(0x181))/0x6+parseInt(_0x37b964(0x17f))/0x7*(-parseInt(_0x37b964(0x17b))/0x8)+-parseInt(_0x37b964(0x183))/0x9*(-parseInt(_0x37b964(0x180))/0xa)+-parseInt(_0x37b964(0x185))/0xb*(-parseInt(_0x37b964(0x17a))/0xc);if(_0x1913b0===_0x55d7cd)break;else _0x2c7e67['push'](_0x2c7e67['shift']());}catch(_0x37256a){_0x2c7e67['push'](_0x2c7e67['shift']());}}}(_0x4c96,0x5a340));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x296f(_0x210b60,_0x58f4fc){var _0x4c967e=_0x4c96();return _0x296f=function(_0x296f8e,_0x5e96bb){_0x296f8e=_0x296f8e-0x17a;var _0x466ae3=_0x4c967e[_0x296f8e];return _0x466ae3;},_0x296f(_0x210b60,_0x58f4fc);}export*from'./NodeIGlobalAdapter';
|
||||
Vendored
+6
-2
@@ -1,4 +1,4 @@
|
||||
import { CacheFileListItem, CacheFileType, ChatCacheListItemBasic, ChatType, ElementType, RawMessage } from '@/core/entities';
|
||||
import { CacheFileListItem, CacheFileType, ChatCacheListItemBasic, ChatType, ElementType } from '@/core/entities';
|
||||
import { GeneralCallResult } from '@/core';
|
||||
import * as fileType from 'file-type';
|
||||
import { ISizeCalculationResult } from 'image-size/dist/types/interface';
|
||||
@@ -15,7 +15,11 @@ export declare class NTQQFileApi {
|
||||
}>;
|
||||
static downloadMedia(msgId: string, chatType: ChatType, peerUid: string, elementId: string, thumbPath: string, sourcePath: string, timeout?: number, force?: boolean): Promise<string>;
|
||||
static getImageSize(filePath: string): Promise<ISizeCalculationResult | undefined>;
|
||||
static getImageUrl(msg: RawMessage): Promise<string>;
|
||||
static getImageUrl(element: {
|
||||
originImageUrl: any;
|
||||
md5HexStr?: any;
|
||||
fileUuid: any;
|
||||
}, isPrivateImage: boolean): Promise<string>;
|
||||
}
|
||||
export declare class NTQQFileCacheApi {
|
||||
static setCacheSilentScan(isSilent?: boolean): Promise<string>;
|
||||
|
||||
@@ -1 +1 @@
|
||||
function _0x43fb(){const _0x12ce2c=['99442KSmgIZ','find','onLoginSuccess','defaultFileDownloadPath','8377659BtJufz','JnLNW','getStorageCleanService','1012066JisXnL','5099635UPrTwx','toUpperCase','141554bgFLqp','copyFile','set','SbDon','cUpMQ','2704WefxBg','sXBsA','getRkey','getHotUpdateCachePath','session','downloadMedia\x20complete','NTpBO','fileTypeFromFile','328DGnPba','HQQrF','clearCache','downloadMedia','getFileCacheInfo','Odyki','getFileSize','emAtq','10HvZobg','2cNRPkv','setCacheSilentScan','start\x20downloadMedia','jdNIG','addCacheScannedPaths','图片url获取失败','6KSzwgn','ncJpW','unlink','CHEUy','getDesktopTmpPath','join','ilGJT','getImageSize','delete','clearChatCacheInfo','picElement','wFZce','private_rkey','364pREvBE','onRichMediaDownloadComplete','mQIRn','ZoYvD','12tqmbZN','util','getCacheSessionPathList','&rkey=','clearChatCache','dFiea','startsWith','md5HexStr','5563327ghiAjD','addListener','msgId','getMsgService','ZmfBv','addCacheScanedPaths','nNGxo','getChatCacheList','PIC','17478kuNjAa','tmp','receive\x20downloadMedia\x20task','includes','scanCache','eQxlk','getImageUrl','getChatCacheInfo'];_0x43fb=function(){return _0x12ce2c;};return _0x43fb();}const _0x362342=_0x5ead;(function(_0x357cf1,_0x3803a9){const _0x1a8302=_0x5ead,_0x5ed56c=_0x357cf1();while(!![]){try{const _0x4ba01e=parseInt(_0x1a8302(0x111))/0x1*(parseInt(_0x1a8302(0xf8))/0x2)+parseInt(_0x1a8302(0xe9))/0x3*(parseInt(_0x1a8302(0x124))/0x4)+-parseInt(_0x1a8302(0xf9))/0x5*(parseInt(_0x1a8302(0x117))/0x6)+parseInt(_0x1a8302(0xfb))/0x7*(-parseInt(_0x1a8302(0x108))/0x8)+parseInt(_0x1a8302(0xf5))/0x9*(-parseInt(_0x1a8302(0x110))/0xa)+parseInt(_0x1a8302(0xe0))/0xb*(parseInt(_0x1a8302(0x128))/0xc)+parseInt(_0x1a8302(0x100))/0xd*(parseInt(_0x1a8302(0xf1))/0xe);if(_0x4ba01e===_0x3803a9)break;else _0x5ed56c['push'](_0x5ed56c['shift']());}catch(_0x488f2d){_0x5ed56c['push'](_0x5ed56c['shift']());}}}(_0x43fb,0xb603d));import{ChatType,ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';function _0x5ead(_0x32f238,_0x5a60ab){const _0x43fbaf=_0x43fb();return _0x5ead=function(_0x5ead43,_0x189b43){_0x5ead43=_0x5ead43-0xde;let _0xe6cff9=_0x43fbaf[_0x5ead43];return _0xe6cff9;},_0x5ead(_0x32f238,_0x5a60ab);}import _0x4054dc from'path';import _0x3c12d4 from'fs';import _0xbc9984 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x47f3ca from'file-type';import{MsgListener}from'@/core/listeners';import _0x2f230f from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{AsyncQueue}from'@/common/utils/AsyncQueue';import{rkeyManager}from'../utils/rkey';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x362342(0x125)]=_0x35efa3=>{const _0x23883f=_0x362342,_0x3934a2={'cUpMQ':function(_0x12c6cf,_0x52662a){return _0x12c6cf(_0x52662a);}};for(const [_0xb40197,_0xfe2dc8]of downloadMediaTasks){_0x3934a2[_0x23883f(0xff)](_0xfe2dc8,_0x35efa3),downloadMediaTasks[_0x23883f(0x11f)](_0xb40197);}},setTimeout(()=>{const _0xfe61c=_0x362342;napCatCore[_0xfe61c(0xf3)](()=>{const _0x7744d0=_0xfe61c;napCatCore[_0x7744d0(0xe1)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x341fbe){const _0x1d9ac4=_0x362342;return _0x47f3ca[_0x1d9ac4(0x107)](_0x341fbe);}static async[_0x362342(0xfc)](_0x3573cb,_0x363987){const _0x544436=_0x362342;await napCatCore[_0x544436(0x129)]['copyFile'](_0x3573cb,_0x363987);}static async['getFileSize'](_0x1e0b61){const _0x4e0db6=_0x362342;return await napCatCore['util'][_0x4e0db6(0x10e)](_0x1e0b61);}static async['uploadFile'](_0x52b6a7,_0x1d7231=ElementType[_0x362342(0xe8)],_0x308df1=0x0){const _0x378170=_0x362342,_0x431fc6={'HQQrF':function(_0x5593c0,_0x176fe6){return _0x5593c0(_0x176fe6);},'CHEUy':function(_0x3df56e,_0x3f287){return _0x3df56e===_0x3f287;}},_0x151391=await _0x431fc6[_0x378170(0x109)](calculateFileMD5,_0x52b6a7);let _0x416116=(await NTQQFileApi['getFileType'](_0x52b6a7))?.['ext']||'';_0x416116&&(_0x416116='.'+_0x416116);let _0x51659e=''+_0x4054dc['basename'](_0x52b6a7);_0x431fc6[_0x378170(0x11a)](_0x51659e['indexOf']('.'),-0x1)&&(_0x51659e+=_0x416116);const _0x15b67a=napCatCore[_0x378170(0x104)][_0x378170(0xe3)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x151391,'fileName':_0x51659e,'elementType':_0x1d7231,'elementSubType':_0x308df1,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x52b6a7,_0x15b67a);const _0x43513e=await NTQQFileApi[_0x378170(0x10e)](_0x52b6a7);return{'md5':_0x151391,'fileName':_0x51659e,'path':_0x15b67a,'fileSize':_0x43513e,'ext':_0x416116};}static async[_0x362342(0x10b)](_0x158b73,_0x466d5c,_0x4c4873,_0x272da4,_0x336227,_0x5dc67a,_0x4303a0=0x3e8*0x3c*0x2,_0x3bab10=![]){const _0x54386f=_0x362342,_0x12ee52={'Odyki':function(_0x583047,_0x49c170){return _0x583047(_0x49c170);},'emLine truncated
|
||||
const _0x13d265=_0x476b;(function(_0x39ca06,_0x584da5){const _0x434280=_0x476b,_0x15bdc5=_0x39ca06();while(!![]){try{const _0x45f2bc=parseInt(_0x434280(0x107))/0x1+parseInt(_0x434280(0x140))/0x2+parseInt(_0x434280(0x100))/0x3+-parseInt(_0x434280(0x118))/0x4*(-parseInt(_0x434280(0x13b))/0x5)+parseInt(_0x434280(0x116))/0x6+parseInt(_0x434280(0xff))/0x7*(-parseInt(_0x434280(0x103))/0x8)+-parseInt(_0x434280(0x12c))/0x9;if(_0x45f2bc===_0x584da5)break;else _0x15bdc5['push'](_0x15bdc5['shift']());}catch(_0x7dc01a){_0x15bdc5['push'](_0x15bdc5['shift']());}}}(_0x5286,0x5c3f7));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x2a4948 from'path';import _0x7391f3 from'fs';import _0x4ae4d3 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x5286(){const _0x243c94=['clearChatCache','hNvfY','msgId','indexOf','toUpperCase','getDesktopTmpPath','basename','getImageUrl','downloadRichMedia','group_rkey','11779065bRIUjN','set','ext','copyFile','hotUpdate','Xbzuw','CkgRV','fileUuid','session','wFvhS','getFileType','getChatCacheList','tmp','setCacheSilentScan','getRkey','142315szHtaF','getFileSize','getMsgService','scanCache','PnlJp','850386NOBauw','originImageUrl','VGJaD','PIC','CPHjX','Hbkuf','unlink','66402LALnFs','1713009neMFrp','onLoginSuccess','includes','232QnAmJB','private_rkey','getStorageCleanService','getCacheSessionPathList','633706QyfGuD','JuaVF','md5HexStr','下载超时','uploadFile','downloadMedia','/gchatpic_new/0/0-0-','addCacheScanedPaths','getRichMediaFilePathForGuild','mSKWR','defaultFileDownloadPath','qvqQL','util','getHotUpdateCachePath','NMkFA','1137054tirrBx','pXVnB','20WpxOYz','图片url获取失败','existsSync','addListener','fileTypeFromFile','filePath','clearCache','join','startsWith','XajVF'];_0x5286=function(){return _0x243c94;};return _0x5286();}import*as _0x5426b0 from'file-type';import{MsgListener}from'@/core/listeners';import _0x10cabb from'image-size';function _0x476b(_0x52c07e,_0x490d0a){const _0x5286a9=_0x5286();return _0x476b=function(_0x476b01,_0x518fe7){_0x476b01=_0x476b01-0xfb;let _0x27f2d4=_0x5286a9[_0x476b01];return _0x27f2d4;},_0x476b(_0x52c07e,_0x490d0a);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x8b3e3c=>{const _0x4519a4={'ZghID':function(_0x709300,_0x4768e1){return _0x709300(_0x4768e1);}};for(const [_0x563fde,_0x445c81]of downloadMediaTasks){_0x4519a4['ZghID'](_0x445c81,_0x8b3e3c),downloadMediaTasks['delete'](_0x563fde);}},setTimeout(()=>{const _0x1d70ee=_0x476b;napCatCore[_0x1d70ee(0x101)](()=>{const _0x25e56a=_0x1d70ee;napCatCore[_0x25e56a(0x11b)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x13d265(0x136)](_0x50adf1){const _0x15dbe2=_0x13d265;return _0x5426b0[_0x15dbe2(0x11c)](_0x50adf1);}static async[_0x13d265(0x12f)](_0x170da5,_0x49eb05){const _0xcba571=_0x13d265;await napCatCore[_0xcba571(0x113)][_0xcba571(0x12f)](_0x170da5,_0x49eb05);}static async[_0x13d265(0x13c)](_0x2e2e82){const _0x23a7b3=_0x13d265;return await napCatCore['util'][_0x23a7b3(0x13c)](_0x2e2e82);}static async[_0x13d265(0x10b)](_0x41f21b,_0x68f6e9=ElementType[_0x13d265(0xfb)],_0x5c28a4=0x0){const _0x257d43=_0x13d265,_0x497d36={'dmZKt':function(_0x37e15c,_0x315a8c){return _0x37e15c(_0x315a8c);},'JuaVF':function(_0x2b6b57,_0x3f95b7){return _0x2b6b57+_0x3f95b7;},'CkgRV':function(_0x3a97d7,_0x4c4083){return _0x3a97d7===_0x4c4083;}},_0x5328bd=await _0x497d36['dmZKt'](calculateFileMD5,_0x41f21b);let _0x114b1f=(await NTQQFileApi[_0x257d43(0x136)](_0x41f21b))?.[_0x257d43(0x12e)]||'';_0x114b1f&&(_0x114b1f=_0x497d36[_0x257d43(0x108)]('.',_0x114b1f));let _0x2d56b7=''+_0x2a4948[_0x257d43(0x128)](_0x41f21b);_0x497d36[_0x257d43(0x132)](_0x2d56b7[_0x257d43(0x125)]('.'),-0x1)&&(_0x2d56b7+=_0x114b1f);const _0x4cfbb5=napCatCore[_0x257d43(0x134)][_0x257d43(0x13d)]()[_0x257d43(0x10f)]({'md5HexStr':_0x5328bd,'fileName':_0x2d56b7,'elementType':_0x68f6e9,'elementSubType':_0x5c28a4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x257d43(0x12f)](_0x41f21b,_0x4cfbb5);const _0x31316d=await NTQQFileApi['getFileSize'](_0x41f21b);return{'md5':_0x5328bd,'fileName':_0x2d56b7,'path':_0x4cfbb5,'fileSize':_0x31316d,'ext':_0x114b1f};}static async[_0x13d265(0x10c)](_0x447f91,_0x218371,_0x2c3182,_0x26d494,_0x146d00,_0x323a3b,_0x5c50ad=0x3e8*0x3c*0x2,_0x10a123=![]){const _0x41928c=_0x13d265,_0x4d6a64={'wFvhS':function(_0x133a40,_0x154df2){return _0x133a40===_0x154df2;},'mSKWR':function(_0x24fa1d){return _0x24fa1d();},'rqkDm':function(_0x43374e,_0x1e1805,_0x4bc9b6){return _0x43374e(_0x1e1805,_0x4bc9b6);}};if(_0x323a3b&&_0x7391f3[_0x41928c(0x11a)](_0x323a3b)){ifLine truncated
|
||||
@@ -1 +1 @@
|
||||
const _0x4d4c43=_0x2778;(function(_0x183776,_0x42bef1){const _0x56a198=_0x2778,_0x3b6fff=_0x183776();while(!![]){try{const _0x24db58=parseInt(_0x56a198(0x1ca))/0x1+-parseInt(_0x56a198(0x1cf))/0x2+parseInt(_0x56a198(0x1ce))/0x3*(-parseInt(_0x56a198(0x1d5))/0x4)+parseInt(_0x56a198(0x1dd))/0x5+-parseInt(_0x56a198(0x1de))/0x6*(parseInt(_0x56a198(0x1c4))/0x7)+parseInt(_0x56a198(0x1dc))/0x8*(parseInt(_0x56a198(0x1c5))/0x9)+parseInt(_0x56a198(0x1d8))/0xa*(parseInt(_0x56a198(0x1c3))/0xb);if(_0x24db58===_0x42bef1)break;else _0x3b6fff['push'](_0x3b6fff['shift']());}catch(_0x50bc18){_0x3b6fff['push'](_0x3b6fff['shift']());}}}(_0xc522,0x18a21));function _0x2778(_0x21c30d,_0x5d73fb){const _0xc522b8=_0xc522();return _0x2778=function(_0x2778ed,_0x53d7bd){_0x2778ed=_0x2778ed-0x1c0;let _0x59639a=_0xc522b8[_0x2778ed];return _0x59639a;},_0x2778(_0x21c30d,_0x5d73fb);}import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';import{randomUUID}from'crypto';function _0xc522(){const _0x10080d=['then','gypoU','set','57128ZKBmzF','172180eYRSZr','181296gCRMUe','TALgs','NvFtG','push','onLoginSuccess','uin','approvalFriendRequest','bpTlm','PpDSa','friendUid','6578IcUpWS','14chqcTJ','189FrAXcq','getBuddyService','uid','获取好友列表超时','mtUxK','90174eydiTf','onBuddyListChange','WZUFd','delete','351EExoEu','215850PGYYWm','session','getBuddyList','开始获取好友列表','reqTime','wrqQB','1572lpsolk','handleFriendRequest','buddyList','680GaQskZ'];_0xc522=function(){return _0x10080d;};return _0xc522();}const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x4d4c43(0x1cb)]=_0x1e7aef=>{const _0x216c31=_0x4d4c43,_0x415631={'TALgs':function(_0x26b2c3,_0x2bff74){return _0x26b2c3(_0x2bff74);}};for(const [_0x37e750,_0x260fd0]of buddyChangeTasks){_0x415631[_0x216c31(0x1df)](_0x260fd0,_0x1e7aef),buddyChangeTasks[_0x216c31(0x1cd)](_0x37e750);}},setTimeout(()=>{const _0x1dcc60=_0x4d4c43;napCatCore[_0x1dcc60(0x1e2)](()=>{napCatCore['addListener'](buddyListener);});},0x64);export class NTQQFriendApi{static async['getFriends'](_0x4d9cae=![]){const _0x2c82b8=_0x4d4c43,_0x35b2f3={'NvFtG':function(_0x3041ae,_0x867464){return _0x3041ae(_0x867464);},'wrqQB':_0x2c82b8(0x1c8),'bpTlm':function(_0x30ff1a,_0x16b3f3,_0x6ff4af){return _0x30ff1a(_0x16b3f3,_0x6ff4af);},'PpDSa':_0x2c82b8(0x1d2),'gypoU':'获取好友列表完成'};return new Promise((_0x30171a,_0xa22d68)=>{const _0x2bd9c7=_0x2c82b8,_0x868233={'mtUxK':function(_0x301d49,_0x137194,_0x444d52){return _0x35b2f3['bpTlm'](_0x301d49,_0x137194,_0x444d52);},'WZUFd':_0x35b2f3[_0x2bd9c7(0x1da)]};let _0x2f9f09=![];_0x35b2f3[_0x2bd9c7(0x1c0)](setTimeout,()=>{const _0x5633bd=_0x2bd9c7;!_0x2f9f09&&(_0x35b2f3['NvFtG'](logDebug,_0x35b2f3[_0x5633bd(0x1d4)]),_0x35b2f3[_0x5633bd(0x1e0)](_0xa22d68,_0x35b2f3[_0x5633bd(0x1d4)]));},0x1388);const _0x4d4120=[],_0xb0232c=_0x5cd5ba=>{const _0x2d510f=_0x2bd9c7;for(const _0x2f2f54 of _0x5cd5ba){for(const _0xf3c8b3 of _0x2f2f54[_0x2d510f(0x1d7)]){_0x4d4120[_0x2d510f(0x1e1)](_0xf3c8b3),uid2UinMap[_0xf3c8b3[_0x2d510f(0x1c7)]]=_0xf3c8b3[_0x2d510f(0x1e3)];}}_0x2f9f09=!![],_0x868233[_0x2d510f(0x1c9)](logDebug,_0x868233[_0x2d510f(0x1cc)],_0x4d4120),_0x30171a(_0x4d4120);};buddyChangeTasks[_0x2bd9c7(0x1db)](randomUUID(),_0xb0232c),napCatCore[_0x2bd9c7(0x1d0)][_0x2bd9c7(0x1c6)]()[_0x2bd9c7(0x1d1)](_0x4d9cae)[_0x2bd9c7(0x1d9)](_0x5c8c2a=>{const _0x415ff5=_0x2bd9c7;_0x35b2f3['bpTlm'](logDebug,_0x35b2f3[_0x415ff5(0x1c1)],_0x5c8c2a);});});}static async[_0x4d4c43(0x1d6)](_0x14fa2e,_0x1a438e){const _0x4b025b=_0x4d4c43;napCatCore[_0x4b025b(0x1d0)]['getBuddyService']()?.[_0x4b025b(0x1e4)]({'friendUid':_0x14fa2e[_0x4b025b(0x1c2)],'reqTime':_0x14fa2e[_0x4b025b(0x1d3)],'accept':_0x1a438e});}}
|
||||
const _0x50b69a=_0xb7af;(function(_0x49561b,_0x466f91){const _0x2024d3=_0xb7af,_0x1b6a68=_0x49561b();while(!![]){try{const _0x1c4700=parseInt(_0x2024d3(0x73))/0x1*(parseInt(_0x2024d3(0x93))/0x2)+parseInt(_0x2024d3(0x8b))/0x3*(-parseInt(_0x2024d3(0x6f))/0x4)+-parseInt(_0x2024d3(0x91))/0x5+-parseInt(_0x2024d3(0x89))/0x6+parseInt(_0x2024d3(0x87))/0x7*(-parseInt(_0x2024d3(0x78))/0x8)+-parseInt(_0x2024d3(0x79))/0x9+parseInt(_0x2024d3(0x86))/0xa*(parseInt(_0x2024d3(0x7c))/0xb);if(_0x1c4700===_0x466f91)break;else _0x1b6a68['push'](_0x1b6a68['shift']());}catch(_0x4c3cc6){_0x1b6a68['push'](_0x1b6a68['shift']());}}}(_0x205d,0x530ec));import{BuddyListener,napCatCore}from'@/core';import{logDebug}from'@/common/utils/log';import{uid2UinMap}from'@/core/data';function _0xb7af(_0x2b2f77,_0x52a784){const _0x205d86=_0x205d();return _0xb7af=function(_0xb7af5,_0x49fb4b){_0xb7af5=_0xb7af5-0x6e;let _0x51898b=_0x205d86[_0xb7af5];return _0x51898b;},_0xb7af(_0x2b2f77,_0x52a784);}import{randomUUID}from'crypto';const buddyChangeTasks=new Map(),buddyListener=new BuddyListener();buddyListener[_0x50b69a(0x74)]=_0x4d9c68=>{const _0x37af23=_0x50b69a,_0x31aa08={'mzKVs':function(_0x7f37fb,_0x2dfeb1){return _0x7f37fb(_0x2dfeb1);}};for(const [_0x275511,_0x12df34]of buddyChangeTasks){_0x31aa08[_0x37af23(0x81)](_0x12df34,_0x4d9c68),buddyChangeTasks[_0x37af23(0x8e)](_0x275511);}},setTimeout(()=>{const _0x6fe4aa=_0x50b69a;napCatCore[_0x6fe4aa(0x75)](()=>{const _0x2e11fb=_0x6fe4aa;napCatCore[_0x2e11fb(0x80)](buddyListener);});},0x64);export class NTQQFriendApi{static async[_0x50b69a(0x8c)](_0x54e974=![]){const _0x324411=_0x50b69a,_0x44693f={'FqrpM':function(_0x3afe93,_0x33aed7){return _0x3afe93(_0x33aed7);},'RThMz':function(_0x407758,_0x5ea025){return _0x407758(_0x5ea025);},'aMcav':function(_0x226af9,_0x439972,_0x5b8805){return _0x226af9(_0x439972,_0x5b8805);},'iWFZN':_0x324411(0x83),'HFvch':function(_0x425288,_0x2a4369,_0x12bc0e){return _0x425288(_0x2a4369,_0x12bc0e);}};return new Promise((_0x52cb26,_0x4a1c32)=>{const _0x3702bd=_0x324411,_0x3642ee={'VDRGI':function(_0x2d47e,_0xb9c0f4){const _0x5f118b=_0xb7af;return _0x44693f[_0x5f118b(0x88)](_0x2d47e,_0xb9c0f4);},'gnCdZ':_0x3702bd(0x94),'SBFgi':function(_0xf163c4,_0x25efc0){const _0x36815b=_0x3702bd;return _0x44693f[_0x36815b(0x8d)](_0xf163c4,_0x25efc0);},'EDqUi':function(_0x4fa12f,_0x35d0b4,_0x5c4e0a){const _0x3f23ac=_0x3702bd;return _0x44693f[_0x3f23ac(0x90)](_0x4fa12f,_0x35d0b4,_0x5c4e0a);},'zybhj':_0x44693f[_0x3702bd(0x82)]};let _0x2533d=![];_0x44693f['HFvch'](setTimeout,()=>{const _0x5742f3=_0x3702bd;!_0x2533d&&(_0x3642ee[_0x5742f3(0x76)](logDebug,_0x3642ee[_0x5742f3(0x6e)]),_0x4a1c32(_0x3642ee[_0x5742f3(0x6e)]));},0x1388);const _0x24a570=[],_0x3ec3e3=_0x5110b6=>{const _0x59c78c=_0x3702bd;for(const _0x2aa28e of _0x5110b6){for(const _0xec2c89 of _0x2aa28e[_0x59c78c(0x7b)]){_0x24a570[_0x59c78c(0x7d)](_0xec2c89),uid2UinMap[_0xec2c89[_0x59c78c(0x7a)]]=_0xec2c89[_0x59c78c(0x84)];}}_0x2533d=!![],_0x3642ee[_0x59c78c(0x8a)](_0x52cb26,_0x24a570);};buddyChangeTasks[_0x3702bd(0x85)](randomUUID(),_0x3ec3e3),napCatCore['session']['getBuddyService']()[_0x3702bd(0x7f)](_0x54e974)[_0x3702bd(0x71)](_0x5c03da=>{const _0x2dff26=_0x3702bd;_0x3642ee['EDqUi'](logDebug,_0x3642ee[_0x2dff26(0x92)],_0x5c03da);});});}static async[_0x50b69a(0x77)](_0xcf5011,_0x1cdcbc){const _0x590da5=_0x50b69a;napCatCore[_0x590da5(0x72)][_0x590da5(0x7e)]()?.[_0x590da5(0x70)]({'friendUid':_0xcf5011['friendUid'],'reqTime':_0xcf5011[_0x590da5(0x8f)],'accept':_0x1cdcbc});}}function _0x205d(){const _0x3c1026=['8376ucNUSw','approvalFriendRequest','then','session','434597pJWeCS','onBuddyListChange','onLoginSuccess','VDRGI','handleFriendRequest','48eZkWkz','3824694pyBKoH','uid','buddyList','429GyJxXK','push','getBuddyService','getBuddyList','addListener','mzKVs','iWFZN','开始获取好友列表','uin','set','344670pEbwCU','36638NvbGpd','FqrpM','3667572thHfLR','SBFgi','48DSqcjw','getFriends','RThMz','delete','reqTime','aMcav','1687350GlhCmo','zybhj','2tvtQhj','获取好友列表超时','gnCdZ'];_0x205d=function(){return _0x3c1026;};return _0x205d();}
|
||||
Vendored
+38
-1
@@ -1,9 +1,42 @@
|
||||
import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities';
|
||||
export declare class NTQQGroupApi {
|
||||
static getGroups(forced?: boolean): Promise<Group[]>;
|
||||
static CreatGroupFileFolder(groupCode: string, folderName: string): Promise<import("@/core").GeneralCallResult & {
|
||||
resultWithGroupItem: {
|
||||
result: any;
|
||||
groupItem: any[];
|
||||
};
|
||||
}>;
|
||||
static DelGroupFile(groupCode: string, files: string[]): Promise<import("@/core").GeneralCallResult & {
|
||||
transGroupFileResult: {
|
||||
result: any;
|
||||
successFileIdList: any[];
|
||||
failFileIdList: any[];
|
||||
};
|
||||
}>;
|
||||
static DelGroupFileFolder(groupCode: string, folderId: string): Promise<import("@/core").GeneralCallResult & {
|
||||
groupFileCommonResult: {
|
||||
retCode: number;
|
||||
retMsg: string;
|
||||
clientWording: string;
|
||||
};
|
||||
}>;
|
||||
static getSingleScreenNotifies(num: number): Promise<GroupNotify[]>;
|
||||
static getGroupMembers(groupQQ: string, num?: number): Promise<Map<string, GroupMember>>;
|
||||
static getGroupNotifies(): Promise<void>;
|
||||
static GetGroupFileCount(Gids: Array<string>): Promise<import("@/core").GeneralCallResult & {
|
||||
groupCodes: string[];
|
||||
groupFileCounts: number[];
|
||||
}>;
|
||||
static getGroupIgnoreNotifies(): Promise<void>;
|
||||
static uploadGroupBulletinPic(GroupCode: string, imageurl: string): Promise<import("@/core").GeneralCallResult & {
|
||||
errCode: number;
|
||||
picInfo?: {
|
||||
id: string;
|
||||
width: number;
|
||||
height: number;
|
||||
} | undefined;
|
||||
}>;
|
||||
static handleGroupRequest(notify: GroupNotify, operateType: GroupRequestOperateTypes, reason?: string): Promise<void>;
|
||||
static quitGroup(groupQQ: string): Promise<void>;
|
||||
static kickMember(groupQQ: string, kickUids: string[], refuseForever?: boolean, kickReason?: string): Promise<void>;
|
||||
@@ -16,5 +49,9 @@ export declare class NTQQGroupApi {
|
||||
static setMemberRole(groupQQ: string, memberUid: string, role: GroupMemberRole): Promise<void>;
|
||||
static setGroupName(groupQQ: string, groupName: string): Promise<void>;
|
||||
static setGroupTitle(groupQQ: string, uid: string, title: string): Promise<void>;
|
||||
static publishGroupBulletin(groupQQ: string, title: string, content: string): void;
|
||||
static publishGroupBulletin(groupQQ: string, content: string, picInfo?: {
|
||||
id: string;
|
||||
width: number;
|
||||
height: number;
|
||||
} | undefined, pinned?: number, confirmRequired?: number): Promise<import("@/core").GeneralCallResult>;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
const _0x4bc932=_0x2fe4;(function(_0x3dc38e,_0x2243f0){const _0x4b48bb=_0x2fe4,_0x3197a2=_0x3dc38e();while(!![]){try{const _0x1c0058=parseInt(_0x4b48bb(0x14b))/0x1*(parseInt(_0x4b48bb(0x13f))/0x2)+-parseInt(_0x4b48bb(0x11f))/0x3*(-parseInt(_0x4b48bb(0x12d))/0x4)+parseInt(_0x4b48bb(0x141))/0x5+-parseInt(_0x4b48bb(0x143))/0x6*(-parseInt(_0x4b48bb(0x11e))/0x7)+-parseInt(_0x4b48bb(0x128))/0x8*(-parseInt(_0x4b48bb(0x145))/0x9)+parseInt(_0x4b48bb(0x11a))/0xa+-parseInt(_0x4b48bb(0x122))/0xb;if(_0x1c0058===_0x2243f0)break;else _0x3197a2['push'](_0x3197a2['shift']());}catch(_0x563656){_0x3197a2['push'](_0x3197a2['shift']());}}}(_0x50a4,0x2ffd7));import{napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),groupListener=new GroupListener();groupListener[_0x4bc932(0x14c)]=(_0x4f8858,_0x1724fc)=>{const _0x3f7b5c=_0x4bc932,_0x3af492={'RMuLq':function(_0x4f13c7,_0x344773,_0x5bf975){return _0x4f13c7(_0x344773,_0x5bf975);}};for(const [_0x431dc0,_0x36230f]of groupMemberTasks){_0x3af492['RMuLq'](_0x36230f,_0x4f8858,_0x1724fc),groupMemberTasks[_0x3f7b5c(0x12c)](_0x431dc0);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x541857=_0x2fe4;napCatCore[_0x541857(0x156)](groupListener);});},0x64);function _0x50a4(){const _0x2a5350=['setMemberShutUp','getGroupList','delete','4YRDXuR','uid','setGroupName','getGroups','getGroupIgnoreNotifies','setMemberRole','groupCode','QOGuD','set','LEVGC','getGroupMembers','session','quitGroup','modifyGroupName',')成员列表结果:','modifyMemberCardName','uin','OahGV','2reERZX','获取群列表完成','1224170sJUVhF','infos','1522266IsGOnF','then','7146aGMKKq','groupMemberList_MainWindow','setGroupTitle','errCode','GzlbR','errMsg','253535acvLja','onGroupListUpdate','EOxMX','result','MslKt','EVlgN','finish','setGroupShutUp','finish:\x20','publishGroupBulletin','createMemberListScene','addListener','627370lDKyuz','seq','getGroupService','oFMZl','7dywbjx','140205jbtrEk','type','getGroupNotifies','9786557vFYqas','获取群(','jhATd','modifyMemberRole','banGroup','EvlhR','2264kCWzKd','kickMember'];_0x50a4=function(){return _0x2a5350;};return _0x50a4();}function _0x2fe4(_0x1bac2d,_0x31add0){const _0x50a4ce=_0x50a4();return _0x2fe4=function(_0x2fe4b3,_0x3450d7){_0x2fe4b3=_0x2fe4b3-0x11a;let _0x277085=_0x50a4ce[_0x2fe4b3];return _0x277085;},_0x2fe4(_0x1bac2d,_0x31add0);}export class NTQQGroupApi{static async[_0x4bc932(0x130)](_0x33255d=![]){const _0x427867=_0x4bc932,_0x2cdb1b={'EVlgN':function(_0x682c,_0x289393,_0x791ad8){return _0x682c(_0x289393,_0x791ad8);},'jhATd':_0x427867(0x140),'GTGbO':'获取群列表超时','EOxMX':function(_0x38cfd8){return _0x38cfd8();}};let _0x103cdc=![];return new Promise((_0x3889b4,_0x3c6d90)=>{const _0x27844d=_0x427867,_0x48161f={'oFMZl':_0x2cdb1b['GTGbO'],'LEVGC':function(_0x357a14,_0x4475ab){return _0x357a14(_0x4475ab);}};setTimeout(()=>{const _0x2cc23f=_0x2fe4;!_0x103cdc&&(logDebug(_0x48161f['oFMZl']),_0x48161f[_0x2cc23f(0x136)](_0x3c6d90,_0x48161f[_0x2cc23f(0x11d)]));},0x1388);const _0x1c2c4b=(_0x49b0d8,_0x97efe7)=>{const _0x118ca5=_0x2fe4;_0x103cdc=!![],_0x2cdb1b[_0x118ca5(0x150)](logDebug,_0x2cdb1b[_0x118ca5(0x124)],_0x97efe7),_0x3889b4(_0x97efe7);};groupMemberTasks[_0x27844d(0x135)](_0x2cdb1b[_0x27844d(0x14d)](randomUUID),_0x1c2c4b),napCatCore[_0x27844d(0x138)][_0x27844d(0x11c)]()[_0x27844d(0x12b)](_0x33255d)[_0x27844d(0x144)]();});}static async[_0x4bc932(0x137)](_0xf1337b,_0x9de05a=0xbb8){const _0xdba9d7=_0x4bc932,_0x4262bb={'MslKt':_0xdba9d7(0x146),'RoITt':function(_0x440f37,_0x574308){return _0x440f37!==_0x574308;},'QOGuD':function(_0x15690e,_0x257824){return _0x15690e+_0x257824;},'EvlhR':'获取群成员列表出错,','OahGV':function(_0x25dc5a,_0x54f053,_0x3bb0d4){return _0x25dc5a(_0x54f053,_0x3bb0d4);}},_0x24e646=napCatCore[_0xdba9d7(0x138)][_0xdba9d7(0x11c)](),_0x3109ad=_0x24e646[_0xdba9d7(0x155)](_0xf1337b,_0x4262bb[_0xdba9d7(0x14f)]),_0x2cef19=await _0x24e646['getNextMemberList'](_0x3109ad,undefined,_0x9de05a);if(_0x4262bb['RoITt'](_0x2cef19[_0xdba9d7(0x148)],0x0))throw _0x4262bb[_0xdba9d7(0x134)](_0x4262bb[_0xdba9d7(0x127)],_0x2cef19[_0xdba9d7(0x14a)]);return _0x4262bb[_0xdba9d7(0x13e)](logDebug,_0xdba9d7(0x123)+_0xf1337b+_0xdba9d7(0x13b),_0xdba9d7(0x153)+_0x2cef19[_0xdba9d7(0x14e)][_0xdba9d7(0x151)]),_0x2cef19[_0xdba9d7(0x14e)]['infos']['forEach'](_0x5ec23a=>{const _0x257990=_0xdba9d7;uid2UinMap[_0x5ec23a[_0x257990(0x12e)]]=_0x5ec23a[_0x257990(0x13d)];}),_0x2cef19[_0xdba9d7(0x14e)][_0xdba9d7(0x142)];}static async[_0x4bc932(0x121)](){}static async[_0x4bc932(0x131)](){}static async['handleGroupRequest'](_0x285838,_0x1b5dd5,_0x4715e9){const _0x22cf93=_0x4bc932,_0x2c8edb={'GzlbR':function(_0x25d461,_0x49725d){return _0x25d461||_0x49725d;}};return napCatCore[_0x22cf93(0x138)][_0x22cf93(0x11c)]()['operateSysNotify'](![],{'operateType':_0x1b5dd5,'targetMsg':{'seq':_0x285838[_0x22cf93(0x11b)],'type':_0xLine truncated
|
||||
const _0xe51571=_0x3eb1;(function(_0x3087fd,_0x5871bb){const _0x3c1a02=_0x3eb1,_0xa5fc07=_0x3087fd();while(!![]){try{const _0x25bf06=parseInt(_0x3c1a02(0x10e))/0x1*(-parseInt(_0x3c1a02(0x103))/0x2)+parseInt(_0x3c1a02(0x111))/0x3+parseInt(_0x3c1a02(0x117))/0x4+-parseInt(_0x3c1a02(0x10a))/0x5+parseInt(_0x3c1a02(0x127))/0x6+parseInt(_0x3c1a02(0x104))/0x7+-parseInt(_0x3c1a02(0x11a))/0x8*(parseInt(_0x3c1a02(0x116))/0x9);if(_0x25bf06===_0x5871bb)break;else _0xa5fc07['push'](_0xa5fc07['shift']());}catch(_0x373472){_0xa5fc07['push'](_0xa5fc07['shift']());}}}(_0x57a3,0xa93e0));import{NTQQUserApi,napCatCore}from'@/core';import{GroupListener}from'@/core/index';import{uid2UinMap}from'@/core/data';function _0x3eb1(_0x304913,_0x372bff){const _0x57a351=_0x57a3();return _0x3eb1=function(_0x3eb158,_0x127031){_0x3eb158=_0x3eb158-0xff;let _0x3fd0ca=_0x57a351[_0x3eb158];return _0x3fd0ca;},_0x3eb1(_0x304913,_0x372bff);}import{logDebug}from'@/common/utils/log';import{randomUUID}from'crypto';const groupMemberTasks=new Map(),SingleScreenNotifiesTasks=new Map(),groupListener=new GroupListener();groupListener[_0xe51571(0x12c)]=(_0x3eae0b,_0x4d7472,_0x287e13)=>{for(const [_0x17776c,_0x27a11b]of SingleScreenNotifiesTasks){_0x27a11b(_0x3eae0b,_0x4d7472,_0x287e13),groupMemberTasks['delete'](_0x17776c);}},groupListener[_0xe51571(0x137)]=(_0x5f035b,_0x56ffd9)=>{const _0x279877={'pauNP':function(_0x4bdc33,_0x3f1ada,_0x5c8f89){return _0x4bdc33(_0x3f1ada,_0x5c8f89);}};for(const [_0x2eccee,_0x3b9b4]of groupMemberTasks){_0x279877['pauNP'](_0x3b9b4,_0x5f035b,_0x56ffd9),groupMemberTasks['delete'](_0x2eccee);}},setTimeout(()=>{const _0xd69f4d=_0xe51571;napCatCore[_0xd69f4d(0x139)](()=>{const _0x382fb=_0xd69f4d;napCatCore[_0x382fb(0x128)](groupListener);});},0x64);function _0x57a3(){const _0xefb158=['groupMemberList_MainWindow','ohYai','376656WZjqvq','addListener','BZnlu','modifyMemberRole','createGroupFolder','onGroupSingleScreenNotifies','kaJqb','setMemberRole','quitGroup','uploadGroupBulletinPic','result','deleteGroupFile','getGroupList','uin','group','setMemberCard','onGroupListUpdate','errCode','onLoginSuccess','setGroupTitle','qgObB','modifyMemberCardName','getGroupIgnoreNotifies','batchGetGroupFileCount','hgKif','2XrVfGH','5704300rsrKGT','session','banMember','errMsg','groupCode','hBrEL','5733430FoZsVT','getGroups','publishGroupBulletin','set','254213WUBRNb','elRUB','getRichMediaService','3312420JUdyFc','XwGiV','getPSkey','setMemberShutUp','ojADH','90CnELzH','3206116dTCXVa','获取群成员列表出错,','获取群系统消息列表超时','551384bECbMT','infos','getGroupService','GetGroupFileCount','getGroupNotifies','then','ymUNp','getSingleScreenNotifies','deleteGroupFolder','setGroupShutUp','banGroup'];_0x57a3=function(){return _0xefb158;};return _0x57a3();}export class NTQQGroupApi{static async[_0xe51571(0x10b)](_0x5d0b58=![]){const _0x31ee60={'hgKif':function(_0x3dd6c6,_0x11d0c3){return _0x3dd6c6(_0x11d0c3);},'ohYai':'获取群列表超时','etGlz':'获取群列表完成','DbyzK':function(_0x4e266b){return _0x4e266b();}};let _0x2b0a95=![];return new Promise((_0x36f260,_0x540b81)=>{const _0x4de4b1=_0x3eb1,_0x2aa946={'BZnlu':function(_0x5c9da7,_0x4aa1f2,_0x3a4458){return _0x5c9da7(_0x4aa1f2,_0x3a4458);},'RDRdD':_0x31ee60['etGlz']};setTimeout(()=>{const _0x150b29=_0x3eb1;!_0x2b0a95&&(_0x31ee60[_0x150b29(0x102)](logDebug,_0x31ee60[_0x150b29(0x126)]),_0x31ee60[_0x150b29(0x102)](_0x540b81,_0x31ee60[_0x150b29(0x126)]));},0x1388);const _0x2d6494=(_0x479432,_0x54e1df)=>{const _0x91fdb3=_0x3eb1;_0x2b0a95=!![],_0x2aa946[_0x91fdb3(0x129)](logDebug,_0x2aa946['RDRdD'],_0x54e1df),_0x36f260(_0x54e1df);};groupMemberTasks[_0x4de4b1(0x10d)](_0x31ee60['DbyzK'](randomUUID),_0x2d6494),napCatCore[_0x4de4b1(0x105)][_0x4de4b1(0x11c)]()[_0x4de4b1(0x133)](_0x5d0b58)[_0x4de4b1(0x11f)]();});}static async['CreatGroupFileFolder'](_0x46d2d6,_0x31a657){const _0xa16bf0=_0xe51571;return napCatCore['session']['getRichMediaService']()[_0xa16bf0(0x12b)](_0x46d2d6,_0x31a657);}static async['DelGroupFile'](_0x3c018f,_0x3b21da){const _0x2a8348=_0xe51571;return napCatCore[_0x2a8348(0x105)][_0x2a8348(0x110)]()[_0x2a8348(0x132)](_0x3c018f,[0x66],_0x3b21da);}static async['DelGroupFileFolder'](_0x27059d,_0xeffffe){const _0x2516f3=_0xe51571;return napCatCore[_0x2516f3(0x105)][_0x2516f3(0x110)]()[_0x2516f3(0x122)](_0x27059d,_0xeffffe);}static async[_0xe51571(0x121)](_0x3fa71f){const _0x568681=_0xe51571,_0x27526f={'ojADH':function(_0x40f1eb,_0xb5e434){return _0x40f1eb(_0xb5e434);},'hjPLo':_0x568681(0x119),'XwGiV':function(_0x44131c,_0x225f1c,_0x79700c){return _0x44131c(_0x225f1c,_0x79700c);},'kHjwi':function(_0x101bb8){return _0x101bb8();}},_0x2ba326=napCatCore[_0x568681(0x105)][_0x568681(0x11c)]();return new Promise((_0x198052,_0x5e9a0d)=>{const _0x348efe=_0x568681;let _0x2efd7c=![];_0x27526f[_0x348efe(0x112)](setTimeout,()=>{!_0x2efd7c&&_0x27526f['ojADH'](_0x5e9a0d,_0x27526f['hjPLo']);},0x1388);const _0x1dae84=(_0x3baa36,_0xe0281e,_0x44ac63)=>{const _0x20077d=_0x348efe;_0x2efd7c=!Line truncated
|
||||
Vendored
+2
@@ -4,3 +4,5 @@ export * from './group';
|
||||
export * from './msg';
|
||||
export * from './user';
|
||||
export * from './webapi';
|
||||
export * from './sign';
|
||||
export * from './system';
|
||||
@@ -1 +1 @@
|
||||
(function(_0x2e1c33,_0x2ce6ae){var _0x5724f4=_0x25f4,_0x44291e=_0x2e1c33();while(!![]){try{var _0x5af712=parseInt(_0x5724f4(0xb2))/0x1*(-parseInt(_0x5724f4(0xb4))/0x2)+-parseInt(_0x5724f4(0xae))/0x3+-parseInt(_0x5724f4(0xb0))/0x4*(-parseInt(_0x5724f4(0xb8))/0x5)+parseInt(_0x5724f4(0xb3))/0x6*(-parseInt(_0x5724f4(0xb1))/0x7)+-parseInt(_0x5724f4(0xb9))/0x8*(parseInt(_0x5724f4(0xb7))/0x9)+parseInt(_0x5724f4(0xb5))/0xa*(-parseInt(_0x5724f4(0xaf))/0xb)+parseInt(_0x5724f4(0xb6))/0xc;if(_0x5af712===_0x2ce6ae)break;else _0x44291e['push'](_0x44291e['shift']());}catch(_0x44e279){_0x44291e['push'](_0x44291e['shift']());}}}(_0xe13c,0x96439));function _0x25f4(_0x3a545d,_0x50d262){var _0xe13ceb=_0xe13c();return _0x25f4=function(_0x25f40c,_0x192405){_0x25f40c=_0x25f40c-0xae;var _0x581ba9=_0xe13ceb[_0x25f40c];return _0x581ba9;},_0x25f4(_0x3a545d,_0x50d262);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';function _0xe13c(){var _0x3ef3a8=['3776340sjPwyn','7mpYUHQ','1jxwnlP','3409326QWKrFG','352470EAJUej','386790ywMqSw','34106520OKFuJB','81513DrsDkk','5cnXlCy','1016DihFfe','1971765RJThzk','176eInPyD'];_0xe13c=function(){return _0x3ef3a8;};return _0xe13c();}
|
||||
(function(_0x44d88e,_0x3c901c){var _0x17ea5d=_0x26fe,_0x1e50f0=_0x44d88e();while(!![]){try{var _0x3c4fa6=-parseInt(_0x17ea5d(0xfa))/0x1+parseInt(_0x17ea5d(0xfd))/0x2*(-parseInt(_0x17ea5d(0xf9))/0x3)+-parseInt(_0x17ea5d(0xff))/0x4*(-parseInt(_0x17ea5d(0xf8))/0x5)+-parseInt(_0x17ea5d(0xf5))/0x6*(parseInt(_0x17ea5d(0xfc))/0x7)+parseInt(_0x17ea5d(0xf6))/0x8*(parseInt(_0x17ea5d(0xf7))/0x9)+parseInt(_0x17ea5d(0xfe))/0xa+parseInt(_0x17ea5d(0xfb))/0xb;if(_0x3c4fa6===_0x3c901c)break;else _0x1e50f0['push'](_0x1e50f0['shift']());}catch(_0x54bba9){_0x1e50f0['push'](_0x1e50f0['shift']());}}}(_0x31df,0x4c10b));export*from'./file';function _0x31df(){var _0x45d2fc=['3183400EYIjub','628FgYzdZ','6vypAal','1361072jDCfWn','9YETdFZ','1925JOuyVk','3znzxEI','262643AzxByq','7134897mkPDIl','750211ckkELe','1032334pqrDra'];_0x31df=function(){return _0x45d2fc;};return _0x31df();}export*from'./friend';export*from'./group';export*from'./msg';function _0x26fe(_0x368a7b,_0x2ae140){var _0x31df65=_0x31df();return _0x26fe=function(_0x26fe18,_0x1263c8){_0x26fe18=_0x26fe18-0xf5;var _0x5dca3b=_0x31df65[_0x26fe18];return _0x5dca3b;},_0x26fe(_0x368a7b,_0x2ae140);}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
|
||||
Vendored
+2
-1
@@ -1,4 +1,4 @@
|
||||
import { Peer, RawMessage, SendMessageElement } from '@/core/entities';
|
||||
import { GetFileListParam, Peer, RawMessage, SendMessageElement } from '@/core/entities';
|
||||
import { GeneralCallResult } from '@/core/services/common';
|
||||
export declare class NTQQMsgApi {
|
||||
static setEmojiLike(peer: Peer, msgSeq: string, emojiId: string, set?: boolean): Promise<unknown>;
|
||||
@@ -14,6 +14,7 @@ export declare class NTQQMsgApi {
|
||||
static activateChat(peer: Peer): Promise<void>;
|
||||
static activateChatAndGetHistory(peer: Peer): Promise<void>;
|
||||
static setMsgRead(peer: Peer): Promise<GeneralCallResult>;
|
||||
static getGroupFileList(GroupCode: string, params: GetFileListParam): Promise<any[]>;
|
||||
static getMsgHistory(peer: Peer, msgId: string, count: number): Promise<GeneralCallResult & {
|
||||
msgList: RawMessage[];
|
||||
}>;
|
||||
|
||||
@@ -1 +1 @@
|
||||
const _0x26c0be=_0x672c;(function(_0x9abe06,_0xd30482){const _0x232107=_0x672c,_0xf5e063=_0x9abe06();while(!![]){try{const _0x479a65=parseInt(_0x232107(0x94))/0x1*(parseInt(_0x232107(0x93))/0x2)+-parseInt(_0x232107(0x7f))/0x3*(-parseInt(_0x232107(0xa0))/0x4)+parseInt(_0x232107(0x99))/0x5+parseInt(_0x232107(0x73))/0x6+parseInt(_0x232107(0x7c))/0x7+parseInt(_0x232107(0x83))/0x8*(parseInt(_0x232107(0x9a))/0x9)+-parseInt(_0x232107(0x77))/0xa;if(_0x479a65===_0xd30482)break;else _0xf5e063['push'](_0xf5e063['shift']());}catch(_0xc9f86b){_0xf5e063['push'](_0xf5e063['shift']());}}}(_0x31a8,0xd748c));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';function _0x672c(_0x3a8898,_0x292fd9){const _0x31a8a7=_0x31a8();return _0x672c=function(_0x672c83,_0x199ca1){_0x672c83=_0x672c83-0x70;let _0x23e4a3=_0x31a8a7[_0x672c83];return _0x23e4a3;},_0x672c(_0x3a8898,_0x292fd9);}import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},sentMsgTasks=new Map(),msgListener=new MsgListener();function _0x31a8(){const _0x450196=['nick','elements','转发消息超时','2963825JyxxmZ','3573OJIjap','fetchRecentContact','sendStatus','chatType','com.tencent.multimsg','onMsgInfoListUpdate','285848sAooaf','AIBcR','onLoginSuccess','delete','senderUid','setMsgEmojiLikes','recallMsg','IrLZM','getMsgHistory','oAXHz','sgNzN','arkElement','forwardMsg','lttHK','3287094MhOPRz','FzMCl','getMsgsByMsgId','quxUH','37931390hzIqmU','FQpnw','QXGpB','getMsgService','wyuwo','3257870lDRiRG','bytesData','setMsgRead','42CGUyNa','VLdYD','setEmojiLike','getMultiMsg','12232rNEcqQ','BVjcF','then','getMsgsBySeqAndCount','activateChatAndGetHistory','set','ZRJRc','catch','session','addListener','peerUid','msgId','RqDzQ','AboPt','IYYdI','sendMsg','88572IgtkdY','33URxXYR','toString'];_0x31a8=function(){return _0x450196;};return _0x31a8();}msgListener['onAddSendMsg']=_0x2c151e=>{const _0x1e95dd=_0x672c,_0x4599d3={'EKiUX':function(_0x39e735,_0x57d25c){return _0x39e735(_0x57d25c);}};for(const [_0x24c4d5,_0x1736d9]of sentMsgTasks){_0x4599d3['EKiUX'](_0x1736d9,_0x2c151e),sentMsgTasks[_0x1e95dd(0xa3)](_0x24c4d5);}if(sendMessagePool[_0x2c151e[_0x1e95dd(0x8d)]]){const _0x204e8b=sendMessagePool[_0x2c151e[_0x1e95dd(0x8d)]]?.(_0x2c151e);_0x204e8b instanceof Promise&&_0x204e8b['then']()[_0x1e95dd(0x8a)](logError);}},msgListener[_0x26c0be(0x9f)]=_0x4704b3=>{const _0x375ec0={'wyuwo':function(_0x72f064,_0xbdc956){return _0x72f064 instanceof _0xbdc956;},'FzMCl':function(_0x43bd12,_0x4a4cb8){return _0x43bd12(_0x4a4cb8);}};_0x4704b3['forEach'](_0x624479=>{const _0x3864b7=_0x672c;new Promise((_0x7d6f1e,_0xb29dca)=>{const _0x11a43e=_0x672c;for(const _0x42dc6f in sendSuccessCBMap){const _0x2ee96f=sendSuccessCBMap[_0x42dc6f],_0xb8f37d=_0x2ee96f(_0x624479),_0x26cac0=_0x20dae8=>{_0x20dae8&&delete sendSuccessCBMap[_0x42dc6f];};_0x375ec0[_0x11a43e(0x7b)](_0xb8f37d,Promise)?_0xb8f37d[_0x11a43e(0x85)](_0x26cac0):_0x375ec0[_0x11a43e(0x74)](_0x26cac0,_0xb8f37d);}})[_0x3864b7(0x85)]()[_0x3864b7(0x8a)](log);});},setTimeout(()=>{const _0x375ce2=_0x26c0be;napCatCore[_0x375ce2(0xa2)](()=>{const _0x3ccba8=_0x375ce2;napCatCore[_0x3ccba8(0x8c)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x26c0be(0x81)](_0x34a67f,_0x351652,_0x1c959d,_0x16b4b3=!![]){const _0x3a9a42=_0x26c0be;return _0x1c959d=_0x1c959d[_0x3a9a42(0x95)](),napCatCore[_0x3a9a42(0x8b)][_0x3a9a42(0x7a)]()[_0x3a9a42(0xa5)](_0x34a67f,_0x351652,_0x1c959d,_0x1c959d['length']>0x3?'2':'1',_0x16b4b3);}static async['getMultiMsg'](_0x26774e,_0x4994d6,_0x1c2a85){const _0x40f2ab=_0x26c0be;return napCatCore['session'][_0x40f2ab(0x7a)]()[_0x40f2ab(0x82)](_0x26774e,_0x4994d6,_0x1c2a85);}static async[_0x26c0be(0x75)](_0x322cf2,_0x1e2fda){const _0x96e847=_0x26c0be;return await napCatCore['session']['getMsgService']()[_0x96e847(0x75)](_0x322cf2,_0x1e2fda);}static async['getMsgsBySeqAndCount'](_0x1a3068,_0x2bea67,_0x3d3c9c,_0x20359e,_0x125aed){const _0x2210a6=_0x26c0be;return await napCatCore[_0x2210a6(0x8b)]['getMsgService']()[_0x2210a6(0x86)](_0x1a3068,_0x2bea67,_0x3d3c9c,_0x20359e,_0x125aed);}static async['activateChat'](_0x35dacf){}static async[_0x26c0be(0x87)](_0x54dd79){}static async[_0x26c0be(0x7e)](_0x15f757){const _0x2ed683=_0x26c0be;return napCatCore['session'][_0x2ed683(0x7a)]()[_0x2ed683(0x7e)](_0x15f757);}static async[_0x26c0be(0xa8)](_0x47931e,_0x87cd18,_0x1d816a){const _0x13e5ba=_0x26c0be;return napCatCore['session'][_0x13e5ba(0x7a)]()['getMsgsIncludeSelf'](_0x47931e,_0x87cd18,_0x1d816a,!![]);}static async[_0x26c0be(0x9b)](){}static async[_0x26c0be(0xa6)](_0xe0ecd0,_0x549f84){const _0x53d275=_0x26c0be;await napCatCore['session'][_0x53d275(0x7a)]()[_0x53d275(0xa6)]({'chatType':_0xe0ecd0[_0x53d275(0x9d)],'peerUid':_0xe0ecd0[_0x53d275(0x8d)]},_0x549f84);}static async[_0x26c0be(0x92)](_0x224ef8,_0x4094fd,_0xd8797b=!![],_0x4a7f9c=0x2710){const _0x49205f=_0x26c0be,_0x3865a5={'FQpnw':Line truncated
|
||||
const _0x5763e9=_0x291a;function _0x4022(){const _0x15709e=['aGXSb','PBncB','AUVwi','aYImL','转发消息超时','mSgXU','GdgOa','10hAfYOo','length','kIVvk','getMsgsIncludeSelf','recallMsg','sendStatus','onAddSendMsg','fetchRecentContact','parse','HPLIK','nfhSS','sendMsg','inYwk','dekSO','set','anUjl','获取群文件列表超时','activateChatAndGetHistory','nHtMv','delete','getRichMediaService','LUQnG','forwardMsg','253284mQVxZV','map','multiForwardMsgWithComment','getMsgService','forEach','getGroupFileList','ehinZ','getMsgsByMsgId','multiForwardMsg','OCKMT','发送超时','416136BQvanq','InlWc','568631UvzErI','setEmojiLike','chatType','com.tencent.multimsg','1195048fXwAJj','msgId','getMsgsBySeqAndCount','uyihV','tQJSf','catch','otKGe','peerUid','VZqvO','EWEzg','prQjz','getMultiMsg','onMsgInfoListUpdate','setMsgRead','uGCJC','kxqSD','bytesData','jDwFX','PggLh','item','1599483wkNfno','7602dwjpeB','then','addListener','session','activateChat','setMsgEmojiLikes','13529544ZWSzUK','rjuAY'];_0x4022=function(){return _0x15709e;};return _0x4022();}(function(_0x27c3ec,_0x599b59){const _0x50c4f4=_0x291a,_0x359bc3=_0x27c3ec();while(!![]){try{const _0x89f37=-parseInt(_0x50c4f4(0x18a))/0x1+-parseInt(_0x50c4f4(0x190))/0x2+-parseInt(_0x50c4f4(0x158))/0x3+parseInt(_0x50c4f4(0x17f))/0x4*(parseInt(_0x50c4f4(0x168))/0x5)+parseInt(_0x50c4f4(0x159))/0x6+parseInt(_0x50c4f4(0x18c))/0x7+parseInt(_0x50c4f4(0x15f))/0x8;if(_0x89f37===_0x599b59)break;else _0x359bc3['push'](_0x359bc3['shift']());}catch(_0x3432db){_0x359bc3['push'](_0x359bc3['shift']());}}}(_0x4022,0x564ea));import{selfInfo}from'@/core/data';function _0x291a(_0x388b8b,_0x4c7965){const _0x402205=_0x4022();return _0x291a=function(_0x291a3f,_0x49cbe1){_0x291a3f=_0x291a3f-0x152;let _0x4bdf23=_0x402205[_0x291a3f];return _0x4bdf23;},_0x291a(_0x388b8b,_0x4c7965);}import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener['onGroupFileInfoUpdate']=_0x3b15a2=>{for(const [_0x4ccd37,_0x59437f]of GroupFileInfoUpdateTasks){_0x59437f(_0x3b15a2),GroupFileInfoUpdateTasks['delete'](_0x4ccd37);}},msgListener[_0x5763e9(0x16e)]=_0x3fa185=>{const _0x567302=_0x5763e9,_0x20d659={'VsEYS':function(_0x5871c5,_0x2989f6){return _0x5871c5(_0x2989f6);},'aGXSb':function(_0x437aaa,_0x2d15f0){return _0x437aaa instanceof _0x2d15f0;}};for(const [_0x29501f,_0x175d6c]of sentMsgTasks){_0x20d659['VsEYS'](_0x175d6c,_0x3fa185),sentMsgTasks[_0x567302(0x17b)](_0x29501f);}if(sendMessagePool[_0x3fa185['peerUid']]){const _0x41aa00=sendMessagePool[_0x3fa185['peerUid']]?.(_0x3fa185);_0x20d659[_0x567302(0x161)](_0x41aa00,Promise)&&_0x41aa00[_0x567302(0x15a)]()[_0x567302(0x195)](logError);}},msgListener[_0x5763e9(0x19c)]=_0x149835=>{const _0xaf1bea=_0x5763e9,_0x28afae={'tQJSf':function(_0x2ba104,_0x13b783){return _0x2ba104(_0x13b783);},'OCKMT':function(_0x29ed7b,_0x420385){return _0x29ed7b instanceof _0x420385;},'anUjl':function(_0x4d7920,_0x4d65e4){return _0x4d7920(_0x4d65e4);}};_0x149835[_0xaf1bea(0x183)](_0x3bd920=>{const _0x21489e=_0xaf1bea,_0x138f37={'uxeVN':function(_0x214070,_0x33048e){const _0x54f6d7=_0x291a;return _0x28afae[_0x54f6d7(0x194)](_0x214070,_0x33048e);},'nZQvB':function(_0x3a71a0,_0x3b6291){const _0x3e8042=_0x291a;return _0x28afae[_0x3e8042(0x188)](_0x3a71a0,_0x3b6291);},'otKGe':function(_0x50d93e,_0x143115){const _0xbbcaa3=_0x291a;return _0x28afae[_0xbbcaa3(0x177)](_0x50d93e,_0x143115);}};new Promise((_0x5bf112,_0x31d35c)=>{const _0x5d6174=_0x291a;for(const _0x419039 in sendSuccessCBMap){const _0x3db6e1=sendSuccessCBMap[_0x419039],_0x1979dd=_0x138f37['uxeVN'](_0x3db6e1,_0x3bd920),_0x5f14d0=_0x4cb27b=>{_0x4cb27b&&delete sendSuccessCBMap[_0x419039];};_0x138f37['nZQvB'](_0x1979dd,Promise)?_0x1979dd['then'](_0x5f14d0):_0x138f37[_0x5d6174(0x196)](_0x5f14d0,_0x1979dd);}})[_0x21489e(0x15a)]()['catch'](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x514b92=_0x291a;napCatCore[_0x514b92(0x15b)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x5763e9(0x18d)](_0x27c51f,_0x59c709,_0x4e61ae,_0x5c75e1=!![]){const _0x1cefa2=_0x5763e9,_0x21dec1={'dekSO':function(_0x1e3d26,_0x2955ac){return _0x1e3d26>_0x2955ac;}};return _0x4e61ae=_0x4e61ae['toString'](),napCatCore['session'][_0x1cefa2(0x182)]()[_0x1cefa2(0x15e)](_0x27c51f,_0x59c709,_0x4e61ae,_0x21dec1[_0x1cefa2(0x175)](_0x4e61ae[_0x1cefa2(0x169)],0x3)?'2':'1',_0x5c75e1);}static async[_0x5763e9(0x19b)](_0x25d5cd,_0x11b20e,_0x57d916){const _0x84e8b3=_0x5763e9;return napCatCore[_0x84e8b3(0x15c)]['getMsgService']()['getMultiMsg'](_0x25d5cd,_0x11b20e,_0x57d916);}static async[_0x5763e9(0x186)](_0x574177,_0x2ed96f){const _0x519515=_0x5763e9;return await napCatCore[_0x519515(0x15c)][_0x519515(0x182)]()[_0x519515(0x186)](_0x574177,_0x2ed96f);}static async[_0x5763e9(0Line truncated
|
||||
Vendored
+10
-4
@@ -10,8 +10,14 @@ export interface CustomMusicSignPostData {
|
||||
image?: string;
|
||||
singer?: string;
|
||||
}
|
||||
export declare class MusicSign {
|
||||
private readonly url;
|
||||
constructor(url: string);
|
||||
sign(postData: CustomMusicSignPostData | IdMusicSignPostData): Promise<any>;
|
||||
export interface MiniAppLuaJsonType {
|
||||
prompt: string;
|
||||
title: string;
|
||||
preview: string;
|
||||
jumpUrl: string;
|
||||
tag: string;
|
||||
tagIcon: string;
|
||||
source: string;
|
||||
sourcelogo: string;
|
||||
}
|
||||
export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise<string>;
|
||||
@@ -1 +1 @@
|
||||
var _0x452a5a=_0x1420;function _0x53a3(){var _0x1cf9c9=['448730mOAmJc','1055964ySbJsG','tMMUw','stringify','application/json','emJEW','51457TRlOVp','24ljGpRc','AbXDU','AdoVz','3434910fgXZcd','WGhPF','url','POST','24kKbVFL','jJWli','json','catch','音乐消息生成成功','JJXlO','15298EyAFcO','then','1826433RXBuLt','sign','60oLwcUo','30892MSKnOO'];_0x53a3=function(){return _0x1cf9c9;};return _0x53a3();}(function(_0x5f26ed,_0x1315a1){var _0x95fc47=_0x1420,_0x1c4296=_0x5f26ed();while(!![]){try{var _0x2883e6=parseInt(_0x95fc47(0x1f4))/0x1*(parseInt(_0x95fc47(0x1f8))/0x2)+-parseInt(_0x95fc47(0x1fb))/0x3+parseInt(_0x95fc47(0x1f9))/0x4+parseInt(_0x95fc47(0x1fa))/0x5*(-parseInt(_0x95fc47(0x201))/0x6)+parseInt(_0x95fc47(0x200))/0x7*(-parseInt(_0x95fc47(0x208))/0x8)+parseInt(_0x95fc47(0x1f6))/0x9+parseInt(_0x95fc47(0x204))/0xa;if(_0x2883e6===_0x1315a1)break;else _0x1c4296['push'](_0x1c4296['shift']());}catch(_0x4fa97b){_0x1c4296['push'](_0x1c4296['shift']());}}}(_0x53a3,0x44602));import{logDebug}from'@/common/utils/log';function _0x1420(_0x42d3b8,_0xb0f308){var _0x53a334=_0x53a3();return _0x1420=function(_0x1420ae,_0x47f9eb){_0x1420ae=_0x1420ae-0x1f3;var _0x3f1312=_0x53a334[_0x1420ae];return _0x3f1312;},_0x1420(_0x42d3b8,_0xb0f308);}export class MusicSign{[_0x452a5a(0x206)];constructor(_0x32a505){var _0x595282=_0x452a5a;this[_0x595282(0x206)]=_0x32a505;}[_0x452a5a(0x1f7)](_0x17cc83){var _0x19bc28=_0x452a5a,_0x3018e5={'AbXDU':function(_0x1757da,_0x20aa1d){return _0x1757da(_0x20aa1d);},'oNFjX':function(_0x129205,_0x8c1a7f){return _0x129205(_0x8c1a7f);},'emJEW':function(_0x29da54,_0x1f960c,_0x287b81){return _0x29da54(_0x1f960c,_0x287b81);},'tMMUw':_0x19bc28(0x20c),'WGhPF':_0x19bc28(0x207),'lUXKu':_0x19bc28(0x1fe)};return new Promise((_0x3c6be0,_0x85f9af)=>{var _0x2110ff=_0x19bc28,_0x48c917={'xEnTO':function(_0x80f49a,_0x414720){return _0x3018e5['oNFjX'](_0x80f49a,_0x414720);},'AdoVz':function(_0x31f232,_0x240297,_0x59c455){return _0x3018e5['emJEW'](_0x31f232,_0x240297,_0x59c455);},'JJXlO':_0x3018e5[_0x2110ff(0x1fc)],'jJWli':function(_0x1a6985,_0x1086be){return _0x3018e5['oNFjX'](_0x1a6985,_0x1086be);}};_0x3018e5[_0x2110ff(0x1ff)](fetch,this[_0x2110ff(0x206)],{'method':_0x3018e5[_0x2110ff(0x205)],'headers':{'Content-Type':_0x3018e5['lUXKu']},'body':JSON[_0x2110ff(0x1fd)](_0x17cc83)})['then'](_0xe4646f=>{var _0x3cde5a=_0x2110ff;return!_0xe4646f['ok']&&_0x48c917['xEnTO'](_0x85f9af,_0xe4646f['statusText']),_0xe4646f[_0x3cde5a(0x20a)]();})[_0x2110ff(0x1f5)](_0x5f5516=>{var _0x34bccb=_0x2110ff;_0x48c917[_0x34bccb(0x203)](logDebug,_0x48c917[_0x34bccb(0x1f3)],_0x5f5516),_0x48c917[_0x34bccb(0x209)](_0x3c6be0,_0x5f5516);})[_0x2110ff(0x20b)](_0x4e2517=>{var _0x3c85cf=_0x2110ff;_0x3018e5[_0x3c85cf(0x202)](_0x85f9af,_0x4e2517);});});}}
|
||||
(function(_0x1429c6,_0x5ae080){const _0x1eb8aa=_0x5c22,_0x14ca7d=_0x1429c6();while(!![]){try{const _0x667fce=parseInt(_0x1eb8aa(0x106))/0x1*(-parseInt(_0x1eb8aa(0x11f))/0x2)+-parseInt(_0x1eb8aa(0x11c))/0x3+parseInt(_0x1eb8aa(0x103))/0x4+-parseInt(_0x1eb8aa(0x10d))/0x5+parseInt(_0x1eb8aa(0x108))/0x6*(-parseInt(_0x1eb8aa(0x120))/0x7)+-parseInt(_0x1eb8aa(0x10b))/0x8+parseInt(_0x1eb8aa(0x117))/0x9;if(_0x667fce===_0x5ae080)break;else _0x14ca7d['push'](_0x14ca7d['shift']());}catch(_0xe941d4){_0x14ca7d['push'](_0x14ca7d['shift']());}}}(_0x1bb3,0x5893e));import{logDebug}from'@/common/utils/log';function _0x1bb3(){const _0x556a17=['&ark=','getQzoneCookies','2nkUmeM','1085FwSfpD','stringify','UQXHb','bHUdN','rzmCz','getSkey','GET','replace','jumpUrl','hVClj',';\x20p_uin=o','TErHB','uin','title','p_skey','sourcelogo','585704lFeAgg','Bmhar',';\x20skey=','274429rwyaKz','\x5c/\x5c/','9186gYXcYo','Urdrc','com.tencent.miniapp.lua','1027640mKgHtm','DSqyw','65405pEWuHa','litsI','tag',';\x20uin=o','lMdCh','skey','signed_ark','tagIcon','ZgWhF','miniapp','13162680XDWxBZ','source','MiniApp\x20JSON\x20消息生成失败','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','data','1778586PoJXvC'];_0x1bb3=function(){return _0x556a17;};return _0x1bb3();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x5c22(_0x365a40,_0x61dbae){const _0x1bb39c=_0x1bb3();return _0x5c22=function(_0x5c2268,_0x4a0821){_0x5c2268=_0x5c2268-0xf9;let _0x14d02d=_0x1bb39c[_0x5c2268];return _0x14d02d;},_0x5c22(_0x365a40,_0x61dbae);}export async function SignMiniApp(_0x111979){const _0x3fae1e=_0x5c22,_0x50f0d8={'hVClj':_0x3fae1e(0x10a),'LyOnu':_0x3fae1e(0x116),'jtklL':'normal','DSqyw':_0x3fae1e(0x107),'Bmhar':function(_0x44da54,_0x1ff457){return _0x44da54+_0x1ff457;},'UQXHb':function(_0x3fdb6b,_0x131985){return _0x3fdb6b+_0x131985;},'ZgWhF':function(_0x2a8605,_0x32c8be){return _0x2a8605+_0x32c8be;},'litsI':'p_skey=','Urdrc':_0x3fae1e(0xfd),'lMdCh':_0x3fae1e(0x110),'rzmCz':_0x3fae1e(0x11a),'TErHB':function(_0x386319,_0x381994){return _0x386319(_0x381994);},'iyWrA':_0x3fae1e(0xf9),'BZpll':function(_0x393bfd,_0x19fcd2,_0x4ddb4f){return _0x393bfd(_0x19fcd2,_0x4ddb4f);},'bHUdN':_0x3fae1e(0x119)};let _0x12847a={'app':_0x50f0d8[_0x3fae1e(0xfc)],'bizsrc':'tianxuan.imgJumpArk','view':_0x50f0d8['LyOnu'],'prompt':_0x111979['prompt'],'config':{'type':_0x50f0d8['jtklL'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x111979[_0x3fae1e(0x100)],'preview':_0x111979['preview'][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'jumpUrl':_0x111979[_0x3fae1e(0xfb)][_0x3fae1e(0xfa)](/\\/g,_0x50f0d8[_0x3fae1e(0x10c)]),'tag':_0x111979[_0x3fae1e(0x10f)],'tagIcon':_0x111979[_0x3fae1e(0x114)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107)),'source':_0x111979[_0x3fae1e(0x118)],'sourcelogo':_0x111979[_0x3fae1e(0x102)][_0x3fae1e(0xfa)](/\\/g,_0x3fae1e(0x107))}}};const _0x180f11=await NTQQUserApi[_0x3fae1e(0x125)]();let _0x137813=await NTQQUserApi[_0x3fae1e(0x11e)]();const _0x158fc5=WebApi['genBkn'](_0x137813[_0x3fae1e(0x101)]),_0x3c203b=_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x104)](_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x115)](_0x50f0d8[_0x3fae1e(0x10e)],_0x137813[_0x3fae1e(0x101)])+_0x3fae1e(0x105),_0x137813[_0x3fae1e(0x112)]),_0x50f0d8[_0x3fae1e(0x109)]),selfInfo[_0x3fae1e(0xff)])+_0x50f0d8[_0x3fae1e(0x111)]+selfInfo[_0x3fae1e(0xff)];let _0x304cb8=_0x50f0d8[_0x3fae1e(0x122)](_0x50f0d8[_0x3fae1e(0x124)],_0x158fc5)+_0x3fae1e(0x11d)+_0x50f0d8[_0x3fae1e(0xfe)](encodeURIComponent,JSON[_0x3fae1e(0x121)](_0x12847a)),_0x157879='';try{let _0x4adeca=await RequestUtil['HttpGetJson'](_0x304cb8,_0x50f0d8['iyWrA'],undefined,{'Cookie':_0x3c203b});_0x157879=_0x4adeca[_0x3fae1e(0x11b)][_0x3fae1e(0x113)];}catch(_0x9a2f3e){_0x50f0d8['BZpll'](logDebug,_0x50f0d8[_0x3fae1e(0x123)],_0x9a2f3e);}return _0x157879;}
|
||||
Vendored
+7
@@ -0,0 +1,7 @@
|
||||
export declare class NTQQSystemApi {
|
||||
static hasOtherRunningQQProcess(): Promise<boolean>;
|
||||
static ORCImage(filePath: string): Promise<import("@/core").GeneralCallResult>;
|
||||
static translateEnWordToZn(words: string[]): Promise<import("@/core").GeneralCallResult & {
|
||||
words: string[];
|
||||
}>;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
function _0x475c(){var _0x9ea50e=['hasOtherRunningQQProcess','1222848YuKNDC','6kXqoEg','496343SyUBxf','translateEnWordToZn','2647945pEnvxJ','getRichMediaService','wantWinScreenOCR','4775988VbqpFu','469754xwOsWC','2370488msbkKS','45LbyXnZ','911912qjaneW','getNodeMiscService'];_0x475c=function(){return _0x9ea50e;};return _0x475c();}function _0x5526(_0x1db919,_0x351be8){var _0x475ccd=_0x475c();return _0x5526=function(_0x55261b,_0x61acdf){_0x55261b=_0x55261b-0x11a;var _0x3f5f47=_0x475ccd[_0x55261b];return _0x3f5f47;},_0x5526(_0x1db919,_0x351be8);}var _0x513e71=_0x5526;(function(_0x351568,_0x1e87d1){var _0x2726c4=_0x5526,_0x19ca8d=_0x351568();while(!![]){try{var _0x2f6fcb=parseInt(_0x2726c4(0x127))/0x1+-parseInt(_0x2726c4(0x11f))/0x2+-parseInt(_0x2726c4(0x125))/0x3+parseInt(_0x2726c4(0x122))/0x4+-parseInt(_0x2726c4(0x11b))/0x5*(parseInt(_0x2726c4(0x126))/0x6)+-parseInt(_0x2726c4(0x11e))/0x7+parseInt(_0x2726c4(0x120))/0x8*(parseInt(_0x2726c4(0x121))/0x9);if(_0x2f6fcb===_0x1e87d1)break;else _0x19ca8d['push'](_0x19ca8d['shift']());}catch(_0x1042bf){_0x19ca8d['push'](_0x19ca8d['shift']());}}}(_0x475c,0x55d16));import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){var _0x494623=_0x5526;return napCatCore['util'][_0x494623(0x124)]();}static async['ORCImage'](_0x1af039){var _0x1dfa5b=_0x5526;return napCatCore['session'][_0x1dfa5b(0x123)]()[_0x1dfa5b(0x11d)](_0x1af039);}static async[_0x513e71(0x11a)](_0x3db422){var _0x217f95=_0x513e71;return napCatCore['session'][_0x217f95(0x11c)]()[_0x217f95(0x11a)](_0x3db422);}}
|
||||
Vendored
+6
-1
@@ -14,7 +14,12 @@ export declare class NTQQUserApi {
|
||||
static getSelfInfo(): Promise<void>;
|
||||
static getUserInfo(uid: string): Promise<void>;
|
||||
static getUserDetailInfo(uid: string): Promise<User>;
|
||||
static getPSkey(domainList: string[], cached?: boolean): Promise<any>;
|
||||
static getPSkey(domainList: string[], cached?: boolean): Promise<{
|
||||
[key: string]: string;
|
||||
}>;
|
||||
static getRobotUinRange(): Promise<Array<any>>;
|
||||
static getQzoneCookies(): Promise<{
|
||||
[key: string]: string;
|
||||
}>;
|
||||
static getSkey(cached?: boolean): Promise<string | undefined>;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
const _0x575f53=_0x6e09;(function(_0x553b7c,_0xe7eeb4){const _0xf28eda=_0x6e09,_0x43b833=_0x553b7c();while(!![]){try{const _0x5d393b=-parseInt(_0xf28eda(0x181))/0x1*(parseInt(_0xf28eda(0x155))/0x2)+parseInt(_0xf28eda(0x162))/0x3*(-parseInt(_0xf28eda(0x17f))/0x4)+-parseInt(_0xf28eda(0x13e))/0x5+-parseInt(_0xf28eda(0x142))/0x6+-parseInt(_0xf28eda(0x146))/0x7*(parseInt(_0xf28eda(0x168))/0x8)+parseInt(_0xf28eda(0x178))/0x9*(-parseInt(_0xf28eda(0x16f))/0xa)+-parseInt(_0xf28eda(0x149))/0xb*(-parseInt(_0xf28eda(0x14c))/0xc);if(_0x5d393b===_0xe7eeb4)break;else _0x43b833['push'](_0x43b833['shift']());}catch(_0x1f417e){_0x43b833['push'](_0x43b833['shift']());}}}(_0x2746,0x6126a));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';function _0x6e09(_0xe28330,_0x1e04fe){const _0x274613=_0x2746();return _0x6e09=function(_0x6e09d8,_0xdf501){_0x6e09d8=_0x6e09d8-0x13d;let _0x3f5cab=_0x274613[_0x6e09d8];return _0x3f5cab;},_0x6e09(_0xe28330,_0x1e04fe);}import{HttpGetCookies}from'../../../common/utils/request';import{logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x575f53(0x157)]=_0x49a7ae=>{const _0xd1cf76=_0x575f53;userInfoCache[_0x49a7ae[_0xd1cf76(0x17e)]]=_0x49a7ae,userDetailHandlers[_0xd1cf76(0x17b)](_0x2a0cbd=>_0x2a0cbd(_0x49a7ae));},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{napCatCore['addListener'](profileListener);});},0x64);function _0x2746(){const _0x4f8e71=['assign','vWYWT','forEach','uin','getRobotUinRange','uid','104qQpNXk','tEwBj','25579jlzEGu','skey','entries','setQQAvatar','getUserInfo','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','getProfileLikeService','Gaabq','clientKey','1097740TPRExS','GOPFh','ZLGtY','setHeader','1563780EbDMxv','XNkOB','vZbAl','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','98vWUyYJ','getPskey','yupMj','19629247Cjvnnb','PskeyTime','getUserDetailInfoWithBizInfo','12gEhXYg','length','setBuddyProfileLike','FyOSY','push','getTicketService','setStatus','OTtpU','&clientkey=','2ixtSXL','robotUinRanges','onProfileDetailInfoChanged','result','domainPskeyMap','EXtsi','delete','now','bxiNq','JpwmR','getProfileService','PskeyData','then','6030fTtgzY','getRobotService','获取Pskey失败','like','zaEPV','set','411512ElqsdW','errMsg','getTipOffService','keyIndex','Skey','get','setSelfOnlineStatus','40nkJnIv','SovZy','session','forceFetchClientKey','getSelfInfo','getMsgService','getUserDetailInfo\x20timeout','UUVKz','FYZjJ','243864gQllgg'];_0x2746=function(){return _0x4f8e71;};return _0x2746();}export class NTQQUserApi{static async[_0x575f53(0x16e)](_0x2e0183,_0x217a13,_0x502267){const _0x1a92e5=_0x575f53;return napCatCore[_0x1a92e5(0x171)][_0x1a92e5(0x174)]()[_0x1a92e5(0x152)]({'status':_0x2e0183,'extStatus':_0x217a13,'batteryStatus':_0x502267});}static async[_0x575f53(0x165)](_0x2fe3d9,_0x2d8ede=0x1){const _0x3cdf62=_0x575f53;return napCatCore['session'][_0x3cdf62(0x187)]()[_0x3cdf62(0x14e)]({'friendUid':_0x2fe3d9,'sourceId':0x47,'doLikeCount':_0x2d8ede,'doLikeTollCount':0x0});}static async[_0x575f53(0x184)](_0x22e13c){const _0x3dbfac=_0x575f53,_0x1a3df1=napCatCore[_0x3dbfac(0x171)]['getProfileService']()[_0x3dbfac(0x141)](_0x22e13c);return{'result':_0x1a3df1?.[_0x3dbfac(0x158)],'errMsg':_0x1a3df1?.[_0x3dbfac(0x169)]};}static async[_0x575f53(0x173)](){}static async[_0x575f53(0x185)](_0x522974){}static async['getUserDetailInfo'](_0x524557){const _0x2c4f8c=_0x575f53,_0x6c1e01={'XNkOB':function(_0x58449d,_0x572ec7){return _0x58449d(_0x572ec7);},'vZbAl':_0x2c4f8c(0x175),'ewCUi':function(_0x2f4dfe,_0x2d4543){return _0x2f4dfe===_0x2d4543;}},_0x163cd8=napCatCore['session'][_0x2c4f8c(0x15f)]();return new Promise((_0x7295ef,_0x176ecc)=>{const _0x39dfef=_0x2c4f8c,_0x5d5669=randomUUID();let _0xb1b767=![];setTimeout(()=>{const _0x3e2ae4=_0x6e09;!_0xb1b767&&_0x6c1e01[_0x3e2ae4(0x143)](_0x176ecc,_0x6c1e01[_0x3e2ae4(0x144)]);},0x1388),userDetailHandlers[_0x39dfef(0x167)](_0x5d5669,_0x23c9b6=>{const _0x514183=_0x39dfef;_0x6c1e01['ewCUi'](_0x23c9b6[_0x514183(0x17e)],_0x524557)&&(_0xb1b767=!![],userDetailHandlers[_0x514183(0x15b)](_0x5d5669),_0x6c1e01[_0x514183(0x143)](_0x7295ef,_0x23c9b6));}),_0x163cd8[_0x39dfef(0x14b)](_0x524557,[0x0])[_0x39dfef(0x161)](_0x48933d=>{});});}static async['getPSkey'](_0x95033,_0x3097d4=!![]){const _0x4df70d=_0x575f53,_0x361eda={'UUVKz':function(_0x211521,_0x565c48){return _0x211521||_0x565c48;},'zaEPV':function(_0x3c54ac,_0x2b0359){return _0x3c54ac-_0x2b0359;},'yupMj':function(_0x45650a,_0x14a7f2){return _0x45650a*_0x14a7f2;},'GOPFh':function(_0x55cc56,_0x39fe29){return _0x55cc56>_0x39fe29;},'vSUJm':function(_0xdfe700,_0x453c10,_0x1eaefa){return _0xdfe700(_0x453c10,_0x1eaefa);},'JpwmR':_0x4df70d(0x164)};let _0x2255b0=[],_0x1cfad2={};for(let _0x1d2d79 in _0x95033){let _0x12a9e1=Credentials['PskeyData'Line truncated
|
||||
const _0x3d52d6=_0x1b50;(function(_0x1e5830,_0x3ed884){const _0x51bd86=_0x1b50,_0x53f897=_0x1e5830();while(!![]){try{const _0x246212=parseInt(_0x51bd86(0x129))/0x1*(-parseInt(_0x51bd86(0x138))/0x2)+parseInt(_0x51bd86(0xfd))/0x3+parseInt(_0x51bd86(0x143))/0x4+parseInt(_0x51bd86(0x102))/0x5*(parseInt(_0x51bd86(0x103))/0x6)+parseInt(_0x51bd86(0x12d))/0x7*(parseInt(_0x51bd86(0x137))/0x8)+parseInt(_0x51bd86(0x145))/0x9*(-parseInt(_0x51bd86(0x135))/0xa)+-parseInt(_0x51bd86(0x10a))/0xb*(-parseInt(_0x51bd86(0x11c))/0xc);if(_0x246212===_0x3ed884)break;else _0x53f897['push'](_0x53f897['shift']());}catch(_0x3b007b){_0x53f897['push'](_0x53f897['shift']());}}}(_0x55d4,0xca027));import{Credentials,selfInfo,uid2UinMap}from'@/core/data';function _0x55d4(){const _0x145b92=['PskeyTime','getPSkey','robotUinRanges','getMsgService','getPskey','uid','FTkbG','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','&clientkey=','BLhBx','push','setBuddyProfileLike','then','12120dLiIzW','forceFetchClientKey','result','getSelfInfo','FNhhx','ZSFXN','verLr','YzcYL','onLoginSuccess','HttpsGetCookies','like','SCDWT','assign','492617gEpApj','xoewm','set','getUserDetailInfoWithBizInfo','387674WyoChn','fromEntries','IKzhS','EKJaU','getUserInfo','%2Finfocenter&keyindex=19%27','length','skey','14427580RHohvs','CFgPh','80pqdxHU','6HBhBJd','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','hqmVO','Skey','domainPskeyMap','pMQvV','setQQAvatar','delete','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','knXNr','setSelfOnlineStatus','5465380eEIaOS','CsifL','9dFtcgt','now','hfNCY','uin','IiYuJ','get','EABpH','entries','PskeyData','CreatTime','getTipOffService','3896244zIHWuw','response','获取Pskey失败','KeyIndex','SpkNf','17045VWNfRD','318AUjVPh','clientKey','ClientKey','getRobotUinRange','getProfileService','session','keyIndex','3795ITdVap','errMsg','EeTZe','kFAfp','UwIVi'];_0x55d4=function(){return _0x145b92;};return _0x55d4();}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x1b50(_0x14ba7c,_0x3ea0b6){const _0x55d4ea=_0x55d4();return _0x1b50=function(_0x1b506f,_0x5199ba){_0x1b506f=_0x1b506f-0xf6;let _0xd3caa7=_0x55d4ea[_0x1b506f];return _0xd3caa7;},_0x1b50(_0x14ba7c,_0x3ea0b6);}profileListener['onProfileDetailInfoChanged']=_0xe4ff9a=>{const _0x49b23e=_0x1b50;userInfoCache[_0xe4ff9a[_0x49b23e(0x114)]]=_0xe4ff9a,userDetailHandlers['forEach'](_0x4482d4=>_0x4482d4(_0xe4ff9a));},setTimeout(()=>{const _0x144791=_0x1b50;napCatCore[_0x144791(0x124)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x3d52d6(0x142)](_0x40ca2a,_0x1f0146,_0x1dc3f2){const _0x1f2b54=_0x3d52d6;return napCatCore[_0x1f2b54(0x108)][_0x1f2b54(0x112)]()['setStatus']({'status':_0x40ca2a,'extStatus':_0x1f0146,'batteryStatus':_0x1dc3f2});}static async[_0x3d52d6(0x126)](_0x5b8fe4,_0x4e0f91=0x1){const _0x47bb48=_0x3d52d6;return napCatCore[_0x47bb48(0x108)]['getProfileLikeService']()[_0x47bb48(0x11a)]({'friendUid':_0x5b8fe4,'sourceId':0x47,'doLikeCount':_0x4e0f91,'doLikeTollCount':0x0});}static async[_0x3d52d6(0x13e)](_0xdec8c4){const _0x279ad9=_0x3d52d6,_0x27ad8c=napCatCore[_0x279ad9(0x108)][_0x279ad9(0x107)]()['setHeader'](_0xdec8c4);return{'result':_0x27ad8c?.[_0x279ad9(0x11e)],'errMsg':_0x27ad8c?.[_0x279ad9(0x10b)]};}static async[_0x3d52d6(0x11f)](){}static async[_0x3d52d6(0x131)](_0x3875bf){}static async['getUserDetailInfo'](_0x394360){const _0x34b683={'CsifL':function(_0xe28acf,_0x455c96){return _0xe28acf(_0x455c96);},'zjpeC':function(_0x1e63e3){return _0x1e63e3();},'yQPPb':function(_0x4b14d0,_0x39e573,_0x44dc1e){return _0x4b14d0(_0x39e573,_0x44dc1e);}},_0x3e0fe1=napCatCore['session']['getProfileService']();return new Promise((_0x166137,_0x2f4018)=>{const _0x22012d=_0x1b50,_0x517283={'EeTZe':function(_0x58b08b,_0x2e2b0e){const _0x3077cc=_0x1b50;return _0x34b683[_0x3077cc(0x144)](_0x58b08b,_0x2e2b0e);}},_0x47be5d=_0x34b683['zjpeC'](randomUUID);let _0x181154=![],_0x3a293e=undefined,_0xefc1e5=!![];_0x34b683['yQPPb'](setTimeout,()=>{const _0x4ae69b=_0x1b50;!_0x181154&&(_0x3a293e?_0x517283[_0x4ae69b(0x10c)](_0x166137,_0x3a293e):_0x517283[_0x4ae69b(0x10c)](_0x2f4018,'getUserDetailInfo\x20timeout')),userDetailHandlers[_0x4ae69b(0x13f)](_0x47be5d);},0x1388),userDetailHandlers['set'](_0x47be5d,_0x127602=>{const _0x3eb48d=_0x1b50;_0x127602['uid']===_0x394360&&(uid2UinMap[_0x394360]=_0x127602[_0x3eb48d(0x148)],_0xefc1e5?(_0x3a293e=_0x127602,_0xefc1e5=![]):(_0x181154=!![],_0x517283['EeTZe'](_0x166137,_0x127602)));}),_0x3e0fe1[_0x22012d(0x12c)](_0x394360,[0x0])[_0x22012d(0x11b)](_0x4d3a5d=>{});});}static async[_0x3d52d6(0x110)](_0x5b56f4,_0x341c6d=!![]){const _0x37f85b=_0x3d52d6,_0x2ec163={'hfNCY':function(_0x2fbc69,_0x26b908)Line truncated
|
||||
Vendored
+9
-2
@@ -1,3 +1,11 @@
|
||||
export declare enum WebHonorType {
|
||||
ALL = "all",
|
||||
TALKACTIVE = "talkative",
|
||||
PERFROMER = "performer",
|
||||
LEGEND = "legend",
|
||||
STORONGE_NEWBI = "strong_newbie",
|
||||
EMOTION = "emotion"
|
||||
}
|
||||
export interface WebApiGroupMember {
|
||||
uin: number;
|
||||
role: number;
|
||||
@@ -91,8 +99,7 @@ export declare class WebApi {
|
||||
static getGroupMembers(GroupCode: string, cached?: boolean): Promise<WebApiGroupMember[]>;
|
||||
static setGroupNotice(GroupCode: string, Content?: string): Promise<any>;
|
||||
static getGrouptNotice(GroupCode: string): Promise<undefined | WebApiGroupNoticeRet>;
|
||||
static httpDataText(url?: string, method?: string, data?: string, CookiesValue?: string): Promise<string>;
|
||||
static httpDataJson<T>(url?: string, method?: string, data?: string, CookiesValue?: string): Promise<T>;
|
||||
static genBkn(sKey: string): string;
|
||||
static getGroupHonorInfo(groupCode: string, getType: WebHonorType): Promise<any>;
|
||||
}
|
||||
export {};
|
||||
@@ -1 +1 @@
|
||||
const _0x216274=_0x33b9;function _0x396d(){const _0x46477d=['2158088eZEpSc','text','GroupData','GroupTime','116Ipvyfe','YMBfr','qid=','VQFJp','IkliY','qun.qq.com','httpDataText','yqdYK','application/x-www-form-urlencoded','mems','zeMiD','&end=','toString','wQBBR','POST','&qid=','23175palzWU','getGroupEssenceMsg','&text=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','HEAD','TtBaZ','xAFkB','lePPy','owiji','tNSSx','amVMz','zDGTg','VWJCO','set',';\x20p_uin=o','rQXff','aPyvz','trepW','count','Wwvbb','tnYuv','ZGKqU','getGrouptNotice','&group_code=','UszWS','kDWWg','&sort=1&gc=','znGFH','length','NPyLn',';\x20uin=o','LxMYq','PfxND','p_skey=','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','GtPRp','DCfvi','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','1804668AhceWc','2PXjzFW','ixAdW','nXsyz','getPSkey','wcEHI','YmSwC','VbMyB','913LVxTHM','HMDSZ','iAlaq','GelRs','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','1099116HolhVz','genBkn','&page_limit=20','kXXhi','sFNYO','retcode','RjdrH','CPlnC','BaEyp','esNAM','getSkey','oVFuK','JDZQV','WkDax','errcode','uin','VuUEA','json','StDzy','10239021WjzOXO','fzDgz','yGkPu','bPDjj','npUHs',';\x20skey=','get','HWyvJ','BzKic','bPOzR','kuzAi','ZOlnd','XsTzz','UVQER','gISzg','7QSpRWh','1936344TNlGOG','charCodeAt','ygkmZ','&bkn=','JOUJT','now','uSSFU','push','CjClA','FltJg','64510szNSVf','ogcCC','httpDataJson','SmeFx','dHgcI','GET','diffH'];_0x396d=function(){return _0x46477d;};return _0x396d();}(function(_0x48a89d,_0x1193e7){const _0x12fcf7=_0x33b9,_0x32df14=_0x48a89d();while(!![]){try{const _0xa9df82=parseInt(_0x12fcf7(0x197))/0x1*(parseInt(_0x12fcf7(0x1a3))/0x2)+parseInt(_0x12fcf7(0x196))/0x3+parseInt(_0x12fcf7(0x1db))/0x4*(parseInt(_0x12fcf7(0x1eb))/0x5)+-parseInt(_0x12fcf7(0x1c6))/0x6+-parseInt(_0x12fcf7(0x1c5))/0x7*(parseInt(_0x12fcf7(0x1d7))/0x8)+-parseInt(_0x12fcf7(0x1b6))/0x9+parseInt(_0x12fcf7(0x1d0))/0xa*(parseInt(_0x12fcf7(0x19e))/0xb);if(_0xa9df82===_0x1193e7)break;else _0x32df14['push'](_0x32df14['shift']());}catch(_0x54d0ed){_0x32df14['push'](_0x32df14['shift']());}}}(_0x396d,0x9c56e));import{WebGroupData,selfInfo}from'@/core/data';function _0x33b9(_0x163085,_0x44295a){const _0x396dc3=_0x396d();return _0x33b9=function(_0x33b9fb,_0x57cd16){_0x33b9fb=_0x33b9fb-0x191;let _0xef7966=_0x396dc3[_0x33b9fb];return _0xef7966;},_0x33b9(_0x163085,_0x44295a);}import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';export class WebApi{static async[_0x216274(0x1ec)](_0x5d3f14,_0x247f6f){const _0xdaa962=_0x216274,_0x484223={'bPOzR':_0xdaa962(0x1e0),'npUHs':function(_0x4c1ecb,_0x1b1d21){return _0x4c1ecb+_0x1b1d21;},'CjClA':function(_0x5b30ea,_0x381608){return _0x5b30ea+_0x381608;},'FltJg':function(_0xa45e19,_0x3334d5){return _0xa45e19+_0x3334d5;},'lfTeB':function(_0x46b7a0,_0x3aa29e){return _0x46b7a0+_0x3aa29e;},'znGFH':function(_0x1a31c8,_0x5bac90){return _0x1a31c8+_0x5bac90;},'ygkmZ':'p_skey=','JDZQV':_0xdaa962(0x1f9),'wQBBR':_0xdaa962(0x209),'XsTzz':function(_0x589419,_0x453bb6){return _0x589419||_0x453bb6;},'fMTVS':function(_0x1561f2,_0x138090){return _0x1561f2+_0x138090;},'xAFkB':function(_0x255235,_0x24d0b0){return _0x255235+_0x24d0b0;},'tnYuv':function(_0x4e73a4,_0x72dd5c){return _0x4e73a4+_0x72dd5c;},'WkDax':function(_0x4e2e0a,_0x4e3799){return _0x4e2e0a+_0x4e3799;},'wXyDM':function(_0x455a34,_0x4b25d8){return _0x455a34+_0x4b25d8;},'wTjKj':_0xdaa962(0x1ee),'lKhHe':_0xdaa962(0x202),'HMDSZ':'&page_start=','SPvHX':_0xdaa962(0x1a5),'kuzAi':_0xdaa962(0x1d5),'RjdrH':function(_0x424d5a,_0x1e1e64){return _0x424d5a!==_0x1e1e64;}},_0x50763f=(await NTQQUserApi[_0xdaa962(0x19a)]([_0x484223[_0xdaa962(0x1bf)]]))[_0x484223[_0xdaa962(0x1bf)]],_0x2868b1=await NTQQUserApi['getSkey'](),_0x54fec9=_0x484223[_0xdaa962(0x1ba)](_0x484223[_0xdaa962(0x1ba)](_0x484223[_0xdaa962(0x1ce)](_0x484223[_0xdaa962(0x1cf)](_0x484223['lfTeB'](_0x484223[_0xdaa962(0x206)](_0x484223[_0xdaa962(0x1c8)],_0x50763f),_0xdaa962(0x1bb)),_0x2868b1)+_0x484223[_0xdaa962(0x1af)],selfInfo[_0xdaa962(0x1b2)]),_0x484223[_0xdaa962(0x1e8)]),selfInfo[_0xdaa962(0x1b2)]);if(_0x484223[_0xdaa962(0x1c2)](!_0x2868b1,!_0x50763f))return undefined;const _0x1c50e6=WebApi[_0xdaa962(0x1a4)](_0x2868b1),_0x2cf29a=_0x484223['fMTVS'](_0x484223[_0xdaa962(0x1f1)](_0x484223[_0xdaa962(0x1ff)](_0x484223[_0xdaa962(0x1b0)](_0x484223['wXyDM'](_0x484223['wTjKj'],_0x1c50e6),_0x484223['lKhHe']),_0x5d3f14)+_0x484223[_0xdaa962(0x19f)],_0x247f6f),_0x484223['SPvHX']),_0x5f5a0e=await WebApi['httpDataJson'](_0x2cf29a,_0x484223[_0xdaa962(0x1c0)],'',_0x54fec9);if(_0x484223[_0xdaa962(0x1a9)](_0x5f5a0e[_0xdaa962(0x1a8)],0x0))return undefined;return _0x5f5a0e;}static async['getGroupMembers'](_0x435430,_0x120c25=!![]){const _0x2beef0=_0x216274,_0x449aed={'hTMLC':function(_0x152d3d,_0x4e5248,_0x41c5fc){return _0x152d3d(_0x4e5248,_0x41c5fc);},'dDVsP':'webapi\x20获取群成员','bPDjj':function(_0x1d5f2a,_0x2e9fcb){return _0x1d5f2a-_0x2e9fcb;},'sFNYO':function(_0x26b281,_0x17494d){return _0x26b281*_0x17494Line truncated
|
||||
const _0x2484db=_0x21a5;(function(_0x36a334,_0x194a4e){const _0x15e4d7=_0x21a5,_0x11d847=_0x36a334();while(!![]){try{const _0x6d43c5=parseInt(_0x15e4d7(0x1e2))/0x1*(parseInt(_0x15e4d7(0x1ed))/0x2)+parseInt(_0x15e4d7(0x1c9))/0x3*(-parseInt(_0x15e4d7(0x232))/0x4)+parseInt(_0x15e4d7(0x24e))/0x5*(-parseInt(_0x15e4d7(0x23a))/0x6)+parseInt(_0x15e4d7(0x1e8))/0x7*(-parseInt(_0x15e4d7(0x212))/0x8)+-parseInt(_0x15e4d7(0x21e))/0x9+parseInt(_0x15e4d7(0x223))/0xa+-parseInt(_0x15e4d7(0x226))/0xb*(parseInt(_0x15e4d7(0x203))/0xc);if(_0x6d43c5===_0x194a4e)break;else _0x11d847['push'](_0x11d847['shift']());}catch(_0x36acea){_0x11d847['push'](_0x11d847['shift']());}}}(_0x3fa6,0x88ada));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x57ac00){const _0x3964a9=_0x21a5,_0x2b2470={'tjkcm':_0x3964a9(0x1ce),'MPpRH':_0x3964a9(0x22f),'FWHbR':_0x3964a9(0x239),'pZAsT':_0x3964a9(0x202),'DlQbK':_0x3964a9(0x207),'VDFNF':_0x3964a9(0x1de),'ZHskB':_0x3964a9(0x24a),'RNymX':_0x3964a9(0x241),'ahWRQ':_0x3964a9(0x1ec),'TzMBq':'EMOTION'},_0x5ad34f=_0x2b2470['tjkcm'][_0x3964a9(0x1cc)]('|');let _0x28ef80=0x0;while(!![]){switch(_0x5ad34f[_0x28ef80++]){case'0':_0x57ac00[_0x2b2470[_0x3964a9(0x1dc)]]=_0x2b2470[_0x3964a9(0x240)];continue;case'1':_0x57ac00[_0x2b2470[_0x3964a9(0x243)]]=_0x2b2470[_0x3964a9(0x252)];continue;case'2':_0x57ac00[_0x3964a9(0x217)]=_0x2b2470['VDFNF'];continue;case'3':_0x57ac00[_0x2b2470[_0x3964a9(0x22a)]]=_0x2b2470[_0x3964a9(0x222)];continue;case'4':_0x57ac00[_0x2b2470[_0x3964a9(0x224)]]=_0x3964a9(0x259);continue;case'5':_0x57ac00[_0x2b2470[_0x3964a9(0x1ca)]]=_0x3964a9(0x211);continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x21a5(_0x48231e,_0x5d10f7){const _0x3fa605=_0x3fa6();return _0x21a5=function(_0x21a53d,_0x288c22){_0x21a53d=_0x21a53d-0x1c2;let _0xce74e4=_0x3fa605[_0x21a53d];return _0xce74e4;},_0x21a5(_0x48231e,_0x5d10f7);}function _0x3fa6(){const _0x4f82e2=['https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','aOPdO','push','2003193LkUoWi','GET','KzgSb','https://qun.qq.com/interactive/honorlist?gc=','RNymX','9166500FpJbQX','ahWRQ','zGnhH','62249MOsvib','Qqzfq','WIokH','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ZHskB','vDnVe','RJDCt','获取群聊之火失败','legend_list','STORONGE_NEWBI','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','TFKvC','417212AElwgj','dQnVm','performer_list','arukL','&group_code=','getGroupMembers','qid=','strong_newbie','778098SqSTJt','IOtKw','lxhfh','zvoMT','zwXbC','KobDk','FWHbR','performer','getSkey','pZAsT','uDRfI','UHIGB','length','kSjgn','getPSkey','avatar','PERFROMER','parse','retcode','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','10PvuVHi','&end=','&bkn=','qun.qq.com','DlQbK','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','KrHeQ','NoPGp','uin','ivjAO','noDoc','legend','ysElp','Pyjkf','ExWEE','charCodeAt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','BEVCM','bpHfK','uXUIN','ceil',';\x20p_uin=o','RiJUK','errcode','getGroupEssenceMsg','GroupData','dMqyB','OrhiI','p_skey=','MDgCp','tjJNt','VVHCj','HwCDe','12geQqIn','TzMBq','获取快乐源泉失败','split','SSmPd','1|2|3|4|0|5','MTiau','MnTbj','pNmHe','yFfNz','qgrZM','JLTDW',';\x20skey=','match','获取当前群荣耀失败','mems','get','CMnug','talkativeList','MPpRH','talkative_list','talkative','YxghZ','HBQEj','MTyTX','927413DyPHIi','HttpGetJson','Evbpu','description','fcUKU','emotion_list','1309063SremUA','QrBvK','PSAOy','count','LEGEND','2yOJZEs','mSFme','&type=','set','osvme','trim','获取群聊炽焰失败','now','QbGuk','iLFyk','strong_newbie_list','dufAH','utcCt','toString','yxAXB','Txhke','desc','kebAO','EMOTION','CWUEg','sHNiS','ALL','420LJqHCI','RafKu','GroupTime','qMDKw','all','name','KSoMp','POST','ikSLs','pgoTj','genBkn','获取龙王信息失败','JvJJg','nGuoi','emotion','8KYdBnF','actorList','FXWIG','RvgAY',';\x20uin=o','TALKACTIVE','&sort=1&gc=','&qid=','SHOCU'];_0x3fa6=function(){return _0x4f82e2;};return _0x3fa6();}export class WebApi{static async[_0x2484db(0x266)](_0x24e876,_0x5d46b0){const _0x2a4588=_0x2484db,_0xf8cbab={'ExWEE':_0x2a4588(0x251),'NoPGp':function(_0x340c1f,_0x1212b2){return _0x340c1f+_0x1212b2;},'sHNiS':function(_0x5a916f,_0xd3dfab){return _0x5a916f+_0xd3dfab;},'arukL':function(_0x142f04,_0x24ef83){return _0x142f04+_0x24ef83;},'tjJNt':_0x2a4588(0x1c4),'SSmPd':_0x2a4588(0x1d5),'qMDKw':_0x2a4588(0x263),'osvme':_0x2a4588(0x216),'pgoTj':function(_0x2acdeb,_0xf85699){return _0x2acdeb||_0xf85699;},'zMXcs':function(_0x14494c,_0x4029fb){return _0x14494c+_0x4029fb;},'RafKu':function(_0x4b9d11,_0x57fe2a){return _0x4b9d11+_0x57fe2a;},'Pyjkf':'&page_start=','fcUKU':'&page_limit=20','WIokH':_0x2a4588(0x21f),'zGnhH':function(_0x5f59ba,_0x5942d5){return _0x5f59ba!==_0x5942d5;}},_0x502b54=(await NTQQUserApi[Line truncated
|
||||
@@ -1 +1 @@
|
||||
(function(_0x450e94,_0x288c6a){var _0x273b9e=_0x2f46,_0x216475=_0x450e94();while(!![]){try{var _0x53a775=-parseInt(_0x273b9e(0xf2f))/0x1+-parseInt(_0x273b9e(0xb8a))/0x2*(parseInt(_0x273b9e(0x1b8))/0x3)+parseInt(_0x273b9e(0x5f4))/0x4+-parseInt(_0x273b9e(0x252))/0x5+-parseInt(_0x273b9e(0xef0))/0x6*(parseInt(_0x273b9e(0x6c2))/0x7)+parseInt(_0x273b9e(0x1348))/0x8*(parseInt(_0x273b9e(0x168))/0x9)+parseInt(_0x273b9e(0xf9d))/0xa;if(_0x53a775===_0x288c6a)break;else _0x216475['push'](_0x216475['shift']());}catch(_0x116012){_0x216475['push'](_0x216475['shift']());}}}(_0x343a,0x2bd21),(function(_0x16057b,_0xc7ea46){var _0x22296e=_0x2f46,_0x3825d2={'llHgN':function(_0x1fd67a,_0x5ce2c3){return _0x1fd67a+_0x5ce2c3;},'Qcarx':function(_0x44df39,_0x5808f6){return _0x44df39+_0x5808f6;},'mWGvo':function(_0x1924fb,_0x2bfa2e){return _0x1924fb/_0x2bfa2e;},'Sikrj':function(_0x1ca1f6,_0x46a76c){return _0x1ca1f6(_0x46a76c);},'gCxKk':function(_0x2d0b5b,_0x189607){return _0x2d0b5b(_0x189607);},'bVUHe':function(_0x55e171,_0x48977a){return _0x55e171(_0x48977a);},'xhtKp':function(_0x1a8eb5,_0x573116){return _0x1a8eb5(_0x573116);},'vdQhl':function(_0x59ff48,_0x31498a){return _0x59ff48(_0x31498a);},'FmVnK':function(_0x42ce92,_0x3d6902){return _0x42ce92(_0x3d6902);},'GTGDh':function(_0x5c8335,_0x1e2831){return _0x5c8335*_0x1e2831;},'DCceA':function(_0x567df7,_0x31d664){return _0x567df7/_0x31d664;},'BoqRn':function(_0xe22abd,_0x4fa81f){return _0xe22abd(_0x4fa81f);},'ahWEm':function(_0x519d7e,_0x3270f9){return _0x519d7e/_0x3270f9;},'jFKEp':function(_0x3e1446,_0x4ff2d9){return _0x3e1446/_0x4ff2d9;},'hMJQG':function(_0x38c159,_0x1f1f19){return _0x38c159(_0x1f1f19);},'ATZZM':function(_0xf2c673,_0x393935){return _0xf2c673===_0x393935;},'AELMo':_0x22296e(0xf83),'Fvtby':_0x22296e(0x886)},_0x34919e=_0x3a61,_0x3c85f1=_0x16057b();while(!![]){try{var _0xea9dae=_0x3825d2['llHgN'](_0x3825d2['llHgN'](_0x3825d2[_0x22296e(0x1fa)](_0x3825d2[_0x22296e(0x2d9)](_0x3825d2[_0x22296e(0x5ee)](-_0x3825d2['Sikrj'](parseInt,_0x34919e(0x34f)),0x1),_0x3825d2['Sikrj'](parseInt,_0x3825d2['gCxKk'](_0x34919e,0x7d3))/0x2*_0x3825d2[_0x22296e(0x5ee)](_0x3825d2[_0x22296e(0x10d6)](parseInt,_0x3825d2[_0x22296e(0x862)](_0x34919e,0x2ba)),0x3))+-_0x3825d2['xhtKp'](parseInt,_0x3825d2[_0x22296e(0x12cd)](_0x34919e,0x33e))/0x4,_0x3825d2['gCxKk'](parseInt,_0x3825d2[_0x22296e(0x11d2)](_0x34919e,0x835))/0x5),_0x3825d2[_0x22296e(0x5ee)](-parseInt(_0x3825d2[_0x22296e(0xbfe)](_0x34919e,0x3e8)),0x6)),_0x3825d2[_0x22296e(0x10d4)](_0x3825d2[_0x22296e(0x292)](-parseInt(_0x3825d2[_0x22296e(0x358)](_0x34919e,0x800)),0x7),_0x3825d2[_0x22296e(0xf66)](_0x3825d2[_0x22296e(0x11d2)](parseInt,_0x34919e(0x4ff)),0x8)))+_0x3825d2[_0x22296e(0xaf8)](_0x3825d2[_0x22296e(0x1139)](parseInt,_0x3825d2[_0x22296e(0x862)](_0x34919e,0x56b)),0x9);if(_0x3825d2['ATZZM'](_0xea9dae,_0xc7ea46))break;else _0x3c85f1[_0x3825d2['AELMo']](_0x3c85f1[_0x3825d2['Fvtby']]());}catch(_0x269dc3){_0x3c85f1[_0x3825d2[_0x22296e(0xb63)]](_0x3c85f1[_0x3825d2[_0x22296e(0x645)]]());}}}(_0x1caa,0x18d31),(function(_0x48daa6,_0x34da33){var _0xc9dc02=_0x2f46,_0x2332a4={'WFNSC':function(_0x598709){return _0x598709();},'WKSBp':function(_0x14aac9,_0x2285e9){return _0x14aac9+_0x2285e9;},'Etnpa':function(_0x2658d8,_0x2aae11){return _0x2658d8+_0x2aae11;},'hISfE':function(_0x14829a,_0x52025d){return _0x14829a*_0x52025d;},'eAYql':function(_0x5ccbc0,_0x2f9910){return _0x5ccbc0/_0x2f9910;},'eKCzV':function(_0xf933fe,_0x3534c2){return _0xf933fe/_0x3534c2;},'xWRtt':function(_0x4f106c,_0xeb7193){return _0x4f106c(_0xeb7193);},'LFvjY':function(_0x5d6069,_0x5a5a3f){return _0x5d6069*_0x5a5a3f;},'ArOcS':function(_0x4d749b,_0x507133){return _0x4d749b(_0x507133);},'hoWsL':function(_0x51ef9a,_0x3d7dcb){return _0x51ef9a/_0x3d7dcb;},'zCYIZ':function(_0x1f18fc,_0x26d74a){return _0x1f18fc(_0x26d74a);},'JJrec':function(_0x301854,_0x3b8711){return _0x301854(_0x3b8711);},'dzqMh':function(_0x47f44b,_0x274a78){return _0x47f44b(_0x274a78);},'EZZdr':function(_0x38f5aa,_0x459fdf){return _0x38f5aa/_0x459fdf;},'IAajd':function(_0x59726c,_0x3d7566){return _0x59726c/_0x3d7566;},'GnPOR':function(_0x128f50,_0x1a551e){return _0x128f50===_0x1a551e;},'bWKCb':_0xc9dc02(0x886),'dQTWd':'Kamsv','sOtxP':_0xc9dc02(0x7d3),'cLkrv':function(_0x26f7ce,_0x471a20){return _0x26f7ce(_0x471a20);},'UxyVa':function(_0x4c631b,_0x3dcad3){return _0x4c631b(_0x3dcad3);},'Vxicm':function(_0x1c3a1d,_0x3a9d69){return _0x1c3a1d(_0x3a9d69);},'wHITV':function(_0x422df3,_0x43cf54){return _0x422df3(_0x43cf54);},'VllMg':'xMZuX','QmTPR':function(_0x3af1d5,_0x3b8b30){return _0x3af1d5(_0x3b8b30);},'NrUiz':function(_0x2540e8,_0x4f06bc){return _0x2540e8/_0x4f06bc;},'HtNij':function(_0x3e1c5c,_0xe8dc4){return _0x3e1c5c(_0xe8dc4);},'ctbEl':_0xc9dc02(0x133a),'qHMjE':function(_0x5eaf39,_0x53f010){return _0x5eaf39/_0x53f010;},'LQXZV':_0xc9dc02(0x1c9),'GxXmr':function(_0x579156,_0x493f63){return _0x579156(_0x493f63);},'FzUdw':_0xc9dc02(0x1136),'yNjzF':function(_0x3413ae,_0x37a2a1){return _0x3413ae(_0x37a2a1);},'AVrrc':function(Line truncated
|
||||
(function(_0x3f718c,_0x5aba03){var _0x3040fb=_0xc42f,_0x44e7f6=_0x3f718c();while(!![]){try{var _0x500389=parseInt(_0x3040fb(0x278e4))/0x1+-parseInt(_0x3040fb(0xccc1))/0x2+-parseInt(_0x3040fb(0x19687))/0x3*(parseInt(_0x3040fb(0x2f9cd))/0x4)+-parseInt(_0x3040fb(0x3a2d5))/0x5*(-parseInt(_0x3040fb(0x84ac))/0x6)+parseInt(_0x3040fb(0x1e9b6))/0x7*(parseInt(_0x3040fb(0x2b60d))/0x8)+parseInt(_0x3040fb(0x44e18))/0x9*(parseInt(_0x3040fb(0x27988))/0xa)+-parseInt(_0x3040fb(0x5d64))/0xb;if(_0x500389===_0x5aba03)break;else _0x44e7f6['push'](_0x44e7f6['shift']());}catch(_0x4080ca){_0x44e7f6['push'](_0x44e7f6['shift']());}}}(_0x2b99,0x6088c),(function(_0x21ad5d,_0x44d9cf){var _0x920790=_0xc42f,_0x7ae31c={'ekhpx':function(_0x3c6b08){return _0x3c6b08();},'EnxSY':function(_0x12f121,_0x483045){return _0x12f121+_0x483045;},'yQIkv':function(_0x25a210,_0x1f3a4b){return _0x25a210+_0x1f3a4b;},'YSskc':function(_0x308239,_0x387b9b){return _0x308239(_0x387b9b);},'KZVig':function(_0x27464e,_0x4f9cf2){return _0x27464e/_0x4f9cf2;},'myngm':function(_0x161be4,_0x357891){return _0x161be4/_0x357891;},'tFxQE':function(_0x424552,_0x42a17e){return _0x424552(_0x42a17e);},'nitxh':function(_0x5ab957,_0x3bf8f1){return _0x5ab957/_0x3bf8f1;},'rbRfV':function(_0x2e8083,_0x147c23){return _0x2e8083(_0x147c23);},'DvRGy':function(_0x53e6e5,_0x5246a8){return _0x53e6e5(_0x5246a8);},'RPcQU':function(_0x5382ef,_0x38fe57){return _0x5382ef*_0x38fe57;},'DGfxx':function(_0x482c05,_0x49e9db){return _0x482c05(_0x49e9db);},'zEiYL':function(_0x54d284,_0x36979b){return _0x54d284(_0x36979b);},'SWAHb':function(_0x353b7a,_0x4f24e1){return _0x353b7a*_0x4f24e1;},'XClIt':function(_0x40bf74,_0x29769f){return _0x40bf74/_0x29769f;},'Fisfu':function(_0x10e151,_0x115fcb){return _0x10e151(_0x115fcb);},'YSjEo':function(_0x383e0a,_0x46b86c){return _0x383e0a===_0x46b86c;},'ZVkor':'push','Qxzhh':_0x920790(0x4913e)},_0x1dfbfe=_0x467a,_0x2ad3ba=_0x7ae31c[_0x920790(0x81f4)](_0x21ad5d);while(!![]){try{var _0x1a8114=_0x7ae31c[_0x920790(0x12dcc)](_0x7ae31c[_0x920790(0x12dcc)](_0x7ae31c[_0x920790(0x3bc78)](_0x7ae31c[_0x920790(0x12dcc)](_0x7ae31c[_0x920790(0x12dcc)](_0x7ae31c[_0x920790(0x12dcc)](-_0x7ae31c['YSskc'](parseInt,_0x1dfbfe(0xfc02))/0x1,_0x7ae31c[_0x920790(0x1ebd2)](-_0x7ae31c[_0x920790(0x3b48d)](parseInt,_0x1dfbfe(0x18b9b)),0x2)),_0x7ae31c[_0x920790(0x46b3a)](_0x7ae31c[_0x920790(0x31ba6)](parseInt,_0x1dfbfe(0x10f5d)),0x3)*_0x7ae31c['nitxh'](_0x7ae31c[_0x920790(0x2737c)](parseInt,_0x7ae31c[_0x920790(0x2a83e)](_0x1dfbfe,0xec44)),0x4)),_0x7ae31c[_0x920790(0x39cc9)](parseInt(_0x1dfbfe(0x65b5))/0x5,_0x7ae31c[_0x920790(0x1ebd2)](parseInt(_0x1dfbfe(0x1136b)),0x6))),_0x7ae31c[_0x920790(0x12df)](parseInt,_0x7ae31c[_0x920790(0x2bc2f)](_0x1dfbfe,0x1ff35))/0x7),_0x7ae31c[_0x920790(0x1338f)](_0x7ae31c[_0x920790(0x43dd6)](_0x7ae31c[_0x920790(0x3b48d)](parseInt,_0x7ae31c[_0x920790(0x12df)](_0x1dfbfe,0x1a8ee)),0x8),_0x7ae31c[_0x920790(0x2ba78)](parseInt,_0x7ae31c[_0x920790(0x2737c)](_0x1dfbfe,0xe514))/0x9)),_0x7ae31c['KZVig'](-parseInt(_0x1dfbfe(0x1feef)),0xa));if(_0x7ae31c['YSjEo'](_0x1a8114,_0x44d9cf))break;else _0x2ad3ba[_0x7ae31c['ZVkor']](_0x2ad3ba[_0x7ae31c[_0x920790(0x2a1c9)]]());}catch(_0x60f1d0){_0x2ad3ba[_0x7ae31c[_0x920790(0x4dc3f)]](_0x2ad3ba[_0x7ae31c[_0x920790(0x2a1c9)]]());}}}(_0x2002,0xd4f04),(function(_0x2b8152,_0xc13d83){var _0x412b38=_0xc42f,_0x216e2d={'TZRXJ':function(_0x1933d3,_0x15fe75){return _0x1933d3+_0x15fe75;},'xaIEM':function(_0x1c22ee,_0x62c7ee){return _0x1c22ee/_0x62c7ee;},'mvqIP':function(_0x391450,_0x17f707){return _0x391450(_0x17f707);},'ZXPFY':function(_0x135ac9,_0x2cbb3c){return _0x135ac9/_0x2cbb3c;},'kkcFH':function(_0x2802d3,_0x49e4b4){return _0x2802d3*_0x49e4b4;},'sQnrp':function(_0x34b84d,_0xfcc6ce){return _0x34b84d*_0xfcc6ce;},'inuqK':function(_0x7b18ad,_0x4146e6){return _0x7b18ad/_0x4146e6;},'TnHcz':function(_0x7ef2f8,_0x2f1a36){return _0x7ef2f8(_0x2f1a36);},'oVgca':function(_0x4edc40,_0xcd475d){return _0x4edc40===_0xcd475d;},'QYwAe':'shift','NQAwA':function(_0x2a37d7,_0x1d9b00){return _0x2a37d7(_0x1d9b00);},'GBmoc':function(_0x4c9b49,_0x1c1762){return _0x4c9b49+_0x1c1762;},'Chdgr':_0x412b38(0x4ebd1),'NnCbo':function(_0x1f7b16,_0x564426){return _0x1f7b16(_0x564426);},'sVglL':function(_0x14e26f,_0x1da8d8){return _0x14e26f(_0x1da8d8);},'OTZUv':'CHqaE','HezFB':function(_0x2d06d9,_0x228f53){return _0x2d06d9(_0x228f53);},'eyahE':function(_0x5d7041,_0x2f4345){return _0x5d7041/_0x2f4345;},'mRHAC':function(_0x5021bd,_0x5e9647){return _0x5021bd(_0x5e9647);},'FctyR':function(_0x48e217,_0x2c4172){return _0x48e217/_0x2c4172;},'ugoDO':_0x412b38(0x7b28),'yXYHK':_0x412b38(0x46e5d),'VREZL':function(_0x48c24f,_0x4f3855){return _0x48c24f(_0x4f3855);},'WfpEI':function(_0x289c14,_0x33240e){return _0x289c14/_0x33240e;},'nNLpe':function(_0x37d2b8,_0x17ae9f){return _0x37d2b8(_0x17ae9f);},'eEqVY':function(_0x453dcb,_0x32daf0){return _0x453dcb(_0x32daf0);},'IHCoN':function(_0x42070e,_0x45193b){return _0x42070e(_0x45193b);},'etGUH':function(_0x28d117,_0x792e4){return _0x28d117(_0x7Line truncated
|
||||
Vendored
+3
-3
@@ -1,5 +1,5 @@
|
||||
/// <reference types="node" />
|
||||
import { NodeIQQNTWrapperSession, NodeQQNTWrapperUtil } from '@/core/wrapper';
|
||||
import { NodeIQQNTWrapperEngine, NodeIQQNTWrapperSession, NodeQQNTWrapperUtil } from '@/core/wrapper';
|
||||
import { QuickLoginResult } from '@/core/services';
|
||||
import { BuddyListener, GroupListener, MsgListener, ProfileListener } from '@/core/listeners';
|
||||
export interface OnLoginSuccess {
|
||||
@@ -8,9 +8,9 @@ export interface OnLoginSuccess {
|
||||
export declare class NapCatCore {
|
||||
readonly session: NodeIQQNTWrapperSession;
|
||||
readonly util: NodeQQNTWrapperUtil;
|
||||
private engine;
|
||||
private loginService;
|
||||
readonly engine: NodeIQQNTWrapperEngine;
|
||||
private readonly loginListener;
|
||||
private loginService;
|
||||
private onLoginSuccessFuncList;
|
||||
private proxyHandler;
|
||||
constructor();
|
||||
|
||||
@@ -1 +1 @@
|
||||
const _0x58fc7e=_0x4fd1;(function(_0x529c6d,_0x4f51b8){const _0x2cd8ef=_0x4fd1,_0x42ed86=_0x529c6d();while(!![]){try{const _0x3d2b58=parseInt(_0x2cd8ef(0x15e))/0x1+-parseInt(_0x2cd8ef(0x119))/0x2+-parseInt(_0x2cd8ef(0x186))/0x3*(parseInt(_0x2cd8ef(0x183))/0x4)+-parseInt(_0x2cd8ef(0x149))/0x5+-parseInt(_0x2cd8ef(0x156))/0x6*(-parseInt(_0x2cd8ef(0x198))/0x7)+parseInt(_0x2cd8ef(0x150))/0x8*(-parseInt(_0x2cd8ef(0x166))/0x9)+-parseInt(_0x2cd8ef(0x174))/0xa*(-parseInt(_0x2cd8ef(0x115))/0xb);if(_0x3d2b58===_0x4f51b8)break;else _0x42ed86['push'](_0x42ed86['shift']());}catch(_0x1c08db){_0x42ed86['push'](_0x42ed86['shift']());}}}(_0x770f,0xe5d06));import _0x51ba84 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x1b045c from'node:path';import _0xdc487b from'node:os';import _0x47e738 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/core/utils/db';import{sleep}from'@/common/utils/helper';import _0x22e44c from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x4fd1(_0xf78aad,_0x2c9ac2){const _0x770f02=_0x770f();return _0x4fd1=function(_0x4fd133,_0x133b20){_0x4fd133=_0x4fd133-0x10b;let _0x109066=_0x770f02[_0x4fd133];return _0x109066;},_0x4fd1(_0xf78aad,_0x2c9ac2);}import{napCatConfig}from'@/core/utils/config';function _0x770f(){const _0x22c3c1=['init\x20failed\x20','NodeIQQNTWrapperSession','NodeIKernelMsgListener','then','trJgr','onQRCodeLoginSucceed','createHash','NodeIKernelLoginService','sceneId','mkdirSync','5733200IKBcbX','addKernelMsgListener','登录失败','MvCga','assign','resolve','stringify','JNFMN','NodeQQNTWrapperUtil','initSession','uid','140022008','pgBYJ','onRecvMsg','CjzUu','4bBtGZo','getBuddyList','msgId','5540979hilBYo','getProfileService','message_sent','本账号数据/缓存目录:','qrLogin','140022013','initWithDeskTopConfig','GkptG','uQcju','-v2.db','split','groupMemberList_MainWindow','addKernelBuddyListener','GgBrC','onUserLoggedIn','update','JwTcQ','floor','2391179EsPviV','map','util','engine','onProfileDetailInfoChanged','xPQBQ','yRmGx','infos','快速登录失败\x20','getMsgByLongId','ProfileListener','onKickedOffLine','quickLogin','initDataListener','hex','getBuddyService','addListener','erwmj','fileLogLevel','buddyList','gniBy','getNTUserDataInfoConfig','curVersion','homedir','kRbvA','dataPath','message_received','get','LocalLoginInfoList','getLoginList','scQAZ','快速登录不可用','eSTeG','fAXjD','qrcodeUrl','addKernelGroupListener','getMsgService',')\x20在线状态变更','tuKuO','hsJjQ','NodeIKernelProfileListener','isQuickLogin','CfWgt','_GW_B','addMsg','packet_received','77OVYBnb','onMsgInfoListUpdate','proxyHandler','onSelfStatusChanged','47308kOptfo','find','数据库初始化失败','wEADo','tipsTitle','quickLoginWithUin','LIAhx','set','onRecvSysMsg','addKernelLoginListener','loginListener','onBuddyListChange','dataPathGlobal','\x20has\x20no\x20method\x20','onMemberInfoChange','name','bINfr','fileLog','undefined','createMemberListScene','NodeIDispatcherAdapter','onLoginSuccess','loginService','push','当前账号(','onGroupListUpdate','uin','没有可快速登录的QQ号','packet_sent','DQDBd','consoleLog','pngBase64QrcodeData','cPVBR','ljaNJ','session','initConfig','getGroupService','onLoginSuccessFuncList','kRgxK','md5','length','result','now','onQRCodeGetPicture','constructor','devUid','GUZKY','Tkdkz','3925580jpaINy','Windows\x2010\x20Pro','JAaFU','onMemberListChange','startNT','replace','groupCode','72584AGkegu','forEach','sHydt','consoleLogLevel','recallTime','NodeIKernelSessionListener','6pghWSt','from','catch','initSession\x20failed','NodeIKernelLoginListener','wZPDn','tipsDesc','iGWoi','358223NiqCRI','NodeIGlobalAdapter','CnUjH','onAddSendMsg','BuddyListener','oHOOS','BEfmP','lJQEM','1107gAVGUk','last_message_time','onLoginFailed','passwordLogin'];_0x770f=function(){return _0x22c3c1;};return _0x770f();}export class NapCatCore{[_0x58fc7e(0x13b)];[_0x58fc7e(0x19a)];[_0x58fc7e(0x19b)];[_0x58fc7e(0x12f)];[_0x58fc7e(0x123)];[_0x58fc7e(0x13e)]=[];[_0x58fc7e(0x117)]={'get'(target,prop,receiver){const _0x59f60e=_0x58fc7e,IfLGpi={'scQAZ':function(callee,param1){return callee(param1);},'iGWoi':function(x,y){return x===y;},'GkptG':_0x59f60e(0x12b)};if(IfLGpi[_0x59f60e(0x15d)](typeof target[prop],IfLGpi[_0x59f60e(0x18d)]))return(...args)=>{const _0x3ddca1=_0x59f60e;IfLGpi[_0x3ddca1(0x1b6)](logDebug,target[_0x3ddca1(0x145)]['name']+_0x3ddca1(0x126)+prop);};return Reflect[_0x59f60e(0x1b3)](target,prop,receiver);}};constructor(){const _0x473ec0=_0x58fc7e,_0x3d934d={'kRgxK':functiLine truncated
|
||||
const _0x1b51e1=_0x33cf;(function(_0x4e5840,_0x29e2af){const _0x1cbbb4=_0x33cf,_0x387092=_0x4e5840();while(!![]){try{const _0x2cf78b=-parseInt(_0x1cbbb4(0x222))/0x1+-parseInt(_0x1cbbb4(0x1da))/0x2*(-parseInt(_0x1cbbb4(0x1d2))/0x3)+-parseInt(_0x1cbbb4(0x25a))/0x4+-parseInt(_0x1cbbb4(0x1df))/0x5*(-parseInt(_0x1cbbb4(0x1ef))/0x6)+-parseInt(_0x1cbbb4(0x20a))/0x7*(-parseInt(_0x1cbbb4(0x1f4))/0x8)+-parseInt(_0x1cbbb4(0x1e4))/0x9+parseInt(_0x1cbbb4(0x1d9))/0xa*(-parseInt(_0x1cbbb4(0x1d8))/0xb);if(_0x2cf78b===_0x29e2af)break;else _0x387092['push'](_0x387092['shift']());}catch(_0x3d7a1){_0x387092['push'](_0x387092['shift']());}}}(_0x2f25,0xcf6cf));import _0x1c9126 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x15fd77 from'node:path';import _0x591651 from'node:os';function _0x2f25(){const _0x266f89=['addKernelProfileListener','getLoginList','QaXme','getNTUserDataInfoConfig','6811WaZDDI','proxyHandler','onQRCodeSessionFailed','loginErrorInfo','GgBNm','ZBldH','addListener','getBuddyService','clientType','updateMsg','aojEw','pngBase64QrcodeData','groupCode','initWithDeskTopConfig','./nt_qq/global','GYPNd','addKernelGroupListener','qeTTD','push','tipsTitle','createMemberListScene','util','memberCount','addKernelLoginListener','38923TlYUFc','LocalLoginInfoList','message_received','curVersion',')已登录,无法重复登录','update','140022013','homedir','groupMemberList_MainWindow','has','AVOhx','\x20has\x20no\x20method\x20','没有可快速登录的QQ号','initSession','ukWyU','undefined','resolve','replace','startNT','onQRCodeLoginSucceed','NodeIDependsAdapter','isQuickLogin','addKernelMsgListener','登录失败','engine','quickLogin','fileLogLevel','NodeIQQNTWrapperSession','账号设备(','zgMmG','getQRCodePicture','onBuddyListChange','QvbMY','quickLoginWithUin','NodeIKernelProfileListener','NodeIKernelBuddyListener','onMemberListChange','getNextMemberList','zMyGA','zzEoY','HFDHi','getBuddyList','qYuZN','nSzLE','LaNee','catch','consoleLogLevel','length','uin','YBhMp','hcMgg','loginService','packet_sent','createHash','uVomb','./.config/QQ','783264pHFJUH','qIQqX','onMsgInfoListUpdate','uid','onQRCodeGetPicture','onProfileDetailInfoChanged','pkqrt','ctaAX','_GW_B','DurEo','session','uOUGe','快速登录失败\x20','启动失败:\x20','bSQja','digest','hDHmQ',')\x20在线状态变更','sceneId','data:image/png;base64,','MRnto','constructor','onAddSendMsg','MsgListener','NodeIKernelMsgListener','oCiah','packet_received','onRecvMsg','delete','dataPathGlobal','then','last_message_time','initConfig','LsLVd','split','map','NodeIKernelLoginListener','message_sent','cabtl','GroupListener','VJlDv','zUcxt','loginListener','onLoginSuccessFuncList','IMMoA','uRRLk','set','mkdirSync','SMNSH','xSFls','FNTml','62307cxiNjA','onLoginSuccess','getMsgByLongId','uuFKo','ebHxZ','UGMNc','7271ipkETR','7180eTpUWU','22sgmhKC','initDataListener','name','assign','XHJSO','15LTiQLX','getQuickLoginList','init','onSessionInitComplete','./NapCat/data','5904783Vkorkr','onUserLoggedIn','dataPath','IlkJE','stringify','onKickedOffLine','tOdjM','lEBNX','getGroupService','qrcodeUrl','forEach','1641852sxijuD','-v2.db','result','lVGgp','NodeIKernelSessionListener','9584pzvtaP','dWyha','passwordLogin','addMsg','find','recallTime','数据库初始化失败','OLSeP','getMsgService','本账号数据/缓存目录:','tipsDesc','errMsg','addKernelBuddyListener','[KickedOffLine]\x20[','koHrK','zOyfk','get','onLineDev'];_0x2f25=function(){return _0x266f89;};return _0x2f25();}import _0x70fcfd from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0xa65f28 from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat,uid2UinMap}from'@/core/data';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x1b51e1(0x21f)];['engine'];[_0x1b51e1(0x1c9)];[_0x1b51e1(0x255)];['onLoginSuccessFuncList']=[];[_0x1b51e1(0x20b)]={'get'(target,prop,receiver){const _0x3e6957=_0x1b51e1,vlUtIz={'QaXme':function(x,y){return x===y;},'DurEo':_0x3e6957(0x231)};if(vlUtIz[_0x3e6957(0x208)](typeof target[prop],vlUtIz[_0x3e6957(0x263)]))return(...args)=>{const _0x550d57=_0x3e6957;logDebug(target['constructor']['name']+_0x550d57(0x22d)+prop);};return Reflect[_0x3e6957(0x204)](target,prop,receiver);}};constructor(){const _0x37c6f4=_0x1b51e1,_0x4a2a5c={'aojEw':function(_0x5199a5,_0x3aefc8){return _0x5199a5(_0x3aefc8);},'uuFKo':function(_0x26a4b8,_0x597c9a){return _0x26a4b8+_0x597c9a;},'zNPbs':'当前账号(','cabtl':_0x37c6f4(0x226),'LaNee':function(_0x3b4Line truncated
|
||||
Vendored
+3
@@ -3,6 +3,9 @@ import { WebApiGroupMember } from '@/core/apis';
|
||||
export declare const Credentials: {
|
||||
Skey: string;
|
||||
CreatTime: number;
|
||||
Cookies: Map<string, string>;
|
||||
ClientKey: string;
|
||||
KeyIndex: string;
|
||||
PskeyData: Map<string, string>;
|
||||
PskeyTime: Map<string, number>;
|
||||
};
|
||||
|
||||
@@ -1 +1 @@
|
||||
const _0x2d6aac=_0x544d;(function(_0x1fca09,_0x1f4cbe){const _0x28bb4b=_0x544d,_0x4b01d8=_0x1fca09();while(!![]){try{const _0x173e1d=parseInt(_0x28bb4b(0x144))/0x1*(-parseInt(_0x28bb4b(0x142))/0x2)+-parseInt(_0x28bb4b(0x13a))/0x3+-parseInt(_0x28bb4b(0x131))/0x4*(-parseInt(_0x28bb4b(0x139))/0x5)+parseInt(_0x28bb4b(0x148))/0x6*(parseInt(_0x28bb4b(0x13d))/0x7)+parseInt(_0x28bb4b(0x141))/0x8*(parseInt(_0x28bb4b(0x137))/0x9)+-parseInt(_0x28bb4b(0x138))/0xa*(-parseInt(_0x28bb4b(0x146))/0xb)+-parseInt(_0x28bb4b(0x136))/0xc;if(_0x173e1d===_0x1f4cbe)break;else _0x4b01d8['push'](_0x4b01d8['shift']());}catch(_0x713681){_0x4b01d8['push'](_0x4b01d8['shift']());}}}(_0x4934,0x49778));import{isNumeric}from'@/common/utils/helper';function _0x544d(_0x3ff1a7,_0x3d9592){const _0x49343d=_0x4934();return _0x544d=function(_0x544d36,_0x44f925){_0x544d36=_0x544d36-0x130;let _0x511bca=_0x49343d[_0x544d36];return _0x511bca;},_0x544d(_0x3ff1a7,_0x3d9592);}function _0x4934(){const _0x18a6ef=['toString','18UAfkdH','getGroupMembers','delete','rTamj','from','4jtEtZN','find','values','uin','get','1065480crFqrw','18aCQlnH','110qkokpP','1279185eMSDBa','1033308VAPsnw','NapCat未能正常启动,请检查日志查看错误','getGroups','1277927eUBmVY','length','set','iqHLH','70728RoSdEy','78598xzbXIW','scilL','5eqyiDB','groupCode','109439NXKjmJ'];_0x4934=function(){return _0x18a6ef;};return _0x4934();}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x4c3d01){const _0x4480a7=_0x544d;groups[_0x4480a7(0x14a)](_0x4c3d01),groupMembers['delete'](_0x4c3d01);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x2d6aac(0x13b)};export async function getFriend(_0x25fc47){const _0x269cb6=_0x2d6aac,_0x29d265={'iqHLH':function(_0x51e01b,_0x4427c0){return _0x51e01b(_0x4427c0);}};_0x25fc47=_0x25fc47[_0x269cb6(0x147)]();if(_0x29d265[_0x269cb6(0x140)](isNumeric,_0x25fc47)){const _0xdfb45c=Array[_0x269cb6(0x130)](friends[_0x269cb6(0x133)]());return _0xdfb45c['find'](_0x4ce639=>_0x4ce639[_0x269cb6(0x134)]===_0x25fc47);}else return friends[_0x269cb6(0x135)](_0x25fc47);}export async function getGroup(_0x588c2c){const _0x479346=_0x2d6aac;let _0x51326f=groups[_0x479346(0x135)](_0x588c2c[_0x479346(0x147)]());if(!_0x51326f)try{const _0x2bbc81=await NTQQGroupApi[_0x479346(0x13c)]();_0x2bbc81[_0x479346(0x13e)]&&_0x2bbc81['forEach'](_0x369ea7=>{const _0x25eec5=_0x479346;groups[_0x25eec5(0x13f)](_0x369ea7[_0x25eec5(0x145)],_0x369ea7);});}catch(_0x291bf1){return undefined;}return _0x51326f=groups[_0x479346(0x135)](_0x588c2c[_0x479346(0x147)]()),_0x51326f;}export async function getGroupMember(_0x30533d,_0x15644f){const _0x552be2=_0x2d6aac,_0x5d3591={'rTamj':function(_0x58d0fa,_0x27f871){return _0x58d0fa(_0x27f871);},'scilL':function(_0x2fba63){return _0x2fba63();}};_0x30533d=_0x30533d[_0x552be2(0x147)](),_0x15644f=_0x15644f[_0x552be2(0x147)]();let _0x5289cc=groupMembers[_0x552be2(0x135)](_0x30533d);if(!_0x5289cc)try{_0x5289cc=await NTQQGroupApi[_0x552be2(0x149)](_0x30533d),groupMembers[_0x552be2(0x13f)](_0x30533d,_0x5289cc);}catch(_0x50cc8a){return null;}const _0x43aa11=()=>{const _0x199bc7=_0x552be2;let _0x5c8a6c=undefined;return _0x5d3591[_0x199bc7(0x14b)](isNumeric,_0x15644f)?_0x5c8a6c=Array['from'](_0x5289cc[_0x199bc7(0x133)]())[_0x199bc7(0x132)](_0x302a23=>_0x302a23[_0x199bc7(0x134)]===_0x15644f):_0x5c8a6c=_0x5289cc['get'](_0x15644f),_0x5c8a6c;};let _0x25d10e=_0x5d3591['scilL'](_0x43aa11);return!_0x25d10e&&(_0x5289cc=await NTQQGroupApi[_0x552be2(0x149)](_0x30533d),_0x25d10e=_0x5d3591[_0x552be2(0x143)](_0x43aa11)),_0x25d10e;}export const uid2UinMap={};export function getUidByUin(_0x77d83f){for(const _0x4737ff in uid2UinMap){if(uid2UinMap[_0x4737ff]===_0x77d83f)return _0x4737ff;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
||||
function _0x1e9c(){const _0x447d40=['set','6dTpiBU','toString','5086xmspbx','3518383QspPdD','2647393kSNvhj','Dmiix','uin','values','getGroups','795xSaWuO','oAVBh','3832jaSWpx','7627944RNryNB','delete','351mulPEA','find','6097446JtIhsz','NapCat未能正常启动,请检查日志查看错误','length','from','getGroupMembers','72494eRuxkp','JdDYt','get','50nBgkIg'];_0x1e9c=function(){return _0x447d40;};return _0x1e9c();}const _0x3e979e=_0x48f4;(function(_0x5a0e64,_0x266733){const _0x55ca6c=_0x48f4,_0x3a2fab=_0x5a0e64();while(!![]){try{const _0x262a03=parseInt(_0x55ca6c(0x1fc))/0x1+-parseInt(_0x55ca6c(0x203))/0x2*(-parseInt(_0x55ca6c(0x1f5))/0x3)+parseInt(_0x55ca6c(0x1f2))/0x4*(-parseInt(_0x55ca6c(0x1f0))/0x5)+-parseInt(_0x55ca6c(0x201))/0x6*(-parseInt(_0x55ca6c(0x205))/0x7)+parseInt(_0x55ca6c(0x1f3))/0x8+parseInt(_0x55ca6c(0x1f7))/0x9+parseInt(_0x55ca6c(0x1ff))/0xa*(-parseInt(_0x55ca6c(0x204))/0xb);if(_0x262a03===_0x266733)break;else _0x3a2fab['push'](_0x3a2fab['shift']());}catch(_0x211806){_0x3a2fab['push'](_0x3a2fab['shift']());}}}(_0x1e9c,0x993a8));import{isNumeric}from'@/common/utils/helper';function _0x48f4(_0x4c2439,_0x458292){const _0x1e9c8f=_0x1e9c();return _0x48f4=function(_0x48f4f9,_0x550b1d){_0x48f4f9=_0x48f4f9-0x1f0;let _0x5effea=_0x1e9c8f[_0x48f4f9];return _0x5effea;},_0x48f4(_0x4c2439,_0x458292);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x43443e){const _0x2581d1=_0x48f4;groups['delete'](_0x43443e),groupMembers[_0x2581d1(0x1f4)](_0x43443e);}export const groupMembers=new Map();export const friends=new Map();export const friendRequests={};export const groupNotifies={};export const napCatError={'ffmpegError':'','httpServerError':'','wsServerError':'','otherError':_0x3e979e(0x1f8)};export async function getFriend(_0x35624a){const _0x5ad968=_0x3e979e;_0x35624a=_0x35624a['toString']();if(isNumeric(_0x35624a)){const _0x28b0c4=Array[_0x5ad968(0x1fa)](friends['values']());return _0x28b0c4[_0x5ad968(0x1f6)](_0x77f617=>_0x77f617[_0x5ad968(0x207)]===_0x35624a);}else return friends['get'](_0x35624a);}export async function getGroup(_0x2928c8){const _0x431367=_0x3e979e;let _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]());if(!_0x32197f)try{const _0x48aad6=await NTQQGroupApi[_0x431367(0x209)]();_0x48aad6[_0x431367(0x1f9)]&&_0x48aad6['forEach'](_0x1068b5=>{const _0x459d61=_0x431367;groups[_0x459d61(0x200)](_0x1068b5['groupCode'],_0x1068b5);});}catch(_0x288b9a){return undefined;}return _0x32197f=groups[_0x431367(0x1fe)](_0x2928c8[_0x431367(0x202)]()),_0x32197f;}export async function getGroupMember(_0x2984f9,_0x5acbf1){const _0x41f643=_0x3e979e,_0x2f7e06={'JdDYt':function(_0x5ed1b8,_0x276ae8){return _0x5ed1b8(_0x276ae8);},'Dmiix':function(_0x15a7c1){return _0x15a7c1();}};_0x2984f9=_0x2984f9[_0x41f643(0x202)](),_0x5acbf1=_0x5acbf1[_0x41f643(0x202)]();let _0x17269a=groupMembers['get'](_0x2984f9);if(!_0x17269a)try{_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),groupMembers[_0x41f643(0x200)](_0x2984f9,_0x17269a);}catch(_0x28b61a){return null;}const _0x1dc81f=()=>{const _0x5291ec=_0x41f643;let _0x423f1a=undefined;return _0x2f7e06[_0x5291ec(0x1fd)](isNumeric,_0x5acbf1)?_0x423f1a=Array[_0x5291ec(0x1fa)](_0x17269a[_0x5291ec(0x208)]())['find'](_0x260cea=>_0x260cea['uin']===_0x5acbf1):_0x423f1a=_0x17269a[_0x5291ec(0x1fe)](_0x5acbf1),_0x423f1a;};let _0x228b6c=_0x2f7e06[_0x41f643(0x206)](_0x1dc81f);return!_0x228b6c&&(_0x17269a=await NTQQGroupApi[_0x41f643(0x1fb)](_0x2984f9),_0x228b6c=_0x1dc81f()),_0x228b6c;}export const uid2UinMap={};export function getUidByUin(_0x6a6856){const _0x281b58=_0x3e979e,_0x17392b={'oAVBh':function(_0x43f456,_0x451ad7){return _0x43f456===_0x451ad7;}};for(const _0x3df1c5 in uid2UinMap){if(_0x17392b[_0x281b58(0x1f1)](uid2UinMap[_0x3df1c5],_0x6a6856))return _0x3df1c5;}}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
|
||||
@@ -1 +1 @@
|
||||
function _0xba8a(){var _0x20f693=['7367244mXEVxV','4710cJocPO','uTDng','357897gXIOzN','4DDPQoN','871416IKcyZF','DOCUMENT','muxkU','AjKNb','94zTtmrt','9oNhhrj','742248TVQvrv','1|2|0|3|4','OTHER','VIDEO','AUDIO','914dGorUb','33KQwYZR','DKZTo','VlfAT','1060dUzuDA','958090ChPUsh'];_0xba8a=function(){return _0x20f693;};return _0xba8a();}(function(_0x55a1e8,_0x169950){var _0x139f96=_0x14e1,_0x295222=_0x55a1e8();while(!![]){try{var _0x357c52=parseInt(_0x139f96(0x1bf))/0x1*(parseInt(_0x139f96(0x1c6))/0x2)+-parseInt(_0x139f96(0x1b9))/0x3*(parseInt(_0x139f96(0x1ba))/0x4)+parseInt(_0x139f96(0x1ca))/0x5*(parseInt(_0x139f96(0x1b7))/0x6)+-parseInt(_0x139f96(0x1bb))/0x7+parseInt(_0x139f96(0x1c1))/0x8*(-parseInt(_0x139f96(0x1c0))/0x9)+-parseInt(_0x139f96(0x1cb))/0xa*(parseInt(_0x139f96(0x1c7))/0xb)+parseInt(_0x139f96(0x1cc))/0xc;if(_0x357c52===_0x169950)break;else _0x295222['push'](_0x295222['shift']());}catch(_0x18d025){_0x295222['push'](_0x295222['shift']());}}}(_0xba8a,0x30a98));;export var CacheFileType;function _0x14e1(_0x2c5c7c,_0xbc69bc){var _0xba8a78=_0xba8a();return _0x14e1=function(_0x14e121,_0xa17195){_0x14e121=_0x14e121-0x1b7;var _0x30c7ee=_0xba8a78[_0x14e121];return _0x30c7ee;},_0x14e1(_0x2c5c7c,_0xbc69bc);}(function(_0x35259c){var _0x3fe19d=_0x14e1,_0x22c8e7={'DKZTo':_0x3fe19d(0x1c2),'uTDng':_0x3fe19d(0x1c5),'AjKNb':'IMAGE','VlfAT':_0x3fe19d(0x1c4),'muxkU':'DOCUMENT','ntTyr':_0x3fe19d(0x1c3)},_0x156e60=_0x22c8e7[_0x3fe19d(0x1c8)]['split']('|'),_0x20b97a=0x0;while(!![]){switch(_0x156e60[_0x20b97a++]){case'0':_0x35259c[_0x35259c[_0x22c8e7[_0x3fe19d(0x1b8)]]=0x2]=_0x22c8e7[_0x3fe19d(0x1b8)];continue;case'1':_0x35259c[_0x35259c[_0x22c8e7['AjKNb']]=0x0]=_0x22c8e7[_0x3fe19d(0x1be)];continue;case'2':_0x35259c[_0x35259c[_0x22c8e7[_0x3fe19d(0x1c9)]]=0x1]=_0x22c8e7['VlfAT'];continue;case'3':_0x35259c[_0x35259c[_0x3fe19d(0x1bc)]=0x3]=_0x22c8e7[_0x3fe19d(0x1bd)];continue;case'4':_0x35259c[_0x35259c[_0x22c8e7['ntTyr']]=0x4]=_0x3fe19d(0x1c3);continue;}break;}}(CacheFileType||(CacheFileType={})));
|
||||
function _0x2785(_0x53a375,_0x5ad036){var _0xea5dc3=_0xea5d();return _0x2785=function(_0x27858a,_0xc4f20f){_0x27858a=_0x27858a-0x1b3;var _0xb85139=_0xea5dc3[_0x27858a];return _0xb85139;},_0x2785(_0x53a375,_0x5ad036);}(function(_0xa9ba95,_0x2d8d2b){var _0x24af7d=_0x2785,_0x4b628c=_0xa9ba95();while(!![]){try{var _0x40c8f8=parseInt(_0x24af7d(0x1bd))/0x1*(-parseInt(_0x24af7d(0x1b5))/0x2)+-parseInt(_0x24af7d(0x1b8))/0x3+parseInt(_0x24af7d(0x1c5))/0x4+parseInt(_0x24af7d(0x1c0))/0x5+parseInt(_0x24af7d(0x1b4))/0x6*(parseInt(_0x24af7d(0x1c1))/0x7)+-parseInt(_0x24af7d(0x1ba))/0x8*(parseInt(_0x24af7d(0x1b9))/0x9)+-parseInt(_0x24af7d(0x1c6))/0xa;if(_0x40c8f8===_0x2d8d2b)break;else _0x4b628c['push'](_0x4b628c['shift']());}catch(_0x3970b){_0x4b628c['push'](_0x4b628c['shift']());}}}(_0xea5d,0x52f94));function _0xea5d(){var _0x1dc2c0=['2038940AyFeQR','ejEHv','223134givfsc','10pJuhtm','IMriL','AUDIO','138051FrTync','477dOtuPj','16144xcnwwD','0|3|1|4|2','lDvXO','37775uEIhvB','uYeNv','split','833065LRDNfU','98wgeBtc','KXJaw','DOCUMENT','IMAGE','793364lWHHle'];_0xea5d=function(){return _0x1dc2c0;};return _0xea5d();};export var CacheFileType;(function(_0x228ea3){var _0x1c26c0=_0x2785,_0xe76f57={'KXJaw':_0x1c26c0(0x1c4),'lDvXO':_0x1c26c0(0x1b7),'IMriL':'OTHER','ejEHv':'VIDEO','uYeNv':_0x1c26c0(0x1c3)},_0x32bb0c=_0x1c26c0(0x1bb)[_0x1c26c0(0x1bf)]('|'),_0x15d8b9=0x0;while(!![]){switch(_0x32bb0c[_0x15d8b9++]){case'0':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1c2)]]=0x0]=_0xe76f57[_0x1c26c0(0x1c2)];continue;case'1':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1bc)]]=0x2]=_0xe76f57['lDvXO'];continue;case'2':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b6)]]=0x4]=_0xe76f57[_0x1c26c0(0x1b6)];continue;case'3':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1b3)]]=0x1]=_0xe76f57['ejEHv'];continue;case'4':_0x228ea3[_0x228ea3[_0xe76f57[_0x1c26c0(0x1be)]]=0x3]=_0xe76f57[_0x1c26c0(0x1be)];continue;}break;}}(CacheFileType||(CacheFileType={})));
|
||||
+1
@@ -14,4 +14,5 @@ export declare class SendMsgElementConstructor {
|
||||
static rps(resultId: number | null): SendFaceElement;
|
||||
static ark(data: any): SendArkElement;
|
||||
static markdown(content: string): SendMarkdownElement;
|
||||
static miniapp(): Promise<SendArkElement>;
|
||||
}
|
||||
@@ -1 +1 @@
|
||||
const _0x4106ca=_0x23a8;function _0x15fd(){const _0x83e752=['end','hpPph','MFACE','string','[骰子]','TEXT','视频信息','writeFile','dCAzT','mface','set','4ForXKG','JlnMC','path','normal2','get','Ori','normal','copyFile','3105696UkHVvr','file','1939287IwSILo','sep','then','width','size','PTT','uqLUn','OKooD','notAt','wTUrI','RPS','uploadFile','replace','1448390TVcKFD','HNskd','726006eYxPtG','DDYJz','SSije','获取视频信息失败','FILE','Thumb','rNTDp','MARKDOWN','PIC','eBNMR','screenshots','time','27gkeeRL','pic','unlink','FACE','dirname','pftPV','video','1GaAaqO','nSNGi','join','xJOFh','获取视频封面失败,使用默认封面','ark','232968isYXVD','face','_0.png','mp4','xqOil','45495NTknXZ','getImageSize','toString','dice','ptt','catch','文件异常,大小为0','语音转换失败,\x20请检查语音文件是否正常','reply','OwpNq','2651904atQpei','VIDEO','ARK','stringify','kbuqm','sYrPZ','REPLY','height'];_0x15fd=function(){return _0x83e752;};return _0x15fd();}(function(_0x699a83,_0x1da9e7){const _0x2ffda8=_0x23a8,_0x1cfa67=_0x699a83();while(!![]){try{const _0x468de9=-parseInt(_0x2ffda8(0xf0))/0x1*(-parseInt(_0x2ffda8(0xdd))/0x2)+parseInt(_0x2ffda8(0xf6))/0x3*(parseInt(_0x2ffda8(0xc4))/0x4)+parseInt(_0x2ffda8(0xfb))/0x5+-parseInt(_0x2ffda8(0x105))/0x6+parseInt(_0x2ffda8(0xce))/0x7+parseInt(_0x2ffda8(0xcc))/0x8+parseInt(_0x2ffda8(0xe9))/0x9*(-parseInt(_0x2ffda8(0xdb))/0xa);if(_0x468de9===_0x1da9e7)break;else _0x1cfa67['push'](_0x1cfa67['shift']());}catch(_0x37e319){_0x1cfa67['push'](_0x1cfa67['shift']());}}}(_0x15fd,0x3a3ae));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x38af6c}from'node:fs';import _0x93bcfb from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';export const mFaceCache=new Map();function _0x23a8(_0x598b55,_0x47f2ad){const _0x15fdf4=_0x15fd();return _0x23a8=function(_0x23a838,_0x54684a){_0x23a838=_0x23a838-0xb9;let _0x245998=_0x15fdf4[_0x23a838];return _0x245998;},_0x23a8(_0x598b55,_0x47f2ad);}export class SendMsgElementConstructor{static['text'](_0x1eb5af){const _0x11d08b=_0x23a8;return{'elementType':ElementType[_0x11d08b(0xbe)],'elementId':'','textElement':{'content':_0x1eb5af,'atType':AtType[_0x11d08b(0xd6)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x54a174,_0x53d014,_0x1c2005,_0x5aa762){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x5aa762,'atType':_0x1c2005,'atUid':_0x54a174,'atTinyId':'','atNtUid':_0x53d014}};}static[_0x4106ca(0x103)](_0x5b1534,_0x2abeef,_0x3c3fb7,_0x550883){const _0x521dc1=_0x4106ca;return{'elementType':ElementType[_0x521dc1(0x10b)],'elementId':'','replyElement':{'replayMsgSeq':_0x5b1534,'replayMsgId':_0x2abeef,'senderUin':_0x3c3fb7,'senderUinStr':_0x550883}};}static async[_0x4106ca(0xea)](_0x707244,_0x422116='',_0x3ac61f=0x0){const _0x2261a4=_0x4106ca,_0x30903f={'LKyQY':function(_0xa94b6d,_0x5774f8){return _0xa94b6d===_0x5774f8;},'CQHeo':_0x2261a4(0x101),'rBooq':function(_0x55e221,_0x4e8edc){return _0x55e221(_0x4e8edc);},'pfQXh':function(_0x3b9cc9,_0x1029da,_0x575d2b){return _0x3b9cc9(_0x1029da,_0x575d2b);},'xJOFh':'图片信息'},{md5:_0x2c7fc8,fileName:_0x2a00da,path:_0x1b987d,fileSize:_0x17d308}=await NTQQFileApi[_0x2261a4(0xd9)](_0x707244,ElementType[_0x2261a4(0xe5)],_0x3ac61f);if(_0x30903f['LKyQY'](_0x17d308,0x0))throw _0x30903f['CQHeo'];const _0x2c38ca=await NTQQFileApi[_0x2261a4(0xfc)](_0x707244),_0x1af250={'md5HexStr':_0x2c7fc8,'fileSize':_0x17d308[_0x2261a4(0xfd)](),'picWidth':_0x2c38ca?.[_0x2261a4(0xd1)],'picHeight':_0x2c38ca?.[_0x2261a4(0x10c)],'fileName':_0x2a00da,'sourcePath':_0x1b987d,'original':!![],'picType':_0x30903f['rBooq'](isGIF,_0x707244)?PicType['gif']:PicType['jpg'],'picSubType':_0x3ac61f,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x422116};return _0x30903f['pfQXh'](logDebug,_0x30903f[_0x2261a4(0xf3)],_0x1af250),{'elementType':ElementType[_0x2261a4(0xe5)],'elementId':'','picElement':_0x1af250};}static async[_0x4106ca(0xcd)](_0x2b899f,_0x17a20f=''){const _0x4b8af4=_0x4106ca,_0x5ceba2={'OwpNq':function(_0x5a3deb,_0x1460cf){return _0x5a3deb===_0x1460cf;},'hpPph':_0x4b8af4(0x101),'xCRhC':function(_0x432288,_0x31f92d){return _0x432288||_0x31f92d;}},{md5:_0x1f63ee,fileName:_0x4a39f8,path:_0x203d2f,fileSize:_0x136a13}=await NTQQFileApi['uploadFile'](_0x2b899f,ElementType[_0x4b8af4(0xe1)]);if(_0x5ceba2[_0x4b8af4(0x104)](_0x136a13,0x0))throw _0x5ceba2[_0x4b8af4(0xba)];const _0x52f04e={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x5ceba2['xCRhC'](_0x17a20f,_0x4a39f8),'filePath':_0x203d2f,'fileSize':_0x136a13[_0x4b8af4(0xfd)]()}};return _0x52f04e;}static async[_0x4106ca(0xef)](_0x2e678b,_0x346b5b='',_0xf238b9=''){const _0x21b8fd=_0x4106ca,_0x32cfc3={'OKooD':function(_0x4Line truncated
|
||||
const _0x173afa=_0x7d2c;(function(_0xbbda81,_0x478ca8){const _0x3d657f=_0x7d2c,_0x28f3c8=_0xbbda81();while(!![]){try{const _0x30995b=parseInt(_0x3d657f(0x95))/0x1*(-parseInt(_0x3d657f(0x9c))/0x2)+-parseInt(_0x3d657f(0x87))/0x3+-parseInt(_0x3d657f(0xaf))/0x4*(-parseInt(_0x3d657f(0x9f))/0x5)+parseInt(_0x3d657f(0x96))/0x6+-parseInt(_0x3d657f(0xd5))/0x7*(parseInt(_0x3d657f(0x86))/0x8)+-parseInt(_0x3d657f(0xcf))/0x9+-parseInt(_0x3d657f(0xd2))/0xa*(-parseInt(_0x3d657f(0x98))/0xb);if(_0x30995b===_0x478ca8)break;else _0x28f3c8['push'](_0x28f3c8['shift']());}catch(_0x37624a){_0x28f3c8['push'](_0x28f3c8['shift']());}}}(_0x3050,0xe54d7));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x1676d5}from'node:fs';import _0x2e093e from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';function _0x3050(){const _0x125af2=['FILE','writeFile','语音转换失败,\x20请检查语音文件是否正常','NHUgK','maOmy','RPS','sysface','end','text','toString','CbONM','zxIHf','PHpFw','stringify','134072EbmhWG','1234686gopkcv','ark','[骰子]','QDes','获取视频封面失败,使用默认封面','mface','string','error','rqDXm','AIEFz','replace','cePLt','gPCPE','JFxgc','13pxDqUA','5781918AowJlr','emoji','99NyJEnJ','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','reply','ROfpO','9974HTsVyQ','MARKDOWN','FACE','2500yoDagq','get','[商城表情]','dice','APGcV','iXbQe','AniStickerId','jpg','qPAfZ','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','video','sep','PTT','lGgyh','VYyVA','face','11328BtPMPH','dirname','mp4','hnMsj','time','screenshots','Ori','copyFile','width','markdown','unlink','AniStickerType','catch','VIDEO','size','find','miniapp','rps','uploadFile','notAt','Bot\x20Test','getImageSize','file','pic','then','TEXT','文件异常,大小为0','join','fRGNc','REPLY','QJHaj','WsCPW','9623799KdVgzJ','PIC','height','2109430IvdfNH','ARK','SFFuH','749DtDcGW'];_0x3050=function(){return _0x125af2;};return _0x3050();}import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x4b53b1 from'./face_config.json';import*as _0x43d789 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();function _0x7d2c(_0x3c0545,_0x1dca83){const _0x30509d=_0x3050();return _0x7d2c=function(_0x7d2cb9,_0x1742f2){_0x7d2cb9=_0x7d2cb9-0x79;let _0x3c38db=_0x30509d[_0x7d2cb9];return _0x3c38db;},_0x7d2c(_0x3c0545,_0x1dca83);}export class SendMsgElementConstructor{static[_0x173afa(0x80)](_0x4968cc){const _0xd22d5e=_0x173afa;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x4968cc,'atType':AtType[_0xd22d5e(0xc2)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ee219,_0x423d8e,_0x5eed39,_0x3ce04c){const _0x2d8d4a=_0x173afa;return{'elementType':ElementType[_0x2d8d4a(0xc8)],'elementId':'','textElement':{'content':'@'+_0x3ce04c,'atType':_0x5eed39,'atUid':_0x4ee219,'atTinyId':'','atNtUid':_0x423d8e}};}static[_0x173afa(0x9a)](_0x53f49a,_0x8a8a76,_0x267667,_0x1228b6){const _0x46e227=_0x173afa;return{'elementType':ElementType[_0x46e227(0xcc)],'elementId':'','replyElement':{'replayMsgSeq':_0x53f49a,'replayMsgId':_0x8a8a76,'senderUin':_0x267667,'senderUinStr':_0x1228b6}};}static async[_0x173afa(0xc6)](_0x552dc6,_0x22ed64='',_0x5a31ec=0x0){const _0xc4c0fa=_0x173afa,_0x31f159={'rQDTp':function(_0x471885,_0xebfcc0){return _0x471885===_0xebfcc0;},'eAnAn':_0xc4c0fa(0xc9),'ZzJiF':function(_0x4e190c,_0x2a6730){return _0x4e190c(_0x2a6730);}},{md5:_0x3cb239,fileName:_0x511dcc,path:_0x25a0bc,fileSize:_0x6284aa}=await NTQQFileApi[_0xc4c0fa(0xc1)](_0x552dc6,ElementType[_0xc4c0fa(0xd0)],_0x5a31ec);if(_0x31f159['rQDTp'](_0x6284aa,0x0))throw _0x31f159['eAnAn'];const _0x2de761=await NTQQFileApi[_0xc4c0fa(0xc4)](_0x552dc6),_0x2c78d5={'md5HexStr':_0x3cb239,'fileSize':_0x6284aa['toString'](),'picWidth':_0x2de761?.[_0xc4c0fa(0xb7)],'picHeight':_0x2de761?.[_0xc4c0fa(0xd1)],'fileName':_0x511dcc,'sourcePath':_0x25a0bc,'original':!![],'picType':_0x31f159['ZzJiF'](isGIF,_0x552dc6)?PicType['gif']:PicType[_0xc4c0fa(0xa6)],'picSubType':_0x5a31ec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x22ed64};return{'elementType':ElementType[_0xc4c0fa(0xd0)],'elementId':'','picElement':_0x2c78d5};}static async[_0x173afa(0xc5)](_0x113d4f,_0x1f2cf2=''){const _0x38b83f=_0x173afa,_0x2b1b20={'hFYht':function(_0xbb1f0b,_0x46a4b6){return _0xbb1f0b||_0x46a4b6;}},{md5:_0x536402,fileName:_0x350242,path:_0x11068c,fileSize:_0xc62c4e}=await NTQQFileApi[_0x38b83f(0xc1)](_0x113d4f,ElementType[_0x38b83f(0xd6)]);if(_0xc62c4e===0x0)throw'文件异常,大小为0';const _0x373623={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x2b1b20['hFYht'](_0x1f2cf2,_0x350242),'filePath':_0x11068c,'fileSize':_0xc62c4e[_0x38b83f(0x81)]()}};return _0x373623;}static async[_0x173aLine truncated
|
||||
File diff suppressed because it is too large.
Load diff
@@ -1 +1 @@
|
||||
function _0x2e05(){var _0x4ddf70=['ojEhQ','330286bdrrth','NVoGc','7AEyZKD','2185797xDbFMj','6625640GprRsw','ERQqL','normal','265184gQRLEL','520906gjjUJB','80mqgsLD','9nvBQVG','1440056UeeIak','7981836DgXNLd','owner'];_0x2e05=function(){return _0x4ddf70;};return _0x2e05();}(function(_0x3d022a,_0x536117){var _0x10f4c7=_0x5452,_0x5de07a=_0x3d022a();while(!![]){try{var _0x2a2816=-parseInt(_0x10f4c7(0x74))/0x1+-parseInt(_0x10f4c7(0x7b))/0x2+parseInt(_0x10f4c7(0x7e))/0x3+parseInt(_0x10f4c7(0x73))/0x4*(-parseInt(_0x10f4c7(0x75))/0x5)+parseInt(_0x10f4c7(0x78))/0x6*(parseInt(_0x10f4c7(0x7d))/0x7)+-parseInt(_0x10f4c7(0x77))/0x8*(parseInt(_0x10f4c7(0x76))/0x9)+parseInt(_0x10f4c7(0x7f))/0xa;if(_0x2a2816===_0x536117)break;else _0x5de07a['push'](_0x5de07a['shift']());}catch(_0xc97f23){_0x5de07a['push'](_0x5de07a['shift']());}}}(_0x2e05,0xc2035));function _0x5452(_0x43729c,_0x4809b0){var _0x2e05d9=_0x2e05();return _0x5452=function(_0x5452c6,_0x45f04f){_0x5452c6=_0x5452c6-0x73;var _0x3979c3=_0x2e05d9[_0x5452c6];return _0x3979c3;},_0x5452(_0x43729c,_0x4809b0);}export var GroupMemberRole;(function(_0x3cbbec){var _0x313b87=_0x5452,_0xdf8ebe={'ojEhQ':_0x313b87(0x81),'NVoGc':'admin','ERQqL':_0x313b87(0x79)};_0x3cbbec[_0x3cbbec[_0xdf8ebe[_0x313b87(0x7a)]]=0x2]=_0xdf8ebe[_0x313b87(0x7a)],_0x3cbbec[_0x3cbbec[_0xdf8ebe[_0x313b87(0x7c)]]=0x3]=_0xdf8ebe[_0x313b87(0x7c)],_0x3cbbec[_0x3cbbec[_0x313b87(0x79)]=0x4]=_0xdf8ebe[_0x313b87(0x80)];}(GroupMemberRole||(GroupMemberRole={})));
|
||||
(function(_0x47ea7,_0x615584){var _0x2fcf1b=_0x1fe6,_0xbcbb46=_0x47ea7();while(!![]){try{var _0x4770ce=parseInt(_0x2fcf1b(0x90))/0x1+-parseInt(_0x2fcf1b(0x8c))/0x2+parseInt(_0x2fcf1b(0x89))/0x3+parseInt(_0x2fcf1b(0x8e))/0x4+-parseInt(_0x2fcf1b(0x92))/0x5*(-parseInt(_0x2fcf1b(0x88))/0x6)+parseInt(_0x2fcf1b(0x8a))/0x7+-parseInt(_0x2fcf1b(0x91))/0x8*(parseInt(_0x2fcf1b(0x94))/0x9);if(_0x4770ce===_0x615584)break;else _0xbcbb46['push'](_0xbcbb46['shift']());}catch(_0x24ced3){_0xbcbb46['push'](_0xbcbb46['shift']());}}}(_0x3027,0xc65aa));function _0x1fe6(_0x390948,_0x38eb27){var _0x3027b6=_0x3027();return _0x1fe6=function(_0x1fe64a,_0x4d90e5){_0x1fe64a=_0x1fe64a-0x87;var _0x264c42=_0x3027b6[_0x1fe64a];return _0x264c42;},_0x1fe6(_0x390948,_0x38eb27);}export var GroupMemberRole;function _0x3027(){var _0x2d7c64=['owner','2027304ZeJBoU','4058124IocVxH','5436781zgpwjn','WMXwQ','3241482gNeCwP','ZaTfq','1085176oTPRLC','cTFga','444975nvOPlK','2000920aYmzCI','5TDCmgT','normal','27ZlYhYs','admin'];_0x3027=function(){return _0x2d7c64;};return _0x3027();}(function(_0x1a1243){var _0x234594=_0x1fe6,_0x1d1ea8={'WMXwQ':_0x234594(0x93),'cTFga':_0x234594(0x95),'ZaTfq':_0x234594(0x87)};_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8b)]]=0x2]=_0x234594(0x93),_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8f)]]=0x3]=_0x1d1ea8[_0x234594(0x8f)],_0x1a1243[_0x1a1243[_0x1d1ea8[_0x234594(0x8d)]]=0x4]='owner';}(GroupMemberRole||(GroupMemberRole={})));
|
||||
@@ -1 +1 @@
|
||||
(function(_0x442a25,_0x28608f){var _0x5bf91c=_0x4185,_0x1a00df=_0x442a25();while(!![]){try{var _0x401c73=-parseInt(_0x5bf91c(0x172))/0x1+parseInt(_0x5bf91c(0x176))/0x2+parseInt(_0x5bf91c(0x174))/0x3+-parseInt(_0x5bf91c(0x171))/0x4+parseInt(_0x5bf91c(0x175))/0x5+-parseInt(_0x5bf91c(0x173))/0x6+parseInt(_0x5bf91c(0x177))/0x7;if(_0x401c73===_0x28608f)break;else _0x1a00df['push'](_0x1a00df['shift']());}catch(_0x3294b4){_0x1a00df['push'](_0x1a00df['shift']());}}}(_0x4d8a,0x31842));export*from'./user';function _0x4185(_0x2ec5c9,_0xb89b1a){var _0x4d8a6b=_0x4d8a();return _0x4185=function(_0x41856a,_0x531f4f){_0x41856a=_0x41856a-0x171;var _0x28f773=_0x4d8a6b[_0x41856a];return _0x28f773;},_0x4185(_0x2ec5c9,_0xb89b1a);}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';function _0x4d8a(){var _0x70ae87=['3425254pKfpIw','1361236TUsWvm','112347xhZezN','2396184Jokkdh','755562nEzblh','692320dOPmSP','350396ncIOQA'];_0x4d8a=function(){return _0x70ae87;};return _0x4d8a();}export*from'./constructor';
|
||||
(function(_0x4f55b6,_0x31914f){var _0x571f44=_0x48d8,_0x5a1005=_0x4f55b6();while(!![]){try{var _0x3039c3=-parseInt(_0x571f44(0x1a6))/0x1*(parseInt(_0x571f44(0x1a4))/0x2)+parseInt(_0x571f44(0x1a2))/0x3*(parseInt(_0x571f44(0x1a1))/0x4)+-parseInt(_0x571f44(0x19f))/0x5+parseInt(_0x571f44(0x1a5))/0x6+parseInt(_0x571f44(0x1a3))/0x7+-parseInt(_0x571f44(0x1a7))/0x8+parseInt(_0x571f44(0x1a0))/0x9;if(_0x3039c3===_0x31914f)break;else _0x5a1005['push'](_0x5a1005['shift']());}catch(_0x27a3d7){_0x5a1005['push'](_0x5a1005['shift']());}}}(_0x4987,0x586d2));export*from'./user';function _0x4987(){var _0x48d492=['3409712VpjpKM','1411480NAQryD','8477919Qheyob','4bzMyxF','705531AqoFOe','284151MagfXx','6CfQCOY','1511460arJbLt','132989nZqIFI'];_0x4987=function(){return _0x48d492;};return _0x4987();}export*from'./group';export*from'./msg';function _0x48d8(_0x5ca237,_0x548dbc){var _0x498788=_0x4987();return _0x48d8=function(_0x48d8cd,_0x15c216){_0x48d8cd=_0x48d8cd-0x19f;var _0x106d11=_0x498788[_0x48d8cd];return _0x106d11;},_0x48d8(_0x5ca237,_0x548dbc);}export*from'./notify';export*from'./cache';export*from'./constructor';
|
||||
Vendored
+16
@@ -4,6 +4,22 @@ export interface Peer {
|
||||
peerUid: string;
|
||||
guildId?: string;
|
||||
}
|
||||
export interface KickedOffLineInfo {
|
||||
appId: number;
|
||||
instanceId: number;
|
||||
sameDevice: boolean;
|
||||
tipsDesc: string;
|
||||
tipsTitle: string;
|
||||
kickedType: number;
|
||||
securityKickedType: number;
|
||||
}
|
||||
export interface GetFileListParam {
|
||||
sortType: number;
|
||||
fileCount: number;
|
||||
startIndex: number;
|
||||
sortOrder: number;
|
||||
showOnlinedocFolder: number;
|
||||
}
|
||||
export declare enum ElementType {
|
||||
TEXT = 1,
|
||||
PIC = 2,
|
||||
|
||||
@@ -1 +1 @@
|
||||
var _0xfda847=_0x43e6;function _0x43e6(_0x3bf017,_0x5f3f9e){var _0x2bf42f=_0x2bf4();return _0x43e6=function(_0x43e665,_0x179cb0){_0x43e665=_0x43e665-0x181;var _0x407e40=_0x2bf42f[_0x43e665];return _0x407e40;},_0x43e6(_0x3bf017,_0x5f3f9e);}(function(_0x24f227,_0x26da5d){var _0x3af786=_0x43e6,_0x1d39db=_0x24f227();while(!![]){try{var _0x3dbccb=parseInt(_0x3af786(0x1b3))/0x1*(-parseInt(_0x3af786(0x1a6))/0x2)+parseInt(_0x3af786(0x1be))/0x3+parseInt(_0x3af786(0x199))/0x4+-parseInt(_0x3af786(0x1af))/0x5+-parseInt(_0x3af786(0x1b2))/0x6+-parseInt(_0x3af786(0x1b4))/0x7*(-parseInt(_0x3af786(0x1a7))/0x8)+parseInt(_0x3af786(0x190))/0x9;if(_0x3dbccb===_0x26da5d)break;else _0x1d39db['push'](_0x1d39db['shift']());}catch(_0x4058a5){_0x1d39db['push'](_0x1d39db['shift']());}}}(_0x2bf4,0x677fe));export var ElementType;(function(_0x1462fe){var _0x2bd239=_0x43e6,_0x46955d={'GdLtg':_0x2bd239(0x19a),'GobDA':'PIC','ZawLJ':_0x2bd239(0x19f),'QvUnm':_0x2bd239(0x189),'BRYIv':'VIDEO','RblZm':_0x2bd239(0x182),'hzuAx':_0x2bd239(0x192),'kSKQG':_0x2bd239(0x198),'lUmHk':_0x2bd239(0x18e),'APnDY':_0x2bd239(0x1ad)};_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x1a8)]]=0x1]=_0x46955d[_0x2bd239(0x1a8)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x1ae)]]=0x2]=_0x46955d[_0x2bd239(0x1ae)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x19b)]]=0x3]=_0x2bd239(0x19f),_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x1a9)]]=0x4]=_0x46955d[_0x2bd239(0x1a9)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x1bb)]]=0x5]=_0x46955d[_0x2bd239(0x1bb)],_0x1462fe[_0x1462fe[_0x46955d['RblZm']]=0x6]=_0x2bd239(0x182),_0x1462fe[_0x1462fe[_0x46955d['hzuAx']]=0x7]=_0x46955d[_0x2bd239(0x19d)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x1aa)]]=0xa]=_0x46955d[_0x2bd239(0x1aa)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x19e)]]=0xb]=_0x46955d[_0x2bd239(0x19e)],_0x1462fe[_0x1462fe[_0x46955d[_0x2bd239(0x18a)]]=0xe]=_0x46955d[_0x2bd239(0x18a)];}(ElementType||(ElementType={})));export var PicType;(function(_0x39fc33){var _0x1b9524=_0x43e6,_0x1d772e={'QBVED':_0x1b9524(0x1bd),'NiHxI':_0x1b9524(0x194)};_0x39fc33[_0x39fc33[_0x1d772e[_0x1b9524(0x184)]]=0x7d0]='gif',_0x39fc33[_0x39fc33[_0x1d772e[_0x1b9524(0x1a2)]]=0x3e8]=_0x1d772e['NiHxI'];}(PicType||(PicType={})));export var PicSubType;(function(_0x1809e1){var _0x129f58=_0x43e6,_0x4c1e47={'XZbMi':'normal','KNyhh':'face'};_0x1809e1[_0x1809e1[_0x4c1e47[_0x129f58(0x1ac)]]=0x0]=_0x4c1e47[_0x129f58(0x1ac)],_0x1809e1[_0x1809e1[_0x4c1e47[_0x129f58(0x18c)]]=0x1]=_0x4c1e47['KNyhh'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x2c831d){var _0x4a12d6=_0x43e6,_0x1d558a={'gPBmv':_0x4a12d6(0x1bc),'VPMxr':_0x4a12d6(0x1a1),'egifo':_0x4a12d6(0x19c)};_0x2c831d[_0x2c831d['notAt']=0x0]=_0x1d558a[_0x4a12d6(0x191)],_0x2c831d[_0x2c831d[_0x1d558a[_0x4a12d6(0x1b6)]]=0x1]=_0x1d558a[_0x4a12d6(0x1b6)],_0x2c831d[_0x2c831d[_0x4a12d6(0x19c)]=0x2]=_0x1d558a[_0x4a12d6(0x1a3)];}(AtType||(AtType={})));export var ChatType;(function(_0x591359){var _0x13796f=_0x43e6,_0x6daf0a={'tNFwe':_0x13796f(0x195),'lgtAM':'group','dAFLY':_0x13796f(0x187),'MaNoq':_0x13796f(0x188)};_0x591359[_0x591359[_0x6daf0a['tNFwe']]=0x1]=_0x6daf0a[_0x13796f(0x1b5)],_0x591359[_0x591359[_0x6daf0a['lgtAM']]=0x2]=_0x6daf0a[_0x13796f(0x1b0)],_0x591359[_0x591359[_0x6daf0a[_0x13796f(0x193)]]=0x8]=_0x6daf0a[_0x13796f(0x193)],_0x591359[_0x591359[_0x6daf0a[_0x13796f(0x1b8)]]=0x64]=_0x6daf0a[_0x13796f(0x1b8)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST=_0xfda847(0x1ab);export const IMAGE_HTTP_HOST_NT=_0xfda847(0x185);export var GrayTipElementSubType;function _0x2bf4(){var _0xf89632=['tNFwe','VPMxr','zzSJz','MaNoq','XlISL','memberIncrease','BRYIv','notAt','gif','1388685LOphvW','INVITE_NEW_MEMBER','FACE','normal2','QBVED','https://multimedia.nt.qq.com.cn','normal','chatDevice','temp','PTT','APnDY','dnjKt','KNyhh','dice','MFACE','xRpUL','7215021xlnnGa','gPBmv','REPLY','dAFLY','jpg','friend','ZIqio','ban','ARK','451048XshIaa','TEXT','ZawLJ','atUser','hzuAx','lUmHk','FILE','MEMBER_NEW_TITLE','atAll','NiHxI','egifo','xOLmP','kicked','499978CZcDNp','16UBzjlV','GdLtg','QvUnm','kSKQG','https://gchat.qpic.cn','XZbMi','MARKDOWN','GobDA','3865195UqUzZy','lgtAM','ZurNC','4639872zXldkU','1bBLwHW','2950318jVIZKS'];_0x2bf4=function(){return _0xf89632;};return _0x2bf4();}(function(_0x5701bb){var _0x34e55d=_0xfda847,_0x1e1143={'dnjKt':_0x34e55d(0x181),'NQJrr':_0x34e55d(0x1a0)};_0x5701bb[_0x5701bb[_0x1e1143[_0x34e55d(0x18b)]]=0xc]=_0x1e1143[_0x34e55d(0x18b)],_0x5701bb[_0x5701bb[_0x1e1143['NQJrr']]=0x11]=_0x34e55d(0x1a0);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3200c7){var _0x5397e5=_0xfda847,_0x35c18e={'ZBxYR':'normal','ZIqio':'normal2','ZurNC':_0x5397e5(0x18d)};_0x3200c7[_0x3200c7[_0x35c18e['ZBxYR']]=0x1]=_0x5397e5(0x186),_0x3200c7[_0x3200c7[_0x5397e5(0x183)]=0x2]=_0x35c18e[_0x5397e5(0x196)],_0x3200c7[_0x3200c7[_0x35c18e[_0x5397e5(0x1b1)]]=0x3]=_0x5397e5(0x18d);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x478380){var _0x8774a3=_0xfda847,_0x23f8a8={'oOPBt':_0x8774Line truncated
|
||||
var _0x30156e=_0xa76c;(function(_0x27dea2,_0x308e0b){var _0x215a41=_0xa76c,_0x406047=_0x27dea2();while(!![]){try{var _0x2b378c=-parseInt(_0x215a41(0x18b))/0x1+parseInt(_0x215a41(0x176))/0x2*(-parseInt(_0x215a41(0x17a))/0x3)+parseInt(_0x215a41(0x172))/0x4*(parseInt(_0x215a41(0x171))/0x5)+parseInt(_0x215a41(0x182))/0x6+parseInt(_0x215a41(0x18e))/0x7+parseInt(_0x215a41(0x156))/0x8+parseInt(_0x215a41(0x173))/0x9*(-parseInt(_0x215a41(0x193))/0xa);if(_0x2b378c===_0x308e0b)break;else _0x406047['push'](_0x406047['shift']());}catch(_0x14605d){_0x406047['push'](_0x406047['shift']());}}}(_0x52f0,0x4f6d6));function _0x52f0(){var _0x2e1ef4=['3825896DMzQgO','mmFpl','jpg','PTT','ban','JpsFe','FvLNL','DfoRb','LPoMG','tzGwN','vnbeo','CrzFX','LoJJP','FILE','TEXT','normal2','PIC','MFACE','TsSNo','notAt','RPS','FACE','atAll','zHpNH','Jrdif','DePIy','https://multimedia.nt.qq.com.cn','54125ThhNbD','200eOEyap','11055537eLrDgu','OvTHG','lbgRH','8WpCtpV','INVITE_NEW_MEMBER','BTosA','wCvAP','330453tixpXW','face','VIDEO','bavLZ','SBKTa','VUkpd','gif','MEMBER_NEW_TITLE','3644688poedXb','vzPEA','SZZMn','ikBjO','friend','REPLY','kicked','VYDxr','chatDevice','126718vdrnQY','temp','KINez','3458798lThxHB','split','ozaRL','memberIncrease','atUser','10PCSYHB','wDuvo','normal','VLSfJ','ARK','dice','MARKDOWN'];_0x52f0=function(){return _0x2e1ef4;};return _0x52f0();}export var ElementType;(function(_0x3ffa77){var _0x164a0a=_0xa76c,_0x5e6ef9={'ZlIhq':'6|9|8|5|0|4|3|7|2|1','SBKTa':_0x164a0a(0x17c),'zHpNH':_0x164a0a(0x199),'DfoRb':_0x164a0a(0x187),'ikBjO':_0x164a0a(0x16b),'bavLZ':_0x164a0a(0x159),'Jrdif':_0x164a0a(0x164),'JpsFe':_0x164a0a(0x197),'wDuvo':_0x164a0a(0x163),'VLSfJ':_0x164a0a(0x166)},_0x2a77c1=_0x5e6ef9['ZlIhq'][_0x164a0a(0x18f)]('|'),_0xce9f25=0x0;while(!![]){switch(_0x2a77c1[_0xce9f25++]){case'0':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17e)]]=0x5]=_0x5e6ef9[_0x164a0a(0x17e)];continue;case'1':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16d)]]=0xe]=_0x164a0a(0x199);continue;case'2':_0x3ffa77[_0x3ffa77[_0x164a0a(0x167)]=0xb]=_0x164a0a(0x167);continue;case'3':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x15d)]]=0x7]=_0x5e6ef9[_0x164a0a(0x15d)];continue;case'4':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x185)]]=0x6]=_0x164a0a(0x16b);continue;case'5':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x17d)]]=0x4]=_0x5e6ef9[_0x164a0a(0x17d)];continue;case'6':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x16e)]]=0x1]=_0x164a0a(0x164);continue;case'7':_0x3ffa77[_0x3ffa77[_0x5e6ef9['JpsFe']]=0xa]=_0x5e6ef9[_0x164a0a(0x15b)];continue;case'8':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x194)]]=0x3]=_0x5e6ef9[_0x164a0a(0x194)];continue;case'9':_0x3ffa77[_0x3ffa77[_0x5e6ef9[_0x164a0a(0x196)]]=0x2]=_0x5e6ef9['VLSfJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2bd409){var _0x555066=_0xa76c,_0x53e266={'lbgRH':_0x555066(0x180),'TsSNo':_0x555066(0x158)};_0x2bd409[_0x2bd409['gif']=0x7d0]=_0x53e266[_0x555066(0x175)],_0x2bd409[_0x2bd409[_0x53e266[_0x555066(0x168)]]=0x3e8]=_0x53e266[_0x555066(0x168)];}(PicType||(PicType={})));export var PicSubType;function _0xa76c(_0x4468c0,_0x346cb6){var _0x52f09a=_0x52f0();return _0xa76c=function(_0xa76cb1,_0x52a1c5){_0xa76cb1=_0xa76cb1-0x156;var _0x56ae6b=_0x52f09a[_0xa76cb1];return _0x56ae6b;},_0xa76c(_0x4468c0,_0x346cb6);}(function(_0x6d2056){var _0x2cdb98=_0xa76c,_0x5aa3ff={'VUkpd':_0x2cdb98(0x195),'BTosA':_0x2cdb98(0x17b)};_0x6d2056[_0x6d2056['normal']=0x0]=_0x5aa3ff[_0x2cdb98(0x17f)],_0x6d2056[_0x6d2056[_0x5aa3ff[_0x2cdb98(0x178)]]=0x1]=_0x5aa3ff['BTosA'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x567d1a){var _0x11d12c=_0xa76c,_0x575366={'wCvAP':_0x11d12c(0x169),'DePIy':_0x11d12c(0x16c),'FvLNL':_0x11d12c(0x192)};_0x567d1a[_0x567d1a[_0x11d12c(0x169)]=0x0]=_0x575366[_0x11d12c(0x179)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x16f)]]=0x1]=_0x575366[_0x11d12c(0x16f)],_0x567d1a[_0x567d1a[_0x575366[_0x11d12c(0x15c)]]=0x2]=_0x575366['FvLNL'];}(AtType||(AtType={})));export var ChatType;(function(_0x1712f0){var _0x5d8b69=_0xa76c,_0x58d2e6={'SZZMn':_0x5d8b69(0x186),'VYDxr':'group','LPoMG':_0x5d8b69(0x18a),'LoJJP':_0x5d8b69(0x18c)};_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x184)]]=0x1]=_0x58d2e6[_0x5d8b69(0x184)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x189)]]=0x2]=_0x58d2e6[_0x5d8b69(0x189)],_0x1712f0[_0x1712f0[_0x58d2e6['LPoMG']]=0x8]=_0x58d2e6[_0x5d8b69(0x15e)],_0x1712f0[_0x1712f0[_0x58d2e6[_0x5d8b69(0x162)]]=0x64]=_0x58d2e6[_0x5d8b69(0x162)];}(ChatType||(ChatType={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x30156e(0x170);export var GrayTipElementSubType;(function(_0x577195){var _0x5ee983=_0x30156e,_0x1b01ec={'tzGwN':_0x5ee983(0x181)};_0x577195[_0x577195[_0x5ee983(0x177)]=0xc]=_0x5ee983(0x177),_0x577195[_0x577195[_0x1b01ec[_0x5ee983(0x15f)]]=0x11]=_0x1b01ec[_0x5ee983(0x15f)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x4c6b07){var _0x5a4ec4=_0x30156e,_0x34e22f={'OIZzl':_0x5a4ec4(0x195),'mmFpl':_0x5Line truncated
|
||||
@@ -1 +1 @@
|
||||
(function(_0x3ffe7e,_0x3dab47){var _0x5482e6=_0xfb87,_0x2ef63d=_0x3ffe7e();while(!![]){try{var _0x143dcc=parseInt(_0x5482e6(0x1b3))/0x1+parseInt(_0x5482e6(0x1c1))/0x2*(-parseInt(_0x5482e6(0x1a3))/0x3)+parseInt(_0x5482e6(0x1b1))/0x4+parseInt(_0x5482e6(0x1a5))/0x5+-parseInt(_0x5482e6(0x1bd))/0x6+-parseInt(_0x5482e6(0x1b2))/0x7*(-parseInt(_0x5482e6(0x1a6))/0x8)+-parseInt(_0x5482e6(0x1ae))/0x9;if(_0x143dcc===_0x3dab47)break;else _0x2ef63d['push'](_0x2ef63d['shift']());}catch(_0x368541){_0x2ef63d['push'](_0x2ef63d['shift']());}}}(_0x1d10,0x36aab));function _0xfb87(_0x508b2a,_0x2adca6){var _0x1d100a=_0x1d10();return _0xfb87=function(_0xfb878d,_0x19cffc){_0xfb878d=_0xfb878d-0x1a3;var _0x519e42=_0x1d100a[_0xfb878d];return _0x519e42;},_0xfb87(_0x508b2a,_0x2adca6);}export var GroupNotifyTypes;(function(_0x25e825){var _0x104dfb=_0xfb87,_0x22c6b4={'HZole':_0x104dfb(0x1ad),'jIvDs':'MEMBER_EXIT','lHVlp':_0x104dfb(0x1b0),'iKUZh':_0x104dfb(0x1b8),'hDQcD':_0x104dfb(0x1a8),'oEcxG':'INVITE_ME','IPImG':_0x104dfb(0x1b9),'wRSdv':_0x104dfb(0x1a9)},_0x5980af='5|6|2|3|0|1|7|4'[_0x104dfb(0x1ab)]('|'),_0x5c699d=0x0;while(!![]){switch(_0x5980af[_0x5c699d++]){case'0':_0x25e825[_0x25e825[_0x22c6b4[_0x104dfb(0x1bf)]]=0x9]=_0x104dfb(0x1ad);continue;case'1':_0x25e825[_0x25e825[_0x22c6b4[_0x104dfb(0x1c2)]]=0xb]=_0x22c6b4['jIvDs'];continue;case'2':_0x25e825[_0x25e825[_0x22c6b4[_0x104dfb(0x1c0)]]=0x7]=_0x22c6b4['lHVlp'];continue;case'3':_0x25e825[_0x25e825[_0x22c6b4['iKUZh']]=0x8]=_0x104dfb(0x1b8);continue;case'4':_0x25e825[_0x25e825['ADMIN_UNSET_OTHER']=0xd]=_0x22c6b4[_0x104dfb(0x1bc)];continue;case'5':_0x25e825[_0x25e825[_0x22c6b4['oEcxG']]=0x1]=_0x22c6b4[_0x104dfb(0x1b6)];continue;case'6':_0x25e825[_0x25e825[_0x22c6b4[_0x104dfb(0x1aa)]]=0x4]=_0x104dfb(0x1b9);continue;case'7':_0x25e825[_0x25e825[_0x22c6b4[_0x104dfb(0x1a7)]]=0xc]=_0x22c6b4[_0x104dfb(0x1a7)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x1d10(){var _0x101ed2=['APPROVE','JOIN_REQUEST','963492IsbpVS','54145isTSGh','335653eEnHau','InsEU','PyUeA','oEcxG','zXjrc','ADMIN_SET','INVITED_JOIN','approve','DleAn','hDQcD','1344252qSBytp','fYxOS','HZole','lHVlp','16412etYnoQ','jIvDs','129FAerJi','REJECT','2075940boWDyi','328QQTWTy','wRSdv','ADMIN_UNSET_OTHER','ADMIN_UNSET','IPImG','split','IGNORE','KICK_MEMBER','4572306IGRuHt'];_0x1d10=function(){return _0x101ed2;};return _0x1d10();}(function(_0x4f03b3){var _0x4696e6=_0xfb87,_0x1956a1={'PyUeA':_0x4696e6(0x1ac),'qljDs':'WAIT_HANDLE','DleAn':_0x4696e6(0x1af),'InsEU':_0x4696e6(0x1a4)};_0x4f03b3[_0x4f03b3['IGNORE']=0x0]=_0x1956a1[_0x4696e6(0x1b5)],_0x4f03b3[_0x4f03b3[_0x1956a1['qljDs']]=0x1]=_0x1956a1['qljDs'],_0x4f03b3[_0x4f03b3[_0x1956a1[_0x4696e6(0x1bb)]]=0x2]=_0x1956a1[_0x4696e6(0x1bb)],_0x4f03b3[_0x4f03b3[_0x1956a1[_0x4696e6(0x1b4)]]=0x3]=_0x1956a1[_0x4696e6(0x1b4)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0xfcdc73){var _0xf2aaa=_0xfb87,_0x476479={'fYxOS':_0xf2aaa(0x1ba),'zXjrc':'reject'};_0xfcdc73[_0xfcdc73[_0x476479[_0xf2aaa(0x1be)]]=0x1]=_0x476479[_0xf2aaa(0x1be)],_0xfcdc73[_0xfcdc73[_0x476479[_0xf2aaa(0x1b7)]]=0x2]=_0x476479['zXjrc'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));
|
||||
(function(_0x54e5fe,_0x382a2e){var _0x15dd85=_0x4780,_0x1a1fa7=_0x54e5fe();while(!![]){try{var _0x5b692c=parseInt(_0x15dd85(0xeb))/0x1*(parseInt(_0x15dd85(0xda))/0x2)+parseInt(_0x15dd85(0xf0))/0x3*(-parseInt(_0x15dd85(0xfa))/0x4)+parseInt(_0x15dd85(0x100))/0x5*(-parseInt(_0x15dd85(0xe0))/0x6)+parseInt(_0x15dd85(0xdf))/0x7+-parseInt(_0x15dd85(0x101))/0x8*(-parseInt(_0x15dd85(0xf4))/0x9)+-parseInt(_0x15dd85(0xe2))/0xa*(parseInt(_0x15dd85(0xe6))/0xb)+parseInt(_0x15dd85(0xe1))/0xc*(-parseInt(_0x15dd85(0xdb))/0xd);if(_0x5b692c===_0x382a2e)break;else _0x1a1fa7['push'](_0x1a1fa7['shift']());}catch(_0x1be192){_0x1a1fa7['push'](_0x1a1fa7['shift']());}}}(_0x4c68,0x89101));function _0x4c68(){var _0x1f16dd=['8CwMsYi','6XgntSd','5339555JMvtjg','KICK_MEMBER','approve','WAIT_HANDLE','4996033sulzTn','9954oiHPun','12BNbOPS','992570kftWLX','DYfGS','split','reject','33GJIvGK','RmcZr','esvOO','sZJhG','FSaRv','243031gYvpqO','INVITE_ME','ADMIN_SET','MEMBER_EXIT','ADMIN_UNSET_OTHER','429YQvzUm','APPROVE','ADMIN_UNSET','FnoAC','7818489mjxbqY','mkpQW','BPOec','wyMuD','hMsqL','INVITED_JOIN','21108btTqhQ','SRQAA','IGNORE','JOIN_REQUEST','7|5|4|2|6|1|0|3','zTtYS','865JDsfsH'];_0x4c68=function(){return _0x1f16dd;};return _0x4c68();}export var GroupNotifyTypes;(function(_0x5d9214){var _0x436ce5=_0x4780,_0x44fca0={'ESxZR':_0x436ce5(0xfe),'SRQAA':_0x436ce5(0xf2),'FnoAC':_0x436ce5(0xee),'esvOO':_0x436ce5(0xed),'FSaRv':_0x436ce5(0xef),'UfZxw':'JOIN_REQUEST','hMsqL':_0x436ce5(0xf9),'sZJhG':_0x436ce5(0xdc),'wyMuD':_0x436ce5(0xec)},_0x3bc9a0=_0x44fca0['ESxZR'][_0x436ce5(0xe4)]('|'),_0x59262a=0x0;while(!![]){switch(_0x3bc9a0[_0x59262a++]){case'0':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xfb)]]=0xc]=_0x44fca0[_0x436ce5(0xfb)];continue;case'1':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf3)]]=0xb]=_0x44fca0[_0x436ce5(0xf3)];continue;case'2':_0x5d9214[_0x5d9214[_0x436ce5(0xed)]=0x8]=_0x44fca0[_0x436ce5(0xe8)];continue;case'3':_0x5d9214[_0x5d9214['ADMIN_UNSET_OTHER']=0xd]=_0x44fca0[_0x436ce5(0xea)];continue;case'4':_0x5d9214[_0x5d9214[_0x436ce5(0xfd)]=0x7]=_0x44fca0['UfZxw'];continue;case'5':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf8)]]=0x4]='INVITED_JOIN';continue;case'6':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xe9)]]=0x9]=_0x44fca0[_0x436ce5(0xe9)];continue;case'7':_0x5d9214[_0x5d9214[_0x44fca0[_0x436ce5(0xf7)]]=0x1]=_0x44fca0['wyMuD'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4780(_0x1a2d49,_0x24cd8b){var _0x4c684a=_0x4c68();return _0x4780=function(_0x478063,_0x3dd5a2){_0x478063=_0x478063-0xda;var _0x42312e=_0x4c684a[_0x478063];return _0x42312e;},_0x4780(_0x1a2d49,_0x24cd8b);}export var GroupNotifyStatus;(function(_0xb9d825){var _0x5787bc=_0x4780,_0x2b38eb={'RmcZr':_0x5787bc(0xfc),'mkpQW':_0x5787bc(0xde),'DYfGS':_0x5787bc(0xf1),'NPmPa':'REJECT'};_0xb9d825[_0xb9d825[_0x5787bc(0xfc)]=0x0]=_0x2b38eb[_0x5787bc(0xe7)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xf5)]]=0x1]=_0x2b38eb[_0x5787bc(0xf5)],_0xb9d825[_0xb9d825[_0x2b38eb[_0x5787bc(0xe3)]]=0x2]=_0x5787bc(0xf1),_0xb9d825[_0xb9d825[_0x2b38eb['NPmPa']]=0x3]=_0x2b38eb['NPmPa'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x599d25){var _0x2f5b82=_0x4780,_0x17977a={'zTtYS':_0x2f5b82(0xdd),'BPOec':_0x2f5b82(0xe5)};_0x599d25[_0x599d25[_0x2f5b82(0xdd)]=0x1]=_0x17977a[_0x2f5b82(0xff)],_0x599d25[_0x599d25[_0x17977a[_0x2f5b82(0xf6)]]=0x2]=_0x2f5b82(0xe5);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));
|
||||
@@ -1 +1 @@
|
||||
(function(_0x23da76,_0x2ec3a8){var _0x4d1862=_0x1dee,_0x136dbd=_0x23da76();while(!![]){try{var _0x40ae8d=-parseInt(_0x4d1862(0xd6))/0x1+parseInt(_0x4d1862(0xd5))/0x2*(-parseInt(_0x4d1862(0xd9))/0x3)+parseInt(_0x4d1862(0xd4))/0x4+parseInt(_0x4d1862(0xde))/0x5+parseInt(_0x4d1862(0xdc))/0x6+-parseInt(_0x4d1862(0xdb))/0x7*(-parseInt(_0x4d1862(0xd1))/0x8)+-parseInt(_0x4d1862(0xdd))/0x9*(parseInt(_0x4d1862(0xd8))/0xa);if(_0x40ae8d===_0x2ec3a8)break;else _0x136dbd['push'](_0x136dbd['shift']());}catch(_0x3141a6){_0x136dbd['push'](_0x136dbd['shift']());}}}(_0x3375,0x8c468));function _0x3375(){var _0x329309=['3946176EiWhKn','9aoWRHH','4045845ufUWXa','fmolJ','280ecIgAa','female','HUXWL','1018636cOKrHc','582mQxwpu','362862bZZdZb','male','11537370QgzAcj','3921OcZClr','unknown','149996NcqaMO'];_0x3375=function(){return _0x329309;};return _0x3375();}function _0x1dee(_0x195228,_0x5e3a7a){var _0x33756b=_0x3375();return _0x1dee=function(_0x1dee18,_0x59e203){_0x1dee18=_0x1dee18-0xd1;var _0x481d28=_0x33756b[_0x1dee18];return _0x481d28;},_0x1dee(_0x195228,_0x5e3a7a);}export var Sex;(function(_0x1dc690){var _0x470d12=_0x1dee,_0x5a3be5={'HUXWL':_0x470d12(0xd7),'jljek':_0x470d12(0xd2),'fmolJ':_0x470d12(0xda)};_0x1dc690[_0x1dc690[_0x470d12(0xd7)]=0x1]=_0x5a3be5[_0x470d12(0xd3)],_0x1dc690[_0x1dc690[_0x5a3be5['jljek']]=0x2]=_0x470d12(0xd2),_0x1dc690[_0x1dc690[_0x5a3be5[_0x470d12(0xdf)]]=0xff]=_0x5a3be5[_0x470d12(0xdf)];}(Sex||(Sex={})));
|
||||
(function(_0x3238b0,_0x2b2960){var _0x95aa18=_0x291d,_0x12046c=_0x3238b0();while(!![]){try{var _0x5ec39c=parseInt(_0x95aa18(0x9c))/0x1+parseInt(_0x95aa18(0x99))/0x2*(parseInt(_0x95aa18(0x97))/0x3)+-parseInt(_0x95aa18(0x95))/0x4*(-parseInt(_0x95aa18(0x9b))/0x5)+parseInt(_0x95aa18(0x93))/0x6*(-parseInt(_0x95aa18(0x98))/0x7)+-parseInt(_0x95aa18(0x96))/0x8+parseInt(_0x95aa18(0xa2))/0x9+parseInt(_0x95aa18(0x9a))/0xa*(-parseInt(_0x95aa18(0x94))/0xb);if(_0x5ec39c===_0x2b2960)break;else _0x12046c['push'](_0x12046c['shift']());}catch(_0x297319){_0x12046c['push'](_0x12046c['shift']());}}}(_0x3368,0xb8982));function _0x291d(_0x48247b,_0x13364a){var _0x3368c6=_0x3368();return _0x291d=function(_0x291dcc,_0x4baf5d){_0x291dcc=_0x291dcc-0x93;var _0x5cf6e5=_0x3368c6[_0x291dcc];return _0x5cf6e5;},_0x291d(_0x48247b,_0x13364a);}export var Sex;function _0x3368(){var _0x2caf66=['VGFYs','10854387HdBJqy','18282lkBUUI','165lvjLwH','1532TNbQEq','4757224VddTMU','3HfQSLH','259ZCqYBm','597042yiIdGu','984520qVcZKA','18235HNlaPs','38905CWRnxv','female','male','PIGXL','Vjpjd'];_0x3368=function(){return _0x2caf66;};return _0x3368();}(function(_0x297b42){var _0x318c86=_0x291d,_0x3fa2d0={'Vjpjd':_0x318c86(0x9e),'PIGXL':_0x318c86(0x9d),'VGFYs':'unknown'};_0x297b42[_0x297b42[_0x318c86(0x9e)]=0x1]=_0x3fa2d0[_0x318c86(0xa0)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0x9f)]]=0x2]=_0x3fa2d0[_0x318c86(0x9f)],_0x297b42[_0x297b42[_0x3fa2d0[_0x318c86(0xa1)]]=0xff]=_0x3fa2d0[_0x318c86(0xa1)];}(Sex||(Sex={})));
|
||||
Vendored
+1
-1
@@ -1 +1 @@
|
||||
const _0x93cf25=_0x4510;(function(_0x55472c,_0x4634e1){const _0x14cda3=_0x4510,_0x3f0d48=_0x55472c();while(!![]){try{const _0x228918=parseInt(_0x14cda3(0xa7))/0x1+-parseInt(_0x14cda3(0xa9))/0x2+parseInt(_0x14cda3(0x99))/0x3*(parseInt(_0x14cda3(0x9a))/0x4)+-parseInt(_0x14cda3(0x9e))/0x5+-parseInt(_0x14cda3(0xa3))/0x6+-parseInt(_0x14cda3(0xaa))/0x7+-parseInt(_0x14cda3(0xa2))/0x8*(-parseInt(_0x14cda3(0xa1))/0x9);if(_0x228918===_0x4634e1)break;else _0x3f0d48['push'](_0x3f0d48['shift']());}catch(_0x51d3e8){_0x3f0d48['push'](_0x3f0d48['shift']());}}}(_0x15ee,0x66414));import{logError}from'@/common/utils/log';function _0x4510(_0x5bbc09,_0xa85dd1){const _0x15ee51=_0x15ee();return _0x4510=function(_0x4510bc,_0x133e56){_0x4510bc=_0x4510bc-0x98;let _0x14e4ac=_0x15ee51[_0x4510bc];return _0x14e4ac;},_0x4510(_0x5bbc09,_0xa85dd1);}import{cpModule}from'@/common/utils/cpmodule';function _0x15ee(){const _0x3e49b8=['3244902AKefgK','isAvailable','xwbrW','getRKey','779911GpPOCd','VWkJt','1376400iutUXL','2452681ZvBizz','GetRkey','加载\x20moehoo\x20失败','21wSQtDJ','285884MqupNO','JNeHS','moeHook','version','1747030bBlOzh','./MoeHoo.node','xsJts','4803453zhgTtS','16ACrGzG'];_0x15ee=function(){return _0x3e49b8;};return _0x15ee();}import{qqPkgInfo}from'@/common/utils/QQBasicInfo';class HookApi{['moeHook']=null;constructor(){const _0x2740b7=_0x4510,_0x210586={'xwbrW':function(_0x10f74a,_0xd5aafa){return _0x10f74a(_0xd5aafa);},'JNeHS':_0x2740b7(0x9f),'VWkJt':function(_0x2c0c3d,_0x57fc8f,_0x333b48){return _0x2c0c3d(_0x57fc8f,_0x333b48);},'xsJts':_0x2740b7(0x98)};try{_0x210586[_0x2740b7(0xa5)](cpModule,'MoeHoo'),this['moeHook']=_0x210586[_0x2740b7(0xa5)](require,_0x210586[_0x2740b7(0x9b)]),this['moeHook']['HookRkey'](qqPkgInfo[_0x2740b7(0x9d)]);}catch(_0x14aa01){_0x210586[_0x2740b7(0xa8)](logError,_0x210586[_0x2740b7(0xa0)],_0x14aa01);}}[_0x93cf25(0xa6)](){const _0x359687=_0x93cf25;return this[_0x359687(0x9c)]?.[_0x359687(0xab)]()||'';}[_0x93cf25(0xa4)](){const _0x57cf08=_0x93cf25;return!!this[_0x57cf08(0x9c)];}}export const hookApi=new HookApi();
|
||||
(function(_0xecc14b,_0x3eaadd){const _0x450571=_0x31cb,_0x46704d=_0xecc14b();while(!![]){try{const _0x2da692=-parseInt(_0x450571(0xf853))/0x1*(parseInt(_0x450571(0xf0bb))/0x2)+parseInt(_0x450571(0xdd64))/0x3+parseInt(_0x450571(0x8a6b))/0x4+parseInt(_0x450571(0x9d5c))/0x5*(parseInt(_0x450571(0x64c3))/0x6)+-parseInt(_0x450571(0xcc5d))/0x7+-parseInt(_0x450571(0x124d5))/0x8*(parseInt(_0x450571(0x7f2c))/0x9)+-parseInt(_0x450571(0xc601))/0xa*(parseInt(_0x450571(0xb33a))/0xb);if(_0x2da692===_0x3eaadd)break;else _0x46704d['push'](_0x46704d['shift']());}catch(_0x5c25b3){_0x46704d['push'](_0x46704d['shift']());}}}(_0x2854,0x51567),(function(_0x2f3480,_0x3fb59a){const _0x58a096=_0x31cb,_0x12e9a8={'cnhiJ':function(_0x1f37fd,_0x5af66e){return _0x1f37fd+_0x5af66e;},'PnoIu':function(_0x335c1d,_0x51a508){return _0x335c1d/_0x51a508;},'Kscii':function(_0x3b4d79,_0x4919fa){return _0x3b4d79(_0x4919fa);},'JWRaU':function(_0x29db1c,_0x2fd84e){return _0x29db1c(_0x2fd84e);},'XBzVb':function(_0x42ff41,_0xa2cf09){return _0x42ff41*_0xa2cf09;},'jujCR':function(_0xad690d,_0x3d33c5){return _0xad690d(_0x3d33c5);},'MbBYy':function(_0x34c31a,_0x31f30f){return _0x34c31a(_0x31f30f);},'RNvTY':function(_0x4fc1b2,_0x2477ce){return _0x4fc1b2(_0x2477ce);},'ePucJ':function(_0x5e5881,_0x82239e){return _0x5e5881/_0x82239e;},'rWacQ':function(_0x412b60,_0x3b5a4d){return _0x412b60(_0x3b5a4d);},'hKPaR':function(_0xd247c0,_0x4af46c){return _0xd247c0(_0x4af46c);},'fHvHb':function(_0x2296ba,_0xff4cc){return _0x2296ba(_0xff4cc);},'tWwUo':function(_0x5d7068,_0x4d5129){return _0x5d7068(_0x4d5129);},'ZBkXK':function(_0x35f30b,_0x4096fe){return _0x35f30b===_0x4096fe;},'UsQXy':_0x58a096(0xca69),'DpVIi':_0x58a096(0x58bc)},_0x106fb8=_0x3685,_0x53c231=_0x2f3480();while(!![]){try{const _0x3c6447=_0x12e9a8[_0x58a096(0x3aca)](_0x12e9a8[_0x58a096(0x3aca)](_0x12e9a8[_0x58a096(0x3aca)](_0x12e9a8[_0x58a096(0x4cdd)](-_0x12e9a8[_0x58a096(0xddff)](parseInt,_0x12e9a8['JWRaU'](_0x106fb8,0x2fc3)),0x1),_0x12e9a8[_0x58a096(0x104d1)](-_0x12e9a8[_0x58a096(0xddff)](parseInt,_0x12e9a8['JWRaU'](_0x106fb8,0x34b5))/0x2,_0x12e9a8[_0x58a096(0x4cdd)](-_0x12e9a8[_0x58a096(0xddff)](parseInt,_0x106fb8(0x4135)),0x3)))+_0x12e9a8[_0x58a096(0x4cdd)](-parseInt(_0x12e9a8['jujCR'](_0x106fb8,0x35f0)),0x4)+_0x12e9a8[_0x58a096(0x4cdd)](-_0x12e9a8[_0x58a096(0x2883)](parseInt,_0x12e9a8['RNvTY'](_0x106fb8,0x5e4)),0x5),_0x12e9a8[_0x58a096(0x104d1)](_0x12e9a8['ePucJ'](-parseInt(_0x12e9a8[_0x58a096(0x8e08)](_0x106fb8,0x2aa6)),0x6),-parseInt(_0x12e9a8[_0x58a096(0xe9da)](_0x106fb8,0x5d68))/0x7)),_0x12e9a8['ePucJ'](-_0x12e9a8[_0x58a096(0x53f)](parseInt,_0x106fb8(0x2ab4)),0x8))+_0x12e9a8[_0x58a096(0x104d1)](_0x12e9a8[_0x58a096(0x53f)](parseInt,_0x12e9a8[_0x58a096(0x7160)](_0x106fb8,0x178c))/0x9,_0x12e9a8[_0x58a096(0x4cdd)](_0x12e9a8[_0x58a096(0x3b92)](parseInt,_0x12e9a8[_0x58a096(0x3b92)](_0x106fb8,0x5425)),0xa));if(_0x12e9a8['ZBkXK'](_0x3c6447,_0x3fb59a))break;else _0x53c231['push'](_0x53c231[_0x12e9a8[_0x58a096(0x1900)]]());}catch(_0x1b20d3){_0x53c231[_0x12e9a8['DpVIi']](_0x53c231[_0x12e9a8[_0x58a096(0x1900)]]());}}}(_0x221b,0x5ab78),(function(_0x3f4964,_0x2a5e07){const _0x272551=_0x31cb,_0x54942d={'fIewB':function(_0x3f10e9){return _0x3f10e9();},'cRzao':function(_0x83ebf3,_0x45e63c){return _0x83ebf3+_0x45e63c;},'dNuaN':function(_0x4e9e17,_0x5ebe2c){return _0x4e9e17(_0x5ebe2c);},'IqPWT':function(_0x101ab3,_0x1d5fe6){return _0x101ab3/_0x1d5fe6;},'NsaRb':function(_0x357af9,_0x389866){return _0x357af9*_0x389866;},'NAHGp':function(_0x22ad8a,_0x2f61c6){return _0x22ad8a===_0x2f61c6;},'jGHDO':_0x272551(0x58bc),'nQXFK':_0x272551(0xca69),'XDtAK':function(_0x429657,_0x5ec6c5){return _0x429657(_0x5ec6c5);},'bDADF':function(_0xa331e5,_0xd543b3){return _0xa331e5(_0xd543b3);},'ouGSv':function(_0x3f803c,_0x4d8a3f){return _0x3f803c(_0x4d8a3f);},'yDGFc':function(_0x17d559,_0x4770d5){return _0x17d559/_0x4770d5;},'UlSEW':_0x272551(0xe959),'uIDIs':function(_0x562179,_0x1f4c4f){return _0x562179(_0x1f4c4f);},'MTYnx':function(_0x3c297c,_0x768e29){return _0x3c297c(_0x768e29);},'pqnhE':'RNBBn','qoxNS':function(_0x384c0b,_0x13fcd0){return _0x384c0b(_0x13fcd0);},'dBpiV':function(_0x36929b,_0x16a4f9){return _0x36929b(_0x16a4f9);},'wfpfp':function(_0x273dd5,_0x494379){return _0x273dd5(_0x494379);},'XFxnQ':function(_0x3ff21e,_0x50fa3b){return _0x3ff21e(_0x50fa3b);},'SHetw':'PQeDS','UHOOG':function(_0x388737,_0x4b3fb5){return _0x388737(_0x4b3fb5);},'pkHXk':function(_0x1f9ead,_0x3f26c5){return _0x1f9ead(_0x3f26c5);},'VbIaw':function(_0x39be6e,_0x509397){return _0x39be6e(_0x509397);},'sMOsR':function(_0xdc0321,_0x2cf6a0){return _0xdc0321(_0x2cf6a0);},'kmPxr':function(_0x3c6c5a,_0x2d0054){return _0x3c6c5a(_0x2d0054);}},_0x8508f7=_0x3685,_0xea5aa7={'aWimB':function(_0x36f5e7){const _0x51e0ba=_0x272551;return _0x54942d[_0x51e0ba(0xa081)](_0x36f5e7);},'HWMxo':function(_0xb95006,_0x215c7c){return _0xb95006+_0x215c7c;},'jlBap':function(_0x1ea0c8,_0x417a30){return _0x54942d['cRzao'](_0x1ea0c8,_0x417a30);},'OlAja':function(_0x267541,_0x34dc63){returLine truncated
|
||||
@@ -1 +1 @@
|
||||
(function(_0x23c65a,_0x44ce6f){var _0x1a583c=_0x28b2,_0x51e2c4=_0x23c65a();while(!![]){try{var _0x26ed71=parseInt(_0x1a583c(0x92))/0x1*(-parseInt(_0x1a583c(0x91))/0x2)+-parseInt(_0x1a583c(0x93))/0x3*(-parseInt(_0x1a583c(0x97))/0x4)+-parseInt(_0x1a583c(0x9a))/0x5+parseInt(_0x1a583c(0x95))/0x6*(-parseInt(_0x1a583c(0x94))/0x7)+parseInt(_0x1a583c(0x9c))/0x8+-parseInt(_0x1a583c(0x96))/0x9*(parseInt(_0x1a583c(0x98))/0xa)+-parseInt(_0x1a583c(0x99))/0xb*(-parseInt(_0x1a583c(0x9b))/0xc);if(_0x26ed71===_0x44ce6f)break;else _0x51e2c4['push'](_0x51e2c4['shift']());}catch(_0x4847ee){_0x51e2c4['push'](_0x51e2c4['shift']());}}}(_0x2706,0x79d2e));function _0x28b2(_0x3c52d7,_0x42126b){var _0x2706b2=_0x2706();return _0x28b2=function(_0x28b279,_0x4b9667){_0x28b279=_0x28b279-0x91;var _0x4b55e6=_0x2706b2[_0x28b279];return _0x4b55e6;},_0x28b2(_0x3c52d7,_0x42126b);}import _0x700126 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';function _0x2706(){var _0xb85847=['4490704JohuyB','308474jSXksG','5NxNPMz','2038695zXgYCs','1069887kxsDvN','12UqjzVW','1476Tvuwxr','4tEZZcK','15490zmPfHK','15310603sQWQfS','4014415nvPdmt','12wFFKwz'];_0x2706=function(){return _0xb85847;};return _0x2706();}export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x700126 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
||||
(function(_0x203930,_0x4feede){var _0x827b9b=_0x4e1d,_0x1e5f63=_0x203930();while(!![]){try{var _0x20d07e=parseInt(_0x827b9b(0x1d7))/0x1+parseInt(_0x827b9b(0x1d5))/0x2*(-parseInt(_0x827b9b(0x1d3))/0x3)+-parseInt(_0x827b9b(0x1d9))/0x4+-parseInt(_0x827b9b(0x1d4))/0x5*(parseInt(_0x827b9b(0x1db))/0x6)+parseInt(_0x827b9b(0x1dd))/0x7*(parseInt(_0x827b9b(0x1d8))/0x8)+-parseInt(_0x827b9b(0x1d6))/0x9+parseInt(_0x827b9b(0x1da))/0xa*(parseInt(_0x827b9b(0x1dc))/0xb);if(_0x20d07e===_0x4feede)break;else _0x1e5f63['push'](_0x1e5f63['shift']());}catch(_0x3e18bf){_0x1e5f63['push'](_0x1e5f63['shift']());}}}(_0x4475,0xee377));import _0x1a2eb7 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x1a2eb7 as Wrapper};function _0x4475(){var _0x23a7a9=['4090004suroYd','3156870OSmIPg','2070yRdbtj','33Ygiccc','28iIUvNl','6mCmOsB','8130iolLOb','274118SoJlFr','4433472pJbsKm','1267439hbtveV','2222864omUtRh'];_0x4475=function(){return _0x23a7a9;};return _0x4475();}export*as WrapperInterface from'./wrapper';function _0x4e1d(_0x43864e,_0xae9152){var _0x447577=_0x4475();return _0x4e1d=function(_0x4e1d66,_0x11b9bd){_0x4e1d66=_0x4e1d66-0x1d3;var _0x4c8b21=_0x447577[_0x4e1d66];return _0x4c8b21;},_0x4e1d(_0x43864e,_0xae9152);}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
|
||||
@@ -1 +1 @@
|
||||
var _0x1a9f4e=_0x3662;function _0x3662(_0x11ea83,_0x38ff42){var _0x328dc6=_0x328d();return _0x3662=function(_0x3662e5,_0xef9a1f){_0x3662e5=_0x3662e5-0x1ae;var _0x1a5348=_0x328dc6[_0x3662e5];return _0x1a5348;},_0x3662(_0x11ea83,_0x38ff42);}(function(_0x579fd7,_0x1023c1){var _0x46c8b5=_0x3662,_0xdb2e27=_0x579fd7();while(!![]){try{var _0x28ee42=parseInt(_0x46c8b5(0x1c4))/0x1+parseInt(_0x46c8b5(0x1c3))/0x2+-parseInt(_0x46c8b5(0x1c1))/0x3+-parseInt(_0x46c8b5(0x1b4))/0x4+parseInt(_0x46c8b5(0x1bc))/0x5+parseInt(_0x46c8b5(0x1af))/0x6*(parseInt(_0x46c8b5(0x1b7))/0x7)+-parseInt(_0x46c8b5(0x1b3))/0x8*(parseInt(_0x46c8b5(0x1b6))/0x9);if(_0x28ee42===_0x1023c1)break;else _0xdb2e27['push'](_0xdb2e27['shift']());}catch(_0x3cd411){_0xdb2e27['push'](_0xdb2e27['shift']());}}}(_0x328d,0x3ef20));export class BuddyListener{[_0x1a9f4e(0x1b5)](_0x36693c){}[_0x1a9f4e(0x1ae)](_0x31d5ea){}[_0x1a9f4e(0x1c2)](_0x50dfd3){}[_0x1a9f4e(0x1b8)](_0x2b44dc){}[_0x1a9f4e(0x1b2)](_0x2ed79a){}[_0x1a9f4e(0x1bf)](_0x1bca10){}['onBuddyListChange'](_0x199dc8){}[_0x1a9f4e(0x1bd)](_0x1ed383){}[_0x1a9f4e(0x1ba)](_0x3bca57){}[_0x1a9f4e(0x1b0)](_0x1c0c1e){}[_0x1a9f4e(0x1bb)](_0x2eeb5a){}[_0x1a9f4e(0x1be)](_0x4b823a){}[_0x1a9f4e(0x1c0)](_0x29051f){}[_0x1a9f4e(0x1b1)](_0x2b53b6){}['onNickUpdated'](_0x16ba9e){}['onSmartInfos'](_0x377fab){}[_0x1a9f4e(0x1b9)](_0x3b5575){}}function _0x328d(){var _0x5390fa=['onBlockChanged','onSpacePermissionInfos','onBuddyReqChange','onCheckBuddySettingResult','2008910zMvBiC','onBuddyRemarkUpdated','onDelBatchBuddyInfos','onBuddyInfoChange','onDoubtBuddyReqChange','432993lsDptw','onAvatarUrlUpdated','747018tdwjes','374533ZQFUVa','onAddMeSettingChanged','2556jdBQyh','onBuddyReqUnreadCntChange','onDoubtBuddyReqUnreadNumChange','onBuddyDetailInfoChange','16vriZbp','1739620oPYzBM','onAddBuddyNeedVerify','2737836CXJwjc','4858nnECgx'];_0x328d=function(){return _0x5390fa;};return _0x328d();}
|
||||
var _0x1ceee4=_0x70da;function _0x1daa(){var _0x2c63a3=['756620zUuWpS','onBuddyListChange','321034GkXzSV','10068rPbwDl','onAvatarUrlUpdated','424oGqBlc','1561mHuTPB','onBuddyInfoChange','onBuddyDetailInfoChange','756785ffoQgK','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','11qKGnJw','onBuddyRemarkUpdated','16JrDLxu','onBuddyReqChange','onAddMeSettingChanged','onAddBuddyNeedVerify','onCheckBuddySettingResult','32514LtYFtB','onSpacePermissionInfos','8329617AXosCG','1375796yFsLsu','onNickUpdated'];_0x1daa=function(){return _0x2c63a3;};return _0x1daa();}(function(_0xe69809,_0x3509ec){var _0x599941=_0x70da,_0x137e9b=_0xe69809();while(!![]){try{var _0x1c1266=parseInt(_0x599941(0x7d))/0x1+-parseInt(_0x599941(0x79))/0x2+parseInt(_0x599941(0x76))/0x3*(-parseInt(_0x599941(0x80))/0x4)+parseInt(_0x599941(0x6c))/0x5+-parseInt(_0x599941(0x7e))/0x6*(-parseInt(_0x599941(0x81))/0x7)+-parseInt(_0x599941(0x71))/0x8*(-parseInt(_0x599941(0x78))/0x9)+-parseInt(_0x599941(0x7b))/0xa*(-parseInt(_0x599941(0x6f))/0xb);if(_0x1c1266===_0x3509ec)break;else _0x137e9b['push'](_0x137e9b['shift']());}catch(_0x5ad225){_0x137e9b['push'](_0x137e9b['shift']());}}}(_0x1daa,0xe4a63));function _0x70da(_0x286dce,_0x5b432f){var _0x1daa5b=_0x1daa();return _0x70da=function(_0x70da04,_0x168758){_0x70da04=_0x70da04-0x6a;var _0x245906=_0x1daa5b[_0x70da04];return _0x245906;},_0x70da(_0x286dce,_0x5b432f);}export class BuddyListener{[_0x1ceee4(0x74)](_0x1e3252){}[_0x1ceee4(0x73)](_0x44d23b){}[_0x1ceee4(0x7f)](_0x41e459){}['onBlockChanged'](_0x428baa){}[_0x1ceee4(0x6b)](_0x53a6b9){}[_0x1ceee4(0x6a)](_0x5ef9d5){}[_0x1ceee4(0x7c)](_0x46b1cd){}[_0x1ceee4(0x70)](_0x2b3dc6){}[_0x1ceee4(0x72)](_0x2685d5){}[_0x1ceee4(0x6d)](_0x8e2e07){}[_0x1ceee4(0x75)](_0x310545){}['onDelBatchBuddyInfos'](_0x64edbb){}[_0x1ceee4(0x6e)](_0x4a60b0){}['onDoubtBuddyReqUnreadNumChange'](_0x39fc34){}[_0x1ceee4(0x7a)](_0x178602){}['onSmartInfos'](_0xc6150a){}[_0x1ceee4(0x77)](_0x569c07){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x332c89=_0x2a5e;function _0x2a5e(_0x1dec9a,_0x4eda47){var _0x1a776e=_0x1a77();return _0x2a5e=function(_0x2a5e1f,_0x198c0e){_0x2a5e1f=_0x2a5e1f-0x158;var _0x4ae441=_0x1a776e[_0x2a5e1f];return _0x4ae441;},_0x2a5e(_0x1dec9a,_0x4eda47);}(function(_0x1c01bf,_0x484542){var _0x42ff64=_0x2a5e,_0x457d30=_0x1c01bf();while(!![]){try{var _0x1df823=-parseInt(_0x42ff64(0x162))/0x1*(-parseInt(_0x42ff64(0x15e))/0x2)+parseInt(_0x42ff64(0x163))/0x3*(-parseInt(_0x42ff64(0x166))/0x4)+-parseInt(_0x42ff64(0x164))/0x5*(parseInt(_0x42ff64(0x15c))/0x6)+-parseInt(_0x42ff64(0x159))/0x7*(-parseInt(_0x42ff64(0x158))/0x8)+-parseInt(_0x42ff64(0x167))/0x9*(parseInt(_0x42ff64(0x15d))/0xa)+-parseInt(_0x42ff64(0x15f))/0xb+parseInt(_0x42ff64(0x15b))/0xc;if(_0x1df823===_0x484542)break;else _0x457d30['push'](_0x457d30['shift']());}catch(_0x26fbba){_0x457d30['push'](_0x457d30['shift']());}}}(_0x1a77,0x72343));function _0x1a77(){var _0x6cb7ea=['45647NaLJmQ','onFileListChanged','4639548pyVqRm','1956444LesXML','1029240awueMX','162086IeeFpU','7713266ALjzee','onSessionListChanged','onFileSearch','7fytasu','6pcuZtt','5jYRdFA','onSessionChanged','446480GkOKxh','9WViBgv','1064DyezKi'];_0x1a77=function(){return _0x6cb7ea;};return _0x1a77();}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x22f874){}[_0x332c89(0x160)](..._0x5803c8){}[_0x332c89(0x165)](..._0x45d3f1){}[_0x332c89(0x15a)](..._0x3dff32){}[_0x332c89(0x161)](..._0x1d8abc){}}
|
||||
var _0x46248e=_0x3bbb;function _0x3bbb(_0x193452,_0x4e20bf){var _0x539609=_0x5396();return _0x3bbb=function(_0x3bbb7b,_0x162a7e){_0x3bbb7b=_0x3bbb7b-0xeb;var _0x152c6a=_0x539609[_0x3bbb7b];return _0x152c6a;},_0x3bbb(_0x193452,_0x4e20bf);}function _0x5396(){var _0x5a971a=['11diiZuf','onFileListChanged','568tgEavs','2IjBZCp','25949XoKeDq','276580ZwRMEO','66jImqME','48726YXSreT','1329567BECOrn','1860330lCMBZX','onSessionListChanged','12335170TybXxq','onFileSearch','onSessionChanged','1696940fBrnHw'];_0x5396=function(){return _0x5a971a;};return _0x5396();}(function(_0x17d7b7,_0x3268fc){var _0x46fe78=_0x3bbb,_0x35eba6=_0x17d7b7();while(!![]){try{var _0xe3a064=-parseInt(_0x46fe78(0xeb))/0x1+parseInt(_0x46fe78(0xf8))/0x2*(-parseInt(_0x46fe78(0xee))/0x3)+parseInt(_0x46fe78(0xf4))/0x4+-parseInt(_0x46fe78(0xef))/0x5+-parseInt(_0x46fe78(0xec))/0x6*(-parseInt(_0x46fe78(0xf9))/0x7)+-parseInt(_0x46fe78(0xf7))/0x8*(parseInt(_0x46fe78(0xed))/0x9)+-parseInt(_0x46fe78(0xf1))/0xa*(-parseInt(_0x46fe78(0xf5))/0xb);if(_0xe3a064===_0x3268fc)break;else _0x35eba6['push'](_0x35eba6['shift']());}catch(_0x27b401){_0x35eba6['push'](_0x35eba6['shift']());}}}(_0x5396,0x3645c));export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x1f7fb2){}[_0x46248e(0xf0)](..._0x14582f){}[_0x46248e(0xf3)](..._0x2d8c4){}[_0x46248e(0xf6)](..._0x21bad0){}[_0x46248e(0xf2)](..._0x21b4d0){}}
|
||||
@@ -2,7 +2,7 @@ import { Group, GroupMember, GroupNotify } from '@/core/entities';
|
||||
interface IGroupListener {
|
||||
onGroupListUpdate(updateType: number, groupList: Group[]): void;
|
||||
onGroupExtListUpdate(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void;
|
||||
onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void;
|
||||
onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void;
|
||||
onGroupDetailInfoChange(...args: unknown[]): void;
|
||||
@@ -50,7 +50,7 @@ export declare class GroupListener implements IGroupListener {
|
||||
onGroupNotifiesUpdated(dboubt: boolean, notifies: GroupNotify[]): void;
|
||||
onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void;
|
||||
onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void;
|
||||
onGroupsMsgMaskResult(...args: unknown[]): void;
|
||||
onGroupStatisticInfoChange(...args: unknown[]): void;
|
||||
onJoinGroupNotify(...args: unknown[]): void;
|
||||
@@ -82,7 +82,7 @@ export declare class DebugGroupListener implements IGroupListener {
|
||||
onGroupNotifiesUpdated(...args: unknown[]): void;
|
||||
onGroupBulletinRichMediaProgressUpdate(...args: unknown[]): void;
|
||||
onGroupNotifiesUnreadCountUpdated(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(...args: unknown[]): void;
|
||||
onGroupSingleScreenNotifies(doubt: boolean, seq: string, notifies: GroupNotify[]): void;
|
||||
onGroupsMsgMaskResult(...args: unknown[]): void;
|
||||
onGroupStatisticInfoChange(...args: unknown[]): void;
|
||||
onJoinGroupNotify(...args: unknown[]): void;
|
||||
|
||||
@@ -1 +1 @@
|
||||
function _0x5e49(){var _0xc12094=['363779GIAzzs','onMemberInfoChange:','3537AynSCF','onSearchMemberChange:','2208965idJxQM','onGroupsMsgMaskResult:','onJoinGroupNotify','NfSRe','onGroupExtListUpdate','4122zVtFIH','onGroupStatisticInfoChange','onGetGroupBulletinListResult','374169vWfrDT','onGroupBulletinChange','onGroupBulletinChange:','onGroupBulletinRichMediaDownloadComplete','2LLSmjZ','OFHfF','onJoinGroupNoVerifyFlag:','onGroupExtListUpdate:','onMemberInfoChange','135IcRRil','ofUan','onGroupBulletinRichMediaProgressUpdate','onMemberListChange:','wEFSs','JGRLh','13860vWxKtM','eDPqu','onGroupBulletinRemindNotify:','onJoinGroupNoVerifyFlag','onGroupArkInviteStateResult:','onGroupSingleScreenNotifies:','onGroupConfMemberChange:','onGroupAllInfoChange','onGroupDetailInfoChange:','6710TkUQer','onGetGroupBulletinListResult:','tKUdR','onShutUpMemberListChanged:','onGroupNotifiesUnreadCountUpdated','onSearchMemberChange','208EtrDQl','onGroupNotifiesUpdated','onShutUpMemberListChanged','eCZQQ','onGroupStatisticInfoChange:','onGroupMemberLevelInfoChange:','onGroupConfMemberChange','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult','onGroupArkInviteStateResult','onGroupListUpdate','onGroupNotifiesUnreadCountUpdated:','onJoinGroupNotify:','onGroupListUpdate:','koixj','onGroupBulletinRemindNotify','onGroupSingleScreenNotifies','log','onGroupBulletinRichMediaProgressUpdate:','onMemberListChange','yPgbG','kwVma','357376kCehaa'];_0x5e49=function(){return _0xc12094;};return _0x5e49();}var _0x256258=_0x4365;function _0x4365(_0x316029,_0x325710){var _0x5e4959=_0x5e49();return _0x4365=function(_0x436503,_0x357e30){_0x436503=_0x436503-0xc0;var _0x24de2f=_0x5e4959[_0x436503];return _0x24de2f;},_0x4365(_0x316029,_0x325710);}(function(_0x53a0c,_0x5a6eae){var _0x419330=_0x4365,_0x3064c9=_0x53a0c();while(!![]){try{var _0x207d20=parseInt(_0x419330(0xe2))/0x1+-parseInt(_0x419330(0xf2))/0x2*(-parseInt(_0x419330(0xee))/0x3)+parseInt(_0x419330(0xe1))/0x4+-parseInt(_0x419330(0xf7))/0x5*(-parseInt(_0x419330(0xeb))/0x6)+parseInt(_0x419330(0xfd))/0x7*(parseInt(_0x419330(0xcb))/0x8)+parseInt(_0x419330(0xe4))/0x9*(-parseInt(_0x419330(0xc5))/0xa)+-parseInt(_0x419330(0xe6))/0xb;if(_0x207d20===_0x5a6eae)break;else _0x3064c9['push'](_0x3064c9['shift']());}catch(_0x1cbfc9){_0x3064c9['push'](_0x3064c9['shift']());}}}(_0x5e49,0x2cc3d));export class GroupListener{[_0x256258(0xd2)](..._0x936a0a){}[_0x256258(0xed)](..._0x2d2b49){}[_0x256258(0xc3)](..._0x297c98){}[_0x256258(0xef)](..._0x4b1ed6){}[_0x256258(0xda)](..._0x58ad65){}['onGroupArkInviteStateResult'](..._0x519ba8){}[_0x256258(0xf1)](..._0x3f2893){}[_0x256258(0xd1)](..._0x282332){}['onGroupDetailInfoChange'](..._0x1403d6){}[_0x256258(0xea)](..._0x117c0c){}['onGroupFirstBulletinNotify'](..._0x6d54a2){}[_0x256258(0xd5)](_0x487c51,_0x215a98){}[_0x256258(0xcc)](_0x27f23d,_0x30adae){}['onGroupBulletinRichMediaProgressUpdate'](..._0x470988){}[_0x256258(0xc9)](..._0x544bd4){}[_0x256258(0xdb)](..._0x4af11e){}['onGroupsMsgMaskResult'](..._0x153a3f){}[_0x256258(0xec)](..._0x390d96){}[_0x256258(0xe8)](..._0xb9c440){}[_0x256258(0x100)](..._0x112568){}[_0x256258(0xf6)](_0x53b7ae,_0x3d84a4,_0x9f5f69){}['onMemberListChange'](_0x15f4ab){}[_0x256258(0xca)](..._0x4bc1c9){}['onShutUpMemberListChanged'](..._0x417928){}}export class DebugGroupListener{[_0x256258(0xd2)](..._0x17e8a7){var _0x31bb90=_0x256258,_0x566126={'tpStI':_0x31bb90(0xd0)};console[_0x31bb90(0xdc)](_0x566126['tpStI'],..._0x17e8a7);}[_0x256258(0xed)](..._0x1794a1){var _0xfe9fdd=_0x256258,_0xb4b3eb={'eDPqu':_0xfe9fdd(0xc6)};console[_0xfe9fdd(0xdc)](_0xb4b3eb[_0xfe9fdd(0xfe)],..._0x1794a1);}['onGroupAllInfoChange'](..._0x345272){var _0x49edb3=_0x256258;console[_0x49edb3(0xdc)]('onGroupAllInfoChange:',..._0x345272);}['onGroupBulletinChange'](..._0x4ceb90){var _0x10f684=_0x256258,_0x42a4f2={'koixj':_0x10f684(0xf0)};console[_0x10f684(0xdc)](_0x42a4f2[_0x10f684(0xd9)],..._0x4ceb90);}['onGroupBulletinRemindNotify'](..._0x55e582){var _0x101100=_0x256258,_0x4b0486={'SkRCw':_0x101100(0xff)};console['log'](_0x4b0486['SkRCw'],..._0x55e582);}[_0x256258(0xd4)](..._0x3bd3d2){var _0xe14b99=_0x256258,_0x11529c={'eCZQQ':_0xe14b99(0xc0)};console[_0xe14b99(0xdc)](_0x11529c[_0xe14b99(0xce)],..._0x3bd3d2);}['onGroupBulletinRichMediaDownloadComplete'](..._0x70a982){console['log']('onGroupBulletinRichMediaDownloadComplete:',..._0x70a982);}[_0x256258(0xd1)](..._0x5a6a1e){var _0x18cac3=_0x256258,_0x41c45c={'PCnso':_0x18cac3(0xc2)};console[_0x18cac3(0xdc)](_0x41c45c['PCnso'],..._0x5a6a1e);}['onGroupDetailInfoChange'](..._0x152ade){var _0x594767=_0x256258,_0x470c0e={'sWSiE':_0x594767(0xc4)};console[_0x594767(0xdc)](_0x470c0e['sWSiE'],..._0x152ade);}['onGroupExtListUpdate'](..._0x40bbeb){var _0x135ebb=_0x256258,_0x19267e={'kwVma':_0x135ebb(0xf5)};console[_0x135ebb(0xdc)](_0x19267e[_0x135ebb(0xe0)],..._0x40bbeb);}['onGroupFirstBulletinNotify'](..._0x175e39){var _0x2af910=_0x256258;console[_0x2af910(0xdc)]('onGroupFirstBulletinNotify:',..._0x175e39);}[_0x256258(0xd5)](..._0xLine truncated
|
||||
function _0x492d(){var _0x108b1d=['79562yqZYaV','275891hDiRTW','onJoinGroupNotify','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated:','onGroupNotifiesUpdated:','htfTQ','onJoinGroupNoVerifyFlag:','xrmIN','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','onGroupListUpdate','GVrRo','onGroupMemberLevelInfoChange:','log','onGroupExtListUpdate','onSearchMemberChange','onGroupAllInfoChange:','onJoinGroupNotify:','392neweaz','onGroupMemberLevelInfoChange','NSkKx','346958OTrNaW','onMemberInfoChange:','76731rSovNh','onGroupBulletinChange','onGroupArkInviteStateResult','onGroupBulletinRemindNotify','onGroupStatisticInfoChange','60liIsYZ','2555340rdBGit','40pAmaJi','onShutUpMemberListChanged','YvMWo','onGroupExtListUpdate:','ALlEB','onGroupStatisticInfoChange:','543464fiUVnj','onGroupBulletinRemindNotify:','onGroupBulletinRichMediaDownloadComplete','onGroupsMsgMaskResult:','onMemberListChange','onGroupFirstBulletinNotify:','onGroupBulletinRichMediaProgressUpdate','onGetGroupBulletinListResult','onGroupNotifiesUnreadCountUpdated','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','JhEVb','ugYGf','1468452wTFeOX','wrYsP','onSearchMemberChange:','18PfnBSj','AOhlf','onGroupDetailInfoChange','onGroupAllInfoChange','onGroupArkInviteStateResult:','5gafYlx','onGroupFirstBulletinNotify','onGroupBulletinChange:','onGroupNotifiesUpdated','onMemberInfoChange'];_0x492d=function(){return _0x108b1d;};return _0x492d();}var _0x14db9a=_0x509c;function _0x509c(_0x143525,_0x1546ec){var _0x492d77=_0x492d();return _0x509c=function(_0x509c1a,_0x407eec){_0x509c1a=_0x509c1a-0x65;var _0x5bd242=_0x492d77[_0x509c1a];return _0x5bd242;},_0x509c(_0x143525,_0x1546ec);}(function(_0x4a1bc8,_0x2213b1){var _0x31762d=_0x509c,_0x1bb676=_0x4a1bc8();while(!![]){try{var _0x39849b=-parseInt(_0x31762d(0x89))/0x1+-parseInt(_0x31762d(0x92))/0x2*(-parseInt(_0x31762d(0x8b))/0x3)+-parseInt(_0x31762d(0x98))/0x4+parseInt(_0x31762d(0x6e))/0x5*(parseInt(_0x31762d(0x66))/0x6)+-parseInt(_0x31762d(0x73))/0x7*(parseInt(_0x31762d(0x86))/0x8)+-parseInt(_0x31762d(0x69))/0x9*(-parseInt(_0x31762d(0x91))/0xa)+parseInt(_0x31762d(0x74))/0xb*(parseInt(_0x31762d(0x90))/0xc);if(_0x39849b===_0x2213b1)break;else _0x1bb676['push'](_0x1bb676['shift']());}catch(_0xdce6c5){_0x1bb676['push'](_0x1bb676['shift']());}}}(_0x492d,0x562e5));export class GroupListener{[_0x14db9a(0x87)](..._0xf25a1f){}[_0x14db9a(0x9f)](..._0x1194b4){}[_0x14db9a(0x6c)](..._0x2b133c){}['onGroupBulletinChange'](..._0x3ba631){}[_0x14db9a(0x8e)](..._0x380f74){}[_0x14db9a(0x8d)](..._0x374fec){}[_0x14db9a(0x9a)](..._0x4d76aa){}[_0x14db9a(0x7d)](..._0x41a1f3){}[_0x14db9a(0x6b)](..._0x350cb3){}[_0x14db9a(0x82)](..._0x11a764){}[_0x14db9a(0x6f)](..._0x3ab36e){}[_0x14db9a(0x7e)](_0x44337d,_0x1ce97b){}['onGroupNotifiesUpdated'](_0x510073,_0x52ae45){}[_0x14db9a(0x9e)](..._0x545874){}['onGroupNotifiesUnreadCountUpdated'](..._0x1476a3){}[_0x14db9a(0xa1)](_0xe5f76d,_0x57259b,_0x3be97e){}['onGroupsMsgMaskResult'](..._0x245f95){}[_0x14db9a(0x8f)](..._0x2cc60a){}[_0x14db9a(0x75)](..._0x4a1a5a){}[_0x14db9a(0x7c)](..._0x1273a4){}[_0x14db9a(0x72)](_0x450596,_0x25a7ed,_0x36b65e){}['onMemberListChange'](_0x1dfbd3){}['onSearchMemberChange'](..._0x2933f3){}['onShutUpMemberListChanged'](..._0x152e00){}}export class DebugGroupListener{[_0x14db9a(0x87)](..._0x559525){var _0x25fb22=_0x14db9a;console['log'](_0x25fb22(0x80),..._0x559525);}['onGetGroupBulletinListResult'](..._0x697233){console['log']('onGetGroupBulletinListResult:',..._0x697233);}[_0x14db9a(0x6c)](..._0x12a1bc){var _0x219c2c=_0x14db9a,_0x17cab1={'OcVCr':_0x219c2c(0x84)};console[_0x219c2c(0x81)](_0x17cab1['OcVCr'],..._0x12a1bc);}[_0x14db9a(0x8c)](..._0x4b1fd5){var _0x45403e=_0x14db9a,_0x527e01={'JhEVb':_0x45403e(0x70)};console['log'](_0x527e01[_0x45403e(0xa3)],..._0x4b1fd5);}[_0x14db9a(0x8e)](..._0x12ac2b){var _0x5537d9=_0x14db9a,_0x10e709={'YvMWo':_0x5537d9(0x99)};console[_0x5537d9(0x81)](_0x10e709[_0x5537d9(0x94)],..._0x12ac2b);}[_0x14db9a(0x8d)](..._0x2a04f4){var _0x3f6d11=_0x14db9a,_0x342e6f={'ALlEB':_0x3f6d11(0x6d)};console['log'](_0x342e6f[_0x3f6d11(0x96)],..._0x2a04f4);}[_0x14db9a(0x9a)](..._0x39e09b){var _0x5122ff={'anMXD':'onGroupBulletinRichMediaDownloadComplete:'};console['log'](_0x5122ff['anMXD'],..._0x39e09b);}[_0x14db9a(0x7d)](..._0x4a7128){var _0x34273a=_0x14db9a;console['log'](_0x34273a(0x76),..._0x4a7128);}[_0x14db9a(0x6b)](..._0x4e3037){var _0x4ff6cd=_0x14db9a,_0x56037d={'ugYGf':'onGroupDetailInfoChange:'};console[_0x4ff6cd(0x81)](_0x56037d[_0x4ff6cd(0x65)],..._0x4e3037);}[_0x14db9a(0x82)](..._0x13ceef){var _0x4eee3d=_0x14db9a,_0x2a4cbb={'htfTQ':_0x4eee3d(0x95)};console['log'](_0x2a4cbb[_0x4eee3d(0x79)],..._0x13ceef);}[_0x14db9a(0x6f)](..._0x36d87a){var _0x286581=_0x14db9a,_0x49d580={'AOhlf':_0x286581(0x9d)};console['log'](_0x49d580[_0x286581(0x6a)],..._0x36d87a);}[_0x14db9a(0x7e)](..._0x53e161){var _0x29d1c4=_0x14db9a,_0x36c3d1={'YnyAi':'onGroupListUpdate:'};console[_0x29d1c4(0x81)](_0x36c3d1['YnyAi'],..._0x53e161);}[_0x14db9a(0x71)](..._0Line truncated
|
||||
@@ -1 +1 @@
|
||||
var _0xd5ea92=_0x1378;(function(_0x3682e3,_0x1950ba){var _0x48ff61=_0x1378,_0x1bf5fa=_0x3682e3();while(!![]){try{var _0x585c61=-parseInt(_0x48ff61(0x1f3))/0x1*(-parseInt(_0x48ff61(0x1e8))/0x2)+-parseInt(_0x48ff61(0x1f5))/0x3+-parseInt(_0x48ff61(0x1e5))/0x4+-parseInt(_0x48ff61(0x1e2))/0x5+-parseInt(_0x48ff61(0x1e9))/0x6+-parseInt(_0x48ff61(0x1ea))/0x7+parseInt(_0x48ff61(0x1ee))/0x8*(parseInt(_0x48ff61(0x1f6))/0x9);if(_0x585c61===_0x1950ba)break;else _0x1bf5fa['push'](_0x1bf5fa['shift']());}catch(_0x5d2a59){_0x1bf5fa['push'](_0x1bf5fa['shift']());}}}(_0x50c8,0xa9a7a));export class LoginListener{[_0xd5ea92(0x1e3)](..._0x3c9c6e){}[_0xd5ea92(0x1f2)](..._0xe2b022){}[_0xd5ea92(0x1f1)](..._0x43048d){}[_0xd5ea92(0x1e7)](_0x2c5bd4){}['onQRCodeLoginPollingStarted'](..._0x2bac83){}[_0xd5ea92(0x1e4)](..._0x36c8c0){}['onQRCodeLoginSucceed'](_0x410f3f){}[_0xd5ea92(0x1eb)](..._0x2da1eb){}['onLoginFailed'](..._0x547b30){}[_0xd5ea92(0x1e6)](..._0x5a6818){}['onLogoutFailed'](..._0x3e87da){}[_0xd5ea92(0x1f0)](..._0x333b4d){}[_0xd5ea92(0x1ed)](..._0xed56e2){}['onPasswordLoginFailed'](..._0x222710){}[_0xd5ea92(0x1ef)](..._0x161a7e){}[_0xd5ea92(0x1ec)](..._0x5d1e61){}[_0xd5ea92(0x1f4)](..._0x56bbbf){}}function _0x1378(_0x496e5d,_0x4ff6f8){var _0x50c8f9=_0x50c8();return _0x1378=function(_0x137856,_0x47c915){_0x137856=_0x137856-0x1e2;var _0x4cd60d=_0x50c8f9[_0x137856];return _0x4cd60d;},_0x1378(_0x496e5d,_0x4ff6f8);}function _0x50c8(){var _0x2c19f5=['2090859NLhjZQ','93033DSTadj','3662265StlDLm','onLoginConnected','onQRCodeSessionUserScaned','5387736SqXaYc','onLogoutSucceed','onQRCodeGetPicture','860468CWHbEh','3435138znhSuG','5457830jfAseT','onQRCodeSessionFailed','onQQLoginNumLimited','onQRCodeSessionQuickLoginFailed','3400GmaHmT','OnConfirmUnusualDeviceFailed','onUserLoggedIn','onLoginConnecting','onLoginDisConnected','1YfWDMA','onLoginState'];_0x50c8=function(){return _0x2c19f5;};return _0x50c8();}
|
||||
var _0x422c78=_0x1a73;function _0x1a73(_0x1b400d,_0x561f20){var _0x1d21b5=_0x1d21();return _0x1a73=function(_0x1a73b1,_0x255923){_0x1a73b1=_0x1a73b1-0x68;var _0x224796=_0x1d21b5[_0x1a73b1];return _0x224796;},_0x1a73(_0x1b400d,_0x561f20);}(function(_0x4ef417,_0x101518){var _0x2cf606=_0x1a73,_0x59da75=_0x4ef417();while(!![]){try{var _0x4c9fc9=-parseInt(_0x2cf606(0x6d))/0x1*(parseInt(_0x2cf606(0x71))/0x2)+parseInt(_0x2cf606(0x7b))/0x3*(parseInt(_0x2cf606(0x7a))/0x4)+parseInt(_0x2cf606(0x77))/0x5*(-parseInt(_0x2cf606(0x7f))/0x6)+parseInt(_0x2cf606(0x6f))/0x7*(-parseInt(_0x2cf606(0x69))/0x8)+-parseInt(_0x2cf606(0x72))/0x9*(-parseInt(_0x2cf606(0x80))/0xa)+-parseInt(_0x2cf606(0x70))/0xb*(-parseInt(_0x2cf606(0x7d))/0xc)+-parseInt(_0x2cf606(0x74))/0xd;if(_0x4c9fc9===_0x101518)break;else _0x59da75['push'](_0x59da75['shift']());}catch(_0x4e0649){_0x59da75['push'](_0x59da75['shift']());}}}(_0x1d21,0x18b83));function _0x1d21(){var _0x4abb57=['20myQmEc','onUserLoggedIn','onQRCodeLoginPollingStarted','8iRsavV','onLoginDisConnected','OnConfirmUnusualDeviceFailed','onQRCodeSessionUserScaned','20241vZELHN','onLoginConnected','1060871jiOwAX','652531YdbvZz','8kChqBQ','812493awNLqy','onPasswordLoginFailed','419692HPsdeE','onQRCodeGetPicture','onLoginFailed','873130NYAaRO','onLogoutSucceed','onLogoutFailed','212DMmNDD','10311HfXRRC','onLoginConnecting','36TVQADJ','onQRCodeSessionQuickLoginFailed','6XEWkPu'];_0x1d21=function(){return _0x4abb57;};return _0x1d21();}export class LoginListener{[_0x422c78(0x6e)](..._0x25807f){}[_0x422c78(0x6a)](..._0x23bace){}[_0x422c78(0x7c)](..._0x18b61a){}[_0x422c78(0x75)](_0xe9199f){}[_0x422c78(0x68)](..._0x4ac353){}[_0x422c78(0x6c)](..._0x44b824){}['onQRCodeLoginSucceed'](_0x25ac88){}['onQRCodeSessionFailed'](..._0x70d052){}[_0x422c78(0x76)](..._0x1c6edd){}[_0x422c78(0x78)](..._0xfd82db){}[_0x422c78(0x79)](..._0x3ec473){}[_0x422c78(0x81)](..._0xf4f931){}[_0x422c78(0x7e)](..._0x1ebf33){}[_0x422c78(0x73)](..._0x5c7a4c){}[_0x422c78(0x6b)](..._0xa0051a){}['onQQLoginNumLimited'](..._0x5c5086){}['onLoginState'](..._0x5cb09d){}}
|
||||
+12
-2
@@ -21,6 +21,16 @@ export interface OnRichMediaDownloadCompleteParams {
|
||||
userTotalSpacePerDay: unknown | null;
|
||||
userUsedSpacePerDay: unknown | null;
|
||||
}
|
||||
export interface onGroupFileInfoUpdateParamType {
|
||||
retCode: number;
|
||||
retMsg: string;
|
||||
clientWording: string;
|
||||
isEnd: boolean;
|
||||
item: Array<any>;
|
||||
allFileCount: string;
|
||||
nextIndex: string;
|
||||
reqId: string;
|
||||
}
|
||||
export interface IKernelMsgListener {
|
||||
onAddSendMsg(msgRecord: RawMessage): void;
|
||||
onBroadcastHelperDownloadComplete(broadcastHelperTransNotifyInfo: unknown): void;
|
||||
@@ -37,7 +47,7 @@ export interface IKernelMsgListener {
|
||||
onFirstViewGroupGuildMapping(arrayList: unknown): void;
|
||||
onGrabPasswordRedBag(i2: unknown, str: unknown, i3: unknown, recvdOrder: unknown, msgRecord: unknown): void;
|
||||
onGroupFileInfoAdd(groupItem: unknown): void;
|
||||
onGroupFileInfoUpdate(groupFileListResult: unknown): void;
|
||||
onGroupFileInfoUpdate(groupFileListResult: onGroupFileInfoUpdateParamType): void;
|
||||
onGroupGuildUpdate(groupGuildNotifyInfo: unknown): void;
|
||||
onGroupTransferInfoAdd(groupItem: unknown): void;
|
||||
onGroupTransferInfoUpdate(groupFileListResult: unknown): void;
|
||||
@@ -111,7 +121,7 @@ export declare class MsgListener implements IKernelMsgListener {
|
||||
onFirstViewGroupGuildMapping(arrayList: unknown): void;
|
||||
onGrabPasswordRedBag(i2: unknown, str: unknown, i3: unknown, recvdOrder: unknown, msgRecord: unknown): void;
|
||||
onGroupFileInfoAdd(groupItem: unknown): void;
|
||||
onGroupFileInfoUpdate(groupFileListResult: unknown): void;
|
||||
onGroupFileInfoUpdate(groupFileListResult: onGroupFileInfoUpdateParamType): void;
|
||||
onGroupGuildUpdate(groupGuildNotifyInfo: unknown): void;
|
||||
onGroupTransferInfoAdd(groupItem: unknown): void;
|
||||
onGroupTransferInfoUpdate(groupFileListResult: unknown): void;
|
||||
|
||||
@@ -1 +1 @@
|
||||
var _0x3a21a5=_0x6878;function _0x3e29(){var _0x4edf08=['onRecvS2CMsg','onEmojiResourceUpdate','16190WbLbPC','onFirstViewGroupGuildMapping','onEmojiDownloadComplete','onBroadcastHelperProgressUpdate','onMsgEventListUpdate','onRecvUDCFlag','onChannelFreqLimitInfoUpdate','onMsgAbstractUpdate','onUserSecQualityChanged','57qCPHNf','onNtMsgSyncStart','onRecvMsgSvrRspTransInfo','onUnreadCntUpdate','onRichMediaProgerssUpdate','onSendMsgError','onRichMediaUploadComplete','onGroupGuildUpdate','onCustomWithdrawConfigUpdate','60535AwUHuS','onUserChannelTabStatusChanged','onRecvSysMsg','onGuildMsgAbFlagChanged','onGuildNotificationAbstractUpdate','onGroupTransferInfoAdd','onFileMsgCome','onGroupFileInfoUpdate','onGuildInteractiveUpdate','8TjOmFZ','234CdmEAj','48585sRomSy','onFirstViewDirectMsgUpdate','onBroadcastHelperProgerssUpdate','onSearchGroupFileInfoUpdate','308436UWghHn','onUnreadCntAfterFirstView','onHitCsRelatedEmojiResult','onMsgQRCodeStatusChanged','onGrabPasswordRedBag','onAddSendMsg','onRecvGroupGuildFlag','onLogLevelChanged','onReadFeedEventUpdate','onContactUnreadCntUpdate','onMsgBoxChanged','onNtMsgSyncEnd','onHitEmojiKeywordResult','157338ZYWvAx','3135UEcPVY','onRecvOnlineFileMsg','2168579HCaVoZ','onlineStatusBigIconDownloadPush','onRedTouchChanged','onMsgInfoListUpdate','onTempChatInfoUpdate','onFeedEventUpdate','onNtFirstViewMsgSyncEnd','onHitRelatedEmojiResult','onMsgSettingUpdate','onDraftUpdate','onUserOnlineStatusChanged','onLineDev','onMsgDelete','onKickedOffLine','onBroadcastHelperDownloadComplete','onImportOldDbProgressUpdate','11372vfJRwu','onMsgSecurityNotify'];_0x3e29=function(){return _0x4edf08;};return _0x3e29();}function _0x6878(_0x1ac668,_0x3f32cc){var _0x3e2931=_0x3e29();return _0x6878=function(_0x68788f,_0x44a361){_0x68788f=_0x68788f-0xd5;var _0x249ba6=_0x3e2931[_0x68788f];return _0x249ba6;},_0x6878(_0x1ac668,_0x3f32cc);}(function(_0x1dfb6c,_0x34f8a4){var _0x27c038=_0x6878,_0x2c02bb=_0x1dfb6c();while(!![]){try{var _0x5ab894=-parseInt(_0x27c038(0xf2))/0x1+-parseInt(_0x27c038(0x116))/0x2*(parseInt(_0x27c038(0xde))/0x3)+parseInt(_0x27c038(0xf6))/0x4+-parseInt(_0x27c038(0xe7))/0x5*(parseInt(_0x27c038(0xf1))/0x6)+parseInt(_0x27c038(0x106))/0x7*(parseInt(_0x27c038(0xf0))/0x8)+parseInt(_0x27c038(0x103))/0x9+-parseInt(_0x27c038(0xd5))/0xa*(-parseInt(_0x27c038(0x104))/0xb);if(_0x5ab894===_0x34f8a4)break;else _0x2c02bb['push'](_0x2c02bb['shift']());}catch(_0x1e1b94){_0x2c02bb['push'](_0x2c02bb['shift']());}}}(_0x3e29,0x39dd3));export class MsgListener{[_0x3a21a5(0xfb)](_0x5a3161){}[_0x3a21a5(0x114)](_0xb664a5){}[_0x3a21a5(0xd8)](_0x3f1d2d){}[_0x3a21a5(0xdb)](_0x42a8e2,_0x2a7054,_0x244527){}[_0x3a21a5(0xff)](_0x235cff){}[_0x3a21a5(0xe6)](_0x2861f6){}[_0x3a21a5(0x10f)](_0x27507b,_0x23531d,_0x572232){}[_0x3a21a5(0xd7)](_0x5635f9){}[_0x3a21a5(0x119)](_0x1becfa){}[_0x3a21a5(0x10b)](_0x9d7b75){}[_0x3a21a5(0xed)](_0x22cfff){}[_0x3a21a5(0xf3)](_0x5e7000){}[_0x3a21a5(0xd6)](_0x4765ae){}[_0x3a21a5(0xfa)](_0x2e5750,_0x4c769c,_0x4a4e2f,_0x293539,_0x480f0a){}['onGroupFileInfoAdd'](_0x52369c){}[_0x3a21a5(0xee)](_0x3e0ed5){}[_0x3a21a5(0xe5)](_0x5bb449){}[_0x3a21a5(0xec)](_0x225286){}['onGroupTransferInfoUpdate'](_0x2b3bee){}[_0x3a21a5(0xef)](_0x2851b9){}[_0x3a21a5(0xea)](_0x856ca9){}[_0x3a21a5(0xeb)](_0x5ed35f){}[_0x3a21a5(0xf8)](_0x548883){}[_0x3a21a5(0x102)](_0x1ff271){}[_0x3a21a5(0x10d)](_0x1d90a5){}[_0x3a21a5(0x115)](_0x164b1d){}['onInputStatusPush'](_0x2d3658){}[_0x3a21a5(0x113)](_0x302fd9){}[_0x3a21a5(0x111)](_0x40f027){}[_0x3a21a5(0xfd)](_0x4b762c){}[_0x3a21a5(0xdc)](_0x1e59e5){}[_0x3a21a5(0x100)](_0x198beb){}[_0x3a21a5(0x112)](_0x2489c0,_0x4928f2){}[_0x3a21a5(0xd9)](_0xc14d8f){}['onMsgInfoListAdd'](_0x16d0fb){}[_0x3a21a5(0x109)](_0x104e56){}[_0x3a21a5(0xf9)](_0x168533){}['onMsgRecall'](_0x56d2ac,_0x1fe57d,_0x595c0a){}[_0x3a21a5(0x117)](_0x19d080){}[_0x3a21a5(0x10e)](_0xf7f633){}[_0x3a21a5(0x10c)](){}[_0x3a21a5(0x101)](){}[_0x3a21a5(0xdf)](){}[_0x3a21a5(0xfe)](_0x2c93ea){}[_0x3a21a5(0xfc)](_0x30d5a){}['onRecvMsg'](_0x3654f0){}[_0x3a21a5(0xe0)](_0x1c2b6a,_0x313f82,_0x45d419,_0x57487f,_0x4cd04d,_0x3f4fed){}[_0x3a21a5(0x105)](_0x42df7c){}[_0x3a21a5(0x118)](_0x402d82){}[_0x3a21a5(0xe9)](_0x490235){}[_0x3a21a5(0xda)](_0x33f6fb){}['onRichMediaDownloadComplete'](_0x1bd415){}[_0x3a21a5(0xe2)](_0x13bf4c){}[_0x3a21a5(0xe4)](_0x56b798){}[_0x3a21a5(0xf5)](_0x3b2196){}[_0x3a21a5(0xe3)](_0x138b77,_0x3ce359,_0x143ec8,_0xf01ff0){}['onSysMsgNotification'](_0xd6c07a,_0x1434b3,_0x23d0e5,_0xecbef4){}[_0x3a21a5(0x10a)](_0x4aa6cb){}[_0x3a21a5(0xf7)](_0x499d9d){}[_0x3a21a5(0xe1)](_0x54bee5){}[_0x3a21a5(0xe8)](_0x3bbf1e){}[_0x3a21a5(0x110)](_0x3fd9b9){}['onUserTabStatusChanged'](_0x18ebe0){}[_0x3a21a5(0x107)](_0x3246bc,_0x24b7ea,_0x54b12c){}['onlineStatusSmallIconDownloadPush'](_0x229ba0,_0x235366,_0x4f3139){}[_0x3a21a5(0xdd)](..._0x19745d){}['onMsgWithRichLinkInfoUpdate'](..._0x23c0e9){}[_0x3a21a5(0x108)](..._0x50b2b0){}[_0x3a21a5(0xf4)](..._0x79e8e6){}}
|
||||
function _0x1b1d(){var _0x57e409=['onUnreadCntAfterFirstView','onGroupGuildUpdate','onRecvUDCFlag','onMsgInfoListUpdate','onGuildMsgAbFlagChanged','onSysMsgNotification','1635290wuCCIL','onRecvMsg','8969984PYwLNn','onHitCsRelatedEmojiResult','onMsgQRCodeStatusChanged','onRecvS2CMsg','onContactUnreadCntUpdate','onImportOldDbProgressUpdate','4111848DaqpnI','onRecvGroupGuildFlag','38hgGbLn','onMsgRecall','onRecvMsgSvrRspTransInfo','onEmojiResourceUpdate','onMsgInfoListAdd','onFileMsgCome','onTempChatInfoUpdate','onNtFirstViewMsgSyncEnd','93447vSEdNd','onRecvOnlineFileMsg','5670060QFfpQP','onRichMediaUploadComplete','onLogLevelChanged','966581NnHNnS','onFirstViewGroupGuildMapping','onBroadcastHelperProgressUpdate','onlineStatusSmallIconDownloadPush','onLineDev','onBroadcastHelperDownloadComplete','onUserTabStatusChanged','onGrabPasswordRedBag','onReadFeedEventUpdate','onChannelFreqLimitInfoUpdate','onSearchGroupFileInfoUpdate','onMsgWithRichLinkInfoUpdate','onAddSendMsg','onRecvSysMsg','onNtMsgSyncEnd','onMsgEventListUpdate','onUserChannelTabStatusChanged','onUserOnlineStatusChanged','onEmojiDownloadComplete','onMsgSecurityNotify','onHitRelatedEmojiResult','onGroupFileInfoAdd','onInputStatusPush','onRichMediaProgerssUpdate','onMsgAbstractUpdate','onGroupTransferInfoAdd','1096003mMvOof','onGuildNotificationAbstractUpdate'];_0x1b1d=function(){return _0x57e409;};return _0x1b1d();}var _0x2c6e4c=_0x3a0d;function _0x3a0d(_0x181541,_0x5c1879){var _0x1b1d34=_0x1b1d();return _0x3a0d=function(_0x3a0d46,_0x337393){_0x3a0d46=_0x3a0d46-0xca;var _0x3d2b89=_0x1b1d34[_0x3a0d46];return _0x3d2b89;},_0x3a0d(_0x181541,_0x5c1879);}(function(_0x5ef497,_0x15433d){var _0xe99581=_0x3a0d,_0x42ec40=_0x5ef497();while(!![]){try{var _0x28400c=parseInt(_0xe99581(0xec))/0x1+parseInt(_0xe99581(0xfe))/0x2*(parseInt(_0xe99581(0xcd))/0x3)+-parseInt(_0xe99581(0xfc))/0x4+parseInt(_0xe99581(0xf4))/0x5+parseInt(_0xe99581(0xcf))/0x6+-parseInt(_0xe99581(0xd2))/0x7+-parseInt(_0xe99581(0xf6))/0x8;if(_0x28400c===_0x15433d)break;else _0x42ec40['push'](_0x42ec40['shift']());}catch(_0x4cce24){_0x42ec40['push'](_0x42ec40['shift']());}}}(_0x1b1d,0xa4361));export class MsgListener{[_0x2c6e4c(0xde)](_0x14b726){}[_0x2c6e4c(0xd7)](_0x11edf1){}[_0x2c6e4c(0xd4)](_0x6504c0){}[_0x2c6e4c(0xdb)](_0x35d96e,_0x3d8280,_0x4a22ad){}[_0x2c6e4c(0xfa)](_0x139164){}['onCustomWithdrawConfigUpdate'](_0x1c841b){}['onDraftUpdate'](_0x1aa093,_0x2d7aff,_0x5d192e){}[_0x2c6e4c(0xe4)](_0x239bc6){}[_0x2c6e4c(0x101)](_0x21c7d4){}['onFeedEventUpdate'](_0x286532){}[_0x2c6e4c(0xca)](_0x507c51){}['onFirstViewDirectMsgUpdate'](_0x234974){}[_0x2c6e4c(0xd3)](_0x572ada){}[_0x2c6e4c(0xd9)](_0x1fc185,_0x4d2fb4,_0x4243e3,_0x3b1c79,_0x72afcc){}[_0x2c6e4c(0xe7)](_0x4dc5b2){}['onGroupFileInfoUpdate'](_0x56ed7e){}[_0x2c6e4c(0xef)](_0x315af6){}[_0x2c6e4c(0xeb)](_0x35139a){}['onGroupTransferInfoUpdate'](_0x48ab53){}['onGuildInteractiveUpdate'](_0x5be2ab){}[_0x2c6e4c(0xf2)](_0xeaae02){}[_0x2c6e4c(0xed)](_0x36a64d){}[_0x2c6e4c(0xf7)](_0x950d2e){}['onHitEmojiKeywordResult'](_0x1da0a1){}[_0x2c6e4c(0xe6)](_0x297177){}[_0x2c6e4c(0xfb)](_0x468a5b){}[_0x2c6e4c(0xe8)](_0x4a463f){}['onKickedOffLine'](_0x5e5118){}[_0x2c6e4c(0xd6)](_0x1bede3){}[_0x2c6e4c(0xd1)](_0x5181d7){}[_0x2c6e4c(0xea)](_0x476e35){}['onMsgBoxChanged'](_0x5041a9){}['onMsgDelete'](_0x7b938d,_0x5d0b11){}[_0x2c6e4c(0xe1)](_0x4d325b){}[_0x2c6e4c(0x102)](_0x34ed6f){}[_0x2c6e4c(0xf1)](_0xc85565){}[_0x2c6e4c(0xf8)](_0x30b8e3){}[_0x2c6e4c(0xff)](_0x236071,_0x4369d0,_0x39ee1d){}[_0x2c6e4c(0xe5)](_0x43a59b){}['onMsgSettingUpdate'](_0x27d5f1){}[_0x2c6e4c(0xcc)](){}[_0x2c6e4c(0xe0)](){}['onNtMsgSyncStart'](){}[_0x2c6e4c(0xda)](_0x556974){}[_0x2c6e4c(0xfd)](_0x3287dc){}[_0x2c6e4c(0xf5)](_0x4f59ba){}[_0x2c6e4c(0x100)](_0x4e54b8,_0x4ead33,_0x201997,_0x2ed6c9,_0x3410bf,_0x3e790f){}[_0x2c6e4c(0xce)](_0x10b508){}[_0x2c6e4c(0xf9)](_0x50efb6){}[_0x2c6e4c(0xdf)](_0x468cc6){}[_0x2c6e4c(0xf0)](_0x484426){}['onRichMediaDownloadComplete'](_0x6f1f19){}[_0x2c6e4c(0xe9)](_0x514f38){}[_0x2c6e4c(0xd0)](_0x382d91){}[_0x2c6e4c(0xdc)](_0x53d42f){}['onSendMsgError'](_0x1174ed,_0x168a2b,_0x2814f4,_0x3e641c){}[_0x2c6e4c(0xf3)](_0x26e288,_0x3f63ca,_0x1c3c31,_0x5b4f21){}[_0x2c6e4c(0xcb)](_0x3c603a){}[_0x2c6e4c(0xee)](_0x28df3b){}['onUnreadCntUpdate'](_0x505759){}[_0x2c6e4c(0xe2)](_0x272cef){}[_0x2c6e4c(0xe3)](_0x3a7a36){}[_0x2c6e4c(0xd8)](_0x29853b){}['onlineStatusBigIconDownloadPush'](_0x2640e3,_0x1fd781,_0x3a3915){}[_0x2c6e4c(0xd5)](_0x77e8d6,_0x3e3ea0,_0x4c4379){}['onUserSecQualityChanged'](..._0x2261d0){}[_0x2c6e4c(0xdd)](..._0x4f5b1d){}['onRedTouchChanged'](..._0x38e55e){}['onBroadcastHelperProgerssUpdate'](..._0x249155){}}
|
||||
@@ -1 +1 @@
|
||||
var _0x26bd77=_0x33d2;(function(_0x24fe44,_0x8629a1){var _0x145f27=_0x33d2,_0x37bb6a=_0x24fe44();while(!![]){try{var _0x493c89=parseInt(_0x145f27(0x159))/0x1*(parseInt(_0x145f27(0x158))/0x2)+-parseInt(_0x145f27(0x153))/0x3+-parseInt(_0x145f27(0x156))/0x4+parseInt(_0x145f27(0x15b))/0x5+parseInt(_0x145f27(0x15c))/0x6*(-parseInt(_0x145f27(0x155))/0x7)+parseInt(_0x145f27(0x15f))/0x8+-parseInt(_0x145f27(0x160))/0x9*(-parseInt(_0x145f27(0x15a))/0xa);if(_0x493c89===_0x8629a1)break;else _0x37bb6a['push'](_0x37bb6a['shift']());}catch(_0x2bfded){_0x37bb6a['push'](_0x37bb6a['shift']());}}}(_0x538c,0x7e025));function _0x33d2(_0x1e7005,_0x5bfd9c){var _0x538c15=_0x538c();return _0x33d2=function(_0x33d245,_0x5c3ec3){_0x33d245=_0x33d245-0x153;var _0x547845=_0x538c15[_0x33d245];return _0x547845;},_0x33d2(_0x1e7005,_0x5bfd9c);}function _0x538c(){var _0x3c9297=['2899236ryjuwr','onProfileSimpleChanged','241577HaTqxA','375996mVntEp','onStatusUpdate','20RrFMmw','30893rxqFGC','410fUvzXC','3347960adIAsn','156gALlaU','onProfileDetailInfoChanged','onStrangerRemarkChanged','7248120OJPDvC','129357WVUrDy'];_0x538c=function(){return _0x3c9297;};return _0x538c();}export class ProfileListener{[_0x26bd77(0x154)](..._0x2c4f07){}[_0x26bd77(0x15d)](_0x3c7113){}[_0x26bd77(0x157)](..._0x773edd){}['onSelfStatusChanged'](..._0x29b0d7){}[_0x26bd77(0x15e)](..._0xa2170){}}
|
||||
var _0x343f0a=_0x28de;(function(_0x362792,_0x537666){var _0x2e3083=_0x28de,_0x4ead1e=_0x362792();while(!![]){try{var _0x1a2367=parseInt(_0x2e3083(0x1ee))/0x1+-parseInt(_0x2e3083(0x1e6))/0x2*(-parseInt(_0x2e3083(0x1ea))/0x3)+-parseInt(_0x2e3083(0x1e9))/0x4+parseInt(_0x2e3083(0x1e5))/0x5+-parseInt(_0x2e3083(0x1e8))/0x6+parseInt(_0x2e3083(0x1e4))/0x7+parseInt(_0x2e3083(0x1e7))/0x8;if(_0x1a2367===_0x537666)break;else _0x4ead1e['push'](_0x4ead1e['shift']());}catch(_0x4b7626){_0x4ead1e['push'](_0x4ead1e['shift']());}}}(_0x1f1d,0x584dc));function _0x1f1d(){var _0x172dd1=['1314505LerUiH','896084fJkguh','2889416FUOKAe','3546912UqKwtk','2245364JNcTei','3EKewlN','onSelfStatusChanged','onProfileSimpleChanged','onStatusUpdate','171831EubOSy','onProfileDetailInfoChanged','1891638dIASFM'];_0x1f1d=function(){return _0x172dd1;};return _0x1f1d();}function _0x28de(_0x449a32,_0x3ed18e){var _0x1f1d89=_0x1f1d();return _0x28de=function(_0x28de59,_0x506322){_0x28de59=_0x28de59-0x1e3;var _0x1b4063=_0x1f1d89[_0x28de59];return _0x1b4063;},_0x28de(_0x449a32,_0x3ed18e);}export class ProfileListener{[_0x343f0a(0x1ec)](..._0x16a106){}[_0x343f0a(0x1e3)](_0x5572e7){}[_0x343f0a(0x1ed)](..._0x498a2e){}[_0x343f0a(0x1eb)](..._0x1901f7){}['onStrangerRemarkChanged'](..._0x337418){}}
|
||||
@@ -1 +1 @@
|
||||
function _0x841b(_0x4e2459,_0x14d8c1){var _0xee6291=_0xee62();return _0x841b=function(_0x841b64,_0x4024a2){_0x841b64=_0x841b64-0x1e6;var _0x48c885=_0xee6291[_0x841b64];return _0x48c885;},_0x841b(_0x4e2459,_0x14d8c1);}function _0xee62(){var _0x52a7ab=['30LDWtbP','525391BCVkZw','6056PxZLiY','771056GrLJDA','5JusKEO','591944nqMvAa','onRobotListChanged','40434AwRMaW','3962fGuztp','738747jAthnV','9AKnJct','2640166PegKmS','onRobotFriendListChanged','480lVVPcC'];_0xee62=function(){return _0x52a7ab;};return _0xee62();}var _0x1e689d=_0x841b;(function(_0x44c0bb,_0x5607ae){var _0x1168e8=_0x841b,_0x400c2e=_0x44c0bb();while(!![]){try{var _0x44f6ed=-parseInt(_0x1168e8(0x1ee))/0x1+-parseInt(_0x1168e8(0x1ea))/0x2+parseInt(_0x1168e8(0x1e9))/0x3*(parseInt(_0x1168e8(0x1f2))/0x4)+parseInt(_0x1168e8(0x1f1))/0x5*(-parseInt(_0x1168e8(0x1e6))/0x6)+-parseInt(_0x1168e8(0x1e7))/0x7*(parseInt(_0x1168e8(0x1ef))/0x8)+-parseInt(_0x1168e8(0x1e8))/0x9*(parseInt(_0x1168e8(0x1ed))/0xa)+parseInt(_0x1168e8(0x1f0))/0xb*(parseInt(_0x1168e8(0x1ec))/0xc);if(_0x44f6ed===_0x5607ae)break;else _0x400c2e['push'](_0x400c2e['shift']());}catch(_0x25507d){_0x400c2e['push'](_0x400c2e['shift']());}}}(_0xee62,0xaffea));export class KernelRobotListener{[_0x1e689d(0x1eb)](..._0x41d2a2){}[_0x1e689d(0x1f3)](..._0xbbf212){}['onRobotProfileChanged'](..._0x17936b){}}
|
||||
function _0x5bf9(_0x556808,_0x4d6ba4){var _0xfacc89=_0xfacc();return _0x5bf9=function(_0x5bf9d5,_0x3ec89a){_0x5bf9d5=_0x5bf9d5-0xcd;var _0x1e64a6=_0xfacc89[_0x5bf9d5];return _0x1e64a6;},_0x5bf9(_0x556808,_0x4d6ba4);}var _0x46c6fc=_0x5bf9;(function(_0x316ebe,_0x184f6c){var _0x53c904=_0x5bf9,_0x209b1b=_0x316ebe();while(!![]){try{var _0x502b4f=-parseInt(_0x53c904(0xce))/0x1*(parseInt(_0x53c904(0xd4))/0x2)+-parseInt(_0x53c904(0xd6))/0x3+-parseInt(_0x53c904(0xd2))/0x4+parseInt(_0x53c904(0xcf))/0x5*(-parseInt(_0x53c904(0xd5))/0x6)+parseInt(_0x53c904(0xd3))/0x7+-parseInt(_0x53c904(0xcd))/0x8+parseInt(_0x53c904(0xd1))/0x9;if(_0x502b4f===_0x184f6c)break;else _0x209b1b['push'](_0x209b1b['shift']());}catch(_0x1e0f30){_0x209b1b['push'](_0x209b1b['shift']());}}}(_0xfacc,0x68690));function _0xfacc(){var _0x2e22e4=['802EPncPU','6ayMgwt','1787253bicBjs','3430168nYMtXq','1753lhlzpo','563605wMfjSB','onRobotProfileChanged','26858241eRvcCD','2906300ZWpmsp','71302DgjFzL'];_0xfacc=function(){return _0x2e22e4;};return _0xfacc();}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x304d4d){}['onRobotListChanged'](..._0x29d247){}[_0x46c6fc(0xd0)](..._0x217f9f){}}
|
||||
@@ -1 +1 @@
|
||||
function _0x587e(_0x47ba60,_0x4b5e0f){var _0x35cb67=_0x35cb();return _0x587e=function(_0x587e9e,_0x1f2adc){_0x587e9e=_0x587e9e-0xfa;var _0x413ce8=_0x35cb67[_0x587e9e];return _0x413ce8;},_0x587e(_0x47ba60,_0x4b5e0f);}function _0x35cb(){var _0x255d12=['onSessionInitComplete','840900TYjStP','onOpentelemetryInit','86448GQlIEd','2173815iYHobY','6463WnXlOt','onGetSelfTinyId','2223NiMCbH','50zXEnbD','6ZmOxlf','4fobLdt','26400xLDbcl','7400RJEBgq','701930HlIPJl','onUserOnlineResult','11hJpyRr','onNTSessionCreate'];_0x35cb=function(){return _0x255d12;};return _0x35cb();}var _0x9bc24=_0x587e;(function(_0x4baf1d,_0x56526f){var _0x36bc80=_0x587e,_0xa49a28=_0x4baf1d();while(!![]){try{var _0x1e2f6c=-parseInt(_0x36bc80(0x100))/0x1*(-parseInt(_0x36bc80(0x103))/0x2)+-parseInt(_0x36bc80(0x106))/0x3+-parseInt(_0x36bc80(0x105))/0x4*(-parseInt(_0x36bc80(0x108))/0x5)+-parseInt(_0x36bc80(0x104))/0x6*(parseInt(_0x36bc80(0xff))/0x7)+-parseInt(_0x36bc80(0xfe))/0x8+-parseInt(_0x36bc80(0x102))/0x9*(-parseInt(_0x36bc80(0x107))/0xa)+-parseInt(_0x36bc80(0x10a))/0xb*(-parseInt(_0x36bc80(0xfc))/0xc);if(_0x1e2f6c===_0x56526f)break;else _0xa49a28['push'](_0xa49a28['shift']());}catch(_0x3461bc){_0xa49a28['push'](_0xa49a28['shift']());}}}(_0x35cb,0x36d99));export class SessionListener{[_0x9bc24(0xfa)](_0x52dd43){}['onGProSessionCreate'](_0x4a6c1e){}[_0x9bc24(0xfb)](_0x353fd1){}[_0x9bc24(0xfd)](_0x5901e2){}[_0x9bc24(0x109)](_0x54b4eb){}[_0x9bc24(0x101)](_0x3ce763){}}
|
||||
function _0x4701(_0x525580,_0x33c9f6){var _0x1b287f=_0x1b28();return _0x4701=function(_0x4701c5,_0x3f3416){_0x4701c5=_0x4701c5-0xa3;var _0x4c83c2=_0x1b287f[_0x4701c5];return _0x4c83c2;},_0x4701(_0x525580,_0x33c9f6);}var _0x5f5a33=_0x4701;function _0x1b28(){var _0x3147a9=['onGProSessionCreate','20YaFzpu','28963eUIPfT','onSessionInitComplete','152395EwBcyT','2292864heoogG','2490XEqzMi','50709KBfFLc','onNTSessionCreate','162PRYtHz','4643lWGFVk','443070UYAaJL','128fIEprB','28376iFVgda','onUserOnlineResult','onOpentelemetryInit'];_0x1b28=function(){return _0x3147a9;};return _0x1b28();}(function(_0x4d3fbe,_0x3517ff){var _0x1e4bd1=_0x4701,_0x54ca98=_0x4d3fbe();while(!![]){try{var _0x2198b4=parseInt(_0x1e4bd1(0xa9))/0x1*(-parseInt(_0x1e4bd1(0xab))/0x2)+-parseInt(_0x1e4bd1(0xa6))/0x3+parseInt(_0x1e4bd1(0xb0))/0x4*(parseInt(_0x1e4bd1(0xa3))/0x5)+parseInt(_0x1e4bd1(0xaa))/0x6+-parseInt(_0x1e4bd1(0xa4))/0x7+parseInt(_0x1e4bd1(0xac))/0x8*(-parseInt(_0x1e4bd1(0xa8))/0x9)+parseInt(_0x1e4bd1(0xa5))/0xa*(parseInt(_0x1e4bd1(0xb1))/0xb);if(_0x2198b4===_0x3517ff)break;else _0x54ca98['push'](_0x54ca98['shift']());}catch(_0x4a7f0d){_0x54ca98['push'](_0x54ca98['shift']());}}}(_0x1b28,0x2b114));export class SessionListener{[_0x5f5a33(0xa7)](_0x316ba2){}[_0x5f5a33(0xaf)](_0x55f1b6){}[_0x5f5a33(0xb2)](_0x57c6eb){}[_0x5f5a33(0xae)](_0x204389){}[_0x5f5a33(0xad)](_0x5b614d){}['onGetSelfTinyId'](_0x57d491){}}
|
||||
@@ -1 +1 @@
|
||||
function _0x1198(_0x595c16,_0x2c85d0){var _0xb94d20=_0xb94d();return _0x1198=function(_0x1198ca,_0x3a84d1){_0x1198ca=_0x1198ca-0x1a4;var _0x58a3c3=_0xb94d20[_0x1198ca];return _0x58a3c3;},_0x1198(_0x595c16,_0x2c85d0);}var _0x33f640=_0x1198;function _0xb94d(){var _0x2026b1=['1309GjNDCq','523640DyIyGz','77bmOILa','175944zdYtwI','onChatCleanDone','9jgnCjX','onCleanCacheStorageChanged','124422bddGpD','onFinishScan','onScanCacheProgressChanged','376248ikatxp','onCleanCacheProgressChanged','68uAQQtW','510896RoAxTT','27GLnXOv','6230270ShveQA','214425kjMKpV'];_0xb94d=function(){return _0x2026b1;};return _0xb94d();}(function(_0x58a302,_0x4af0d0){var _0x15b4a6=_0x1198,_0x42f69f=_0x58a302();while(!![]){try{var _0x5a846f=-parseInt(_0x15b4a6(0x1a7))/0x1+parseInt(_0x15b4a6(0x1b0))/0x2*(parseInt(_0x15b4a6(0x1ab))/0x3)+parseInt(_0x15b4a6(0x1b2))/0x4*(-parseInt(_0x15b4a6(0x1a5))/0x5)+parseInt(_0x15b4a6(0x1ad))/0x6*(-parseInt(_0x15b4a6(0x1a8))/0x7)+parseInt(_0x15b4a6(0x1b3))/0x8*(parseInt(_0x15b4a6(0x1b4))/0x9)+-parseInt(_0x15b4a6(0x1a4))/0xa+-parseInt(_0x15b4a6(0x1a6))/0xb*(-parseInt(_0x15b4a6(0x1a9))/0xc);if(_0x5a846f===_0x4af0d0)break;else _0x42f69f['push'](_0x42f69f['shift']());}catch(_0x1dbfd4){_0x42f69f['push'](_0x42f69f['shift']());}}}(_0xb94d,0x60e75));export class StorageCleanListener{[_0x33f640(0x1b1)](_0x81ade5){}[_0x33f640(0x1af)](_0x42d490){}[_0x33f640(0x1ac)](_0x2db323){}[_0x33f640(0x1ae)](_0x5852c4){}[_0x33f640(0x1aa)](_0x2e108a){}}
|
||||
var _0x36df03=_0x1732;(function(_0x3c5430,_0x1aeea3){var _0x39d768=_0x1732,_0xcddfb3=_0x3c5430();while(!![]){try{var _0x5da9ad=parseInt(_0x39d768(0x137))/0x1*(parseInt(_0x39d768(0x136))/0x2)+-parseInt(_0x39d768(0x130))/0x3*(parseInt(_0x39d768(0x131))/0x4)+parseInt(_0x39d768(0x12f))/0x5*(parseInt(_0x39d768(0x135))/0x6)+-parseInt(_0x39d768(0x138))/0x7*(parseInt(_0x39d768(0x12e))/0x8)+parseInt(_0x39d768(0x13f))/0x9*(-parseInt(_0x39d768(0x139))/0xa)+-parseInt(_0x39d768(0x133))/0xb*(-parseInt(_0x39d768(0x13b))/0xc)+parseInt(_0x39d768(0x134))/0xd*(-parseInt(_0x39d768(0x13c))/0xe);if(_0x5da9ad===_0x1aeea3)break;else _0xcddfb3['push'](_0xcddfb3['shift']());}catch(_0x458f75){_0xcddfb3['push'](_0xcddfb3['shift']());}}}(_0x13fe,0x7f998));function _0x1732(_0x3437f9,_0x930726){var _0x13fe04=_0x13fe();return _0x1732=function(_0x1732ba,_0x14d2ae){_0x1732ba=_0x1732ba-0x12e;var _0x11a2de=_0x13fe04[_0x1732ba];return _0x11a2de;},_0x1732(_0x3437f9,_0x930726);}export class StorageCleanListener{[_0x36df03(0x132)](_0x156fb9){}[_0x36df03(0x13e)](_0x259bcf){}['onCleanCacheStorageChanged'](_0x55dd7f){}[_0x36df03(0x13a)](_0xcc2933){}[_0x36df03(0x13d)](_0x5e6b1e){}}function _0x13fe(){var _0x53d880=['1170124bcItlu','onCleanCacheProgressChanged','226655hYgSDd','124670wAotJM','797994WgFKJr','2dsBhDx','321299MqGOrn','7WgnaKQ','678680WbQxLU','onFinishScan','348GStLgq','56qRyFDZ','onChatCleanDone','onScanCacheProgressChanged','99qFmIzV','934008lAHkOo','30uzLCPs','3xsAjTS'];_0x13fe=function(){return _0x53d880;};return _0x13fe();}
|
||||
@@ -1 +1 @@
|
||||
(function(_0x2cc6ff,_0x1dbc99){var _0x4d886e=_0x23b0,_0x2d85e2=_0x2cc6ff();while(!![]){try{var _0x103a58=parseInt(_0x4d886e(0x77))/0x1*(parseInt(_0x4d886e(0x73))/0x2)+-parseInt(_0x4d886e(0x6f))/0x3+-parseInt(_0x4d886e(0x76))/0x4+-parseInt(_0x4d886e(0x78))/0x5*(parseInt(_0x4d886e(0x74))/0x6)+parseInt(_0x4d886e(0x70))/0x7*(-parseInt(_0x4d886e(0x71))/0x8)+parseInt(_0x4d886e(0x72))/0x9+parseInt(_0x4d886e(0x6e))/0xa*(parseInt(_0x4d886e(0x75))/0xb);if(_0x103a58===_0x1dbc99)break;else _0x2d85e2['push'](_0x2d85e2['shift']());}catch(_0x56f32a){_0x2d85e2['push'](_0x2d85e2['shift']());}}}(_0x44d5,0xa7ab5));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x23b0(_0x2d692d,_0x4c5202){var _0x44d51f=_0x44d5();return _0x23b0=function(_0x23b01e,_0xfeaa24){_0x23b01e=_0x23b01e-0x6e;var _0x433272=_0x44d51f[_0x23b01e];return _0x433272;},_0x23b0(_0x2d692d,_0x4c5202);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';function _0x44d5(){var _0x33d489=['6862005TECjMZ','2327142YykVKC','42162gznyAe','100925zXBTKf','12356aZONru','1XJhXoi','950gqEoUr','1950eeShLa','3037461flAqfn','553jATzvv','68624QLDhAH'];_0x44d5=function(){return _0x33d489;};return _0x44d5();}export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
|
||||
(function(_0x120289,_0x25c72c){var _0x5dde51=_0x1fdf,_0x3b9106=_0x120289();while(!![]){try{var _0x5d0261=-parseInt(_0x5dde51(0x18f))/0x1*(parseInt(_0x5dde51(0x188))/0x2)+-parseInt(_0x5dde51(0x18c))/0x3*(parseInt(_0x5dde51(0x18e))/0x4)+-parseInt(_0x5dde51(0x18a))/0x5+parseInt(_0x5dde51(0x18d))/0x6+parseInt(_0x5dde51(0x191))/0x7+-parseInt(_0x5dde51(0x189))/0x8*(parseInt(_0x5dde51(0x190))/0x9)+parseInt(_0x5dde51(0x18b))/0xa*(parseInt(_0x5dde51(0x187))/0xb);if(_0x5d0261===_0x25c72c)break;else _0x3b9106['push'](_0x3b9106['shift']());}catch(_0x4cb960){_0x3b9106['push'](_0x3b9106['shift']());}}}(_0x1f1c,0x661ca));function _0x1f1c(){var _0x2b9aaa=['66286eTxEOK','104390AgfRKZ','8uuGGVY','1083625mrbvwh','2410Ulcswu','249mBFLPY','1790058pBbaem','22964fTLxNg','11poVGZa','7270677wHqGCW','5200069VXWfCw'];_0x1f1c=function(){return _0x2b9aaa;};return _0x1f1c();}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x1fdf(_0x142590,_0xac8b88){var _0x1f1cba=_0x1f1c();return _0x1fdf=function(_0x1fdf75,_0x4ff089){_0x1fdf75=_0x1fdf75-0x187;var _0x404763=_0x1f1cba[_0x1fdf75];return _0x404763;},_0x1fdf(_0x142590,_0xac8b88);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
|
||||
+1
-1
@@ -2,7 +2,7 @@ export interface NodeIKernelAvatarService {
|
||||
addAvatarListener(arg: unknown): unknown;
|
||||
removeAvatarListener(arg: unknown): unknown;
|
||||
getAvatarPath(arg1: unknown, arg2: unknown): unknown;
|
||||
forceDownloadAvatar(uid: string, unknown: boolean): Promise<unknown>;
|
||||
forceDownloadAvatar(uid: string, useCache: number): Promise<unknown>;
|
||||
getGroupAvatarPath(arg1: unknown, arg2: unknown): unknown;
|
||||
getConfGroupAvatarPath(arg: unknown): unknown;
|
||||
forceDownloadGroupAvatar(arg1: unknown, arg2: unknown): unknown;
|
||||
|
||||
+11
-4
@@ -45,9 +45,9 @@ export interface NodeIKernelGroupService {
|
||||
createGroupWithMembers(arg: unknown): void;
|
||||
quitGroup(groupCode: string): void;
|
||||
destroyGroup(groupCode: string): void;
|
||||
getSingleScreenNotifies(groupCode: string, ...args: unknown[]): void;
|
||||
getSingleScreenNotifies(arg1: boolean, arg2: string, arg3: number): Promise<GeneralCallResult>;
|
||||
clearGroupNotifies(groupCode: string): void;
|
||||
getGroupNotifiesUnreadCount(groupCode: string): void;
|
||||
getGroupNotifiesUnreadCount(unknown: Boolean): Promise<GeneralCallResult>;
|
||||
clearGroupNotifiesUnreadCount(groupCode: string): void;
|
||||
operateSysNotify(doubt: boolean, operateMsg: {
|
||||
operateType: GroupRequestOperateTypes;
|
||||
@@ -61,9 +61,16 @@ export interface NodeIKernelGroupService {
|
||||
setTop(groupCode: string, isTop: boolean): void;
|
||||
getGroupBulletin(groupCode: string): unknown;
|
||||
deleteGroupBulletin(groupCode: string, seq: string): void;
|
||||
publishGroupBulletin(groupCode: string, arg: unknown): void;
|
||||
publishGroupBulletin(groupCode: string, pskey: string, data: any): Promise<GeneralCallResult>;
|
||||
publishInstructionForNewcomers(groupCode: string, arg: unknown): void;
|
||||
uploadGroupBulletinPic(groupCode: string, arg: unknown): void;
|
||||
uploadGroupBulletinPic(groupCode: string, pskey: string, imagePath: string): Promise<GeneralCallResult & {
|
||||
errCode: number;
|
||||
picInfo?: {
|
||||
id: string;
|
||||
width: number;
|
||||
height: number;
|
||||
};
|
||||
}>;
|
||||
downloadGroupBulletinRichMedia(groupCode: string): unknown;
|
||||
getGroupBulletinList(groupCode: string): unknown;
|
||||
getGroupStatisticInfo(groupCode: string): unknown;
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
import { GeneralCallResult } from "./common";
|
||||
export interface NodeIKernelNodeMiscService {
|
||||
wantWinScreenOCR(imagepath: string): Promise<GeneralCallResult>;
|
||||
}
|
||||
@@ -0,0 +1 @@
|
||||
export{};
|
||||
+39
-3
@@ -1,14 +1,29 @@
|
||||
import { GetFileListParam } from "../entities";
|
||||
import { GeneralCallResult } from "./common";
|
||||
export interface NodeIKernelRichMediaService {
|
||||
getVideoPlayUrl(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
getVideoPlayUrlV2(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
getRichMediaFileDir(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
getVideoPlayUrlInVisit(arg: unknown): unknown;
|
||||
isFileExpired(arg: unknown): unknown;
|
||||
deleteGroupFolder(GroupCode: string, FolderId: string): Promise<GeneralCallResult & {
|
||||
groupFileCommonResult: {
|
||||
retCode: number;
|
||||
retMsg: string;
|
||||
clientWording: string;
|
||||
};
|
||||
}>;
|
||||
downloadRichMediaInVisit(arg: unknown): unknown;
|
||||
downloadFileForModelId(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
downloadFileForFileUuid(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
downloadFileByUrlListtransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
downloadFileForFileInfotransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
createGroupFolder(GroupCode: string, FolderName: string): Promise<GeneralCallResult & {
|
||||
resultWithGroupItem: {
|
||||
result: any;
|
||||
groupItem: Array<any>;
|
||||
};
|
||||
}>;
|
||||
downloadFile(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown): unknown;
|
||||
createGroupFoldertransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
downloadGroupFolder(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
@@ -19,6 +34,16 @@ export interface NodeIKernelRichMediaService {
|
||||
cancelUrlDownload(arg: unknown): unknown;
|
||||
updateOnlineVideoElemStatus(arg: unknown): unknown;
|
||||
getGroupSpace(arg: unknown): unknown;
|
||||
getGroupFileList(groupCode: string, params: GetFileListParam): Promise<GeneralCallResult & {
|
||||
groupSpaceResult: {
|
||||
retCode: number;
|
||||
retMsg: string;
|
||||
clientWording: string;
|
||||
totalSpace: number;
|
||||
usedSpace: number;
|
||||
allUpload: boolean;
|
||||
};
|
||||
}>;
|
||||
getGroupFileInfotransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
getGroupFileListtransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
getGroupTransferListtransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
@@ -26,10 +51,21 @@ export interface NodeIKernelRichMediaService {
|
||||
moveGroupFile(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
transGroupFile(arg1: unknown, arg2: unknown): unknown;
|
||||
searchGroupFileByWord(arg1: unknown, arg2: unknown, arg3: unknown, arg4: unknown, arg5: unknown): unknown;
|
||||
deleteGroupFile(arg1: unknown, arg2: unknown, arg3: unknown): unknown;
|
||||
deleteGroupFile(GroupCode: string, params: Array<number>, Files: Array<string>): Promise<GeneralCallResult & {
|
||||
transGroupFileResult: {
|
||||
result: any;
|
||||
successFileIdList: Array<any>;
|
||||
failFileIdList: Array<any>;
|
||||
};
|
||||
}>;
|
||||
translateEnWordToZn(words: string[]): Promise<GeneralCallResult & {
|
||||
words: string[];
|
||||
}>;
|
||||
getScreenOCR(arg: unknown): unknown;
|
||||
translateEnWordToZn(arg: unknown): unknown;
|
||||
batchGetGroupFileCount(arg: unknown): unknown;
|
||||
batchGetGroupFileCount(Gids: Array<string>): Promise<GeneralCallResult & {
|
||||
groupCodes: Array<string>;
|
||||
groupFileCounts: Array<number>;
|
||||
}>;
|
||||
queryPicDownloadSize(arg: unknown): unknown;
|
||||
searchGroupFiletransgroupfile(arg1: unknown, arg2: unknown): unknown;
|
||||
searchMoreGroupFile(arg: unknown): unknown;
|
||||
|
||||
@@ -1 +1 @@
|
||||
function _0x1397(_0x5ef694,_0xea0f99){var _0x18720a=_0x1872();return _0x1397=function(_0x13978f,_0x6af1a3){_0x13978f=_0x13978f-0x1df;var _0x4864c0=_0x18720a[_0x13978f];return _0x4864c0;},_0x1397(_0x5ef694,_0xea0f99);}(function(_0x5a6117,_0x15b927){var _0x239c01=_0x1397,_0x4923ba=_0x5a6117();while(!![]){try{var _0x397f3f=-parseInt(_0x239c01(0x1e4))/0x1*(-parseInt(_0x239c01(0x1e9))/0x2)+parseInt(_0x239c01(0x1df))/0x3+parseInt(_0x239c01(0x1e7))/0x4*(parseInt(_0x239c01(0x1e0))/0x5)+parseInt(_0x239c01(0x1e6))/0x6*(-parseInt(_0x239c01(0x1ea))/0x7)+-parseInt(_0x239c01(0x1e5))/0x8*(parseInt(_0x239c01(0x1e8))/0x9)+-parseInt(_0x239c01(0x1e2))/0xa+parseInt(_0x239c01(0x1e3))/0xb*(parseInt(_0x239c01(0x1e1))/0xc);if(_0x397f3f===_0x15b927)break;else _0x4923ba['push'](_0x4923ba['shift']());}catch(_0x4e329a){_0x4923ba['push'](_0x4923ba['shift']());}}}(_0x1872,0x1d22b));function _0x1872(){var _0x4c0274=['755270RBpKUP','11QGtnUb','18VSxrgN','200ThEkip','261924vSvQMF','500944WTuzVR','7551YntwHT','6118GCwpAd','21GZMocz','125649mNsKFl','5tXQuVi','1495464TAtMyT'];_0x1872=function(){return _0x4c0274;};return _0x1872();}export var GeneralCallResultStatus;(function(_0x1d86ba){_0x1d86ba[_0x1d86ba['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
|
||||
(function(_0x244b05,_0x4e7d24){var _0x4b4fb1=_0x3f84,_0x50af27=_0x244b05();while(!![]){try{var _0x6dd816=parseInt(_0x4b4fb1(0x1d7))/0x1*(-parseInt(_0x4b4fb1(0x1dd))/0x2)+parseInt(_0x4b4fb1(0x1e0))/0x3*(parseInt(_0x4b4fb1(0x1d8))/0x4)+parseInt(_0x4b4fb1(0x1df))/0x5*(-parseInt(_0x4b4fb1(0x1d9))/0x6)+parseInt(_0x4b4fb1(0x1da))/0x7+-parseInt(_0x4b4fb1(0x1db))/0x8+parseInt(_0x4b4fb1(0x1dc))/0x9+parseInt(_0x4b4fb1(0x1de))/0xa;if(_0x6dd816===_0x4e7d24)break;else _0x50af27['push'](_0x50af27['shift']());}catch(_0x15c73f){_0x50af27['push'](_0x50af27['shift']());}}}(_0x522a,0x4b43a));function _0x522a(){var _0x2e78e9=['318IMJBpI','756014JpsfVu','1992240lwvUPw','3613518DEmDkY','221394BggJtT','3284260xgTQNF','23285vPqyZx','300BkkCXU','1iDLZqU','3076PPwLEg'];_0x522a=function(){return _0x2e78e9;};return _0x522a();}function _0x3f84(_0x31bbf3,_0x568709){var _0x522ad4=_0x522a();return _0x3f84=function(_0x3f84c3,_0x1b0b7f){_0x3f84c3=_0x3f84c3-0x1d7;var _0x45b23b=_0x522ad4[_0x3f84c3];return _0x45b23b;},_0x3f84(_0x31bbf3,_0x568709);}export var GeneralCallResultStatus;(function(_0x213910){_0x213910[_0x213910['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
|
||||
@@ -1 +1 @@
|
||||
(function(_0x1ccaed,_0x1d0f0c){var _0x29602f=_0x1db9,_0x57a367=_0x1ccaed();while(!![]){try{var _0x5c2147=-parseInt(_0x29602f(0x1bc))/0x1*(-parseInt(_0x29602f(0x1c1))/0x2)+parseInt(_0x29602f(0x1b8))/0x3*(parseInt(_0x29602f(0x1c2))/0x4)+parseInt(_0x29602f(0x1be))/0x5*(parseInt(_0x29602f(0x1ba))/0x6)+-parseInt(_0x29602f(0x1c4))/0x7+parseInt(_0x29602f(0x1b9))/0x8*(-parseInt(_0x29602f(0x1bd))/0x9)+-parseInt(_0x29602f(0x1c3))/0xa*(-parseInt(_0x29602f(0x1bb))/0xb)+parseInt(_0x29602f(0x1c0))/0xc*(parseInt(_0x29602f(0x1bf))/0xd);if(_0x5c2147===_0x1d0f0c)break;else _0x57a367['push'](_0x57a367['shift']());}catch(_0x360971){_0x57a367['push'](_0x57a367['shift']());}}}(_0xcb9b,0x5121e));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x1db9(_0x504f50,_0x228fc7){var _0xcb9bc9=_0xcb9b();return _0x1db9=function(_0x1db9e4,_0x2e9aa8){_0x1db9e4=_0x1db9e4-0x1b8;var _0x5c41bc=_0xcb9bc9[_0x1db9e4];return _0x5c41bc;},_0x1db9(_0x504f50,_0x228fc7);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';function _0xcb9b(){var _0x4aa1ca=['26vvnSQf','116364pbbsEn','2218orUCle','168urhjiH','512530PRuplj','4603942UIxFVU','7512mumQVh','320OeCSno','1783986SHDppH','132jyIETb','515wYxvYV','139059GqGoRP','5auJAVf'];_0xcb9b=function(){return _0x4aa1ca;};return _0xcb9b();}export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
|
||||
(function(_0x1186e2,_0x367cbb){var _0x8ef482=_0x34fc,_0x3c4a03=_0x1186e2();while(!![]){try{var _0xd78760=parseInt(_0x8ef482(0xb2))/0x1+-parseInt(_0x8ef482(0xad))/0x2+-parseInt(_0x8ef482(0xaf))/0x3*(parseInt(_0x8ef482(0xa9))/0x4)+parseInt(_0x8ef482(0xb0))/0x5+parseInt(_0x8ef482(0xac))/0x6*(-parseInt(_0x8ef482(0xb1))/0x7)+parseInt(_0x8ef482(0xaa))/0x8+-parseInt(_0x8ef482(0xae))/0x9*(-parseInt(_0x8ef482(0xab))/0xa);if(_0xd78760===_0x367cbb)break;else _0x3c4a03['push'](_0x3c4a03['shift']());}catch(_0x268fcf){_0x3c4a03['push'](_0x3c4a03['shift']());}}}(_0xeb62,0xdefeb));export*from'./common';function _0x34fc(_0x6ed8c6,_0x2e1349){var _0xeb629c=_0xeb62();return _0x34fc=function(_0x34fc0e,_0x102849){_0x34fc0e=_0x34fc0e-0xa9;var _0x4c346d=_0xeb629c[_0x34fc0e];return _0x4c346d;},_0x34fc(_0x6ed8c6,_0x2e1349);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0xeb62(){var _0x1c5ae6=['12dgwpLj','5156480WnDkqp','3302930uMDMbG','153918BDztRp','3178438tGsfKy','99AcZwbT','1097439wVdEJq','3026635jPqqui','483FAIFZE','486992XAUgDJ'];_0xeb62=function(){return _0x1c5ae6;};return _0xeb62();}export*from'./NodeIKernelTipOffService';
|
||||
@@ -1 +1 @@
|
||||
(function(_0x3564b1,_0x50e377){const _0x28addd=_0x3c90,_0xc371ee=_0x3564b1();while(!![]){try{const _0x3d36f9=parseInt(_0x28addd(0x167))/0x1+-parseInt(_0x28addd(0x163))/0x2+-parseInt(_0x28addd(0x171))/0x3*(-parseInt(_0x28addd(0x16e))/0x4)+parseInt(_0x28addd(0x162))/0x5+-parseInt(_0x28addd(0x160))/0x6+parseInt(_0x28addd(0x16b))/0x7*(parseInt(_0x28addd(0x170))/0x8)+-parseInt(_0x28addd(0x168))/0x9*(parseInt(_0x28addd(0x16c))/0xa);if(_0x3d36f9===_0x50e377)break;else _0xc371ee['push'](_0xc371ee['shift']());}catch(_0x5e43e9){_0xc371ee['push'](_0xc371ee['shift']());}}}(_0x59c2,0xdbd9d));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x45e214 from'node:path';import _0x4a8346 from'node:fs';import{randomUUID}from'crypto';export const sessionConfig={};function _0x59c2(){const _0x5b0403=['OsnAR','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','11551547cHztyk','20JmeCfM','mkdirSync','32348mfymZa','GSRuD','8qfkhox','195TUaJdU','assign','NapCat','writeFileSync','join','mcHlo','4458222cgHpfz','temp','2736755uodshy','2010060vaQpRf','utf-8','guid.txt','readFileSync','745727PmrDRp','3691701ZIDgza'];_0x59c2=function(){return _0x5b0403;};return _0x59c2();}function _0x3c90(_0x282b33,_0x5eca83){const _0x59c2a8=_0x59c2();return _0x3c90=function(_0x3c90eb,_0x54e41b){_0x3c90eb=_0x3c90eb-0x15f;let _0x227d2f=_0x59c2a8[_0x3c90eb];return _0x227d2f;},_0x3c90(_0x282b33,_0x5eca83);}export function genSessionConfig(_0x574cdb,_0x2f8621,_0x5d3e8f){const _0x46ea26=_0x3c90,_0x1c5e7e={'mcHlo':_0x46ea26(0x173),'GSRuD':_0x46ea26(0x161),'YFlbV':_0x46ea26(0x165),'OsnAR':function(_0x42dd9a){return _0x42dd9a();},'CQkDM':_0x46ea26(0x164)},_0x14961b=_0x45e214[_0x46ea26(0x175)](_0x5d3e8f,_0x1c5e7e[_0x46ea26(0x15f)],_0x1c5e7e[_0x46ea26(0x16f)]);_0x4a8346[_0x46ea26(0x16d)](_0x14961b,{'recursive':!![]});const _0x41a618=_0x45e214[_0x46ea26(0x175)](_0x5d3e8f,_0x1c5e7e['mcHlo'],_0x1c5e7e['YFlbV']);let _0x8db1a2=_0x1c5e7e[_0x46ea26(0x169)](randomUUID);try{_0x8db1a2=_0x4a8346[_0x46ea26(0x166)](_0x45e214[_0x46ea26(0x175)](_0x41a618),_0x46ea26(0x164));}catch(_0x5c54f9){_0x4a8346[_0x46ea26(0x174)](_0x45e214['join'](_0x41a618),_0x8db1a2,_0x1c5e7e['CQkDM']);}const _0x5bad16={'selfUin':_0x574cdb,'selfUid':_0x2f8621,'desktopPathConfig':{'account_path':_0x5d3e8f},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x14961b,'deviceInfo':{'guid':_0x8db1a2,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x46ea26(0x16a)};return Object[_0x46ea26(0x172)](sessionConfig,_0x5bad16),_0x5bad16;}
|
||||
(function(_0x5077d4,_0x195dca){const _0x50ae7b=_0x1d3f,_0x2139f4=_0x5077d4();while(!![]){try{const _0x4871ab=-parseInt(_0x50ae7b(0x1d7))/0x1*(-parseInt(_0x50ae7b(0x1dc))/0x2)+-parseInt(_0x50ae7b(0x1d6))/0x3*(parseInt(_0x50ae7b(0x1d0))/0x4)+-parseInt(_0x50ae7b(0x1d9))/0x5*(parseInt(_0x50ae7b(0x1cc))/0x6)+parseInt(_0x50ae7b(0x1d2))/0x7+-parseInt(_0x50ae7b(0x1e1))/0x8*(-parseInt(_0x50ae7b(0x1c9))/0x9)+parseInt(_0x50ae7b(0x1cf))/0xa*(parseInt(_0x50ae7b(0x1dd))/0xb)+-parseInt(_0x50ae7b(0x1cb))/0xc;if(_0x4871ab===_0x195dca)break;else _0x2139f4['push'](_0x2139f4['shift']());}catch(_0x457fb8){_0x2139f4['push'](_0x2139f4['shift']());}}}(_0x5730,0xe6761));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x9819a4 from'node:path';import _0x24fe57 from'node:fs';function _0x1d3f(_0x9e2e88,_0x2c3432){const _0x573072=_0x5730();return _0x1d3f=function(_0x1d3f43,_0x418ef9){_0x1d3f43=_0x1d3f43-0x1c7;let _0xc5ffc9=_0x573072[_0x1d3f43];return _0xc5ffc9;},_0x1d3f(_0x9e2e88,_0x2c3432);}import{randomUUID}from'crypto';export const sessionConfig={};export function genSessionConfig(_0x3156db,_0x3b70c5,_0x5be38d){const _0x51764e=_0x1d3f,_0x1781b4={'VTztg':_0x51764e(0x1de),'wOdss':_0x51764e(0x1d1),'mJiok':_0x51764e(0x1cd),'pZFJr':function(_0x5bfb7e){return _0x5bfb7e();},'hWoEA':_0x51764e(0x1d3),'rZuui':_0x51764e(0x1ce)},_0x561520=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x51764e(0x1d1),_0x1781b4[_0x51764e(0x1c8)]);_0x24fe57['mkdirSync'](_0x561520,{'recursive':!![]});const _0x50b4ac=_0x9819a4[_0x51764e(0x1ca)](_0x5be38d,_0x1781b4[_0x51764e(0x1d4)],_0x1781b4['mJiok']);let _0x150115=_0x1781b4[_0x51764e(0x1c7)](randomUUID);try{_0x150115=_0x24fe57[_0x51764e(0x1d5)](_0x9819a4[_0x51764e(0x1ca)](_0x50b4ac),_0x1781b4[_0x51764e(0x1df)]);}catch(_0x226bc2){_0x24fe57[_0x51764e(0x1db)](_0x9819a4['join'](_0x50b4ac),_0x150115,_0x1781b4[_0x51764e(0x1df)]);}const _0x28cada={'selfUin':_0x3156db,'selfUid':_0x3b70c5,'desktopPathConfig':{'account_path':_0x5be38d},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x561520,'deviceInfo':{'guid':_0x150115,'buildVer':qqPkgInfo[_0x51764e(0x1d8)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x1781b4[_0x51764e(0x1da)]};return Object[_0x51764e(0x1e0)](sessionConfig,_0x28cada),_0x28cada;}function _0x5730(){const _0x1698e5=['26rKTKtH','99iFyHFk','temp','hWoEA','assign','2127080mXhuUS','pZFJr','VTztg','63uJjaGA','join','28642248IHTfgQ','6OFkSfG','guid.txt','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','14930XCKxij','4ppktYJ','NapCat','6960051tBXksJ','utf-8','wOdss','readFileSync','2015109IavEtK','100808viibYb','version','884515cahwaG','rZuui','writeFileSync'];_0x5730=function(){return _0x1698e5;};return _0x5730();}
|
||||
@@ -1 +1 @@
|
||||
const _0x2d928c=_0x1321;function _0x121c(){const _0x111453=['30195220VHFxRV','7619454dtJDlL','105664iurEth','fileLog','3594303yVGeVC','19ECbLnE','getConfigDir','join','DEBUG','fileLogLevel','1622515EOiSQr','getConfigPath','4543725BxvvkQ','68864Zqoxct','.json','644zZIolL','uin','16kXniSK'];_0x121c=function(){return _0x111453;};return _0x121c();}function _0x1321(_0xa6cefe,_0x3e9fb8){const _0x121c89=_0x121c();return _0x1321=function(_0x132150,_0x18eb03){_0x132150=_0x132150-0x16d;let _0xf2b9ee=_0x121c89[_0x132150];return _0xf2b9ee;},_0x1321(_0xa6cefe,_0x3e9fb8);}(function(_0x21aa4f,_0x475bda){const _0x1c1819=_0x1321,_0xe78b69=_0x21aa4f();while(!![]){try{const _0x435fce=parseInt(_0x1c1819(0x178))/0x1*(-parseInt(_0x1c1819(0x175))/0x2)+-parseInt(_0x1c1819(0x16d))/0x3+-parseInt(_0x1c1819(0x172))/0x4*(parseInt(_0x1c1819(0x17d))/0x5)+parseInt(_0x1c1819(0x174))/0x6+-parseInt(_0x1c1819(0x170))/0x7*(-parseInt(_0x1c1819(0x16e))/0x8)+-parseInt(_0x1c1819(0x177))/0x9+parseInt(_0x1c1819(0x173))/0xa;if(_0x435fce===_0x475bda)break;else _0xe78b69['push'](_0xe78b69['shift']());}catch(_0x432b8e){_0xe78b69['push'](_0xe78b69['shift']());}}}(_0x121c,0xd3545));import _0x2cf940 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x2d928c(0x176)]=!![];['consoleLog']=!![];[_0x2d928c(0x17c)]=LogLevel[_0x2d928c(0x17b)];['consoleLogLevel']=LogLevel['INFO'];constructor(){super();}[_0x2d928c(0x17e)](){const _0x543785=_0x2d928c;return _0x2cf940[_0x543785(0x17a)](this[_0x543785(0x179)](),'napcat_'+selfInfo[_0x543785(0x171)]+_0x543785(0x16f));}}export const napCatConfig=new Config();
|
||||
function _0x2c29(_0x2de07d,_0x30d40c){const _0x5722d7=_0x5722();return _0x2c29=function(_0x2c2929,_0x1ab5e3){_0x2c2929=_0x2c2929-0xa5;let _0x48cc4d=_0x5722d7[_0x2c2929];return _0x48cc4d;},_0x2c29(_0x2de07d,_0x30d40c);}const _0x141a3a=_0x2c29;(function(_0x486e44,_0x33975b){const _0xa17ddf=_0x2c29,_0x470b34=_0x486e44();while(!![]){try{const _0x2e03aa=-parseInt(_0xa17ddf(0xa7))/0x1*(-parseInt(_0xa17ddf(0xa9))/0x2)+parseInt(_0xa17ddf(0xa6))/0x3+-parseInt(_0xa17ddf(0xb1))/0x4*(parseInt(_0xa17ddf(0xac))/0x5)+-parseInt(_0xa17ddf(0xb0))/0x6+-parseInt(_0xa17ddf(0xab))/0x7*(parseInt(_0xa17ddf(0xae))/0x8)+-parseInt(_0xa17ddf(0xad))/0x9*(-parseInt(_0xa17ddf(0xb2))/0xa)+parseInt(_0xa17ddf(0xb7))/0xb;if(_0x2e03aa===_0x33975b)break;else _0x470b34['push'](_0x470b34['shift']());}catch(_0x2036e1){_0x470b34['push'](_0x470b34['shift']());}}}(_0x5722,0x6389c));import _0x5adf3c from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x141a3a(0xb4)]=!![];[_0x141a3a(0xb3)]=!![];[_0x141a3a(0xb8)]=LogLevel[_0x141a3a(0xaf)];[_0x141a3a(0xa8)]=LogLevel['INFO'];constructor(){super();}[_0x141a3a(0xaa)](){const _0x25f4fd=_0x141a3a;return _0x5adf3c['join'](this[_0x25f4fd(0xa5)](),'napcat_'+selfInfo[_0x25f4fd(0xb6)]+_0x25f4fd(0xb5));}}function _0x5722(){const _0x162cf8=['56gSZjwW','DEBUG','2322318nhGPFB','2826512TtYjKO','10nlWwPV','consoleLog','fileLog','.json','uin','15054446ZobaKm','fileLogLevel','getConfigDir','1008879uNtmZw','17OMMLrK','consoleLogLevel','31652hFIrcQ','getConfigPath','716191iaOccU','5GDcLHu','2192931GYGrRL'];_0x5722=function(){return _0x162cf8;};return _0x5722();}export const napCatConfig=new Config();
|
||||
@@ -1 +1 @@
|
||||
const _0x387bcb=_0x1ec1;(function(_0x3ce325,_0x1d16e9){const _0x11c937=_0x1ec1,_0x1f362f=_0x3ce325();while(!![]){try{const _0x1c1cd7=-parseInt(_0x11c937(0x16a))/0x1+-parseInt(_0x11c937(0x130))/0x2*(-parseInt(_0x11c937(0x14c))/0x3)+parseInt(_0x11c937(0x156))/0x4*(parseInt(_0x11c937(0x175))/0x5)+-parseInt(_0x11c937(0x188))/0x6+-parseInt(_0x11c937(0x19b))/0x7+parseInt(_0x11c937(0x117))/0x8*(-parseInt(_0x11c937(0x164))/0x9)+parseInt(_0x11c937(0x190))/0xa*(parseInt(_0x11c937(0x15e))/0xb);if(_0x1c1cd7===_0x1d16e9)break;else _0x1f362f['push'](_0x1f362f['shift']());}catch(_0x5db415){_0x1f362f['push'](_0x1f362f['shift']());}}}(_0x4d28,0x599f6));import _0x428939 from'sqlite3';import{logDebug,logError}from'@/common/utils/log';import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async[_0x387bcb(0x194)](_0x3a09b0){const _0x42630f=_0x387bcb,_0x5bb91f={'RIqEW':function(_0x224793,_0x4b8b35,_0x50774e){return _0x224793(_0x4b8b35,_0x50774e);},'KctTb':_0x42630f(0x157),'uqyaK':function(_0x9a1abd,_0x51d613){return _0x9a1abd(_0x51d613);},'ykftO':function(_0xea2315,_0x51dbbf){return _0xea2315|_0x51dbbf;}};if(this['db'])return;return new Promise((_0x2c4afd,_0x1c41ad)=>{const _0xece2fe=_0x42630f,_0x4337bf={'POtoz':function(_0x329c7b,_0xa67702,_0x408513){const _0x396825=_0x1ec1;return _0x5bb91f[_0x396825(0x184)](_0x329c7b,_0xa67702,_0x408513);},'rTQli':_0x5bb91f['KctTb'],'loXvl':function(_0x482aa5,_0x170fd9){const _0x5cb2cb=_0x1ec1;return _0x5bb91f[_0x5cb2cb(0x16c)](_0x482aa5,_0x170fd9);},'rkswz':function(_0x540309){return _0x540309();}};this['db']=new _0x428939[(_0xece2fe(0x142))](_0x3a09b0,_0x5bb91f[_0xece2fe(0x192)](_0x428939[_0xece2fe(0x134)],_0x428939[_0xece2fe(0x138)]),_0x2baf79=>{const _0x168e1e=_0xece2fe;if(_0x2baf79){_0x4337bf[_0x168e1e(0x151)](logError,_0x4337bf[_0x168e1e(0x144)],_0x2baf79),_0x4337bf[_0x168e1e(0x13c)](_0x1c41ad,_0x2baf79);return;}this[_0x168e1e(0x119)](),_0x4337bf[_0x168e1e(0x149)](_0x2c4afd);});});}['createTable'](){throw new Error('Method\x20not\x20implemented.');}[_0x387bcb(0x11c)](){const _0x3cf85c=_0x387bcb;this['db']?.[_0x3cf85c(0x11c)]();}}function _0x4d28(){const _0x5767dd=['uid',',\x20seq:\x20','zdGHr','RIqEW','getMsgByShortId','bxFUz','SELECT\x20*\x20FROM\x20files\x20WHERE\x20uuid\x20=\x20?','610068PwqHEh','db\x20getMsgByLongId\x20error','all','cTxWt','NZVSJ','WRqMo','updateMsg',',\x20msgId:\x20','5412630kRxmCm','updateMsg\x20db\x20error','ykftO','TVkDV','init','jooCv','set','getCurrentMaxShortId','hhosu','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20files\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20name\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20path\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20url\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20size\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uuid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementType\x20INTEGER,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20element\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20elementId\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20msgId\x20TEXT\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','catch','923265Xqkmrb','chatType','BEQnr','getUidByTempUin','AwlJC','gMoDk','llbVy','16AJMdGM','globalMsgShortId','createTable','msgId','MfbsW','close','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','zFhtR','peerUid','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','getMsgByLongId','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Line truncated
|
||||
const _0x14ab8d=_0x4112;(function(_0x1d82d5,_0x38c892){const _0x5b21ec=_0x4112,_0x3869e2=_0x1d82d5();while(!![]){try{const _0x2ace13=-parseInt(_0x5b21ec(0xfc))/0x1+parseInt(_0x5b21ec(0xf3))/0x2*(parseInt(_0x5b21ec(0x120))/0x3)+-parseInt(_0x5b21ec(0x170))/0x4*(-parseInt(_0x5b21ec(0x161))/0x5)+-parseInt(_0x5b21ec(0x14a))/0x6*(-parseInt(_0x5b21ec(0x134))/0x7)+parseInt(_0x5b21ec(0x118))/0x8+-parseInt(_0x5b21ec(0x169))/0x9*(-parseInt(_0x5b21ec(0x135))/0xa)+-parseInt(_0x5b21ec(0x113))/0xb;if(_0x2ace13===_0x38c892)break;else _0x3869e2['push'](_0x3869e2['shift']());}catch(_0x4601c0){_0x3869e2['push'](_0x3869e2['shift']());}}}(_0x17e9,0x84fa5));import _0x2d917e from'sqlite3';import{logDebug,logError}from'@/common/utils/log';function _0x4112(_0x425467,_0x2be4a3){const _0x17e9fc=_0x17e9();return _0x4112=function(_0x411227,_0x5b8e69){_0x411227=_0x411227-0xeb;let _0x16238b=_0x17e9fc[_0x411227];return _0x16238b;},_0x4112(_0x425467,_0x2be4a3);}function _0x17e9(){const _0x179808=['UmeVG','getUidByTempUin','Could\x20not\x20create\x20table\x20temp_uins','globalMsgShortId','iUudQ','addMsg','epEMX','563067wSchGc','Method\x20not\x20implemented.','stack','SELECT\x20MAX(shortId)\x20as\x20maxId\x20FROM\x20msgs','toString','INSERT\x20INTO\x20files\x20(name,\x20path,\x20url,\x20size,\x20uuid,\x20elementType\x20,element,\x20elementId,\x20msgId)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?,\x20?)','UPDATE\x20msgs\x20SET\x20seq=?\x20WHERE\x20longId=?','7028RqKXPR','msgId','db\x20getMsgByLongId\x20error','数据库中消息最大短id','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20temp_uins\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uid\x20TEXT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20uin\x20TEXT\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','lNipj','getMsgByShortId','getReceivedTempUinMap','SjwIH','YhutS','stringify','KiMeG','OpbuD','19068iuDgXK','peerUid','addTempUin','cwRXA','IOUjs','then','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20peerUid\x20=\x20?\x20AND\x20seq\x20=\x20?','dGfbx','getCurrentMaxShortId','3995zaWdfY','msgSeq','vKyPd','db\x20could\x20not\x20add\x20temp\x20uin','db\x20could\x20not\x20add\x20file','WdUdj','size','get','MZRRJ','UHfoa','getFileCache','getMsgsByMsgId','getFileCacheByName','FafjZ','createTable','记录消息到数据库,\x20消息长id:\x20','url','redlG','uugen','UBryx','parse','prepare','has','12519980qrjdyS','qmpKg','oPQVL','uid','\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20CREATE\x20TABLE\x20IF\x20NOT\x20EXISTS\x20msgs\x20(\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20id\x20INTEGER\x20PRIMARY\x20KEY\x20AUTOINCREMENT,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20shortId\x20INTEGER\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20longId\x20TEXT\x20NOT\x20NULL\x20UNIQUE,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20seq\x20INTEGER\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20peerUid\x20TEXT\x20NOT\x20NULL,\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20chatType\x20INTEGER\x20NOT\x20NULL\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20)','2919240nVtHPi','db\x20could\x20not\x20get\x20file\x20cache','assign','init','kGDwY','element','db\x20could\x20not\x20get\x20temp\x20uin\x20map','BKlHn','312qmdkCe','OrNAJ','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20longId\x20=\x20?','SELECT\x20*\x20FROM\x20msgs\x20WHERE\x20shortId\x20=\x20?','addFileCache','VjROh','jfvxe','msgList','WpBgb','SELECT\x20*\x20FROM\x20temp_uins\x20WHERE\x20uin\x20=\x20?','db\x20could\x20not\x20get\x20msg\x20by\x20long\x20id','lLAgm','maxId','WqRmP','YyZUt','UPDATE\x20files\x20SET\x20path\x20=\x20?,\x20url\x20=\x20?\x20WHERE\x20uuid\x20=\x20?','INSERT\x20INTO\x20temp_uins\x20(uin,\x20uid)\x20VALUES\x20(?,\x20?)','close','updateMsg\x20db\x20error','uuid','4865TvdpPA','10xczJpV','Could\x20not\x20connect\x20to\x20database','更新消息,\x20shortId:','msgCache','db\x20could\x20not\x20add\x20msg','bTtxz','pNWJq','catch','run','all','QnSaY','BuTDF','axDhp','Bogdd','updateMsg','fvwKQ','aAjJV','name','VJEAV','ZwXWV','NCtvr','2100xuAOMC','YuJHz','uin','set','gIJVi','jcIXe','XNptR','errno','path','nzENN','updateFileCache',',\x20msgId:\x20','now','INSERT\x20INTO\x20msgs\x20(shortId,\x20longId,\x20seq,\x20peerUid,\x20chatType)\x20VALUES\x20(?,\x20?,\x20?,\x20?,\x20?)','elementId','getMsg','forEach','LVAXm','getMsgByLongId','chatType','OPEN_READWRITE','清理消息缓存','getMsgBySeq','70ClkqUt'];_0x17e9=function(){return _0x179808;};return _0x17e9();}import{NTQQMsgApi}from'@/core';class DBUtilBase{['db'];async['init'](_0x908476){const _0x1eb575={'SYKMD':function(_0x1d309b,_0x500719){return _0x1d309b(_0x500719);},'fvwKQ':function(_0x183058,_0x181Line truncated
|
||||
Vendored
+15
@@ -0,0 +1,15 @@
|
||||
interface ServerRkeyData {
|
||||
group_rkey: string;
|
||||
private_rkey: string;
|
||||
expired_time: number;
|
||||
}
|
||||
declare class RkeyManager {
|
||||
serverUrl: string;
|
||||
private rkeyData;
|
||||
constructor(serverUrl: string);
|
||||
getRkey(): Promise<ServerRkeyData>;
|
||||
isExpired(): boolean;
|
||||
refreshRkey(): Promise<any>;
|
||||
}
|
||||
export declare const rkeyManager: RkeyManager;
|
||||
export {};
|
||||
Loaded 100 of 217 files, more files were not shown because too many files have changed in this diff.
Show more
Reference in new issue
Block a user