Compare commits

...
38 Commits
Author SHA1 Message Date
手瓜一十雪 e53c37adc9 release: v1.6.0
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (ia32, win32) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-21 22:43:19 +08:00
手瓜一十雪 c37539354c docs: update 2024-06-21 22:35:10 +08:00
手瓜一十雪 ae0277f33c release: 1.5.8
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (ia32, win32) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-19 23:34:09 +08:00
手瓜一十雪 b863896249 refactor: log file limit 2024-06-19 23:26:05 +08:00
手瓜一十雪 5b42f8b743 refactor: qqmusic card & requests 2024-06-19 23:06:57 +08:00
手瓜一十雪 3883fab614 remove: debug 2024-06-19 21:37:13 +08:00
手瓜一十雪 61d6bcec4b refactor: qqmusic card & requests 2024-06-19 21:33:31 +08:00
手瓜一十雪 3b5902b033 refactor: requests 2024-06-19 16:45:20 +08:00
手瓜一十雪 3a88c21a3b refactor: 整理action & data 2024-06-19 13:35:42 +08:00
手瓜一十雪 91a5055dee refactor: qqmusic sign & http post 2024-06-19 13:20:52 +08:00
手瓜一十雪 7befd1469f Merge branch 'main' of https://github.com/NapNeko/NapCatQQ 2024-06-19 10:01:37 +08:00
手瓜一十雪 c72ebe495c refactor: remove debug 2024-06-19 10:01:24 +08:00
手瓜一十雪 19e06b97e6 docs: update 2024-06-18 23:57:47 +08:00
手瓜一十雪 7519825303 refactor: test 2024-06-18 23:23:19 +08:00
手瓜一十雪 d9315bf309 refactor: project 2024-06-18 22:49:06 +08:00
手瓜一十雪 8c36c809a0 docs: extend 2024-06-18 11:22:35 +08:00
手瓜一十雪 8138aa3cb2 docs: v1.5.8 2024-06-18 11:21:52 +08:00
手瓜一十雪 87aef3ca78 feat: Util HttpUploadFile 2024-06-18 11:17:09 +08:00
手瓜一十雪 a3f1d26d6b feat: refactor miniapp 2024-06-18 11:08:51 +08:00
手瓜一十雪 06cebc5670 build: try support ia32 2024-06-17 10:03:59 +08:00
手瓜一十雪 867fd62d77 fix: typo 2024-06-16 20:54:52 +08:00
手瓜一十雪 650cdf2916 feat: test 2024-06-16 19:24:42 +08:00
手瓜一十雪 ebf461f2fd feat: 加了一些暂时不能使用的代码 2024-06-16 16:35:09 +08:00
手瓜一十雪 27fa319b2a release: LinuxAppid 24568
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-14 18:43:56 +08:00
手瓜一十雪 d95ac894f4 release: 1.5.6-复活下win
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-14 17:00:35 +08:00
手瓜一十雪 ae84a8dd11 docs: v1.5.6 change 2024-06-14 16:53:26 +08:00
手瓜一十雪 2fc963f986 build: v1.5.6-紧急测试 2024-06-14 16:43:32 +08:00
手瓜一十雪 be1f938ebd fix 2024-06-14 16:42:39 +08:00
手瓜一十雪 cccf4d503d docs: v1.5.6 2024-06-14 15:50:22 +08:00
手瓜一十雪 9dad2a8ac6 remove: debug
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-11 18:11:32 +08:00
手瓜一十雪 75af104f07 release: v1.5.5 2024-06-11 18:10:22 +08:00
手瓜一十雪 76ecba245b fix: error 2024-06-11 18:09:46 +08:00
手瓜一十雪 3697c2ced8 refactor: 移除无缝升级函数 2024-06-11 15:46:27 +08:00
手瓜一十雪 b9d1d84716 release: v1.5.4
release / check-version (push) Canceled after 0s
release / build-linux (arm64, linux) (push) Canceled after 0s
release / build-linux (x64, linux) (push) Canceled after 0s
release / build-win32 (x64, win32) (push) Canceled after 0s
release / release-napcat (push) Canceled after 0s
2024-06-11 15:20:11 +08:00
手瓜一十雪 64b2d547ce refactor: friend 2024-06-11 12:34:04 +08:00
手瓜一十雪 d8d2ff7e4e chore:appid 2024-06-10 19:00:05 +08:00
手瓜一十雪 8aa5dc6482 Merge pull request #62 from NapNeko/dependabot/npm_and_yarn/uuid-10.0.0
build(deps): bump uuid from 9.0.1 to 10.0.0
2024-06-10 16:46:05 +08:00
dependabot[bot] 474ba20e61 build(deps): bump uuid from 9.0.1 to 10.0.0
Bumps [uuid](https://github.com/uuidjs/uuid) from 9.0.1 to 10.0.0.
- [Changelog](https://github.com/uuidjs/uuid/blob/main/CHANGELOG.md)
- [Commits](https://github.com/uuidjs/uuid/compare/v9.0.1...v10.0.0)

---
updated-dependencies:
- dependency-name: uuid
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2024-06-10 08:12:09 +00:00
89 changed files with 636 additions and 235 deletions

No files matched your search

+1 -1
View File
@@ -47,7 +47,7 @@ jobs:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
+1 -1
View File
@@ -72,7 +72,7 @@ jobs:
fail-fast: false
matrix:
target_platform: [win32]
target_arch: [x64]
target_arch: [x64,ia32]
steps:
- name: Clone Main Repository
uses: actions/checkout@v4
+11
View File
@@ -0,0 +1,11 @@
# v1.6.0
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
## 新增与调整
* 新增图片subtype属性 区分表情图片与商城图片
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
File renamed without changes.
+11
View File
@@ -0,0 +1,11 @@
# v1.5.4
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-23568
## 修复与优化
* 紧急修复视频与文件问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.5.5
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-23568
## 修复与优化
* 紧急修复一些问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.5.6
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
* 修复一些问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+11
View File
@@ -0,0 +1,11 @@
# v1.5.7
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
* 修复一些问题
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+14
View File
@@ -0,0 +1,14 @@
# v1.5.8
QQ Version: Windows 9.9.11-24568 / Linux 3.2.9-24568
## 修复与优化
* 修复视频文件残留问题
* 重构 getcookies接口 支持大部分常见域
## 新增与调整
* 日志大小限制
* 支持 QQ音乐 卡片 无签名支持时 启用内置方法(缺点没有封面 限速1min/条)
* 支持Window X86-32机器
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+12
View File
@@ -0,0 +1,12 @@
# v1.5.9
QQ Version: Windows 9.9.11-24815 / Linux 3.2.9-24815
## 修复与优化
* 优化缓存问题
* 修复poke异常上报
## 新增与调整
新增的 API 详细见[API文档](https://napneko.github.io/zh-CN/develop/extends_api)
+48
View File
@@ -0,0 +1,48 @@
public static final int C2C_PIC_DOWNLOAD = 1004;
public static final String C2C_PIC_DOWNLOAD_DOMAIN = "c2cpicdw.qpic.cn";
public static final String C2C_PIC_DOWNLOAD_QUIC_DOMAIN = "c2cpicdw.quic.qpic.cn";
public static final int FLAG_NOT_UPLOAD = 3;
public static final int FLAG_UPLOADINFO_ERROR = 4;
public static final int GROUP_PIC_DOWNLOAD = 1000;
public static final String GROUP_PIC_DOWNLOAD_DOMAIN = "gchat.qpic.cn";
public static final String GROUP_PIC_DOWNLOAD_QUIC_DOMAIN = "gchat.quic.qpic.cn";
public static final String GUILD_PIC_DOWNLOAD_DOMAIN = "gchat.qpic.cn/qmeetpic";
public static final boolean NEW_STORE_FLAG = true;
public static final String PTT_VIDEO_DOWNLOAD_DOMAIN = "grouptalk.c2c.qq.com";
protected static final int AVIF_DECODE_EXCEPTION = 4;
protected static final int AVIF_DECODE_FAIL = 1;
protected static final int AVIF_DECODE_FAIL_SO_FAIL = 2;
protected static final int AVIF_DECODE_FAIL_UNKNOWN = 6;
protected static final int AVIF_DECODE_FILETYPE_ERROR = 5;
protected static final int AVIF_DECODE_OOM = 3;
protected static final int AVIF_DECODE_RENAME_FAIL = 7;
protected static final int AVIF_DECODE_SUC = 0;
public static final String AVIF_FILE_SUFFIX = ".avif";
public static final int AVIF_REQ_APPRUNTIME_NULL = 12;
public static final int AVIF_REQ_CODEC_UNSURPPORT = 5;
protected static final int AVIF_REQ_DENSITY_UNSURPPORT = 10;
protected static final int AVIF_REQ_FLASH_PHOTO = 9;
protected static final int AVIF_REQ_HAS_TMP_AVIF = 7;
protected static final int AVIF_REQ_INVALID_MSG_RECORD = 2;
protected static final int AVIF_REQ_IS_RAW_PHOTO = 3;
protected static final int AVIF_REQ_OUTPUTSTREAM_UNSURPPORT = 11;
protected static final int AVIF_REQ_OVERSIZE = 6;
protected static final int AVIF_REQ_RETRY = 1;
public static final int AVIF_REQ_SO_DOWNLOAD_FAILED = 8;
protected static final int AVIF_REQ_SUC = 0;
public static final int AVIF_REQ_SWITCH_CLOSE = 4;
public static final String C2C_PIC_DOWNLOAD_ERROR_CODE = "C2CPicDownloadErrorCode";
static final int DOWNLOAD_ST_COMPLETE = 1;
static final int DOWNLOAD_ST_HEAD = 2;
static final int DOWNLOAD_ST_LEFT = 4;
static final int DOWNLOAD_ST_PART = 3;
private static final int ENCRYPT_APPID = 1600000226;
public static final String GROUP_PIC_DOWNLOAD_ERROR_CODE = "GroupPicDownloadErrorCode";
public static final String KEY_PIC_DOWNLOAD_ERROR_CODE = "param_detail_code";
protected static final int QUIC_FAIL_IP_LIST_EMPTY = 1;
protected static final int QUIC_FAIL_REQUEST_HTTPS = 3;
protected static final int QUIC_FAIL_REQUEST_QUIC = 2;
protected static final int QUIC_FAIL_SO_LOAD = 4;
public static final String REPORT_TAG_DIRECT_DOWNLOAD_FAIL = "report_direct_download_fail";
public static final String REQ_PARAM_AVIF = "tp=avif";
+7 -2
View File
@@ -2,7 +2,7 @@
"name": "napcat",
"private": true,
"type": "module",
"version": "1.5.3",
"version": "1.6.0",
"scripts": {
"watch:dev": "vite --mode development",
"watch:prod": "vite --mode production",
@@ -18,6 +18,11 @@
"depend": "cd dist && npm install --omit=dev"
},
"devDependencies": {
"@babel/core": "^7.24.7",
"@babel/preset-typescript": "^7.24.7",
"vite-plugin-babel": "^1.2.0",
"@babel/plugin-proposal-class-properties": "^7.18.6",
"@babel/plugin-proposal-decorators": "^7.24.7",
"@log4js-node/log4js-api": "^1.0.2",
"@protobuf-ts/plugin": "^2.9.4",
"@rollup/plugin-node-resolve": "^15.2.3",
@@ -61,7 +66,7 @@
"qrcode-terminal": "^0.12.0",
"silk-wasm": "^3.3.4",
"sqlite3": "^5.1.7",
"uuid": "^9.0.1",
"uuid": "^10.0.0",
"ws": "^8.16.0"
}
}
+17
View File
@@ -0,0 +1,17 @@
// 方案一 MiniApp发包方案
// 前置条件: 处于GUI环境 存在MiniApp
import { NTQQSystemApi } from "@/core";
// 前排提示: 开发验证仅Win平台开展
export class MiniAppUtil {
static async RunMiniAppWithGUI() {
//process.env.ELECTRON_RUN_AS_NODE = undefined;//没用还是得自己用cpp之类的语言写个程序转发参数
return NTQQSystemApi.BootMiniApp(process.execPath, "miniapp://open/1007?url=https%3A%2F%2Fm.q.qq.com%2Fa%2Fs%2Fedd0a83d3b8afe233dfa07adaaf8033f%3Fscene%3D1007%26min_refer%3D10001");
}
}
// 方案二 MiniApp发包方案 替代MiniApp方案
// 前置条件: 无
export class MojoMiniAppUtil{
}
+10 -6
View File
@@ -38,11 +38,11 @@ type QQVersionConfigInfo = {
}
let _qqVersionConfigInfo: QQVersionConfigInfo = {
'baseVersion': '9.9.9-23361',
'curVersion': '9.9.9-23361',
'baseVersion': '9.9.11-24568',
'curVersion': '9.9.11-24568',
'prevVersion': '',
'onErrorVersions': [],
'buildId': '23361'
'buildId': '24568'
};
if (fs.existsSync(configVersionInfoPath)) {
@@ -55,7 +55,7 @@ if (fs.existsSync(configVersionInfoPath)) {
}
export const qqVersionConfigInfo: QQVersionConfigInfo = _qqVersionConfigInfo;
//V1_WIN_NQ_9.9.11_24568_GW_B
export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toString());
// platform_type: 3,
// app_type: 4,
@@ -65,9 +65,13 @@ export const qqPkgInfo: QQPkgInfo = JSON.parse(fs.readFileSync(pkgInfoPath).toSt
// platVer: '10.0.26100',
// clientVer: '9.9.9-23159',
let _appid: string = '537213803'; // 默认为 Windows 平台的 appid
// Linux
// app_version: '3.2.9-24568',
// qua: 'V1_LNX_NQ_3.2.9_24568_GW_B',
let _appid: string = '537226369'; // 默认为 Windows 平台的 appid
if (systemPlatform === 'linux') {
_appid = '537213827';
_appid = '537226441';
}
// todo: mac 平台的 appid
export const appid = _appid;
+34 -1
View File
@@ -1,5 +1,5 @@
import fs from 'fs';
import fsPromise from 'fs/promises';
import fsPromise, { stat } from 'fs/promises';
import crypto from 'crypto';
import util from 'util';
import path from 'node:path';
@@ -50,7 +50,40 @@ export function checkFileReceived(path: string, timeout: number = 3000): Promise
check();
});
}
// 定义一个异步函数来检查文件是否存在
export async function checkFileReceived2(path: string, timeout: number = 3000): Promise<void> {
// 使用 Promise.race 来同时进行文件状态检查和超时计时
// Promise.race 会返回第一个解决(resolve)或拒绝(reject)的 Promise
await Promise.race([
checkFile(path),
timeoutPromise(timeout, `文件不存在: ${path}`),
]);
}
// 转换超时时间至 Promise
function timeoutPromise(timeout: number, errorMsg: string): Promise<void> {
return new Promise((_, reject) => {
setTimeout(() => {
reject(new Error(errorMsg));
}, timeout);
});
}
// 异步检查文件是否存在
async function checkFile(path: string): Promise<void> {
try {
await stat(path);
} catch (error: any) {
if (error.code === 'ENOENT') {
// 如果文件不存在,则抛出一个错误
throw new Error(`文件不存在: ${path}`);
} else {
// 对于 stat 调用的其他错误,重新抛出
throw error;
}
}
// 如果文件存在,则无需做任何事情,Promise 解决(resolve)自身
}
export async function file2base64(path: string) {
const readFile = util.promisify(fs.readFile);
const result = {
+104 -2
View File
@@ -4,7 +4,7 @@ import fs from 'fs/promises';
import { log, logDebug } from './log';
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import * as fsPromise from 'node:fs/promises';
const __filename = fileURLToPath(import.meta.url);
const __dirname = dirname(__filename);
@@ -43,8 +43,88 @@ export function truncateString(obj: any, maxLength = 500) {
}
return obj;
}
export function simpleDecorator(target: any, context: any) {
}
// export function CacheClassFunc(ttl: number = 3600 * 1000, customKey: string = '') {
// const cache = new Map<string, { expiry: number; value: any }>();
// return function CacheClassFuncDecorator(originalMethod: Function, context: ClassMethodDecoratorContext) {
// async function CacheClassFuncDecoratorInternal(this: any, ...args: any[]) {
// const key = `${customKey}${String(context.name)}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
// const cachedValue = cache.get(key);
// if (cachedValue && cachedValue.expiry > Date.now()) {
// return cachedValue.value;
// }
// const result = originalMethod.call(this, ...args);
// cache.set(key, { expiry: Date.now() + ttl, value: result });
// return result;
// }
// return CacheClassFuncDecoratorInternal;
// }
// }
export function CacheClassFuncAsync(ttl: number = 3600 * 1000, customKey: string = '') {
//console.log('CacheClassFuncAsync', ttl, customKey);
function logExecutionTime(target: any, methodName: string, descriptor: PropertyDescriptor) {
//console.log('logExecutionTime', target, methodName, descriptor);
const cache = new Map<string, { expiry: number; value: any }>();
const originalMethod = descriptor.value;
descriptor.value = async function (...args: any[]) {
const key = `${customKey}${String(methodName)}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
cache.forEach((value, key) => {
if (value.expiry < Date.now()) {
cache.delete(key);
}
});
const cachedValue = cache.get(key);
if (cachedValue && cachedValue.expiry > Date.now()) {
return cachedValue.value;
}
// const start = Date.now();
const result = await originalMethod.apply(this, args);
// const end = Date.now();
// console.log(`Method ${methodName} executed in ${end - start} ms.`);
cache.set(key, { expiry: Date.now() + ttl, value: result });
return result;
};
}
return logExecutionTime;
}
// export function CacheClassFuncAsync(ttl: number = 3600 * 1000, customKey: string = ''): any {
// const cache = new Map<string, { expiry: number; value: any }>();
// // 注意:在JavaScript装饰器中,我们通常不直接处理ClassMethodDecoratorContext这样的类型,
// // 因为装饰器的参数通常是目标类(对于类装饰器)、属性名(对于属性装饰器)等。
// // 对于方法装饰器,我们关注的是方法本身及其描述符。
// // 但这里我们维持原逻辑,假设有一个自定义的处理上下文的方式。
// return function (originalMethod: Function): any {
// console.log(originalMethod);
// // 由于JavaScript装饰器原生不支持异步直接定义,我们保持async定义以便处理异步方法。
// async function decoratorWrapper(this: any, ...args: any[]): Promise<any> {
// console.log(...args);
// const key = `${customKey}${originalMethod.name}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`;
// const cachedValue = cache.get(key);
// // 遍历cache 清除expiry内容
// cache.forEach((value, key) => {
// if (value.expiry < Date.now()) {
// cache.delete(key);
// }
// });
// if (cachedValue && cachedValue.expiry > Date.now()) {
// return cachedValue.value;
// }
// // 直接await异步方法的结果
// const result = await originalMethod.apply(this, args);
// cache.set(key, { expiry: Date.now() + ttl, value: result });
// return result;
// }
// // 返回装饰后的方法,保持与原方法相同的名称和描述符(如果需要更精细的控制,可以考虑使用Object.getOwnPropertyDescriptor等)
// return decoratorWrapper;
// };
// }
/**
* 函数缓存装饰器,根据方法名、参数、自定义key生成缓存键,在一定时间内返回缓存结果
@@ -181,4 +261,26 @@ export function isEqual(obj1: any, obj2: any) {
if (!isEqual(obj1[key], obj2[key])) return false;
}
return true;
}
}
export async function deleteOldFiles(directoryPath: string, daysThreshold: number) {
try {
const files = await fsPromise.readdir(directoryPath);
for (const file of files) {
const filePath = path.join(directoryPath, file);
const stats = await fsPromise.stat(filePath);
const lastModifiedTime = stats.mtimeMs;
const currentTime = Date.now();
const timeDifference = currentTime - lastModifiedTime;
const daysDifference = timeDifference / (1000 * 60 * 60 * 24);
if (daysDifference > daysThreshold) {
await fsPromise.unlink(filePath); // Delete the file
//console.log(`Deleted: ${filePath}`);
}
}
} catch (error) {
//console.error('Error deleting files:', error);
}
}
+1 -1
View File
@@ -39,7 +39,7 @@ const logConfig: Configuration = {
FileAppender: { // 输出到文件的appender
type: 'file',
filename: logPath, // 指定日志文件的位置和文件名
maxLoogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
maxLogSize: 10485760, // 日志文件的最大大小(单位:字节),这里设置为10MB
layout: {
type: 'pattern',
pattern: '%d{yyyy-MM-dd hh:mm:ss} [%p] %X{userInfo} | %m'
+89 -3
View File
@@ -1,6 +1,9 @@
import https from 'node:https';
import http from 'node:http';
import fs, { readFileSync } from 'node:fs';
import { NTQQUserApi } from '@/core';
import path from 'node:path';
import { request } from 'node:http';
export class RequestUtil {
// 适用于获取服务器下发cookies时获取,仅GET
static async HttpsGetCookies(url: string): Promise<{ [key: string]: string }> {
@@ -49,7 +52,7 @@ export class RequestUtil {
// 请求和回复都是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> {
static async HttpGetJson<T>(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}, isJsonRet: boolean = true, isArgJson: boolean = true): Promise<T> {
const option = new URL(url);
const protocol = url.startsWith('https://') ? https : http;
const options = {
@@ -59,6 +62,10 @@ export class RequestUtil {
method: method,
headers: headers
};
// headers: {
// 'Content-Type': 'application/json',
// 'Content-Length': Buffer.byteLength(postData),
// },
return new Promise((resolve, reject) => {
const req = protocol.request(options, (res: any) => {
let responseBody = '';
@@ -100,7 +107,86 @@ export class RequestUtil {
}
// 请求返回都是原始内容
static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: Record<string, string> = {}) {
static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}) {
return this.HttpGetJson<string>(url, method, data, headers, false, false);
}
static async createFormData(boundary: string, filePath: string): Promise<Buffer> {
let type = 'image/png';
if (filePath.endsWith('.jpg')) {
type = 'image/jpeg';
}
const formDataParts = [
`------${boundary}\r\n`,
`Content-Disposition: form-data; name="share_image"; filename="${filePath}"\r\n`,
`Content-Type: ` + type + `\r\n\r\n`
];
const fileContent = readFileSync(filePath);
const footer = `\r\n------${boundary}--`;
return Buffer.concat([
Buffer.from(formDataParts.join(''), 'utf8'),
fileContent,
Buffer.from(footer, 'utf8')
]);
}
static async uploadImageForOpenPlatform(filePath: string): Promise<string> {
return new Promise(async (resolve, reject) => {
type retType = { retcode: number, result?: { url: string } };
try {
const cookies = Object.entries(await NTQQUserApi.getCookies('connect.qq.com')).map(([key, value]) => `${key}=${value}`).join('; ');
const options = {
hostname: 'cgi.connect.qq.com',
port: 443,
path: '/qqconnectopen/upload_share_image',
method: 'POST',
headers: {
'Referer': 'https://cgi.connect.qq.com',
'Cookie': cookies,
'Accept': '*/*',
'Connection': 'keep-alive',
'Content-Type': 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'
}
};
const req = https.request(options, async (res) => {
let responseBody = '';
res.on('data', (chunk: string | Buffer) => {
responseBody += chunk.toString();
});
res.on('end', () => {
try {
if (res.statusCode && res.statusCode >= 200 && res.statusCode < 300) {
const responseJson = JSON.parse(responseBody) as retType;
resolve(responseJson.result?.url!);
} else {
reject(new Error(`Unexpected status code: ${res.statusCode}`));
}
} catch (parseError) {
reject(parseError);
}
});
});
req.on('error', (error) => {
console.error('Error during upload:', error);
});
const body = await RequestUtil.createFormData('WebKitFormBoundary7MA4YWxkTrZu0gW', filePath);
// req.setHeader('Content-Length', Buffer.byteLength(body));
// console.log(`Prepared data size: ${Buffer.byteLength(body)} bytes`);
req.write(body);
req.end();
return;
} catch (error) {
reject(error);
}
return undefined;
});
}
}
Submodule src/core updated: 18bafe6a4d...d70f9f5f5b.
@@ -1 +1 @@
function _0x2e29(){var _0x3f9d7f=['157053weZnyn','2pMtgjx','771432FIXglJ','1736820uhFOHF','964264PkpyVz','248XNmvWS','61137tNliPv','67501Oripge','getGroupCode','165575WShzhi','630HUlSaF'];_0x2e29=function(){return _0x3f9d7f;};return _0x2e29();}var _0x147761=_0x55a7;(function(_0x1f294a,_0x1c841d){var _0x1bcce1=_0x55a7,_0xe2330b=_0x1f294a();while(!![]){try{var _0xa7c05b=-parseInt(_0x1bcce1(0x1ee))/0x1+-parseInt(_0x1bcce1(0x1ed))/0x2*(parseInt(_0x1bcce1(0x1ec))/0x3)+parseInt(_0x1bcce1(0x1f0))/0x4+parseInt(_0x1bcce1(0x1f5))/0x5+parseInt(_0x1bcce1(0x1ef))/0x6+parseInt(_0x1bcce1(0x1f3))/0x7*(parseInt(_0x1bcce1(0x1f1))/0x8)+-parseInt(_0x1bcce1(0x1f2))/0x9*(-parseInt(_0x1bcce1(0x1eb))/0xa);if(_0xa7c05b===_0x1c841d)break;else _0xe2330b['push'](_0xe2330b['shift']());}catch(_0x332356){_0xe2330b['push'](_0xe2330b['shift']());}}}(_0x2e29,0x71f48));function _0x55a7(_0x628295,_0x4d9860){var _0x2e29b2=_0x2e29();return _0x55a7=function(_0x55a725,_0x1342b0){_0x55a725=_0x55a725-0x1eb;var _0x7f31b9=_0x2e29b2[_0x55a725];return _0x7f31b9;},_0x55a7(_0x628295,_0x4d9860);}export class DependsAdapter{['onMSFStatusChange'](_0x7fcf75,_0x3fc92f){}['onMSFSsoError'](_0x2d84fb){}[_0x147761(0x1f4)](_0x4eae47){}}
function _0x34b8(){var _0x5a3de1=['3537762syBcGg','45JfpVjM','onMSFSsoError','8yHuigU','777412XdiQik','108705XZvmFJ','getGroupCode','onMSFStatusChange','2464889CFVQKg','179800LgPTGV','126549cFEtrD','2716904wiPvSX','15KFJuDG'];_0x34b8=function(){return _0x5a3de1;};return _0x34b8();}function _0x5413(_0x4c5aaf,_0x23ec2a){var _0x34b8cb=_0x34b8();return _0x5413=function(_0x5413fb,_0x4fe630){_0x5413fb=_0x5413fb-0x170;var _0x2c182b=_0x34b8cb[_0x5413fb];return _0x2c182b;},_0x5413(_0x4c5aaf,_0x23ec2a);}var _0x33fbfb=_0x5413;(function(_0x5014d9,_0x1325e4){var _0x385ef7=_0x5413,_0x25527e=_0x5014d9();while(!![]){try{var _0x3cbb72=-parseInt(_0x385ef7(0x177))/0x1+-parseInt(_0x385ef7(0x170))/0x2*(parseInt(_0x385ef7(0x172))/0x3)+-parseInt(_0x385ef7(0x171))/0x4*(-parseInt(_0x385ef7(0x179))/0x5)+-parseInt(_0x385ef7(0x17a))/0x6+parseInt(_0x385ef7(0x175))/0x7+parseInt(_0x385ef7(0x178))/0x8+parseInt(_0x385ef7(0x17b))/0x9*(-parseInt(_0x385ef7(0x176))/0xa);if(_0x3cbb72===_0x1325e4)break;else _0x25527e['push'](_0x25527e['shift']());}catch(_0xc9bd1d){_0x25527e['push'](_0x25527e['shift']());}}}(_0x34b8,0x4f0c7));export class DependsAdapter{[_0x33fbfb(0x174)](_0x1244aa,_0x7ebbb4){}[_0x33fbfb(0x17c)](_0x49b119){}[_0x33fbfb(0x173)](_0x85023a){}}
@@ -1 +1 @@
var _0x428404=_0x3ddd;function _0x3ddd(_0x20963f,_0x5bd082){var _0x67c18=_0x67c1();return _0x3ddd=function(_0x3ddd66,_0x21959e){_0x3ddd66=_0x3ddd66-0x10e;var _0x43f343=_0x67c18[_0x3ddd66];return _0x43f343;},_0x3ddd(_0x20963f,_0x5bd082);}(function(_0x15e797,_0x41e172){var _0x3136f9=_0x3ddd,_0x4e73ed=_0x15e797();while(!![]){try{var _0x462ff5=parseInt(_0x3136f9(0x10f))/0x1*(-parseInt(_0x3136f9(0x112))/0x2)+-parseInt(_0x3136f9(0x117))/0x3*(-parseInt(_0x3136f9(0x114))/0x4)+parseInt(_0x3136f9(0x116))/0x5*(parseInt(_0x3136f9(0x118))/0x6)+parseInt(_0x3136f9(0x11a))/0x7*(-parseInt(_0x3136f9(0x113))/0x8)+-parseInt(_0x3136f9(0x110))/0x9*(parseInt(_0x3136f9(0x119))/0xa)+parseInt(_0x3136f9(0x10e))/0xb+parseInt(_0x3136f9(0x115))/0xc;if(_0x462ff5===_0x41e172)break;else _0x4e73ed['push'](_0x4e73ed['shift']());}catch(_0x53b9bc){_0x4e73ed['push'](_0x4e73ed['shift']());}}}(_0x67c1,0x91b53));function _0x67c1(){var _0x580e22=['10769693YQsZbr','6xWJxOR','9OmMNTI','dispatchCallWithJson','118540cLEoZl','4146616rtGYyv','8LIOqhx','6321276swLwSx','20QMlloS','498063uEoMXF','363522ufOASE','911330LXASnV','14HXtWyK'];_0x67c1=function(){return _0x580e22;};return _0x67c1();}export class DispatcherAdapter{['dispatchRequest'](_0x10b32a){}['dispatchCall'](_0x2af1fa){}[_0x428404(0x111)](_0x5ae585){}}
var _0x322a08=_0x7a55;function _0x7a55(_0x47fd1e,_0x28d38e){var _0x398cc1=_0x398c();return _0x7a55=function(_0x7a5516,_0x21f7e2){_0x7a5516=_0x7a5516-0x1ed;var _0x37f746=_0x398cc1[_0x7a5516];return _0x37f746;},_0x7a55(_0x47fd1e,_0x28d38e);}(function(_0x5ae6db,_0x18b47b){var _0x5e2c7a=_0x7a55,_0xfcb278=_0x5ae6db();while(!![]){try{var _0x170c78=parseInt(_0x5e2c7a(0x1ef))/0x1*(parseInt(_0x5e2c7a(0x1f6))/0x2)+-parseInt(_0x5e2c7a(0x1ed))/0x3+parseInt(_0x5e2c7a(0x1f1))/0x4+-parseInt(_0x5e2c7a(0x1ee))/0x5+-parseInt(_0x5e2c7a(0x1f2))/0x6+parseInt(_0x5e2c7a(0x1f4))/0x7+parseInt(_0x5e2c7a(0x1f5))/0x8*(-parseInt(_0x5e2c7a(0x1f3))/0x9);if(_0x170c78===_0x18b47b)break;else _0xfcb278['push'](_0xfcb278['shift']());}catch(_0x29a550){_0xfcb278['push'](_0xfcb278['shift']());}}}(_0x398c,0x9d4e8));export class DispatcherAdapter{[_0x322a08(0x1f0)](_0x4faf38){}[_0x322a08(0x1f7)](_0x467ad1){}[_0x322a08(0x1f8)](_0x21a077){}}function _0x398c(){var _0x1ca2ed=['3665464nPCRJJ','2769732FieYKq','27CTrwum','8530025Pghxab','3437976IijThs','55184KrEook','dispatchCall','dispatchCallWithJson','464232eQNtzA','2201790hipXjS','31vgRDsG','dispatchRequest'];_0x398c=function(){return _0x1ca2ed;};return _0x398c();}
@@ -1 +1 @@
var _0x12331c=_0x1b89;(function(_0x13d288,_0xc82705){var _0x27590a=_0x1b89,_0x39e81b=_0x13d288();while(!![]){try{var _0x78b2ad=-parseInt(_0x27590a(0x87))/0x1*(parseInt(_0x27590a(0x8b))/0x2)+parseInt(_0x27590a(0x94))/0x3*(parseInt(_0x27590a(0x8d))/0x4)+-parseInt(_0x27590a(0x84))/0x5+parseInt(_0x27590a(0x91))/0x6*(parseInt(_0x27590a(0x93))/0x7)+parseInt(_0x27590a(0x8a))/0x8*(parseInt(_0x27590a(0x88))/0x9)+-parseInt(_0x27590a(0x86))/0xa+parseInt(_0x27590a(0x95))/0xb;if(_0x78b2ad===_0xc82705)break;else _0x39e81b['push'](_0x39e81b['shift']());}catch(_0x2c8a82){_0x39e81b['push'](_0x39e81b['shift']());}}}(_0x3f52,0xd8537));function _0x1b89(_0x47fe65,_0x16511d){var _0x3f524b=_0x3f52();return _0x1b89=function(_0x1b895e,_0x35ca06){_0x1b895e=_0x1b895e-0x84;var _0x5cf9a9=_0x3f524b[_0x1b895e];return _0x5cf9a9;},_0x1b89(_0x47fe65,_0x16511d);}function _0x3f52(){var _0x52071e=['5954365uXmOGc','getAppSetting','6172970gqCqji','285148GXjAZv','81QCmJYQ','onGetSrvCalTime','34280OyVxgG','2loyWem','onInstallFinished','1236588LIbVlp','onGetOfflineMsg','onUpdateGeneralFlag','onLog','12naixoE','onShowErrUITips','5904458QojAPh','3lytwYt','10391579SHGTUz'];_0x3f52=function(){return _0x52071e;};return _0x3f52();}export class GlobalAdapter{[_0x12331c(0x90)](..._0x539419){}[_0x12331c(0x89)](..._0xa6fee8){}[_0x12331c(0x92)](..._0x19ebf6){}['fixPicImgType'](..._0x26f154){}[_0x12331c(0x85)](..._0x100aa9){}[_0x12331c(0x8c)](..._0x3ac4a2){}[_0x12331c(0x8f)](..._0x421558){}[_0x12331c(0x8e)](..._0x441583){}}
var _0x59f79f=_0xf9e7;(function(_0x42e807,_0x3b2ab8){var _0x36c6fe=_0xf9e7,_0x3dc4fe=_0x42e807();while(!![]){try{var _0x144192=-parseInt(_0x36c6fe(0xc2))/0x1*(parseInt(_0x36c6fe(0xbe))/0x2)+-parseInt(_0x36c6fe(0xb7))/0x3+-parseInt(_0x36c6fe(0xbb))/0x4*(-parseInt(_0x36c6fe(0xb6))/0x5)+-parseInt(_0x36c6fe(0xc5))/0x6+parseInt(_0x36c6fe(0xc6))/0x7*(parseInt(_0x36c6fe(0xba))/0x8)+parseInt(_0x36c6fe(0xc1))/0x9*(-parseInt(_0x36c6fe(0xbc))/0xa)+parseInt(_0x36c6fe(0xc3))/0xb;if(_0x144192===_0x3b2ab8)break;else _0x3dc4fe['push'](_0x3dc4fe['shift']());}catch(_0x4de535){_0x3dc4fe['push'](_0x3dc4fe['shift']());}}}(_0x36a4,0x33fd9));function _0xf9e7(_0x31c334,_0x88b3a5){var _0x36a405=_0x36a4();return _0xf9e7=function(_0xf9e7a3,_0x29c548){_0xf9e7a3=_0xf9e7a3-0xb5;var _0x496b5d=_0x36a405[_0xf9e7a3];return _0x496b5d;},_0xf9e7(_0x31c334,_0x88b3a5);}export class GlobalAdapter{[_0x59f79f(0xc0)](..._0x50ca8b){}[_0x59f79f(0xb9)](..._0x20d14d){}['onShowErrUITips'](..._0x16200c){}[_0x59f79f(0xb5)](..._0xb16818){}[_0x59f79f(0xb8)](..._0x4894c2){}[_0x59f79f(0xc4)](..._0x59b5d1){}[_0x59f79f(0xbf)](..._0xe0692){}[_0x59f79f(0xbd)](..._0x283c2b){}}function _0x36a4(){var _0x3239fc=['onUpdateGeneralFlag','onLog','9ambHDl','45549EjfJYx','2425984vrxKqm','onInstallFinished','1723224nBwrHU','21upzoQr','fixPicImgType','11690PbTuPJ','247302TYwjcH','getAppSetting','onGetSrvCalTime','561928YGsmvx','564WAVMSB','1327850LyXqsU','onGetOfflineMsg','2JKJXsa'];_0x36a4=function(){return _0x3239fc;};return _0x36a4();}
+1 -1
View File
@@ -1 +1 @@
(function(_0x2b5310,_0x59cdd4){var _0x3cddae=_0x2990,_0x478f72=_0x2b5310();while(!![]){try{var _0x22bdd2=parseInt(_0x3cddae(0x1d2))/0x1*(parseInt(_0x3cddae(0x1d3))/0x2)+-parseInt(_0x3cddae(0x1d5))/0x3*(-parseInt(_0x3cddae(0x1d8))/0x4)+-parseInt(_0x3cddae(0x1db))/0x5+-parseInt(_0x3cddae(0x1d4))/0x6*(parseInt(_0x3cddae(0x1d7))/0x7)+-parseInt(_0x3cddae(0x1d6))/0x8+-parseInt(_0x3cddae(0x1d9))/0x9+-parseInt(_0x3cddae(0x1da))/0xa*(-parseInt(_0x3cddae(0x1dc))/0xb);if(_0x22bdd2===_0x59cdd4)break;else _0x478f72['push'](_0x478f72['shift']());}catch(_0x5bfb27){_0x478f72['push'](_0x478f72['shift']());}}}(_0x29a1,0xaa850));function _0x2990(_0x468e49,_0x26c3b0){var _0x29a191=_0x29a1();return _0x2990=function(_0x29900d,_0x4ac60a){_0x29900d=_0x29900d-0x1d2;var _0x254939=_0x29a191[_0x29900d];return _0x254939;},_0x2990(_0x468e49,_0x26c3b0);}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x29a1(){var _0x44f37e=['9084131KlPxxQ','2777384hXKQkx','4632111wKYddt','1330NfPSJo','3737995TmsusY','192885juDJtu','77815wPWdYj','20nTlfsq','6YMvloe','3cCSDLO','4369536uFniCZ'];_0x29a1=function(){return _0x44f37e;};return _0x29a1();}export*from'./NodeIGlobalAdapter';
function _0x15a8(){var _0x4c7426=['1825520nRtUuN','95631LWaWGn','4430fUSbDh','25844280gNgbwW','88eUDDgv','22JmmWzU','71856gMMBUB','121740lKMrHE','3028dAEVJr','287xKEPZl','1835178bEJUix'];_0x15a8=function(){return _0x4c7426;};return _0x15a8();}function _0x25de(_0x329e16,_0x59640d){var _0x15a846=_0x15a8();return _0x25de=function(_0x25ded1,_0x26ab5b){_0x25ded1=_0x25ded1-0x16f;var _0x1cf3b8=_0x15a846[_0x25ded1];return _0x1cf3b8;},_0x25de(_0x329e16,_0x59640d);}(function(_0x2862fc,_0x2f0547){var _0x2c7e63=_0x25de,_0x17741b=_0x2862fc();while(!![]){try{var _0x11cf00=-parseInt(_0x2c7e63(0x175))/0x1*(parseInt(_0x2c7e63(0x179))/0x2)+-parseInt(_0x2c7e63(0x173))/0x3+parseInt(_0x2c7e63(0x171))/0x4*(-parseInt(_0x2c7e63(0x176))/0x5)+-parseInt(_0x2c7e63(0x170))/0x6*(-parseInt(_0x2c7e63(0x172))/0x7)+-parseInt(_0x2c7e63(0x178))/0x8*(parseInt(_0x2c7e63(0x16f))/0x9)+-parseInt(_0x2c7e63(0x174))/0xa+parseInt(_0x2c7e63(0x177))/0xb;if(_0x11cf00===_0x2f0547)break;else _0x17741b['push'](_0x17741b['shift']());}catch(_0x1f239f){_0x17741b['push'](_0x17741b['shift']());}}}(_0x15a8,0x8cc71));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter';
+1 -1
View File
@@ -1 +1 @@
const _0x31a1aa=_0x2e9c;function _0x2e9c(_0x4a5a11,_0x8a8f57){const _0x185e0b=_0x185e();return _0x2e9c=function(_0x2e9cf2,_0x5360b7){_0x2e9cf2=_0x2e9cf2-0x16e;let _0x4cedc9=_0x185e0b[_0x2e9cf2];return _0x4cedc9;},_0x2e9c(_0x4a5a11,_0x8a8f57);}(function(_0x1223c1,_0x36630f){const _0x37843f=_0x2e9c,_0x1298ec=_0x1223c1();while(!![]){try{const _0x27c51c=parseInt(_0x37843f(0x17c))/0x1+-parseInt(_0x37843f(0x173))/0x2+-parseInt(_0x37843f(0x175))/0x3+parseInt(_0x37843f(0x179))/0x4*(parseInt(_0x37843f(0x174))/0x5)+-parseInt(_0x37843f(0x17b))/0x6*(parseInt(_0x37843f(0x178))/0x7)+parseInt(_0x37843f(0x172))/0x8+parseInt(_0x37843f(0x17a))/0x9;if(_0x27c51c===_0x36630f)break;else _0x1298ec['push'](_0x1298ec['shift']());}catch(_0x2b319d){_0x1298ec['push'](_0x1298ec['shift']());}}}(_0x185e,0x1f560));function _0x185e(){const _0xeed159=['getAllCollection','createCollection','164488DsahmG','464118zROPrg','5AxnOzS','224145ewJWAU','session','getCollectionService','389977dlYMoi','336092bREVAB','2684376UnQGIE','12pYLQXF','143700SAIsfI','toString','createNewCollectionItem','now'];_0x185e=function(){return _0xeed159;};return _0x185e();}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x31a1aa(0x171)](_0x38838c,_0x3c7fd7,_0x315cb3,_0x47d4c6,_0x546355){const _0x5b80b6=_0x31a1aa;let _0x4167aa={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x38838c,'strId':_0x315cb3,'groupId':'0','groupName':'','uid':_0x3c7fd7},'customGroupId':'0','createTime':Date['now']()[_0x5b80b6(0x17d)](),'sequence':Date[_0x5b80b6(0x16f)]()['toString']()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x47d4c6,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x546355,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x5b80b6(0x177)]()[_0x5b80b6(0x16e)](_0x4167aa);}static async[_0x31a1aa(0x170)](_0xf05388=0x0,_0x4268b2=0x32){const _0x440634=_0x31a1aa;let _0xe3b2cc={'category':_0xf05388,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4268b2,'searchDown':!![]};return napCatCore[_0x440634(0x176)]['getCollectionService']()['getCollectionItemList'](_0xe3b2cc);}}
(function(_0x4b59c2,_0x3d7488){const _0x3d0aed=_0x48eb,_0x58e783=_0x4b59c2();while(!![]){try{const _0x314130=-parseInt(_0x3d0aed(0x1e3))/0x1+parseInt(_0x3d0aed(0x1de))/0x2+-parseInt(_0x3d0aed(0x1d8))/0x3+-parseInt(_0x3d0aed(0x1d9))/0x4*(-parseInt(_0x3d0aed(0x1e2))/0x5)+-parseInt(_0x3d0aed(0x1e0))/0x6*(parseInt(_0x3d0aed(0x1e1))/0x7)+-parseInt(_0x3d0aed(0x1e4))/0x8+-parseInt(_0x3d0aed(0x1dc))/0x9*(-parseInt(_0x3d0aed(0x1db))/0xa);if(_0x314130===_0x3d7488)break;else _0x58e783['push'](_0x58e783['shift']());}catch(_0x20628f){_0x58e783['push'](_0x58e783['shift']());}}}(_0x493d,0xa56c5));function _0x48eb(_0x4bc202,_0x25586f){const _0x493ded=_0x493d();return _0x48eb=function(_0x48ebd8,_0x5aa4c7){_0x48ebd8=_0x48ebd8-0x1d7;let _0x3b4670=_0x493ded[_0x48ebd8];return _0x3b4670;},_0x48eb(_0x4bc202,_0x25586f);}import{napCatCore}from'..';export class NTQQCollectionApi{static async['createCollection'](_0x190fff,_0x773f9d,_0x3bb5fd,_0x71660a,_0x44d3bd){const _0x2dd486=_0x48eb;let _0x5a1693={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x190fff,'strId':_0x3bb5fd,'groupId':'0','groupName':'','uid':_0x773f9d},'customGroupId':'0','createTime':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)](),'sequence':Date[_0x2dd486(0x1e5)]()[_0x2dd486(0x1d7)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x71660a,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x44d3bd,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x2dd486(0x1da)][_0x2dd486(0x1df)]()[_0x2dd486(0x1dd)](_0x5a1693);}static async['getAllCollection'](_0x10be57=0x0,_0x559553=0x32){const _0x2c69ad=_0x48eb;let _0x4e7662={'category':_0x10be57,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x559553,'searchDown':!![]};return napCatCore[_0x2c69ad(0x1da)][_0x2c69ad(0x1df)]()['getCollectionItemList'](_0x4e7662);}}function _0x493d(){const _0x248d76=['getCollectionService','120ZqYCZt','418453zBzFgH','290mRbjxf','782572xYbCte','6049272XGRlYT','now','toString','2718012HkPdyF','26056NkjZVn','session','8350970AkBxNY','36DEriRI','createNewCollectionItem','1199376PduhKQ'];_0x493d=function(){return _0x248d76;};return _0x493d();}
+1 -1
View File
@@ -1 +1 @@
const _0x56e6f8=_0x1032;(function(_0xc33b8d,_0x395f12){const _0x28d316=_0x1032,_0x573fee=_0xc33b8d();while(!![]){try{const _0x4391b1=-parseInt(_0x28d316(0x108))/0x1*(-parseInt(_0x28d316(0x10b))/0x2)+parseInt(_0x28d316(0xea))/0x3*(parseInt(_0x28d316(0x117))/0x4)+-parseInt(_0x28d316(0xe5))/0x5+parseInt(_0x28d316(0xda))/0x6+-parseInt(_0x28d316(0xf6))/0x7+parseInt(_0x28d316(0x120))/0x8*(parseInt(_0x28d316(0x106))/0x9)+-parseInt(_0x28d316(0x12c))/0xa*(parseInt(_0x28d316(0x127))/0xb);if(_0x4391b1===_0x395f12)break;else _0x573fee['push'](_0x573fee['shift']());}catch(_0xa1e215){_0x573fee['push'](_0x573fee['shift']());}}}(_0x2ddb,0x95a16));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0xb8832b from'path';function _0x2ddb(){const _0x5e547b=['34644oQpkuY','yZBjS','PIC','/gchatpic_new/0/0-0-','hotUpdate','ZlmEz','getRichMediaFilePathForGuild','toUpperCase','delete','clearCacheDataByKeys','tmp','LxIoP','4240698hFIpCK','CkDWq','getHotUpdateCachePath','getFileType','indexOf','clearChatCache','getImageSize','getFileSize','elementId','apGSe','uhwUc','getMsgService','RKojW','defaultFileDownloadPath','downloadRichMedia','/download','1035FjwsIW','startsWith','1egezhT','addCacheScanedPaths','addCacheScannedPaths','532186UKWHEY','scanCache','getFileCacheInfo','chatType','getVideoPlayUrlV2','clearCache','getChatCacheList','downloadMedia','msgId','existsSync','ext','onRichMediaDownloadComplete','324ZmlBoR','qGSEK','CvjtC','EPHAr','md5HexStr','filePath','uOuNx','private_rkey','dZnZo','13784KkODpW','GBIqf','join','includes','VXkMa','fileTypeFromFile','getImageUrl','1232chcmdz','HQWKE','urlResult','url','getCacheSessionPathList','19970FNnCDY','getVideoUrl','hCuOI','下载超时','uploadFile','5461620vcQFyD','COeSL','session','IDNCu','domainUrl','getStorageCleanService','getRkey','addListener','图片url获取失败','sgiNM','peerUid','4337660SkAxNk','unlink','util','copyFile','&rkey='];_0x2ddb=function(){return _0x5e547b;};return _0x2ddb();}import _0x18b381 from'fs';import _0x54e42d from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x4e5834 from'file-type';import{MsgListener}from'@/core/listeners';import _0x5a6a0c from'image-size';function _0x1032(_0x81f995,_0x11dec6){const _0x2ddbcb=_0x2ddb();return _0x1032=function(_0x1032e5,_0x215741){_0x1032e5=_0x1032e5-0xd9;let _0x5a1709=_0x2ddbcb[_0x1032e5];return _0x5a1709;},_0x1032(_0x81f995,_0x11dec6);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x56e6f8(0x116)]=_0x530020=>{const _0x1dba36=_0x56e6f8;for(const [_0x4f422b,_0x26d573]of downloadMediaTasks){_0x26d573(_0x530020),downloadMediaTasks[_0x1dba36(0xf2)](_0x4f422b);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x3d05c6=_0x1032;napCatCore[_0x3d05c6(0xe1)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x56e6f8(0xf9)](_0x17efb0){const _0x4ad483=_0x56e6f8;return _0x4e5834[_0x4ad483(0x125)](_0x17efb0);}static async[_0x56e6f8(0xe8)](_0x49d9eb,_0x4ef503){const _0x19b68c=_0x56e6f8;await napCatCore[_0x19b68c(0xe7)][_0x19b68c(0xe8)](_0x49d9eb,_0x4ef503);}static async[_0x56e6f8(0xfd)](_0x3ce019){const _0x48df96=_0x56e6f8;return await napCatCore[_0x48df96(0xe7)][_0x48df96(0xfd)](_0x3ce019);}static async[_0x56e6f8(0x12d)](_0x226910,_0x959e4c){const _0x1558a0=_0x56e6f8;return(await napCatCore[_0x1558a0(0xdc)]['getRichMediaService']()[_0x1558a0(0x10f)]({'chatType':_0x226910[_0x1558a0(0x10e)],'peerUid':_0x226910[_0x1558a0(0xe4)],'guildId':'0'},_0x226910['msgId'],_0x959e4c[_0x1558a0(0xfe)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x1558a0(0x129)][_0x1558a0(0xde)][0x0][_0x1558a0(0x12a)];}static async[_0x56e6f8(0xd9)](_0x4ebf46,_0xe937b7=ElementType[_0x56e6f8(0xec)],_0x11fbe9=0x0){const _0x433c44=_0x56e6f8,_0x1ed585={'VXkMa':function(_0x53f998,_0x43461a){return _0x53f998+_0x43461a;},'LxIoP':function(_0x4342bb,_0x1e77c4){return _0x4342bb===_0x1e77c4;}},_0x3383c6=await calculateFileMD5(_0x4ebf46);let _0x3c70ee=(await NTQQFileApi[_0x433c44(0xf9)](_0x4ebf46))?.[_0x433c44(0x115)]||'';_0x3c70ee&&(_0x3c70ee=_0x1ed585[_0x433c44(0x124)]('.',_0x3c70ee));let _0x2f06ff=''+_0xb8832b['basename'](_0x4ebf46);_0x1ed585[_0x433c44(0xf5)](_0x2f06ff[_0x433c44(0xfa)]('.'),-0x1)&&(_0x2f06ff+=_0x3c70ee);const _0xb20029=napCatCore[_0x433c44(0xdc)][_0x433c44(0x101)]()[_0x433c44(0xf0)]({'md5HexStr':_0x3383c6,'fileName':_0x2f06ff,'elementType':_0xe937b7,'elementSubType':_0x11fbe9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x433c44(0xe8)](_0x4ebf46,_0xb20029);const _0x340e05=await NTQQFileApi[_0x433c44(0xfd)](_0x4ebf46);return{'md5':_0x3383c6,'fileName':_0x2f06ff,'path':_0xb20029,'fileSize':_0x340e05,'exLine truncated
const _0x5cc836=_0x2753;(function(_0x325c3a,_0x104157){const _0x4dc830=_0x2753,_0x1a1d7f=_0x325c3a();while(!![]){try{const _0x36f52e=-parseInt(_0x4dc830(0x174))/0x1+-parseInt(_0x4dc830(0x177))/0x2+parseInt(_0x4dc830(0x14d))/0x3+parseInt(_0x4dc830(0x155))/0x4*(parseInt(_0x4dc830(0x145))/0x5)+-parseInt(_0x4dc830(0x16b))/0x6*(-parseInt(_0x4dc830(0x137))/0x7)+-parseInt(_0x4dc830(0x13c))/0x8+-parseInt(_0x4dc830(0x13a))/0x9;if(_0x36f52e===_0x104157)break;else _0x1a1d7f['push'](_0x1a1d7f['shift']());}catch(_0x3ccd41){_0x1a1d7f['push'](_0x1a1d7f['shift']());}}}(_0x119c,0x263fe));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x3bb556 from'path';import _0x5bf1a3 from'fs';import _0x1bedda from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x1ab883 from'file-type';import{MsgListener}from'@/core/listeners';import _0x50335f from'image-size';function _0x2753(_0x41fdd2,_0x37be4d){const _0x119c22=_0x119c();return _0x2753=function(_0x275373,_0x474705){_0x275373=_0x275373-0x129;let _0x21bbe4=_0x119c22[_0x275373];return _0x21bbe4;},_0x2753(_0x41fdd2,_0x37be4d);}import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';function _0x119c(){const _0x38f25e=['图片url获取失败','addCacheScanedPaths','set','fileUuid','uMVze','agSaB','WrzCu','65kmtgvv','getDesktopTmpPath','onLoginSuccess','tmp','&rkey=','FUKnC','chatType','getFileSize','61701ahfIXZ','getRkey','downloadRichMedia','addCacheScannedPaths','md5HexStr','setCacheSilentScan','clearCacheDataByKeys','getMsgService','73464ACaxJF','url','delete','session','toUpperCase','unlink','includes','clearChatCache','urlResult','copyFile','fileTypeFromFile','getImageSize','rMFIR','QoqkO','zZcGi','scanCache','getCacheSessionPathList','existsSync','JkjHw','getVideoUrl','getFileType','indexOf','272214jpuKAv','ZKxes','originImageUrl','util','filePath','private_rkey','getImageUrl','clearCache','getHotUpdateCachePath','21208sxNRme','peerUid','msgId','128032rfUfKP','join','getRichMediaService','basename','group_rkey','elementId','getRichMediaFilePathForGuild','DJGIE','addListener','Tpwfh','downloadMedia','getFileCacheInfo','clearChatCacheInfo','startsWith','/gchatpic_new/0/0-0-','14LEqUwC','getStorageCleanService','TGoff','727758YhIOmB','hotUpdate','218456NkKTwA','domainUrl'];_0x119c=function(){return _0x38f25e;};return _0x119c();}const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener['onRichMediaDownloadComplete']=_0x43aa30=>{const _0x453894=_0x2753;for(const [_0x2d7654,_0x510cfd]of downloadMediaTasks){_0x510cfd(_0x43aa30),downloadMediaTasks[_0x453894(0x157)](_0x2d7654);}},setTimeout(()=>{const _0x1261bb=_0x2753;napCatCore[_0x1261bb(0x147)](()=>{const _0x3587c0=_0x1261bb;napCatCore[_0x3587c0(0x130)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4bfd4c){const _0x9a74a=_0x2753;return _0x1ab883[_0x9a74a(0x15f)](_0x4bfd4c);}static async['copyFile'](_0x2a6028,_0x1aa9cd){const _0xa13bae=_0x2753;await napCatCore['util'][_0xa13bae(0x15e)](_0x2a6028,_0x1aa9cd);}static async['getFileSize'](_0x5bb7bc){const _0x3b62a4=_0x2753;return await napCatCore[_0x3b62a4(0x16e)]['getFileSize'](_0x5bb7bc);}static async[_0x5cc836(0x168)](_0x143e34,_0x2c047a){const _0x757d42=_0x5cc836;return(await napCatCore['session'][_0x757d42(0x12a)]()['getVideoPlayUrlV2']({'chatType':_0x143e34[_0x757d42(0x14b)],'peerUid':_0x143e34[_0x757d42(0x175)],'guildId':'0'},_0x143e34[_0x757d42(0x176)],_0x2c047a[_0x757d42(0x12d)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x757d42(0x15d)][_0x757d42(0x13d)][0x0][_0x757d42(0x156)];}static async['uploadFile'](_0x28be73,_0x4d6d6c=ElementType['PIC'],_0x887ed4=0x0){const _0x1e3d69=_0x5cc836,_0xbb142a={'zZcGi':function(_0x4ca907,_0x15a7fd){return _0x4ca907+_0x15a7fd;},'QoqkO':function(_0x1132f8,_0x2cf667){return _0x1132f8===_0x2cf667;}},_0x20eb82=await calculateFileMD5(_0x28be73);let _0x21ab34=(await NTQQFileApi[_0x1e3d69(0x169)](_0x28be73))?.['ext']||'';_0x21ab34&&(_0x21ab34=_0xbb142a[_0x1e3d69(0x163)]('.',_0x21ab34));let _0xa54243=''+_0x3bb556[_0x1e3d69(0x12b)](_0x28be73);_0xbb142a[_0x1e3d69(0x162)](_0xa54243[_0x1e3d69(0x16a)]('.'),-0x1)&&(_0xa54243+=_0x21ab34);const _0x2aca53=napCatCore[_0x1e3d69(0x158)][_0x1e3d69(0x154)]()[_0x1e3d69(0x12e)]({'md5HexStr':_0x20eb82,'fileName':_0xa54243,'elementType':_0x4d6d6c,'elementSubType':_0x887ed4,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1e3d69(0x15e)](_0x28be73,_0x2aca53);const _0x457ed8=await NTQQFileApi[_0x1e3d69(0x14c)](_0x28be73);return{'md5':_0x20eb82,'fileName':_0xa54243,'path':_0x2aca53,'fileSize':_0x457ed8,'ext':_0x21ab34};}static async[_0x5cc836(0x132)](_0x5a7075,_0x342e6b,_0x50a1e3,_0x2b9fd8,_0x26fbc5,_0x2e59fd,_0x50412a=0x3e8*0x3c*Line truncated
+1
View File
@@ -1,5 +1,6 @@
import { User } from '@/core/entities';
export declare class NTQQFriendApi {
static isBuddy(uid: string): Promise<boolean>;
static getFriends(forced?: boolean): Promise<User[]>;
static handleFriendRequest(flag: string, accept: boolean): Promise<void>;
}
+1 -1
View File
@@ -1 +1 @@
function _0x23a3(_0x4b2b49,_0x4ef523){const _0x220079=_0x2200();return _0x23a3=function(_0x23a3b3,_0x3e015f){_0x23a3b3=_0x23a3b3-0x13f;let _0x4fa70a=_0x220079[_0x23a3b3];return _0x4fa70a;},_0x23a3(_0x4b2b49,_0x4ef523);}const _0x4f16f9=_0x23a3;function _0x2200(){const _0x349cf2=['3519uiKckB','handleFriendRequest','1312yAoeka','approvalFriendRequest','481150aVcAeQ','337249EOOZGH','split','3416dUjWMC','buddyList','CallNormalEvent','length','521388ECQlIm','kDEPP','241959zNmSPu','3530OWVGgw','1555014kUdrkm','getBuddyService','getFriends','NodeIKernelBuddyService/getBuddyList','8FQdBDH','bifRx'];_0x2200=function(){return _0x349cf2;};return _0x2200();}(function(_0xe2852a,_0x46568a){const _0x41eb76=_0x23a3,_0x2531aa=_0xe2852a();while(!![]){try{const _0x5c9caa=parseInt(_0x41eb76(0x146))/0x1+parseInt(_0x41eb76(0x14c))/0x2+parseInt(_0x41eb76(0x14e))/0x3*(parseInt(_0x41eb76(0x13f))/0x4)+-parseInt(_0x41eb76(0x145))/0x5+-parseInt(_0x41eb76(0x150))/0x6+parseInt(_0x41eb76(0x148))/0x7*(-parseInt(_0x41eb76(0x143))/0x8)+-parseInt(_0x41eb76(0x141))/0x9*(parseInt(_0x41eb76(0x14f))/0xa);if(_0x5c9caa===_0x46568a)break;else _0x2531aa['push'](_0x2531aa['shift']());}catch(_0x2860fc){_0x2531aa['push'](_0x2531aa['shift']());}}}(_0x2200,0x2d5c3));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4f16f9(0x152)](_0x537318=![]){const _0x201fca=_0x4f16f9,_0x36eb54={'FsHNj':_0x201fca(0x153),'kDEPP':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x2386a6,_0x184898]=await NTEventDispatch[_0x201fca(0x14a)](_0x36eb54['FsHNj'],_0x36eb54[_0x201fca(0x14d)],0x1,0x1388,_0x537318);const _0x335c65=[];for(const _0x2401f1 of _0x184898){for(const _0x2ee6bc of _0x2401f1[_0x201fca(0x149)]){_0x335c65['push'](_0x2ee6bc);}}return _0x335c65;}static async[_0x4f16f9(0x142)](_0x35da73,_0x833223){const _0x393db3=_0x4f16f9,_0x1e3a25={'bifRx':function(_0x37132e,_0x3d6d59){return _0x37132e<_0x3d6d59;}};let _0x1fd439=_0x35da73[_0x393db3(0x147)]('|');if(_0x1e3a25[_0x393db3(0x140)](_0x1fd439[_0x393db3(0x14b)],0x2))return;let _0x1ef202=_0x1fd439[0x0],_0x2ae89b=_0x1fd439[0x1];napCatCore['session'][_0x393db3(0x151)]()?.[_0x393db3(0x144)]({'friendUid':_0x1ef202,'reqTime':_0x2ae89b,'accept':_0x833223});}}
function _0x5820(){const _0xd58641=['getBuddyService','NodeIKernelBuddyService/getBuddyList','NodeIKernelBuddyListener/onBuddyListChange','dXhmp','757225pdsMHI','split','433345fApLPe','isBuddy','7513440OVDWHx','ObMee','191142WJRwiA','640EMgfye','863124waPdXc','buddyList','getFriends','handleFriendRequest','session','9PrYryQ','1124810WQPXHs','192IIJEUa','hfVyP','20ZeDEmZ','72GqzhxS','length','854812ybTIyM'];_0x5820=function(){return _0xd58641;};return _0x5820();}const _0x41ea97=_0x7a21;(function(_0x4c9b52,_0x18da63){const _0x25929e=_0x7a21,_0x38ca40=_0x4c9b52();while(!![]){try{const _0x5d42b3=-parseInt(_0x25929e(0x9a))/0x1+-parseInt(_0x25929e(0x89))/0x2*(parseInt(_0x25929e(0x8e))/0x3)+parseInt(_0x25929e(0x92))/0x4*(parseInt(_0x25929e(0x8f))/0x5)+-parseInt(_0x25929e(0x9e))/0x6+parseInt(_0x25929e(0x95))/0x7*(parseInt(_0x25929e(0x93))/0x8)+-parseInt(_0x25929e(0xa0))/0x9*(-parseInt(_0x25929e(0xa1))/0xa)+-parseInt(_0x25929e(0x9c))/0xb*(-parseInt(_0x25929e(0x90))/0xc);if(_0x5d42b3===_0x18da63)break;else _0x38ca40['push'](_0x38ca40['shift']());}catch(_0x107f9a){_0x38ca40['push'](_0x38ca40['shift']());}}}(_0x5820,0xddfc7));function _0x7a21(_0x459a32,_0x120c90){const _0x582071=_0x5820();return _0x7a21=function(_0x7a2113,_0x8ceb5e){_0x7a2113=_0x7a2113-0x89;let _0x5ba122=_0x582071[_0x7a2113];return _0x5ba122;},_0x7a21(_0x459a32,_0x120c90);}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x41ea97(0x9d)](_0x3f3c16){const _0x116a2c=_0x41ea97;return napCatCore[_0x116a2c(0x8d)][_0x116a2c(0x96)]()['isBuddy'](_0x3f3c16);}static async[_0x41ea97(0x8b)](_0x30c0ca=![]){const _0x5028e6=_0x41ea97,_0x143e2e={'hfVyP':_0x5028e6(0x97),'ObMee':_0x5028e6(0x98)};let [_0x3ae1d,_0x284612]=await NTEventDispatch['CallNormalEvent'](_0x143e2e[_0x5028e6(0x91)],_0x143e2e[_0x5028e6(0x9f)],0x1,0x1388,_0x30c0ca);const _0x1a59b0=[];for(const _0x311071 of _0x284612){for(const _0x28f328 of _0x311071[_0x5028e6(0x8a)]){_0x1a59b0['push'](_0x28f328);}}return _0x1a59b0;}static async[_0x41ea97(0x8c)](_0x9f61dc,_0x77c5ba){const _0x1210ec=_0x41ea97,_0x4ddc18={'dXhmp':function(_0x5d7d61,_0xb6c55){return _0x5d7d61<_0xb6c55;}};let _0x175483=_0x9f61dc[_0x1210ec(0x9b)]('|');if(_0x4ddc18[_0x1210ec(0x99)](_0x175483[_0x1210ec(0x94)],0x2))return;let _0x363871=_0x175483[0x0],_0x3136f6=_0x175483[0x1];napCatCore['session'][_0x1210ec(0x96)]()?.['approvalFriendRequest']({'friendUid':_0x363871,'reqTime':_0x3136f6,'accept':_0x77c5ba});}}
+1 -1
View File
@@ -1 +1 @@
const _0x337ae6=_0x226f;(function(_0x5eff0b,_0x12156d){const _0x181c98=_0x226f,_0x203dd1=_0x5eff0b();while(!![]){try{const _0x1a134b=parseInt(_0x181c98(0x16a))/0x1*(parseInt(_0x181c98(0x185))/0x2)+-parseInt(_0x181c98(0x192))/0x3+-parseInt(_0x181c98(0x16b))/0x4*(parseInt(_0x181c98(0x193))/0x5)+-parseInt(_0x181c98(0x17e))/0x6+parseInt(_0x181c98(0x177))/0x7*(-parseInt(_0x181c98(0x164))/0x8)+-parseInt(_0x181c98(0x16c))/0x9*(parseInt(_0x181c98(0x165))/0xa)+parseInt(_0x181c98(0x191))/0xb;if(_0x1a134b===_0x12156d)break;else _0x203dd1['push'](_0x203dd1['shift']());}catch(_0x331071){_0x203dd1['push'](_0x203dd1['shift']());}}}(_0x1761,0xc04d6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x226f(_0x54b516,_0x53f570){const _0x1761ed=_0x1761();return _0x226f=function(_0x226ff9,_0xc48b19){_0x226ff9=_0x226ff9-0x15a;let _0x2c6cbd=_0x1761ed[_0x226ff9];return _0x2c6cbd;},_0x226f(_0x54b516,_0x53f570);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x1761(){const _0x11a676=['getPSkey','setGroupShutUp','RAVVj','NodeIKernelGroupService/getGroupList','40234755KzgwKf','3603426cFnzku','251585qMKJfG','result','INIrx','getGroupRecommendContactArkJson','CreatGroupFileFolder','modifyMemberRole','getMemberExtInfo','hvoov','TITLETYPE','session','setGroupTitle','getRichMediaService','modifyMemberCardName','createMemberListScene','eYSYe','setGroupName','uploadGroupBulletinPic','getGroupIgnoreNotifies','getGroupMembers','DelGroupFileFolder','errMsg','UCCwN','setMemberShutUp','qjRDY','GetGroupFileCount','24448eLGqRo','8510NLoFwB','groupMemberList_MainWindow','kickMember','operateSysNotify','getNextMemberList','29683imypBq','4OFiKBZ','2466aoWtic','group','type','infos','qun.qq.com','groupCode','获取群成员列表出错,','DelGroupFile','errCode','quitGroup','deleteGroupFile','3080kRgxaY','LcSph','CallNormalEvent','getGroupService','EyAYE','handleGroupRequest','arkJson','7368492OcncDk','deleteGroupFolder','ksEuH','CallNoListenerEvent','banMember','banGroup','getGroups','80PIAkJb','publishGroupBulletin','batchGetGroupFileCount','getGroupRemainAtTimes','txyqi','getArkJsonGroupShare','createGroupFolder','setMemberRole'];_0x1761=function(){return _0x11a676;};return _0x1761();}export class NTQQGroupApi{static async[_0x337ae6(0x184)](_0x4a2d17=![]){const _0x54e16d=_0x337ae6,_0xa92e99={'Ahaki':_0x54e16d(0x190),'LcSph':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x7ffc05,_0x564735,_0x24bd53]=await NTEventDispatch[_0x54e16d(0x179)](_0xa92e99['Ahaki'],_0xa92e99[_0x54e16d(0x178)],0x1,0x1388,_0x4a2d17);return _0x24bd53;}static async[_0x337ae6(0x196)](_0x5633d0){const _0x5eced6=_0x337ae6;return napCatCore[_0x5eced6(0x19c)][_0x5eced6(0x17a)]()[_0x5eced6(0x196)](_0x5633d0);}static async[_0x337ae6(0x197)](_0x5d6afe,_0x13ac51){const _0x1c827f=_0x337ae6;return napCatCore[_0x1c827f(0x19c)][_0x1c827f(0x19e)]()[_0x1c827f(0x18b)](_0x5d6afe,_0x13ac51);}static async[_0x337ae6(0x173)](_0x597e58,_0x2e8b86){const _0x19b719=_0x337ae6;return napCatCore[_0x19b719(0x19c)][_0x19b719(0x19e)]()[_0x19b719(0x176)](_0x597e58,[0x66],_0x2e8b86);}static async[_0x337ae6(0x15e)](_0x5076c9,_0x2c5c79){const _0x5566da=_0x337ae6;return napCatCore[_0x5566da(0x19c)]['getRichMediaService']()[_0x5566da(0x17f)](_0x5076c9,_0x2c5c79);}static async['getSingleScreenNotifies'](_0x1e677c){const _0x534114=_0x337ae6,_0x3f5c35={'hvoov':'NodeIKernelGroupService/getSingleScreenNotifies','INIrx':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0xee5ef5,_0x4b7b06,_0x5f3467,_0xa2d572]=await NTEventDispatch[_0x534114(0x179)](_0x3f5c35[_0x534114(0x19a)],_0x3f5c35[_0x534114(0x195)],0x1,0x1388,![],'',_0x1e677c);return _0xa2d572;}static async[_0x337ae6(0x15d)](_0x51f7d8,_0x1d7037=0xbb8){const _0x25aa41=_0x337ae6,_0x2b2f78={'UCCwN':_0x25aa41(0x166),'Bfslk':function(_0x1bdcef,_0x5a3ecd){return _0x1bdcef+_0x5a3ecd;},'eYSYe':_0x25aa41(0x172)},_0x40e477=napCatCore[_0x25aa41(0x19c)][_0x25aa41(0x17a)](),_0x152ea5=_0x40e477[_0x25aa41(0x1a0)](_0x51f7d8,_0x2b2f78[_0x25aa41(0x160)]),_0x13da99=await _0x40e477[_0x25aa41(0x169)](_0x152ea5,undefined,_0x1d7037);if(_0x13da99[_0x25aa41(0x174)]!==0x0)throw _0x2b2f78['Bfslk'](_0x2b2f78[_0x25aa41(0x1a1)],_0x13da99[_0x25aa41(0x15f)]);return _0x13da99[_0x25aa41(0x194)][_0x25aa41(0x16f)];}static async['getGroupNotifies'](){}static async[_0x337ae6(0x163)](_0x2347de){const _0x2b417a=_0x337ae6;return napCatCore['session'][_0x2b417a(0x19e)]()[_0x2b417a(0x187)](_0x2347de);}static async[_0x337ae6(0x15c)](){}static async[_0x337ae6(0x18a)](_0x3e5e87){const _0x3b18d7=_0x337ae6,_0x1a40d0={'qjRDY':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x1d3214=await NTEventDispatch[_0x3b18d7(0x181)](_0x1a40d0[_0x3b18d7(0x162)],0x1388,_0x3e5e87);return _0x1d3214[_0x3b18d7(0x17d)];}static async[_0x337ae6(0x15b)](_0x3ad557,_0x1ae891){const _0x4a135b=_0x337ae6,_0x4f0ba3={'txyqi':_0x4a135b(0x170)},_0xe56d66=(await NTQQUserApi[_0x4a135b(0x18d)]([_0x4f0ba3[_0x4a135b(0x189)]]))[_0x4f0ba3[_0x4a135b(0x1Line truncated
function _0x18d0(_0x2f933a,_0x23e47a){const _0x196e2b=_0x196e();return _0x18d0=function(_0x18d05f,_0x191287){_0x18d05f=_0x18d05f-0x15f;let _0x23c5e3=_0x196e2b[_0x18d05f];return _0x23c5e3;},_0x18d0(_0x2f933a,_0x23e47a);}const _0x212f67=_0x18d0;(function(_0x41d770,_0x1d1074){const _0x161b96=_0x18d0,_0x4899ba=_0x41d770();while(!![]){try{const _0x3ab735=parseInt(_0x161b96(0x172))/0x1+-parseInt(_0x161b96(0x174))/0x2*(-parseInt(_0x161b96(0x176))/0x3)+parseInt(_0x161b96(0x190))/0x4*(-parseInt(_0x161b96(0x18f))/0x5)+-parseInt(_0x161b96(0x173))/0x6+-parseInt(_0x161b96(0x16f))/0x7+parseInt(_0x161b96(0x192))/0x8*(-parseInt(_0x161b96(0x18c))/0x9)+parseInt(_0x161b96(0x163))/0xa;if(_0x3ab735===_0x1d1074)break;else _0x4899ba['push'](_0x4899ba['shift']());}catch(_0x457c39){_0x4899ba['push'](_0x4899ba['shift']());}}}(_0x196e,0x360c6));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x2013fd=![]){const _0x310060=_0x18d0,_0xceff95={'OdPuf':'NodeIKernelGroupService/getGroupList','PeFFQ':'NodeIKernelGroupListener/onGroupListUpdate'};let [_0x4bf62b,_0x2337a8,_0xaefdfc]=await NTEventDispatch['CallNormalEvent'](_0xceff95[_0x310060(0x196)],_0xceff95['PeFFQ'],0x1,0x1388,_0x2013fd);return _0xaefdfc;}static async[_0x212f67(0x171)](_0x3a5b2b){const _0x3da549=_0x212f67;return napCatCore[_0x3da549(0x16b)]['getGroupService']()[_0x3da549(0x171)](_0x3a5b2b);}static async[_0x212f67(0x195)](_0x3ea913,_0xb40934){const _0xa160af=_0x212f67;return napCatCore['session'][_0xa160af(0x17e)]()[_0xa160af(0x166)](_0x3ea913,_0xb40934);}static async[_0x212f67(0x165)](_0x52d679,_0x31aec9){const _0x9337f7=_0x212f67;return napCatCore['session'][_0x9337f7(0x17e)]()[_0x9337f7(0x191)](_0x52d679,[0x66],_0x31aec9);}static async[_0x212f67(0x17f)](_0x190c7f,_0x55204a){const _0x3401c2=_0x212f67;return napCatCore[_0x3401c2(0x16b)][_0x3401c2(0x17e)]()[_0x3401c2(0x162)](_0x190c7f,_0x55204a);}static async['getSingleScreenNotifies'](_0x389c26){const _0x1688d5=_0x212f67;let [_0x43a9c0,_0x474e3c,_0x103fef,_0x5eeaca]=await NTEventDispatch[_0x1688d5(0x187)](_0x1688d5(0x197),_0x1688d5(0x19a),0x1,0x1388,![],'',_0x389c26);return _0x5eeaca;}static async[_0x212f67(0x184)](_0x486ed5,_0x51e345=0xbb8){const _0x20800e=_0x212f67,_0x1541a5={'BdtGn':function(_0x4f8e82,_0x49b7e7){return _0x4f8e82!==_0x49b7e7;},'buPyz':function(_0x4600d5,_0x101538){return _0x4600d5+_0x101538;},'okspj':_0x20800e(0x17a)},_0x5a7bb7=napCatCore[_0x20800e(0x16b)][_0x20800e(0x18a)](),_0x842160=_0x5a7bb7[_0x20800e(0x183)](_0x486ed5,_0x20800e(0x188)),_0x373073=await _0x5a7bb7[_0x20800e(0x17b)](_0x842160,undefined,_0x51e345);if(_0x1541a5[_0x20800e(0x160)](_0x373073['errCode'],0x0))throw _0x1541a5['buPyz'](_0x1541a5[_0x20800e(0x169)],_0x373073[_0x20800e(0x19c)]);return _0x373073[_0x20800e(0x17c)][_0x20800e(0x181)];}static async[_0x212f67(0x168)](){}static async[_0x212f67(0x199)](_0x39e8db){const _0x328d1d=_0x212f67;return napCatCore[_0x328d1d(0x16b)][_0x328d1d(0x17e)]()[_0x328d1d(0x186)](_0x39e8db);}static async[_0x212f67(0x198)](){}static async['getArkJsonGroupShare'](_0x56e365){const _0xea1100=_0x212f67,_0x3038fe={'yNSwE':'NodeIKernelGroupService/getGroupRecommendContactArkJson'};let _0x471502=await NTEventDispatch[_0xea1100(0x178)](_0x3038fe['yNSwE'],0x1388,_0x56e365);return _0x471502[_0xea1100(0x185)];}static async[_0x212f67(0x177)](_0x140996,_0x154de4){const _0x436e07=_0x212f67,_0x382b6d={'oUvIl':_0x436e07(0x17d)},_0x40a89c=(await NTQQUserApi['getPSkey']([_0x382b6d[_0x436e07(0x189)]]))['domainPskeyMap'][_0x436e07(0x182)](_0x382b6d[_0x436e07(0x189)]);return napCatCore[_0x436e07(0x16b)][_0x436e07(0x18a)]()[_0x436e07(0x177)](_0x140996,_0x40a89c,_0x154de4);}static async[_0x212f67(0x19d)](_0x54ca39,_0xa190ca,_0x46ec0e){const _0x4ab142=_0x212f67;return napCatCore['session'][_0x4ab142(0x18a)]()[_0x4ab142(0x16c)](![],{'operateType':_0xa190ca,'targetMsg':{'seq':_0x54ca39[_0x4ab142(0x18d)],'type':_0x54ca39[_0x4ab142(0x179)],'groupCode':_0x54ca39[_0x4ab142(0x16d)]['groupCode'],'postscript':_0x46ec0e||''}});}static async[_0x212f67(0x19b)](_0x491efe){const _0x250a6f=_0x212f67;return napCatCore['session'][_0x250a6f(0x18a)]()[_0x250a6f(0x19b)](_0x491efe);}static async['kickMember'](_0x26fd2f,_0xff65da,_0x5d3105=![],_0x1f1526=''){const _0x2f32ae=_0x212f67;return napCatCore[_0x2f32ae(0x16b)]['getGroupService']()[_0x2f32ae(0x16a)](_0x26fd2f,_0xff65da,_0x5d3105,_0x1f1526);}static async[_0x212f67(0x180)](_0x2d785e,_0x422265){const _0x2636bb=_0x212f67;return napCatCore[_0x2636bb(0x16b)][_0x2636bb(0x18a)]()[_0x2636bb(0x18b)](_0x2d785e,_0x422265);}static async['banGroup'](_0x3a4bd8,_0x58d483){const _0x50f2dc=_0x212f67;return napCatCore['session'][_0x50f2dc(0x18a)]()['setGroupShutUp'](_0x3a4bd8,_0x58d483);}static async[_0x212f67(0x170)](_0x344be0,_0x74bc6f,_0xe8486f){const _0x47aa9e=_0x212f67;return napCatCore['session'][_0x47aa9e(0x18a)]()[_0x47aa9e(0x194)](_0x344be0,_0x74bc6f,_0xe8486f);Line truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x56b802,_0x3068d4){var _0x433896=_0x34e7,_0x4b969f=_0x56b802();while(!![]){try{var _0x4597ba=-parseInt(_0x433896(0x1e9))/0x1*(-parseInt(_0x433896(0x1e3))/0x2)+parseInt(_0x433896(0x1e8))/0x3*(parseInt(_0x433896(0x1e1))/0x4)+-parseInt(_0x433896(0x1e4))/0x5*(-parseInt(_0x433896(0x1e0))/0x6)+parseInt(_0x433896(0x1e7))/0x7*(parseInt(_0x433896(0x1de))/0x8)+parseInt(_0x433896(0x1e2))/0x9*(-parseInt(_0x433896(0x1e6))/0xa)+parseInt(_0x433896(0x1e5))/0xb+-parseInt(_0x433896(0x1df))/0xc;if(_0x4597ba===_0x3068d4)break;else _0x4b969f['push'](_0x4b969f['shift']());}catch(_0x49bd24){_0x4b969f['push'](_0x4b969f['shift']());}}}(_0x5963,0xca7ca));export*from'./file';function _0x5963(){var _0x1fe349=['9782366mUkwaI','470IAMPKa','1322762htTQHt','3057HLvTxv','57wavOrP','40yZValc','27784044GLpyYN','492HCRHfV','1128BMaqfF','176535OkFDSk','26836dhRTsx','71970NvqLRN'];_0x5963=function(){return _0x1fe349;};return _0x5963();}export*from'./friend';export*from'./group';function _0x34e7(_0x56e151,_0x1ae8eb){var _0x596369=_0x5963();return _0x34e7=function(_0x34e773,_0x5bac2a){_0x34e773=_0x34e773-0x1de;var _0x5134f4=_0x596369[_0x34e773];return _0x5134f4;},_0x34e7(_0x56e151,_0x1ae8eb);}export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
(function(_0x33ceea,_0x235a52){var _0x2b577a=_0xd5a1,_0x50e79e=_0x33ceea();while(!![]){try{var _0x1698ed=parseInt(_0x2b577a(0xef))/0x1*(-parseInt(_0x2b577a(0xf2))/0x2)+-parseInt(_0x2b577a(0xf6))/0x3+-parseInt(_0x2b577a(0xed))/0x4*(parseInt(_0x2b577a(0xf7))/0x5)+-parseInt(_0x2b577a(0xf1))/0x6+parseInt(_0x2b577a(0xee))/0x7+parseInt(_0x2b577a(0xf5))/0x8*(parseInt(_0x2b577a(0xf0))/0x9)+parseInt(_0x2b577a(0xf3))/0xa*(parseInt(_0x2b577a(0xf4))/0xb);if(_0x1698ed===_0x235a52)break;else _0x50e79e['push'](_0x50e79e['shift']());}catch(_0x45a5bf){_0x50e79e['push'](_0x50e79e['shift']());}}}(_0x4a31,0xa2b24));export*from'./file';function _0xd5a1(_0x2423ac,_0x4a8fe2){var _0x4a31e6=_0x4a31();return _0xd5a1=function(_0xd5a1b2,_0x3eb2cc){_0xd5a1b2=_0xd5a1b2-0xed;var _0x5a89c1=_0x4a31e6[_0xd5a1b2];return _0x5a89c1;},_0xd5a1(_0x2423ac,_0x4a8fe2);}export*from'./friend';export*from'./group';export*from'./msg';function _0x4a31(){var _0x50f399=['1999952BzVIWd','10EQeObP','27276469PPpxcb','10000GmFGrt','3201675lbeJEr','14270dDYLvA','1180VbtyCW','5233907fBelAs','1qbmlAw','5265cqZOfc','2298570mikjNI'];_0x4a31=function(){return _0x50f399;};return _0x4a31();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system';
+1 -1
View File
@@ -1 +1 @@
const _0x4c47cf=_0x4060;(function(_0x16e9a5,_0x24f5c1){const _0xe39c40=_0x4060,_0xe8f8aa=_0x16e9a5();while(!![]){try{const _0x4ad904=parseInt(_0xe39c40(0x201))/0x1+-parseInt(_0xe39c40(0x202))/0x2+parseInt(_0xe39c40(0x1bd))/0x3*(-parseInt(_0xe39c40(0x1c3))/0x4)+parseInt(_0xe39c40(0x1ff))/0x5+parseInt(_0xe39c40(0x1ee))/0x6*(-parseInt(_0xe39c40(0x1f2))/0x7)+-parseInt(_0xe39c40(0x1e5))/0x8*(parseInt(_0xe39c40(0x1f1))/0x9)+parseInt(_0xe39c40(0x1cb))/0xa*(parseInt(_0xe39c40(0x1b8))/0xb);if(_0x4ad904===_0x24f5c1)break;else _0xe8f8aa['push'](_0xe8f8aa['shift']());}catch(_0x130e11){_0xe8f8aa['push'](_0xe8f8aa['shift']());}}}(_0x4567,0xde4c8));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x4c47cf(0x1cf)]=_0x5dec90=>{const _0x3522ef=_0x4c47cf,_0x5f20da={'LMyIH':function(_0x5a5292,_0x2308a3){return _0x5a5292(_0x2308a3);}};for(const [_0x318fd8,_0xf2abd1]of GroupFileInfoUpdateTasks){_0x5f20da[_0x3522ef(0x1c4)](_0xf2abd1,_0x5dec90),GroupFileInfoUpdateTasks[_0x3522ef(0x1d9)](_0x318fd8);}},msgListener[_0x4c47cf(0x1f3)]=_0x40caba=>{const _0x8e57a1=_0x4c47cf,_0x535a0f={'nKQgN':function(_0x49f3d7,_0x335b4d){return _0x49f3d7 instanceof _0x335b4d;}};for(const [_0x42891e,_0x1d5c21]of sentMsgTasks){_0x1d5c21(_0x40caba),sentMsgTasks[_0x8e57a1(0x1d9)](_0x42891e);}if(sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]){const _0x36ed80=sendMessagePool[_0x40caba[_0x8e57a1(0x1f9)]]?.(_0x40caba);_0x535a0f['nKQgN'](_0x36ed80,Promise)&&_0x36ed80[_0x8e57a1(0x1c5)]()['catch'](logError);}},msgListener[_0x4c47cf(0x1d4)]=_0x1cf92c=>{const _0x3248c0=_0x4c47cf,_0xbf7980={'iZOcb':function(_0x3e7ca5,_0x4ae40c){return _0x3e7ca5 instanceof _0x4ae40c;}};_0x1cf92c[_0x3248c0(0x1fa)](_0x1b5958=>{const _0x5b247a=_0x3248c0,_0x212634={'wJRyR':function(_0x250dc6,_0x49cf62){const _0x14f637=_0x4060;return _0xbf7980[_0x14f637(0x1bf)](_0x250dc6,_0x49cf62);},'ImbpX':function(_0x49b809,_0x1470c1){return _0x49b809(_0x1470c1);}};new Promise((_0x4c8a25,_0x5542b1)=>{const _0x1e7773=_0x4060;for(const _0x538987 in sendSuccessCBMap){const _0x9b003=sendSuccessCBMap[_0x538987],_0x27f543=_0x9b003(_0x1b5958),_0x8f008c=_0x42a154=>{_0x42a154&&delete sendSuccessCBMap[_0x538987];};_0x212634[_0x1e7773(0x1f4)](_0x27f543,Promise)?_0x27f543[_0x1e7773(0x1c5)](_0x8f008c):_0x212634[_0x1e7773(0x1b7)](_0x8f008c,_0x27f543);}})[_0x5b247a(0x1c5)]()[_0x5b247a(0x1da)](log);});},setTimeout(()=>{const _0xf3d346=_0x4c47cf;napCatCore[_0xf3d346(0x1cc)](()=>{const _0x1f3974=_0xf3d346;napCatCore[_0x1f3974(0x1c8)](msgListener);});},0x64);function _0x4060(_0x12e3d7,_0x37b1dc){const _0x4567a0=_0x4567();return _0x4060=function(_0x406027,_0x165ba5){_0x406027=_0x406027-0x1b3;let _0xe93dd1=_0x4567a0[_0x406027];return _0xe93dd1;},_0x4060(_0x12e3d7,_0x37b1dc);}export class NTQQMsgApi{static async[_0x4c47cf(0x1e4)](_0x5627a6,_0x19775e,_0x58bb3e,_0xd5a33=!![]){const _0x3214d4=_0x4c47cf,_0x775a5f={'dQDDZ':function(_0x5ab496,_0x12cf28){return _0x5ab496>_0x12cf28;}};return _0x58bb3e=_0x58bb3e[_0x3214d4(0x1fd)](),napCatCore[_0x3214d4(0x1eb)]['getMsgService']()[_0x3214d4(0x1ba)](_0x5627a6,_0x19775e,_0x58bb3e,_0x775a5f[_0x3214d4(0x1c9)](_0x58bb3e[_0x3214d4(0x1c7)],0x3)?'2':'1',_0xd5a33);}static async[_0x4c47cf(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7){const _0x39f8d9=_0x4c47cf;return napCatCore['session']['getMsgService']()[_0x39f8d9(0x1e1)](_0x570dde,_0x1977e7,_0x4290e7);}static async[_0x4c47cf(0x1f0)](_0x41d8c9,_0x1f0117){const _0x3deb1e=_0x4c47cf;return await napCatCore[_0x3deb1e(0x1eb)][_0x3deb1e(0x1b4)]()['getMsgsByMsgId'](_0x41d8c9,_0x1f0117);}static async[_0x4c47cf(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77){const _0x38f822=_0x4c47cf;return await napCatCore[_0x38f822(0x1eb)][_0x38f822(0x1b4)]()[_0x38f822(0x200)](_0x4cc13e,_0x22b3b7,_0x3e11af,_0x23bca6,_0x4aea77);}static async[_0x4c47cf(0x1fe)](_0x10670c){}static async[_0x4c47cf(0x1d1)](_0x48850f){}static async[_0x4c47cf(0x1dc)](_0x2bc053){const _0x56ea49=_0x4c47cf;return napCatCore[_0x56ea49(0x1eb)][_0x56ea49(0x1b4)]()[_0x56ea49(0x1dc)](_0x2bc053);}static async[_0x4c47cf(0x1ed)](_0x5e3eff,_0x254de6){const _0x47892b=_0x4c47cf,_0x4e079e={'DKXlR':_0x47892b(0x1ca),'rJpMY':function(_0x1383b9,_0x2e03f2,_0x3db04d){return _0x1383b9(_0x2e03f2,_0x3db04d);},'pgQmg':function(_0x513df0){return _0x513df0();}};return new Promise(async(_0x32d9af,_0x4e7eaf)=>{const _0x5b95c8=_0x47892b,_0x441d57={'dnpYr':_0x4e079e['DKXlR']};let _0x3f5c08=![];_0x4e079e[_0x5b95c8(0x1d3)](setTimeout,()=>{const _0x501709=_0x5b95c8;!_0x3f5c08&&_0x4e7eaf(_0x441d57[_0x501709(0x1f7)]);},0x1388);const _0x1e7eb9=_0x59be9e=>{const _0x1ca657=_0x5b95c8;_0x3f5c08=!![],_0x32d9af(_0x59be9e[_0x1ca657(0x1d7)]);};GroupFileInfoUpdateTasks['set'](_0x4e079e['pgQmg'](randomUUID),_0x1e7eb9),aLine truncated
const _0x155f26=_0xbad7;function _0xbad7(_0x52a457,_0x173dc5){const _0x222b6d=_0x222b();return _0xbad7=function(_0xbad7ea,_0x23ba21){_0xbad7ea=_0xbad7ea-0x150;let _0x63e7b5=_0x222b6d[_0xbad7ea];return _0x63e7b5;},_0xbad7(_0x52a457,_0x173dc5);}(function(_0x1dc43a,_0x976376){const _0x29898b=_0xbad7,_0x43edf1=_0x1dc43a();while(!![]){try{const _0x26ac59=-parseInt(_0x29898b(0x188))/0x1+-parseInt(_0x29898b(0x172))/0x2+-parseInt(_0x29898b(0x153))/0x3*(-parseInt(_0x29898b(0x173))/0x4)+-parseInt(_0x29898b(0x170))/0x5+parseInt(_0x29898b(0x189))/0x6*(-parseInt(_0x29898b(0x196))/0x7)+parseInt(_0x29898b(0x183))/0x8*(parseInt(_0x29898b(0x195))/0x9)+parseInt(_0x29898b(0x163))/0xa;if(_0x26ac59===_0x976376)break;else _0x43edf1['push'](_0x43edf1['shift']());}catch(_0x4fc983){_0x43edf1['push'](_0x43edf1['shift']());}}}(_0x222b,0x60762));import{selfInfo}from'@/core/data';import{log,logError}from'@/common/utils/log';import{sleep}from'@/common/utils/helper';import{napCatCore}from'@/core';import{MsgListener}from'@/core/listeners';function _0x222b(){const _0x59594f=['bytesData','ZPQoa','WwjhB','elements','getMsgsIncludeSelf','chatType','sendMsg','item','IdLvH','getMsgHistory','fetchRecentContact','getMsgsByMsgId','onAddSendMsg','GbeQL','TRcmz','1778344EAdDRC','multiForwardMsgWithComment','setEmojiLike','recallMsg','addListener','628351xRubup','1189038smIrWa','获取群文件列表超时','getMsgsBySeqAndCount','qozPV','activateChatAndGetHistory','multiForwardMsg','senderUid','set','session','delete','then','msgId','9gILaAL','14IzoBPo','BVBTg','parse','BQuRU','getMsgService','onGroupFileInfoUpdate','375DKyTzo','getGroupFileList','toString','onLoginSuccess','nick','CJJuB','qxuLs','app','AgxtO','uid','forEach','SjAIK','getMultiMsg','com.tencent.multimsg','arkElement','onMsgInfoListUpdate','20316600sfiWhU','map','peerUid','find','forwardMsg','BGGDT','发送超时','fDFrk','length','xjeba','setMsgRead','WMXfA','JSIHV','2306675uvzwyC','catch','1205380HvDXlB','7356QIktfL'];_0x222b=function(){return _0x59594f;};return _0x222b();}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x155f26(0x152)]=_0x112e0c=>{const _0x118090=_0x155f26;for(const [_0x4d0a73,_0x3c7bf4]of GroupFileInfoUpdateTasks){_0x3c7bf4(_0x112e0c),GroupFileInfoUpdateTasks[_0x118090(0x192)](_0x4d0a73);}},msgListener[_0x155f26(0x180)]=_0x2d81f7=>{const _0x4925cd=_0x155f26,_0x81266d={'fDFrk':function(_0xd0f54f,_0x5ecd9e){return _0xd0f54f(_0x5ecd9e);},'HdGLW':function(_0x16240f,_0x50b99d){return _0x16240f instanceof _0x50b99d;}};for(const [_0x252b90,_0x47eb8c]of sentMsgTasks){_0x81266d[_0x4925cd(0x16a)](_0x47eb8c,_0x2d81f7),sentMsgTasks[_0x4925cd(0x192)](_0x252b90);}if(sendMessagePool[_0x2d81f7['peerUid']]){const _0x565b3b=sendMessagePool[_0x2d81f7[_0x4925cd(0x165)]]?.(_0x2d81f7);_0x81266d['HdGLW'](_0x565b3b,Promise)&&_0x565b3b[_0x4925cd(0x193)]()[_0x4925cd(0x171)](logError);}},msgListener[_0x155f26(0x162)]=_0x5677e2=>{const _0x4669d4=_0x155f26,_0x2d9dfb={'Xbpel':function(_0x1ddc77,_0xd8d4e9){return _0x1ddc77(_0xd8d4e9);},'BGGDT':function(_0x4b8ce2,_0x568b76){return _0x4b8ce2 instanceof _0x568b76;}};_0x5677e2[_0x4669d4(0x15d)](_0x21dbc6=>{const _0x58e827=_0x4669d4;new Promise((_0x5c1047,_0x2b89c9)=>{const _0x4de34b=_0xbad7;for(const _0x24bb8c in sendSuccessCBMap){const _0xebc08a=sendSuccessCBMap[_0x24bb8c],_0x34b204=_0x2d9dfb['Xbpel'](_0xebc08a,_0x21dbc6),_0x325d2f=_0x3bd350=>{_0x3bd350&&delete sendSuccessCBMap[_0x24bb8c];};_0x2d9dfb[_0x4de34b(0x168)](_0x34b204,Promise)?_0x34b204['then'](_0x325d2f):_0x325d2f(_0x34b204);}})[_0x58e827(0x193)]()['catch'](log);});},setTimeout(()=>{const _0x163f42=_0x155f26;napCatCore[_0x163f42(0x156)](()=>{const _0x338846=_0x163f42;napCatCore[_0x338846(0x187)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x155f26(0x185)](_0x3682a3,_0x11b172,_0x2f33bd,_0x2b8b2e=!![]){const _0x185aa4=_0x155f26;return _0x2f33bd=_0x2f33bd[_0x185aa4(0x155)](),napCatCore[_0x185aa4(0x191)][_0x185aa4(0x151)]()['setMsgEmojiLikes'](_0x3682a3,_0x11b172,_0x2f33bd,_0x2f33bd[_0x185aa4(0x16b)]>0x3?'2':'1',_0x2b8b2e);}static async['getMultiMsg'](_0x43faf2,_0x49e6e7,_0x14a1ea){const _0x4ee0dc=_0x155f26;return napCatCore[_0x4ee0dc(0x191)]['getMsgService']()[_0x4ee0dc(0x15f)](_0x43faf2,_0x49e6e7,_0x14a1ea);}static async[_0x155f26(0x17f)](_0x2f68b0,_0x5b8bdd){const _0x547f78=_0x155f26;return await napCatCore[_0x547f78(0x191)][_0x547f78(0x151)]()['getMsgsByMsgId'](_0x2f68b0,_0x5b8bdd);}static async[_0x155f26(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc){const _0x4adc24=_0x155f26;return await napCatCore[_0x4adc24(0x191)]['getMsgService']()[_0x4adc24(0x18b)](_0x1e6ec3,_0x764439,_0xd7e78f,_0x210475,_0x4dd8cc);}static async['activateChat'](_0x23262c){}static async[_0x155f26(0x18d)](_0x1ccb20){}static async['setMsgRead'](_0x43a436){const _0x5b14a3=_0x155f26;return napCatCore[_0x5b14a3(0x191)]['getMsgService']()[_0x5b14a3(0x16d)](_0x43a4Line truncated
+20
View File
@@ -21,3 +21,23 @@ export interface MiniAppLuaJsonType {
sourcelogo: string;
}
export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise<string>;
export declare function SignMusicInternal(songname: string, singer: string, cover: string, songmid: string, songmusic: string): Promise<{
code: number;
data: {
arkResult: string;
};
}>;
export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise<{
mid: string;
name?: string | undefined;
singer?: string | undefined;
url?: string | undefined;
cover?: string | undefined;
}>;
export declare function CreateMusicThridWay1(id?: string, mid?: string): Promise<void>;
export declare function SignMusicWrapper(id?: string): Promise<{
code: number;
data: {
arkResult: string;
};
}>;
+1 -1
View File
@@ -1 +1 @@
(function(_0x20e53,_0x44a671){const _0x3c4950=_0x36eb,_0x34461c=_0x20e53();while(!![]){try{const _0x5c8240=parseInt(_0x3c4950(0x1a0))/0x1*(parseInt(_0x3c4950(0x188))/0x2)+parseInt(_0x3c4950(0x180))/0x3*(parseInt(_0x3c4950(0x195))/0x4)+parseInt(_0x3c4950(0x186))/0x5+parseInt(_0x3c4950(0x1a4))/0x6+-parseInt(_0x3c4950(0x1ae))/0x7*(-parseInt(_0x3c4950(0x182))/0x8)+-parseInt(_0x3c4950(0x1aa))/0x9*(-parseInt(_0x3c4950(0x1a6))/0xa)+-parseInt(_0x3c4950(0x19f))/0xb;if(_0x5c8240===_0x44a671)break;else _0x34461c['push'](_0x34461c['shift']());}catch(_0x189fca){_0x34461c['push'](_0x34461c['shift']());}}}(_0x4e6a,0xafa06));import{logDebug}from'@/common/utils/log';function _0x36eb(_0x4f2b63,_0x26b195){const _0x4e6abf=_0x4e6a();return _0x36eb=function(_0x36eb97,_0x448a37){_0x36eb97=_0x36eb97-0x17e;let _0x3d85e5=_0x4e6abf[_0x36eb97];return _0x3d85e5;},_0x36eb(_0x4f2b63,_0x26b195);}function _0x4e6a(){const _0x2407c8=['caVLb','replace','Doxbh','4994395yxEciI','HttpGetJson','897902VHIRjp','&ark=','cPgyb','data','sourcelogo','genBkn','prompt','source','LzxyR','preview','MiniApp\x20JSON\x20消息生成失败','ymhUG',';\x20uin=o','4ivyqQP','tagIcon','rZcqb','JIdUf','lWUDk','GET','TxxNO','uin','getSkey','normal','26352326maANsU','2pcjBml','getQzoneCookies','NJbwP','signed_ark','1030902keiGdM','IzSFN','100pDSLId','tianxuan.imgJumpArk','com.tencent.miniapp.lua','\x5c/\x5c/','899523cMjMjb','tag','p_skey=','p_skey','3633dEAzgY','title','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','49029afxtrc',';\x20p_uin=o','472ixjTBQ'];_0x4e6a=function(){return _0x2407c8;};return _0x4e6a();}import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0xa48656){const _0x554623=_0x36eb,_0x43d22d={'NJbwP':_0x554623(0x1a8),'ymhUG':_0x554623(0x1a7),'jpHwD':_0x554623(0x19e),'rZcqb':_0x554623(0x1a9),'Doxbh':function(_0x44e41f,_0x22ebd6){return _0x44e41f+_0x22ebd6;},'mhWEc':_0x554623(0x1ac),'TxxNO':_0x554623(0x181),'lWUDk':_0x554623(0x194),'IzSFN':function(_0x50fd9f,_0x18c451){return _0x50fd9f+_0x18c451;},'JIdUf':_0x554623(0x17f),'PfhiY':_0x554623(0x189),'LzxyR':_0x554623(0x19a),'cPgyb':function(_0x3ac952,_0xc9d6a1,_0x3ff25b){return _0x3ac952(_0xc9d6a1,_0x3ff25b);},'caVLb':_0x554623(0x192)};let _0xf9d472={'app':_0x43d22d[_0x554623(0x1a2)],'bizsrc':_0x43d22d[_0x554623(0x193)],'view':'miniapp','prompt':_0xa48656[_0x554623(0x18e)],'config':{'type':_0x43d22d['jpHwD'],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0xa48656[_0x554623(0x17e)],'preview':_0xa48656[_0x554623(0x191)][_0x554623(0x184)](/\\/g,'\x5c/\x5c/'),'jumpUrl':_0xa48656['jumpUrl'][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)]),'tag':_0xa48656[_0x554623(0x1ab)],'tagIcon':_0xa48656[_0x554623(0x196)]['replace'](/\\/g,_0x43d22d[_0x554623(0x197)]),'source':_0xa48656[_0x554623(0x18f)],'sourcelogo':_0xa48656[_0x554623(0x18c)][_0x554623(0x184)](/\\/g,_0x43d22d[_0x554623(0x197)])}}};const _0x38ea06=await NTQQUserApi[_0x554623(0x19d)]();let _0x5c8356=await NTQQUserApi[_0x554623(0x1a1)]();const _0x211a50=WebApi[_0x554623(0x18d)](_0x5c8356[_0x554623(0x1ad)]),_0x48828b=_0x43d22d['Doxbh'](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d[_0x554623(0x185)](_0x43d22d['mhWEc'],_0x5c8356['p_skey'])+';\x20skey=',_0x5c8356['skey']),_0x43d22d[_0x554623(0x19b)]),selfInfo['uin'])+_0x43d22d[_0x554623(0x199)]+selfInfo[_0x554623(0x19c)];let _0x508e46=_0x43d22d[_0x554623(0x185)](_0x43d22d['IzSFN'](_0x43d22d[_0x554623(0x1a5)](_0x43d22d[_0x554623(0x198)],_0x211a50),_0x43d22d['PfhiY']),encodeURIComponent(JSON['stringify'](_0xf9d472))),_0x35bdbd='';try{let _0x480b61=await RequestUtil[_0x554623(0x187)](_0x508e46,_0x43d22d[_0x554623(0x190)],undefined,{'Cookie':_0x48828b});_0x35bdbd=_0x480b61[_0x554623(0x18b)][_0x554623(0x1a3)];}catch(_0x5a463b){_0x43d22d[_0x554623(0x18a)](logDebug,_0x43d22d[_0x554623(0x183)],_0x5a463b);}return _0x35bdbd;}
(function(_0x4c3ae3,_0x30e41e){const _0x325341=_0x26b5,_0x3c341f=_0x4c3ae3();while(!![]){try{const _0x27be39=parseInt(_0x325341(0x163))/0x1*(-parseInt(_0x325341(0x17c))/0x2)+-parseInt(_0x325341(0x166))/0x3*(parseInt(_0x325341(0x1a9))/0x4)+parseInt(_0x325341(0x170))/0x5*(parseInt(_0x325341(0x187))/0x6)+-parseInt(_0x325341(0x19c))/0x7*(-parseInt(_0x325341(0x17f))/0x8)+parseInt(_0x325341(0x195))/0x9+parseInt(_0x325341(0x19f))/0xa*(parseInt(_0x325341(0x191))/0xb)+-parseInt(_0x325341(0x182))/0xc;if(_0x27be39===_0x30e41e)break;else _0x3c341f['push'](_0x3c341f['shift']());}catch(_0x25f489){_0x3c341f['push'](_0x3c341f['shift']());}}}(_0x105d,0xe6baf));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';function _0x105d(){const _0x2a6ea2=['p_skey','mfByb','9079576xVDWjA','&type=0','gesAo','17652552WeWNcu','&ark=','hUtbF','POST','track_info','10145478zQEjYB','replace','IxdTU','genBkn','uploadImageForOpenPlatform','tVxyU','FdCez','QQ音乐','jHxYq','tag','1012KuuBZS','mid',';\x20uin=o','com.tencent.qqreader.share','10526562pSAQgy','https://api.leafone.cn/api/qqmusic?id=','CFccX','LrzBB','\x5c/\x5c/','songinfo','prompt','7zXKYQh','OikiP','IvBFV','105540WRMovI','TOIbg','GET','KiIbc',';\x20p_uin=o','https://i.y.qq.com/v8/playsong.html?songmid=','url','aSlnD','ObXHG','jQhLR','30204VuVpNt','Vqjum','jsMSp','DMGWp','igPqM','signed_ark','music','name','cover','preview','TcyoC','LxdcZ','SEEeC','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','BJFpg','[分享]','application/json','data','xJcTQ','getQzoneCookies','5eJtHZo','HttpGetJson','miniapp','702qROQVo','uin=o10086','MiniApp\x20JSON\x20消息生成失败','znGmc','tianxuan.imgJumpArk','jumpUrl','卡片图片不正确','uin','com.tencent.miniapp.lua','siQsq','5HBUeYf','singer','unlink','p_skey=','https://ws.stream.qqmusic.qq.com/','9a63343c32d5a16bcde653eb97faa25d','LmayI','VgmxA','sIgmW','&type=8','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','normal','313358EiJhoV'];_0x105d=function(){return _0x2a6ea2;};return _0x105d();}import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x10367b from'node:fs';export async function SignMiniApp(_0x44e2db){const _0x3e275b=_0x26b5,_0x5c26a3={'diZXl':_0x3e275b(0x16a),'LmayI':_0x3e275b(0x165),'LxdcZ':_0x3e275b(0x17b),'FdCez':_0x3e275b(0x199),'igPqM':function(_0x4fb066,_0x177003){return _0x4fb066+_0x177003;},'ObXHG':function(_0x29c601,_0xf1af91){return _0x29c601+_0xf1af91;},'jHxYq':function(_0x25709e,_0x3cb09a){return _0x25709e+_0x3cb09a;},'TBkgs':_0x3e275b(0x173),'jQhLR':';\x20skey=','znGmc':_0x3e275b(0x1a3),'VgmxA':_0x3e275b(0x193),'OikiP':function(_0x1d4319,_0x7d1016){return _0x1d4319+_0x7d1016;},'ZXgNT':function(_0x31e32c,_0x18d6b4){return _0x31e32c+_0x18d6b4;},'AqHvg':_0x3e275b(0x183),'Vqjum':_0x3e275b(0x1a1),'WuczK':function(_0x3a9ce9,_0x2b5024,_0x17889d){return _0x3a9ce9(_0x2b5024,_0x17889d);},'TOIbg':_0x3e275b(0x168)};let _0x4ef910={'app':_0x3e275b(0x16e),'bizsrc':_0x5c26a3['diZXl'],'view':_0x5c26a3[_0x3e275b(0x176)],'prompt':_0x44e2db[_0x3e275b(0x19b)],'config':{'type':_0x5c26a3[_0x3e275b(0x1b4)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x44e2db['title'],'preview':_0x44e2db[_0x3e275b(0x1b2)]['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'jumpUrl':_0x44e2db[_0x3e275b(0x16b)][_0x3e275b(0x188)](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'tag':_0x44e2db[_0x3e275b(0x190)],'tagIcon':_0x44e2db['tagIcon']['replace'](/\\/g,_0x5c26a3[_0x3e275b(0x18d)]),'source':_0x44e2db['source'],'sourcelogo':_0x44e2db['sourcelogo']['replace'](/\\/g,_0x5c26a3['FdCez'])}}},_0x48a969=await NTQQUserApi[_0x3e275b(0x162)]();const _0x170a9b=WebApi[_0x3e275b(0x18a)](_0x48a969[_0x3e275b(0x17d)]),_0x8115ba=_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['igPqM'](_0x5c26a3[_0x3e275b(0x1a7)](_0x5c26a3[_0x3e275b(0x18f)](_0x5c26a3[_0x3e275b(0x1ad)](_0x5c26a3['TBkgs'],_0x48a969[_0x3e275b(0x17d)]),_0x5c26a3[_0x3e275b(0x1a8)]),_0x48a969['skey'])+_0x5c26a3[_0x3e275b(0x169)],selfInfo[_0x3e275b(0x16d)]),_0x5c26a3[_0x3e275b(0x177)])+selfInfo[_0x3e275b(0x16d)];let _0x29bcf8=_0x5c26a3[_0x3e275b(0x19d)](_0x5c26a3['ZXgNT'](_0x3e275b(0x15c)+_0x170a9b,_0x5c26a3['AqHvg']),encodeURIComponent(JSON['stringify'](_0x4ef910))),_0x172d5d='';try{let _0x3b2472=await RequestUtil[_0x3e275b(0x164)](_0x29bcf8,_0x5c26a3[_0x3e275b(0x1aa)],undefined,{'Cookie':_0x8115ba});_0x172d5d=_0x3b2472[_0x3e275b(0x160)][_0x3e275b(0x1ae)];}catch(_0x19c165){_0x5c26a3['WuczK'](logDebug,_0x5c26a3[_0x3e275b(0x1a0)],_0x19c165);}return _0x172d5d;}export async function SignMusicInternal(_0x2e3196,_0x194655,_0x5ce703,_0x3e41c0,_0x5318c4){const _0x4ccf01=_0x26b5,_0x9f33dd={'hUtbF':'https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','mfByb':_0x4ccf01(0x194),'jsMSp':_0x4ccf01(0x175),'TcyoC':_0x4ccf01(0x17b),'NGmdw':function(_0x6af3cc,_0x87a1aLine truncated
+1
View File
@@ -9,4 +9,5 @@ export declare class NTQQSystemApi {
static getArkJsonCollection(cid: string): Promise<GeneralCallResult & {
arkJson: string;
}>;
static BootMiniApp(appfile: string, params: string): Promise<unknown>;
}
+1 -1
View File
@@ -1 +1 @@
function _0x1aa2(_0x50b9f0,_0x206954){const _0x2b3adb=_0x2b3a();return _0x1aa2=function(_0x1aa265,_0xd1bee5){_0x1aa265=_0x1aa265-0x1ef;let _0x2a8504=_0x2b3adb[_0x1aa265];return _0x2a8504;},_0x1aa2(_0x50b9f0,_0x206954);}const _0x5a5a43=_0x1aa2;(function(_0x43b903,_0x3abc81){const _0x1a7a83=_0x1aa2,_0x472404=_0x43b903();while(!![]){try{const _0x178a18=-parseInt(_0x1a7a83(0x1f0))/0x1*(-parseInt(_0x1a7a83(0x200))/0x2)+parseInt(_0x1a7a83(0x1f5))/0x3*(parseInt(_0x1a7a83(0x203))/0x4)+parseInt(_0x1a7a83(0x1f1))/0x5*(parseInt(_0x1a7a83(0x1f8))/0x6)+parseInt(_0x1a7a83(0x1f6))/0x7+-parseInt(_0x1a7a83(0x1fc))/0x8+parseInt(_0x1a7a83(0x201))/0x9*(-parseInt(_0x1a7a83(0x1f4))/0xa)+-parseInt(_0x1a7a83(0x1f9))/0xb;if(_0x178a18===_0x3abc81)break;else _0x472404['push'](_0x472404['shift']());}catch(_0x33b0f3){_0x472404['push'](_0x472404['shift']());}}}(_0x2b3a,0xd1349));import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2b3a(){const _0x4920a9=['7099220IKmlna','5685HCyRrC','6314497XoDxyG','NodeIKernelCollectionService/collectionArkShare','2106FdNUXd','18051473GpEGII','CallNoListenerEvent','session','3424472KUllEx','util','ORCImage','getRichMediaService','1136334uICroi','9nOjnyb','hasOtherRunningQQProcess','2280ZMDaUl','getArkJsonCollection','translateEnWordToZn','2OqYySn','7370VVUjOo','wantWinScreenOCR','1717662698058'];_0x2b3a=function(){return _0x4920a9;};return _0x2b3a();}export class NTQQSystemApi{static async[_0x5a5a43(0x202)](){const _0xef17d5=_0x5a5a43;return napCatCore[_0xef17d5(0x1fd)][_0xef17d5(0x202)]();}static async[_0x5a5a43(0x1fe)](_0x12308a){const _0x36f1de=_0x5a5a43;return napCatCore[_0x36f1de(0x1fb)]['getNodeMiscService']()[_0x36f1de(0x1f2)](_0x12308a);}static async[_0x5a5a43(0x1ef)](_0x463fd3){const _0x3cdf28=_0x5a5a43;return napCatCore[_0x3cdf28(0x1fb)][_0x3cdf28(0x1ff)]()[_0x3cdf28(0x1ef)](_0x463fd3);}static async['getOnlineDev'](){const _0x3a2be7=_0x5a5a43;return napCatCore[_0x3a2be7(0x1fb)]['getMsgService']()['getOnLineDev']();}static async[_0x5a5a43(0x204)](_0xa29db4){const _0x1037a4=_0x5a5a43,_0x2362a9={'fZuJZ':_0x1037a4(0x1f7),'Udofx':_0x1037a4(0x1f3)};let _0x4dae41=await NTEventDispatch[_0x1037a4(0x1fa)](_0x2362a9['fZuJZ'],0x1388,_0x2362a9['Udofx']);return _0x4dae41;}}
const _0x308190=_0x2e8f;(function(_0x213dec,_0x10b3f6){const _0x4dc118=_0x2e8f,_0x4beac3=_0x213dec();while(!![]){try{const _0x5a06a0=parseInt(_0x4dc118(0x17b))/0x1*(parseInt(_0x4dc118(0x171))/0x2)+parseInt(_0x4dc118(0x17a))/0x3*(parseInt(_0x4dc118(0x17f))/0x4)+parseInt(_0x4dc118(0x184))/0x5+-parseInt(_0x4dc118(0x179))/0x6+parseInt(_0x4dc118(0x178))/0x7+parseInt(_0x4dc118(0x170))/0x8+-parseInt(_0x4dc118(0x17c))/0x9;if(_0x5a06a0===_0x10b3f6)break;else _0x4beac3['push'](_0x4beac3['shift']());}catch(_0x441716){_0x4beac3['push'](_0x4beac3['shift']());}}}(_0x36e8,0x1bf60));function _0x36e8(){const _0x259b8c=['getOnlineDev','qiBfP','getRichMediaService','1061750YiQYzN','util','hasOtherRunningQQProcess','translateEnWordToZn','BootMiniApp','1653936VFhleG','28298gKJuCv','NodeIKernelCollectionService/collectionArkShare','log','wantWinScreenOCR','getNodeMiscService','getOnLineDev','session','784462jUbLkc','90906yOqTQo','3bHNJYZ','13vJZNey','6908922eIDhYh','startNewMiniApp','1717662698058','728968uQEOVH','CallNoListenerEvent'];_0x36e8=function(){return _0x259b8c;};return _0x36e8();}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';function _0x2e8f(_0x45b200,_0x1883ac){const _0x36e8ae=_0x36e8();return _0x2e8f=function(_0x2e8fc3,_0x1804ac){_0x2e8fc3=_0x2e8fc3-0x16e;let _0x112a7b=_0x36e8ae[_0x2e8fc3];return _0x112a7b;},_0x2e8f(_0x45b200,_0x1883ac);}export class NTQQSystemApi{static async[_0x308190(0x186)](){const _0x124f65=_0x308190;return napCatCore[_0x124f65(0x185)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x1b4915){const _0x25f2b0=_0x308190;return napCatCore['session'][_0x25f2b0(0x175)]()[_0x25f2b0(0x174)](_0x1b4915);}static async['translateEnWordToZn'](_0x48eaf2){const _0x54ebaa=_0x308190;return napCatCore[_0x54ebaa(0x177)][_0x54ebaa(0x183)]()[_0x54ebaa(0x16e)](_0x48eaf2);}static async[_0x308190(0x181)](){const _0x1d84df=_0x308190;return napCatCore['session']['getMsgService']()[_0x1d84df(0x176)]();}static async['getArkJsonCollection'](_0x17ba9d){const _0x50ad96=_0x308190;let _0x3f62ce=await NTEventDispatch[_0x50ad96(0x180)](_0x50ad96(0x172),0x1388,_0x50ad96(0x17e));return _0x3f62ce;}static async[_0x308190(0x16f)](_0x51a663,_0x3ee3b5){const _0x15b1e5=_0x308190,_0x146616={'qiBfP':'2.16.4'};await napCatCore[_0x15b1e5(0x177)]['getNodeMiscService']()['setMiniAppVersion'](_0x146616[_0x15b1e5(0x182)]);let _0x5ecd30=await napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()['getMiniAppPath']();return console[_0x15b1e5(0x173)](_0x5ecd30),napCatCore[_0x15b1e5(0x177)][_0x15b1e5(0x175)]()[_0x15b1e5(0x17d)](_0x51a663,_0x3ee3b5);}}
+6 -2
View File
@@ -17,15 +17,19 @@ export declare class NTQQUserApi {
static getUserInfo(uid: string): Promise<void>;
static getUserDetailInfo(uid: string): Promise<User>;
static modifySelfProfile(param: ModifyProfileParams): Promise<GeneralCallResult>;
static getPSkey(domainList: string[], cached?: boolean): Promise<{
static getCookies(domain: string): Promise<{
[key: string]: string;
}>;
static getPSkey(domainList: string[]): Promise<GeneralCallResult & {
domainPskeyMap: Map<string, string>;
}>;
static getRobotUinRange(): Promise<Array<any>>;
static getQzoneCookies(): Promise<{
[key: string]: string;
}>;
static getSkey(cached?: boolean): Promise<string | undefined>;
static getSkey(): Promise<string | undefined>;
static getUidByUin(Uin: string): Promise<string | undefined>;
static getUinByUid(Uid: string | undefined): Promise<string | undefined>;
static getUserDetailInfoByUin(Uin: string): Promise<UserDetailInfoByUin>;
static forceFetchClientKey(): Promise<import("@/core").forceFetchClientKeyRetType>;
}
+1 -1
View File
@@ -1 +1 @@
const _0x2b3a66=_0x2293;(function(_0x615a64,_0x4e1bdb){const _0x14519e=_0x2293,_0x5295b4=_0x615a64();while(!![]){try{const _0x502982=parseInt(_0x14519e(0x163))/0x1+-parseInt(_0x14519e(0x17a))/0x2+parseInt(_0x14519e(0x16b))/0x3*(-parseInt(_0x14519e(0x17d))/0x4)+-parseInt(_0x14519e(0x172))/0x5+-parseInt(_0x14519e(0x18a))/0x6+parseInt(_0x14519e(0x1a8))/0x7+-parseInt(_0x14519e(0x158))/0x8*(-parseInt(_0x14519e(0x181))/0x9);if(_0x502982===_0x4e1bdb)break;else _0x5295b4['push'](_0x5295b4['shift']());}catch(_0x52f319){_0x5295b4['push'](_0x5295b4['shift']());}}}(_0x5db9,0x9e69a));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';function _0x5db9(){const _0x98b049=['getUserDetailInfo\x20timeout','getPSkey','getRobotService','cEhPh','CallNoListenerEvent','jQqAj','3OfOMbo','domainPskeyMap','set','%2Finfocenter&keyindex=19%27','oTqkR','YOmsr','uid','2674375sFHloz','clientKey','modifySelfProfile','getTicketService','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','session','PskeyTime','KeyIndex','2022250JQGbCl','setHeader','ynvjP','639384NUAvGo','getUinByUid','setStatus','bxGGw','5374413rRKXsJ','tLuHh','response','RmqMu','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','modifyDesktopMiniProfile','kCZlF','keyIndex','getMsgService','3077958lzhdkk','getBuddyRecommendContactArkJson','getProfileService','getRobotUinRange','getUserDetailInfo','errMsg','NodeIKernelUixConvertService/getUin','setLongNick','RQPhF','获取Pskey失败','cnMel','getUserDetailInfoByUin','setBuddyProfileLike','forEach','setSelfOnlineStatus','ClientKey','then','onLoginSuccess','oeYZp','getBuddyService','BktaE','Skey','Hcqpi','iwUTs','NodeIKernelProfileService/getUserDetailInfoByUin','push','getQzoneCookies','getTipOffService','getUserDetailInfoWithBizInfo','JFPlv','7545398GerCxA','now','robotUinRanges','getUserInfo','get','cdARF','tbqvs','getSelfInfo','&clientkey=','HttpsGetCookies','BUoff','getSkey','uin','PskeyData','result','pmrof','CreatTime','8yBzZzR','NodeIKernelUixConvertService/getUid','UkETX','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NOgTo','uidInfo','onProfileDetailInfoChanged','like','skey','getPskey','zGWdg','1192626bLznkY','otnnw'];_0x5db9=function(){return _0x98b049;};return _0x5db9();}import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2293(_0x4265b5,_0x2e9127){const _0x5db9fc=_0x5db9();return _0x2293=function(_0x2293af,_0x343960){_0x2293af=_0x2293af-0x14b;let _0x2fb44e=_0x5db9fc[_0x2293af];return _0x2fb44e;},_0x2293(_0x4265b5,_0x2e9127);}profileListener[_0x2b3a66(0x15e)]=_0x7629a4=>{const _0x22a25b=_0x2b3a66;userInfoCache[_0x7629a4[_0x22a25b(0x171)]]=_0x7629a4,userDetailHandlers[_0x22a25b(0x197)](_0x2347af=>_0x2347af(_0x7629a4));},setTimeout(()=>{const _0x4eb3a4=_0x2b3a66;napCatCore[_0x4eb3a4(0x19b)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2b3a66(0x191)](_0x2ec151){const _0x28c316=_0x2b3a66;return napCatCore[_0x28c316(0x177)][_0x28c316(0x18c)]()[_0x28c316(0x191)](_0x2ec151);}static async[_0x2b3a66(0x198)](_0x15e6c6,_0xbf9692,_0x42490f){const _0x346e99=_0x2b3a66;return napCatCore['session'][_0x346e99(0x189)]()[_0x346e99(0x17f)]({'status':_0x15e6c6,'extStatus':_0xbf9692,'batteryStatus':_0x42490f});}static async[_0x2b3a66(0x18b)](_0x13177c,_0x133580=''){const _0x438cca=_0x2b3a66;return napCatCore[_0x438cca(0x177)][_0x438cca(0x19d)]()[_0x438cca(0x18b)](_0x13177c,_0x133580);}static async[_0x2b3a66(0x15f)](_0x4b793f,_0x2c9c81=0x1){const _0x12a53b=_0x2b3a66;return napCatCore[_0x12a53b(0x177)]['getProfileLikeService']()[_0x12a53b(0x196)]({'friendUid':_0x4b793f,'sourceId':0x47,'doLikeCount':_0x2c9c81,'doLikeTollCount':0x0});}static async['setQQAvatar'](_0x35dc19){const _0x4b8054=_0x2b3a66,_0x2bffed=await napCatCore['session'][_0x4b8054(0x18c)]()[_0x4b8054(0x17b)](_0x35dc19);return{'result':_0x2bffed?.['result'],'errMsg':_0x2bffed?.[_0x4b8054(0x18f)]};}static async[_0x2b3a66(0x14e)](){}static async[_0x2b3a66(0x1ab)](_0x36222f){}static async[_0x2b3a66(0x18e)](_0x211811){const _0x563716=_0x2b3a66,_0x2d3faf={'kCZlF':function(_0x19a87f,_0x2156aa){return _0x19a87f(_0x2156aa);},'jQqAj':function(_0x12d8a5,_0x4dc536){return _0x12d8a5(_0x4dc536);},'BUoff':function(_0x5e9db8,_0x1cdcb9){return _0x5e9db8===_0x1cdcb9;},'JFPlv':function(_0x132295){return _0x132295();},'cdARF':function(_0x37c331,_0x387ac9,_0x369c58){return _0x37c331(_0x387ac9,_0x369c58);}},_0x35d643=napCatCore[_0x563716(0x177)]['getProfileService']();return new Promise((_0x43df42,_0x570d10)=>{const _0xcafbda=_0x563716,_0xc2851c={'cnMel':function(_0x8eafb2,_0x374b1c){const _0x24ac3d=_0x2293;return _0x2d3faf[_0x24ac3d(0x151)](_0x8eafb2,_0x374b1c);},'otnnw':fLine truncated
const _0x2fe92b=_0x96ae;(function(_0x54b1c9,_0x2ede4f){const _0xc37de8=_0x96ae,_0x4c29c5=_0x54b1c9();while(!![]){try{const _0x63e7a5=-parseInt(_0xc37de8(0x132))/0x1*(-parseInt(_0xc37de8(0x16d))/0x2)+parseInt(_0xc37de8(0x162))/0x3*(-parseInt(_0xc37de8(0x17f))/0x4)+parseInt(_0xc37de8(0x179))/0x5+parseInt(_0xc37de8(0x13e))/0x6*(parseInt(_0xc37de8(0x129))/0x7)+-parseInt(_0xc37de8(0x123))/0x8+-parseInt(_0xc37de8(0x17c))/0x9*(-parseInt(_0xc37de8(0x143))/0xa)+-parseInt(_0xc37de8(0x164))/0xb;if(_0x63e7a5===_0x2ede4f)break;else _0x4c29c5['push'](_0x4c29c5['shift']());}catch(_0xea506d){_0x4c29c5['push'](_0x4c29c5['shift']());}}}(_0x5b8e,0x3da0a));function _0x5b8e(){const _0x2f8a5d=['getProfileService','nqUEa','27iBxJvr','length','getSelfInfo','3924xsqMTR','onProfileDetailInfoChanged','session','getUserInfo','EPJIX','ZUhRt','2077408JDGkCg','eFXKK','get','uinInfo','MgjKJ','errMsg','7QxfCSB','getMsgService','setLongNick','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','HttpsGetCookies','ClientKey','xWkUK','getBuddyRecommendContactArkJson','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','643bfiwVM','CallNoListenerEvent','请求获取Cookies时失败','ZdiQv','setHeader','%2Finfocenter&keyindex=19%27','psEMc','getOwnPropertyDescriptor','__decorate','getSkey','请求获取Skey时失败','uidInfo','2713926DneLTH','PBOlU','modifySelfProfile','ELgWh','qXViH','187670ceFYXY','WEgOD','forceFetchClientKey','getUserDetailInfoByUin','QlBzT','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','oXpXE','NodeIKernelUixConvertService/getUin','getBuddyService','getUserDetailInfo','sFhiL','BLLWY','response','robotUinRanges','getQzoneCookies','sWwlX','NodeIKernelUixConvertService/getUid','jfkjf','rqRaG','%2F','UknHr','uid','skey','&clientkey=','doPnM','decorate','DMJeo','podgs','InBEy','defineProperty','nNrME','1329fsRbIM','forEach','2689258LYXsQo','like','clientKey','setBuddyProfileLike','keyIndex','wSzhh','sTqmk','getPSkey','getTicketService','1362EKngEf','getCookies','getRobotService','onLoginSuccess','getUserDetailInfo\x20timeout','addListener','getUinByUid','pOMeB','uin','setStatus','getRobotUinRange','vZjQJ','1223290kDXtOk'];_0x5b8e=function(){return _0x2f8a5d;};return _0x5b8e();}var __decorate=this&&this[_0x2fe92b(0x13a)]||function(_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680){const _0x2f7159=_0x2fe92b,_0x1cba9d={'sTqmk':function(_0x2d2108,_0x1568f2){return _0x2d2108<_0x1568f2;},'jfkjf':function(_0x27dc06,_0x223ef7){return _0x27dc06===_0x223ef7;},'KsOXU':function(_0x4e2b88,_0x4c77af){return _0x4e2b88===_0x4c77af;},'UwRCH':'function','pOMeB':function(_0x426cf6,_0x5ede0d){return _0x426cf6>=_0x5ede0d;},'WEgOD':function(_0xdb8f5,_0x13234b){return _0xdb8f5>_0x13234b;},'qXViH':function(_0x47130b,_0x554bd4,_0x2b7279,_0xa53150){return _0x47130b(_0x554bd4,_0x2b7279,_0xa53150);},'nNrME':function(_0xc6ec4e,_0x39292c,_0x16000b){return _0xc6ec4e(_0x39292c,_0x16000b);}};var _0x18b2eb=arguments[_0x2f7159(0x17d)],_0x160367=_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x55576f:_0x1cba9d[_0x2f7159(0x154)](_0x184680,null)?_0x184680=Object[_0x2f7159(0x139)](_0x55576f,_0x44dd2e):_0x184680,_0x239460;if(_0x1cba9d['jfkjf'](typeof Reflect,'object')&&_0x1cba9d['KsOXU'](typeof Reflect[_0x2f7159(0x15c)],_0x1cba9d['UwRCH']))_0x160367=Reflect[_0x2f7159(0x15c)](_0x3d2d32,_0x55576f,_0x44dd2e,_0x184680);else{for(var _0x5eaed1=_0x3d2d32[_0x2f7159(0x17d)]-0x1;_0x1cba9d[_0x2f7159(0x174)](_0x5eaed1,0x0);_0x5eaed1--)if(_0x239460=_0x3d2d32[_0x5eaed1])_0x160367=(_0x1cba9d[_0x2f7159(0x16a)](_0x18b2eb,0x3)?_0x239460(_0x160367):_0x1cba9d[_0x2f7159(0x144)](_0x18b2eb,0x3)?_0x1cba9d[_0x2f7159(0x142)](_0x239460,_0x55576f,_0x44dd2e,_0x160367):_0x1cba9d[_0x2f7159(0x161)](_0x239460,_0x55576f,_0x44dd2e))||_0x160367;}return _0x18b2eb>0x3&&_0x160367&&Object[_0x2f7159(0x160)](_0x55576f,_0x44dd2e,_0x160367),_0x160367;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';function _0x96ae(_0x2acd7f,_0x19e154){const _0x5b8e90=_0x5b8e();return _0x96ae=function(_0x96ae4f,_0x436380){_0x96ae4f=_0x96ae4f-0x120;let _0x24bb8a=_0x5b8e90[_0x96ae4f];return _0x24bb8a;},_0x96ae(_0x2acd7f,_0x19e154);}import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x2fe92b(0x180)]=_0x22fa27=>{const _0x2144ce=_0x2fe92b;userInfoCache[_0x22fa27[_0x2144ce(0x158)]]=_0x22fa27,userDetailHandlers[_0x2144ce(0x163)](_0xa5880=>_0xa5880(_0x22fa27));},setTimeout(()=>{const _0x10f014=_0x2fe92b;napCatCore[_0x10f014(0x170)](()=>{const _0x2ffeea=_0x10f014;napCatCore[_0x2ffeea(0x172)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x2fe92b(0x12b)](_0x50f24f){const _0x154d6a=_0x2fe92b;return napCatCore[_0x1Line truncated
+1 -1
View File
@@ -1 +1 @@
const _0x4808c2=_0x945a;(function(_0x48bc69,_0x243d12){const _0x224267=_0x945a,_0x1a0785=_0x48bc69();while(!![]){try{const _0x2cc1c4=parseInt(_0x224267(0xa2))/0x1*(parseInt(_0x224267(0x118))/0x2)+parseInt(_0x224267(0xd1))/0x3+-parseInt(_0x224267(0xd4))/0x4+-parseInt(_0x224267(0x102))/0x5*(parseInt(_0x224267(0xad))/0x6)+-parseInt(_0x224267(0x92))/0x7*(parseInt(_0x224267(0x8f))/0x8)+-parseInt(_0x224267(0xf6))/0x9*(parseInt(_0x224267(0xf2))/0xa)+parseInt(_0x224267(0xc1))/0xb;if(_0x2cc1c4===_0x243d12)break;else _0x1a0785['push'](_0x1a0785['shift']());}catch(_0x3329b2){_0x1a0785['push'](_0x1a0785['shift']());}}}(_0x1c49,0x4f4b1));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x945a(_0x232433,_0x5dd4de){const _0x1c494c=_0x1c49();return _0x945a=function(_0x945a3,_0x510d61){_0x945a3=_0x945a3-0x8f;let _0x48cc61=_0x1c494c[_0x945a3];return _0x48cc61;},_0x945a(_0x232433,_0x5dd4de);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x48d2d2){const _0x4e04fd=_0x945a,_0x1815f1={'urpwb':'5|4|1|3|0|2','BYBQZ':'STORONGE_NEWBI','fCHYA':_0x4e04fd(0x10d),'SfXOg':'PERFROMER','IHLsh':_0x4e04fd(0xe0),'kTzrL':_0x4e04fd(0xd0),'YoLqK':'emotion','TmznL':_0x4e04fd(0xf3),'TKGvq':_0x4e04fd(0xdb),'GsmcW':_0x4e04fd(0xfa),'joGDI':_0x4e04fd(0x9b),'aQkca':'ALL'},_0x170c98=_0x1815f1[_0x4e04fd(0x120)][_0x4e04fd(0x11a)]('|');let _0x2cc9f3=0x0;while(!![]){switch(_0x170c98[_0x2cc9f3++]){case'0':_0x48d2d2[_0x1815f1['BYBQZ']]=_0x1815f1[_0x4e04fd(0x104)];continue;case'1':_0x48d2d2[_0x1815f1['SfXOg']]=_0x1815f1['IHLsh'];continue;case'2':_0x48d2d2[_0x1815f1[_0x4e04fd(0xbb)]]=_0x1815f1[_0x4e04fd(0xd9)];continue;case'3':_0x48d2d2[_0x1815f1[_0x4e04fd(0x107)]]=_0x1815f1[_0x4e04fd(0xa7)];continue;case'4':_0x48d2d2[_0x1815f1[_0x4e04fd(0xb3)]]=_0x1815f1[_0x4e04fd(0xdf)];continue;case'5':_0x48d2d2[_0x1815f1[_0x4e04fd(0x9c)]]='all';continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async['getGroupEssenceMsg'](_0x4971d0,_0x56ec60){const _0x5a2f98=_0x945a,_0x3d2d6c={'TJPNc':_0x5a2f98(0xee),'clyoQ':function(_0x348b9d,_0x29ce57){return _0x348b9d+_0x29ce57;},'prPej':function(_0x56b3e7,_0x4ffbb1){return _0x56b3e7+_0x4ffbb1;},'ikAOe':function(_0x184862,_0x51b56f){return _0x184862+_0x51b56f;},'ijoJb':function(_0x206866,_0x55748c){return _0x206866+_0x55748c;},'exkST':function(_0x6a255d,_0x2a373b){return _0x6a255d+_0x2a373b;},'TpkrS':function(_0x38fecc,_0x4cf1fe){return _0x38fecc+_0x4cf1fe;},'IFwWL':'p_skey=','HeAAr':_0x5a2f98(0x101),'MgdkC':_0x5a2f98(0xd6),'IeoAt':function(_0x1937b4,_0x4925cb){return _0x1937b4||_0x4925cb;},'ytauH':function(_0x1ef3d9,_0x2b6c63){return _0x1ef3d9+_0x2b6c63;},'GKbza':_0x5a2f98(0x105),'BIGrC':_0x5a2f98(0xb0),'uEnei':_0x5a2f98(0x94),'Pztjx':'&page_limit=20','EcztQ':_0x5a2f98(0x91),'KbnxK':function(_0x20218b,_0x37b2c5){return _0x20218b!==_0x37b2c5;}},_0x1ad728=(await NTQQUserApi['getPSkey']([_0x5a2f98(0xee)]))[_0x3d2d6c['TJPNc']],_0x21beeb=await NTQQUserApi[_0x5a2f98(0xc5)](),_0x424902=_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xab)](_0x3d2d6c['ikAOe'](_0x3d2d6c[_0x5a2f98(0xff)](_0x3d2d6c[_0x5a2f98(0xbc)](_0x3d2d6c[_0x5a2f98(0xb4)](_0x3d2d6c[_0x5a2f98(0xae)](_0x3d2d6c['IFwWL'],_0x1ad728),_0x3d2d6c['HeAAr']),_0x21beeb),_0x5a2f98(0xcd)),selfInfo[_0x5a2f98(0xcb)]),_0x3d2d6c['MgdkC']),selfInfo[_0x5a2f98(0xcb)]);if(_0x3d2d6c[_0x5a2f98(0x10b)](!_0x21beeb,!_0x1ad728))return undefined;const _0x7c72d5=WebApi['genBkn'](_0x21beeb),_0x235cda=_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0x108)](_0x3d2d6c[_0x5a2f98(0xf5)](_0x3d2d6c[_0x5a2f98(0xc4)],_0x7c72d5),_0x3d2d6c[_0x5a2f98(0xca)])+_0x4971d0,_0x3d2d6c['uEnei'])+_0x56ec60+_0x3d2d6c[_0x5a2f98(0x125)];let _0x743801;try{_0x743801=await RequestUtil['HttpGetJson'](_0x235cda,_0x3d2d6c[_0x5a2f98(0xfb)],'',{'Cookie':_0x424902});}catch{return undefined;}if(_0x3d2d6c[_0x5a2f98(0x100)](_0x743801[_0x5a2f98(0x109)],0x0))return undefined;return _0x743801;}static async['getGroupMembers'](_0x4cc758,_0x49dda2=!![]){const _0x8480d=_0x945a,_0x1fa756={'zDTpG':function(_0x30987e,_0xda0801){return _0x30987e-_0xda0801;},'JWBGE':_0x8480d(0xee),'FVjTS':function(_0x1ff226,_0x5a45cb){return _0x1ff226+_0x5a45cb;},'mrnsD':function(_0xadefbd,_0x22c919){return _0xadefbd+_0x22c919;},'CrORT':function(_0x25b618,_0x495e29){return _0x25b618+_0x495e29;},'hPhrA':function(_0xf6b5cf,_0x5d049a){return _0xf6b5cf+_0x5d049a;},'BtNti':_0x8480d(0xcd),'Tdaef':function(_0x13c48a,_0x26dd8d){return _0x13c48a||_0x26dd8d;},'JCcvy':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','ECAzT':'&bkn=','vbJVb':_0x8480d(0xaa),'KKhbH':function(_0x5b5d93,_0x4c8595){return _0x5b5d93!==_0x4c8595;},'EtcCl':function(_0x52190c,_0x4c2938){return _0x52190c<=_0x4c2938;},'wJjvq':function(_0x4ed0c0,_0x2ad316){return _0x4ed0c0+_0x2ad316;},'NTIMu':function(_0x1ce93f,_0x509c0f){return _0x1ce93f+_0x509c0f;},'oTwpX':function(_0x5efa48,_0x50c4fd){return _0x5efa48+_0x50c4fd;},'tJXvJ':_0x8480d(0xb8)Line truncated
const _0x553788=_0x18f6;(function(_0x5f44b7,_0x3245df){const _0x2eddb3=_0x18f6,_0x25120a=_0x5f44b7();while(!![]){try{const _0x18dd8d=parseInt(_0x2eddb3(0xc6))/0x1*(parseInt(_0x2eddb3(0x13d))/0x2)+parseInt(_0x2eddb3(0x12a))/0x3*(parseInt(_0x2eddb3(0x14f))/0x4)+parseInt(_0x2eddb3(0xda))/0x5+parseInt(_0x2eddb3(0x11e))/0x6*(parseInt(_0x2eddb3(0x14a))/0x7)+-parseInt(_0x2eddb3(0xea))/0x8*(-parseInt(_0x2eddb3(0xc8))/0x9)+-parseInt(_0x2eddb3(0xc2))/0xa+-parseInt(_0x2eddb3(0xec))/0xb;if(_0x18dd8d===_0x3245df)break;else _0x25120a['push'](_0x25120a['shift']());}catch(_0x3b7473){_0x25120a['push'](_0x25120a['shift']());}}}(_0xcfb6,0x30f31));var __decorate=this&&this[_0x553788(0x154)]||function(_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca){const _0x3f5f34=_0x553788,_0x1cce5a={'TLiaz':function(_0x50d43b,_0x415432){return _0x50d43b===_0x415432;},'mvOIA':_0x3f5f34(0xc3),'QwtZm':function(_0x2cdeb2,_0x262a1a){return _0x2cdeb2===_0x262a1a;},'adoqe':_0x3f5f34(0x116),'vJQSH':function(_0x311369,_0x10bd54){return _0x311369>=_0x10bd54;},'VtgSh':function(_0x6871e5,_0x481fd0){return _0x6871e5<_0x481fd0;},'TCrFt':function(_0x39dbb3,_0x55c5fb){return _0x39dbb3>_0x55c5fb;},'tQxIg':function(_0x356bb0,_0xf0dfff,_0x492df0,_0x3addc4){return _0x356bb0(_0xf0dfff,_0x492df0,_0x3addc4);},'MULDa':function(_0x32380c,_0x334b76,_0x36c548){return _0x32380c(_0x334b76,_0x36c548);}};var _0xe9a216=arguments[_0x3f5f34(0xf2)],_0x206196=_0xe9a216<0x3?_0x2e206d:_0x1cce5a['TLiaz'](_0x2f75ca,null)?_0x2f75ca=Object['getOwnPropertyDescriptor'](_0x2e206d,_0x261ad3):_0x2f75ca,_0x3a1f4f;if(typeof Reflect===_0x1cce5a['mvOIA']&&_0x1cce5a[_0x3f5f34(0xf5)](typeof Reflect[_0x3f5f34(0xe3)],_0x1cce5a[_0x3f5f34(0xcf)]))_0x206196=Reflect[_0x3f5f34(0xe3)](_0x2fea1d,_0x2e206d,_0x261ad3,_0x2f75ca);else{for(var _0x2ce32f=_0x2fea1d[_0x3f5f34(0xf2)]-0x1;_0x1cce5a['vJQSH'](_0x2ce32f,0x0);_0x2ce32f--)if(_0x3a1f4f=_0x2fea1d[_0x2ce32f])_0x206196=(_0x1cce5a[_0x3f5f34(0x14d)](_0xe9a216,0x3)?_0x3a1f4f(_0x206196):_0x1cce5a[_0x3f5f34(0x106)](_0xe9a216,0x3)?_0x1cce5a[_0x3f5f34(0xd3)](_0x3a1f4f,_0x2e206d,_0x261ad3,_0x206196):_0x1cce5a[_0x3f5f34(0x163)](_0x3a1f4f,_0x2e206d,_0x261ad3))||_0x206196;}return _0xe9a216>0x3&&_0x206196&&Object[_0x3f5f34(0x11b)](_0x2e206d,_0x261ad3,_0x206196),_0x206196;};import{selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0xcfb6(){const _0x3f8038=['match','UUFxf','all','NbuuA','actorList','adoqe','parse','EaMiQ','RAsyU','tQxIg','zTajZ','RRISQ','QDPON','oMrIZ','performer','tTmci','1901235SnCWRq','getGroupEssenceMsg','dECoA','setGroupNotice','获取当前群荣耀失败','push','genBkn','&sort=1&gc=','emotion_list','decorate','aLBgO','aInLr','ovgMd','phoEo',';\x20uin=o','NhFkm','235784vjlljT','MIMUJ','11721303QCsPea','rhTnD','qjkui','GET','dQyZW','POYAV','length','WWdgx','&bkn=','QwtZm','UYmQD','EMOTION','uMezn','p_skey=','kGtLF','performer_list','ngkEe','IFrZJ','eiRGS','DKRDI','BNALS','&qid=','ZjVle','YjUht','CtGce','ceil','TCrFt','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','vSgKo','strong_newbie_list','charCodeAt','3|5|4|1|0|2','WVbvh','qun.qq.com','POST','STORONGE_NEWBI','legend_list','ccmpN','UJMzZ','YXrEq','JneiB','function','pXJkU','current_talkative','&text=','egSBb','defineProperty','ALL','COUEk','610482ZNIhyR','rgnJr','vbgqF','PERFROMER','laXWP','mems','avatar','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','PMUVq','errcode','retcode','CnVxQ','6wFdnwr',';\x20p_uin=o','ZAsOf','getGroupHonorInfo','TALKACTIVE','WCYeg','tLlzk','domainPskeyMap','获取快乐源泉失败','获取群聊之火失败','BbqFO','pcTFq','FqUvz','&group_code=','getGrouptNotice','GJeqp','talkative_list','get','ZpuOO','8794xmsUZG','uin','JzBoJ','GroupHonorInfo','vMTYv','talkative','&type=','gdfcX','HttpGetText','rstAN','rzPFE','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','getPSkey','21AeqVxM','DcJyM','getSkey','VtgSh','TPZRQ','778328txemGG','fCJOb','EGUwZ','aHNIn','name','__decorate','CrSBV','count','trim','HttpGetJson','talkativeList','split',';\x20skey=','&page_start=','xuqDH','CGtlU','YpvvJ','description','BHLhJ','https://qun.qq.com/interactive/honorlist?gc=','MULDa','KzEQT','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','Cvsyd','rYcgP','yNozb','DfAUu','HzelM','otbEU','desc','3412290flYGiD','object','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','legend','34QHgOJa','getGroupMembers','117WLWvuT','toString'];_0xcfb6=function(){return _0x3f8038;};return _0xcfb6();}export var WebHonorType;(function(_0x5d2433){const _0x190e93=_0x553788,_0x8cd4f={'FqUvz':_0x190e93(0x10c),'CtGce':'strong_newbie','rgnJr':_0x190e93(0xc5),'egSBb':_0x190e93(0xf7),'uOIDu':'emotion','YXrEq':'ALL','rzPFE':_0x190e93(0xcc),'dQyZW':_0x190e93(0x121),'ZSMPQ':_0x190e93(0xd8),'UUFxf':_0x190e93(0x12e),'WVbvh':_0x190e93(0x1Line truncated
+1 -1
View File
@@ -1 +1 @@
const _0x2baa7e=_0x5874;(function(_0x4e3314,_0x589d65){const _0x3538e3=_0x5874,_0x1f55a0=_0x4e3314();while(!![]){try{const _0x243d9a=-parseInt(_0x3538e3(0x1d8))/0x1*(-parseInt(_0x3538e3(0x202))/0x2)+parseInt(_0x3538e3(0x1e6))/0x3+-parseInt(_0x3538e3(0x19a))/0x4+-parseInt(_0x3538e3(0x18a))/0x5+-parseInt(_0x3538e3(0x209))/0x6*(-parseInt(_0x3538e3(0x1be))/0x7)+parseInt(_0x3538e3(0x1e2))/0x8+parseInt(_0x3538e3(0x185))/0x9*(-parseInt(_0x3538e3(0x1bb))/0xa);if(_0x243d9a===_0x589d65)break;else _0x1f55a0['push'](_0x1f55a0['shift']());}catch(_0x23c7de){_0x1f55a0['push'](_0x1f55a0['shift']());}}}(_0x48d3,0x60eab));import _0x59d79d from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x423aa8 from'node:path';import _0x162d4f from'node:os';import _0x4a4053 from'node:fs';function _0x5874(_0x50f168,_0x358303){const _0x48d3f4=_0x48d3();return _0x5874=function(_0x5874bc,_0x7af9b7){_0x5874bc=_0x5874bc-0x164;let _0xf9da05=_0x48d3f4[_0x5874bc];return _0xf9da05;},_0x5874(_0x50f168,_0x358303);}import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x48b06b from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';import{napCatConfig}from'@/core/utils/config';export class NapCatCore{['session'];[_0x2baa7e(0x175)];[_0x2baa7e(0x1de)];[_0x2baa7e(0x179)];['loginService'];[_0x2baa7e(0x190)]=[];[_0x2baa7e(0x180)]={'get'(target,prop,receiver){const _0x15032d=_0x2baa7e,xHLPjI={'ZHppG':function(callee,param1){return callee(param1);},'MKtfS':function(x,y){return x===y;},'XEFxx':_0x15032d(0x1f8)};if(xHLPjI['MKtfS'](typeof target[prop],xHLPjI[_0x15032d(0x1db)]))return(...args)=>{const _0x1b0030=_0x15032d;xHLPjI['ZHppG'](logDebug,target[_0x1b0030(0x1ab)][_0x1b0030(0x16a)]+'\x20has\x20no\x20method\x20'+prop);};return Reflect[_0x15032d(0x187)](target,prop,receiver);}};constructor(){const _0x2cbaf5=_0x2baa7e,_0x492f77={'GPJFw':function(_0x123e1a,_0x2e4ad0){return _0x123e1a+_0x2e4ad0;},'vBxFw':function(_0x4ec1e3,_0xd05cfa){return _0x4ec1e3+_0xd05cfa;},'SUUQF':_0x2cbaf5(0x1aa),'MwbAO':function(_0x30cb4b,_0x52fed5,_0x4f562f){return _0x30cb4b(_0x52fed5,_0x4f562f);},'DLHbK':_0x2cbaf5(0x1cf),'GiIzL':function(_0x1d304f,_0x167417,_0x427c11){return _0x1d304f(_0x167417,_0x427c11);},'Jduwx':function(_0x3cd651,_0x437bb7){return _0x3cd651(_0x437bb7);},'CTPku':function(_0x2d9b07,_0x2367e6){return _0x2d9b07(_0x2367e6);},'NioDL':_0x2cbaf5(0x20d),'PLRiV':function(_0x2688ab,_0x5a3735,_0x9fe0e5){return _0x2688ab(_0x5a3735,_0x9fe0e5);},'YRMMH':_0x2cbaf5(0x195),'gfKgF':function(_0x406761,_0x78f76){return _0x406761 instanceof _0x78f76;},'cOdNA':'登录失败','OXjhy':function(_0x25017c,_0x4ac258){return _0x25017c==_0x4ac258;},'gZwJH':function(_0x43f410,_0x4a79ba,_0xa74bca){return _0x43f410(_0x4a79ba,_0xa74bca);}};this['engine']=new _0x59d79d[(_0x2cbaf5(0x20e))](),this[_0x2cbaf5(0x175)]=new _0x59d79d[(_0x2cbaf5(0x1a1))](),this[_0x2cbaf5(0x1d2)]=new _0x59d79d[(_0x2cbaf5(0x177))](),this[_0x2cbaf5(0x19d)]=new _0x59d79d[(_0x2cbaf5(0x167))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x2cbaf5(0x1b2)]=_0x8c00ba=>{const _0x1ff6d9=_0x2cbaf5;logError(_0x492f77['GPJFw'](_0x492f77[_0x1ff6d9(0x16d)](_0x492f77[_0x1ff6d9(0x198)],_0x8c00ba),_0x1ff6d9(0x1e3)));},this[_0x2cbaf5(0x179)][_0x2cbaf5(0x1e7)]=_0x3f6392=>{const _0x3cf2b9=_0x2cbaf5,_0x4c06f3={'xSWyA':function(_0x43650c,_0x18d309,_0x5890b0){return _0x43650c(_0x18d309,_0x5890b0);},'FquJV':function(_0x27970d,_0x333b98){const _0x21e87d=_0x5874;return _0x492f77[_0x21e87d(0x205)](_0x27970d,_0x333b98);},'JqAfk':function(_0x6122b7,_0x4de90d,_0x50ee81){const _0xbe655f=_0x5874;return _0x492f77[_0xbe655f(0x1d3)](_0x6122b7,_0x4de90d,_0x50ee81);},'alAWO':_0x3cf2b9(0x217)};this[_0x3cf2b9(0x197)](_0x3f6392['uin'],_0x3f6392[_0x3cf2b9(0x169)])[_0x3cf2b9(0x1f9)](_0x460f29=>{const _0x4bfe25=_0x3cf2b9,_0xec3ae8={'gJwem':function(_0x45c73f,_0x43ea33,_0x2080b6){const _0x18b542=_0x5874;return _0x492f77[_0x18b542(0x1c8)](_0x45c73f,_0x43ea33,_0x2080b6);},'Ktyyi':_0x492f77[_0x4bfe25(0x16e)]};selfInfo['uin']=_0x3f6392[_0x4bfe25(0x174)],selfInfo['uid']=_0x3f6392['uid'],napCatConfig[_0x4bfe25(0x1e5)](),_0x492f77[_0x4bfe25(0x1d3)](setLogLevel,napCatConfig[_0x4bfe25(0x218)],napCatConfig[_0x4bfe25(0x199)]),_0x492f77['Jduwx'](enableFileLog,napCatConfig[_0x4bfe25(0x18f)]),_0x492f77[_0x4bfe25(0x1a2)](enableConsoleLog,napCatConfig[_0x4bfe25(0x1cd)]),_0x492f77[_0x4bfe25(0x1df)](setLogSelfInfo,selfInfo);const _0x246611=_0x423aa8['resolve'](this['dataPath'],_0x492f77[_0x4Line truncated
const _0x29a279=_0x4447;(function(_0x20b136,_0x16786b){const _0x34e446=_0x4447,_0x14b94b=_0x20b136();while(!![]){try{const _0x20206a=parseInt(_0x34e446(0x92))/0x1*(-parseInt(_0x34e446(0xe6))/0x2)+-parseInt(_0x34e446(0xe1))/0x3*(parseInt(_0x34e446(0xc6))/0x4)+-parseInt(_0x34e446(0x112))/0x5*(-parseInt(_0x34e446(0xb9))/0x6)+-parseInt(_0x34e446(0x140))/0x7*(parseInt(_0x34e446(0xb3))/0x8)+parseInt(_0x34e446(0xed))/0x9*(parseInt(_0x34e446(0x9f))/0xa)+parseInt(_0x34e446(0x134))/0xb*(parseInt(_0x34e446(0xe8))/0xc)+parseInt(_0x34e446(0x8d))/0xd;if(_0x20206a===_0x16786b)break;else _0x14b94b['push'](_0x14b94b['shift']());}catch(_0x21425d){_0x14b94b['push'](_0x14b94b['shift']());}}}(_0x24b2,0xe755f));import _0x142ec5 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5de221 from'node:path';import _0x39b742 from'node:os';import _0x40a640 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';function _0x24b2(){const _0x562e8e=['fWzGz','psOBO','getNTUserDataInfoConfig','qkLgq','read','getBuddyService','get','ThgjH','onQRCodeSessionFailed','bLFNA','initDataListener','data:image/png;base64,','map','onMemberListChange','ooRsI','onLoginFailed','1255ogVEBX','onProfileDetailInfoChanged','CEIaj','HRsIJ','packet_sent','init','packet_received','memberCount','getQRCodePicture','engine','length','YOSAu','onMemberInfoChange','tVKVG','Windows\x2010\x20Pro','[KickedOffLine]\x20[','-v2.db','getGroupService','./.config/QQ','登录失败(onQRCodeSessionFailed)','sceneId','update','fileLog','CpZAG','PlYzX','has','dYLKE','find','set','proxyHandler','WMoKT','OlPnA','TusiZ','eUEHq','2956899tcLVEx','initSession','LiPEs','floor','addKernelProfileListener','GroupListener','xMHfv','resolve','ProfileListener','delete','GXRhF','NodeIQQNTWrapperEngine','8687tWYFPg','onRecvSysMsg','NodeIGlobalAdapter','noIKi','NodeIKernelGroupListener','uid','name','getMsgService','infos','WsBlK','NodeIKernelLoginService','startNT','base64','36813738YlEOTE','YyDBc','NodeIKernelMsgListener','curVersion','dataPath','176036sdPfSj','qKvXZ','addKernelLoginListener','then','PacBe','uin','consoleLog','onQRCodeGetPicture','getProfileService','clientType','initConfig','vwVTd','tipsDesc','13786730JElMFN','errMsg','chTYU','pngBase64QrcodeData','groupCode','devUid','140022013','passwordLogin','xqxRG','init\x20failed\x20','result','BuddyListener','NodeIDispatcherAdapter','SMCjT','message_received','loginService','fileLogLevel','_GW_B','keFbD','split','7640RQGEdp','NodeIKernelLoginListener','tosBa','onRecvMsg','./NapCat/data','qrcodeUrl','498BGNhzo','./nt_qq/global','quickLogin','createMemberListScene','XErcn','onSelfStatusChanged','PbssZ','onSessionInitComplete','HQknG','addKernelGroupListener','initWithDeskTopConfig','addKernelBuddyListener','NodeIQQNTWrapperSession','27492ZcKvxt','\x20has\x20no\x20method\x20','last_message_time','onGroupListUpdate','qrLogin','addListener','now','uRaKa','catch','zHsMN','DKFGD','onLoginSuccess','quickLoginWithUin','md5','buddyList','账号设备(','WuroQ','onLoginSuccessFuncList','Wznpg','Tvfzp','onBuddyListChange','nrEpQ','IZHan','没有可快速登录的QQ号','digest','getLoginList','启动失败:\x20','807AqVuJu','hex','140022008','NodeQQNTWrapperUtil','getNextMemberList','12POWEJE','onUserLoggedIn','36XfAHxF','onQRCodeLoginSucceed','util','LocalLoginInfoList','V1_WIN_NQ_','9VPLvVB','MenjB','BcmJg','loginErrorInfo','ZBcOe','session','isQuickLogin','loginListener','NodeIDependsAdapter','ckffR','replace','createHash','message_sent','MANsi','RlrfK','forEach','本账号数据/缓存目录:','vNWaE','mkdirSync','assign','dataPathGlobal'];_0x24b2=function(){return _0x562e8e;};return _0x24b2();}import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x1ef7bc from'node:crypto';import{rawFriends,friends,groupMembers,groups,selfInfo,stat}from'@/core/data';import{NTEventDispatch}from'@/common/utils/EventTask';import{enableConsoleLog,enableFileLog,log,logDebug,logError,setLogLevel,setLogSelfInfo}from'@/common/utils/log';function _0x4447(_0x2d2aa2,_0x3940cf){const _0x24b246=_0x24b2();return _0x4447=function(_0x4447ae,_0x1a64a2){_0x4447ae=_0x4447ae-0x89;let _0x2a51ec=_0x24b246[_0x4447ae];return _0x2a51ec;},_0x4447(_0x2d2aa2,_0x3940cf);}import{napCatConfig}from'@/core/utils/config';export class NapCatCore{[_0x29a279(0xf2)];[_0x29a279(0xea)];[_0x29a279(0x11b)];['loginListener'];[_0x29a279(0xae)];[_0x29a279(0xd7)]=[];[_0x29a279(0x12f)]={'get'(target,prop,receiver){const _0x27c388=_0x29a279,WiDybT={'ZBcOe':function(x,y){return x===y;}};if(WiDybT[_0x27c388(0xf1)](typeof target[prop],'undefined'))return(...args)=>{const _0x220499=_0x27c388;logDebug(target['constructor'][_0x220499(0x146)]+_0x220499(0xc7)+prop);};return Reflect[Line truncated
+1 -16
View File
@@ -1,29 +1,14 @@
import { type Friend, type Group, type GroupMember, GroupNotify, type SelfInfo, BuddyCategoryType } from './entities';
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>;
};
export declare const WebGroupData: {
GroupData: Map<string, WebApiGroupMember[]>;
GroupTime: Map<string, number>;
};
export declare const selfInfo: SelfInfo;
export declare const groups: Map<string, Group>;
export declare function deleteGroup(groupQQ: string): void;
export declare const groupMembers: Map<string, Map<string, GroupMember>>;
export declare const friends: Map<string, Friend>;
export declare const rawFriends: Array<BuddyCategoryType>;
export declare const groupNotifies: Record<string, GroupNotify>;
export declare function getFriend(uinOrUid: string): Promise<Friend | undefined>;
export declare function getGroup(qq: string | number): Promise<Group | undefined>;
export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise<GroupMember | null | undefined>;
export declare const tempGroupCodeMap: Record<string, string>;
export declare const rawFriends: Array<BuddyCategoryType>;
export declare const stat: {
packet_received: number;
packet_sent: number;
+1 -1
View File
@@ -1 +1 @@
(function(_0x27c2f6,_0x11d2ca){const _0x1836bf=_0x5db4,_0x10cbe0=_0x27c2f6();while(!![]){try{const _0x731586=-parseInt(_0x1836bf(0x19b))/0x1+parseInt(_0x1836bf(0x19e))/0x2*(parseInt(_0x1836bf(0x19f))/0x3)+-parseInt(_0x1836bf(0x1af))/0x4+parseInt(_0x1836bf(0x1a5))/0x5*(parseInt(_0x1836bf(0x1a0))/0x6)+parseInt(_0x1836bf(0x1aa))/0x7+parseInt(_0x1836bf(0x1a6))/0x8*(parseInt(_0x1836bf(0x1a9))/0x9)+-parseInt(_0x1836bf(0x1a3))/0xa*(parseInt(_0x1836bf(0x1ae))/0xb);if(_0x731586===_0x11d2ca)break;else _0x10cbe0['push'](_0x10cbe0['shift']());}catch(_0x258254){_0x10cbe0['push'](_0x10cbe0['shift']());}}}(_0x3cbb,0x7e5d6));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';function _0x3cbb(){const _0xe5d8fc=['3791709jQAmBt','4842915aHTYqb','toString','forEach','VXcxB','11pIVxfi','960136YhEOsB','get','mfDiD','delete','from','179856pKxjNF','set','length','18oHuPLS','232590lpKZBs','6cZtPjX','getGroupMembers','getGroups','12063530CcnjtC','values','1664585SBfDsv','8ljlqHt','find','uin'];_0x3cbb=function(){return _0xe5d8fc;};return _0x3cbb();}export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x322074){const _0x415f93=_0x5db4;groups[_0x415f93(0x199)](_0x322074),groupMembers[_0x415f93(0x199)](_0x322074);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getFriend(_0x473e79){const _0x53d80f=_0x5db4;_0x473e79=_0x473e79[_0x53d80f(0x1ab)]();if(isNumeric(_0x473e79)){const _0x1431c4=Array[_0x53d80f(0x19a)](friends[_0x53d80f(0x1a4)]());return _0x1431c4[_0x53d80f(0x1a7)](_0x4ebe66=>_0x4ebe66['uin']===_0x473e79);}else return friends[_0x53d80f(0x197)](_0x473e79);}export async function getGroup(_0x517675){const _0x35805a=_0x5db4;let _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]());if(!_0x107e87)try{const _0x55c042=await NTQQGroupApi[_0x35805a(0x1a2)]();_0x55c042[_0x35805a(0x19d)]&&_0x55c042[_0x35805a(0x1ac)](_0x6a1203=>{groups['set'](_0x6a1203['groupCode'],_0x6a1203);});}catch(_0x3c74a8){return undefined;}return _0x107e87=groups['get'](_0x517675[_0x35805a(0x1ab)]()),_0x107e87;}export async function getGroupMember(_0x1c4b88,_0x1ae479){const _0x148d29=_0x5db4,_0xcb04f6={'mfDiD':function(_0x34d378,_0x2bbc53){return _0x34d378(_0x2bbc53);},'VXcxB':function(_0x2452b3){return _0x2452b3();}};_0x1c4b88=_0x1c4b88[_0x148d29(0x1ab)](),_0x1ae479=_0x1ae479['toString']();let _0x42f835=groupMembers['get'](_0x1c4b88);if(!_0x42f835)try{_0x42f835=await NTQQGroupApi['getGroupMembers'](_0x1c4b88),groupMembers[_0x148d29(0x19c)](_0x1c4b88,_0x42f835);}catch(_0x774301){return null;}const _0x1f381e=()=>{const _0x24b812=_0x148d29;let _0x53e789=undefined;return _0xcb04f6[_0x24b812(0x198)](isNumeric,_0x1ae479)?_0x53e789=Array[_0x24b812(0x19a)](_0x42f835[_0x24b812(0x1a4)]())[_0x24b812(0x1a7)](_0x353f12=>_0x353f12[_0x24b812(0x1a8)]===_0x1ae479):_0x53e789=_0x42f835[_0x24b812(0x197)](_0x1ae479),_0x53e789;};let _0x10cc4a=_0xcb04f6['VXcxB'](_0x1f381e);return!_0x10cc4a&&(_0x42f835=await NTQQGroupApi[_0x148d29(0x1a1)](_0x1c4b88),_0x10cc4a=_0xcb04f6[_0x148d29(0x1ad)](_0x1f381e)),_0x10cc4a;}function _0x5db4(_0x66df28,_0x127c58){const _0x3cbb10=_0x3cbb();return _0x5db4=function(_0x5db406,_0x3ef3b8){_0x5db406=_0x5db406-0x197;let _0xf2eaf3=_0x3cbb10[_0x5db406];return _0xf2eaf3;},_0x5db4(_0x66df28,_0x127c58);}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
(function(_0xfbf58a,_0x2b6f05){const _0x3abffa=_0x54e1,_0x17a026=_0xfbf58a();while(!![]){try{const _0x3ef080=-parseInt(_0x3abffa(0x174))/0x1*(-parseInt(_0x3abffa(0x178))/0x2)+parseInt(_0x3abffa(0x171))/0x3*(parseInt(_0x3abffa(0x176))/0x4)+parseInt(_0x3abffa(0x175))/0x5+parseInt(_0x3abffa(0x17d))/0x6+parseInt(_0x3abffa(0x16c))/0x7*(parseInt(_0x3abffa(0x17b))/0x8)+-parseInt(_0x3abffa(0x183))/0x9*(parseInt(_0x3abffa(0x16d))/0xa)+-parseInt(_0x3abffa(0x170))/0xb;if(_0x3ef080===_0x2b6f05)break;else _0x17a026['push'](_0x17a026['shift']());}catch(_0x577ba7){_0x17a026['push'](_0x17a026['shift']());}}}(_0x5d7b,0x7550e));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x592735){const _0x11d615=_0x54e1;groups[_0x11d615(0x17f)](_0x592735),groupMembers[_0x11d615(0x17f)](_0x592735);}function _0x5d7b(){const _0x1898f7=['from','4956348haYzLR','uin','delete','length','forEach','fIjmQ','482076kavHbu','getGroups','values','1501549hlHqFY','50MZrPWc','set','groupCode','20343323BHKezk','1845NuuQth','getGroupMembers','toString','2HvlFDm','2792890qixSle','396cRlxke','wsCLz','294190qQVAgr','find','get','32gVntKX'];_0x5d7b=function(){return _0x1898f7;};return _0x5d7b();}function _0x54e1(_0x1555ee,_0x585626){const _0x5d7b83=_0x5d7b();return _0x54e1=function(_0x54e1e,_0x2dbff2){_0x54e1e=_0x54e1e-0x16c;let _0x4eef3d=_0x5d7b83[_0x54e1e];return _0x4eef3d;},_0x54e1(_0x1555ee,_0x585626);}export const groupMembers=new Map();export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x52b5e2){const _0x4c9403=_0x54e1;let _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]());if(!_0x5e9dc1)try{const _0x26918c=await NTQQGroupApi[_0x4c9403(0x184)]();_0x26918c[_0x4c9403(0x180)]&&_0x26918c[_0x4c9403(0x181)](_0x252801=>{const _0x219996=_0x4c9403;groups[_0x219996(0x16e)](_0x252801[_0x219996(0x16f)],_0x252801);});}catch(_0x2a2b07){return undefined;}return _0x5e9dc1=groups[_0x4c9403(0x17a)](_0x52b5e2[_0x4c9403(0x173)]()),_0x5e9dc1;}export async function getGroupMember(_0x5742a9,_0x50f192){const _0xf33c43=_0x54e1,_0x445259={'fIjmQ':function(_0x16eb46,_0x2a959d){return _0x16eb46(_0x2a959d);},'wsCLz':function(_0xa1f970){return _0xa1f970();},'TDuca':function(_0x4fc256){return _0x4fc256();}};_0x5742a9=_0x5742a9[_0xf33c43(0x173)](),_0x50f192=_0x50f192[_0xf33c43(0x173)]();let _0x304aac=groupMembers[_0xf33c43(0x17a)](_0x5742a9);if(!_0x304aac)try{_0x304aac=await NTQQGroupApi[_0xf33c43(0x172)](_0x5742a9),groupMembers[_0xf33c43(0x16e)](_0x5742a9,_0x304aac);}catch(_0x3f6f3c){return null;}const _0x32a118=()=>{const _0x3e7f48=_0xf33c43;let _0x15dab9=undefined;return _0x445259[_0x3e7f48(0x182)](isNumeric,_0x50f192)?_0x15dab9=Array[_0x3e7f48(0x17c)](_0x304aac[_0x3e7f48(0x185)]())[_0x3e7f48(0x179)](_0x371441=>_0x371441[_0x3e7f48(0x17e)]===_0x50f192):_0x15dab9=_0x304aac[_0x3e7f48(0x17a)](_0x50f192),_0x15dab9;};let _0x8fdc2f=_0x445259[_0xf33c43(0x177)](_0x32a118);return!_0x8fdc2f&&(_0x304aac=await NTQQGroupApi['getGroupMembers'](_0x5742a9),_0x8fdc2f=_0x445259['TDuca'](_0x32a118)),_0x8fdc2f;}export const tempGroupCodeMap={};export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0};
+1 -1
View File
@@ -1 +1 @@
(function(_0x5d59d3,_0x2e8fae){var _0x1bf3ff=_0x5cdf,_0x5a7576=_0x5d59d3();while(!![]){try{var _0x4e9f46=parseInt(_0x1bf3ff(0x137))/0x1*(parseInt(_0x1bf3ff(0x136))/0x2)+parseInt(_0x1bf3ff(0x133))/0x3+-parseInt(_0x1bf3ff(0x131))/0x4+parseInt(_0x1bf3ff(0x13a))/0x5+-parseInt(_0x1bf3ff(0x12f))/0x6*(-parseInt(_0x1bf3ff(0x139))/0x7)+-parseInt(_0x1bf3ff(0x12e))/0x8*(parseInt(_0x1bf3ff(0x129))/0x9)+-parseInt(_0x1bf3ff(0x12d))/0xa*(parseInt(_0x1bf3ff(0x13c))/0xb);if(_0x4e9f46===_0x2e8fae)break;else _0x5a7576['push'](_0x5a7576['shift']());}catch(_0x246536){_0x5a7576['push'](_0x5a7576['shift']());}}}(_0x4c16,0x9fab4));function _0x5cdf(_0x34552e,_0x47c61e){var _0x4c163d=_0x4c16();return _0x5cdf=function(_0x5cdf66,_0x1acbc9){_0x5cdf66=_0x5cdf66-0x129;var _0x5eadee=_0x4c163d[_0x5cdf66];return _0x5eadee;},_0x5cdf(_0x34552e,_0x47c61e);};function _0x4c16(){var _0x52c86c=['AUDIO','431211TtKEDe','OCOHq','DOCUMENT','8832834UEuRDk','IMAGE','OTHER','2|0|1|4|3','370nIEzXE','8oRNUuI','7662LZqKXA','VIDEO','1833312rfAyUE','XsgJx','2414547ZeNUBg','YGggh','rNNrm','6nBrXeG','203493kboEFa','qNfvT','7035VkweyR','4227410CkGzUV'];_0x4c16=function(){return _0x52c86c;};return _0x4c16();}export var CacheFileType;(function(_0x37c57a){var _0xf6bd6c=_0x5cdf,_0x25e57b={'rNNrm':_0xf6bd6c(0x12c),'baxRs':_0xf6bd6c(0x130),'OCOHq':_0xf6bd6c(0x13b),'XsgJx':_0xf6bd6c(0x12a),'YGggh':_0xf6bd6c(0x12b),'qNfvT':_0xf6bd6c(0x13e)},_0x4cd544=_0x25e57b[_0xf6bd6c(0x135)]['split']('|'),_0x4147b1=0x0;while(!![]){switch(_0x4cd544[_0x4147b1++]){case'0':_0x37c57a[_0x37c57a[_0xf6bd6c(0x130)]=0x1]=_0x25e57b['baxRs'];continue;case'1':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x13d)]]=0x2]=_0xf6bd6c(0x13b);continue;case'2':_0x37c57a[_0x37c57a[_0x25e57b['XsgJx']]=0x0]=_0x25e57b[_0xf6bd6c(0x132)];continue;case'3':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x134)]]=0x4]=_0xf6bd6c(0x12b);continue;case'4':_0x37c57a[_0x37c57a[_0x25e57b[_0xf6bd6c(0x138)]]=0x3]=_0x25e57b['qNfvT'];continue;}break;}}(CacheFileType||(CacheFileType={})));
function _0x1369(_0x312d83,_0x52e6fe){var _0x4a22ce=_0x4a22();return _0x1369=function(_0x13696d,_0xe5b380){_0x13696d=_0x13696d-0x118;var _0x49d91d=_0x4a22ce[_0x13696d];return _0x49d91d;},_0x1369(_0x312d83,_0x52e6fe);}function _0x4a22(){var _0x3a5085=['OTHER','2130245LdFIAv','3277896mhNgic','2827188hKvITZ','gNNnV','pFiip','split','171498VQNpAs','18IiqnvI','VIDEO','iRVto','DOCUMENT','1004408owesAN','ioOPR','5KxSPbr','3|2|4|0|1','4942904YcSPrO','619440FkcSYe'];_0x4a22=function(){return _0x3a5085;};return _0x4a22();}(function(_0x56215f,_0x42c3b2){var _0x55ed39=_0x1369,_0x1d263c=_0x56215f();while(!![]){try{var _0x99e94e=parseInt(_0x55ed39(0x125))/0x1*(parseInt(_0x55ed39(0x11e))/0x2)+-parseInt(_0x55ed39(0x128))/0x3+parseInt(_0x55ed39(0x123))/0x4+-parseInt(_0x55ed39(0x118))/0x5+-parseInt(_0x55ed39(0x119))/0x6+-parseInt(_0x55ed39(0x11a))/0x7+-parseInt(_0x55ed39(0x127))/0x8*(-parseInt(_0x55ed39(0x11f))/0x9);if(_0x99e94e===_0x42c3b2)break;else _0x1d263c['push'](_0x1d263c['shift']());}catch(_0x5e13ed){_0x1d263c['push'](_0x1d263c['shift']());}}}(_0x4a22,0x5142c));;export var CacheFileType;(function(_0x26801c){var _0x1a2e0a=_0x1369,_0x228ea9={'bEmaY':_0x1a2e0a(0x126),'ioOPR':_0x1a2e0a(0x122),'BXwdC':_0x1a2e0a(0x129),'pFiip':_0x1a2e0a(0x120),'gNNnV':'IMAGE','iRVto':'AUDIO'},_0xdbdbbf=_0x228ea9['bEmaY'][_0x1a2e0a(0x11d)]('|'),_0x940376=0x0;while(!![]){switch(_0xdbdbbf[_0x940376++]){case'0':_0x26801c[_0x26801c[_0x228ea9[_0x1a2e0a(0x124)]]=0x3]=_0x228ea9[_0x1a2e0a(0x124)];continue;case'1':_0x26801c[_0x26801c[_0x228ea9['BXwdC']]=0x4]=_0x1a2e0a(0x129);continue;case'2':_0x26801c[_0x26801c['VIDEO']=0x1]=_0x228ea9[_0x1a2e0a(0x11c)];continue;case'3':_0x26801c[_0x26801c[_0x228ea9['gNNnV']]=0x0]=_0x228ea9[_0x1a2e0a(0x11b)];continue;case'4':_0x26801c[_0x26801c[_0x228ea9['iRVto']]=0x2]=_0x228ea9[_0x1a2e0a(0x121)];continue;}break;}}(CacheFileType||(CacheFileType={})));
+1 -1
View File
@@ -1 +1 @@
const _0x29b812=_0x2bba;(function(_0x49b9e2,_0x13013b){const _0x4e922a=_0x2bba,_0x2932ab=_0x49b9e2();while(!![]){try{const _0x13221d=-parseInt(_0x4e922a(0x213))/0x1*(parseInt(_0x4e922a(0x22e))/0x2)+parseInt(_0x4e922a(0x221))/0x3*(parseInt(_0x4e922a(0x23c))/0x4)+parseInt(_0x4e922a(0x1f6))/0x5*(parseInt(_0x4e922a(0x1f5))/0x6)+-parseInt(_0x4e922a(0x220))/0x7*(parseInt(_0x4e922a(0x22d))/0x8)+-parseInt(_0x4e922a(0x225))/0x9+-parseInt(_0x4e922a(0x227))/0xa+-parseInt(_0x4e922a(0x23f))/0xb*(-parseInt(_0x4e922a(0x216))/0xc);if(_0x13221d===_0x13013b)break;else _0x2932ab['push'](_0x2932ab['shift']());}catch(_0x170b45){_0x2932ab['push'](_0x2932ab['shift']());}}}(_0x42dd,0x19bc1));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x2e7715}from'node:fs';function _0x42dd(){const _0x5798a8=['replace','IzDvQ','sysface','AniStickerId','2LsUgQY','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','QDes','12BMVIeC','Bot\x20Test','time','ARK','reply','unlink','thOKJ','miniapp','文件异常,大小为0','ptt','14zOzjam','230313xdrOqK','width','SvagZ','[包剪锤]','1500750IxjRyq','jpg','510040ALwmHj','oRAbt','catch','gkMEn','Ori','IwDps','206376wPHcfG','15182mvKcBj','xaKlV','AniStickerType','VIDEO','find','then','video','语音转换失败,\x20请检查语音文件是否正常','QSid','height','face','PTT','RPS','cqtJK','4GAJuBO','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','cuJfa','2297647WyRExa','screenshots','SxjWF','FIhtr','https://www.bilibili.com/','[商城表情]','MFACE','stat','uploadFile','Thumb','AniStickerPackId','TEXT','set','pfluQ','toString','writeFile','FILE','oMTVQ','end','32934HhIBAP','95DLJAzg','GwDzc','rps','MTqvM','FACE','mp4','error','GsEId','sep','RwcLc','text','yDngx','获取视频信息失败','FEfsK','KMhnW','PIC','XLrxw','markdown','VbHcm','file','size','ark','MARKDOWN','get','dice'];_0x42dd=function(){return _0x5798a8;};return _0x42dd();}function _0x2bba(_0x372693,_0x221025){const _0x42dd2c=_0x42dd();return _0x2bba=function(_0x2bba47,_0x575337){_0x2bba47=_0x2bba47-0x1ec;let _0x5742e6=_0x42dd2c[_0x2bba47];return _0x5742e6;},_0x2bba(_0x372693,_0x221025);}import _0x4d30f2 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0xdc8a5b from'./face_config.json';import*as _0x5cfedc from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x29b812(0x200)](_0x57fdf4){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0x57fdf4,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x58ab5d,_0x40ecea,_0x9d588d,_0x17f72e){const _0x17d765=_0x29b812;return{'elementType':ElementType[_0x17d765(0x1ed)],'elementId':'','textElement':{'content':'@'+_0x17f72e,'atType':_0x9d588d,'atUid':_0x58ab5d,'atTinyId':'','atNtUid':_0x40ecea}};}static[_0x29b812(0x21a)](_0x48b8fa,_0x139028,_0x5e1341,_0x20c32b){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x48b8fa,'replayMsgId':_0x139028,'senderUin':_0x5e1341,'senderUinStr':_0x20c32b}};}static async['pic'](_0x5edee5,_0x59dd25='',_0x52cfec=0x0){const _0x58c1b7=_0x29b812,_0x43b403={'xaKlV':function(_0x531d70,_0x4407a3){return _0x531d70===_0x4407a3;}},{md5:_0x3cc2e7,fileName:_0x2b11de,path:_0x129220,fileSize:_0x3f7081}=await NTQQFileApi[_0x58c1b7(0x247)](_0x5edee5,ElementType[_0x58c1b7(0x205)],_0x52cfec);if(_0x43b403[_0x58c1b7(0x22f)](_0x3f7081,0x0))throw _0x58c1b7(0x21e);const _0x43c205=await NTQQFileApi['getImageSize'](_0x5edee5),_0x24e08a={'md5HexStr':_0x3cc2e7,'fileSize':_0x3f7081[_0x58c1b7(0x1f0)](),'picWidth':_0x43c205?.['width'],'picHeight':_0x43c205?.['height'],'fileName':_0x2b11de,'sourcePath':_0x129220,'original':!![],'picType':isGIF(_0x5edee5)?PicType['gif']:PicType[_0x58c1b7(0x226)],'picSubType':_0x52cfec,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x59dd25};return{'elementType':ElementType[_0x58c1b7(0x205)],'elementId':'','picElement':_0x24e08a};}static async[_0x29b812(0x209)](_0x4c4f66,_0xe9d930='',_0x4c4b24=''){const _0x5a01ed=_0x29b812,_0x532772={'IwDps':function(_0x12547f,_0x515bce){return _0x12547f||_0x515bce;}},{md5:_0x37ddcb,fileName:_0x5b23fd,path:_0x55d842,fileSize:_0x6bbb1d}=await NTQQFileApi[_0x5a01ed(0x247)](_0x4c4f66,ElementType[_0x5a01ed(0x1f2)]);if(_0x6bbb1d===0x0)throw _0x5a01ed(0x21e);const _0x1d983f={'elementType':ElementType[_0x5a01ed(0x1f2)],'elementId':'','fileElement':{'fileName':_0x532772[_0x5a01ed(0x22c)](_0xe9d930,_0x5b23fd),'folderId':_0x4c4b24,'filePath':_0x55d842,'fileSize':_0x6bbb1d[_0x5a01ed(0x1f0)]()}};return _0x1d983f;}static async[_0x29b812(0x234)](_0x4a1e7b,_0x3fdfe6='',_0x2ae14d=''){const _0x13dc2c=_0x29b812,_0x4644a6={'MTqvM':function(_0x5c61e0,_Line truncated
const _0x25170b=_0xa499;(function(_0x522fba,_0x58d975){const _0x20831c=_0xa499,_0x225fad=_0x522fba();while(!![]){try{const _0x596283=parseInt(_0x20831c(0x23f))/0x1*(-parseInt(_0x20831c(0x209))/0x2)+-parseInt(_0x20831c(0x217))/0x3+parseInt(_0x20831c(0x20d))/0x4+-parseInt(_0x20831c(0x226))/0x5+-parseInt(_0x20831c(0x205))/0x6+parseInt(_0x20831c(0x235))/0x7+parseInt(_0x20831c(0x228))/0x8*(parseInt(_0x20831c(0x1f5))/0x9);if(_0x596283===_0x58d975)break;else _0x225fad['push'](_0x225fad['shift']());}catch(_0x2901e6){_0x225fad['push'](_0x225fad['shift']());}}}(_0x25d4,0xd913a));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x48a67a}from'node:fs';import _0x3cde93 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0xa499(_0x2c18a0,_0x5a0ba4){const _0x25d48c=_0x25d4();return _0xa499=function(_0xa4991b,_0x52b843){_0xa4991b=_0xa4991b-0x1ec;let _0x21eb30=_0x25d48c[_0xa4991b];return _0x21eb30;},_0xa499(_0x2c18a0,_0x5a0ba4);}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x5e6b15 from'./face_config.json';import*as _0x2fce9e from'node:path';import{SignMiniApp}from'../apis';function _0x25d4(){const _0x1b45ff=['TAbUd','uploadFile','MARKDOWN','MFACE','1734915PZJCHV','whYLH','ptt','fZpnr','kqdvg','[商城表情]','wjCZf','LDOXq','toString','pic','9LSiPgH','PIC','jpg','AniStickerId','ark','stringify','markdown','catch','FACE','TCkyg','AniStickerType','sSpLg','DTXXW','RPS','join','42893901SGkxFX','Bot\x20Test','writeFile','获取视频封面失败,使用默认封面','replace','mp4','lgfEK','dice','sep','[包剪锤]','FILE','text','face','MJLiL','ayJwK','end','5220036AjmwMh','DEaid','VWyru','TEXT','298436aNRueK','LkuAB','notAt','cKaJa','4006308UnQjmH','ARK','AdFBA','width','emoji','PTT','AniStickerPackId','文件异常,大小为0','Ori','QlRJu','4372032ANrVdh','NYRXH','UzDzq','copyFile','sysface','VIDEO','then','find','_0.png','REPLY','xyymO','shjGP','rps','[骰子]','tiEQv','7279765MgZfRy','mface','8scYNZa','HyRzi','stat','video','string','PvZya','height','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','getImageSize'];_0x25d4=function(){return _0x1b45ff;};return _0x25d4();}export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x25170b(0x200)](_0x1d3442){const _0x3c11c2=_0x25170b;return{'elementType':ElementType[_0x3c11c2(0x208)],'elementId':'','textElement':{'content':_0x1d3442,'atType':AtType[_0x3c11c2(0x20b)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2dc82c,_0x534fc4,_0x999279,_0x521345){const _0x34338=_0x25170b;return{'elementType':ElementType[_0x34338(0x208)],'elementId':'','textElement':{'content':'@'+_0x521345,'atType':_0x999279,'atUid':_0x2dc82c,'atTinyId':'','atNtUid':_0x534fc4}};}static['reply'](_0x13ce12,_0x39fdc8,_0x5318b7,_0x2f1f3a){const _0xbfb645=_0x25170b;return{'elementType':ElementType[_0xbfb645(0x220)],'elementId':'','replyElement':{'replayMsgSeq':_0x13ce12,'replayMsgId':_0x39fdc8,'senderUin':_0x5318b7,'senderUinStr':_0x2f1f3a}};}static async[_0x25170b(0x23e)](_0x39bdfa,_0x5cdb73='',_0x288032=0x0){const _0x19b61a=_0x25170b,_0x42adca={'cKaJa':function(_0x3c9669,_0x33128a){return _0x3c9669===_0x33128a;},'kqdvg':function(_0x5420ba,_0x431b03){return _0x5420ba(_0x431b03);}},{md5:_0x3f524d,fileName:_0x3c1545,path:_0x384699,fileSize:_0xc0a29d}=await NTQQFileApi[_0x19b61a(0x232)](_0x39bdfa,ElementType[_0x19b61a(0x240)],_0x288032);if(_0x42adca[_0x19b61a(0x20c)](_0xc0a29d,0x0))throw'文件异常,大小为0';const _0x1c346b=await NTQQFileApi[_0x19b61a(0x230)](_0x39bdfa),_0xdbb34f={'md5HexStr':_0x3f524d,'fileSize':_0xc0a29d['toString'](),'picWidth':_0x1c346b?.['width'],'picHeight':_0x1c346b?.[_0x19b61a(0x22e)],'fileName':_0x3c1545,'sourcePath':_0x384699,'original':!![],'picType':_0x42adca[_0x19b61a(0x239)](isGIF,_0x39bdfa)?PicType['gif']:PicType[_0x19b61a(0x241)],'picSubType':_0x288032,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5cdb73};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0xdbb34f};}static async['file'](_0x41da3f,_0x756f3b='',_0x4bd6ba=''){const _0xe4a6a1=_0x25170b,_0x47b538={'LkuAB':function(_0x114969,_0x5c8b2f){return _0x114969===_0x5c8b2f;},'yHFpV':_0xe4a6a1(0x214),'PGGiY':function(_0x25a9ad,_0x167f88){return _0x25a9ad||_0x167f88;}},{md5:_0x13a338,fileName:_0x5cfee3,path:_0x3a64b9,fileSize:_0x31691e}=await NTQQFileApi[_0xe4a6a1(0x232)](_0x41da3f,ElementType[_0xe4a6a1(0x1ff)]);if(_0x47b538[_0xe4a6a1(0x20a)](_0x31691e,0x0))throw _0x47b538['yHFpV'];const _0x1af2e8={'elementType':ElementType[_0xe4a6a1(0x1ff)],'elementId':'','fileElement':{'fileName':_0x47b538['PGGiY'](_0x756f3b,_0x5cfee3),'folderId':_0x4bd6ba,'filePath':_0x3a64b9,'fileSize':_0x31691e[_0xe4a6a1(0x23d)]()}};return _0x1af2e8;}static async[_0x25170b(0x22b)](_0x53a2ea,_0x180c9c='',_0x133d3a='')Line truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x1a11d1,_0x31b858){var _0x1aa00c=_0x45c9,_0x519dea=_0x1a11d1();while(!![]){try{var _0x2d14b1=parseInt(_0x1aa00c(0x1bd))/0x1+-parseInt(_0x1aa00c(0x1b6))/0x2*(parseInt(_0x1aa00c(0x1b7))/0x3)+parseInt(_0x1aa00c(0x1bb))/0x4+-parseInt(_0x1aa00c(0x1ba))/0x5+-parseInt(_0x1aa00c(0x1b9))/0x6*(-parseInt(_0x1aa00c(0x1ae))/0x7)+parseInt(_0x1aa00c(0x1b2))/0x8*(-parseInt(_0x1aa00c(0x1b5))/0x9)+-parseInt(_0x1aa00c(0x1b0))/0xa*(-parseInt(_0x1aa00c(0x1b3))/0xb);if(_0x2d14b1===_0x31b858)break;else _0x519dea['push'](_0x519dea['shift']());}catch(_0x1b203b){_0x519dea['push'](_0x519dea['shift']());}}}(_0x358c,0x53f4f));function _0x358c(){var _0x53b6b8=['63ZMapDa','OalwL','2710yVQfke','hSEiv','48320jVQztk','40733YAaZfg','owner','864KfKuln','30dpcGBL','132495wGCTOc','NPyIP','114066dnysbl','1662105CaSVoO','739904gDQDuY','normal','559035MFaXqE'];_0x358c=function(){return _0x53b6b8;};return _0x358c();}function _0x45c9(_0x2bbc5a,_0x118dc4){var _0x358c46=_0x358c();return _0x45c9=function(_0x45c98b,_0x284f66){_0x45c98b=_0x45c98b-0x1ae;var _0x456dbe=_0x358c46[_0x45c98b];return _0x456dbe;},_0x45c9(_0x2bbc5a,_0x118dc4);}export var GroupMemberRole;(function(_0x33a765){var _0x2be560=_0x45c9,_0x11c1fc={'hSEiv':_0x2be560(0x1bc),'NPyIP':'admin','OalwL':_0x2be560(0x1b4)};_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1b1)]]=0x2]=_0x11c1fc[_0x2be560(0x1b1)],_0x33a765[_0x33a765['admin']=0x3]=_0x11c1fc[_0x2be560(0x1b8)],_0x33a765[_0x33a765[_0x11c1fc[_0x2be560(0x1af)]]=0x4]=_0x2be560(0x1b4);}(GroupMemberRole||(GroupMemberRole={})));
(function(_0x58a347,_0x4ebfc5){var _0x30be56=_0x539f,_0x1a5ae0=_0x58a347();while(!![]){try{var _0x1c1502=-parseInt(_0x30be56(0x157))/0x1*(parseInt(_0x30be56(0x15e))/0x2)+-parseInt(_0x30be56(0x155))/0x3+parseInt(_0x30be56(0x152))/0x4+-parseInt(_0x30be56(0x153))/0x5*(parseInt(_0x30be56(0x15b))/0x6)+-parseInt(_0x30be56(0x151))/0x7*(parseInt(_0x30be56(0x156))/0x8)+-parseInt(_0x30be56(0x15d))/0x9+parseInt(_0x30be56(0x150))/0xa;if(_0x1c1502===_0x4ebfc5)break;else _0x1a5ae0['push'](_0x1a5ae0['shift']());}catch(_0x24807b){_0x1a5ae0['push'](_0x1a5ae0['shift']());}}}(_0x3723,0xa01b7));export var GroupMemberRole;function _0x539f(_0x1545ec,_0x44ba99){var _0x37234d=_0x3723();return _0x539f=function(_0x539ff4,_0x328ad6){_0x539ff4=_0x539ff4-0x150;var _0x2deaf9=_0x37234d[_0x539ff4];return _0x2deaf9;},_0x539f(_0x1545ec,_0x44ba99);}(function(_0x615924){var _0x68ca17=_0x539f,_0x5d8ebe={'GAAZY':_0x68ca17(0x154),'dNFnJ':_0x68ca17(0x15a)};_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x159)]]=0x2]=_0x5d8ebe[_0x68ca17(0x159)],_0x615924[_0x615924[_0x5d8ebe[_0x68ca17(0x15c)]]=0x3]=_0x5d8ebe['dNFnJ'],_0x615924[_0x615924[_0x68ca17(0x158)]=0x4]=_0x68ca17(0x158);}(GroupMemberRole||(GroupMemberRole={})));function _0x3723(){var _0x37b5e6=['GAAZY','admin','6RazHij','dNFnJ','6821784UqNueQ','340tdasnk','36408550SBSzDg','147uaSxrj','3617648FwnboC','3190405dPVNlq','normal','3420714reYCoU','276264tnptTY','3694orkYCu','owner'];_0x3723=function(){return _0x37b5e6;};return _0x3723();}
+1 -1
View File
@@ -1 +1 @@
function _0x88da(_0x3855ae,_0x2a3933){var _0x593c32=_0x593c();return _0x88da=function(_0x88da6,_0xdae7b1){_0x88da6=_0x88da6-0x7f;var _0x1b165e=_0x593c32[_0x88da6];return _0x1b165e;},_0x88da(_0x3855ae,_0x2a3933);}(function(_0x1a4961,_0x240a4a){var _0x1a9e38=_0x88da,_0x3a6455=_0x1a4961();while(!![]){try{var _0x425026=parseInt(_0x1a9e38(0x86))/0x1*(parseInt(_0x1a9e38(0x89))/0x2)+-parseInt(_0x1a9e38(0x82))/0x3*(parseInt(_0x1a9e38(0x87))/0x4)+-parseInt(_0x1a9e38(0x7f))/0x5+-parseInt(_0x1a9e38(0x88))/0x6*(parseInt(_0x1a9e38(0x84))/0x7)+parseInt(_0x1a9e38(0x85))/0x8*(parseInt(_0x1a9e38(0x81))/0x9)+-parseInt(_0x1a9e38(0x80))/0xa+parseInt(_0x1a9e38(0x83))/0xb;if(_0x425026===_0x240a4a)break;else _0x3a6455['push'](_0x3a6455['shift']());}catch(_0x3de0fa){_0x3a6455['push'](_0x3a6455['shift']());}}}(_0x593c,0xea5ab));export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';function _0x593c(){var _0xde6bc0=['7284936tfUPog','197781yfVQTr','7796OwdHow','6UKCzyU','18Gaibsv','1566745nBHsnb','16110570ngQMQI','9jKyJUN','237kuJOnR','5940583FftUwa','1346849DSsRYz'];_0x593c=function(){return _0xde6bc0;};return _0x593c();}export*from'./cache';export*from'./constructor';
(function(_0x833f2b,_0x17dc63){var _0x410bfd=_0x4e0a,_0x545a68=_0x833f2b();while(!![]){try{var _0x6acc90=-parseInt(_0x410bfd(0x140))/0x1+parseInt(_0x410bfd(0x141))/0x2+parseInt(_0x410bfd(0x147))/0x3*(parseInt(_0x410bfd(0x145))/0x4)+-parseInt(_0x410bfd(0x142))/0x5*(parseInt(_0x410bfd(0x13f))/0x6)+parseInt(_0x410bfd(0x143))/0x7+-parseInt(_0x410bfd(0x146))/0x8+-parseInt(_0x410bfd(0x148))/0x9*(-parseInt(_0x410bfd(0x144))/0xa);if(_0x6acc90===_0x17dc63)break;else _0x545a68['push'](_0x545a68['shift']());}catch(_0x2e0baf){_0x545a68['push'](_0x545a68['shift']());}}}(_0x594b,0x3ceee));export*from'./user';export*from'./group';export*from'./msg';function _0x4e0a(_0x5865f1,_0x2d30da){var _0x594bcd=_0x594b();return _0x4e0a=function(_0x4e0a1f,_0x28dbf3){_0x4e0a1f=_0x4e0a1f-0x13f;var _0x7ec087=_0x594bcd[_0x4e0a1f];return _0x7ec087;},_0x4e0a(_0x5865f1,_0x2d30da);}function _0x594b(){var _0x32ca0e=['818110KsbxIa','29105kVfoHK','1822499FJygJO','2630DlKcHP','67692axpZfs','2580696QpCGsT','12XHoCQn','16668ilKMiI','498HhpbCq','168868FdrAZt'];_0x594b=function(){return _0x32ca0e;};return _0x594b();}export*from'./notify';export*from'./cache';export*from'./constructor';
+1
View File
@@ -229,6 +229,7 @@ export interface ArkElement {
export declare const IMAGE_HTTP_HOST = "https://gchat.qpic.cn";
export declare const IMAGE_HTTP_HOST_NT = "https://multimedia.nt.qq.com.cn";
export interface PicElement {
picSubType?: number;
originImageUrl: string;
originImageMd5?: string;
sourcePath: string;
+1 -1
View File
@@ -1 +1 @@
var _0x475737=_0x5bd5;(function(_0x467895,_0x344253){var _0x4ec5e1=_0x5bd5,_0x3e55de=_0x467895();while(!![]){try{var _0x3fe2f2=-parseInt(_0x4ec5e1(0x17f))/0x1+-parseInt(_0x4ec5e1(0x13d))/0x2*(parseInt(_0x4ec5e1(0x16a))/0x3)+-parseInt(_0x4ec5e1(0x154))/0x4*(parseInt(_0x4ec5e1(0x12e))/0x5)+-parseInt(_0x4ec5e1(0x139))/0x6*(parseInt(_0x4ec5e1(0xf8))/0x7)+-parseInt(_0x4ec5e1(0x155))/0x8*(-parseInt(_0x4ec5e1(0x11e))/0x9)+parseInt(_0x4ec5e1(0x17b))/0xa+parseInt(_0x4ec5e1(0x137))/0xb*(parseInt(_0x4ec5e1(0x12c))/0xc);if(_0x3fe2f2===_0x344253)break;else _0x3e55de['push'](_0x3e55de['shift']());}catch(_0x3a88cb){_0x3e55de['push'](_0x3e55de['shift']());}}}(_0x2544,0x9aa89));function _0x2544(){var _0xefedfb=['RlflG','QvUsk','group','iZAtU','HDJqW','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPEGROUPNOTIFY','4|2|1|5|3|8|10|0|6|7|9','KCHATTYPENEARBYINTERACT','sLvoU','KCHATTYPERELATEACCOUNT','tCjnO','KCHATTYPETEMPC2CFROMUNKNOWN','MFACE','6|4|1|3|8|2|7|5|9|0','FACE','notAt','kWOtB','nEKwR','sXNTN','sqwmZ','eNnIL','KCHATTYPEGROUP','jpg','KCHATTYPESERVICEASSISTANT','uQfwh','YHRpp','KCHATTYPEDATALINEMQQ','KCHATTYPEGAMEMESSAGEFOLDER','lPnBd','mJJdS','KCHATTYPEUNKNOWN','27EaYgCS','ban','vQWbz','split','KCHATTYPEADELIE','YIfvC','CKEyg','BRDqz','zTImo','KCHATTYPETEMPBUSSINESSCRM','yunXK','VIDEO_FORMAT_MKV','TVyxp','DCiXg','4236zmCFrU','https://multimedia.nt.qq.com.cn','29335FHEHDg','Wvqrg','RPS','piNns','svUUf','OamSc','KCHATTYPEGAMEMESSAGE','MARKDOWN','kdcuE','30085VPlqou','VaBvS','6dHVLrL','dCXAC','EeSYS','temp','133426vupgCF','yLaXh','FILE','KCHATTYPENEARBYASSISTANT','lAkCZ','nLboy','WYhiq','KCHATTYPEGUILD','VIDEO_FORMAT_RMVB','JCwNZ','KCHATTYPETEMPNEARBYPRO','dice','VIDEO_FORMAT_WMV','FzQYd','VIDEO_FORMAT_AFS','LPPnd','FzVdJ','yITiM','GWdvB','hMdKZ','REPLY','KCHATTYPEGROUPGUILD','MLQkP','732iBBHAl','1990552NVvcsJ','AiVyW','KCHATTYPECIRCLE','TEXT','friend','rWfFJ','HNiQy','ZqyTH','zKfxj','ZBirF','chatDevice','face','hLrgx','KCHATTYPEQQNOTIFY','KCHATTYPENEARBYHELLOFOLDER','kicked','normal2','VIDEO_FORMAT_RM','oDaAt','KCHATTYPEC2C','YGSLk','12cZfkXz','MEMBER_NEW_TITLE','KCHATTYPEDISC','KCHATTYPEGROUPBLESS','MVFiF','PTT','zrFhT','VIDEO_FORMAT_TS','KCHATTYPEMATCHFRIEND','tSCkQ','AoaYz','KCHATTYPETEMPPUBLICACCOUNT','tAvHf','QWEUj','VIDEO_FORMAT_MTS','KCHATTYPEGUILDMETA','ryIbL','8762520NsPOcc','ARK','memberIncrease','iiJAY','519028AGlfBV','XsZiR','KCHATTYPETEMPADDRESSBOOK','BBGrC','WPhcT','KCHATTYPEMATCHFRIENDFOLDER','nBQzb','https://gchat.qpic.cn','sxmQN','KCHATTYPETEMPC2CFROMGROUP','665994IOFbfP','KCHATTYPETEMPFRIENDVERIFY','sMwsd','KCHATTYPETEMPWPA','VIDEO_FORMAT_AVI','gaXQd'];_0x2544=function(){return _0xefedfb;};return _0x2544();}export var ElementType;(function(_0x5a9983){var _0x3c9795=_0x5bd5,_0x4de825={'iQXFC':_0x3c9795(0x135),'yunXK':'FILE','vQWbz':_0x3c9795(0x10d),'FzQYd':_0x3c9795(0x16f),'HDJqW':'PIC','MpXiL':_0x3c9795(0x158),'FzVdJ':_0x3c9795(0x151),'ZqyTH':'VIDEO','kdcuE':_0x3c9795(0x10b)},_0x48bc51=_0x3c9795(0x10c)[_0x3c9795(0x121)]('|'),_0x3e3478=0x0;while(!![]){switch(_0x48bc51[_0x3e3478++]){case'0':_0x5a9983[_0x5a9983['MARKDOWN']=0xe]=_0x4de825['iQXFC'];continue;case'1':_0x5a9983[_0x5a9983[_0x3c9795(0x13f)]=0x3]=_0x4de825[_0x3c9795(0x128)];continue;case'2':_0x5a9983[_0x5a9983[_0x4de825['vQWbz']]=0x6]=_0x4de825[_0x3c9795(0x120)];continue;case'3':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14a)]]=0x4]=_0x4de825['FzQYd'];continue;case'4':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x102)]]=0x2]='PIC';continue;case'5':_0x5a9983[_0x5a9983[_0x3c9795(0x17c)]=0xa]=_0x3c9795(0x17c);continue;case'6':_0x5a9983[_0x5a9983[_0x4de825['MpXiL']]=0x1]=_0x3c9795(0x158);continue;case'7':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x14d)]]=0x7]=_0x4de825[_0x3c9795(0x14d)];continue;case'8':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x15c)]]=0x5]=_0x4de825['ZqyTH'];continue;case'9':_0x5a9983[_0x5a9983[_0x4de825[_0x3c9795(0x136)]]=0xb]=_0x4de825[_0x3c9795(0x136)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x22e330){var _0x149b9c=_0x5bd5,_0x320bb9={'hMdKZ':'gif','iZAtU':_0x149b9c(0x115)};_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x150)]]=0x7d0]='gif',_0x22e330[_0x22e330[_0x320bb9[_0x149b9c(0x101)]]=0x3e8]=_0x149b9c(0x115);}(PicType||(PicType={})));export var PicSubType;(function(_0x5eedd7){var _0x1bd40e=_0x5bd5,_0x59d146={'tSCkQ':'normal','lAkCZ':_0x1bd40e(0x160)};_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x173)]]=0x0]=_0x59d146['tSCkQ'],_0x5eedd7[_0x5eedd7[_0x59d146[_0x1bd40e(0x141)]]=0x1]=_0x59d146[_0x1bd40e(0x141)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x5a9873){var _0x5d41f6=_0x5bd5,_0xe8da4d={'MVFiF':_0x5d41f6(0x10e),'vRQuZ':'atAll','sqwmZ':'atUser'};_0x5a9873[_0x5a9873[_0xe8da4d['MVFiF']]=0x0]=_0xe8da4d[_0x5d41f6(0x16e)],_0x5a9873[_0x5a9873['atAll']=0x1]=_0xe8da4d['vRQuZ'],_0x5a9873[_0x5a9873[_0xe8da4d[_0x5d41f6(0x112)]]=0x2]=_0xe8da4d['sqwmZ'];}(AtType||(AtType={})));function _0x5bd5(_0x1a5fd0,_0x2686a6){var _0x254441=_0x2544();return _0x5bd5=function(_0x5bd5c5,_0x4be405){_0x5bd5c5=_0x5bd5c5-0xf4;varLine truncated
var _0x4d00ca=_0x1297;(function(_0x1bf004,_0x552004){var _0x456e96=_0x1297,_0x3e2143=_0x1bf004();while(!![]){try{var _0x280bbb=parseInt(_0x456e96(0xbc))/0x1+-parseInt(_0x456e96(0xb9))/0x2+parseInt(_0x456e96(0xce))/0x3+-parseInt(_0x456e96(0xe9))/0x4*(parseInt(_0x456e96(0x92))/0x5)+parseInt(_0x456e96(0x84))/0x6*(parseInt(_0x456e96(0xf9))/0x7)+parseInt(_0x456e96(0xfe))/0x8*(parseInt(_0x456e96(0x7c))/0x9)+parseInt(_0x456e96(0xae))/0xa;if(_0x280bbb===_0x552004)break;else _0x3e2143['push'](_0x3e2143['shift']());}catch(_0x45d4bc){_0x3e2143['push'](_0x3e2143['shift']());}}}(_0xa491,0x3f8e3));export var ElementType;(function(_0x20f61e){var _0x27c0e0=_0x1297,_0xdd56ad={'odjDA':_0x27c0e0(0x96),'BWJkD':_0x27c0e0(0xe8),'tYuhp':'TEXT','rnOiJ':_0x27c0e0(0x91),'sTALN':_0x27c0e0(0xfd),'HVJyW':_0x27c0e0(0xd3),'igbII':'ARK','sShyn':_0x27c0e0(0xd8),'OXXPa':'PTT','EisyU':'PIC'},_0x4a1544='2|9|3|8|0|4|1|6|5|7'['split']('|'),_0x559eb8=0x0;while(!![]){switch(_0x4a1544[_0x559eb8++]){case'0':_0x20f61e[_0x20f61e[_0xdd56ad['odjDA']]=0x5]=_0xdd56ad[_0x27c0e0(0xbf)];continue;case'1':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xbd)]]=0x7]=_0xdd56ad[_0x27c0e0(0xbd)];continue;case'2':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xe3)]]=0x1]=_0x27c0e0(0xed);continue;case'3':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x9b)]]=0x3]=_0xdd56ad['rnOiJ'];continue;case'4':_0x20f61e[_0x20f61e[_0x27c0e0(0xfd)]=0x6]=_0xdd56ad[_0x27c0e0(0x94)];continue;case'5':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xd0)]]=0xb]=_0xdd56ad[_0x27c0e0(0xd0)];continue;case'6':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xb7)]]=0xa]=_0xdd56ad[_0x27c0e0(0xb7)];continue;case'7':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0x83)]]=0xe]='MARKDOWN';continue;case'8':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xa6)]]=0x4]=_0xdd56ad['OXXPa'];continue;case'9':_0x20f61e[_0x20f61e[_0xdd56ad[_0x27c0e0(0xcb)]]=0x2]=_0xdd56ad[_0x27c0e0(0xcb)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x422260){var _0x41ecaa=_0x1297,_0x4f522c={'VvyWw':_0x41ecaa(0xb5),'Wluwd':_0x41ecaa(0xb6)};_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x8f)]]=0x7d0]=_0x4f522c[_0x41ecaa(0x8f)],_0x422260[_0x422260[_0x4f522c[_0x41ecaa(0x9d)]]=0x3e8]=_0x4f522c[_0x41ecaa(0x9d)];}(PicType||(PicType={})));export var PicSubType;function _0xa491(){var _0x51ab0b=['KCHATTYPECIRCLE','KCHATTYPESQUAREPUBLIC','QnZLp','split','Hdbbw','KCHATTYPENEARBYHELLOFOLDER','5599880CjsEjF','group','INVITE_NEW_MEMBER','SHYhv','face','https://multimedia.nt.qq.com.cn','WFwdl','gif','jpg','igbII','AiaBQ','892296CxyCgt','QSgZM','normal2','3694qrGZNw','BWJkD','bXIjw','odjDA','zRWwI','mCink','KCHATTYPESERVICEASSISTANTSUB','iOGjA','dice','ImbNF','xftGC','KCHATTYPEGROUPGUILD','NDyxE','otbcd','KCHATTYPEC2C','EisyU','mWDYF','friend','602889eNPkKm','Jruvn','HVJyW','VIDEO_FORMAT_RM','yfHas','MFACE','kidur','atAll','KCHATTYPEDISC','KCHATTYPEMATCHFRIENDFOLDER','MARKDOWN','VIDEO_FORMAT_RMVB','Vcbuv','RtIyq','hCmFB','6|10|8|5|9|4|2|0|3|1|7','temp','TZrxo','https://gchat.qpic.cn','KsyDP','GQZKc','tYuhp','KCHATTYPETEMPC2CFROMUNKNOWN','KCHATTYPEUNKNOWN','KCHATTYPESERVICEASSISTANT','oDVUF','REPLY','20siOGVg','VIDEO_FORMAT_AFS','Izklp','AWMeg','TEXT','KCHATTYPEGROUP','joffG','KCHATTYPEFAV','kicked','KCHATTYPENEARBYINTERACT','VIDEO_FORMAT_MOD','cuMDI','hcGjG','memberIncrease','VIDEO_FORMAT_MKV','AezDW','2108372FffgjE','normal','sBUTM','chatDevice','FACE','36720WySRna','KCHATTYPEQQNOTIFY','Qfrhq','KCHATTYPEGAMEMESSAGEFOLDER','uXNdV','yNuvX','CPCqA','CunFf','notAt','VIDEO_FORMAT_MOV','KCHATTYPEDATALINEMQQ','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGAMEMESSAGE','297sMUidJ','jXoiY','hJCQf','KCHATTYPEBUDDYNOTIFY','KCHATTYPEMATCHFRIEND','RPS','MdarR','sShyn','6QWrexi','KCHATTYPESUBSCRIBEFOLDER','BcPZz','atUser','wfPhO','qvKMt','KCHATTYPEGUILDMETA','zqEnF','KCHATTYPEWEIYUN','KCHATTYPETEMPBUSSINESSCRM','VnAMM','VvyWw','CBLtT','FILE','510840owCHyD','KCHATTYPENEARBY','sTALN','bjJHi','VIDEO','ijhQV','ZMwrS','KCHATTYPEADELIE','NLDBx','rnOiJ','KCHATTYPEGUILD','Wluwd','KCHATTYPERELATEACCOUNT','IFMfb','wouDE','VIDEO_FORMAT_MTS','bGkST','KCHATTYPETEMPWPA','KCHATTYPETEMPPUBLICACCOUNT','VIDEO_FORMAT_MP4','OXXPa','KCHATTYPEGROUPNOTIFY'];_0xa491=function(){return _0x51ab0b;};return _0xa491();}(function(_0x348f9f){var _0x55d07a=_0x1297,_0x58aa62={'AezDW':_0x55d07a(0xfa),'CunFf':_0x55d07a(0xb2)};_0x348f9f[_0x348f9f[_0x55d07a(0xfa)]=0x0]=_0x58aa62[_0x55d07a(0xf8)],_0x348f9f[_0x348f9f[_0x58aa62[_0x55d07a(0x76)]]=0x1]=_0x58aa62[_0x55d07a(0x76)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3fe3fa){var _0x105e37=_0x1297,_0x1fb1a6={'otbcd':_0x105e37(0x77),'iOGjA':_0x105e37(0xd5),'mWDYF':_0x105e37(0x87)};_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc9)]]=0x0]=_0x1fb1a6[_0x105e37(0xc9)],_0x3fe3fa[_0x3fe3fa[_0x1fb1a6[_0x105e37(0xc3)]]=0x1]=_0x1fb1a6[_0x105e37(0xc3)],_0x3fe3fa[_0x3fe3fa[_0x105e37(0x87)]=0x2]=_0x1fb1a6[_0x105e37(0xcc)];}(AtType||(AtType={})));export var ChatType;(function(_0x5e1bc1){var _0x315ad5=_0x1297,_0x2ca66e={'yNuvX':'friend','QnZLp':_0x315ad5(0xfc)};_0x5e1bc1[Line truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x41c14a,_0x4917e0){var _0x1147c7=_0x4641,_0x2a96b6=_0x41c14a();while(!![]){try{var _0x485bcb=-parseInt(_0x1147c7(0x1b8))/0x1+-parseInt(_0x1147c7(0x1b5))/0x2+-parseInt(_0x1147c7(0x196))/0x3+parseInt(_0x1147c7(0x1b2))/0x4*(-parseInt(_0x1147c7(0x19d))/0x5)+-parseInt(_0x1147c7(0x193))/0x6*(parseInt(_0x1147c7(0x182))/0x7)+-parseInt(_0x1147c7(0x1a0))/0x8+parseInt(_0x1147c7(0x1aa))/0x9;if(_0x485bcb===_0x4917e0)break;else _0x2a96b6['push'](_0x2a96b6['shift']());}catch(_0x4f0033){_0x2a96b6['push'](_0x2a96b6['shift']());}}}(_0x1281,0x7e42d));export var GroupNotifyTypes;(function(_0x2d869f){var _0x288599=_0x4641,_0x53de1f={'UfRLa':_0x288599(0x18e),'Tgebz':'JOIN_REQUEST','xsKwf':_0x288599(0x189),'iwaEb':_0x288599(0x1b6),'FZInN':'ADMIN_UNSET','Dxrxh':_0x288599(0x1b0)};_0x2d869f[_0x2d869f[_0x288599(0x19e)]=0x1]=_0x288599(0x19e),_0x2d869f[_0x2d869f['INVITED_JOIN']=0x4]=_0x53de1f['UfRLa'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x18b)]]=0x7]=_0x53de1f['Tgebz'],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x184)]]=0x8]=_0x53de1f['xsKwf'],_0x2d869f[_0x2d869f['KICK_MEMBER']=0x9]=_0x288599(0x1a8),_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1ac)]]=0xb]=_0x53de1f[_0x288599(0x1ac)],_0x2d869f[_0x2d869f[_0x53de1f['FZInN']]=0xc]=_0x53de1f[_0x288599(0x181)],_0x2d869f[_0x2d869f[_0x53de1f[_0x288599(0x1b3)]]=0xd]=_0x53de1f[_0x288599(0x1b3)];}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x4641(_0x68be9c,_0x474f87){var _0x128178=_0x1281();return _0x4641=function(_0x46412b,_0x5c8431){_0x46412b=_0x46412b-0x17f;var _0x1e82b4=_0x128178[_0x46412b];return _0x1e82b4;},_0x4641(_0x68be9c,_0x474f87);}export var GroupNotifyStatus;(function(_0x6e20c7){var _0x3fc89a=_0x4641,_0x5366ee={'TQnSs':_0x3fc89a(0x1a1),'osfSf':_0x3fc89a(0x199),'ToZKy':_0x3fc89a(0x1ad),'ToMmQ':_0x3fc89a(0x1a6)};_0x6e20c7[_0x6e20c7[_0x5366ee[_0x3fc89a(0x19a)]]=0x0]=_0x5366ee[_0x3fc89a(0x19a)],_0x6e20c7[_0x6e20c7[_0x5366ee['osfSf']]=0x1]=_0x5366ee[_0x3fc89a(0x1b4)],_0x6e20c7[_0x6e20c7[_0x5366ee['ToZKy']]=0x2]=_0x5366ee['ToZKy'],_0x6e20c7[_0x6e20c7['REJECT']=0x3]=_0x5366ee[_0x3fc89a(0x187)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x19cdf7){var _0x1ed0fb=_0x4641,_0x3c12ba={'QaGDp':_0x1ed0fb(0x1a4),'gqJcB':_0x1ed0fb(0x195)};_0x19cdf7[_0x19cdf7[_0x3c12ba[_0x1ed0fb(0x1a2)]]=0x1]=_0x3c12ba[_0x1ed0fb(0x1a2)],_0x19cdf7[_0x19cdf7['reject']=0x2]=_0x3c12ba[_0x1ed0fb(0x17f)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;function _0x1281(){var _0x550099=['ToMmQ','KMEAGREEDANDADDED','ADMIN_SET','KMEAGREEANYONE','Tgebz','KMEIGNORED','KMEINITIATORWAITPEERCONFIRM','INVITED_JOIN','fvnQN','JhoCc','BkSOr','dGSbP','984NwQfoT','KPEERAGREEDANDADDED','reject','2051139FRHxDs','NoJGo','KMESETQUESTION','WAIT_HANDLE','TQnSs','KMEAGREEANDADDFAILED','DEFAULTTYPE','107370hdNRTd','INVITE_ME','KMEAGREED','1966152mOdKLx','IGNORE','QaGDp','KPEERINITIATOR','approve','NEWGROUPTYPE','REJECT','split','KICK_MEMBER','tQwpH','24612867mReKen','PnSdt','iwaEb','APPROVE','FbpCG','PxsUc','ADMIN_UNSET_OTHER','dChkZ','4clMPmH','Dxrxh','osfSf','60222kYfGFq','MEMBER_EXIT','KMEINITIATOR','683195IiYuRB','dRuMG','gqJcB','kTtfm','FZInN','23618lfJFMb','jlQpk','xsKwf','wesEI','12|0|3|8|13|1|7|5|4|11|6|9|10|2'];_0x1281=function(){return _0x550099;};return _0x1281();}(function(_0x3aea12){var _0x4db3ab=_0x4641,_0x38de29={'JhoCc':_0x4db3ab(0x186),'tQwpH':_0x4db3ab(0x1a3),'PnSdt':_0x4db3ab(0x194),'NAAfg':_0x4db3ab(0x18d),'dChkZ':'KMEAGREED','jlQpk':_0x4db3ab(0x198),'BkSOr':'KPEERREFUSED','wesEI':_0x4db3ab(0x188),'kTtfm':_0x4db3ab(0x19b),'dGSbP':'KMSGINFO','fvnQN':_0x4db3ab(0x1b7),'FbpCG':'KPEERAGREED'},_0x72d2ff=_0x38de29[_0x4db3ab(0x190)][_0x4db3ab(0x1a7)]('|'),_0x5e3607=0x0;while(!![]){switch(_0x72d2ff[_0x5e3607++]){case'0':_0x3aea12[_0x3aea12[_0x38de29['tQwpH']]=0x1]=_0x38de29[_0x4db3ab(0x1a9)];continue;case'1':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ab)]]=0x5]=_0x38de29['PnSdt'];continue;case'2':_0x3aea12[_0x3aea12['KMEINITIATORWAITPEERCONFIRM']=0xd]=_0x38de29['NAAfg'];continue;case'3':_0x3aea12[_0x3aea12[_0x4db3ab(0x19f)]=0x2]=_0x38de29[_0x4db3ab(0x1b1)];continue;case'4':_0x3aea12[_0x3aea12[_0x4db3ab(0x18c)]=0x8]=_0x4db3ab(0x18c);continue;case'5':_0x3aea12[_0x3aea12['KMEREFUSED']=0x7]='KMEREFUSED';continue;case'6':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x183)]]=0xa]=_0x38de29['jlQpk'];continue;case'7':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x191)]]=0x6]=_0x38de29['BkSOr'];continue;case'8':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x185)]]=0x3]=_0x4db3ab(0x188);continue;case'9':_0x3aea12[_0x3aea12[_0x38de29['kTtfm']]=0xb]=_0x38de29[_0x4db3ab(0x180)];continue;case'10':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x192)]]=0xc]=_0x38de29['dGSbP'];continue;case'11':_0x3aea12[_0x3aea12['KMEAGREEANYONE']=0x9]=_0x4db3ab(0x18a);continue;case'12':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x18f)]]=0x0]=_0x38de29['fvnQN'];continue;case'13':_0x3aea12[_0x3aea12[_0x38de29[_0x4db3ab(0x1ae)]]=0x4]=_0x38de29['FbpCG'];continue;}break;}}(BuddyReqType||(BuddLine truncated
(function(_0x28d397,_0x44f325){var _0x2808eb=_0x2092,_0x306978=_0x28d397();while(!![]){try{var _0x5ab07b=-parseInt(_0x2808eb(0x197))/0x1*(-parseInt(_0x2808eb(0x19f))/0x2)+parseInt(_0x2808eb(0x18d))/0x3+-parseInt(_0x2808eb(0x1a7))/0x4+-parseInt(_0x2808eb(0x1c0))/0x5+parseInt(_0x2808eb(0x1b0))/0x6+-parseInt(_0x2808eb(0x1c1))/0x7+parseInt(_0x2808eb(0x1c5))/0x8*(parseInt(_0x2808eb(0x1b6))/0x9);if(_0x5ab07b===_0x44f325)break;else _0x306978['push'](_0x306978['shift']());}catch(_0x351279){_0x306978['push'](_0x306978['shift']());}}}(_0x3a7c,0x665b9));export var GroupNotifyTypes;(function(_0x553484){var _0x3dfdd9=_0x2092,_0x21c5bc={'gTmHd':_0x3dfdd9(0x1ab),'xRxRX':_0x3dfdd9(0x1a4),'KGLQo':_0x3dfdd9(0x19b),'mPclE':_0x3dfdd9(0x1ba),'nkjZx':_0x3dfdd9(0x18e),'uGZVi':_0x3dfdd9(0x1b1),'kTEWi':_0x3dfdd9(0x1b2),'EFmgl':'ADMIN_UNSET_OTHER'};_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1c2)]]=0x1]=_0x21c5bc[_0x3dfdd9(0x1c2)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1ad)]]=0x4]=_0x3dfdd9(0x1a4),_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a6)]]=0x7]=_0x21c5bc[_0x3dfdd9(0x1a6)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1bd)]]=0x8]=_0x21c5bc[_0x3dfdd9(0x1bd)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x18b)]]=0x9]=_0x21c5bc[_0x3dfdd9(0x18b)],_0x553484[_0x553484[_0x3dfdd9(0x1b1)]=0xb]=_0x21c5bc[_0x3dfdd9(0x19a)],_0x553484[_0x553484[_0x21c5bc[_0x3dfdd9(0x1a9)]]=0xc]=_0x21c5bc[_0x3dfdd9(0x1a9)],_0x553484[_0x553484[_0x21c5bc['EFmgl']]=0xd]=_0x3dfdd9(0x18f);}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5a32b7){var _0x2d2569=_0x2092,_0x41bcd0={'ylgxv':'IGNORE','YDotF':_0x2d2569(0x1cc),'FlrMj':_0x2d2569(0x19e),'tlHYb':_0x2d2569(0x1a2)};_0x5a32b7[_0x5a32b7['IGNORE']=0x0]=_0x41bcd0[_0x2d2569(0x1be)],_0x5a32b7[_0x5a32b7[_0x2d2569(0x1cc)]=0x1]=_0x41bcd0[_0x2d2569(0x1aa)],_0x5a32b7[_0x5a32b7[_0x41bcd0[_0x2d2569(0x1a1)]]=0x2]=_0x41bcd0[_0x2d2569(0x1a1)],_0x5a32b7[_0x5a32b7[_0x41bcd0['tlHYb']]=0x3]=_0x41bcd0[_0x2d2569(0x196)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x41999a){var _0x396c8d=_0x2092,_0x4a47af={'bEgSl':_0x396c8d(0x195)};_0x41999a[_0x41999a['approve']=0x1]='approve',_0x41999a[_0x41999a[_0x4a47af[_0x396c8d(0x18c)]]=0x2]=_0x4a47af['bEgSl'];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5670b2){var _0x4b0828=_0x2092,_0x45d8f8={'bdDUf':_0x4b0828(0x1c3),'TDSNm':_0x4b0828(0x1cb),'oxqAL':_0x4b0828(0x19d),'JgggP':_0x4b0828(0x1c8),'UoHet':_0x4b0828(0x1b8),'tNmek':_0x4b0828(0x1c4),'NADcD':'KMEINITIATORWAITPEERCONFIRM','wOKlI':_0x4b0828(0x1c9),'OqXvp':_0x4b0828(0x1b9),'FhgGp':_0x4b0828(0x1b3),'mPNrn':_0x4b0828(0x1bc),'ZuRhB':_0x4b0828(0x1ac),'GTxKJ':_0x4b0828(0x1ca),'ydoKW':_0x4b0828(0x194),'FdCbt':_0x4b0828(0x1c6)},_0x1ea2e1=_0x45d8f8[_0x4b0828(0x1bf)][_0x4b0828(0x192)]('|'),_0x264b42=0x0;while(!![]){switch(_0x1ea2e1[_0x264b42++]){case'0':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a5)]]=0xa]=_0x45d8f8[_0x4b0828(0x1a5)];continue;case'1':_0x5670b2[_0x5670b2[_0x4b0828(0x19d)]=0x6]=_0x45d8f8[_0x4b0828(0x1b7)];continue;case'2':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x191)]]=0xb]=_0x45d8f8[_0x4b0828(0x191)];continue;case'3':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a3)]]=0x5]=_0x45d8f8['UoHet'];continue;case'4':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x193)]]=0x9]=_0x4b0828(0x1c4);continue;case'5':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1af)]]=0xd]=_0x45d8f8['NADcD'];continue;case'6':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x190)]]=0x7]=_0x45d8f8[_0x4b0828(0x190)];continue;case'7':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1a0)]]=0x4]=_0x45d8f8['OqXvp'];continue;case'8':_0x5670b2[_0x5670b2[_0x45d8f8['FhgGp']]=0x1]=_0x45d8f8[_0x4b0828(0x199)];continue;case'9':_0x5670b2[_0x5670b2[_0x45d8f8['mPNrn']]=0x8]='KMEIGNORED';continue;case'10':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1bb)]]=0x0]=_0x45d8f8[_0x4b0828(0x1bb)];continue;case'11':_0x5670b2[_0x5670b2[_0x45d8f8['GTxKJ']]=0xc]=_0x45d8f8[_0x4b0828(0x1c7)];continue;case'12':_0x5670b2[_0x5670b2[_0x45d8f8[_0x4b0828(0x1ae)]]=0x3]=_0x45d8f8['ydoKW'];continue;case'13':_0x5670b2[_0x5670b2[_0x45d8f8['FdCbt']]=0x2]=_0x45d8f8[_0x4b0828(0x1b5)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x2092(_0x2dd625,_0x5a70e5){var _0x3a7c0b=_0x3a7c();return _0x2092=function(_0x2092c8,_0x110070){_0x2092c8=_0x2092c8-0x18b;var _0x57dda2=_0x3a7c0b[_0x2092c8];return _0x57dda2;},_0x2092(_0x2dd625,_0x5a70e5);}(function(_0xd6c1cb){var _0x3f5a9a=_0x2092,_0x20b98f={'kfvVh':_0x3f5a9a(0x198),'FGfwZ':'TITLETYPE','EBIlE':'NEWGROUPTYPE'};_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x19c)]]=0x0]=_0x20b98f[_0x3f5a9a(0x19c)],_0xd6c1cb[_0xd6c1cb[_0x20b98f['FGfwZ']]=0x1]=_0x3f5a9a(0x1b4),_0xd6c1cb[_0xd6c1cb[_0x20b98f[_0x3f5a9a(0x1a8)]]=0x2]=_0x20b98f[_0x3f5a9a(0x1a8)];}(MemberExtSourceType||(MemberExtSourceType={})));function _0x3a7c(){var _0x2b00ab=['ADMIN_SET','ZuRhB','KMEIGNORED','mPclE','ylgxv','bdDUf','1621490XKhqYf','5144727hbDcMC','gTmHd','10|8|13|12|Line truncated
+1 -1
View File
@@ -1 +1 @@
(function(_0x2c6ad1,_0x54607d){var _0x280e89=_0x5a0b,_0x3de3ec=_0x2c6ad1();while(!![]){try{var _0xabec87=parseInt(_0x280e89(0x150))/0x1+parseInt(_0x280e89(0x142))/0x2*(-parseInt(_0x280e89(0x14b))/0x3)+-parseInt(_0x280e89(0x140))/0x4*(-parseInt(_0x280e89(0x14c))/0x5)+parseInt(_0x280e89(0x147))/0x6*(parseInt(_0x280e89(0x14d))/0x7)+-parseInt(_0x280e89(0x148))/0x8+parseInt(_0x280e89(0x13f))/0x9*(parseInt(_0x280e89(0x14f))/0xa)+parseInt(_0x280e89(0x143))/0xb;if(_0xabec87===_0x54607d)break;else _0x3de3ec['push'](_0x3de3ec['shift']());}catch(_0x5ae7e5){_0x3de3ec['push'](_0x3de3ec['shift']());}}}(_0x5e05,0x29d37));export var Sex;function _0x5a0b(_0x15075d,_0x48f408){var _0x5e0542=_0x5e05();return _0x5a0b=function(_0x5a0bc3,_0x26137d){_0x5a0bc3=_0x5a0bc3-0x13d;var _0x7d1f6=_0x5e0542[_0x5a0bc3];return _0x7d1f6;},_0x5a0b(_0x15075d,_0x48f408);}function _0x5e05(){var _0x2e4ef3=['17655eswfiL','987973dbVrhl','unknown','2240jdbQyI','10644FfMQkj','KPHOTOWALL','BdaIU','4527HBUAZp','368nlFwSS','male','336998ikHRsz','239041RqNQzY','ORmnG','ZkAMr','female','12jNHpFs','1950880MqIZPv','jjTlS','KPRIVILEGEICON','6iyJDlq'];_0x5e05=function(){return _0x2e4ef3;};return _0x5e05();}(function(_0x517e1c){var _0x267ce4=_0x5a0b,_0x291a39={'ORmnG':_0x267ce4(0x141),'BdaIU':_0x267ce4(0x146),'jjTlS':_0x267ce4(0x14e)};_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x144)]]=0x1]=_0x291a39[_0x267ce4(0x144)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x13e)]]=0x2]=_0x291a39[_0x267ce4(0x13e)],_0x517e1c[_0x517e1c[_0x291a39[_0x267ce4(0x149)]]=0xff]=_0x291a39[_0x267ce4(0x149)];}(Sex||(Sex={})));export var BizKey;(function(_0x10321d){var _0x111bcd=_0x5a0b,_0x152e99={'ZkAMr':_0x111bcd(0x13d)};_0x10321d[_0x10321d[_0x111bcd(0x14a)]=0x0]=_0x111bcd(0x14a),_0x10321d[_0x10321d[_0x152e99['ZkAMr']]=0x1]=_0x152e99[_0x111bcd(0x145)];}(BizKey||(BizKey={})));
function _0x3a77(_0x121edc,_0x2e2da8){var _0x4099bf=_0x4099();return _0x3a77=function(_0x3a770b,_0x4ce439){_0x3a770b=_0x3a770b-0xff;var _0xc1ad7e=_0x4099bf[_0x3a770b];return _0xc1ad7e;},_0x3a77(_0x121edc,_0x2e2da8);}function _0x4099(){var _0xf1735a=['986908nZWWFx','1418349beNiQA','23660tGEyWf','360uXxutp','unknown','15991844TFqONb','KPHOTOWALL','female','4709646lkGuon','2LEfbMj','409173zDgvyw','4781HWZghr','3784DtFvOu','male','KkkoA','5zMgvRx','cdgnK'];_0x4099=function(){return _0xf1735a;};return _0x4099();}(function(_0x2f4562,_0x339b7f){var _0x97c1f4=_0x3a77,_0x3c8636=_0x2f4562();while(!![]){try{var _0x5afdee=parseInt(_0x97c1f4(0x10c))/0x1+-parseInt(_0x97c1f4(0x103))/0x2*(-parseInt(_0x97c1f4(0x104))/0x3)+parseInt(_0x97c1f4(0x10b))/0x4*(parseInt(_0x97c1f4(0x109))/0x5)+parseInt(_0x97c1f4(0x102))/0x6+parseInt(_0x97c1f4(0x105))/0x7*(-parseInt(_0x97c1f4(0x106))/0x8)+parseInt(_0x97c1f4(0x10e))/0x9*(-parseInt(_0x97c1f4(0x10d))/0xa)+-parseInt(_0x97c1f4(0xff))/0xb;if(_0x5afdee===_0x339b7f)break;else _0x3c8636['push'](_0x3c8636['shift']());}catch(_0x2297b9){_0x3c8636['push'](_0x3c8636['shift']());}}}(_0x4099,0xae899));export var Sex;(function(_0x48a588){var _0x3e4baf=_0x3a77,_0x28fd65={'tfORD':_0x3e4baf(0x107),'KkkoA':_0x3e4baf(0x101),'NClPy':_0x3e4baf(0x10f)};_0x48a588[_0x48a588['male']=0x1]=_0x28fd65['tfORD'],_0x48a588[_0x48a588[_0x3e4baf(0x101)]=0x2]=_0x28fd65[_0x3e4baf(0x108)],_0x48a588[_0x48a588[_0x28fd65['NClPy']]=0xff]=_0x28fd65['NClPy'];}(Sex||(Sex={})));export var BizKey;(function(_0x4f7298){var _0x30929d=_0x3a77,_0x198979={'sqpbB':'KPRIVILEGEICON','cdgnK':'KPHOTOWALL'};_0x4f7298[_0x4f7298[_0x198979['sqpbB']]=0x0]=_0x198979['sqpbB'],_0x4f7298[_0x4f7298[_0x30929d(0x100)]=0x1]=_0x198979[_0x30929d(0x10a)];}(BizKey||(BizKey={})));
+1 -1
View File
@@ -1 +1 @@
(function(_0x574965,_0x2b16c2){var _0x3ef9ed=_0x2136,_0xe4030e=_0x574965();while(!![]){try{var _0xe962e7=parseInt(_0x3ef9ed(0x1e5))/0x1*(-parseInt(_0x3ef9ed(0x1ed))/0x2)+parseInt(_0x3ef9ed(0x1e4))/0x3*(parseInt(_0x3ef9ed(0x1e8))/0x4)+-parseInt(_0x3ef9ed(0x1eb))/0x5*(parseInt(_0x3ef9ed(0x1ea))/0x6)+-parseInt(_0x3ef9ed(0x1ee))/0x7+parseInt(_0x3ef9ed(0x1ec))/0x8*(-parseInt(_0x3ef9ed(0x1e6))/0x9)+-parseInt(_0x3ef9ed(0x1e9))/0xa+parseInt(_0x3ef9ed(0x1e7))/0xb;if(_0xe962e7===_0x2b16c2)break;else _0xe4030e['push'](_0xe4030e['shift']());}catch(_0x262afc){_0xe4030e['push'](_0xe4030e['shift']());}}}(_0x59d2,0xcaef0));import _0x27e362 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';function _0x2136(_0x5a3c3c,_0x1430a2){var _0x59d2e4=_0x59d2();return _0x2136=function(_0x2136cc,_0x38d1f4){_0x2136cc=_0x2136cc-0x1e4;var _0x255a0b=_0x59d2e4[_0x2136cc];return _0x255a0b;},_0x2136(_0x5a3c3c,_0x1430a2);}export*as Services from'./services';export{_0x27e362 as Wrapper};export*as WrapperInterface from'./wrapper';function _0x59d2(){var _0x294058=['6SeQFHL','5011885PsBJda','173496XHoeIo','250XjAYOU','3140270jkeQFJ','1846317FUOJvn','2473WjHhmz','63HtpbPO','32127810ZSqEqm','4GzNADC','7930120VfKErn'];_0x59d2=function(){return _0x294058;};return _0x59d2();}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';
(function(_0x3a4402,_0x2920da){var _0x28ff1f=_0x4eff,_0x79c870=_0x3a4402();while(!![]){try{var _0x4830f9=-parseInt(_0x28ff1f(0x19c))/0x1+parseInt(_0x28ff1f(0x1a2))/0x2+parseInt(_0x28ff1f(0x19a))/0x3+parseInt(_0x28ff1f(0x19d))/0x4+-parseInt(_0x28ff1f(0x1a1))/0x5+-parseInt(_0x28ff1f(0x19f))/0x6*(-parseInt(_0x28ff1f(0x19b))/0x7)+parseInt(_0x28ff1f(0x19e))/0x8*(-parseInt(_0x28ff1f(0x1a0))/0x9);if(_0x4830f9===_0x2920da)break;else _0x79c870['push'](_0x79c870['shift']());}catch(_0x9f0295){_0x79c870['push'](_0x79c870['shift']());}}}(_0x1271,0xb9b62));import _0x4c886e from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';function _0x4eff(_0xcfa701,_0x4572df){var _0x12710d=_0x1271();return _0x4eff=function(_0x4eff38,_0x3d1aff){_0x4eff38=_0x4eff38-0x19a;var _0x513333=_0x12710d[_0x4eff38];return _0x513333;},_0x4eff(_0xcfa701,_0x4572df);}export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x4c886e as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1271(){var _0x23fe63=['12774648ttOXON','16518piOarX','9WDXCMi','51690BdeDDz','2554424kvpEsz','3038835GdAJlq','1505tzJZcC','1267231qqRGea','3012088vytgWX'];_0x1271=function(){return _0x23fe63;};return _0x1271();}
@@ -1 +1 @@
var _0x6cd226=_0x3fe0;function _0x3fe0(_0xd2a76d,_0x47a4b9){var _0x5415f5=_0x5415();return _0x3fe0=function(_0x3fe042,_0x1c32d2){_0x3fe042=_0x3fe042-0x18b;var _0x504f8a=_0x5415f5[_0x3fe042];return _0x504f8a;},_0x3fe0(_0xd2a76d,_0x47a4b9);}(function(_0x22f3c5,_0x320ecc){var _0x7c4866=_0x3fe0,_0x13dfff=_0x22f3c5();while(!![]){try{var _0x5cb97c=-parseInt(_0x7c4866(0x198))/0x1*(parseInt(_0x7c4866(0x19f))/0x2)+parseInt(_0x7c4866(0x18d))/0x3*(-parseInt(_0x7c4866(0x1a1))/0x4)+-parseInt(_0x7c4866(0x193))/0x5*(-parseInt(_0x7c4866(0x191))/0x6)+parseInt(_0x7c4866(0x195))/0x7+-parseInt(_0x7c4866(0x1a0))/0x8+parseInt(_0x7c4866(0x196))/0x9+-parseInt(_0x7c4866(0x199))/0xa;if(_0x5cb97c===_0x320ecc)break;else _0x13dfff['push'](_0x13dfff['shift']());}catch(_0x4f4085){_0x13dfff['push'](_0x13dfff['shift']());}}}(_0x5415,0x7f630));function _0x5415(){var _0x18bc88=['onAddMeSettingChanged','210dGLaVF','onDoubtBuddyReqUnreadNumChange','3568040furhmJ','8956602BuOWAf','onBuddyReqChange','1HJjGZn','799100QElLYU','onBuddyRemarkUpdated','onBuddyDetailInfoChange','onSmartInfos','onAddBuddyNeedVerify','onBuddyReqUnreadCntChange','186476EHsPgK','7889256xQKzZg','22468rUvqyi','onCheckBuddySettingResult','onDelBatchBuddyInfos','21NQnduG','onDoubtBuddyReqChange','onAvatarUrlUpdated','onNickUpdated','30786zuMTYr'];_0x5415=function(){return _0x18bc88;};return _0x5415();}export class BuddyListener{[_0x6cd226(0x19d)](_0x4e3e78){}[_0x6cd226(0x192)](_0x383301){}[_0x6cd226(0x18f)](_0x58f501){}['onBlockChanged'](_0x2f1417){}[_0x6cd226(0x19b)](_0x3c2f6f){}['onBuddyInfoChange'](_0x28f9a2){}['onBuddyListChange'](_0x4ec51c){}[_0x6cd226(0x19a)](_0x5bd7a0){}[_0x6cd226(0x197)](_0x36db35){}[_0x6cd226(0x19e)](_0x20cb8f){}[_0x6cd226(0x18b)](_0x1c6424){}[_0x6cd226(0x18c)](_0x46653b){}[_0x6cd226(0x18e)](_0x288422){}[_0x6cd226(0x194)](_0x5d3745){}[_0x6cd226(0x190)](_0x2577d6){}[_0x6cd226(0x19c)](_0x455304){}['onSpacePermissionInfos'](_0x280486){}}
var _0x410aeb=_0x451b;(function(_0x17408c,_0x357f20){var _0xf3f8be=_0x451b,_0x502d69=_0x17408c();while(!![]){try{var _0x2edf90=-parseInt(_0xf3f8be(0xde))/0x1*(-parseInt(_0xf3f8be(0xd4))/0x2)+-parseInt(_0xf3f8be(0xd2))/0x3*(parseInt(_0xf3f8be(0xe1))/0x4)+-parseInt(_0xf3f8be(0xe2))/0x5*(parseInt(_0xf3f8be(0xd1))/0x6)+-parseInt(_0xf3f8be(0xce))/0x7*(parseInt(_0xf3f8be(0xe0))/0x8)+-parseInt(_0xf3f8be(0xd6))/0x9*(parseInt(_0xf3f8be(0xd0))/0xa)+-parseInt(_0xf3f8be(0xd5))/0xb*(parseInt(_0xf3f8be(0xd8))/0xc)+parseInt(_0xf3f8be(0xd9))/0xd;if(_0x2edf90===_0x357f20)break;else _0x502d69['push'](_0x502d69['shift']());}catch(_0x48f303){_0x502d69['push'](_0x502d69['shift']());}}}(_0x1788,0x2cdda));function _0x451b(_0x506584,_0x28b9e6){var _0x1788ac=_0x1788();return _0x451b=function(_0x451bfe,_0x311f37){_0x451bfe=_0x451bfe-0xc9;var _0x4db840=_0x1788ac[_0x451bfe];return _0x4db840;},_0x451b(_0x506584,_0x28b9e6);}function _0x1788(){var _0x336025=['onAddBuddyNeedVerify','onDelBatchBuddyInfos','onBuddyInfoChange','28nxEhDW','onBuddyRemarkUpdated','10xHSvau','12fCERDC','6KiRsgc','onBuddyReqChange','364otvsUH','1177044tsfxVO','1391121rfEsup','onNickUpdated','12PhPHXj','14066975mwmlbY','onBuddyListChange','onDoubtBuddyReqUnreadNumChange','onAvatarUrlUpdated','onSmartInfos','503AHAJrW','onBuddyDetailInfoChange','540712iqbEFY','602236KwXFXJ','392010OnopTL','onDoubtBuddyReqChange','onCheckBuddySettingResult'];_0x1788=function(){return _0x336025;};return _0x1788();}export class BuddyListener{[_0x410aeb(0xcb)](_0x39e0d5){}['onAddMeSettingChanged'](_0x2c03dd){}[_0x410aeb(0xdc)](_0x13e5d1){}['onBlockChanged'](_0x4d5746){}[_0x410aeb(0xdf)](_0x1a7229){}[_0x410aeb(0xcd)](_0x5b00c2){}[_0x410aeb(0xda)](_0x2faa31){}[_0x410aeb(0xcf)](_0x391288){}[_0x410aeb(0xd3)](_0x105684){}['onBuddyReqUnreadCntChange'](_0x4cc8a5){}[_0x410aeb(0xca)](_0x564c93){}[_0x410aeb(0xcc)](_0x2225f6){}[_0x410aeb(0xc9)](_0x4c2a15){}[_0x410aeb(0xdb)](_0x2e004a){}[_0x410aeb(0xd7)](_0x577941){}[_0x410aeb(0xdd)](_0x2a8cdf){}['onSpacePermissionInfos'](_0x4a6ee2){}}
@@ -1 +1 @@
function _0x5dcc(_0x3d39bf,_0x2ea6c0){var _0x24737e=_0x2473();return _0x5dcc=function(_0x5dcc7c,_0x5c73e2){_0x5dcc7c=_0x5dcc7c-0x9d;var _0x5d7b4c=_0x24737e[_0x5dcc7c];return _0x5d7b4c;},_0x5dcc(_0x3d39bf,_0x2ea6c0);}function _0x2473(){var _0x2533bd=['onFileListChanged','onSessionListChanged','3308837YyNvWt','164680YqagIc','250078qdWzSA','1086758LVvRpv','10SZCZYF','1150296xgreym','631350hFUSYJ','3tZZtcf','543608wWVOev','onFileStatusChanged','8stimAs'];_0x2473=function(){return _0x2533bd;};return _0x2473();}var _0x441c7b=_0x5dcc;(function(_0x543004,_0x329c7c){var _0x158ec9=_0x5dcc,_0x246912=_0x543004();while(!![]){try{var _0x7db7e8=-parseInt(_0x158ec9(0xa8))/0x1+parseInt(_0x158ec9(0xa9))/0x2*(-parseInt(_0x158ec9(0xa0))/0x3)+parseInt(_0x158ec9(0xa1))/0x4+parseInt(_0x158ec9(0x9d))/0x5*(parseInt(_0x158ec9(0x9e))/0x6)+-parseInt(_0x158ec9(0xa6))/0x7*(-parseInt(_0x158ec9(0xa3))/0x8)+parseInt(_0x158ec9(0x9f))/0x9+parseInt(_0x158ec9(0xa7))/0xa;if(_0x7db7e8===_0x329c7c)break;else _0x246912['push'](_0x246912['shift']());}catch(_0x559266){_0x246912['push'](_0x246912['shift']());}}}(_0x2473,0x45a02));export class KernelFileAssistantListener{[_0x441c7b(0xa2)](..._0x94cb52){}[_0x441c7b(0xa5)](..._0x56bcc5){}['onSessionChanged'](..._0x963bac){}[_0x441c7b(0xa4)](..._0x13e40c){}['onFileSearch'](..._0x11d4bd){}}
var _0x20384c=_0x395e;function _0x395e(_0x4a8df5,_0x52eaa1){var _0x2dcf97=_0x2dcf();return _0x395e=function(_0x395e19,_0x2b2e60){_0x395e19=_0x395e19-0x15f;var _0x4f2285=_0x2dcf97[_0x395e19];return _0x4f2285;},_0x395e(_0x4a8df5,_0x52eaa1);}(function(_0x694d9e,_0x32a99a){var _0x3fb01f=_0x395e,_0x8dedb8=_0x694d9e();while(!![]){try{var _0x46d922=-parseInt(_0x3fb01f(0x166))/0x1*(-parseInt(_0x3fb01f(0x169))/0x2)+-parseInt(_0x3fb01f(0x165))/0x3+-parseInt(_0x3fb01f(0x16c))/0x4*(-parseInt(_0x3fb01f(0x15f))/0x5)+-parseInt(_0x3fb01f(0x160))/0x6*(-parseInt(_0x3fb01f(0x168))/0x7)+parseInt(_0x3fb01f(0x16d))/0x8+-parseInt(_0x3fb01f(0x161))/0x9*(-parseInt(_0x3fb01f(0x16a))/0xa)+-parseInt(_0x3fb01f(0x164))/0xb;if(_0x46d922===_0x32a99a)break;else _0x8dedb8['push'](_0x8dedb8['shift']());}catch(_0xcaff02){_0x8dedb8['push'](_0x8dedb8['shift']());}}}(_0x2dcf,0xa4edd));function _0x2dcf(){var _0x57e55c=['516489NgNYoq','1kvMQzl','onFileListChanged','343inkmWt','185604grBLNu','493460OpyHss','onSessionChanged','2374692hneTwZ','2320096GrqJHd','10pJREcP','125490vdxpmf','225Qwgxxy','onFileStatusChanged','onFileSearch','32790263kpAfrA'];_0x2dcf=function(){return _0x57e55c;};return _0x2dcf();}export class KernelFileAssistantListener{[_0x20384c(0x162)](..._0x1bd4a5){}['onSessionListChanged'](..._0x19e8f2){}[_0x20384c(0x16b)](..._0x5d4fb6){}[_0x20384c(0x167)](..._0x5a2a24){}[_0x20384c(0x163)](..._0x5c5459){}}
@@ -1 +1 @@
var _0x4e0039=_0x51f8;function _0x1d62(){var _0x457b36=['JfEbM','onGroupNotifiesUpdated','onGetGroupBulletinListResult:','SJaeD','onGroupArkInviteStateResult','22iOPbtj','onGroupNotifiesUpdated:','128935VcjMQj','onMemberInfoChange:','ZQUwg','onJoinGroupNotify','nxqkv','7602JAILgw','cfGeR','3384xmQVqn','onJoinGroupNoVerifyFlag:','log','tkIZB','onMemberInfoChange','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','wMWXC','onGroupsMsgMaskResult','sBJky','onGroupFirstBulletinNotify:','onGroupStatisticInfoChange:','onGroupConfMemberChange:','hGQdw','onGroupBulletinRemindNotify','onGroupExtListUpdate','onGroupAllInfoChange','onJoinGroupNotify:','onGroupConfMemberChange','onGetGroupBulletinListResult','AAslv','onGroupNotifiesUnreadCountUpdated:','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','PDOpD','onGroupBulletinRichMediaDownloadComplete:','onShutUpMemberListChanged','69BKBbqM','1717210LSaFVb','onGroupMemberLevelInfoChange:','onGroupExtListUpdate:','onGroupArkInviteStateResult:','xKOVq','onGroupBulletinRichMediaProgressUpdate','6814VWkPOn','onGroupBulletinRemindNotify:','uHhLc','onJoinGroupNoVerifyFlag','YXIpp','onGroupSingleScreenNotifies:','onGroupListUpdate:','onSearchMemberChange','onGroupNotifiesUnreadCountUpdated','axzEz','onGroupBulletinRichMediaProgressUpdate:','onGroupDetailInfoChange','287024mPtVDt','1261253aKjuFG','25lDWuyI','1404JjcZpY','onGroupBulletinChange','onGroupSingleScreenNotifies'];_0x1d62=function(){return _0x457b36;};return _0x1d62();}function _0x51f8(_0x106392,_0x364879){var _0x1d624c=_0x1d62();return _0x51f8=function(_0x51f8c7,_0x58359f){_0x51f8c7=_0x51f8c7-0x1cc;var _0x5b5b0d=_0x1d624c[_0x51f8c7];return _0x5b5b0d;},_0x51f8(_0x106392,_0x364879);}(function(_0x40649a,_0x19ba14){var _0x23be2a=_0x51f8,_0x408e9d=_0x40649a();while(!![]){try{var _0x4552bd=-parseInt(_0x23be2a(0x200))/0x1+parseInt(_0x23be2a(0x1e7))/0x2*(parseInt(_0x23be2a(0x1e0))/0x3)+-parseInt(_0x23be2a(0x1f3))/0x4+parseInt(_0x23be2a(0x1f5))/0x5*(-parseInt(_0x23be2a(0x205))/0x6)+-parseInt(_0x23be2a(0x1f4))/0x7+parseInt(_0x23be2a(0x207))/0x8*(parseInt(_0x23be2a(0x1f6))/0x9)+parseInt(_0x23be2a(0x1e1))/0xa*(parseInt(_0x23be2a(0x1fe))/0xb);if(_0x4552bd===_0x19ba14)break;else _0x408e9d['push'](_0x408e9d['shift']());}catch(_0x10b091){_0x408e9d['push'](_0x408e9d['shift']());}}}(_0x1d62,0x188ea));export class GroupListener{[_0x4e0039(0x20d)](..._0x1e0cc7){}[_0x4e0039(0x1d8)](..._0x156387){}[_0x4e0039(0x1d5)](..._0x8fb306){}[_0x4e0039(0x1f7)](..._0x3ff610){}[_0x4e0039(0x1d3)](..._0x87cc4a){}[_0x4e0039(0x1fd)](..._0x38b6dc){}['onGroupBulletinRichMediaDownloadComplete'](..._0x18bdf1){}[_0x4e0039(0x1d7)](..._0x5eb0c7){}[_0x4e0039(0x1f2)](..._0xd609d7){}[_0x4e0039(0x1d4)](..._0x3dee5e){}['onGroupFirstBulletinNotify'](..._0xe12b90){}['onGroupListUpdate'](_0x511199,_0x5351b0){}[_0x4e0039(0x1fa)](_0x205739,_0x3d87ed){}[_0x4e0039(0x1e6)](..._0x359fcb){}[_0x4e0039(0x1ef)](..._0x2ddad2){}['onGroupSingleScreenNotifies'](_0x3b835d,_0xcb1db1,_0x238f3b){}[_0x4e0039(0x1cd)](..._0x5b14fa){}['onGroupStatisticInfoChange'](..._0x1a3f1d){}[_0x4e0039(0x203)](..._0x348329){}[_0x4e0039(0x1ea)](..._0x42c1cd){}[_0x4e0039(0x20b)](_0xc110d,_0x5d28d3,_0x4807e2){}[_0x4e0039(0x1dc)](_0x342848){}[_0x4e0039(0x1ee)](..._0xdcaf9e){}[_0x4e0039(0x1df)](..._0x3655c8){}}export class DebugGroupListener{[_0x4e0039(0x20d)](..._0x553d19){var _0x238a0c=_0x4e0039,_0x2212d1={'uHhLc':_0x238a0c(0x1e2)};console[_0x238a0c(0x209)](_0x2212d1[_0x238a0c(0x1e9)],..._0x553d19);}[_0x4e0039(0x1d8)](..._0x5053bc){var _0xe2572=_0x4e0039,_0x88c30b={'tkIZB':_0xe2572(0x1fb)};console[_0xe2572(0x209)](_0x88c30b[_0xe2572(0x20a)],..._0x5053bc);}[_0x4e0039(0x1d5)](..._0x2481bb){var _0x58edc4=_0x4e0039,_0x5efc27={'Geeka':'onGroupAllInfoChange:'};console[_0x58edc4(0x209)](_0x5efc27['Geeka'],..._0x2481bb);}[_0x4e0039(0x1f7)](..._0x4d6093){var _0x55c06e=_0x4e0039;console[_0x55c06e(0x209)]('onGroupBulletinChange:',..._0x4d6093);}['onGroupBulletinRemindNotify'](..._0x124fd4){var _0x31181d=_0x4e0039;console[_0x31181d(0x209)](_0x31181d(0x1e8),..._0x124fd4);}[_0x4e0039(0x1fd)](..._0x15fcdb){var _0x215096=_0x4e0039;console[_0x215096(0x209)](_0x215096(0x1e4),..._0x15fcdb);}[_0x4e0039(0x1db)](..._0x12be6c){var _0x13836b=_0x4e0039,_0x4cf5ee={'YXIpp':_0x13836b(0x1de)};console['log'](_0x4cf5ee[_0x13836b(0x1eb)],..._0x12be6c);}[_0x4e0039(0x1d7)](..._0x2c4b4e){var _0x2d8c63=_0x4e0039;console[_0x2d8c63(0x209)](_0x2d8c63(0x1d1),..._0x2c4b4e);}[_0x4e0039(0x1f2)](..._0x544cd5){var _0xa4fa7e=_0x4e0039,_0x33d03f={'cfGeR':'onGroupDetailInfoChange:'};console[_0xa4fa7e(0x209)](_0x33d03f[_0xa4fa7e(0x206)],..._0x544cd5);}[_0x4e0039(0x1d4)](..._0x3070ea){var _0x2bbf61=_0x4e0039,_0x3ab875={'hGQdw':_0x2bbf61(0x1e3)};console[_0x2bbf61(0x209)](_0x3ab875[_0x2bbf61(0x1d2)],..._0x3070ea);}['onGroupFirstBulletinNotify'](..._0x5dd70a){var _0x4afe05=_0x4e0039,_0x177f43={'SJaeD':_0x4afe05(0x1cf)};console['log'](_0x177f43[_0x4afe05(0x1fc)],..._0x5dd70a);}['onGroupListUpdate'](..._0x63c9a1){var _0x942e81=_0x4e0039,_0x2fLine truncated
var _0x1d26e8=_0x4c83;function _0x3ef4(){var _0x10b1f6=['onShutUpMemberListChanged','onGroupArkInviteStateResult','qgXqk','MRdTM','onGroupAllInfoChange','onGroupExtListUpdate:','onGroupBulletinRichMediaProgressUpdate:','onGroupMemberLevelInfoChange','410zNJqzQ','onGroupStatisticInfoChange','SmUHj','onJoinGroupNotify','onGroupMemberLevelInfoChange:','onGroupSingleScreenNotifies','onGroupExtListUpdate','xylZh','onGroupBulletinRichMediaProgressUpdate','log','3150144JaDKet','onGroupArkInviteStateResult:','onJoinGroupNoVerifyFlag','onGroupBulletinChange:','QJCzG','1624728kLWOlC','lGyim','onSearchMemberChange:','onMemberInfoChange','ybktz','CLBwb','onGroupAllInfoChange:','MOjlq','onGroupNotifiesUnreadCountUpdated:','onGroupConfMemberChange','onJoinGroupNoVerifyFlag:','571PwoDoq','onGroupNotifiesUpdated:','onGroupBulletinChange','onGroupFirstBulletinNotify','1094252EBlMjG','onGroupBulletinRemindNotify:','onGroupSingleScreenNotifies:','yLbJX','31686KTMiLa','ghtjs','1434177PcDJRD','onGroupConfMemberChange:','FGYBb','onGroupBulletinRichMediaDownloadComplete:','onGroupNotifiesUnreadCountUpdated','4223241KixLjf','onGetGroupBulletinListResult','onGroupBulletinRemindNotify','658AjOhlb','onJoinGroupNotify:','onGroupFirstBulletinNotify:','ScYIq','onSearchMemberChange','onMemberListChange','onGroupsMsgMaskResult','onGroupsMsgMaskResult:','hadqB','onGetGroupBulletinListResult:','onGroupBulletinRichMediaDownloadComplete','idCPT','onGroupListUpdate:'];_0x3ef4=function(){return _0x10b1f6;};return _0x3ef4();}(function(_0x2ea458,_0x348058){var _0x110393=_0x4c83,_0x1e0ac7=_0x2ea458();while(!![]){try{var _0x280ff9=parseInt(_0x110393(0xc5))/0x1*(parseInt(_0x110393(0xd7))/0x2)+-parseInt(_0x110393(0xcf))/0x3+parseInt(_0x110393(0xc9))/0x4+parseInt(_0x110393(0xec))/0x5*(parseInt(_0x110393(0xcd))/0x6)+-parseInt(_0x110393(0xba))/0x7+-parseInt(_0x110393(0xb5))/0x8+parseInt(_0x110393(0xd4))/0x9;if(_0x280ff9===_0x348058)break;else _0x1e0ac7['push'](_0x1e0ac7['shift']());}catch(_0x2c4039){_0x1e0ac7['push'](_0x1e0ac7['shift']());}}}(_0x3ef4,0x3f6c6));function _0x4c83(_0x5c5f9e,_0x35889c){var _0x3ef413=_0x3ef4();return _0x4c83=function(_0x4c839d,_0x3cb8be){_0x4c839d=_0x4c839d-0xb4;var _0x52bd0e=_0x3ef413[_0x4c839d];return _0x52bd0e;},_0x4c83(_0x5c5f9e,_0x35889c);}export class GroupListener{[_0x1d26e8(0xeb)](..._0x5ed41a){}[_0x1d26e8(0xd5)](..._0xa73a90){}[_0x1d26e8(0xe8)](..._0x1a1398){}[_0x1d26e8(0xc7)](..._0x17b200){}[_0x1d26e8(0xd6)](..._0x59cc73){}[_0x1d26e8(0xe5)](..._0x18462f){}[_0x1d26e8(0xe1)](..._0x34e7ed){}[_0x1d26e8(0xc3)](..._0x5545b5){}['onGroupDetailInfoChange'](..._0x1d74ff){}[_0x1d26e8(0xf2)](..._0x3df159){}[_0x1d26e8(0xc8)](..._0x3d5ce5){}['onGroupListUpdate'](_0x23e8a5,_0x323be4){}['onGroupNotifiesUpdated'](_0x76c998,_0x5a8e47){}[_0x1d26e8(0xf4)](..._0x4f1d86){}[_0x1d26e8(0xd3)](..._0x87d3f1){}['onGroupSingleScreenNotifies'](_0x5c1080,_0x360ea8,_0x4878d6){}['onGroupsMsgMaskResult'](..._0x5e5890){}[_0x1d26e8(0xed)](..._0x4122c3){}[_0x1d26e8(0xef)](..._0xeb5c10){}[_0x1d26e8(0xb7)](..._0x3457f4){}[_0x1d26e8(0xbd)](_0x3afa73,_0x329de5,_0x2bbe43){}[_0x1d26e8(0xdc)](_0x42d412){}[_0x1d26e8(0xdb)](..._0x13d20b){}[_0x1d26e8(0xe4)](..._0x547cb0){}}export class DebugGroupListener{[_0x1d26e8(0xeb)](..._0x488f5b){var _0x55c71e=_0x1d26e8,_0x37d47e={'idCPT':_0x55c71e(0xf0)};console[_0x55c71e(0xb4)](_0x37d47e[_0x55c71e(0xe2)],..._0x488f5b);}[_0x1d26e8(0xd5)](..._0x4e31ea){var _0x133a0d=_0x1d26e8,_0x32b4c6={'CLBwb':_0x133a0d(0xe0)};console[_0x133a0d(0xb4)](_0x32b4c6[_0x133a0d(0xbf)],..._0x4e31ea);}[_0x1d26e8(0xe8)](..._0x32a888){var _0xbab46f=_0x1d26e8,_0x380242={'SVGvO':_0xbab46f(0xc0)};console[_0xbab46f(0xb4)](_0x380242['SVGvO'],..._0x32a888);}['onGroupBulletinChange'](..._0x127a05){var _0xae8b6b=_0x1d26e8;console[_0xae8b6b(0xb4)](_0xae8b6b(0xb8),..._0x127a05);}[_0x1d26e8(0xd6)](..._0x2d9bee){var _0x10646c=_0x1d26e8,_0xda317e={'MRdTM':_0x10646c(0xca)};console['log'](_0xda317e[_0x10646c(0xe7)],..._0x2d9bee);}[_0x1d26e8(0xe5)](..._0x40238d){var _0x504fc6=_0x1d26e8,_0x3c4a0c={'ybktz':_0x504fc6(0xb6)};console[_0x504fc6(0xb4)](_0x3c4a0c[_0x504fc6(0xbe)],..._0x40238d);}[_0x1d26e8(0xe1)](..._0xf259a8){var _0x15340f=_0x1d26e8;console[_0x15340f(0xb4)](_0x15340f(0xd2),..._0xf259a8);}[_0x1d26e8(0xc3)](..._0x3e561e){var _0x5e8f9e=_0x1d26e8,_0x4b3555={'xylZh':_0x5e8f9e(0xd0)};console[_0x5e8f9e(0xb4)](_0x4b3555[_0x5e8f9e(0xf3)],..._0x3e561e);}['onGroupDetailInfoChange'](..._0x5db0f2){var _0x39977a=_0x1d26e8,_0x25dc31={'ozvcu':'onGroupDetailInfoChange:'};console[_0x39977a(0xb4)](_0x25dc31['ozvcu'],..._0x5db0f2);}[_0x1d26e8(0xf2)](..._0x49cefa){var _0x431898=_0x1d26e8,_0xc1caf7={'yLbJX':_0x431898(0xe9)};console[_0x431898(0xb4)](_0xc1caf7[_0x431898(0xcc)],..._0x49cefa);}[_0x1d26e8(0xc8)](..._0x3c2cbf){var _0x250e03=_0x1d26e8,_0x501724={'qgXqk':_0x250e03(0xd9)};console[_0x250e03(0xb4)](_0x501724[_0x250e03(0xe6)],..._0x3c2cbf);}['onGroupListUpdate'](..._0x147585){var _0x42a550=_0x1d26e8,_0x85a94d={'zBDti':_0x42a550(0xe3)};console['log'](_0x85a94d['zBDti'],...Line truncated
@@ -1 +1 @@
var _0x2cb340=_0x1364;function _0x1364(_0x2595c0,_0x1f2501){var _0x442286=_0x4422();return _0x1364=function(_0x136447,_0x2e67c5){_0x136447=_0x136447-0x76;var _0x236622=_0x442286[_0x136447];return _0x236622;},_0x1364(_0x2595c0,_0x1f2501);}function _0x4422(){var _0x1ad7df=['onQRCodeLoginPollingStarted','844zRSeoI','6963190KqwatY','11rWjuUq','onLoginDisConnected','1261585LZxGXd','onLogoutSucceed','16407YrtyqD','onUserLoggedIn','onQRCodeSessionQuickLoginFailed','onLoginConnected','onQRCodeSessionFailed','9678AsWhhx','2dGxpzo','onQRCodeSessionUserScaned','onLoginState','onQRCodeLoginSucceed','OnConfirmUnusualDeviceFailed','2171565OrELZL','onQQLoginNumLimited','10228932vVYZoU','1532405ucjSjK','32OGVdJB','5215dtfMcx'];_0x4422=function(){return _0x1ad7df;};return _0x4422();}(function(_0x5dbf77,_0x980759){var _0x24f111=_0x1364,_0x54be58=_0x5dbf77();while(!![]){try{var _0x26e740=parseInt(_0x24f111(0x79))/0x1*(parseInt(_0x24f111(0x81))/0x2)+-parseInt(_0x24f111(0x7b))/0x3*(parseInt(_0x24f111(0x8d))/0x4)+parseInt(_0x24f111(0x8b))/0x5*(parseInt(_0x24f111(0x80))/0x6)+-parseInt(_0x24f111(0x89))/0x7*(parseInt(_0x24f111(0x8a))/0x8)+parseInt(_0x24f111(0x86))/0x9+parseInt(_0x24f111(0x76))/0xa+-parseInt(_0x24f111(0x77))/0xb*(parseInt(_0x24f111(0x88))/0xc);if(_0x26e740===_0x980759)break;else _0x54be58['push'](_0x54be58['shift']());}catch(_0x54937b){_0x54be58['push'](_0x54be58['shift']());}}}(_0x4422,0xf405e));export class LoginListener{[_0x2cb340(0x7e)](..._0x36ae13){}[_0x2cb340(0x78)](..._0x4583b9){}['onLoginConnecting'](..._0xeebf3){}['onQRCodeGetPicture'](_0x45dcc4){}[_0x2cb340(0x8c)](..._0x223962){}[_0x2cb340(0x82)](..._0x4079e6){}[_0x2cb340(0x84)](_0x3d7e7f){}[_0x2cb340(0x7f)](..._0x33536a){}['onLoginFailed'](..._0x880bf){}[_0x2cb340(0x7a)](..._0x9b7587){}['onLogoutFailed'](..._0x12f720){}[_0x2cb340(0x7c)](..._0x48cb52){}[_0x2cb340(0x7d)](..._0x13bac5){}['onPasswordLoginFailed'](..._0x326f10){}[_0x2cb340(0x85)](..._0xcd5daf){}[_0x2cb340(0x87)](..._0x160f73){}[_0x2cb340(0x83)](..._0x4607b0){}}
function _0x3c47(_0x5474b2,_0x405513){var _0x38edee=_0x38ed();return _0x3c47=function(_0x3c4775,_0x5bbaef){_0x3c4775=_0x3c4775-0x1b5;var _0x332669=_0x38edee[_0x3c4775];return _0x332669;},_0x3c47(_0x5474b2,_0x405513);}function _0x38ed(){var _0x52923c=['onQQLoginNumLimited','onLoginFailed','onLoginConnecting','14ivktIn','OnConfirmUnusualDeviceFailed','onQRCodeSessionFailed','278990LVIIGr','onQRCodeLoginPollingStarted','onLoginConnected','6225840pqCTPa','1029282ysboRX','89185OBTfGr','onQRCodeSessionUserScaned','onLogoutFailed','onQRCodeLoginSucceed','onQRCodeSessionQuickLoginFailed','onQRCodeGetPicture','onLogoutSucceed','onPasswordLoginFailed','1268397cPPqQY','40phPFKF','onLoginDisConnected','3955242FdMuOW','7510734OVcYnt'];_0x38ed=function(){return _0x52923c;};return _0x38ed();}var _0x24c078=_0x3c47;(function(_0x291793,_0x1ab6d2){var _0x5d9309=_0x3c47,_0x1650bd=_0x291793();while(!![]){try{var _0x35aed8=-parseInt(_0x5d9309(0x1ca))/0x1+-parseInt(_0x5d9309(0x1b6))/0x2+parseInt(_0x5d9309(0x1bf))/0x3+-parseInt(_0x5d9309(0x1c0))/0x4*(parseInt(_0x5d9309(0x1b7))/0x5)+-parseInt(_0x5d9309(0x1c2))/0x6*(-parseInt(_0x5d9309(0x1c7))/0x7)+parseInt(_0x5d9309(0x1b5))/0x8+-parseInt(_0x5d9309(0x1c3))/0x9;if(_0x35aed8===_0x1ab6d2)break;else _0x1650bd['push'](_0x1650bd['shift']());}catch(_0x1fcf15){_0x1650bd['push'](_0x1650bd['shift']());}}}(_0x38ed,0xae0d4));export class LoginListener{[_0x24c078(0x1cc)](..._0x40d124){}[_0x24c078(0x1c1)](..._0x210e21){}[_0x24c078(0x1c6)](..._0x3b5b33){}[_0x24c078(0x1bc)](_0xbaaa56){}[_0x24c078(0x1cb)](..._0x371db3){}[_0x24c078(0x1b8)](..._0x4d6392){}[_0x24c078(0x1ba)](_0x4796d7){}[_0x24c078(0x1c9)](..._0x15113b){}[_0x24c078(0x1c5)](..._0x265cb7){}[_0x24c078(0x1bd)](..._0x5da0d0){}[_0x24c078(0x1b9)](..._0x642bf5){}['onUserLoggedIn'](..._0x34153f){}[_0x24c078(0x1bb)](..._0x83dda7){}[_0x24c078(0x1be)](..._0x342252){}[_0x24c078(0x1c8)](..._0x1f8326){}[_0x24c078(0x1c4)](..._0xf189b7){}['onLoginState'](..._0x1390ca){}}
@@ -1 +1 @@
var _0x5c37e4=_0x144a;function _0x144a(_0x8cdf42,_0x2dc986){var _0x4ffb66=_0x4ffb();return _0x144a=function(_0x144a29,_0x14174a){_0x144a29=_0x144a29-0x138;var _0x22249b=_0x4ffb66[_0x144a29];return _0x22249b;},_0x144a(_0x8cdf42,_0x2dc986);}(function(_0x2e78d7,_0x2c7454){var _0x360032=_0x144a,_0x57249e=_0x2e78d7();while(!![]){try{var _0x13d559=parseInt(_0x360032(0x145))/0x1+-parseInt(_0x360032(0x159))/0x2*(-parseInt(_0x360032(0x15b))/0x3)+parseInt(_0x360032(0x161))/0x4+-parseInt(_0x360032(0x140))/0x5+parseInt(_0x360032(0x16a))/0x6*(-parseInt(_0x360032(0x164))/0x7)+parseInt(_0x360032(0x153))/0x8+-parseInt(_0x360032(0x15a))/0x9;if(_0x13d559===_0x2c7454)break;else _0x57249e['push'](_0x57249e['shift']());}catch(_0x124486){_0x57249e['push'](_0x57249e['shift']());}}}(_0x4ffb,0xb08c3));export class MsgListener{[_0x5c37e4(0x139)](_0x4ff5f0){}[_0x5c37e4(0x141)](_0x497000){}[_0x5c37e4(0x156)](_0x373cbd){}[_0x5c37e4(0x14f)](_0x27a0ad,_0x3574c2,_0x41a21f){}[_0x5c37e4(0x138)](_0x4c51ea){}[_0x5c37e4(0x14a)](_0x560131){}[_0x5c37e4(0x13c)](_0x267df1,_0x218bc5,_0x37e31f){}[_0x5c37e4(0x165)](_0x5739c1){}['onEmojiResourceUpdate'](_0x488663){}[_0x5c37e4(0x152)](_0x497296){}[_0x5c37e4(0x14d)](_0x38128d){}[_0x5c37e4(0x171)](_0x11852f){}['onFirstViewGroupGuildMapping'](_0x1b84af){}[_0x5c37e4(0x13e)](_0x4f2fdc,_0x3ba8d1,_0x2355df,_0x16650a,_0x2b1322){}['onGroupFileInfoAdd'](_0x241d5e){}['onGroupFileInfoUpdate'](_0x25039d){}[_0x5c37e4(0x15e)](_0xa6f342){}[_0x5c37e4(0x150)](_0x5d22d2){}['onGroupTransferInfoUpdate'](_0x2838fd){}['onGuildInteractiveUpdate'](_0x317ec0){}[_0x5c37e4(0x149)](_0x495921){}[_0x5c37e4(0x16e)](_0x2c75ad){}['onHitCsRelatedEmojiResult'](_0x2e2c03){}['onHitEmojiKeywordResult'](_0x2ba429){}[_0x5c37e4(0x14c)](_0x5cf60b){}[_0x5c37e4(0x158)](_0x44cbc0){}['onInputStatusPush'](_0x13d4bc){}[_0x5c37e4(0x168)](_0x42c40a){}[_0x5c37e4(0x16d)](_0x807a8c){}[_0x5c37e4(0x16c)](_0x31b01d){}[_0x5c37e4(0x162)](_0xd5e699){}['onMsgBoxChanged'](_0x1c9abe){}['onMsgDelete'](_0x57124b,_0x19c99e){}[_0x5c37e4(0x16b)](_0xcd0e60){}[_0x5c37e4(0x157)](_0x552193){}[_0x5c37e4(0x13a)](_0x52de90){}[_0x5c37e4(0x163)](_0x958cb0){}['onMsgRecall'](_0x59b1ea,_0x423b92,_0x3bad42){}[_0x5c37e4(0x15c)](_0x2b501d){}['onMsgSettingUpdate'](_0x16f8a7){}[_0x5c37e4(0x14b)](){}[_0x5c37e4(0x142)](){}[_0x5c37e4(0x166)](){}[_0x5c37e4(0x160)](_0x5cb0e0){}[_0x5c37e4(0x169)](_0x49b85d){}[_0x5c37e4(0x151)](_0x7687c2){}[_0x5c37e4(0x167)](_0x53a994,_0x5b52f2,_0x2c92eb,_0x137fd9,_0x1c6d35,_0x4c2ed9){}[_0x5c37e4(0x13b)](_0xf3615c){}[_0x5c37e4(0x148)](_0xea6e56){}[_0x5c37e4(0x155)](_0x4336c2){}[_0x5c37e4(0x154)](_0x1ec8d3){}[_0x5c37e4(0x14e)](_0x1d3719){}[_0x5c37e4(0x144)](_0x5a888a){}['onRichMediaUploadComplete'](_0x2dc0ac){}[_0x5c37e4(0x15d)](_0x490c01){}['onSendMsgError'](_0x267861,_0x28a1d7,_0x9cc24a,_0x23c2b3){}[_0x5c37e4(0x15f)](_0x2fa982,_0x3b9f88,_0x2112d3,_0x5617eb){}[_0x5c37e4(0x147)](_0x50081f){}['onUnreadCntAfterFirstView'](_0x199bfa){}[_0x5c37e4(0x170)](_0x5971a7){}[_0x5c37e4(0x16f)](_0x123ebb){}[_0x5c37e4(0x146)](_0xa19622){}[_0x5c37e4(0x13f)](_0x1c69d7){}['onlineStatusBigIconDownloadPush'](_0x2c30c3,_0x45641a,_0x5611cf){}['onlineStatusSmallIconDownloadPush'](_0x22639b,_0x115505,_0x450d8c){}['onUserSecQualityChanged'](..._0x43e486){}[_0x5c37e4(0x143)](..._0x65493e){}[_0x5c37e4(0x13d)](..._0x140789){}['onBroadcastHelperProgerssUpdate'](..._0x36dfd8){}}function _0x4ffb(){var _0xe33ebd=['2MkNuFz','15106752CirUSZ','2313975cgQSqV','onMsgSecurityNotify','onSearchGroupFileInfoUpdate','onGroupGuildUpdate','onSysMsgNotification','onReadFeedEventUpdate','5318980HjWaez','onMsgAbstractUpdate','onMsgQRCodeStatusChanged','98lpyeGs','onEmojiDownloadComplete','onNtMsgSyncStart','onRecvMsgSvrRspTransInfo','onKickedOffLine','onRecvGroupGuildFlag','574386ulKwTz','onMsgEventListUpdate','onLogLevelChanged','onLineDev','onGuildNotificationAbstractUpdate','onUserChannelTabStatusChanged','onUnreadCntUpdate','onFirstViewDirectMsgUpdate','onContactUnreadCntUpdate','onAddSendMsg','onMsgInfoListUpdate','onRecvOnlineFileMsg','onDraftUpdate','onRedTouchChanged','onGrabPasswordRedBag','onUserTabStatusChanged','2515270MOJwuq','onBroadcastHelperDownloadComplete','onNtMsgSyncEnd','onMsgWithRichLinkInfoUpdate','onRichMediaProgerssUpdate','901039ILpfhI','onUserOnlineStatusChanged','onTempChatInfoUpdate','onRecvS2CMsg','onGuildMsgAbFlagChanged','onCustomWithdrawConfigUpdate','onNtFirstViewMsgSyncEnd','onHitRelatedEmojiResult','onFileMsgCome','onRichMediaDownloadComplete','onChannelFreqLimitInfoUpdate','onGroupTransferInfoAdd','onRecvMsg','onFeedEventUpdate','9942768xdaiQT','onRecvUDCFlag','onRecvSysMsg','onBroadcastHelperProgressUpdate','onMsgInfoListAdd','onImportOldDbProgressUpdate'];_0x4ffb=function(){return _0xe33ebd;};return _0x4ffb();}
function _0x1e6c(){var _0x1adee1=['onMsgWithRichLinkInfoUpdate','onRecvUDCFlag','onNtMsgSyncStart','onMsgQRCodeStatusChanged','16497297orsVeP','onInputStatusPush','onNtMsgSyncEnd','onMsgSecurityNotify','65172HlqSvM','onRichMediaProgerssUpdate','onEmojiResourceUpdate','onContactUnreadCntUpdate','onGuildMsgAbFlagChanged','onRedTouchChanged','onUserSecQualityChanged','onHitRelatedEmojiResult','onTempChatInfoUpdate','347096VKpvkX','25977cwgzXS','onSysMsgNotification','2968635vEhQkU','10rEtqbh','onUnreadCntAfterFirstView','onEmojiDownloadComplete','91UXEbnS','onDraftUpdate','onBroadcastHelperProgerssUpdate','onGroupFileInfoAdd','onUserChannelTabStatusChanged','onFeedEventUpdate','onUserOnlineStatusChanged','onRecvS2CMsg','450944tNFUbv','212ZQPseH','onGroupTransferInfoUpdate','onUnreadCntUpdate','onMsgDelete','onMsgEventListUpdate','onMsgInfoListAdd','onGroupGuildUpdate','onSearchGroupFileInfoUpdate','onFirstViewDirectMsgUpdate','onGuildNotificationAbstractUpdate','onRecvSysMsg','onSendMsgError','onRecvMsg','onUserTabStatusChanged','onRecvOnlineFileMsg','onRichMediaDownloadComplete','onFirstViewGroupGuildMapping','onFileMsgCome','onGroupTransferInfoAdd','onRecvGroupGuildFlag','onRecvMsgSvrRspTransInfo','onMsgInfoListUpdate','onMsgBoxChanged','onAddSendMsg','1044700oQqUiV','onBroadcastHelperProgressUpdate'];_0x1e6c=function(){return _0x1adee1;};return _0x1e6c();}var _0x2f1ba0=_0x4cbe;function _0x4cbe(_0x1fb4b7,_0x393e0f){var _0x1e6cb9=_0x1e6c();return _0x4cbe=function(_0x4cbe7f,_0x4fdb71){_0x4cbe7f=_0x4cbe7f-0x95;var _0x4efcee=_0x1e6cb9[_0x4cbe7f];return _0x4efcee;},_0x4cbe(_0x1fb4b7,_0x393e0f);}(function(_0x12fee3,_0x243239){var _0x7a92e5=_0x4cbe,_0x382cbc=_0x12fee3();while(!![]){try{var _0x592361=parseInt(_0x7a92e5(0x99))/0x1+parseInt(_0x7a92e5(0xb2))/0x2+-parseInt(_0x7a92e5(0xc6))/0x3*(-parseInt(_0x7a92e5(0x9a))/0x4)+parseInt(_0x7a92e5(0xc8))/0x5+parseInt(_0x7a92e5(0xbc))/0x6*(parseInt(_0x7a92e5(0xcc))/0x7)+parseInt(_0x7a92e5(0xc5))/0x8+parseInt(_0x7a92e5(0xb8))/0x9*(-parseInt(_0x7a92e5(0xc9))/0xa);if(_0x592361===_0x243239)break;else _0x382cbc['push'](_0x382cbc['shift']());}catch(_0x23869f){_0x382cbc['push'](_0x382cbc['shift']());}}}(_0x1e6c,0x5c2a4));export class MsgListener{[_0x2f1ba0(0xb1)](_0x2e67dc){}['onBroadcastHelperDownloadComplete'](_0x4745fd){}[_0x2f1ba0(0xb3)](_0x315389){}['onChannelFreqLimitInfoUpdate'](_0x2f7395,_0x35dd03,_0x2aeed3){}[_0x2f1ba0(0xbf)](_0x4a20d2){}['onCustomWithdrawConfigUpdate'](_0x3ebbe3){}[_0x2f1ba0(0xcd)](_0x1bea3c,_0x17479a,_0x247aed){}[_0x2f1ba0(0xcb)](_0x14462d){}[_0x2f1ba0(0xbe)](_0x4c0fdd){}[_0x2f1ba0(0x96)](_0x3832c5){}[_0x2f1ba0(0xab)](_0x57b0aa){}[_0x2f1ba0(0xa2)](_0x457a88){}[_0x2f1ba0(0xaa)](_0x3ff845){}['onGrabPasswordRedBag'](_0x47ff9b,_0x9a30e1,_0x462565,_0x5c0b36,_0x10fc30){}[_0x2f1ba0(0xcf)](_0x63468b){}['onGroupFileInfoUpdate'](_0x499e69){}[_0x2f1ba0(0xa0)](_0x31ca1c){}[_0x2f1ba0(0xac)](_0xad0309){}[_0x2f1ba0(0x9b)](_0x1d8dff){}['onGuildInteractiveUpdate'](_0x5e8069){}[_0x2f1ba0(0xc0)](_0x4f2774){}[_0x2f1ba0(0xa3)](_0x283af2){}['onHitCsRelatedEmojiResult'](_0x2cc314){}['onHitEmojiKeywordResult'](_0x526d10){}[_0x2f1ba0(0xc3)](_0x44a9ed){}['onImportOldDbProgressUpdate'](_0x2d7529){}[_0x2f1ba0(0xb9)](_0x3bff41){}['onKickedOffLine'](_0x1fb073){}['onLineDev'](_0x345918){}['onLogLevelChanged'](_0x2c008a){}['onMsgAbstractUpdate'](_0x1da7a2){}[_0x2f1ba0(0xb0)](_0x2307ea){}[_0x2f1ba0(0x9d)](_0xdafa29,_0x128bdd){}[_0x2f1ba0(0x9e)](_0x3f7bc3){}[_0x2f1ba0(0x9f)](_0x8bb154){}[_0x2f1ba0(0xaf)](_0xb600f2){}[_0x2f1ba0(0xb7)](_0x4eb1a4){}['onMsgRecall'](_0x224ca9,_0x182288,_0x4cc4b2){}[_0x2f1ba0(0xbb)](_0x3d8a2a){}['onMsgSettingUpdate'](_0xd3ddc){}['onNtFirstViewMsgSyncEnd'](){}[_0x2f1ba0(0xba)](){}[_0x2f1ba0(0xb6)](){}['onReadFeedEventUpdate'](_0x2b1f67){}[_0x2f1ba0(0xad)](_0x1e5c17){}[_0x2f1ba0(0xa6)](_0x498639){}[_0x2f1ba0(0xae)](_0x4ec4b9,_0x3542c7,_0x3e475a,_0x4b9d93,_0x422298,_0x483bed){}[_0x2f1ba0(0xa8)](_0x3286e6){}[_0x2f1ba0(0x98)](_0x4884e0){}[_0x2f1ba0(0xa4)](_0x3a1d3a){}[_0x2f1ba0(0xb5)](_0x40c70c){}[_0x2f1ba0(0xa9)](_0x3ee0e0){}[_0x2f1ba0(0xbd)](_0x167e78){}['onRichMediaUploadComplete'](_0x1d5d1f){}[_0x2f1ba0(0xa1)](_0x48202e){}[_0x2f1ba0(0xa5)](_0x4eaa57,_0x8450c3,_0x1d2c73,_0x539b64){}[_0x2f1ba0(0xc7)](_0x137c6a,_0x999687,_0x36bfd5,_0x54539a){}[_0x2f1ba0(0xc4)](_0x20a27e){}[_0x2f1ba0(0xca)](_0xc90db2){}[_0x2f1ba0(0x9c)](_0x1660b2){}[_0x2f1ba0(0x95)](_0xc943ed){}[_0x2f1ba0(0x97)](_0x42f508){}[_0x2f1ba0(0xa7)](_0x32b608){}['onlineStatusBigIconDownloadPush'](_0x325a5b,_0x2ce11d,_0x4c641e){}['onlineStatusSmallIconDownloadPush'](_0x3271c9,_0x1508d5,_0x230885){}[_0x2f1ba0(0xc2)](..._0x5337e2){}[_0x2f1ba0(0xb4)](..._0x1251bb){}[_0x2f1ba0(0xc1)](..._0xdcb0af){}[_0x2f1ba0(0xce)](..._0x12e120){}}
@@ -1 +1 @@
function _0x1c02(_0x57b8e7,_0x5ae29c){var _0x258e06=_0x258e();return _0x1c02=function(_0x1c02bf,_0x10a660){_0x1c02bf=_0x1c02bf-0x1b5;var _0x12be10=_0x258e06[_0x1c02bf];return _0x12be10;},_0x1c02(_0x57b8e7,_0x5ae29c);}function _0x258e(){var _0x32eaf3=['12elQKjl','10616duontY','onSelfStatusChanged','10899270jPASsY','onStatusUpdate','91JLsdwL','onProfileSimpleChanged','2067050MgHzrh','3942675XsAcsy','1256884tXgcsy','onStrangerRemarkChanged','244eyoUdV','431672lqEFSp','59592380tsKHDD'];_0x258e=function(){return _0x32eaf3;};return _0x258e();}var _0x83d77c=_0x1c02;(function(_0x3e6634,_0x5f10bf){var _0x46b74d=_0x1c02,_0xb99dae=_0x3e6634();while(!![]){try{var _0x2cf13d=parseInt(_0x46b74d(0x1b9))/0x1*(-parseInt(_0x46b74d(0x1b5))/0x2)+-parseInt(_0x46b74d(0x1c0))/0x3+parseInt(_0x46b74d(0x1c1))/0x4+-parseInt(_0x46b74d(0x1bf))/0x5*(parseInt(_0x46b74d(0x1b8))/0x6)+-parseInt(_0x46b74d(0x1bd))/0x7*(parseInt(_0x46b74d(0x1b6))/0x8)+-parseInt(_0x46b74d(0x1bb))/0x9+parseInt(_0x46b74d(0x1b7))/0xa;if(_0x2cf13d===_0x5f10bf)break;else _0xb99dae['push'](_0xb99dae['shift']());}catch(_0x469dfd){_0xb99dae['push'](_0xb99dae['shift']());}}}(_0x258e,0xe1c5d));export class ProfileListener{[_0x83d77c(0x1be)](..._0x1a79f0){}['onProfileDetailInfoChanged'](_0x42a699){}[_0x83d77c(0x1bc)](..._0x5ed178){}[_0x83d77c(0x1ba)](..._0x282e09){}[_0x83d77c(0x1c2)](..._0x52927d){}}
var _0x290e3d=_0x261b;(function(_0x54afb4,_0x3a6e23){var _0x2d7547=_0x261b,_0x3bcf9a=_0x54afb4();while(!![]){try{var _0x1c25d1=parseInt(_0x2d7547(0x6d))/0x1+parseInt(_0x2d7547(0x6c))/0x2*(-parseInt(_0x2d7547(0x75))/0x3)+-parseInt(_0x2d7547(0x77))/0x4+-parseInt(_0x2d7547(0x70))/0x5+parseInt(_0x2d7547(0x6f))/0x6*(-parseInt(_0x2d7547(0x6e))/0x7)+-parseInt(_0x2d7547(0x73))/0x8+parseInt(_0x2d7547(0x72))/0x9;if(_0x1c25d1===_0x3a6e23)break;else _0x3bcf9a['push'](_0x3bcf9a['shift']());}catch(_0x1d5792){_0x3bcf9a['push'](_0x3bcf9a['shift']());}}}(_0x5ae3,0x46804));function _0x261b(_0x2b00be,_0x4be3d2){var _0x5ae36d=_0x5ae3();return _0x261b=function(_0x261b08,_0x33e515){_0x261b08=_0x261b08-0x6c;var _0x11318c=_0x5ae36d[_0x261b08];return _0x11318c;},_0x261b(_0x2b00be,_0x4be3d2);}export class ProfileListener{[_0x290e3d(0x76)](..._0x369125){}['onProfileDetailInfoChanged'](_0x434397){}[_0x290e3d(0x71)](..._0x1af07f){}[_0x290e3d(0x74)](..._0x2736ee){}['onStrangerRemarkChanged'](..._0xdd26a8){}}function _0x5ae3(){var _0x4948d4=['10996479YDCHNO','4516528OrdFCk','onSelfStatusChanged','3036YKGutb','onProfileSimpleChanged','449156zsZTZY','28fSxHOS','415297erwYsr','17080LQHeDp','1020tDCdUH','1212665DgbFeF','onStatusUpdate'];_0x5ae3=function(){return _0x4948d4;};return _0x5ae3();}
@@ -1 +1 @@
function _0x384e(_0x5545a0,_0x12299c){var _0x53299d=_0x5329();return _0x384e=function(_0x384eaf,_0x5a47da){_0x384eaf=_0x384eaf-0x89;var _0x389e9c=_0x53299d[_0x384eaf];return _0x389e9c;},_0x384e(_0x5545a0,_0x12299c);}var _0x24db5f=_0x384e;(function(_0x3e1adf,_0x5c8340){var _0x48e9f0=_0x384e,_0x2a6d38=_0x3e1adf();while(!![]){try{var _0x5117fd=parseInt(_0x48e9f0(0x91))/0x1*(parseInt(_0x48e9f0(0x89))/0x2)+-parseInt(_0x48e9f0(0x92))/0x3*(-parseInt(_0x48e9f0(0x8e))/0x4)+parseInt(_0x48e9f0(0x90))/0x5*(parseInt(_0x48e9f0(0x8f))/0x6)+-parseInt(_0x48e9f0(0x8d))/0x7+-parseInt(_0x48e9f0(0x94))/0x8*(-parseInt(_0x48e9f0(0x8a))/0x9)+-parseInt(_0x48e9f0(0x8c))/0xa*(parseInt(_0x48e9f0(0x96))/0xb)+-parseInt(_0x48e9f0(0x8b))/0xc;if(_0x5117fd===_0x5c8340)break;else _0x2a6d38['push'](_0x2a6d38['shift']());}catch(_0x58f1ae){_0x2a6d38['push'](_0x2a6d38['shift']());}}}(_0x5329,0x5fd2a));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x3836cc){}[_0x24db5f(0x93)](..._0x4e1e1b){}[_0x24db5f(0x95)](..._0x1e4487){}}function _0x5329(){var _0x5e66dc=['onRobotProfileChanged','181533bjslyN','39486VoYOna','5550921vcmPqx','7787580kRABYu','10FbsHBO','3906392xuMHAG','24nokoGc','3830718CeTwsc','5LIIWrW','12GHtSmX','61938yHvgHX','onRobotListChanged','8veFtTt'];_0x5329=function(){return _0x5e66dc;};return _0x5329();}
var _0x3b504e=_0x501a;function _0x2728(){var _0x5393fb=['624303dvZEli','onRobotListChanged','85XSyjjm','2100yqizFS','10pHYlZw','54024AbltNa','8mAITcv','11tumNEK','7140861LJEbcL','9RViFNN','836wjUEel','3115742agdAss','139534MjxfOL','511792qGmMpI'];_0x2728=function(){return _0x5393fb;};return _0x2728();}function _0x501a(_0x1c7b02,_0x44eb75){var _0x272885=_0x2728();return _0x501a=function(_0x501a3b,_0x8ea75c){_0x501a3b=_0x501a3b-0xe1;var _0xf716dd=_0x272885[_0x501a3b];return _0xf716dd;},_0x501a(_0x1c7b02,_0x44eb75);}(function(_0x81c25e,_0x74d1b6){var _0x38b3b6=_0x501a,_0x213fa2=_0x81c25e();while(!![]){try{var _0x61dc41=parseInt(_0x38b3b6(0xec))/0x1*(parseInt(_0x38b3b6(0xe3))/0x2)+parseInt(_0x38b3b6(0xee))/0x3*(-parseInt(_0x38b3b6(0xe4))/0x4)+parseInt(_0x38b3b6(0xe7))/0x5*(-parseInt(_0x38b3b6(0xea))/0x6)+parseInt(_0x38b3b6(0xe2))/0x7*(-parseInt(_0x38b3b6(0xeb))/0x8)+-parseInt(_0x38b3b6(0xe5))/0x9*(-parseInt(_0x38b3b6(0xe9))/0xa)+parseInt(_0x38b3b6(0xe1))/0xb*(parseInt(_0x38b3b6(0xe8))/0xc)+parseInt(_0x38b3b6(0xed))/0xd;if(_0x61dc41===_0x74d1b6)break;else _0x213fa2['push'](_0x213fa2['shift']());}catch(_0x44cfc5){_0x213fa2['push'](_0x213fa2['shift']());}}}(_0x2728,0x65e67));export class KernelRobotListener{['onRobotFriendListChanged'](..._0x533e39){}[_0x3b504e(0xe6)](..._0x94ace9){}['onRobotProfileChanged'](..._0xf922ed){}}
@@ -1 +1 @@
function _0x4281(_0x5734cc,_0xe630a9){var _0x1dab68=_0x1dab();return _0x4281=function(_0x4281c7,_0xd3883c){_0x4281c7=_0x4281c7-0xaf;var _0x5835bb=_0x1dab68[_0x4281c7];return _0x5835bb;},_0x4281(_0x5734cc,_0xe630a9);}function _0x1dab(){var _0x486ab4=['1684VakNhd','973uMEqlA','onNTSessionCreate','773137knWaKA','6mVOtAL','3220730nOyaVJ','onSessionInitComplete','2344HpiSOQ','onOpentelemetryInit','1092BDSZir','14431030uuGlfV','3962516tWxWmJ','onUserOnlineResult','118944YCjwop','onGProSessionCreate'];_0x1dab=function(){return _0x486ab4;};return _0x1dab();}var _0x28460f=_0x4281;(function(_0x4cb942,_0x527c2c){var _0x1b61fc=_0x4281,_0x2b4196=_0x4cb942();while(!![]){try{var _0xf12d47=-parseInt(_0x1b61fc(0xb7))/0x1+parseInt(_0x1b61fc(0xb4))/0x2*(parseInt(_0x1b61fc(0xbd))/0x3)+-parseInt(_0x1b61fc(0xb0))/0x4+-parseInt(_0x1b61fc(0xb9))/0x5*(-parseInt(_0x1b61fc(0xb8))/0x6)+-parseInt(_0x1b61fc(0xb5))/0x7*(-parseInt(_0x1b61fc(0xbb))/0x8)+parseInt(_0x1b61fc(0xb2))/0x9+parseInt(_0x1b61fc(0xaf))/0xa;if(_0xf12d47===_0x527c2c)break;else _0x2b4196['push'](_0x2b4196['shift']());}catch(_0x5919de){_0x2b4196['push'](_0x2b4196['shift']());}}}(_0x1dab,0xa6f8a));export class SessionListener{[_0x28460f(0xb6)](_0x382712){}[_0x28460f(0xb3)](_0x4871ac){}[_0x28460f(0xba)](_0x39a5a8){}[_0x28460f(0xbc)](_0x42a4a8){}[_0x28460f(0xb1)](_0x4f0295){}['onGetSelfTinyId'](_0x53abcb){}}
var _0x238892=_0x410b;function _0x410b(_0xc05fd2,_0x2d7f9a){var _0xc85f68=_0xc85f();return _0x410b=function(_0x410b3a,_0x5acb73){_0x410b3a=_0x410b3a-0x80;var _0x1e3b91=_0xc85f68[_0x410b3a];return _0x1e3b91;},_0x410b(_0xc05fd2,_0x2d7f9a);}(function(_0x3b5649,_0xad22ca){var _0x3d3986=_0x410b,_0x3e6ade=_0x3b5649();while(!![]){try{var _0xbf4f78=-parseInt(_0x3d3986(0x8b))/0x1*(-parseInt(_0x3d3986(0x81))/0x2)+parseInt(_0x3d3986(0x8d))/0x3*(-parseInt(_0x3d3986(0x86))/0x4)+parseInt(_0x3d3986(0x8e))/0x5+-parseInt(_0x3d3986(0x82))/0x6*(parseInt(_0x3d3986(0x8c))/0x7)+-parseInt(_0x3d3986(0x8a))/0x8*(parseInt(_0x3d3986(0x88))/0x9)+-parseInt(_0x3d3986(0x84))/0xa*(-parseInt(_0x3d3986(0x87))/0xb)+-parseInt(_0x3d3986(0x85))/0xc;if(_0xbf4f78===_0xad22ca)break;else _0x3e6ade['push'](_0x3e6ade['shift']());}catch(_0x3eadea){_0x3e6ade['push'](_0x3e6ade['shift']());}}}(_0xc85f,0x905f2));export class SessionListener{['onNTSessionCreate'](_0x222bd1){}[_0x238892(0x83)](_0x33a960){}['onSessionInitComplete'](_0x5a77af){}[_0x238892(0x80)](_0x5e5579){}[_0x238892(0x89)](_0x49dc50){}['onGetSelfTinyId'](_0x5ec359){}}function _0xc85f(){var _0x16d40e=['3541925kQjmST','onOpentelemetryInit','4oeXYRz','968610QxopSI','onGProSessionCreate','1090ZjCwDA','1389072YEEyGa','5896YZcFjl','118514OwfYhn','2081466aGJDHm','onUserOnlineResult','24YsTKCY','297545hOeYyj','35kjHOXf','549HiNQaX'];_0xc85f=function(){return _0x16d40e;};return _0xc85f();}
@@ -1 +1 @@
function _0x49e4(_0x3398dd,_0x112ff9){var _0x68f491=_0x68f4();return _0x49e4=function(_0x49e4eb,_0xfcda6d){_0x49e4eb=_0x49e4eb-0x1cd;var _0x5cc45c=_0x68f491[_0x49e4eb];return _0x5cc45c;},_0x49e4(_0x3398dd,_0x112ff9);}var _0x4e5250=_0x49e4;function _0x68f4(){var _0x38ba99=['5840135bggMoW','onScanCacheProgressChanged','816380FEyjXa','onFinishScan','99GqUdPQ','12uiOaAq','5225885dwdPXn','10080585fqhdAB','onCleanCacheProgressChanged','6yerBkw','16XzQqpZ','102521SqwtmK','7023nxolVY','1492rhRllI','27664728rStmLS','16phqCEO'];_0x68f4=function(){return _0x38ba99;};return _0x68f4();}(function(_0x2cea68,_0x5cd821){var _0x5d6cca=_0x49e4,_0x4c77f6=_0x2cea68();while(!![]){try{var _0x53fa87=parseInt(_0x5d6cca(0x1dc))/0x1*(parseInt(_0x5d6cca(0x1d0))/0x2)+parseInt(_0x5d6cca(0x1cd))/0x3*(parseInt(_0x5d6cca(0x1ce))/0x4)+parseInt(_0x5d6cca(0x1d1))/0x5*(-parseInt(_0x5d6cca(0x1da))/0x6)+-parseInt(_0x5d6cca(0x1d7))/0x7*(parseInt(_0x5d6cca(0x1db))/0x8)+-parseInt(_0x5d6cca(0x1d8))/0x9+-parseInt(_0x5d6cca(0x1d3))/0xa*(-parseInt(_0x5d6cca(0x1d5))/0xb)+-parseInt(_0x5d6cca(0x1d6))/0xc*(-parseInt(_0x5d6cca(0x1cf))/0xd);if(_0x53fa87===_0x5cd821)break;else _0x4c77f6['push'](_0x4c77f6['shift']());}catch(_0x2951a9){_0x4c77f6['push'](_0x4c77f6['shift']());}}}(_0x68f4,0xbd32d));export class StorageCleanListener{[_0x4e5250(0x1d9)](_0x1865a9){}[_0x4e5250(0x1d2)](_0x5ad8c1){}['onCleanCacheStorageChanged'](_0xe0bd52){}[_0x4e5250(0x1d4)](_0x46f44a){}['onChatCleanDone'](_0x4802b5){}}
var _0x38b3e1=_0x45b7;function _0x45b7(_0x5b7429,_0x55d1a4){var _0x48c288=_0x48c2();return _0x45b7=function(_0x45b73a,_0x313312){_0x45b73a=_0x45b73a-0x19d;var _0x337f44=_0x48c288[_0x45b73a];return _0x337f44;},_0x45b7(_0x5b7429,_0x55d1a4);}(function(_0x3267e1,_0xf05ee2){var _0xe50fb2=_0x45b7,_0x465e80=_0x3267e1();while(!![]){try{var _0x537789=-parseInt(_0xe50fb2(0x1a0))/0x1*(parseInt(_0xe50fb2(0x1a5))/0x2)+parseInt(_0xe50fb2(0x1a8))/0x3+parseInt(_0xe50fb2(0x1a2))/0x4+parseInt(_0xe50fb2(0x19d))/0x5+parseInt(_0xe50fb2(0x1a9))/0x6+parseInt(_0xe50fb2(0x1a7))/0x7*(parseInt(_0xe50fb2(0x1a6))/0x8)+-parseInt(_0xe50fb2(0x1a1))/0x9;if(_0x537789===_0xf05ee2)break;else _0x465e80['push'](_0x465e80['shift']());}catch(_0x1b2905){_0x465e80['push'](_0x465e80['shift']());}}}(_0x48c2,0xb6aa3));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x2d10cd){}[_0x38b3e1(0x1a4)](_0x2d17e6){}[_0x38b3e1(0x19e)](_0x48fa0c){}[_0x38b3e1(0x1a3)](_0x5e65af){}[_0x38b3e1(0x19f)](_0x372e63){}}function _0x48c2(){var _0x2b5c06=['4985020pfXkPg','onCleanCacheStorageChanged','onChatCleanDone','1033EsQNUH','24130602QaYiCB','4660820XIVQLe','onFinishScan','onScanCacheProgressChanged','2810ZTahkE','4808dcrSkI','13937kZhWBY','3965406ghKTtW','1200816ucPVYw'];_0x48c2=function(){return _0x2b5c06;};return _0x48c2();}
+1 -1
View File
@@ -1 +1 @@
(function(_0x5d6a5c,_0x4aa357){var _0x2c769e=_0x553c,_0x5d1a73=_0x5d6a5c();while(!![]){try{var _0x53640d=parseInt(_0x2c769e(0x1e2))/0x1+-parseInt(_0x2c769e(0x1df))/0x2*(-parseInt(_0x2c769e(0x1e6))/0x3)+parseInt(_0x2c769e(0x1e1))/0x4*(-parseInt(_0x2c769e(0x1e7))/0x5)+-parseInt(_0x2c769e(0x1e9))/0x6*(parseInt(_0x2c769e(0x1e5))/0x7)+-parseInt(_0x2c769e(0x1e0))/0x8*(parseInt(_0x2c769e(0x1ea))/0x9)+-parseInt(_0x2c769e(0x1e3))/0xa+parseInt(_0x2c769e(0x1e4))/0xb*(parseInt(_0x2c769e(0x1e8))/0xc);if(_0x53640d===_0x4aa357)break;else _0x5d1a73['push'](_0x5d1a73['shift']());}catch(_0x1f6500){_0x5d1a73['push'](_0x5d1a73['shift']());}}}(_0x43f4,0xe9005));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';function _0x43f4(){var _0x5acd1a=['4263258fTVphn','833103rpcZkp','14746xdNwcG','16HXheKq','4MqVUay','492389hfbaEz','10503400CtkwkQ','11CDBfxg','14JYPlDH','606DTFkpy','6765475rzBqac','35787516VdCodY'];_0x43f4=function(){return _0x5acd1a;};return _0x43f4();}export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x553c(_0x1aa9b6,_0x45315e){var _0x43f429=_0x43f4();return _0x553c=function(_0x553cfd,_0x138b1f){_0x553cfd=_0x553cfd-0x1df;var _0x11e00a=_0x43f429[_0x553cfd];return _0x11e00a;},_0x553c(_0x1aa9b6,_0x45315e);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
(function(_0x3e04e9,_0x2ae4e4){var _0x3cc334=_0x386b,_0x1cdcc7=_0x3e04e9();while(!![]){try{var _0x54774c=-parseInt(_0x3cc334(0x1c0))/0x1+-parseInt(_0x3cc334(0x1c1))/0x2+parseInt(_0x3cc334(0x1c6))/0x3*(-parseInt(_0x3cc334(0x1c2))/0x4)+parseInt(_0x3cc334(0x1c7))/0x5+parseInt(_0x3cc334(0x1bf))/0x6*(parseInt(_0x3cc334(0x1c5))/0x7)+-parseInt(_0x3cc334(0x1c4))/0x8*(-parseInt(_0x3cc334(0x1c3))/0x9)+-parseInt(_0x3cc334(0x1be))/0xa;if(_0x54774c===_0x2ae4e4)break;else _0x1cdcc7['push'](_0x1cdcc7['shift']());}catch(_0x492c69){_0x1cdcc7['push'](_0x1cdcc7['shift']());}}}(_0x10b7,0x5df2c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x386b(_0x301d6a,_0x38919e){var _0x10b781=_0x10b7();return _0x386b=function(_0x386bbf,_0x43dda1){_0x386bbf=_0x386bbf-0x1be;var _0x139315=_0x10b781[_0x386bbf];return _0x139315;},_0x386b(_0x301d6a,_0x38919e);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x10b7(){var _0x260f59=['2862560nudXUS','2586150dlANUx','744hdVvVy','41468QgSMBz','294448OIwbFT','76agfhvf','36RSGjpf','1223536MJLdkj','455wrCDZr','56877ICfeue'];_0x10b7=function(){return _0x260f59;};return _0x10b7();}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';
+1 -1
View File
@@ -11,7 +11,7 @@ export interface NodeIKernelBuddyService {
getBuddyRemark(uid: number): string;
setBuddyRemark(uid: number, remark: string): void;
getAvatarUrl(uid: number): string;
isBuddy(uid: number): boolean;
isBuddy(uid: string): boolean;
getCategoryNameWithUid(uid: number): string;
getTargetBuddySetting(uid: number): unknown;
getTargetBuddySettingByType(uid: number, type: number): unknown;
+1 -1
View File
@@ -46,7 +46,7 @@ export interface NodeIKernelGroupService {
createGroupWithMembers(arg: unknown): void;
quitGroup(groupCode: string): void;
destroyGroup(groupCode: string): void;
getSingleScreenNotifies(arg1: boolean, arg2: string, arg3: number): Promise<GeneralCallResult>;
getSingleScreenNotifies(force: boolean, start_seq: string, num: number): Promise<GeneralCallResult>;
clearGroupNotifies(groupCode: string): void;
getGroupNotifiesUnreadCount(unknown: Boolean): Promise<GeneralCallResult>;
clearGroupNotifiesUnreadCount(groupCode: string): void;
@@ -1,5 +1,8 @@
import { GeneralCallResult } from "./common";
export interface NodeIKernelNodeMiscService {
getMiniAppPath(): unknown;
setMiniAppVersion(version: string): unknown;
wantWinScreenOCR(imagepath: string): Promise<GeneralCallResult>;
SendMiniAppMsg(arg1: string, arg2: string, arg3: string): unknown;
startNewMiniApp(appfile: string, params: string): unknown;
}
@@ -1 +1 @@
'use strict';(function(_0x57cb8d,_0x5bf139){var _0x4a3ccd=_0x2475,_0x3821c4=_0x57cb8d();while(!![]){try{var _0x5652d1=-parseInt(_0x4a3ccd(0x9b))/0x1+-parseInt(_0x4a3ccd(0x97))/0x2*(-parseInt(_0x4a3ccd(0x98))/0x3)+-parseInt(_0x4a3ccd(0x92))/0x4+-parseInt(_0x4a3ccd(0x9a))/0x5+parseInt(_0x4a3ccd(0x96))/0x6*(parseInt(_0x4a3ccd(0x95))/0x7)+parseInt(_0x4a3ccd(0x94))/0x8*(parseInt(_0x4a3ccd(0x93))/0x9)+parseInt(_0x4a3ccd(0x99))/0xa;if(_0x5652d1===_0x5bf139)break;else _0x3821c4['push'](_0x3821c4['shift']());}catch(_0x525ea5){_0x3821c4['push'](_0x3821c4['shift']());}}}(_0x6557,0x7dd9c));function _0x6557(){var _0xa1b379=['2469112ryjejX','2331SKTGhK','18856WFqFYx','42ASCsDM','824244lsJfoS','26TYHpBe','177381PfKXPk','4092080SMyxLv','3648045CDLecH','750195Nleizp'];_0x6557=function(){return _0xa1b379;};return _0x6557();}function _0x2475(_0x248485,_0x55c1ea){var _0x65572c=_0x6557();return _0x2475=function(_0x2475a1,_0xe00e35){_0x2475a1=_0x2475a1-0x92;var _0x5bfa54=_0x65572c[_0x2475a1];return _0x5bfa54;},_0x2475(_0x248485,_0x55c1ea);}
'use strict';(function(_0x2b4cd9,_0x543a1f){var _0xbaa62d=_0x1969,_0x5c3c9c=_0x2b4cd9();while(!![]){try{var _0x1b9467=-parseInt(_0xbaa62d(0xe2))/0x1*(parseInt(_0xbaa62d(0xe6))/0x2)+parseInt(_0xbaa62d(0xe5))/0x3*(parseInt(_0xbaa62d(0xeb))/0x4)+-parseInt(_0xbaa62d(0xea))/0x5+-parseInt(_0xbaa62d(0xec))/0x6+-parseInt(_0xbaa62d(0xe9))/0x7*(parseInt(_0xbaa62d(0xe3))/0x8)+-parseInt(_0xbaa62d(0xe7))/0x9+-parseInt(_0xbaa62d(0xe4))/0xa*(-parseInt(_0xbaa62d(0xe8))/0xb);if(_0x1b9467===_0x543a1f)break;else _0x5c3c9c['push'](_0x5c3c9c['shift']());}catch(_0x18a44d){_0x5c3c9c['push'](_0x5c3c9c['shift']());}}}(_0x3a2b,0x89eaa));function _0x1969(_0x355c8a,_0x560c30){var _0x3a2b99=_0x3a2b();return _0x1969=function(_0x1969a3,_0x51d847){_0x1969a3=_0x1969a3-0xe2;var _0x3d7619=_0x3a2b99[_0x1969a3];return _0x3d7619;},_0x1969(_0x355c8a,_0x560c30);}function _0x3a2b(){var _0x2c2550=['884088NnYOiE','1987yqMIiw','314888pdnysy','10raKPJb','1338NIVgUE','656YMGHvA','4636827yhYAyA','35205830thJGLw','133BDwCwI','4243300xiMiXj','2468xmIYHG'];_0x3a2b=function(){return _0x2c2550;};return _0x3a2b();}
+1 -1
View File
@@ -1 +1 @@
(function(_0x54b4da,_0x22aa9c){var _0x5efa89=_0x19fc,_0xd5abac=_0x54b4da();while(!![]){try{var _0x2b0e05=-parseInt(_0x5efa89(0xd5))/0x1+parseInt(_0x5efa89(0xd9))/0x2*(parseInt(_0x5efa89(0xd2))/0x3)+-parseInt(_0x5efa89(0xd4))/0x4*(parseInt(_0x5efa89(0xd7))/0x5)+parseInt(_0x5efa89(0xd6))/0x6*(-parseInt(_0x5efa89(0xd1))/0x7)+-parseInt(_0x5efa89(0xd0))/0x8*(-parseInt(_0x5efa89(0xd8))/0x9)+-parseInt(_0x5efa89(0xd3))/0xa+parseInt(_0x5efa89(0xda))/0xb;if(_0x2b0e05===_0x22aa9c)break;else _0xd5abac['push'](_0xd5abac['shift']());}catch(_0x5008a2){_0xd5abac['push'](_0xd5abac['shift']());}}}(_0xb9cf,0x6383b));export var GeneralCallResultStatus;(function(_0x44e834){_0x44e834[_0x44e834['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));function _0x19fc(_0x110eb3,_0x2c6a6b){var _0xb9cfd5=_0xb9cf();return _0x19fc=function(_0x19fc04,_0x569eb7){_0x19fc04=_0x19fc04-0xd0;var _0x5998f8=_0xb9cfd5[_0x19fc04];return _0x5998f8;},_0x19fc(_0x110eb3,_0x2c6a6b);}function _0xb9cf(){var _0x3eb6eb=['26263402LdlFAi','16HQAJIf','6475jHbLPu','3qGtzqT','6214880kAHorg','42268mGOvkc','812352PhwTHL','4254RgoPVN','265DStVcy','2489769twiWeB','232926hsOSaF'];_0xb9cf=function(){return _0x3eb6eb;};return _0xb9cf();}
(function(_0x5b5e7d,_0x421963){var _0x3b6731=_0x2b6e,_0x1f93a8=_0x5b5e7d();while(!![]){try{var _0x433e95=-parseInt(_0x3b6731(0x108))/0x1*(-parseInt(_0x3b6731(0x101))/0x2)+parseInt(_0x3b6731(0x107))/0x3*(-parseInt(_0x3b6731(0x102))/0x4)+-parseInt(_0x3b6731(0xfe))/0x5*(parseInt(_0x3b6731(0x104))/0x6)+-parseInt(_0x3b6731(0x109))/0x7*(parseInt(_0x3b6731(0xff))/0x8)+-parseInt(_0x3b6731(0x103))/0x9*(parseInt(_0x3b6731(0x10a))/0xa)+parseInt(_0x3b6731(0x106))/0xb*(parseInt(_0x3b6731(0x105))/0xc)+parseInt(_0x3b6731(0xfd))/0xd*(parseInt(_0x3b6731(0x100))/0xe);if(_0x433e95===_0x421963)break;else _0x1f93a8['push'](_0x1f93a8['shift']());}catch(_0x12dc6b){_0x1f93a8['push'](_0x1f93a8['shift']());}}}(_0x4dc5,0x2451f));export var GeneralCallResultStatus;function _0x4dc5(){var _0x3e5393=['8636381ruOTsW','209460TQaBwa','16232kQoaIe','14wTncqT','27562HrlfYv','60pCZLNL','6714VRLxDF','42ItStFM','990084fbXacp','11lsxarg','43221kUHITv','3QsjRNd','91KBZNFS','1390fSgeHe'];_0x4dc5=function(){return _0x3e5393;};return _0x4dc5();}function _0x2b6e(_0x7072eb,_0x153363){var _0x4dc578=_0x4dc5();return _0x2b6e=function(_0x2b6e14,_0x416ae3){_0x2b6e14=_0x2b6e14-0xfd;var _0x5d1d74=_0x4dc578[_0x2b6e14];return _0x5d1d74;},_0x2b6e(_0x7072eb,_0x153363);}(function(_0x52f643){_0x52f643[_0x52f643['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));
+1 -1
View File
@@ -1 +1 @@
(function(_0x4a8cd1,_0x4b8d3f){var _0x46c902=_0xe26d,_0x295c56=_0x4a8cd1();while(!![]){try{var _0x25bbf1=parseInt(_0x46c902(0x17c))/0x1*(parseInt(_0x46c902(0x177))/0x2)+parseInt(_0x46c902(0x17a))/0x3*(-parseInt(_0x46c902(0x180))/0x4)+parseInt(_0x46c902(0x178))/0x5+parseInt(_0x46c902(0x17b))/0x6*(parseInt(_0x46c902(0x17f))/0x7)+parseInt(_0x46c902(0x17e))/0x8+-parseInt(_0x46c902(0x17d))/0x9+parseInt(_0x46c902(0x179))/0xa;if(_0x25bbf1===_0x4b8d3f)break;else _0x295c56['push'](_0x295c56['shift']());}catch(_0x2db156){_0x295c56['push'](_0x295c56['shift']());}}}(_0x311b,0x8a8ad));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0xe26d(_0x59d12d,_0x2fbdc0){var _0x311b66=_0x311b();return _0xe26d=function(_0xe26db3,_0x25b73c){_0xe26db3=_0xe26db3-0x177;var _0x2c28f1=_0x311b66[_0xe26db3];return _0x2c28f1;},_0xe26d(_0x59d12d,_0x2fbdc0);}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';function _0x311b(){var _0x30759a=['1336PWQWfa','3644610uVfqcx','6507170hCEcnA','101733RSjHbQ','71658MoypQT','686eJogoH','4171959VBgPFI','583208mkYwkZ','21ZgJtDf','108vcXkpC'];_0x311b=function(){return _0x30759a;};return _0x311b();}export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
(function(_0x3d0e69,_0x2359a6){var _0x1660df=_0x4018,_0x515d3d=_0x3d0e69();while(!![]){try{var _0x164199=parseInt(_0x1660df(0x1f4))/0x1+-parseInt(_0x1660df(0x1f1))/0x2*(-parseInt(_0x1660df(0x1f9))/0x3)+parseInt(_0x1660df(0x1f7))/0x4*(-parseInt(_0x1660df(0x1f5))/0x5)+parseInt(_0x1660df(0x1f3))/0x6+-parseInt(_0x1660df(0x1f8))/0x7*(-parseInt(_0x1660df(0x1f2))/0x8)+parseInt(_0x1660df(0x1f0))/0x9*(parseInt(_0x1660df(0x1ef))/0xa)+-parseInt(_0x1660df(0x1f6))/0xb;if(_0x164199===_0x2359a6)break;else _0x515d3d['push'](_0x515d3d['shift']());}catch(_0x16acad){_0x515d3d['push'](_0x515d3d['shift']());}}}(_0x804e,0x48375));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';function _0x4018(_0x3e0561,_0x7cd92b){var _0x804ecb=_0x804e();return _0x4018=function(_0x4018cb,_0x16f8d3){_0x4018cb=_0x4018cb-0x1ef;var _0x250bd6=_0x804ecb[_0x4018cb];return _0x250bd6;},_0x4018(_0x3e0561,_0x7cd92b);}export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x804e(){var _0x15470f=['35ffPnGz','3qSAeXt','80tfojGR','122697IaDZeY','980086WRLtTW','526360RqzuwU','689004sckcdr','368489keLkUg','15ocoDHA','11825462kElvGG','54088WwEomr'];_0x804e=function(){return _0x15470f;};return _0x804e();}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService';
+1 -1
View File
@@ -1 +1 @@
(function(_0x55fb7f,_0x3c4ade){var _0x3b8fbd=_0x3340,_0x15ab71=_0x55fb7f();while(!![]){try{var _0x296187=-parseInt(_0x3b8fbd(0xed))/0x1+-parseInt(_0x3b8fbd(0xf0))/0x2+parseInt(_0x3b8fbd(0xff))/0x3*(-parseInt(_0x3b8fbd(0x10d))/0x4)+-parseInt(_0x3b8fbd(0x108))/0x5*(parseInt(_0x3b8fbd(0xf4))/0x6)+parseInt(_0x3b8fbd(0xf8))/0x7*(parseInt(_0x3b8fbd(0xf6))/0x8)+parseInt(_0x3b8fbd(0x100))/0x9+parseInt(_0x3b8fbd(0xe9))/0xa;if(_0x296187===_0x3c4ade)break;else _0x15ab71['push'](_0x15ab71['shift']());}catch(_0xbe2481){_0x15ab71['push'](_0x15ab71['shift']());}}}(_0x1bdd,0x2c5cc));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x177685 from'node:path';function _0x3340(_0x5d4627,_0x2585c7){var _0x1bddd3=_0x1bdd();return _0x3340=function(_0x33405a,_0x1c5f01){_0x33405a=_0x33405a-0xe1;var _0x561de6=_0x1bddd3[_0x33405a];return _0x561de6;},_0x3340(_0x5d4627,_0x2585c7);}import _0x515567 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x243b18){var _0x3f4f6e=_0x3340,_0x4223f1={'gsOPv':'3|0|4|1|2','fTrla':_0x3f4f6e(0xf9),'TveUg':_0x3f4f6e(0xea),'SGiMB':_0x3f4f6e(0x101),'HIBPo':_0x3f4f6e(0xfb)},_0x59a9ab=_0x4223f1[_0x3f4f6e(0x10c)][_0x3f4f6e(0x10a)]('|'),_0x4a4c5a=0x0;while(!![]){switch(_0x59a9ab[_0x4a4c5a++]){case'0':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe6)]]=0x1]=_0x4223f1['fTrla'];continue;case'1':_0x243b18[_0x243b18[_0x4223f1['TveUg']]=0x3]=_0x4223f1[_0x3f4f6e(0xf1)];continue;case'2':_0x243b18[_0x243b18[_0x3f4f6e(0x110)]=0x4]=_0x3f4f6e(0x110);continue;case'3':_0x243b18[_0x243b18[_0x4223f1[_0x3f4f6e(0xe3)]]=0x0]=_0x3f4f6e(0x101);continue;case'4':_0x243b18[_0x243b18[_0x4223f1['HIBPo']]=0x2]=_0x4223f1[_0x3f4f6e(0xf7)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x4a2a18){var _0x565a09=_0x3340,_0x39f6e1={'oaheu':_0x565a09(0x101),'SVsPV':_0x565a09(0xf3),'pNXwL':'KPAD','RWnEG':_0x565a09(0xe1)};_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xeb)]]=0x0]=_0x565a09(0x101),_0x4a2a18[_0x4a2a18[_0x565a09(0xf3)]=0x1]=_0x39f6e1[_0x565a09(0x102)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0xe7)]]=0x2]=_0x39f6e1[_0x565a09(0xe7)],_0x4a2a18[_0x4a2a18[_0x39f6e1[_0x565a09(0x10f)]]=0x3]=_0x39f6e1[_0x565a09(0x10f)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x3d9be6){var _0x290680=_0x3340,_0x4b182b={'oQPdc':'KSUPPORTTPNS','RXhzw':_0x290680(0x10e),'PLKyj':_0x290680(0x109),'TRxyZ':_0x290680(0xfa),'KNBKk':_0x290680(0x10b),'QwsDc':'KSUPPORTOPPOPUSH','qumtO':_0x290680(0x104)},_0xf203d3=_0x290680(0xe2)['split']('|'),_0x3e1770=0x0;while(!![]){switch(_0xf203d3[_0x3e1770++]){case'0':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x103)]]=0x2]=_0x4b182b['oQPdc'];continue;case'1':_0x3d9be6[_0x3d9be6[_0x290680(0x10e)]=0x0]=_0x4b182b[_0x290680(0xfc)];continue;case'2':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0x107)]]=0x63]=_0x4b182b[_0x290680(0x107)];continue;case'3':_0x3d9be6[_0x3d9be6[_0x4b182b['TRxyZ']]=0x3]=_0x290680(0xfa);continue;case'4':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xf2)]]=0x5]=_0x4b182b['KNBKk'];continue;case'5':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xec)]]=0x4]=_0x4b182b[_0x290680(0xec)];continue;case'6':_0x3d9be6[_0x3d9be6[_0x4b182b[_0x290680(0xfe)]]=0x1]=_0x290680(0x104);continue;}break;}}(VendorType||(VendorType={})));function _0x1bdd(){var _0x329792=['SVsPV','oQPdc','KUNSUPPORTANDROIDPUSH','YaAfh','curVersion','PLKyj','1529950TfJXBu','KSUPPORTGOOGLEPUSH','split','KSUPPORTVIVOPUSH','gsOPv','1132760EmddTI','KNOSETONIOS','RWnEG','KMAC','KCOMPUTER','1|2|3|5|0|4|6','SGiMB','mkdirSync','join','fTrla','pNXwL','assign','7920630AXwRfJ','KWINDOWS','oaheu','QwsDc','350286FAGbIU','temp','version','127980FrOrSa','TveUg','KNBKk','KPHONE','6rVjwWj','NapCat','8gzGWBf','HIBPo','2174137noiPAJ','KANDROID','KSUPPORTHMS','KIOS','RXhzw','ATSZt','qumtO','3WQiIoV','742590XdDCwN','KUNKNOWN'];_0x1bdd=function(){return _0x329792;};return _0x1bdd();}export const sessionConfig={};export async function genSessionConfig(_0x5ccc41,_0x16fba5,_0x50b317){var _0xc33250=_0x3340,_0x54917a={'YaAfh':_0xc33250(0xf5),'ATSZt':function(_0x2a79bb){return _0x2a79bb();}};const _0x4e706e=_0x177685[_0xc33250(0xe5)](_0x50b317,_0x54917a[_0xc33250(0x105)],_0xc33250(0xee));_0x515567[_0xc33250(0xe4)](_0x4e706e,{'recursive':!![]});let _0x2e07db=await _0x54917a[_0xc33250(0xfd)](getMachineId);const _0x5a1444={'selfUin':_0x5ccc41,'selfUid':_0x16fba5,'desktopPathConfig':{'account_path':_0x50b317},'clientVer':qqVersionConfigInfo[_0xc33250(0x106)],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x4e706e,'deviceInfo':{'guid':_0x2e07db,'buildVer':qqPkgInfo[_0xc33250(0xef)],'localId':0x804,'devName':hostnaLine truncated
(function(_0x106048,_0x127b05){var _0x1ac7e7=_0x3438,_0x31e5b4=_0x106048();while(!![]){try{var _0x13f471=parseInt(_0x1ac7e7(0x1c9))/0x1+-parseInt(_0x1ac7e7(0x1d7))/0x2*(-parseInt(_0x1ac7e7(0x1e1))/0x3)+-parseInt(_0x1ac7e7(0x1c1))/0x4+-parseInt(_0x1ac7e7(0x1d6))/0x5*(-parseInt(_0x1ac7e7(0x1ec))/0x6)+parseInt(_0x1ac7e7(0x1cb))/0x7+-parseInt(_0x1ac7e7(0x1c4))/0x8+parseInt(_0x1ac7e7(0x1dd))/0x9*(-parseInt(_0x1ac7e7(0x1c5))/0xa);if(_0x13f471===_0x127b05)break;else _0x31e5b4['push'](_0x31e5b4['shift']());}catch(_0x4e9460){_0x31e5b4['push'](_0x31e5b4['shift']());}}}(_0x1ca0,0x1c830));function _0x3438(_0x177985,_0x56cc46){var _0x1ca0d4=_0x1ca0();return _0x3438=function(_0x343819,_0x17bffe){_0x343819=_0x343819-0x1c0;var _0x213b23=_0x1ca0d4[_0x343819];return _0x213b23;},_0x3438(_0x177985,_0x56cc46);}import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x14a52c from'node:path';import _0x1cccf5 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x354239){var _0x22bf4b=_0x3438,_0x514fd9={'PuJFi':_0x22bf4b(0x1dc),'iBkgL':_0x22bf4b(0x1de),'MQqaE':_0x22bf4b(0x1ef),'Kydnp':_0x22bf4b(0x1e5),'zeyRS':'KMAC'};_0x354239[_0x354239[_0x22bf4b(0x1dc)]=0x0]=_0x514fd9[_0x22bf4b(0x1d8)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1d0)]]=0x1]=_0x514fd9[_0x22bf4b(0x1d0)],_0x354239[_0x354239[_0x514fd9[_0x22bf4b(0x1e9)]]=0x2]=_0x514fd9['MQqaE'],_0x354239[_0x354239[_0x514fd9['Kydnp']]=0x3]=_0x514fd9[_0x22bf4b(0x1db)],_0x354239[_0x354239[_0x514fd9['zeyRS']]=0x4]=_0x514fd9[_0x22bf4b(0x1e4)];}(PlatformType||(PlatformType={})));export var DeviceType;function _0x1ca0(){var _0x2599fb=['12378sepAto','PuJFi','KSUPPORTTPNS','KPHONE','Kydnp','KUNKNOWN','1077039daJIHa','KANDROID','NapCat','KSUPPORTGOOGLEPUSH','42tWIwsV','temp','gbFyd','zeyRS','KWINDOWS','KSUPPORTOPPOPUSH','assign','3|6|0|5|4|2|1','MQqaE','bLXdH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','6kPzFOK','RpyuJ','QjdDJ','KIOS','split','49048JFGoOP','KNOSETONIOS','fCebl','922168uhMOth','10boNCAK','YdhxV','CLsxy','jxqLW','184440OhTalM','KSUPPORTVIVOPUSH','285572jiAaEj','Adlim','KSUPPORTHMS','mLxEi','KCOMPUTER','iBkgL','KUNSUPPORTANDROIDPUSH','JpyyK','join','ZRZOO','KPAD','260530NIstDH'];_0x1ca0=function(){return _0x2599fb;};return _0x1ca0();}(function(_0x1da862){var _0x3e20f2=_0x3438,_0x574d5b={'gbFyd':_0x3e20f2(0x1dc),'YdhxV':_0x3e20f2(0x1d5),'JpyyK':_0x3e20f2(0x1cf)};_0x1da862[_0x1da862[_0x3e20f2(0x1dc)]=0x0]=_0x574d5b[_0x3e20f2(0x1e3)],_0x1da862[_0x1da862[_0x3e20f2(0x1da)]=0x1]=_0x3e20f2(0x1da),_0x1da862[_0x1da862[_0x574d5b[_0x3e20f2(0x1c6)]]=0x2]=_0x574d5b[_0x3e20f2(0x1c6)],_0x1da862[_0x1da862[_0x574d5b['JpyyK']]=0x3]=_0x574d5b[_0x3e20f2(0x1d2)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5283bc){var _0x2a0dd5=_0x3438,_0x18e44a={'bLXdH':_0x2a0dd5(0x1e8),'RpyuJ':_0x2a0dd5(0x1cd),'QjdDJ':_0x2a0dd5(0x1d1),'mLxEi':_0x2a0dd5(0x1ca),'jxqLW':_0x2a0dd5(0x1c2),'Adlim':_0x2a0dd5(0x1d9),'iMxLO':_0x2a0dd5(0x1e6),'CLsxy':_0x2a0dd5(0x1e0)},_0xdddf05=_0x18e44a[_0x2a0dd5(0x1ea)][_0x2a0dd5(0x1c0)]('|'),_0x5eeccb=0x0;while(!![]){switch(_0xdddf05[_0x5eeccb++]){case'0':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ed)]]=0x3]=_0x2a0dd5(0x1cd);continue;case'1':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ee)]]=0x1]=_0x18e44a['QjdDJ'];continue;case'2':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1ce)]]=0x5]=_0x2a0dd5(0x1ca);continue;case'3':_0x5283bc[_0x5283bc['KNOSETONIOS']=0x0]=_0x18e44a[_0x2a0dd5(0x1c8)];continue;case'4':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1cc)]]=0x2]=_0x18e44a[_0x2a0dd5(0x1cc)];continue;case'5':_0x5283bc[_0x5283bc[_0x2a0dd5(0x1e6)]=0x4]=_0x18e44a['iMxLO'];continue;case'6':_0x5283bc[_0x5283bc[_0x18e44a[_0x2a0dd5(0x1c7)]]=0x63]=_0x2a0dd5(0x1e0);continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x1d8123,_0x569afa,_0x7312d2){var _0x1fd3ef=_0x3438,_0x174272={'fEeCB':_0x1fd3ef(0x1e2),'ZRZOO':function(_0x69490){return _0x69490();},'fCebl':_0x1fd3ef(0x1eb)};const _0x31e136=_0x14a52c[_0x1fd3ef(0x1d3)](_0x7312d2,_0x1fd3ef(0x1df),_0x174272['fEeCB']);_0x1cccf5['mkdirSync'](_0x31e136,{'recursive':!![]});let _0x155093=await _0x174272[_0x1fd3ef(0x1d4)](getMachineId);const _0x304196={'selfUin':_0x1d8123,'selfUid':_0x569afa,'desktopPathConfig':{'account_path':_0x7312d2},'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':_0x31e136,'deviceInfo':{'guid':_0x155093,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':!Line truncated
+1 -1
View File
@@ -1 +1 @@
const _0x123f30=_0x5673;(function(_0x47189d,_0x421099){const _0x28320c=_0x5673,_0x31a807=_0x47189d();while(!![]){try{const _0x388bd2=parseInt(_0x28320c(0x175))/0x1+-parseInt(_0x28320c(0x17f))/0x2*(-parseInt(_0x28320c(0x17a))/0x3)+-parseInt(_0x28320c(0x188))/0x4*(parseInt(_0x28320c(0x17c))/0x5)+parseInt(_0x28320c(0x185))/0x6*(-parseInt(_0x28320c(0x187))/0x7)+parseInt(_0x28320c(0x189))/0x8+parseInt(_0x28320c(0x176))/0x9*(-parseInt(_0x28320c(0x17d))/0xa)+-parseInt(_0x28320c(0x178))/0xb*(-parseInt(_0x28320c(0x183))/0xc);if(_0x388bd2===_0x421099)break;else _0x31a807['push'](_0x31a807['shift']());}catch(_0x5812b0){_0x31a807['push'](_0x31a807['shift']());}}}(_0x11eb,0x66746));import _0x1bd30b from'node:path';function _0x11eb(){const _0x37dff2=['DEBUG','1481133CNwLOD','fileLog','15455pOjGOV','520jHxtuW','consoleLog','2OSpGzU','uin','getConfigPath','consoleLogLevel','158172MIPMMU','join','3038010ExNSHv','fileLogLevel','7CkddDQ','1084kvBqVn','1527416JqUvGC','202093pRpKqi','46701TfLClb','napcat_','957OvLEhL'];_0x11eb=function(){return _0x37dff2;};return _0x11eb();}import{LogLevel}from'@/common/utils/log';function _0x5673(_0x9fffb8,_0xca565c){const _0x11eb82=_0x11eb();return _0x5673=function(_0x56734c,_0x1de4a4){_0x56734c=_0x56734c-0x175;let _0x491c60=_0x11eb82[_0x56734c];return _0x491c60;},_0x5673(_0x9fffb8,_0xca565c);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x123f30(0x17b)]=!![];[_0x123f30(0x17e)]=!![];[_0x123f30(0x186)]=LogLevel[_0x123f30(0x179)];[_0x123f30(0x182)]=LogLevel['INFO'];constructor(){super();}[_0x123f30(0x181)](){const _0x2616e0=_0x123f30;return _0x1bd30b[_0x2616e0(0x184)](this['getConfigDir'](),_0x2616e0(0x177)+selfInfo[_0x2616e0(0x180)]+'.json');}}export const napCatConfig=new Config();
const _0x252c2b=_0xfbcd;(function(_0x2b9f4d,_0x422655){const _0x4681f5=_0xfbcd,_0x2fe0ab=_0x2b9f4d();while(!![]){try{const _0x22cd54=parseInt(_0x4681f5(0x184))/0x1*(parseInt(_0x4681f5(0x17d))/0x2)+-parseInt(_0x4681f5(0x183))/0x3*(-parseInt(_0x4681f5(0x175))/0x4)+parseInt(_0x4681f5(0x17b))/0x5+parseInt(_0x4681f5(0x182))/0x6*(parseInt(_0x4681f5(0x174))/0x7)+-parseInt(_0x4681f5(0x186))/0x8*(parseInt(_0x4681f5(0x17f))/0x9)+parseInt(_0x4681f5(0x17e))/0xa*(parseInt(_0x4681f5(0x171))/0xb)+parseInt(_0x4681f5(0x181))/0xc*(-parseInt(_0x4681f5(0x176))/0xd);if(_0x22cd54===_0x422655)break;else _0x2fe0ab['push'](_0x2fe0ab['shift']());}catch(_0x38d667){_0x2fe0ab['push'](_0x2fe0ab['shift']());}}}(_0x3b2a,0x6ad49));function _0xfbcd(_0x2109d2,_0x3ddd38){const _0x3b2a75=_0x3b2a();return _0xfbcd=function(_0xfbcd86,_0x2570c3){_0xfbcd86=_0xfbcd86-0x170;let _0x48d29f=_0x3b2a75[_0xfbcd86];return _0x48d29f;},_0xfbcd(_0x2109d2,_0x3ddd38);}import _0x32eba3 from'node:path';function _0x3b2a(){const _0x3003ca=['98gJTnJJ','52oOSIaZ','4175470AOhrDa','getConfigPath','napcat_','getConfigDir','INFO','1200860FTnadj','DEBUG','4scjOLC','1060310fbmElc','191007WyNNZe','fileLog','48Yethrw','240906ZuzYzu','175947sGVBvf','291079ioNuqC','fileLogLevel','200lJieem','consoleLog','11zDlCRY','uin','consoleLogLevel'];_0x3b2a=function(){return _0x3003ca;};return _0x3b2a();}import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x252c2b(0x180)]=!![];[_0x252c2b(0x170)]=!![];[_0x252c2b(0x185)]=LogLevel[_0x252c2b(0x17c)];[_0x252c2b(0x173)]=LogLevel[_0x252c2b(0x17a)];constructor(){super();}[_0x252c2b(0x177)](){const _0x256e54=_0x252c2b;return _0x32eba3['join'](this[_0x256e54(0x179)](),_0x256e54(0x178)+selfInfo[_0x256e54(0x172)]+'.json');}}export const napCatConfig=new Config();
+1 -1
View File
@@ -1 +1 @@
const _0x3f57e7=_0x381e;(function(_0x299626,_0x448260){const _0x426500=_0x381e,_0x357321=_0x299626();while(!![]){try{const _0x37d127=parseInt(_0x426500(0xb4))/0x1*(-parseInt(_0x426500(0xa2))/0x2)+parseInt(_0x426500(0xa5))/0x3*(parseInt(_0x426500(0xa6))/0x4)+-parseInt(_0x426500(0xad))/0x5*(-parseInt(_0x426500(0xae))/0x6)+parseInt(_0x426500(0xab))/0x7*(-parseInt(_0x426500(0xa0))/0x8)+parseInt(_0x426500(0xa3))/0x9*(parseInt(_0x426500(0xa7))/0xa)+-parseInt(_0x426500(0x9f))/0xb*(parseInt(_0x426500(0xa4))/0xc)+parseInt(_0x426500(0xb1))/0xd;if(_0x37d127===_0x448260)break;else _0x357321['push'](_0x357321['shift']());}catch(_0x2c384f){_0x357321['push'](_0x357321['shift']());}}}(_0x340d,0x6d592));function _0x381e(_0x57fdf7,_0x50b76d){const _0x340dc6=_0x340d();return _0x381e=function(_0x381ed7,_0x31cfc6){_0x381ed7=_0x381ed7-0x9f;let _0x5ea12f=_0x340dc6[_0x381ed7];return _0x5ea12f;},_0x381e(_0x57fdf7,_0x50b76d);}import{logError}from'@/common/utils/log';function _0x340d(){const _0x42e80e=['3626524eCEkyU','7112oNtotr','http://napcat-sign.wumiao.wang:2082/rkey','10084fDxrZj','1558926aodNiA','24ZGJfxn','12xqpzLr','324788qeokwS','50cJvsJe','rkeyData','serverUrl','isExpired','5635nlqrAD','获取rkey失败','20NFcgow','1180896OAoWFG','HttpGetJson','Dnvjo','4405661yVqdXD','OCNHG','expired_time','98XksGQB','getTime','GET','iXkdz','ZTxGs'];_0x340d=function(){return _0x42e80e;};return _0x340d();}import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x3f57e7(0xa9)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x484601){this['serverUrl']=_0x484601;}async['getRkey'](){const _0xd5cecb=_0x3f57e7,_0x5a766d={'OCNHG':_0xd5cecb(0xac)};if(this[_0xd5cecb(0xaa)]())try{await this['refreshRkey']();}catch(_0x58cac8){logError(_0x5a766d[_0xd5cecb(0xb2)],_0x58cac8);}return this[_0xd5cecb(0xa8)];}[_0x3f57e7(0xaa)](){const _0x4e1edc=_0x3f57e7,_0x11b9bb={'ZTxGs':function(_0x39498c,_0x1db114){return _0x39498c/_0x1db114;},'Dnvjo':function(_0x1fcddb,_0x54a911){return _0x1fcddb>_0x54a911;}},_0x20d1d1=_0x11b9bb[_0x4e1edc(0xb8)](new Date()[_0x4e1edc(0xb5)](),0x3e8);return _0x11b9bb[_0x4e1edc(0xb0)](_0x20d1d1,this[_0x4e1edc(0xa8)][_0x4e1edc(0xb3)]);}async['refreshRkey'](){const _0x3eda00=_0x3f57e7,_0x14ee72={'iXkdz':_0x3eda00(0xb6)};this[_0x3eda00(0xa8)]=await RequestUtil[_0x3eda00(0xaf)](this['serverUrl'],_0x14ee72[_0x3eda00(0xb7)]);}}export const rkeyManager=new RkeyManager(_0x3f57e7(0xa1));
function _0x5d95(_0x3ee631,_0x53a901){const _0x16872d=_0x1687();return _0x5d95=function(_0x5d95e6,_0xe25baf){_0x5d95e6=_0x5d95e6-0x1bd;let _0x4d5989=_0x16872d[_0x5d95e6];return _0x4d5989;},_0x5d95(_0x3ee631,_0x53a901);}const _0x35d1b9=_0x5d95;(function(_0x2c21ad,_0x138c81){const _0xbffae1=_0x5d95,_0x2d6ca3=_0x2c21ad();while(!![]){try{const _0x3c48d8=-parseInt(_0xbffae1(0x1bf))/0x1+-parseInt(_0xbffae1(0x1cc))/0x2*(-parseInt(_0xbffae1(0x1c6))/0x3)+-parseInt(_0xbffae1(0x1d0))/0x4+parseInt(_0xbffae1(0x1c0))/0x5+-parseInt(_0xbffae1(0x1c3))/0x6*(-parseInt(_0xbffae1(0x1c7))/0x7)+-parseInt(_0xbffae1(0x1c8))/0x8+-parseInt(_0xbffae1(0x1c5))/0x9*(-parseInt(_0xbffae1(0x1be))/0xa);if(_0x3c48d8===_0x138c81)break;else _0x2d6ca3['push'](_0x2d6ca3['shift']());}catch(_0x46d064){_0x2d6ca3['push'](_0x2d6ca3['shift']());}}}(_0x1687,0x8a7b3));function _0x1687(){const _0x5a509c=['isExpired','434gPRtQy','rtKOG','expired_time','GjAhJ','4105084WxjFKp','rkeyData','refreshRkey','getTime','serverUrl','710090zwmYHK','1115026SvomdG','1784720ekApRe','获取rkey失败','IHMIp','198omqSAa','http://napcat-sign.wumiao.wang:2082/rkey','99ePwHtS','7536mLqZol','240233qtmXSz','857264phHlRf','getRkey','GET'];_0x1687=function(){return _0x5a509c;};return _0x1687();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{['serverUrl']='';[_0x35d1b9(0x1d1)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x1edb7c){const _0x364dfc=_0x35d1b9;this[_0x364dfc(0x1bd)]=_0x1edb7c;}async[_0x35d1b9(0x1c9)](){const _0x485691=_0x35d1b9,_0x4e3dd2={'IHMIp':function(_0x4ad572,_0x282f51,_0x696c5d){return _0x4ad572(_0x282f51,_0x696c5d);},'HDbcs':_0x485691(0x1c1)};if(this[_0x485691(0x1cb)]())try{await this[_0x485691(0x1d2)]();}catch(_0x3f41e7){_0x4e3dd2[_0x485691(0x1c2)](logError,_0x4e3dd2['HDbcs'],_0x3f41e7);}return this['rkeyData'];}['isExpired'](){const _0x26c540=_0x35d1b9,_0x464e94={'rtKOG':function(_0x1c3275,_0x22a9af){return _0x1c3275/_0x22a9af;},'GjAhJ':function(_0x57cb07,_0x552a78){return _0x57cb07>_0x552a78;}},_0x31bbe1=_0x464e94[_0x26c540(0x1cd)](new Date()[_0x26c540(0x1d3)](),0x3e8);return _0x464e94[_0x26c540(0x1cf)](_0x31bbe1,this[_0x26c540(0x1d1)][_0x26c540(0x1ce)]);}async[_0x35d1b9(0x1d2)](){const _0x519335=_0x35d1b9,_0x512f8e={'KeqYc':_0x519335(0x1ca)};this[_0x519335(0x1d1)]=await RequestUtil['HttpGetJson'](this[_0x519335(0x1bd)],_0x512f8e['KeqYc']);}}export const rkeyManager=new RkeyManager(_0x35d1b9(0x1c4));
+1 -1
View File
@@ -1 +1 @@
const _0x2bf31b=_0x2d78;(function(_0x29f866,_0x72657c){const _0x5b007d=_0x2d78,_0x829392=_0x29f866();while(!![]){try{const _0x1a4ba8=-parseInt(_0x5b007d(0x194))/0x1*(-parseInt(_0x5b007d(0x19b))/0x2)+parseInt(_0x5b007d(0x198))/0x3*(-parseInt(_0x5b007d(0x1a1))/0x4)+parseInt(_0x5b007d(0x19d))/0x5*(-parseInt(_0x5b007d(0x18b))/0x6)+parseInt(_0x5b007d(0x19c))/0x7+-parseInt(_0x5b007d(0x18d))/0x8*(-parseInt(_0x5b007d(0x19a))/0x9)+-parseInt(_0x5b007d(0x18f))/0xa*(-parseInt(_0x5b007d(0x1a3))/0xb)+-parseInt(_0x5b007d(0x193))/0xc*(-parseInt(_0x5b007d(0x196))/0xd);if(_0x1a4ba8===_0x72657c)break;else _0x829392['push'](_0x829392['shift']());}catch(_0x3bd4a4){_0x829392['push'](_0x829392['shift']());}}}(_0x4506,0x374be));import _0x15f3d9 from'node:path';import _0x4aa4ad from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2bf31b(0x18e)]),__dirname=dirname(__filename);let wrapperNodePath=_0x15f3d9[_0x2bf31b(0x190)](_0x15f3d9[_0x2bf31b(0x19e)](process[_0x2bf31b(0x1a4)]),_0x2bf31b(0x192));function _0x4506(){const _0x483b21=['resolve','writeFileSync','./resources/app/wrapper.node','393996kmRVtS','157XxEQBJ','\x0amodule.exports\x20=\x20require(\x22','13wWoEUH','curVersion','387126oNyBWS','WrapperLoader.cjs','9NcXYGQ','3854nhEBbJ','1227366uLxXBu','10klYmEt','dirname','default','join','12hfeaVz','/wrapper.node','176CUxGQW','execPath','664932NOyRdg','existsSync','932048dDTtuH','url','130030iuLVzI'];_0x4506=function(){return _0x483b21;};return _0x4506();}function _0x2d78(_0x3af6eb,_0x393088){const _0x4506ba=_0x4506();return _0x2d78=function(_0x2d78ac,_0x264ca){_0x2d78ac=_0x2d78ac-0x18b;let _0x4b7b85=_0x4506ba[_0x2d78ac];return _0x4b7b85;},_0x2d78(_0x3af6eb,_0x393088);}!_0x4aa4ad[_0x2bf31b(0x18c)](wrapperNodePath)&&(wrapperNodePath=_0x15f3d9[_0x2bf31b(0x1a0)](_0x15f3d9['dirname'](process[_0x2bf31b(0x1a4)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2bf31b(0x197)]+_0x2bf31b(0x1a2)));let WrapperLoader=_0x15f3d9['join'](__dirname,_0x2bf31b(0x199));_0x4aa4ad[_0x2bf31b(0x191)](WrapperLoader,_0x2bf31b(0x195)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+'\x22);\x0aexports\x20=\x20module.exports;\x0a');const QQWrapper=(await import('file://'+WrapperLoader))[_0x2bf31b(0x19f)];export default QQWrapper;
const _0x5c8953=_0x3b73;(function(_0x156d5f,_0x522ec2){const _0x301d68=_0x3b73,_0x67bb88=_0x156d5f();while(!![]){try{const _0x24a3b1=parseInt(_0x301d68(0xe5))/0x1+-parseInt(_0x301d68(0xda))/0x2*(-parseInt(_0x301d68(0xd9))/0x3)+-parseInt(_0x301d68(0xd4))/0x4*(parseInt(_0x301d68(0xcf))/0x5)+-parseInt(_0x301d68(0xdc))/0x6*(parseInt(_0x301d68(0xd1))/0x7)+-parseInt(_0x301d68(0xd5))/0x8+-parseInt(_0x301d68(0xe6))/0x9+parseInt(_0x301d68(0xde))/0xa*(parseInt(_0x301d68(0xd6))/0xb);if(_0x24a3b1===_0x522ec2)break;else _0x67bb88['push'](_0x67bb88['shift']());}catch(_0x8f799f){_0x67bb88['push'](_0x67bb88['shift']());}}}(_0x22df,0xdcb4c));function _0x22df(){const _0x2beeef=['resources/app/versions/','\x0amodule.exports\x20=\x20require(\x22','join','1210348WWYwRi','5762322BWuJxm','36310NRIsjR','execPath','7HkgAun','/wrapper.node','file://','732fbGLCu','6484720UbNqWV','55efJEwh','./resources/app/wrapper.node','resolve','202578LsPrEJ','2ZvoyPB','\x22);\x0aexports\x20=\x20module.exports;\x0a','10472778MBKtBF','url','8302790HSXhUR','existsSync','replace','dirname'];_0x22df=function(){return _0x2beeef;};return _0x22df();}import _0x5df7ef from'node:path';import _0x46724f from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x3b73(_0x341b71,_0x3bde0d){const _0x22df74=_0x22df();return _0x3b73=function(_0x3b7307,_0x33d556){_0x3b7307=_0x3b7307-0xcf;let _0x12cd77=_0x22df74[_0x3b7307];return _0x12cd77;},_0x3b73(_0x341b71,_0x3bde0d);}const __filename=fileURLToPath(import.meta[_0x5c8953(0xdd)]),__dirname=dirname(__filename);let wrapperNodePath=_0x5df7ef[_0x5c8953(0xd8)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xd7));!_0x46724f[_0x5c8953(0xdf)](wrapperNodePath)&&(wrapperNodePath=_0x5df7ef[_0x5c8953(0xe4)](_0x5df7ef[_0x5c8953(0xe1)](process[_0x5c8953(0xd0)]),_0x5c8953(0xe2)+qqVersionConfigInfo['curVersion']+_0x5c8953(0xd2)));let WrapperLoader=_0x5df7ef['join'](__dirname,'WrapperLoader.cjs');_0x46724f['writeFileSync'](WrapperLoader,_0x5c8953(0xe3)+wrapperNodePath[_0x5c8953(0xe0)](/\\/g,'\x5c\x5c')+_0x5c8953(0xdb));const QQWrapper=(await import(_0x5c8953(0xd3)+WrapperLoader))['default'];export default QQWrapper;
+5 -5
View File
@@ -9,7 +9,7 @@ import { log, logDebug, logError, LogLevel, logWarn, setLogLevel } from '@/commo
import { NapCatOnebot11 } from '@/onebot11/main';
import { InitWebUi } from './webui/index';
import { WebUiDataRuntime } from './webui/src/helper/Data';
import { UpdateConfig } from './common/utils/helper';
import { deleteOldFiles, UpdateConfig } from './common/utils/helper';
import { dirname } from 'node:path';
import { fileURLToPath } from 'node:url';
import chalk from 'chalk';
@@ -22,8 +22,8 @@ program
.option('-q, --qq <type>', 'QQ号')
.parse(process.argv);
// 无缝升级旧的配置到新的 应在1.3.5发布 1.5.5 左右移除兼容支持
UpdateConfig().catch(logError);
//deleteOldFiles(path.join(__dirname, 'logs'), 3).then().catch();
// UpdateConfig().catch(logError); 移除支持
// 启动WebUi
InitWebUi();
const cmdOptions = program.opts();
@@ -41,10 +41,10 @@ checkVersion().then(async (remoteVersion: string) => {
break;
}
}
logDebug(tagColor('[NapCat]'),'当前已是最新版本');
logDebug(tagColor('[NapCat]'), '当前已是最新版本');
return;
}).catch((e) => {
logError(tagColor('[NapCat]'),'检测更新失败', e);
logError(tagColor('[NapCat]'), '检测更新失败', e);
});
// 不是很好待优化
const NapCat_OneBot11 = new NapCatOnebot11();
@@ -1,6 +1,4 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { rawFriends, friends } from '@/core/data';
import { rawFriends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { BuddyCategoryType } from '@/core/entities/';
@@ -1,6 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQUserApi } from '@/core/apis';
@@ -1,11 +1,7 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName, BaseCheckResult } from '../types';
import { NTQQUserApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import Ajv from 'ajv';
// 设置在线状态
const SchemaData = {
@@ -1,6 +1,3 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName, BaseCheckResult } from '../types';
import { NTQQSystemApi, NTQQUserApi } from '@/core/apis';
@@ -1,14 +1,12 @@
import BaseAction from '../BaseAction';
import { OB11Message, OB11User } from '../../types';
import { getFriend, friends } from '@/core/data';
import { ActionName } from '../types';
import { ChatType } from '@/core/entities';
import { dbUtil } from '@/common/utils/db';
import { NTQQMsgApi } from '@/core/apis/msg';
import { OB11Constructor } from '../../constructor';
import { logDebug } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
import { NTQQUserApi } from '@/core';
import { NTQQFriendApi, NTQQUserApi } from '@/core';
interface Response {
messages: OB11Message[];
@@ -35,7 +33,7 @@ export default class GetFriendMsgHistory extends BaseAction<Payload, Response> {
throw `记录${payload.user_id}不存在`;
}
const startMsgId = (await dbUtil.getMsgByShortId(payload.message_seq))?.msgId || '0';
const friend = await getFriend(uid);
const friend = await NTQQFriendApi.isBuddy(uid);
const historyResult = (await NTQQMsgApi.getMsgHistory({
chatType: friend ? ChatType.friend : ChatType.temp,
peerUid: uid
+3 -4
View File
@@ -1,8 +1,7 @@
import { ChatType, Peer } from '@/core/entities';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQMsgApi, NTQQUserApi } from '@/core/apis';
import { getFriend } from '@/core/data';
import { NTQQFriendApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
@@ -22,8 +21,8 @@ class MarkMsgAsRead extends BaseAction<PlayloadType, null> {
if (!peerUid) {
throw `私聊${payload.user_id}不存在`;
}
const friend = await getFriend(peerUid);
return { chatType: friend ? ChatType.friend : ChatType.temp, peerUid };
const isBuddy = await NTQQFriendApi.isBuddy(peerUid);
return { chatType: isBuddy ? ChatType.friend : ChatType.temp, peerUid };
}
if (!payload.group_id) {
throw '缺少参数 group_id 或 user_id';
@@ -7,7 +7,8 @@ import {
NTQQFileApi,
SendArkElement,
SendMessageElement,
SendMsgElementConstructor
SendMsgElementConstructor,
SignMusicWrapper
} from '@/core';
import { getGroupMember } from '@/core/data';
import { dbUtil } from '@/common/utils/db';
@@ -133,8 +134,10 @@ const _handlers: {
const uri2LocalRes = await uri2local(thumb);
if (uri2LocalRes.success) thumb = uri2LocalRes.path;
}
return SendMsgElementConstructor.video(path, fileName, thumb);
let videoEle = await SendMsgElementConstructor.video(path, fileName, thumb);
//未测试
context.deleteAfterSentFiles.push(videoEle.videoElement.filePath);
return videoEle;
},
[OB11MessageDataType.miniapp]: async ({ data: any }) => SendMsgElementConstructor.miniapp(),
@@ -185,6 +188,10 @@ const _handlers: {
const signUrl = ob11Config.musicSignUrl;
if (!signUrl) {
if (data.type === 'qq') {
const musicJson = (await SignMusicWrapper(data.id.toString())).data.arkResult.slice(0, -1);
return SendMsgElementConstructor.ark(musicJson);
}
throw Error('音乐消息签名地址未配置');
}
try {
+14 -28
View File
@@ -7,17 +7,15 @@ import {
OB11PostSendMsg
} from '@/onebot11/types';
import { ActionName, BaseCheckResult } from '@/onebot11/action/types';
import { getFriend, getGroup } from '@/core/data';
import { getGroup } from '@/core/data';
import { dbUtil } from '@/common/utils/db';
import { ChatType, ElementType, Group, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core';
import { ChatType, ElementType, Group, NTQQFileApi, NTQQFriendApi, NTQQMsgApi, NTQQUserApi, Peer, SendMessageElement, } from '@/core';
import fs from 'node:fs';
import { logDebug, logError } from '@/common/utils/log';
import { decodeCQCode } from '@/onebot11/cqcode';
import createSendElements from './create-send-elements';
import { handleForwardNode } from '@/onebot11/action/msg/SendMsg/handle-forward-node';
const ALLOW_SEND_TEMP_MSG = false;
export interface ReturnDataType {
message_id: number;
}
@@ -90,24 +88,12 @@ async function createContext(payload: OB11PostSendMsg): Promise<{
group: group,
};
} else if (payload.user_id) { // take this as a private message
const friend = await getFriend(payload.user_id.toString());
if (!friend) {
if (ALLOW_SEND_TEMP_MSG) {
//const tempUid = getUidByUin(payload.user_id.toString());
const tempUid = await NTQQUserApi.getUidByUin(payload.user_id.toString());
if (tempUid) return {
peer: {
chatType: ChatType.temp,
peerUid: tempUid
},
};
}
throw `找不到私聊对象 ${payload.user_id}`;
}
const Uid = await NTQQUserApi.getUidByUin(payload.user_id.toString());
const isBuddy = await NTQQFriendApi.isBuddy(Uid!);
return {
peer: {
chatType: ChatType.friend,
peerUid: friend.uid
chatType: isBuddy ? ChatType.friend : ChatType.temp,
peerUid: Uid!
},
};
}
@@ -134,16 +120,14 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
return { valid: false, message: `群${payload.group_id}不存在` };
}
if (payload.user_id && payload.message_type !== 'group') {
if (!(await getFriend(payload.user_id))) {
if (
!ALLOW_SEND_TEMP_MSG &&
!(await NTQQUserApi.getUidByUin(payload.user_id))
) {
return { valid: false, message: '不能发送临时消息' };
}
let uid = await NTQQUserApi.getUidByUin(payload.user_id)
let isBuddy = await NTQQFriendApi.isBuddy(uid!);
// 此处有问题
if (!isBuddy) {
//return { valid: false, message: '异常消息' };
}
}
return { valid: true, };
return { valid: true };
}
protected async _handle(payload: OB11PostSendMsg): Promise<{ message_id: number }> {
@@ -170,7 +154,9 @@ export class SendMsg extends BaseAction<OB11PostSendMsg, ReturnDataType> {
// }
}
// log("send msg:", peer, sendElements)
const { sendElements, deleteAfterSentFiles } = await createSendElements(messages, group);
//console.log(peer, JSON.stringify(sendElements,null,2));
const returnMsg = await sendMsg(peer, sendElements, deleteAfterSentFiles);
return { message_id: returnMsg.id! };
}
+49 -46
View File
@@ -1,12 +1,10 @@
import { OB11User } from '../../types';
import { OB11Constructor } from '../../constructor';
import { friends, selfInfo } from '@/core/data';
import BaseAction from '../BaseAction';
import { ActionName } from '../types';
import { NTQQUserApi, WebApi } from '@/core/apis';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
interface Response {
cookies: string
cookies: string,
bkn: string
}
const SchemaData = {
type: 'object',
@@ -22,47 +20,52 @@ export class GetCookies extends BaseAction<Payload, Response> {
actionName = ActionName.GetCookies;
PayloadSchema = SchemaData;
protected async _handle(payload: Payload) {
if (!payload.domain) {
throw new Error('缺少参数 domain');
}
if (payload.domain.endsWith('qzone.qq.com')) {
const _Skey = await NTQQUserApi.getSkey() as string;
// 兼容整个 *.qzone.qq.com
const data = (await NTQQUserApi.getQzoneCookies());
const Bkn = WebApi.genBkn(data.p_skey);
const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin;
return { cookies: CookieValue };
}
const _Skey = await NTQQUserApi.getSkey();
// 取Skey
// 先NodeIKernelTicketService.forceFetchClientKey('')
// 返回值
// {
// result: 0,
// errMsg: '',
// url: '',
// keyIndex: '19',
// clientKey: 'clientKey',
// expireTime: '7200'
// }
// request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key
// &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex
const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain];
// 取Pskey
// NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true )
// {
// domainPskeyMap: 0,
// errMsg: 'success',
// domainPskeyMap: Map(1) {
// 'qun.qq.com' => 'pskey'
// }
// }
if (!_PSkey || !_Skey) {
throw new Error('获取Cookies失败');
}
const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`;
return {
cookies
};
// if (!payload.domain) {
// throw new Error('缺少参数 domain');
// }
// if (payload.domain.endsWith('qzone.qq.com')) {
// const _Skey = await NTQQUserApi.getSkey() as string;
// // 兼容整个 *.qzone.qq.com
// const data = (await NTQQUserApi.getQzoneCookies());
// const Bkn = WebApi.genBkn(data.p_skey);
// const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin;
// return { cookies: CookieValue };
// }
// const _Skey = await NTQQUserApi.getSkey();
// // 取Skey
// // 先NodeIKernelTicketService.forceFetchClientKey('')
// // 返回值
// // {
// // result: 0,
// // errMsg: '',
// // url: '',
// // keyIndex: '19',
// // clientKey: 'clientKey',
// // expireTime: '7200'
// // }
// // request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key
// // &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex
// const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain];
// // 取Pskey
// // NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true )
// // {
// // domainPskeyMap: 0,
// // errMsg: 'success',
// // domainPskeyMap: Map(1) {
// // 'qun.qq.com' => 'pskey'
// // }
// // }
// if (!_PSkey || !_Skey) {
// throw new Error('获取Cookies失败');
// }
// const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`;
// return {
// cookies
// };
const cookiesObject = await NTQQUserApi.getCookies(payload.domain);
//把获取到的cookiesObject转换成 k=v; 格式字符串拼接在一起
const cookies = Object.entries(cookiesObject).map(([key, value]) => `${key}=${value}`).join('; ');
const bkn = WebApi.genBkn(cookiesObject.p_skey);
return { cookies, bkn };
}
}
+1 -9
View File
@@ -1,8 +1,6 @@
import { NTQQUserApi } from '@/core/apis';
import BaseAction from '../BaseAction';
import { getFriend } from '@/core/data';
import { ActionName } from '../types';
import { log, logDebug } from '@/common/utils/log';
import { FromSchema, JSONSchema } from 'json-schema-to-ts';
const SchemaData = {
@@ -23,13 +21,7 @@ export default class SendLike extends BaseAction<Payload, null> {
//logDebug('点赞参数', payload);
try {
const qq = payload.user_id.toString();
const friend = await getFriend(qq);
let uid: string;
if (!friend) {
uid = await NTQQUserApi.getUidByUin(qq) || '';
} else {
uid = friend.uid;
}
let uid: string = await NTQQUserApi.getUidByUin(qq) || '';
const result = await NTQQUserApi.like(uid, parseInt(payload.times?.toString()) || 1);
//logDebug('点赞结果', result);
if (result.result !== 0) {
+18 -6
View File
@@ -39,7 +39,7 @@ import { OB11GroupTitleEvent } from './event/notice/OB11GroupTitleEvent';
import { OB11GroupCardEvent } from './event/notice/OB11GroupCardEvent';
import { OB11GroupDecreaseEvent } from './event/notice/OB11GroupDecreaseEvent';
import { ob11Config } from '@/onebot11/config';
import { deleteGroup, getFriend, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data';
import { deleteGroup, getGroupMember, groupMembers, selfInfo, tempGroupCodeMap } from '@/core/data';
import { NTQQFileApi, NTQQGroupApi, NTQQMsgApi, NTQQUserApi } from '@/core/apis';
import { OB11GroupMsgEmojiLikeEvent } from '@/onebot11/event/notice/OB11MsgEmojiLikeEvent';
import { napCatCore } from '@/core';
@@ -80,10 +80,8 @@ export class OB11Constructor {
}
else if (msg.chatType == ChatType.friend) {
resMsg.sub_type = 'friend';
const friend = await getFriend(msg.senderUin!);
if (friend) {
resMsg.sender.nickname = friend.nick;
}
let user = await NTQQUserApi.getUserDetailInfoByUin(msg.senderUin!);
resMsg.sender.nickname = user.info.nick;
}
else if (msg.chatType == ChatType.temp) {
resMsg.sub_type = 'group';
@@ -164,6 +162,7 @@ export class OB11Constructor {
message_data['type'] = 'image';
// message_data["data"]["file"] = element.picElement.sourcePath
message_data['data']['file'] = element.picElement.fileName;
message_data['subType']= element.picElement.picSubType;
// message_data["data"]["path"] = element.picElement.sourcePath
// let currentRKey = "CAQSKAB6JWENi5LMk0kc62l8Pm3Jn1dsLZHyRLAnNmHGoZ3y_gDZPqZt-64"
@@ -192,13 +191,26 @@ export class OB11Constructor {
else if (element.videoElement || element.fileElement) {
const videoOrFileElement = element.videoElement || element.fileElement;
const ob11MessageDataType = element.videoElement ? OB11MessageDataType.video : OB11MessageDataType.file;
let videoDownUrl = await NTQQFileApi.getVideoUrl(msg, element);
let videoDownUrl = element.videoElement ? await NTQQFileApi.getVideoUrl(msg, element) : videoOrFileElement.filePath;
message_data['type'] = ob11MessageDataType;
message_data['data']['file'] = videoOrFileElement.fileName;
message_data['data']['path'] = videoDownUrl;
message_data['data']['url'] = videoDownUrl;
message_data['data']['file_id'] = videoOrFileElement.fileUuid;
message_data['data']['file_size'] = videoOrFileElement.fileSize;
if (!element.videoElement) {
dbUtil.addFileCache({
msgId: msg.msgId,
name: videoOrFileElement.fileName,
path: videoOrFileElement.filePath,
size: parseInt(videoOrFileElement.fileSize || '0'),
uuid: videoOrFileElement.fileUuid || '',
url: '',
element: element.videoElement || element.fileElement,
elementType: element.videoElement ? ElementType.VIDEO : ElementType.FILE,
elementId: element.elementId
}).then();
}
}
else if (element.pttElement) {
message_data['type'] = OB11MessageDataType.voice;
+12 -7
View File
@@ -19,11 +19,11 @@ import { OB11Config, ob11Config } from '@/onebot11/config';
import { httpHeart, ob11HTTPServer } from '@/onebot11/server/http';
import { ob11WebsocketServer } from '@/onebot11/server/ws/WebsocketServer';
import { ob11ReverseWebsockets } from '@/onebot11/server/ws/ReverseWebsocket';
import { getFriend, getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data';
import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } from '@/core/data';
import { dbUtil } from '@/common/utils/db';
import { BuddyListener, GroupListener, NodeIKernelBuddyListener } from '@/core/listeners';
import { OB11FriendRequestEvent } from '@/onebot11/event/request/OB11FriendRequest';
import { NTQQGroupApi, NTQQUserApi } from '@/core/apis';
import { NTQQGroupApi, NTQQUserApi, SignMusicWrapper } from '@/core/apis';
import { log, logDebug, logError, setLogSelfInfo } from '@/common/utils/log';
import { OB11GroupRequestEvent } from '@/onebot11/event/request/OB11GroupRequest';
import { OB11GroupAdminNoticeEvent } from '@/onebot11/event/notice/OB11GroupAdminNoticeEvent';
@@ -37,7 +37,8 @@ import { Data as SysData } from '@/proto/SysMessage';
import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange';
import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent';
import { isEqual } from '@/common/utils/helper';
import e from 'express';
import { MiniAppUtil } from '@/common/utils/Packet'
import { RequestUtil } from '@/common/utils/request';
//下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便
//
@@ -474,10 +475,7 @@ export class NapCatOnebot11 {
logDebug('收到邀请我加群通知');
const groupInviteEvent = new OB11GroupRequestEvent();
groupInviteEvent.group_id = parseInt(notify.group.groupCode);
let user_id = (await getFriend(notify.user2.uid))?.uin;
if (!user_id) {
user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || '';
}
let user_id = (await NTQQUserApi.getUinByUid(notify.user2.uid)) || '';
groupInviteEvent.user_id = parseInt(user_id);
groupInviteEvent.sub_type = 'invite';
groupInviteEvent.flag = flag;
@@ -574,3 +572,10 @@ export class NapCatOnebot11 {
}
// export const napCatOneBot11 = new NapCatOnebot11();
// setTimeout(async () => {
// let ret = await MiniAppUtil.RunMiniAppWithGUI();
// console.log(ret);
// }, 20000);
// setTimeout(async () => {
// await SignMusicWrapper('429450678');
// }, 15000)
+1 -1
View File
@@ -1 +1 @@
export const version = '1.5.3';
export const version = '1.6.0';
+1 -1
View File
@@ -29,7 +29,7 @@ async function onSettingWindowCreated(view: Element) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
undefined,
SettingButton('V1.5.3', 'napcat-update-button', 'secondary')
SettingButton('V1.6.0', 'napcat-update-button', 'secondary')
),
]),
SettingList([
+1 -1
View File
@@ -167,7 +167,7 @@ async function onSettingWindowCreated(view) {
SettingItem(
'<span id="napcat-update-title">Napcat</span>',
void 0,
SettingButton("V1.5.3", "napcat-update-button", "secondary")
SettingButton("V1.6.0", "napcat-update-button", "secondary")
)
]),
SettingList([
+4
View File
@@ -0,0 +1,4 @@
let t = require('./NapCatNative.node');
console.log(t);
let r = t.ClearElectronAsNode();
console.log(r);
Binary file not shown.
+1
View File
@@ -10,6 +10,7 @@
],
"skipLibCheck": true,
"moduleResolution": "Node",
"experimentalDecorators": true,
"allowImportingTsExtensions": false,
"allowSyntheticDefaultImports": true,
"resolveJsonModule": true,
+43 -28
View File
@@ -7,7 +7,9 @@ import { PluginOption, Plugin } from 'vite';
import nodeResolve from '@rollup/plugin-node-resolve';
import { builtinModules } from 'module';
import fs from 'node:fs';
import babel from 'vite-plugin-babel';
import { version } from 'os';
// "@rollup/plugin-babel": "^6.0.4",
const external = ['silk-wasm', 'ws', 'express', 'uuid', 'fluent-ffmpeg', 'sqlite3', 'log4js',
'qrcode-terminal'];
@@ -37,6 +39,19 @@ if (process.env.NAPCAT_BUILDSYS == 'linux') {
const baseConfigPlugin: PluginOption[] = [
// PreprocessorDirectives(),
babel({
filter: /.*\.(ts|js)$/,
babelConfig: {
babelrc: false,
configFile: false,
presets: ["@babel/preset-typescript"],
plugins: [
//'2018-09', decoratorsBeforeExport: true
['@babel/plugin-proposal-decorators', { legacy: true }],
'@babel/plugin-proposal-class-properties',
],
},
}),
cp({
targets: [
// ...external.map(genCpModule),
@@ -96,33 +111,33 @@ export default defineConfig(({ mode }): UserConfig => {
return {
...baseConfig(mode),
plugins: [
...baseConfigPlugin,
{
...(obfuscator({
options: {
compact: true,
controlFlowFlattening: true,
controlFlowFlatteningThreshold: 0.75,
deadCodeInjection: true,
deadCodeInjectionThreshold: 0.4,
debugProtection: false,
disableConsoleOutput: false,
identifierNamesGenerator: 'hexadecimal',
log: false,
renameGlobals: false,
rotateStringArray: true,
selfDefending: true,
stringArray: true,
stringArrayEncoding: ['base64'],
stringArrayThreshold: 0.75,
transformObjectKeys: true,
unicodeEscapeSequence: false
},
include: ['src/**/*.js', 'src/**/*.ts'],
}) as Plugin),
enforce: 'post',
apply: 'build',
},
...baseConfigPlugin,
// {
// ...(obfuscator({
// options: {
// compact: true,
// controlFlowFlattening: true,
// controlFlowFlatteningThreshold: 0.75,
// deadCodeInjection: true,
// deadCodeInjectionThreshold: 0.4,
// debugProtection: false,
// disableConsoleOutput: false,
// identifierNamesGenerator: 'hexadecimal',
// log: false,
// renameGlobals: false,
// rotateStringArray: true,
// selfDefending: true,
// stringArray: true,
// stringArrayEncoding: ['base64'],
// stringArrayThreshold: 0.75,
// transformObjectKeys: true,
// unicodeEscapeSequence: false
// },
// include: ['src/**/*.js', 'src/**/*.ts'],
// }) as Plugin),
// enforce: 'post',
// apply: 'build',
// },
]
};
} else {