From 61d6bcec4b60d9ff2b1d8fe3e456e191dad52cbe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=89=8B=E7=93=9C=E4=B8=80=E5=8D=81=E9=9B=AA?= Date: Wed, 19 Jun 2024 21:33:31 +0800 Subject: [PATCH] refactor: qqmusic card & requests --- src/common/utils/request.ts | 113 ++++++++++++------ src/core | 2 +- .../src/adapters/NodeIDependsAdapter.js | 2 +- .../src/adapters/NodeIDispatcherAdapter.js | 2 +- .../src/adapters/NodeIGlobalAdapter.js | 2 +- src/core.lib/src/adapters/index.js | 2 +- src/core.lib/src/apis/collection.js | 2 +- src/core.lib/src/apis/file.js | 2 +- src/core.lib/src/apis/friend.js | 2 +- src/core.lib/src/apis/group.js | 2 +- src/core.lib/src/apis/index.js | 2 +- src/core.lib/src/apis/msg.js | 2 +- src/core.lib/src/apis/sign.d.ts | 11 +- src/core.lib/src/apis/sign.js | 2 +- src/core.lib/src/apis/system.js | 2 +- src/core.lib/src/apis/user.js | 2 +- src/core.lib/src/apis/webapi.js | 2 +- src/core.lib/src/core.js | 2 +- src/core.lib/src/data.d.ts | 16 +-- src/core.lib/src/data.js | 2 +- src/core.lib/src/entities/cache.js | 2 +- src/core.lib/src/entities/constructor.js | 2 +- src/core.lib/src/entities/group.js | 2 +- src/core.lib/src/entities/index.js | 2 +- src/core.lib/src/entities/msg.js | 2 +- src/core.lib/src/entities/notify.js | 2 +- src/core.lib/src/entities/user.js | 2 +- src/core.lib/src/index.js | 2 +- .../src/listeners/NodeIKernelBuddyListener.js | 2 +- .../NodeIKernelFileAssistantListener.js | 2 +- .../src/listeners/NodeIKernelGroupListener.js | 2 +- .../src/listeners/NodeIKernelLoginListener.js | 2 +- .../src/listeners/NodeIKernelMsgListener.js | 2 +- .../listeners/NodeIKernelProfileListener.js | 2 +- .../src/listeners/NodeIKernelRobotListener.js | 2 +- .../listeners/NodeIKernelSessionListener.js | 2 +- .../NodeIKernelStorageCleanListener.js | 2 +- src/core.lib/src/listeners/index.js | 2 +- .../src/services/NodeIYellowFaceService.js | 2 +- src/core.lib/src/services/common.js | 2 +- src/core.lib/src/services/index.js | 2 +- src/core.lib/src/sessionConfig.js | 2 +- src/core.lib/src/utils/config.js | 2 +- src/core.lib/src/utils/rkey.js | 2 +- src/core.lib/src/wrapper.js | 2 +- src/onebot11/main.ts | 8 +- 46 files changed, 132 insertions(+), 100 deletions(-) diff --git a/src/common/utils/request.ts b/src/common/utils/request.ts index 628f50ed..d7535147 100644 --- a/src/common/utils/request.ts +++ b/src/common/utils/request.ts @@ -1,7 +1,9 @@ import https from 'node:https'; import http from 'node:http'; -import fs from 'node:fs'; +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 }> { @@ -108,50 +110,83 @@ export class RequestUtil { static async HttpGetText(url: string, method: string = 'GET', data?: any, headers: { [key: string]: string } = {}) { return this.HttpGetJson(url, method, data, headers, false, false); } - static async HttpUploadFileForOpenPlatform(filePath: string) { - const cookies = Object.entries(await NTQQUserApi.getCookies('connect.qq.com')).map(([key, value]) => `${key}=${value}`).join('; '); - return new Promise((resolve, reject) => { - var options = { - 'method': 'POST', - 'hostname': 'cgi.connect.qq.com', - 'path': '/qqconnectopen/upload_share_image', - 'headers': { - 'Referer': 'https://cgi.connect.qq.com', - 'Cookie': cookies, - 'Accept': '*/*', - 'Host': 'cgi.connect.qq.com', - 'Connection': 'keep-alive', - 'Content-Type': 'multipart/form-data; boundary=--------------------------800945582706338065206240' - }, - 'maxRedirects': 20 - }; - let body; - let req = https.request(options, function (res) { - let chunks: any = []; - res.on("data", function (chunk) { - chunks.push(chunk); + static async createFormData(boundary: string, filePath: string): Promise { + 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 { + 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); + } + + }); + }); - res.on("end", function () { - body = Buffer.concat(chunks); - console.log(body.toString()); + req.on('error', (error) => { + console.error('Error during upload:', error); }); - res.on("error", function (error) { - console.error(error); - }); - }); - - var postData = "------WebKitFormBoundary7MA4YWxkTrZu0gW\r\nContent-Disposition: form-data; name=\"share_image\"; filename=\"C:/1.png\"\r\nContent-Type: \"{Insert_File_Content_Type}\"\r\n\r\n" + fs.readFileSync(filePath) + "\r\n------WebKitFormBoundary7MA4YWxkTrZu0gW--"; - req.setHeader('content-type', 'multipart/form-data; boundary=----WebKitFormBoundary7MA4YWxkTrZu0gW'); - req.write(postData); - req.end(); - if (body) { - resolve(JSON.parse(body)); - } else { - reject(); + 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; }); } } \ No newline at end of file diff --git a/src/core b/src/core index b0f87975..cfc81f22 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit b0f879750f2c7245a6f97686c9cf1bac87a92bbb +Subproject commit cfc81f2218bf5959e9bd39821c6a13c641b99d4b diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 2f145f2e..dee2547c 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x567a0a=_0x3979;function _0x3afd(){var _0x4d50dd=['4456172OLDoVC','1903653EbpyeM','onMSFStatusChange','12853144buOfwL','onMSFSsoError','55295Xuqkgq','576eVbVww','2011670VJBMZW','3751220zcsTUS','147909KEwkes'];_0x3afd=function(){return _0x4d50dd;};return _0x3afd();}(function(_0x8f4518,_0xcab45d){var _0x5ded54=_0x3979,_0x3348d3=_0x8f4518();while(!![]){try{var _0x29bb76=-parseInt(_0x5ded54(0x18e))/0x1+-parseInt(_0x5ded54(0x18c))/0x2+-parseInt(_0x5ded54(0x190))/0x3+-parseInt(_0x5ded54(0x18d))/0x4+parseInt(_0x5ded54(0x194))/0x5*(parseInt(_0x5ded54(0x18b))/0x6)+parseInt(_0x5ded54(0x18f))/0x7+parseInt(_0x5ded54(0x192))/0x8;if(_0x29bb76===_0xcab45d)break;else _0x3348d3['push'](_0x3348d3['shift']());}catch(_0x38dfa8){_0x3348d3['push'](_0x3348d3['shift']());}}}(_0x3afd,0x8d4f3));function _0x3979(_0x46cdff,_0x27dd47){var _0x3afdb7=_0x3afd();return _0x3979=function(_0x39796b,_0x2ae49c){_0x39796b=_0x39796b-0x18b;var _0xc20c10=_0x3afdb7[_0x39796b];return _0xc20c10;},_0x3979(_0x46cdff,_0x27dd47);}export class DependsAdapter{[_0x567a0a(0x191)](_0x443ba7,_0x4d0256){}[_0x567a0a(0x193)](_0x15c3aa){}['getGroupCode'](_0x21023e){}} \ No newline at end of file +function _0xb27b(){var _0x20fc99=['8306CSkzFj','20270MmuWfE','onMSFSsoError','5293449LBmxuZ','219LfUryU','386653EuHgWi','getGroupCode','6YEngcc','1503bAfYrf','6690984cXWdjJ','2867504wSYXIK','2045tXYwEy','44wvdOWH','4812gbmYRf'];_0xb27b=function(){return _0x20fc99;};return _0xb27b();}var _0x413913=_0x1672;function _0x1672(_0x4e56f5,_0x5da5ec){var _0xb27b4a=_0xb27b();return _0x1672=function(_0x167246,_0x49050b){_0x167246=_0x167246-0x192;var _0xa0e816=_0xb27b4a[_0x167246];return _0xa0e816;},_0x1672(_0x4e56f5,_0x5da5ec);}(function(_0xe8234e,_0xc9225){var _0x18ea05=_0x1672,_0x4cb0b8=_0xe8234e();while(!![]){try{var _0x1ceaf4=parseInt(_0x18ea05(0x19f))/0x1+parseInt(_0x18ea05(0x19a))/0x2*(parseInt(_0x18ea05(0x19e))/0x3)+parseInt(_0x18ea05(0x199))/0x4*(parseInt(_0x18ea05(0x197))/0x5)+parseInt(_0x18ea05(0x193))/0x6*(parseInt(_0x18ea05(0x19d))/0x7)+parseInt(_0x18ea05(0x196))/0x8+-parseInt(_0x18ea05(0x194))/0x9*(-parseInt(_0x18ea05(0x19b))/0xa)+-parseInt(_0x18ea05(0x198))/0xb*(parseInt(_0x18ea05(0x195))/0xc);if(_0x1ceaf4===_0xc9225)break;else _0x4cb0b8['push'](_0x4cb0b8['shift']());}catch(_0x3f8e9b){_0x4cb0b8['push'](_0x4cb0b8['shift']());}}}(_0xb27b,0x62cc3));export class DependsAdapter{['onMSFStatusChange'](_0x318565,_0x4635ec){}[_0x413913(0x19c)](_0x4db510){}[_0x413913(0x192)](_0xa9bfaa){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js index c003eaaf..9a3e9b1a 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x4fb5e8=_0x4378;(function(_0x2936be,_0x31c986){var _0xfe4bc0=_0x4378,_0x4ae0fe=_0x2936be();while(!![]){try{var _0x2e6bca=-parseInt(_0xfe4bc0(0x1e9))/0x1+parseInt(_0xfe4bc0(0x1e2))/0x2*(-parseInt(_0xfe4bc0(0x1e0))/0x3)+parseInt(_0xfe4bc0(0x1df))/0x4+-parseInt(_0xfe4bc0(0x1e5))/0x5+parseInt(_0xfe4bc0(0x1e6))/0x6+parseInt(_0xfe4bc0(0x1e1))/0x7*(-parseInt(_0xfe4bc0(0x1e3))/0x8)+parseInt(_0xfe4bc0(0x1e8))/0x9;if(_0x2e6bca===_0x31c986)break;else _0x4ae0fe['push'](_0x4ae0fe['shift']());}catch(_0x30dda8){_0x4ae0fe['push'](_0x4ae0fe['shift']());}}}(_0x138f,0xe8c0e));function _0x138f(){var _0x3f0894=['18640620SUmYKp','481814GNlwsW','5394628eVJATc','3DnWpmb','700qfHmQt','2550578kEfjAs','140224VSxkHh','dispatchCallWithJson','3661140cEuFzf','10653912OLMOzc','dispatchRequest'];_0x138f=function(){return _0x3f0894;};return _0x138f();}function _0x4378(_0xf1157,_0x446a3f){var _0x138f73=_0x138f();return _0x4378=function(_0x437865,_0x571faf){_0x437865=_0x437865-0x1df;var _0x5868c3=_0x138f73[_0x437865];return _0x5868c3;},_0x4378(_0xf1157,_0x446a3f);}export class DispatcherAdapter{[_0x4fb5e8(0x1e7)](_0xbc498a){}['dispatchCall'](_0x194824){}[_0x4fb5e8(0x1e4)](_0x25370c){}} \ No newline at end of file +function _0x525f(_0x424404,_0x545114){var _0x19438f=_0x1943();return _0x525f=function(_0x525f6a,_0x45a530){_0x525f6a=_0x525f6a-0x108;var _0x2bb24b=_0x19438f[_0x525f6a];return _0x2bb24b;},_0x525f(_0x424404,_0x545114);}var _0x51c01d=_0x525f;function _0x1943(){var _0x7832d1=['133zSKMUR','dispatchCallWithJson','578024rhTQKf','7917095HSvYOM','4018026FZTXSY','164jlikqi','2012778XDqdBm','1178573kAkSvV','2211VrfQwT','30318255YPMURi','dispatchCall'];_0x1943=function(){return _0x7832d1;};return _0x1943();}(function(_0x1e5f8b,_0x275482){var _0x2e034f=_0x525f,_0x2837a8=_0x1e5f8b();while(!![]){try{var _0xc00d7f=-parseInt(_0x2e034f(0x111))/0x1+parseInt(_0x2e034f(0x110))/0x2+parseInt(_0x2e034f(0x112))/0x3*(-parseInt(_0x2e034f(0x10f))/0x4)+-parseInt(_0x2e034f(0x10d))/0x5+parseInt(_0x2e034f(0x10e))/0x6+-parseInt(_0x2e034f(0x10a))/0x7*(parseInt(_0x2e034f(0x10c))/0x8)+parseInt(_0x2e034f(0x108))/0x9;if(_0xc00d7f===_0x275482)break;else _0x2837a8['push'](_0x2837a8['shift']());}catch(_0x440cac){_0x2837a8['push'](_0x2837a8['shift']());}}}(_0x1943,0xd6c7b));export class DispatcherAdapter{['dispatchRequest'](_0x9a8298){}[_0x51c01d(0x109)](_0x377642){}[_0x51c01d(0x10b)](_0x3ae8b7){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/NodeIGlobalAdapter.js b/src/core.lib/src/adapters/NodeIGlobalAdapter.js index 717cc54d..5b74676b 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -var _0x102263=_0x22c6;function _0x5c28(){var _0x30668e=['6198IdOgJE','14vaItzq','onInstallFinished','onUpdateGeneralFlag','91CxxyCi','207663vzvjIb','3823893IzLNJj','fixPicImgType','getAppSetting','4YfdNdF','6502505johbGM','onShowErrUITips','onGetSrvCalTime','28130pTHIqZ','4418964OVQoDv','50PUNcyR','60016zClOli'];_0x5c28=function(){return _0x30668e;};return _0x5c28();}(function(_0xb1551a,_0x6818f2){var _0x1ea854=_0x22c6,_0x358d88=_0xb1551a();while(!![]){try{var _0x354e75=parseInt(_0x1ea854(0xfb))/0x1+-parseInt(_0x1ea854(0x100))/0x2*(parseInt(_0x1ea854(0xf3))/0x3)+parseInt(_0x1ea854(0xf7))/0x4*(-parseInt(_0x1ea854(0xf8))/0x5)+-parseInt(_0x1ea854(0xff))/0x6*(-parseInt(_0x1ea854(0xf2))/0x7)+-parseInt(_0x1ea854(0xfe))/0x8+parseInt(_0x1ea854(0xf4))/0x9+-parseInt(_0x1ea854(0xfd))/0xa*(-parseInt(_0x1ea854(0xfc))/0xb);if(_0x354e75===_0x6818f2)break;else _0x358d88['push'](_0x358d88['shift']());}catch(_0x157759){_0x358d88['push'](_0x358d88['shift']());}}}(_0x5c28,0xa6a0a));function _0x22c6(_0x26ef9f,_0x58c661){var _0x5c288d=_0x5c28();return _0x22c6=function(_0x22c629,_0x45d8ac){_0x22c629=_0x22c629-0xf0;var _0x3c678d=_0x5c288d[_0x22c629];return _0x3c678d;},_0x22c6(_0x26ef9f,_0x58c661);}export class GlobalAdapter{['onLog'](..._0x101efa){}[_0x102263(0xfa)](..._0x2db58a){}[_0x102263(0xf9)](..._0x42fbf1){}[_0x102263(0xf5)](..._0x4c300b){}[_0x102263(0xf6)](..._0x36fb85){}[_0x102263(0xf0)](..._0x4df8b5){}[_0x102263(0xf1)](..._0x2bd7cd){}['onGetOfflineMsg'](..._0x51abd0){}} \ No newline at end of file +var _0x5e3318=_0xd95c;function _0x509f(){var _0x3de43a=['onShowErrUITips','7431132qIKpHF','82746rlqFHu','6kjHRsf','139120UCXcxu','2104017csXKbq','985530OCAlUi','onInstallFinished','287904RCyzLC','217domjhg','onUpdateGeneralFlag','9326MityCG'];_0x509f=function(){return _0x3de43a;};return _0x509f();}(function(_0x1f43c7,_0xe3bc15){var _0x444492=_0xd95c,_0x485441=_0x1f43c7();while(!![]){try{var _0x527bbd=parseInt(_0x444492(0xc9))/0x1*(-parseInt(_0x444492(0xcd))/0x2)+parseInt(_0x444492(0xcf))/0x3+-parseInt(_0x444492(0xce))/0x4+parseInt(_0x444492(0xc4))/0x5+-parseInt(_0x444492(0xcb))/0x6+-parseInt(_0x444492(0xc7))/0x7*(-parseInt(_0x444492(0xc6))/0x8)+parseInt(_0x444492(0xcc))/0x9;if(_0x527bbd===_0xe3bc15)break;else _0x485441['push'](_0x485441['shift']());}catch(_0x46db67){_0x485441['push'](_0x485441['shift']());}}}(_0x509f,0xb0443));function _0xd95c(_0x15437c,_0x59d768){var _0x509f1e=_0x509f();return _0xd95c=function(_0xd95c1,_0x5b20e0){_0xd95c1=_0xd95c1-0xc4;var _0x489d03=_0x509f1e[_0xd95c1];return _0x489d03;},_0xd95c(_0x15437c,_0x59d768);}export class GlobalAdapter{['onLog'](..._0x20d6ec){}['onGetSrvCalTime'](..._0x5dca48){}[_0x5e3318(0xca)](..._0x1bde90){}['fixPicImgType'](..._0x46ee80){}['getAppSetting'](..._0x4ffe1f){}[_0x5e3318(0xc5)](..._0x511a19){}[_0x5e3318(0xc8)](..._0x3ff875){}['onGetOfflineMsg'](..._0x45c264){}} \ No newline at end of file diff --git a/src/core.lib/src/adapters/index.js b/src/core.lib/src/adapters/index.js index 83a4b8fa..4e264b24 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5e80aa,_0x36adf8){var _0x4869ca=_0x3606,_0x428666=_0x5e80aa();while(!![]){try{var _0x545e4b=parseInt(_0x4869ca(0x15b))/0x1+-parseInt(_0x4869ca(0x161))/0x2+-parseInt(_0x4869ca(0x160))/0x3+parseInt(_0x4869ca(0x15a))/0x4+-parseInt(_0x4869ca(0x15f))/0x5*(-parseInt(_0x4869ca(0x15d))/0x6)+-parseInt(_0x4869ca(0x15c))/0x7*(-parseInt(_0x4869ca(0x15e))/0x8)+parseInt(_0x4869ca(0x162))/0x9;if(_0x545e4b===_0x36adf8)break;else _0x428666['push'](_0x428666['shift']());}catch(_0xfb43d2){_0x428666['push'](_0x428666['shift']());}}}(_0x1aa2,0x8d7aa));export*from'./NodeIDependsAdapter';function _0x3606(_0x465442,_0x58c394){var _0x1aa297=_0x1aa2();return _0x3606=function(_0x3606f4,_0xaf52e8){_0x3606f4=_0x3606f4-0x15a;var _0x19d4d6=_0x1aa297[_0x3606f4];return _0x19d4d6;},_0x3606(_0x465442,_0x58c394);}function _0x1aa2(){var _0x282122=['2584RzlBmm','48175NnMGfZ','203147MILlON','18BwgfYu','296iwiauf','191845vNZLkH','2471844IVeqWy','1381388fKXfwi','7707915ZOvIiU'];_0x1aa2=function(){return _0x282122;};return _0x1aa2();}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2aae45,_0x272d0e){var _0x1ceb8d=_0x11c3,_0x30a322=_0x2aae45();while(!![]){try{var _0x9e1903=-parseInt(_0x1ceb8d(0x69))/0x1+parseInt(_0x1ceb8d(0x6f))/0x2*(parseInt(_0x1ceb8d(0x6d))/0x3)+parseInt(_0x1ceb8d(0x6e))/0x4+-parseInt(_0x1ceb8d(0x71))/0x5+parseInt(_0x1ceb8d(0x6c))/0x6*(parseInt(_0x1ceb8d(0x6b))/0x7)+parseInt(_0x1ceb8d(0x72))/0x8*(parseInt(_0x1ceb8d(0x70))/0x9)+parseInt(_0x1ceb8d(0x6a))/0xa;if(_0x9e1903===_0x272d0e)break;else _0x30a322['push'](_0x30a322['shift']());}catch(_0x1858f7){_0x30a322['push'](_0x30a322['shift']());}}}(_0x3ae5,0x3075f));export*from'./NodeIDependsAdapter';function _0x11c3(_0x427af2,_0x2e4696){var _0x3ae5f4=_0x3ae5();return _0x11c3=function(_0x11c378,_0x55238b){_0x11c378=_0x11c378-0x69;var _0x2a3f7b=_0x3ae5f4[_0x11c378];return _0x2a3f7b;},_0x11c3(_0x427af2,_0x2e4696);}export*from'./NodeIDispatcherAdapter';function _0x3ae5(){var _0x297793=['144NhaIwq','660632nXjFKF','1044cyvXzV','576333dzzoUo','1783535jQZsWM','16rtPDce','56742uqHsun','2528300ZknNHR','2086xdsRXp','822FhpUnm'];_0x3ae5=function(){return _0x297793;};return _0x3ae5();}export*from'./NodeIGlobalAdapter'; \ No newline at end of file diff --git a/src/core.lib/src/apis/collection.js b/src/core.lib/src/apis/collection.js index b3a4151f..cb9f1ab5 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -function _0x218c(_0x3873db,_0x190031){const _0x1ebe9f=_0x1ebe();return _0x218c=function(_0x218c97,_0x51d493){_0x218c97=_0x218c97-0x82;let _0x365a3a=_0x1ebe9f[_0x218c97];return _0x365a3a;},_0x218c(_0x3873db,_0x190031);}const _0x5f24a3=_0x218c;(function(_0x36ea9d,_0x42de59){const _0x420c89=_0x218c,_0x2485ae=_0x36ea9d();while(!![]){try{const _0x2326bb=parseInt(_0x420c89(0x8d))/0x1*(parseInt(_0x420c89(0x96))/0x2)+parseInt(_0x420c89(0x87))/0x3*(-parseInt(_0x420c89(0x95))/0x4)+-parseInt(_0x420c89(0x8e))/0x5*(-parseInt(_0x420c89(0x8f))/0x6)+parseInt(_0x420c89(0x85))/0x7*(-parseInt(_0x420c89(0x84))/0x8)+parseInt(_0x420c89(0x88))/0x9*(parseInt(_0x420c89(0x97))/0xa)+-parseInt(_0x420c89(0x94))/0xb*(parseInt(_0x420c89(0x83))/0xc)+parseInt(_0x420c89(0x93))/0xd*(parseInt(_0x420c89(0x8c))/0xe);if(_0x2326bb===_0x42de59)break;else _0x2485ae['push'](_0x2485ae['shift']());}catch(_0xc88842){_0x2485ae['push'](_0x2485ae['shift']());}}}(_0x1ebe,0x1aec5));import{napCatCore}from'..';function _0x1ebe(){const _0x1299a5=['214992CXDoIg','getCollectionService','getCollectionItemList','createNewCollectionItem','10543Beqhmc','187FgCboL','44edTPlZ','764YHUDQE','10seleGz','toString','122952DhuNVQ','952NFoQzV','8813kidoGf','session','28023lcZUfc','850482QoIwRz','createCollection','getAllCollection','now','1190BqaDFQ','509LMChyA','25WRiLKu'];_0x1ebe=function(){return _0x1299a5;};return _0x1ebe();}export class NTQQCollectionApi{static async[_0x5f24a3(0x89)](_0x1021e1,_0x2fecb1,_0x538ae4,_0x5f1aa5,_0x19bec9){const _0x453c72=_0x5f24a3;let _0xa6d800={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x1021e1,'strId':_0x538ae4,'groupId':'0','groupName':'','uid':_0x2fecb1},'customGroupId':'0','createTime':Date[_0x453c72(0x8b)]()[_0x453c72(0x82)](),'sequence':Date[_0x453c72(0x8b)]()[_0x453c72(0x82)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x5f1aa5,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x19bec9,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore['session'][_0x453c72(0x90)]()[_0x453c72(0x92)](_0xa6d800);}static async[_0x5f24a3(0x8a)](_0x6436b5=0x0,_0x36eea0=0x32){const _0x2320a7=_0x5f24a3;let _0x2287e4={'category':_0x6436b5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x36eea0,'searchDown':!![]};return napCatCore[_0x2320a7(0x86)][_0x2320a7(0x90)]()[_0x2320a7(0x91)](_0x2287e4);}} \ No newline at end of file +const _0x37462c=_0x2107;function _0x5bb5(){const _0x4e329b=['1398pHXpxN','createCollection','1300DOAWQV','toString','1501171uqlwwb','now','getAllCollection','5390908kpKbVk','1201494KvXwZw','24jnEucm','9085505EDlxEj','getCollectionService','createNewCollectionItem','335yYuiIw','session','44505LKZPaK','getCollectionItemList','2JDLOGx','103617gdREwH'];_0x5bb5=function(){return _0x4e329b;};return _0x5bb5();}(function(_0x2e9f21,_0x36efe7){const _0x8ab1ce=_0x2107,_0x1b83fb=_0x2e9f21();while(!![]){try{const _0x4ef862=-parseInt(_0x8ab1ce(0x1ba))/0x1*(parseInt(_0x8ab1ce(0x1b4))/0x2)+parseInt(_0x8ab1ce(0x1b5))/0x3+parseInt(_0x8ab1ce(0x1bd))/0x4+parseInt(_0x8ab1ce(0x1c3))/0x5*(-parseInt(_0x8ab1ce(0x1b6))/0x6)+parseInt(_0x8ab1ce(0x1be))/0x7*(-parseInt(_0x8ab1ce(0x1bf))/0x8)+parseInt(_0x8ab1ce(0x1c5))/0x9*(parseInt(_0x8ab1ce(0x1b8))/0xa)+parseInt(_0x8ab1ce(0x1c0))/0xb;if(_0x4ef862===_0x36efe7)break;else _0x1b83fb['push'](_0x1b83fb['shift']());}catch(_0x163218){_0x1b83fb['push'](_0x1b83fb['shift']());}}}(_0x5bb5,0xc80a3));function _0x2107(_0x2febd6,_0x3b3ff9){const _0x5bb5c1=_0x5bb5();return _0x2107=function(_0x210778,_0xfc5d10){_0x210778=_0x210778-0x1b4;let _0x26f74b=_0x5bb5c1[_0x210778];return _0x26f74b;},_0x2107(_0x2febd6,_0x3b3ff9);}import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x37462c(0x1b7)](_0x5c8bc9,_0x298947,_0x531fbf,_0x67573f,_0x453e86){const _0x1e31e2=_0x37462c;let _0x3decf0={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5c8bc9,'strId':_0x531fbf,'groupId':'0','groupName':'','uid':_0x298947},'customGroupId':'0','createTime':Date['now']()[_0x1e31e2(0x1b9)](),'sequence':Date[_0x1e31e2(0x1bb)]()[_0x1e31e2(0x1b9)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x67573f,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x453e86,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x1e31e2(0x1c4)][_0x1e31e2(0x1c1)]()[_0x1e31e2(0x1c2)](_0x3decf0);}static async[_0x37462c(0x1bc)](_0x226d62=0x0,_0x5c391d=0x32){const _0x39d3a0=_0x37462c;let _0x1b4cf6={'category':_0x226d62,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5c391d,'searchDown':!![]};return napCatCore[_0x39d3a0(0x1c4)][_0x39d3a0(0x1c1)]()[_0x39d3a0(0x1c6)](_0x1b4cf6);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/file.js b/src/core.lib/src/apis/file.js index e745f002..1db8faaa 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x14c271=_0x42ca;(function(_0xed578,_0x7ddce5){const _0x4b4593=_0x42ca,_0x4d8ad9=_0xed578();while(!![]){try{const _0xc64252=-parseInt(_0x4b4593(0x1e7))/0x1+parseInt(_0x4b4593(0x1eb))/0x2*(parseInt(_0x4b4593(0x1ca))/0x3)+parseInt(_0x4b4593(0x1d4))/0x4+-parseInt(_0x4b4593(0x1e2))/0x5+parseInt(_0x4b4593(0x1e4))/0x6+parseInt(_0x4b4593(0x1b5))/0x7*(parseInt(_0x4b4593(0x1c1))/0x8)+parseInt(_0x4b4593(0x1d3))/0x9*(-parseInt(_0x4b4593(0x1bf))/0xa);if(_0xc64252===_0x7ddce5)break;else _0x4d8ad9['push'](_0x4d8ad9['shift']());}catch(_0x277d72){_0x4d8ad9['push'](_0x4d8ad9['shift']());}}}(_0x1575,0xf31df));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x325ac7 from'path';import _0x56dfae from'fs';function _0x1575(){const _0x4e8bd4=['uploadFile','1503752YQGuRd','getVideoPlayUrlV2','gBhKl','onRichMediaDownloadComplete','34wzVWMk','indexOf','addCacheScanedPaths','filePath','YPfvw','jhobf','OsDZV','oNiPw','scanCache','下载超时','getVideoUrl','addListener','downloadRichMedia','getMsgService','/gchatpic_new/0/0-0-','unlink','IpOqY','dGRYH','urlResult','defaultFileDownloadPath','1407xnqqsa','msgId','getHotUpdateCachePath','copyFile','clearCache','getRkey','DySau','getDesktopTmpPath','getChatCacheList','fileUuid','19370oXONzy','PIC','26024IIyZyP','util','clearCacheDataByKeys','aldbh','delete','GiCUW','/download','group_rkey','domainUrl','57453UDTjvk','fileTypeFromFile','clearChatCache','startsWith','getRichMediaService','includes','getStorageCleanService','join','session','999XtIDGr','4667776Affihm','url','clearChatCacheInfo','downloadMedia','&rkey=','FpHEC','set','getCacheSessionPathList','TwGKy','md5HexStr','elementId','getFileSize','existsSync','addCacheScannedPaths','4411285zkABJR','setCacheSilentScan','8702754nsjrXY','basename'];_0x1575=function(){return _0x4e8bd4;};return _0x1575();}import _0x1bc39c from'fs/promises';import{logDebug}from'@/common/utils/log';function _0x42ca(_0x19c4ab,_0x1d03e8){const _0x15757b=_0x1575();return _0x42ca=function(_0x42ca71,_0x5633fb){_0x42ca71=_0x42ca71-0x1ae;let _0x4dd7c4=_0x15757b[_0x42ca71];return _0x4dd7c4;},_0x42ca(_0x19c4ab,_0x1d03e8);}import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x238258 from'file-type';import{MsgListener}from'@/core/listeners';import _0x438b17 from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0x14c271(0x1ea)]=_0xf74431=>{const _0x1ac714=_0x14c271,_0x34e416={'YPfvw':function(_0x112eb3,_0x26e2f9){return _0x112eb3(_0x26e2f9);}};for(const [_0x17dd4c,_0xb5b0c3]of downloadMediaTasks){_0x34e416[_0x1ac714(0x1ef)](_0xb5b0c3,_0xf74431),downloadMediaTasks[_0x1ac714(0x1c5)](_0x17dd4c);}},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x498ea7=_0x42ca;napCatCore[_0x498ea7(0x1f6)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x5d2f52){const _0x5367bd=_0x14c271;return _0x238258[_0x5367bd(0x1cb)](_0x5d2f52);}static async[_0x14c271(0x1b8)](_0xf23ba0,_0xa5583c){const _0x2d44be=_0x14c271;await napCatCore[_0x2d44be(0x1c2)][_0x2d44be(0x1b8)](_0xf23ba0,_0xa5583c);}static async[_0x14c271(0x1df)](_0x2af09e){const _0x18b0bd=_0x14c271;return await napCatCore[_0x18b0bd(0x1c2)][_0x18b0bd(0x1df)](_0x2af09e);}static async[_0x14c271(0x1f5)](_0x4c0d21,_0x586dce){const _0x2cd39d=_0x14c271;return(await napCatCore[_0x2cd39d(0x1d2)][_0x2cd39d(0x1ce)]()[_0x2cd39d(0x1e8)]({'chatType':_0x4c0d21['chatType'],'peerUid':_0x4c0d21['peerUid'],'guildId':'0'},_0x4c0d21[_0x2cd39d(0x1b6)],_0x586dce[_0x2cd39d(0x1de)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x2cd39d(0x1b3)][_0x2cd39d(0x1c9)][0x0][_0x2cd39d(0x1d5)];}static async[_0x14c271(0x1e6)](_0xd539a3,_0x55bfa6=ElementType[_0x14c271(0x1c0)],_0x119189=0x0){const _0x1c6a98=_0x14c271,_0x26b474={'GiCUW':function(_0x561188,_0x3fb410){return _0x561188(_0x3fb410);},'OsDZV':function(_0x4cafe1,_0x2557b8){return _0x4cafe1===_0x2557b8;}},_0x7ead50=await _0x26b474[_0x1c6a98(0x1c6)](calculateFileMD5,_0xd539a3);let _0x4e6e3a=(await NTQQFileApi['getFileType'](_0xd539a3))?.['ext']||'';_0x4e6e3a&&(_0x4e6e3a='.'+_0x4e6e3a);let _0xb086f7=''+_0x325ac7[_0x1c6a98(0x1e5)](_0xd539a3);_0x26b474[_0x1c6a98(0x1f1)](_0xb086f7[_0x1c6a98(0x1ec)]('.'),-0x1)&&(_0xb086f7+=_0x4e6e3a);const _0x2b644b=napCatCore['session'][_0x1c6a98(0x1ae)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x7ead50,'fileName':_0xb086f7,'elementType':_0x55bfa6,'elementSubType':_0x119189,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x1c6a98(0x1b8)](_0xd539a3,_0x2b644b);const _0x1c7390=await NTQQFileApi[_0x1c6a98(0x1df)](_0xd539a3);return{'md5':_0x7ead50,'fileName':_0xb086f7,'path':_0x2b644b,'fileSize':_0x1c7390,'ext':_0x4e6e3a};}static async[_0x14c271(0x1d7)](_0x471b1c,_0x1b12c3,_0x2a5852,_0x4878d2,_0x5954f9,_0x3a7204,_0xa03b46=0x3e8*0x3c*0x2,_0x2305ca=![]){const _0x84b936=_0x14c271,_0x5d1c81={'jhobf':function(_0x1c8c79,_0xce963){return _0x1c8c79(_0xce963);},'gBhKl':_0x84b936(0x1f4),'dGRYH':function(_0x550ecf){return _0x550ecf();}};if(_0x3a7204&&_0x56dfae[_0x84b936(0x1e0)](_0x3a7204)){if(_0x2305ca)try{await _0x1bc39c[_0x84b936(0x1b0)](_0x3a7204);}catch(_0x3cadc4){}else return _0x3a7204;}return new Promise((_0xb72706,_0x2189d1)=>{const _0x3463e6=_0x84b936;let _0x5f3eaf=![];const _0xd20ee8=_0x2591b7=>{const _0x39ac38=_0x42ca;if(_0x2591b7[_0x39ac38(0x1b6)]===_0x471b1c){_0x5f3eaf=!![];let _0x4bdff6=_0x2591b7[_0x39ac38(0x1ee)];if(_0x4bdff6[_0x39ac38(0x1cd)]('\x5c')){const _0xa327=sessionConfig[_0x39ac38(0x1b4)];_0x4bdff6=_0x325ac7[_0x39ac38(0x1d1)](_0xa327,_0x4bdff6);}_0x5d1c81[_0x39ac38(0x1f0)](_0xb72706,_0x4bdff6);}};downloadMediaTasks[_0x3463e6(0x1da)](_0x5d1c81[_0x3463e6(0x1b2)](randomUUID),_0xd20ee8),setTimeout(()=>{const _0x4d31be=_0x3463e6;!_0x5f3eaf&&_0x2189d1(_0x5d1c81[_0x4d31be(0x1e9)]);},_0xa03b46),napCatCore[_0x3463e6(0x1d2)][_0x3463e6(0x1ae)]()[_0x3463e6(0x1f7)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x471b1c,'chatType':_0x1b12c3,'peerUid':_0x2a5852,'elementId':_0x4878d2,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x5954f9});});}static async['getImageSize'](_0x5e3783){const _0x21fbda={'DySau':function(_0x5d32b9,_0x341f20){return _0x5d32b9(_0x341f20);},'oNiPw':function(_0x23769d,_0x1e4767,_0x3ce2bc){return _0x23769d(_0x1e4767,_0x3ce2bc);}};return new Promise((_0x58ebc9,_0x1b3b38)=>{const _0x3c8c89=_0x42ca;_0x21fbda[_0x3c8c89(0x1f2)](_0x438b17,_0x5e3783,(_0x14a3e6,_0x32cfb7)=>{const _0x1f843b=_0x3c8c89;_0x14a3e6?_0x21fbda[_0x1f843b(0x1bb)](_0x1b3b38,_0x14a3e6):_0x58ebc9(_0x32cfb7);});});}static async['getImageUrl'](_0x1588fe,_0x1f60e9){const _0x1e8788=_0x14c271,_0x4712c1={'zWQpC':_0x1e8788(0x1c7),'TwGKy':_0x1e8788(0x1d8),'FpHEC':function(_0x1817dd,_0x5af522){return _0x1817dd+_0x5af522;},'aldbh':function(_0x23865f,_0x5a89a0){return _0x23865f+_0x5a89a0;},'RShXP':function(_0x5c7637,_0x2ff667){return _0x5c7637+_0x2ff667;},'IpOqY':function(_0x581956,_0x50bfc4,_0x3fbbd8){return _0x581956(_0x50bfc4,_0x3fbbd8);}};if(!_0x1588fe)return'';const _0x149dbd=_0x1588fe['originImageUrl'],_0x499820=_0x1588fe[_0x1e8788(0x1dd)],_0x5c6759=_0x1588fe[_0x1e8788(0x1dd)],_0x28c46f=_0x1588fe[_0x1e8788(0x1be)];if(_0x149dbd){if(_0x149dbd[_0x1e8788(0x1cd)](_0x4712c1['zWQpC'])){if(_0x149dbd[_0x1e8788(0x1cf)](_0x4712c1[_0x1e8788(0x1dc)]))return _0x4712c1[_0x1e8788(0x1d9)](IMAGE_HTTP_HOST_NT,_0x149dbd);const _0x21c34b=await rkeyManager[_0x1e8788(0x1ba)](),_0x42f672=_0x1f60e9?_0x21c34b['private_rkey']:_0x21c34b[_0x1e8788(0x1c8)];return _0x4712c1[_0x1e8788(0x1c4)](_0x4712c1['RShXP'](IMAGE_HTTP_HOST_NT,_0x149dbd),''+_0x42f672);}else return IMAGE_HTTP_HOST+_0x149dbd;}else{if(_0x5c6759||_0x499820)return IMAGE_HTTP_HOST+_0x1e8788(0x1af)+(_0x5c6759||_0x499820)['toUpperCase']()+'/0';}return _0x4712c1[_0x1e8788(0x1b1)](logDebug,'图片url获取失败',_0x1588fe),'';}}export class NTQQFileCacheApi{static async[_0x14c271(0x1e3)](_0x232b7=!![]){return'';}static[_0x14c271(0x1db)](){return'';}static[_0x14c271(0x1b9)](_0x14d2ba=['tmp','hotUpdate']){const _0x4e986e=_0x14c271;return napCatCore[_0x4e986e(0x1d2)][_0x4e986e(0x1d0)]()[_0x4e986e(0x1c3)](_0x14d2ba);}static[_0x14c271(0x1e1)](_0x432905={}){const _0x64a291=_0x14c271;return napCatCore[_0x64a291(0x1d2)][_0x64a291(0x1d0)]()[_0x64a291(0x1ed)](_0x432905);}static[_0x14c271(0x1f3)](){const _0x54dfb5=_0x14c271;return napCatCore[_0x54dfb5(0x1d2)][_0x54dfb5(0x1d0)]()[_0x54dfb5(0x1f3)]();}static[_0x14c271(0x1b7)](){return'';}static[_0x14c271(0x1bc)](){return'';}static[_0x14c271(0x1bd)](_0x3dbb89,_0x19a5c7=0x3e8,_0x51f02b=0x0){const _0x5b43ba=_0x14c271;return napCatCore[_0x5b43ba(0x1d2)][_0x5b43ba(0x1d0)]()['getChatCacheInfo'](_0x3dbb89,_0x19a5c7,0x1,_0x51f02b);}static['getFileCacheInfo'](_0x256a4f,_0x14f17b=0x3e8,_0x57391a){const _0x468318=_0x57391a?_0x57391a:{'fileType':_0x256a4f};}static async[_0x14c271(0x1cc)](_0x2f25a0=[],_0x25c571=[]){const _0x25189a=_0x14c271;return napCatCore[_0x25189a(0x1d2)][_0x25189a(0x1d0)]()[_0x25189a(0x1d6)](_0x2f25a0,_0x25c571);}} \ No newline at end of file +const _0xe831c1=_0x3c3a;(function(_0x19b383,_0x57ccb8){const _0x27caeb=_0x3c3a,_0x235dcd=_0x19b383();while(!![]){try{const _0x455040=parseInt(_0x27caeb(0x190))/0x1+parseInt(_0x27caeb(0x181))/0x2*(-parseInt(_0x27caeb(0x148))/0x3)+parseInt(_0x27caeb(0x17e))/0x4*(-parseInt(_0x27caeb(0x17a))/0x5)+parseInt(_0x27caeb(0x183))/0x6*(parseInt(_0x27caeb(0x161))/0x7)+-parseInt(_0x27caeb(0x14f))/0x8+parseInt(_0x27caeb(0x15c))/0x9*(-parseInt(_0x27caeb(0x16b))/0xa)+parseInt(_0x27caeb(0x189))/0xb;if(_0x455040===_0x57ccb8)break;else _0x235dcd['push'](_0x235dcd['shift']());}catch(_0x32a5e0){_0x235dcd['push'](_0x235dcd['shift']());}}}(_0x5e3c,0xdbc39));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x1aaaef from'path';import _0x3d137d from'fs';import _0x1075a2 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x5e3c(){const _0x48a923=['6WLgVsf','onLoginSuccess','chatType','clearChatCache','getFileType','addCacheScannedPaths','existsSync','401768MZsxBW','getRichMediaService','basename','downloadRichMedia','tmp','fileUuid','uploadFile','clearCache','getMsgService','hotUpdate','unlink','viERk','scanCache','9HlRAzU','filePath','getFileSize','下载超时','util','57337rLuDGl','join','&rkey=','peerUid','copyFile','private_rkey','getChatCacheList','clearCacheDataByKeys','getStorageCleanService','iAWlF','15756850cxGevH','originImageUrl','/download','msgId','clearChatCacheInfo','GPZMh','ext','getImageUrl','indexOf','addListener','elementId','md5HexStr','toUpperCase','PIC','delete','7967945NXScHH','startsWith','urlResult','NapEA','4BMuZwJ','domainUrl','HbPDZ','457426JpMZFH','XdEXK','636VPCKQN','downloadMedia','addCacheScanedPaths','getHotUpdateCachePath','session','getImageSize','37843905IKgBfW','includes','onRichMediaDownloadComplete','defaultFileDownloadPath','QvzJV','vIfqV','pYzlw','268473kweWmP'];_0x5e3c=function(){return _0x48a923;};return _0x5e3c();}import*as _0x321324 from'file-type';import{MsgListener}from'@/core/listeners';import _0x7d3f2f from'image-size';import{sessionConfig}from'@/core/sessionConfig';import{randomUUID}from'crypto';import{rkeyManager}from'../utils/rkey';import{AsyncQueue}from'@/common/utils/AsyncQueue';const getRKeyTaskQueue=new AsyncQueue(),downloadMediaTasks=new Map(),downloadMediaListener=new MsgListener();downloadMediaListener[_0xe831c1(0x18b)]=_0x4c6ef7=>{const _0xc37a7f=_0xe831c1,_0x211930={'SJRte':function(_0x1e4b05,_0x1c6d7f){return _0x1e4b05(_0x1c6d7f);}};for(const [_0x4d55d1,_0x49810f]of downloadMediaTasks){_0x211930['SJRte'](_0x49810f,_0x4c6ef7),downloadMediaTasks[_0xc37a7f(0x179)](_0x4d55d1);}},setTimeout(()=>{const _0x13ea30=_0xe831c1;napCatCore[_0x13ea30(0x149)](()=>{const _0x5e0d4e=_0x13ea30;napCatCore[_0x5e0d4e(0x174)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x760ee4){return _0x321324['fileTypeFromFile'](_0x760ee4);}static async[_0xe831c1(0x165)](_0x83e01e,_0x10f333){const _0x30be8c=_0xe831c1;await napCatCore[_0x30be8c(0x160)][_0x30be8c(0x165)](_0x83e01e,_0x10f333);}static async[_0xe831c1(0x15e)](_0x46648c){return await napCatCore['util']['getFileSize'](_0x46648c);}static async['getVideoUrl'](_0x504992,_0x3b49eb){const _0x388782=_0xe831c1;return(await napCatCore[_0x388782(0x187)][_0x388782(0x150)]()['getVideoPlayUrlV2']({'chatType':_0x504992[_0x388782(0x14a)],'peerUid':_0x504992[_0x388782(0x164)],'guildId':'0'},_0x504992[_0x388782(0x16e)],_0x3b49eb[_0x388782(0x175)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x388782(0x17c)][_0x388782(0x17f)][0x0]['url'];}static async[_0xe831c1(0x155)](_0x4bf859,_0x45d055=ElementType[_0xe831c1(0x178)],_0x501a96=0x0){const _0x3d335d=_0xe831c1,_0x2f551c={'QvzJV':function(_0x3c7058,_0x2c2580){return _0x3c7058(_0x2c2580);},'vIfqV':function(_0x2c8d1f,_0x16ef7a){return _0x2c8d1f+_0x16ef7a;},'TmTlx':function(_0x1abd50,_0x577a1f){return _0x1abd50===_0x577a1f;}},_0x2b4be1=await _0x2f551c[_0x3d335d(0x18d)](calculateFileMD5,_0x4bf859);let _0x5b23d=(await NTQQFileApi[_0x3d335d(0x14c)](_0x4bf859))?.[_0x3d335d(0x171)]||'';_0x5b23d&&(_0x5b23d=_0x2f551c[_0x3d335d(0x18e)]('.',_0x5b23d));let _0x26146c=''+_0x1aaaef[_0x3d335d(0x151)](_0x4bf859);_0x2f551c['TmTlx'](_0x26146c[_0x3d335d(0x173)]('.'),-0x1)&&(_0x26146c+=_0x5b23d);const _0x30ce61=napCatCore[_0x3d335d(0x187)][_0x3d335d(0x157)]()['getRichMediaFilePathForGuild']({'md5HexStr':_0x2b4be1,'fileName':_0x26146c,'elementType':_0x45d055,'elementSubType':_0x501a96,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x3d335d(0x165)](_0x4bf859,_0x30ce61);const _0x117798=await NTQQFileApi[_0x3d335d(0x15e)](_0x4bf859);return{'md5':_0x2b4be1,'fileName':_0x26146c,'path':_0x30ce61,'fileSize':_0x117798,'ext':_0x5b23d};}static async[_0xe831c1(0x184)](_0x1e4e58,_0x412df5,_0x4b28ab,_0x48ef9f,_0x3812ff,_0x2b29a9,_0x5c9a9d=0x3e8*0x3c*0x2,_0x2c7fa2=![]){const _0x5b3c5c=_0xe831c1,_0x29e6d4={'HbPDZ':function(_0x28d620,_0x55f2ad){return _0x28d620(_0x55f2ad);},'NapEA':function(_0x44d8d9,_0x597919,_0x33e825){return _0x44d8d9(_0x597919,_0x33e825);}};if(_0x2b29a9&&_0x3d137d[_0x5b3c5c(0x14e)](_0x2b29a9)){if(_0x2c7fa2)try{await _0x1075a2[_0x5b3c5c(0x159)](_0x2b29a9);}catch(_0x543ec2){}else return _0x2b29a9;}return new Promise((_0xe26beb,_0x3f83e9)=>{const _0x3c9349=_0x5b3c5c;let _0x5dc214=![];const _0x5bf33b=_0x4f13ef=>{const _0x4a6cd2=_0x3c3a;if(_0x4f13ef[_0x4a6cd2(0x16e)]===_0x1e4e58){_0x5dc214=!![];let _0xddc884=_0x4f13ef[_0x4a6cd2(0x15d)];if(_0xddc884['startsWith']('\x5c')){const _0x5150e8=sessionConfig[_0x4a6cd2(0x18c)];_0xddc884=_0x1aaaef[_0x4a6cd2(0x162)](_0x5150e8,_0xddc884);}_0x29e6d4[_0x4a6cd2(0x180)](_0xe26beb,_0xddc884);}};downloadMediaTasks['set'](randomUUID(),_0x5bf33b),_0x29e6d4[_0x3c9349(0x17d)](setTimeout,()=>{const _0x49c71e=_0x3c9349;!_0x5dc214&&_0x29e6d4['HbPDZ'](_0x3f83e9,_0x49c71e(0x15f));},_0x5c9a9d),napCatCore['session'][_0x3c9349(0x157)]()[_0x3c9349(0x152)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x1e4e58,'chatType':_0x412df5,'peerUid':_0x4b28ab,'elementId':_0x48ef9f,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x3812ff});});}static async[_0xe831c1(0x188)](_0x575218){const _0x59dadf={'cQiwM':function(_0x303c85,_0x135d2d){return _0x303c85(_0x135d2d);},'iAWlF':function(_0x539eaf,_0x4e6e35){return _0x539eaf(_0x4e6e35);},'XdEXK':function(_0x5ad38f,_0x5857a6,_0x5ecb08){return _0x5ad38f(_0x5857a6,_0x5ecb08);}};return new Promise((_0x148921,_0x1d80b7)=>{const _0x376c19=_0x3c3a;_0x59dadf[_0x376c19(0x182)](_0x7d3f2f,_0x575218,(_0x467464,_0x55e119)=>{const _0x55090f=_0x376c19;_0x467464?_0x59dadf['cQiwM'](_0x1d80b7,_0x467464):_0x59dadf[_0x55090f(0x16a)](_0x148921,_0x55e119);});});}static async[_0xe831c1(0x172)](_0x2a1749,_0x5d2885){const _0x30e6a9=_0xe831c1,_0xc1c793={'GPZMh':_0x30e6a9(0x16d),'sKSpg':_0x30e6a9(0x163),'viERk':function(_0x21e4c6,_0x2dc5aa){return _0x21e4c6+_0x2dc5aa;},'lPybu':function(_0x15e75d,_0x474aa8){return _0x15e75d||_0x474aa8;},'pYzlw':function(_0x35fc6f,_0x147ed9,_0x501bf3){return _0x35fc6f(_0x147ed9,_0x501bf3);},'WlGAM':'图片url获取失败'};if(!_0x2a1749)return'';const _0x5ced00=_0x2a1749[_0x30e6a9(0x16c)],_0x419306=_0x2a1749[_0x30e6a9(0x176)],_0x3e2d44=_0x2a1749['md5HexStr'],_0x4c12d9=_0x2a1749[_0x30e6a9(0x154)];if(_0x5ced00){if(_0x5ced00[_0x30e6a9(0x17b)](_0xc1c793[_0x30e6a9(0x170)])){if(_0x5ced00[_0x30e6a9(0x18a)](_0xc1c793['sKSpg']))return IMAGE_HTTP_HOST_NT+_0x5ced00;const _0x33016c=await rkeyManager['getRkey'](),_0x557976=_0x5d2885?_0x33016c[_0x30e6a9(0x166)]:_0x33016c['group_rkey'];return _0xc1c793[_0x30e6a9(0x15a)](IMAGE_HTTP_HOST_NT,_0x5ced00)+(''+_0x557976);}else return _0xc1c793['viERk'](IMAGE_HTTP_HOST,_0x5ced00);}else{if(_0x3e2d44||_0x419306)return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+_0xc1c793['lPybu'](_0x3e2d44,_0x419306)[_0x30e6a9(0x177)]()+'/0';}return _0xc1c793[_0x30e6a9(0x18f)](logDebug,_0xc1c793['WlGAM'],_0x2a1749),'';}}function _0x3c3a(_0x3f1c16,_0x33df6e){const _0x5e3cb9=_0x5e3c();return _0x3c3a=function(_0x3c3a96,_0x5d5b34){_0x3c3a96=_0x3c3a96-0x148;let _0x3c9589=_0x5e3cb9[_0x3c3a96];return _0x3c9589;},_0x3c3a(_0x3f1c16,_0x33df6e);}export class NTQQFileCacheApi{static async['setCacheSilentScan'](_0x3e70c5=!![]){return'';}static['getCacheSessionPathList'](){return'';}static[_0xe831c1(0x156)](_0x59fb9e=[_0xe831c1(0x153),_0xe831c1(0x158)]){const _0x3a8afb=_0xe831c1;return napCatCore[_0x3a8afb(0x187)][_0x3a8afb(0x169)]()[_0x3a8afb(0x168)](_0x59fb9e);}static[_0xe831c1(0x14d)](_0x335812={}){const _0x36458a=_0xe831c1;return napCatCore[_0x36458a(0x187)][_0x36458a(0x169)]()[_0x36458a(0x185)](_0x335812);}static[_0xe831c1(0x15b)](){const _0x4c729c=_0xe831c1;return napCatCore[_0x4c729c(0x187)][_0x4c729c(0x169)]()[_0x4c729c(0x15b)]();}static[_0xe831c1(0x186)](){return'';}static['getDesktopTmpPath'](){return'';}static[_0xe831c1(0x167)](_0xcfb7d6,_0x4977f1=0x3e8,_0x228257=0x0){const _0xb3d467=_0xe831c1;return napCatCore[_0xb3d467(0x187)][_0xb3d467(0x169)]()['getChatCacheInfo'](_0xcfb7d6,_0x4977f1,0x1,_0x228257);}static['getFileCacheInfo'](_0x4732b1,_0x47cd6e=0x3e8,_0x40f4c7){const _0xd6336a=_0x40f4c7?_0x40f4c7:{'fileType':_0x4732b1};}static async[_0xe831c1(0x14b)](_0x70530b=[],_0x487a6b=[]){const _0x35b7f9=_0xe831c1;return napCatCore[_0x35b7f9(0x187)][_0x35b7f9(0x169)]()[_0x35b7f9(0x16f)](_0x70530b,_0x487a6b);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/friend.js b/src/core.lib/src/apis/friend.js index 9651e2ee..df240b93 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -const _0x5c87b6=_0x3eff;function _0x3eff(_0x15c943,_0x3d6702){const _0x28aa3c=_0x28aa();return _0x3eff=function(_0x3eff5b,_0x3f0356){_0x3eff5b=_0x3eff5b-0x1f0;let _0x4433c2=_0x28aa3c[_0x3eff5b];return _0x4433c2;},_0x3eff(_0x15c943,_0x3d6702);}(function(_0x594d9d,_0x16bae9){const _0x23d444=_0x3eff,_0x3f115b=_0x594d9d();while(!![]){try{const _0x5bb067=-parseInt(_0x23d444(0x1f3))/0x1*(-parseInt(_0x23d444(0x1ff))/0x2)+-parseInt(_0x23d444(0x1fc))/0x3+parseInt(_0x23d444(0x1f9))/0x4+parseInt(_0x23d444(0x1fe))/0x5+-parseInt(_0x23d444(0x1fa))/0x6+-parseInt(_0x23d444(0x1fb))/0x7+parseInt(_0x23d444(0x1f6))/0x8;if(_0x5bb067===_0x16bae9)break;else _0x3f115b['push'](_0x3f115b['shift']());}catch(_0x558fab){_0x3f115b['push'](_0x3f115b['shift']());}}}(_0x28aa,0x976cf));function _0x28aa(){const _0x2af90d=['getFriends','ScTIj','111bxRQfX','handleFriendRequest','getBuddyService','4796464JYfgtF','isBuddy','approvalFriendRequest','2684540PVqxjc','4671960IPssJP','2798327Dcvqhn','3226950tyKIxs','NodeIKernelBuddyListener/onBuddyListChange','5555550hqjTJw','8874OGzrpw','FWyNC','session','CallNormalEvent','split','length','NodeIKernelBuddyService/getBuddyList'];_0x28aa=function(){return _0x2af90d;};return _0x28aa();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x5c87b6(0x1f7)](_0x5739b0){const _0x41d4b2=_0x5c87b6;return napCatCore[_0x41d4b2(0x201)][_0x41d4b2(0x1f5)]()['isBuddy'](_0x5739b0);}static async[_0x5c87b6(0x1f1)](_0x70a85=![]){const _0x27694a=_0x5c87b6,_0x1e0c45={'ScTIj':_0x27694a(0x1f0),'FWyNC':_0x27694a(0x1fd)};let [_0xa3fa8a,_0x241ff6]=await NTEventDispatch[_0x27694a(0x202)](_0x1e0c45[_0x27694a(0x1f2)],_0x1e0c45[_0x27694a(0x200)],0x1,0x1388,_0x70a85);const _0x5a9b64=[];for(const _0x2b2da6 of _0x241ff6){for(const _0x43e6c5 of _0x2b2da6['buddyList']){_0x5a9b64['push'](_0x43e6c5);}}return _0x5a9b64;}static async[_0x5c87b6(0x1f4)](_0x55551b,_0x561fa2){const _0x4bebc5=_0x5c87b6,_0x5008de={'BTczs':function(_0x292daa,_0x46e227){return _0x292daa<_0x46e227;}};let _0x466a19=_0x55551b[_0x4bebc5(0x203)]('|');if(_0x5008de['BTczs'](_0x466a19[_0x4bebc5(0x204)],0x2))return;let _0x4a481e=_0x466a19[0x0],_0x5bd6bc=_0x466a19[0x1];napCatCore['session'][_0x4bebc5(0x1f5)]()?.[_0x4bebc5(0x1f8)]({'friendUid':_0x4a481e,'reqTime':_0x5bd6bc,'accept':_0x561fa2});}} \ No newline at end of file +function _0x4f92(){const _0x771e19=['8368943jAvoPT','724537LnJaOB','handleFriendRequest','session','getBuddyService','HSBNC','length','approvalFriendRequest','isBuddy','lNALg','12KSkzpe','CallNormalEvent','823188EfiMSq','NodeIKernelBuddyListener/onBuddyListChange','getFriends','4QCvhJD','24EaMiNK','push','vDRPS','63pGvBSr','1268490wFJnFE','549417yJsRCj','663620Nhxsti','split','2iOnrAF','57778ldIESR'];_0x4f92=function(){return _0x771e19;};return _0x4f92();}function _0x4d9d(_0x517eb6,_0x13c52a){const _0x4f929d=_0x4f92();return _0x4d9d=function(_0x4d9d0b,_0x1d3043){_0x4d9d0b=_0x4d9d0b-0xcc;let _0x12ea16=_0x4f929d[_0x4d9d0b];return _0x12ea16;},_0x4d9d(_0x517eb6,_0x13c52a);}const _0x4d17c3=_0x4d9d;(function(_0x5ba94a,_0x32b1c2){const _0x4a0026=_0x4d9d,_0x22773c=_0x5ba94a();while(!![]){try{const _0x379c8d=-parseInt(_0x4a0026(0xdb))/0x1*(parseInt(_0x4a0026(0xd8))/0x2)+-parseInt(_0x4a0026(0xd5))/0x3*(parseInt(_0x4a0026(0xcf))/0x4)+-parseInt(_0x4a0026(0xd6))/0x5+-parseInt(_0x4a0026(0xcc))/0x6+-parseInt(_0x4a0026(0xd9))/0x7*(parseInt(_0x4a0026(0xd0))/0x8)+-parseInt(_0x4a0026(0xd3))/0x9*(-parseInt(_0x4a0026(0xd4))/0xa)+parseInt(_0x4a0026(0xda))/0xb*(parseInt(_0x4a0026(0xe4))/0xc);if(_0x379c8d===_0x32b1c2)break;else _0x22773c['push'](_0x22773c['shift']());}catch(_0x2ed5cb){_0x22773c['push'](_0x22773c['shift']());}}}(_0x4f92,0x6cfbc));import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4d17c3(0xe2)](_0x4f9647){const _0x9ef32f=_0x4d17c3;return napCatCore[_0x9ef32f(0xdd)]['getBuddyService']()['isBuddy'](_0x4f9647);}static async[_0x4d17c3(0xce)](_0x2ebd54=![]){const _0x102c10=_0x4d17c3,_0x243f17={'lNALg':'NodeIKernelBuddyService/getBuddyList','vDRPS':_0x102c10(0xcd)};let [_0x1a2b7d,_0x2e2ec5]=await NTEventDispatch[_0x102c10(0xe5)](_0x243f17[_0x102c10(0xe3)],_0x243f17[_0x102c10(0xd2)],0x1,0x1388,_0x2ebd54);const _0x354388=[];for(const _0xb40550 of _0x2e2ec5){for(const _0x162201 of _0xb40550['buddyList']){_0x354388[_0x102c10(0xd1)](_0x162201);}}return _0x354388;}static async[_0x4d17c3(0xdc)](_0x5ea350,_0x27efd6){const _0xcf16b9=_0x4d17c3,_0x303077={'HSBNC':function(_0x2a25b7,_0x25cc87){return _0x2a25b7<_0x25cc87;}};let _0x4a2473=_0x5ea350[_0xcf16b9(0xd7)]('|');if(_0x303077[_0xcf16b9(0xdf)](_0x4a2473[_0xcf16b9(0xe0)],0x2))return;let _0x4cb38d=_0x4a2473[0x0],_0x186364=_0x4a2473[0x1];napCatCore[_0xcf16b9(0xdd)][_0xcf16b9(0xde)]()?.[_0xcf16b9(0xe1)]({'friendUid':_0x4cb38d,'reqTime':_0x186364,'accept':_0x27efd6});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/group.js b/src/core.lib/src/apis/group.js index 5c2858f6..33844d9c 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x5b8cf6=_0xa00c;function _0xa00c(_0x584479,_0x1b7066){const _0x3c7851=_0x3c78();return _0xa00c=function(_0xa00c68,_0xaa2837){_0xa00c68=_0xa00c68-0x1cd;let _0x4fbd7b=_0x3c7851[_0xa00c68];return _0x4fbd7b;},_0xa00c(_0x584479,_0x1b7066);}(function(_0x42e994,_0x10521f){const _0x4c0c4d=_0xa00c,_0x1e13b5=_0x42e994();while(!![]){try{const _0x229164=parseInt(_0x4c0c4d(0x1fe))/0x1+-parseInt(_0x4c0c4d(0x1dc))/0x2*(-parseInt(_0x4c0c4d(0x1da))/0x3)+parseInt(_0x4c0c4d(0x1fd))/0x4*(parseInt(_0x4c0c4d(0x1d4))/0x5)+-parseInt(_0x4c0c4d(0x1e4))/0x6+-parseInt(_0x4c0c4d(0x1d3))/0x7+-parseInt(_0x4c0c4d(0x1f7))/0x8*(parseInt(_0x4c0c4d(0x1db))/0x9)+parseInt(_0x4c0c4d(0x1e5))/0xa;if(_0x229164===_0x10521f)break;else _0x1e13b5['push'](_0x1e13b5['shift']());}catch(_0x24afb3){_0x1e13b5['push'](_0x1e13b5['shift']());}}}(_0x3c78,0x3abc9));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x5b8cf6(0x1e1)](_0x219039=![]){const _0x589c2f=_0x5b8cf6,_0x1efe39={'YJxth':'NodeIKernelGroupService/getGroupList','hVvhg':_0x589c2f(0x1e2)};let [_0x1c6645,_0x52ad07,_0x10877e]=await NTEventDispatch[_0x589c2f(0x1ed)](_0x1efe39['YJxth'],_0x1efe39[_0x589c2f(0x206)],0x1,0x1388,_0x219039);return _0x10877e;}static async['getGroupRecommendContactArkJson'](_0x1423b9){const _0x529899=_0x5b8cf6;return napCatCore['session'][_0x529899(0x210)]()[_0x529899(0x20c)](_0x1423b9);}static async[_0x5b8cf6(0x209)](_0x111a14,_0x4f5825){const _0x84a96=_0x5b8cf6;return napCatCore['session'][_0x84a96(0x1f3)]()[_0x84a96(0x212)](_0x111a14,_0x4f5825);}static async[_0x5b8cf6(0x1f0)](_0x34a796,_0x5573b6){const _0x3df075=_0x5b8cf6;return napCatCore[_0x3df075(0x1e9)]['getRichMediaService']()[_0x3df075(0x1d8)](_0x34a796,[0x66],_0x5573b6);}static async[_0x5b8cf6(0x20a)](_0x56a264,_0x2975ba){const _0x30ac72=_0x5b8cf6;return napCatCore[_0x30ac72(0x1e9)][_0x30ac72(0x1f3)]()[_0x30ac72(0x213)](_0x56a264,_0x2975ba);}static async[_0x5b8cf6(0x211)](_0x33fe70){const _0x5d1730=_0x5b8cf6,_0x3ca076={'KYNEo':_0x5d1730(0x1e6),'jsdMq':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x48c906,_0x51e485,_0x929f1d,_0x5d8ac0]=await NTEventDispatch[_0x5d1730(0x1ed)](_0x3ca076['KYNEo'],_0x3ca076[_0x5d1730(0x1ee)],0x1,0x1388,![],'',_0x33fe70);return _0x5d8ac0;}static async['getGroupMembers'](_0x124da7,_0x13be4a=0xbb8){const _0x299a06=_0x5b8cf6,_0x5dbaba={'CxRYT':_0x299a06(0x1ff),'pKpxy':function(_0x2ab97a,_0x5938fd){return _0x2ab97a!==_0x5938fd;},'ntNpZ':function(_0x220eaa,_0x37ea6b){return _0x220eaa+_0x37ea6b;},'Voveg':_0x299a06(0x1d2)},_0x3e3b95=napCatCore[_0x299a06(0x1e9)]['getGroupService'](),_0x5005db=_0x3e3b95['createMemberListScene'](_0x124da7,_0x5dbaba[_0x299a06(0x1e8)]),_0xb7f768=await _0x3e3b95[_0x299a06(0x1de)](_0x5005db,undefined,_0x13be4a);if(_0x5dbaba[_0x299a06(0x1f5)](_0xb7f768[_0x299a06(0x207)],0x0))throw _0x5dbaba[_0x299a06(0x1fa)](_0x5dbaba['Voveg'],_0xb7f768[_0x299a06(0x201)]);return _0xb7f768[_0x299a06(0x1f2)][_0x299a06(0x1fc)];}static async[_0x5b8cf6(0x1e0)](){}static async[_0x5b8cf6(0x1f4)](_0x4f1bae){const _0x16ff3e=_0x5b8cf6;return napCatCore[_0x16ff3e(0x1e9)][_0x16ff3e(0x1f3)]()[_0x16ff3e(0x20b)](_0x4f1bae);}static async[_0x5b8cf6(0x1d5)](){}static async[_0x5b8cf6(0x1f1)](_0x57854f){const _0x2fb060=_0x5b8cf6,_0x27bc20={'LGihN':_0x2fb060(0x1d6)};let _0x453bb3=await NTEventDispatch[_0x2fb060(0x20e)](_0x27bc20[_0x2fb060(0x20d)],0x1388,_0x57854f);return _0x453bb3[_0x2fb060(0x202)];}static async[_0x5b8cf6(0x20f)](_0xd32683,_0x3f667b){const _0x17c8ab=_0x5b8cf6,_0x132fff={'ALMuR':_0x17c8ab(0x1dd)},_0x243b70=(await NTQQUserApi[_0x17c8ab(0x204)]([_0x132fff[_0x17c8ab(0x205)]]))[_0x17c8ab(0x1ef)][_0x17c8ab(0x1ec)](_0x132fff[_0x17c8ab(0x205)]);return napCatCore[_0x17c8ab(0x1e9)][_0x17c8ab(0x210)]()['uploadGroupBulletinPic'](_0xd32683,_0x243b70,_0x3f667b);}static async[_0x5b8cf6(0x1e7)](_0x5baf16,_0x5e7ae6,_0xcc3d00){const _0x8347cf=_0x5b8cf6,_0x299a91={'kbuwk':function(_0x558d66,_0x32284c){return _0x558d66||_0x32284c;}};return napCatCore[_0x8347cf(0x1e9)][_0x8347cf(0x210)]()[_0x8347cf(0x1f6)](![],{'operateType':_0x5e7ae6,'targetMsg':{'seq':_0x5baf16[_0x8347cf(0x1d0)],'type':_0x5baf16['type'],'groupCode':_0x5baf16[_0x8347cf(0x1ce)]['groupCode'],'postscript':_0x299a91['kbuwk'](_0xcc3d00,'')}});}static async[_0x5b8cf6(0x203)](_0xaa5c5c){const _0x1277f6=_0x5b8cf6;return napCatCore['session'][_0x1277f6(0x210)]()['quitGroup'](_0xaa5c5c);}static async[_0x5b8cf6(0x1fb)](_0x22f46a,_0x2b8ba8,_0x367560=![],_0x2998b1=''){const _0x296b5e=_0x5b8cf6;return napCatCore[_0x296b5e(0x1e9)][_0x296b5e(0x210)]()[_0x296b5e(0x1fb)](_0x22f46a,_0x2b8ba8,_0x367560,_0x2998b1);}static async[_0x5b8cf6(0x1d7)](_0x55a648,_0x53be11){const _0x441e22=_0x5b8cf6;return napCatCore[_0x441e22(0x1e9)][_0x441e22(0x210)]()[_0x441e22(0x1cd)](_0x55a648,_0x53be11);}static async[_0x5b8cf6(0x1cf)](_0x41b076,_0x17f04e){const _0x32c387=_0x5b8cf6;return napCatCore['session'][_0x32c387(0x210)]()[_0x32c387(0x1df)](_0x41b076,_0x17f04e);}static async[_0x5b8cf6(0x208)](_0x30b2f1,_0xeecbed,_0x1d7cb1){const _0x53d18f=_0x5b8cf6;return napCatCore[_0x53d18f(0x1e9)]['getGroupService']()['modifyMemberCardName'](_0x30b2f1,_0xeecbed,_0x1d7cb1);}static async[_0x5b8cf6(0x1e3)](_0x492cdf,_0x4fbc97,_0x1bc7cb){const _0x30f454=_0x5b8cf6;return napCatCore[_0x30f454(0x1e9)][_0x30f454(0x210)]()['modifyMemberRole'](_0x492cdf,_0x4fbc97,_0x1bc7cb);}static async[_0x5b8cf6(0x1f9)](_0x890049,_0x44bbc5){const _0x151c78=_0x5b8cf6;return napCatCore['session'][_0x151c78(0x210)]()[_0x151c78(0x200)](_0x890049,_0x44bbc5,![]);}static async['setGroupTitle'](_0x569a6b,_0x5b3d61,_0x1173df){}static async[_0x5b8cf6(0x1d1)](_0x2a4efc,_0x22694f,_0x83dcbe=undefined,_0x5d9238=0x0,_0x4fca80=0x0){const _0x2184cc=_0x5b8cf6,_0x4ddbe0={'BABxv':_0x2184cc(0x1dd),'gaVwc':function(_0x8bae1c,_0x365a5b){return _0x8bae1c(_0x365a5b);}},_0x172df3=(await NTQQUserApi[_0x2184cc(0x204)]([_0x4ddbe0[_0x2184cc(0x1eb)]]))[_0x2184cc(0x1ef)][_0x2184cc(0x1ec)](_0x4ddbe0[_0x2184cc(0x1eb)]);let _0x22dc22={'text':_0x4ddbe0['gaVwc'](encodeURI,_0x22694f),'picInfo':_0x83dcbe,'oldFeedsId':'','pinned':_0x5d9238,'confirmRequired':_0x4fca80};return napCatCore[_0x2184cc(0x1e9)]['getGroupService']()[_0x2184cc(0x1d1)](_0x2a4efc,_0x172df3,_0x22dc22);}static async['getGroupRemainAtTimes'](_0x535d60){const _0x2bdff3=_0x5b8cf6;napCatCore[_0x2bdff3(0x1e9)][_0x2bdff3(0x210)]()[_0x2bdff3(0x1f8)](_0x535d60);}static async['getMemberExtInfo'](_0x28ef3b,_0x4950fe){const _0x350135=_0x5b8cf6;return napCatCore[_0x350135(0x1e9)][_0x350135(0x210)]()[_0x350135(0x1d9)]({'groupCode':_0x28ef3b,'sourceType':MemberExtSourceType[_0x350135(0x1ea)],'beginUin':'0','dataTime':'0','uinList':[_0x4950fe],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}}function _0x3c78(){const _0x1573a7=['LGihN','CallNoListenerEvent','uploadGroupBulletinPic','getGroupService','getSingleScreenNotifies','createGroupFolder','deleteGroupFolder','setMemberShutUp','group','banGroup','seq','publishGroupBulletin','获取群成员列表出错,','2116457SzNuDV','6970qygVfo','getGroupIgnoreNotifies','NodeIKernelGroupService/getGroupRecommendContactArkJson','banMember','deleteGroupFile','getMemberExtInfo','162186fjebJP','4020399mOmUYQ','2trmQSp','qun.qq.com','getNextMemberList','setGroupShutUp','getGroupNotifies','getGroups','NodeIKernelGroupListener/onGroupListUpdate','setMemberRole','2293590KtdGJo','6813080hajEgj','NodeIKernelGroupService/getSingleScreenNotifies','handleGroupRequest','CxRYT','session','TITLETYPE','BABxv','get','CallNormalEvent','jsdMq','domainPskeyMap','DelGroupFile','getArkJsonGroupShare','result','getRichMediaService','GetGroupFileCount','pKpxy','operateSysNotify','8DwoFUi','getGroupRemainAtTimes','setGroupName','ntNpZ','kickMember','infos','492SuSfPC','465080LDzqzx','groupMemberList_MainWindow','modifyGroupName','errMsg','arkJson','quitGroup','getPSkey','ALMuR','hVvhg','errCode','setMemberCard','CreatGroupFileFolder','DelGroupFileFolder','batchGetGroupFileCount','getGroupRecommendContactArkJson'];_0x3c78=function(){return _0x1573a7;};return _0x3c78();} \ No newline at end of file +const _0x552e34=_0x3f8d;(function(_0x3f94dd,_0x13b008){const _0x51be39=_0x3f8d,_0x575a4c=_0x3f94dd();while(!![]){try{const _0x17d572=-parseInt(_0x51be39(0x122))/0x1*(-parseInt(_0x51be39(0x124))/0x2)+-parseInt(_0x51be39(0x152))/0x3*(-parseInt(_0x51be39(0x11b))/0x4)+parseInt(_0x51be39(0x139))/0x5+-parseInt(_0x51be39(0x121))/0x6+parseInt(_0x51be39(0x12c))/0x7+-parseInt(_0x51be39(0x14e))/0x8*(-parseInt(_0x51be39(0x131))/0x9)+-parseInt(_0x51be39(0x11c))/0xa*(parseInt(_0x51be39(0x153))/0xb);if(_0x17d572===_0x13b008)break;else _0x575a4c['push'](_0x575a4c['shift']());}catch(_0x1b8dc4){_0x575a4c['push'](_0x575a4c['shift']());}}}(_0x29ba,0xa7b1f));import{MemberExtSourceType}from'../entities';function _0x3f8d(_0x5b2498,_0x5b7fc0){const _0x29ba20=_0x29ba();return _0x3f8d=function(_0x3f8d47,_0x482fe5){_0x3f8d47=_0x3f8d47-0x115;let _0x1ff84b=_0x29ba20[_0x3f8d47];return _0x1ff84b;},_0x3f8d(_0x5b2498,_0x5b7fc0);}function _0x29ba(){const _0x46950c=['12193TiWSUM','group','34hUJOyk','QbPKq','setMemberShutUp','tzuIS','WdDrT','result','CreatGroupFileFolder','DelGroupFileFolder','9062431fQbqYC','setMemberCard','get','getGroupRecommendContactArkJson','setGroupName','240003OPjIkB','operateSysNotify','HlLQh','NodeIKernelGroupListener/onGroupListUpdate','GetGroupFileCount','tsmHL','session','createGroupFolder','6094565oUkqkK','uploadGroupBulletinPic','getRichMediaService','getGroupNotifies','getArkJsonGroupShare','modifyMemberCardName','ptDlV','IwYUt','handleGroupRequest','modifyMemberRole','createMemberListScene','getGroupService','banMember','kickMember','CallNoListenerEvent','CallNormalEvent','publishGroupBulletin','infos','getSingleScreenNotifies','getPSkey','banGroup','152lBMXtb','seq','sVvCl','setGroupTitle','3520497vwifNL','418nhBueP','type','groupMemberList_MainWindow','qun.qq.com','errMsg','NodeIKernelGroupService/getSingleScreenNotifies','modifyGroupName','NodeIKernelGroupService/getGroupRecommendContactArkJson','deleteGroupFolder','getMemberExtInfo','setMemberRole','DelGroupFile','quitGroup','NodeIKernelGroupService/getGroupList','getGroupRemainAtTimes','errCode','4szpljS','783290hMTmrY','arkJson','fWQQt','setGroupShutUp','domainPskeyMap','4425708xUwKhH'];_0x29ba=function(){return _0x46950c;};return _0x29ba();}import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x3fa77b=![]){const _0x984870=_0x3f8d,_0x3dc5ff={'WdDrT':_0x984870(0x118),'tsmHL':_0x984870(0x134)};let [_0x326e65,_0x1273f8,_0x432a3d]=await NTEventDispatch[_0x984870(0x148)](_0x3dc5ff[_0x984870(0x128)],_0x3dc5ff[_0x984870(0x136)],0x1,0x1388,_0x3fa77b);return _0x432a3d;}static async[_0x552e34(0x12f)](_0x53dd41){const _0x348f63=_0x552e34;return napCatCore['session'][_0x348f63(0x144)]()[_0x348f63(0x12f)](_0x53dd41);}static async[_0x552e34(0x12a)](_0x253fbb,_0x48d5c8){const _0x390282=_0x552e34;return napCatCore[_0x390282(0x137)][_0x390282(0x13b)]()[_0x390282(0x138)](_0x253fbb,_0x48d5c8);}static async[_0x552e34(0x116)](_0x4955ca,_0xed06fe){const _0x4d4b78=_0x552e34;return napCatCore[_0x4d4b78(0x137)][_0x4d4b78(0x13b)]()['deleteGroupFile'](_0x4955ca,[0x66],_0xed06fe);}static async[_0x552e34(0x12b)](_0x312a28,_0xa53f10){const _0x4eac3b=_0x552e34;return napCatCore[_0x4eac3b(0x137)]['getRichMediaService']()[_0x4eac3b(0x15b)](_0x312a28,_0xa53f10);}static async[_0x552e34(0x14b)](_0x4e9a3f){const _0x27db2b=_0x552e34,_0x22230a={'RHwnq':_0x27db2b(0x158),'HlLQh':'NodeIKernelGroupListener/onGroupSingleScreenNotifies'};let [_0x58a664,_0x4655ed,_0x4b2300,_0x51a3d5]=await NTEventDispatch[_0x27db2b(0x148)](_0x22230a['RHwnq'],_0x22230a[_0x27db2b(0x133)],0x1,0x1388,![],'',_0x4e9a3f);return _0x51a3d5;}static async['getGroupMembers'](_0x2be46c,_0xbc0a13=0xbb8){const _0x352b09=_0x552e34,_0x2a05bf={'ptDlV':function(_0x1ad1cf,_0x3ba395){return _0x1ad1cf!==_0x3ba395;},'sVvCl':function(_0x261054,_0x3ebe95){return _0x261054+_0x3ebe95;},'TmlhK':'获取群成员列表出错,'},_0x452f78=napCatCore[_0x352b09(0x137)]['getGroupService'](),_0x4c9a74=_0x452f78[_0x352b09(0x143)](_0x2be46c,_0x352b09(0x155)),_0x533b12=await _0x452f78['getNextMemberList'](_0x4c9a74,undefined,_0xbc0a13);if(_0x2a05bf[_0x352b09(0x13f)](_0x533b12[_0x352b09(0x11a)],0x0))throw _0x2a05bf[_0x352b09(0x150)](_0x2a05bf['TmlhK'],_0x533b12[_0x352b09(0x157)]);return _0x533b12[_0x352b09(0x129)][_0x352b09(0x14a)];}static async[_0x552e34(0x13c)](){}static async[_0x552e34(0x135)](_0x42ac67){const _0x5e2d43=_0x552e34;return napCatCore[_0x5e2d43(0x137)][_0x5e2d43(0x13b)]()['batchGetGroupFileCount'](_0x42ac67);}static async['getGroupIgnoreNotifies'](){}static async[_0x552e34(0x13d)](_0x498edb){const _0x1a5a0c=_0x552e34,_0x563867={'tzuIS':_0x1a5a0c(0x15a)};let _0x351a26=await NTEventDispatch[_0x1a5a0c(0x147)](_0x563867[_0x1a5a0c(0x127)],0x1388,_0x498edb);return _0x351a26[_0x1a5a0c(0x11d)];}static async[_0x552e34(0x13a)](_0x319775,_0x3cc565){const _0x1e4712=_0x552e34,_0x28fc1f={'fWQQt':_0x1e4712(0x156)},_0x51971f=(await NTQQUserApi[_0x1e4712(0x14c)]([_0x1e4712(0x156)]))[_0x1e4712(0x120)][_0x1e4712(0x12e)](_0x28fc1f[_0x1e4712(0x11e)]);return napCatCore[_0x1e4712(0x137)][_0x1e4712(0x144)]()[_0x1e4712(0x13a)](_0x319775,_0x51971f,_0x3cc565);}static async[_0x552e34(0x141)](_0x1e87fd,_0x3da2b1,_0x4e7ada){const _0x56c42c=_0x552e34,_0x25a2cd={'IwYUt':function(_0xc5a80f,_0xbbdfaf){return _0xc5a80f||_0xbbdfaf;}};return napCatCore[_0x56c42c(0x137)][_0x56c42c(0x144)]()[_0x56c42c(0x132)](![],{'operateType':_0x3da2b1,'targetMsg':{'seq':_0x1e87fd[_0x56c42c(0x14f)],'type':_0x1e87fd[_0x56c42c(0x154)],'groupCode':_0x1e87fd[_0x56c42c(0x123)]['groupCode'],'postscript':_0x25a2cd[_0x56c42c(0x140)](_0x4e7ada,'')}});}static async[_0x552e34(0x117)](_0x468a35){const _0x4638bd=_0x552e34;return napCatCore[_0x4638bd(0x137)][_0x4638bd(0x144)]()['quitGroup'](_0x468a35);}static async['kickMember'](_0x334a9d,_0x19acfe,_0x349ab6=![],_0x1a9d7d=''){const _0x5e33c2=_0x552e34;return napCatCore[_0x5e33c2(0x137)]['getGroupService']()[_0x5e33c2(0x146)](_0x334a9d,_0x19acfe,_0x349ab6,_0x1a9d7d);}static async[_0x552e34(0x145)](_0x41945f,_0x207afe){const _0x18c958=_0x552e34;return napCatCore[_0x18c958(0x137)][_0x18c958(0x144)]()[_0x18c958(0x126)](_0x41945f,_0x207afe);}static async[_0x552e34(0x14d)](_0x502694,_0x7190a2){const _0x5e7c72=_0x552e34;return napCatCore[_0x5e7c72(0x137)]['getGroupService']()[_0x5e7c72(0x11f)](_0x502694,_0x7190a2);}static async[_0x552e34(0x12d)](_0x21d92b,_0x38438e,_0x3f46dd){const _0x2388da=_0x552e34;return napCatCore[_0x2388da(0x137)]['getGroupService']()[_0x2388da(0x13e)](_0x21d92b,_0x38438e,_0x3f46dd);}static async[_0x552e34(0x115)](_0x2beaef,_0x6ce247,_0x1167ff){const _0x3ad57d=_0x552e34;return napCatCore['session'][_0x3ad57d(0x144)]()[_0x3ad57d(0x142)](_0x2beaef,_0x6ce247,_0x1167ff);}static async[_0x552e34(0x130)](_0x167ecb,_0x381798){const _0x1d0609=_0x552e34;return napCatCore['session'][_0x1d0609(0x144)]()[_0x1d0609(0x159)](_0x167ecb,_0x381798,![]);}static async[_0x552e34(0x151)](_0x347c5b,_0x26da5e,_0x5bdb01){}static async[_0x552e34(0x149)](_0x349378,_0x5bd6d3,_0x118fd0=undefined,_0x4c4702=0x0,_0x452105=0x0){const _0xf2ab84=_0x552e34,_0x2d4caa={'QbPKq':'qun.qq.com','Cetmg':function(_0x29245e,_0x7f481a){return _0x29245e(_0x7f481a);}},_0x1d90ae=(await NTQQUserApi[_0xf2ab84(0x14c)]([_0x2d4caa[_0xf2ab84(0x125)]]))[_0xf2ab84(0x120)][_0xf2ab84(0x12e)](_0x2d4caa[_0xf2ab84(0x125)]);let _0x2ec752={'text':_0x2d4caa['Cetmg'](encodeURI,_0x5bd6d3),'picInfo':_0x118fd0,'oldFeedsId':'','pinned':_0x4c4702,'confirmRequired':_0x452105};return napCatCore[_0xf2ab84(0x137)][_0xf2ab84(0x144)]()['publishGroupBulletin'](_0x349378,_0x1d90ae,_0x2ec752);}static async[_0x552e34(0x119)](_0x175eab){const _0xdabbcc=_0x552e34;napCatCore['session'][_0xdabbcc(0x144)]()[_0xdabbcc(0x119)](_0x175eab);}static async[_0x552e34(0x15c)](_0x160336,_0x529338){const _0x5b29c9=_0x552e34;return napCatCore[_0x5b29c9(0x137)]['getGroupService']()['getMemberExtInfo']({'groupCode':_0x160336,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x529338],'uinNum':'','seq':'','groupType':'','richCardNameVer':'','memberExtFilter':{'memberLevelInfoUin':0x1,'memberLevelInfoPoint':0x1,'memberLevelInfoActiveDay':0x1,'memberLevelInfoLevel':0x1,'memberLevelInfoName':0x1,'levelName':0x1,'dataTime':0x1,'userShowFlag':0x1,'sysShowFlag':0x1,'timeToUpdate':0x1,'nickName':0x1,'specialTitle':0x1,'levelNameNew':0x1,'userShowFlagNew':0x1,'msgNeedField':0x1,'cmdUinFlagExt3Grocery':0x1,'memberIcon':0x1,'memberInfoSeq':0x1}});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/index.js b/src/core.lib/src/apis/index.js index 137c5dab..9723b638 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x21e3b7,_0x2ec31e){var _0x276643=_0x1990,_0x5c819e=_0x21e3b7();while(!![]){try{var _0x56aa51=-parseInt(_0x276643(0x166))/0x1*(parseInt(_0x276643(0x16c))/0x2)+parseInt(_0x276643(0x16a))/0x3*(-parseInt(_0x276643(0x169))/0x4)+-parseInt(_0x276643(0x167))/0x5+parseInt(_0x276643(0x16d))/0x6*(parseInt(_0x276643(0x165))/0x7)+parseInt(_0x276643(0x16f))/0x8*(parseInt(_0x276643(0x164))/0x9)+-parseInt(_0x276643(0x16b))/0xa+-parseInt(_0x276643(0x168))/0xb*(-parseInt(_0x276643(0x16e))/0xc);if(_0x56aa51===_0x2ec31e)break;else _0x5c819e['push'](_0x5c819e['shift']());}catch(_0x127cf6){_0x5c819e['push'](_0x5c819e['shift']());}}}(_0x4273,0x607e2));export*from'./file';function _0x4273(){var _0x493c6a=['833348AXIaFq','6CgFMIa','3908840lqWEbw','2YDUmZD','4418514BMhJOA','8004ngswFu','1552XikMFh','6894WnJjkf','7cRwjXc','226591CoTGug','1286870BjemGk','13222XfIlKs'];_0x4273=function(){return _0x493c6a;};return _0x4273();}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x1990(_0x29987b,_0x12a6a5){var _0x4273d5=_0x4273();return _0x1990=function(_0x19905c,_0x582e2a){_0x19905c=_0x19905c-0x164;var _0x3ca440=_0x4273d5[_0x19905c];return _0x3ca440;},_0x1990(_0x29987b,_0x12a6a5);}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x5c359a,_0x35fead){var _0x434699=_0xf2cf,_0x38396d=_0x5c359a();while(!![]){try{var _0x5b88e4=parseInt(_0x434699(0x16f))/0x1+parseInt(_0x434699(0x172))/0x2+parseInt(_0x434699(0x16b))/0x3*(-parseInt(_0x434699(0x16e))/0x4)+parseInt(_0x434699(0x173))/0x5+-parseInt(_0x434699(0x169))/0x6*(-parseInt(_0x434699(0x170))/0x7)+parseInt(_0x434699(0x16c))/0x8*(parseInt(_0x434699(0x16d))/0x9)+parseInt(_0x434699(0x171))/0xa*(-parseInt(_0x434699(0x16a))/0xb);if(_0x5b88e4===_0x35fead)break;else _0x38396d['push'](_0x38396d['shift']());}catch(_0x1a442f){_0x38396d['push'](_0x38396d['shift']());}}}(_0x5519,0xa405a));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./sign';function _0xf2cf(_0x19ad09,_0x1860f9){var _0x5519a5=_0x5519();return _0xf2cf=function(_0xf2cf63,_0x5aa134){_0xf2cf63=_0xf2cf63-0x169;var _0xf2e80e=_0x5519a5[_0xf2cf63];return _0xf2e80e;},_0xf2cf(_0x19ad09,_0x1860f9);}export*from'./system';function _0x5519(){var _0x43df3f=['3614065yHLVUR','1428oOjuPG','55wUCvQv','6cwiqyu','152qShrwl','563157TDSiMa','116680LWCHQa','808345ehKkJP','24941qgVKJk','5973780xeaSxK','298050IQsXMj'];_0x5519=function(){return _0x43df3f;};return _0x5519();} \ No newline at end of file diff --git a/src/core.lib/src/apis/msg.js b/src/core.lib/src/apis/msg.js index a2f735c2..701b39bf 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -const _0x2a3aa6=_0x5ee4;(function(_0x2f04b4,_0x6c71e){const _0x15a4d8=_0x5ee4,_0x82e6ef=_0x2f04b4();while(!![]){try{const _0x2e7592=parseInt(_0x15a4d8(0x20b))/0x1+parseInt(_0x15a4d8(0x215))/0x2+parseInt(_0x15a4d8(0x1ff))/0x3+parseInt(_0x15a4d8(0x209))/0x4*(parseInt(_0x15a4d8(0x20f))/0x5)+-parseInt(_0x15a4d8(0x1f9))/0x6+-parseInt(_0x15a4d8(0x20a))/0x7+-parseInt(_0x15a4d8(0x1e8))/0x8;if(_0x2e7592===_0x6c71e)break;else _0x82e6ef['push'](_0x82e6ef['shift']());}catch(_0x363f0d){_0x82e6ef['push'](_0x82e6ef['shift']());}}}(_0x309d,0xd1670));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 _0x5ee4(_0x1228ae,_0x246ff4){const _0x309df9=_0x309d();return _0x5ee4=function(_0x5ee4f0,_0x100e36){_0x5ee4f0=_0x5ee4f0-0x1de;let _0x1a8145=_0x309df9[_0x5ee4f0];return _0x1a8145;},_0x5ee4(_0x1228ae,_0x246ff4);}import{randomUUID}from'crypto';const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x2a3aa6(0x216)]=_0x14a9f1=>{const _0x5ed36c=_0x2a3aa6,_0x3f432a={'GaIVA':function(_0x450c72,_0x188f28){return _0x450c72(_0x188f28);}};for(const [_0x13652f,_0x45ec62]of GroupFileInfoUpdateTasks){_0x3f432a[_0x5ed36c(0x229)](_0x45ec62,_0x14a9f1),GroupFileInfoUpdateTasks[_0x5ed36c(0x224)](_0x13652f);}},msgListener[_0x2a3aa6(0x1e9)]=_0x407238=>{const _0x32bd5b=_0x2a3aa6,_0x26043={'LCBrj':function(_0x574802,_0x479cbb){return _0x574802(_0x479cbb);},'SOoIi':function(_0x34faa4,_0x313bb8){return _0x34faa4 instanceof _0x313bb8;}};for(const [_0x4ca324,_0x5790d2]of sentMsgTasks){_0x26043[_0x32bd5b(0x21e)](_0x5790d2,_0x407238),sentMsgTasks[_0x32bd5b(0x224)](_0x4ca324);}if(sendMessagePool[_0x407238[_0x32bd5b(0x1df)]]){const _0xc5909a=sendMessagePool[_0x407238[_0x32bd5b(0x1df)]]?.(_0x407238);_0x26043[_0x32bd5b(0x1fa)](_0xc5909a,Promise)&&_0xc5909a['then']()['catch'](logError);}},msgListener['onMsgInfoListUpdate']=_0x1afe3a=>{const _0x3529c9=_0x2a3aa6,_0x4f1b1f={'FwhrO':function(_0x366c19,_0x596721){return _0x366c19(_0x596721);}};_0x1afe3a[_0x3529c9(0x1f3)](_0x462790=>{const _0x4c4dfe=_0x3529c9,_0x4cd476={'geVYh':function(_0xbe18d3,_0x58956f){return _0xbe18d3(_0x58956f);},'gwfhQ':function(_0x1dbe2d,_0x5afb9b){const _0x186d3f=_0x5ee4;return _0x4f1b1f[_0x186d3f(0x1e1)](_0x1dbe2d,_0x5afb9b);}};new Promise((_0x5952c2,_0x38bf45)=>{const _0xdcaa19=_0x5ee4;for(const _0x3004f4 in sendSuccessCBMap){const _0x3f3bfe=sendSuccessCBMap[_0x3004f4],_0x20fc75=_0x4cd476[_0xdcaa19(0x1f1)](_0x3f3bfe,_0x462790),_0x443f99=_0x53b1a2=>{_0x53b1a2&&delete sendSuccessCBMap[_0x3004f4];};_0x20fc75 instanceof Promise?_0x20fc75[_0xdcaa19(0x1e4)](_0x443f99):_0x4cd476[_0xdcaa19(0x1e7)](_0x443f99,_0x20fc75);}})[_0x4c4dfe(0x1e4)]()[_0x4c4dfe(0x220)](log);});},setTimeout(()=>{const _0x3bfdad=_0x2a3aa6;napCatCore[_0x3bfdad(0x1e0)](()=>{const _0x536350=_0x3bfdad;napCatCore[_0x536350(0x228)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x2a3aa6(0x1f5)](_0x116339,_0x135831,_0x2ec76a,_0x53ee56=!![]){const _0x191682=_0x2a3aa6,_0x5a46a4={'fKHUd':function(_0x4ab1a4,_0x2bc84e){return _0x4ab1a4>_0x2bc84e;}};return _0x2ec76a=_0x2ec76a[_0x191682(0x1fd)](),napCatCore[_0x191682(0x1f0)]['getMsgService']()[_0x191682(0x1fe)](_0x116339,_0x135831,_0x2ec76a,_0x5a46a4[_0x191682(0x1eb)](_0x2ec76a[_0x191682(0x202)],0x3)?'2':'1',_0x53ee56);}static async[_0x2a3aa6(0x21a)](_0x249bfe,_0x1ec0d6,_0xc1a562){const _0x5ee498=_0x2a3aa6;return napCatCore[_0x5ee498(0x1f0)][_0x5ee498(0x226)]()[_0x5ee498(0x21a)](_0x249bfe,_0x1ec0d6,_0xc1a562);}static async[_0x2a3aa6(0x1ea)](_0x562dc5,_0x52ada2){const _0x4f6041=_0x2a3aa6;return await napCatCore[_0x4f6041(0x1f0)][_0x4f6041(0x226)]()[_0x4f6041(0x1ea)](_0x562dc5,_0x52ada2);}static async[_0x2a3aa6(0x223)](_0x3a9238,_0x30bd3f,_0x195bec,_0xb9a430,_0x532870){const _0x2b987b=_0x2a3aa6;return await napCatCore['session'][_0x2b987b(0x226)]()[_0x2b987b(0x223)](_0x3a9238,_0x30bd3f,_0x195bec,_0xb9a430,_0x532870);}static async[_0x2a3aa6(0x1f6)](_0x136096){}static async[_0x2a3aa6(0x21f)](_0x4ddb20){}static async[_0x2a3aa6(0x206)](_0x4fb16e){const _0x57c89b=_0x2a3aa6;return napCatCore[_0x57c89b(0x1f0)][_0x57c89b(0x226)]()[_0x57c89b(0x206)](_0x4fb16e);}static async[_0x2a3aa6(0x213)](_0x3492ba,_0x58317c){const _0x41adb8=_0x2a3aa6,_0xeb793e={'UDiQR':function(_0x4796bd,_0x5ef173){return _0x4796bd(_0x5ef173);},'bgQBb':_0x41adb8(0x221)};return new Promise(async(_0x36e2d5,_0x99ff4f)=>{const _0x1a7f0d=_0x41adb8;let _0x512e71=![];setTimeout(()=>{const _0x4b9345=_0x5ee4;!_0x512e71&&_0xeb793e[_0x4b9345(0x1ee)](_0x99ff4f,_0xeb793e[_0x4b9345(0x222)]);},0x1388);const _0x57f358=_0x2a8010=>{const _0x5d7a95=_0x5ee4;_0x512e71=!![],_0xeb793e[_0x5d7a95(0x1ee)](_0x36e2d5,_0x2a8010[_0x5d7a95(0x1ef)]);};GroupFileInfoUpdateTasks[_0x1a7f0d(0x21b)](randomUUID(),_0x57f358),await napCatCore[_0x1a7f0d(0x1f0)][_0x1a7f0d(0x219)]()[_0x1a7f0d(0x213)](_0x3492ba,_0x58317c);});}static async['getMsgHistory'](_0x353f3c,_0x13f1fa,_0x289d27){const _0x217f0e=_0x2a3aa6;return napCatCore['session']['getMsgService']()[_0x217f0e(0x20e)](_0x353f3c,_0x13f1fa,_0x289d27,!![]);}static async[_0x2a3aa6(0x218)](){}static async[_0x2a3aa6(0x1ec)](_0x46fca2,_0x31776f){const _0x549f7d=_0x2a3aa6;await napCatCore[_0x549f7d(0x1f0)][_0x549f7d(0x226)]()['recallMsg']({'chatType':_0x46fca2[_0x549f7d(0x205)],'peerUid':_0x46fca2[_0x549f7d(0x1df)]},_0x31776f);}static async[_0x2a3aa6(0x217)](_0x7f8373,_0x3901cd,_0x33c6e2=!![],_0xd6fd90=0x2710){const _0x3f30d5=_0x2a3aa6,_0x56c56f={'JbcqQ':function(_0x132824,_0x322ef7){return _0x132824>_0x322ef7;},'TZcse':function(_0x583ad9,_0x296b3a){return _0x583ad9(_0x296b3a);},'Jdect':function(_0x32196d){return _0x32196d();},'IHTxz':'发送超时','XXytC':function(_0xc3995d,_0x5acaef){return _0xc3995d===_0x5acaef;},'AAptD':function(_0x515617,_0x2588b1){return _0x515617(_0x2588b1);},'zfVri':function(_0x264ada,_0x3e57c0,_0x47c0ad){return _0x264ada(_0x3e57c0,_0x47c0ad);}},_0x5b40dc=_0x7f8373[_0x3f30d5(0x1df)];let _0xa12d6c=0x0;const _0x3dea70=async()=>{const _0x2b3402=_0x3f30d5;if(_0x56c56f[_0x2b3402(0x1f2)](_0xa12d6c,_0xd6fd90))throw _0x2b3402(0x1e3);const _0x1840e6=sendMessagePool[_0x7f8373[_0x2b3402(0x1df)]];if(_0x1840e6)return await _0x56c56f[_0x2b3402(0x21d)](sleep,0x1f4),_0xa12d6c+=0x1f4,await _0x56c56f['Jdect'](_0x3dea70);else return;};return await _0x56c56f['Jdect'](_0x3dea70),new Promise((_0x336a8c,_0x4ec657)=>{const _0xd16576=_0x3f30d5,_0x503778={'rVoHR':function(_0x5dac0e,_0x2f44cd){const _0x3589be=_0x5ee4;return _0x56c56f[_0x3589be(0x1de)](_0x5dac0e,_0x2f44cd);},'uslzR':function(_0xa4034,_0x81c079){return _0x56c56f['AAptD'](_0xa4034,_0x81c079);}};let _0x31f17c=![],_0x5234ca=null;const _0x184753=_0x56c56f[_0xd16576(0x21c)](randomUUID);sendSuccessCBMap[_0x184753]=_0x369f3b=>{const _0x10177b=_0xd16576;if(_0x503778[_0x10177b(0x1e2)](_0x369f3b[_0x10177b(0x1ed)],_0x5234ca?.['msgId'])){if(_0x369f3b[_0x10177b(0x208)]===0x2)return delete sendSuccessCBMap[_0x184753],_0x31f17c=!![],_0x503778['uslzR'](_0x336a8c,_0x369f3b),!![];return![];}return![];},sendMessagePool[_0x5b40dc]=async _0x4eb8cd=>{delete sendMessagePool[_0x5b40dc],_0x5234ca=_0x4eb8cd;},_0x56c56f[_0xd16576(0x201)](setTimeout,()=>{const _0x58bec0=_0xd16576;if(_0x31f17c)return;delete sendMessagePool[_0x5b40dc],delete sendSuccessCBMap[_0x184753],_0x4ec657(_0x56c56f[_0x58bec0(0x1f4)]);},_0xd6fd90);const _0x288e29=napCatCore[_0xd16576(0x1f0)][_0xd16576(0x226)]()['sendMsg']('0',_0x7f8373,_0x3901cd,new Map());});}static async[_0x2a3aa6(0x1fc)](_0xec06c4,_0x267e1f,_0x30e7c1){const _0x146f43=_0x2a3aa6;return napCatCore['session'][_0x146f43(0x226)]()[_0x146f43(0x1fc)](_0x30e7c1,_0xec06c4,[_0x267e1f],new Map());}static async[_0x2a3aa6(0x207)](_0x532110,_0x599b76,_0x301886){const _0x1ba329=_0x2a3aa6,_0xddbb0b={'Kefga':function(_0xe8afe3,_0x237a9d){return _0xe8afe3(_0x237a9d);},'RCrFg':'转发消息超时','rAIlZ':function(_0x28910f,_0x5bc85a){return _0x28910f(_0x5bc85a);},'AIKpm':function(_0x4b7e26){return _0x4b7e26();},'TFcls':function(_0x15978f,_0x3de7ad,_0x3c33d3){return _0x15978f(_0x3de7ad,_0x3c33d3);}},_0x3a7861=_0x301886[_0x1ba329(0x212)](_0x24dca2=>{const _0x1a3dec=_0x1ba329;return{'msgId':_0x24dca2,'senderShowName':selfInfo[_0x1a3dec(0x225)]};});return new Promise((_0x51e3b6,_0x23626a)=>{const _0x27870a=_0x1ba329,_0x9e16bc={'DvZUE':function(_0x241016,_0x4ed868){const _0x21774a=_0x5ee4;return _0xddbb0b[_0x21774a(0x211)](_0x241016,_0x4ed868);}};let _0x141cdd=![];const _0x33d081=_0x31d656=>{const _0x52d577=_0x5ee4,_0x3de105=_0x31d656[_0x52d577(0x1e6)][_0x52d577(0x214)](_0x387da6=>_0x387da6[_0x52d577(0x210)]);if(!_0x3de105)return;const _0x39c9c0=JSON[_0x52d577(0x1f8)](_0x3de105[_0x52d577(0x210)][_0x52d577(0x204)]);if(_0x39c9c0[_0x52d577(0x1f7)]!='com.tencent.multimsg')return;_0x31d656['peerUid']==_0x599b76[_0x52d577(0x1df)]&&_0x31d656[_0x52d577(0x1e5)]==selfInfo[_0x52d577(0x200)]&&(_0x141cdd=!![],_0x9e16bc[_0x52d577(0x20c)](_0x51e3b6,_0x31d656));};sentMsgTasks[_0x27870a(0x21b)](_0xddbb0b[_0x27870a(0x203)](randomUUID),_0x33d081),_0xddbb0b[_0x27870a(0x227)](setTimeout,()=>{const _0x3aaf70=_0x27870a;!_0x141cdd&&_0xddbb0b[_0x3aaf70(0x1fb)](_0x23626a,_0xddbb0b['RCrFg']);},0x1388),napCatCore[_0x27870a(0x1f0)]['getMsgService']()[_0x27870a(0x20d)](_0x3a7861,_0x532110,_0x599b76,[],new Map());});}}function _0x309d(){const _0x42d919=['sendMsg','fetchRecentContact','getRichMediaService','getMultiMsg','set','Jdect','TZcse','LCBrj','activateChatAndGetHistory','catch','获取群文件列表超时','bgQBb','getMsgsBySeqAndCount','delete','nick','getMsgService','TFcls','addListener','GaIVA','XXytC','peerUid','onLoginSuccess','FwhrO','rVoHR','发送超时','then','senderUid','elements','gwfhQ','4797536POSQjw','onAddSendMsg','getMsgsByMsgId','fKHUd','recallMsg','msgId','UDiQR','item','session','geVYh','JbcqQ','forEach','IHTxz','setEmojiLike','activateChat','app','parse','6454398vMiutR','SOoIi','Kefga','forwardMsg','toString','setMsgEmojiLikes','855531MjUbXZ','uid','zfVri','length','AIKpm','bytesData','chatType','setMsgRead','multiForwardMsg','sendStatus','3076208gXtYiu','9878190IJsNRQ','539913suZUue','DvZUE','multiForwardMsgWithComment','getMsgsIncludeSelf','10cCmCtU','arkElement','rAIlZ','map','getGroupFileList','find','3162226jFLPvr','onGroupFileInfoUpdate'];_0x309d=function(){return _0x42d919;};return _0x309d();} \ No newline at end of file +function _0x476a(_0x1d9aae,_0x398756){const _0x5ed3e8=_0x5ed3();return _0x476a=function(_0x476a6b,_0x587b23){_0x476a6b=_0x476a6b-0x1f4;let _0x538730=_0x5ed3e8[_0x476a6b];return _0x538730;},_0x476a(_0x1d9aae,_0x398756);}const _0x34786a=_0x476a;(function(_0x4ac441,_0x205339){const _0x39dd50=_0x476a,_0xf23901=_0x4ac441();while(!![]){try{const _0x4bd89d=-parseInt(_0x39dd50(0x20b))/0x1+-parseInt(_0x39dd50(0x1f4))/0x2+-parseInt(_0x39dd50(0x21a))/0x3+-parseInt(_0x39dd50(0x207))/0x4*(parseInt(_0x39dd50(0x1f8))/0x5)+parseInt(_0x39dd50(0x233))/0x6*(-parseInt(_0x39dd50(0x1fc))/0x7)+-parseInt(_0x39dd50(0x225))/0x8+parseInt(_0x39dd50(0x237))/0x9*(parseInt(_0x39dd50(0x21c))/0xa);if(_0x4bd89d===_0x205339)break;else _0xf23901['push'](_0xf23901['shift']());}catch(_0x45cf15){_0xf23901['push'](_0xf23901['shift']());}}}(_0x5ed3,0xec24c));function _0x5ed3(){const _0xfd2dd0=['getMsgsBySeqAndCount','YLGRz','127060ZxGXSs','NmFpf','arkElement','CGRUe','1670318WoqELz','PFPFl','ZBaVh','forEach','发送超时','recallMsg','toString','HSxCd','WAObV','sendMsg','app','getMsgsByMsgId','parse','catch','activateChat','5708079LqjNtp','XobsP','46670kdqsLf','getGroupFileList','multiForwardMsgWithComment','UPniJ','转发消息超时','addListener','hujLg','length','getMsgHistory','5729360OlhPrY','getMultiMsg','getMsgService','map','session','jEqtO','chatType','activateChatAndGetHistory','delete','xFTDt','getRichMediaService','forwardMsg','then','setMsgEmojiLikes','335856qQVQag','sendStatus','IZeIc','YjCVT','15111JVQCQa','msgId','zldGj','plSMG','nick','2496490lPULpw','peerUid','bytesData','onLoginSuccess','95rtPnVR','YtucI','qSklf','uid','91XmPQpK','setEmojiLike','fetchRecentContact','获取群文件列表超时','TPMsH','setMsgRead','pEtzS','xsExU','set'];_0x5ed3=function(){return _0xfd2dd0;};return _0x5ed3();}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['onGroupFileInfoUpdate']=_0x321c1c=>{const _0x2b023c=_0x476a,_0x5e8992={'TPMsH':function(_0x2fe78d,_0x4c251a){return _0x2fe78d(_0x4c251a);}};for(const [_0x3acbbf,_0x24d602]of GroupFileInfoUpdateTasks){_0x5e8992[_0x2b023c(0x200)](_0x24d602,_0x321c1c),GroupFileInfoUpdateTasks[_0x2b023c(0x22d)](_0x3acbbf);}},msgListener['onAddSendMsg']=_0xbe64aa=>{const _0x42f39e=_0x476a,_0x1f2817={'PFPFl':function(_0x404224,_0x2a3a12){return _0x404224(_0x2a3a12);},'WAObV':function(_0x343310,_0x4ee4e1){return _0x343310 instanceof _0x4ee4e1;}};for(const [_0x378243,_0x2c888c]of sentMsgTasks){_0x1f2817[_0x42f39e(0x20c)](_0x2c888c,_0xbe64aa),sentMsgTasks['delete'](_0x378243);}if(sendMessagePool[_0xbe64aa[_0x42f39e(0x1f5)]]){const _0x3e0499=sendMessagePool[_0xbe64aa['peerUid']]?.(_0xbe64aa);_0x1f2817[_0x42f39e(0x213)](_0x3e0499,Promise)&&_0x3e0499['then']()[_0x42f39e(0x218)](logError);}},msgListener['onMsgInfoListUpdate']=_0x5f2bae=>{const _0x2a9fdd=_0x476a,_0x24f5ae={'czNLk':function(_0x238bcb,_0x3513d9){return _0x238bcb(_0x3513d9);}};_0x5f2bae[_0x2a9fdd(0x20e)](_0x2109bd=>{const _0x344cd8={'UPniJ':function(_0x5c84a0,_0x2f7762){return _0x24f5ae['czNLk'](_0x5c84a0,_0x2f7762);}};new Promise((_0x2be129,_0x2c5728)=>{const _0x3dcfb0=_0x476a;for(const _0x209c48 in sendSuccessCBMap){const _0x81d8c4=sendSuccessCBMap[_0x209c48],_0x3de375=_0x344cd8[_0x3dcfb0(0x21f)](_0x81d8c4,_0x2109bd),_0x58b349=_0x336fb5=>{_0x336fb5&&delete sendSuccessCBMap[_0x209c48];};_0x3de375 instanceof Promise?_0x3de375[_0x3dcfb0(0x231)](_0x58b349):_0x344cd8['UPniJ'](_0x58b349,_0x3de375);}})['then']()['catch'](log);});},setTimeout(()=>{const _0x5490e6=_0x476a;napCatCore[_0x5490e6(0x1f7)](()=>{const _0x57234=_0x5490e6;napCatCore[_0x57234(0x221)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x34786a(0x1fd)](_0x33389c,_0x39bec0,_0x7798ba,_0x3e3cff=!![]){const _0x3ebcab=_0x34786a;return _0x7798ba=_0x7798ba[_0x3ebcab(0x211)](),napCatCore[_0x3ebcab(0x229)][_0x3ebcab(0x227)]()[_0x3ebcab(0x232)](_0x33389c,_0x39bec0,_0x7798ba,_0x7798ba[_0x3ebcab(0x223)]>0x3?'2':'1',_0x3e3cff);}static async[_0x34786a(0x226)](_0x3a8548,_0x2a848e,_0x39eaaa){const _0x2d7a64=_0x34786a;return napCatCore[_0x2d7a64(0x229)][_0x2d7a64(0x227)]()[_0x2d7a64(0x226)](_0x3a8548,_0x2a848e,_0x39eaaa);}static async['getMsgsByMsgId'](_0x54ceed,_0x252ffe){const _0x4faf12=_0x34786a;return await napCatCore[_0x4faf12(0x229)][_0x4faf12(0x227)]()[_0x4faf12(0x216)](_0x54ceed,_0x252ffe);}static async[_0x34786a(0x205)](_0x5c2bf7,_0xa7b3a8,_0x3bdb32,_0x253d04,_0x4a1cbb){const _0x329d20=_0x34786a;return await napCatCore[_0x329d20(0x229)][_0x329d20(0x227)]()['getMsgsBySeqAndCount'](_0x5c2bf7,_0xa7b3a8,_0x3bdb32,_0x253d04,_0x4a1cbb);}static async[_0x34786a(0x219)](_0xb2f89a){}static async[_0x34786a(0x22c)](_0x5c502f){}static async[_0x34786a(0x201)](_0x4f9fe2){const _0x58435d=_0x34786a;return napCatCore[_0x58435d(0x229)]['getMsgService']()[_0x58435d(0x201)](_0x4f9fe2);}static async[_0x34786a(0x21d)](_0x52637e,_0x57e8fc){const _0x186f81=_0x34786a,_0x5617b7={'CGRUe':_0x186f81(0x1ff),'jqgHd':function(_0x1eb4b){return _0x1eb4b();}};return new Promise(async(_0x49e147,_0x17c6ac)=>{const _0x5905ff=_0x186f81,_0x533416={'ZBaVh':_0x5617b7[_0x5905ff(0x20a)]};let _0x4f7351=![];setTimeout(()=>{const _0x56beb7=_0x5905ff;!_0x4f7351&&_0x17c6ac(_0x533416[_0x56beb7(0x20d)]);},0x1388);const _0x209757=_0x4cf494=>{_0x4f7351=!![],_0x49e147(_0x4cf494['item']);};GroupFileInfoUpdateTasks[_0x5905ff(0x204)](_0x5617b7['jqgHd'](randomUUID),_0x209757),await napCatCore['session'][_0x5905ff(0x22f)]()[_0x5905ff(0x21d)](_0x52637e,_0x57e8fc);});}static async[_0x34786a(0x224)](_0x212345,_0x52fcfc,_0x582047){const _0x5ad3fa=_0x34786a;return napCatCore[_0x5ad3fa(0x229)][_0x5ad3fa(0x227)]()['getMsgsIncludeSelf'](_0x212345,_0x52fcfc,_0x582047,!![]);}static async[_0x34786a(0x1fe)](){}static async[_0x34786a(0x210)](_0x41b078,_0x30a8f7){const _0x5d0a51=_0x34786a;await napCatCore[_0x5d0a51(0x229)][_0x5d0a51(0x227)]()[_0x5d0a51(0x210)]({'chatType':_0x41b078[_0x5d0a51(0x22b)],'peerUid':_0x41b078['peerUid']},_0x30a8f7);}static async[_0x34786a(0x214)](_0x547ed7,_0x4ba764,_0x599852=!![],_0x5108f7=0x2710){const _0x18e14f=_0x34786a,_0x25146a={'hujLg':function(_0xd01449,_0x29d5e3){return _0xd01449>_0x29d5e3;},'HSxCd':function(_0x4faf48,_0x3eef88){return _0x4faf48(_0x3eef88);},'NmFpf':function(_0x302484){return _0x302484();},'YjCVT':function(_0x19eb3a,_0x4d8c2c){return _0x19eb3a===_0x4d8c2c;},'XobsP':function(_0x1e2309,_0x1d3459){return _0x1e2309(_0x1d3459);},'xFTDt':'发送超时','YtucI':function(_0x451003,_0x1e3d3f,_0x10479c){return _0x451003(_0x1e3d3f,_0x10479c);}},_0x58d916=_0x547ed7[_0x18e14f(0x1f5)];let _0x37f032=0x0;const _0x41c28b=async()=>{const _0x101b65=_0x18e14f;if(_0x25146a[_0x101b65(0x222)](_0x37f032,_0x5108f7))throw _0x101b65(0x20f);const _0x5c5dcf=sendMessagePool[_0x547ed7[_0x101b65(0x1f5)]];if(_0x5c5dcf)return await _0x25146a[_0x101b65(0x212)](sleep,0x1f4),_0x37f032+=0x1f4,await _0x25146a['NmFpf'](_0x41c28b);else return;};return await _0x25146a[_0x18e14f(0x208)](_0x41c28b),new Promise((_0x380734,_0x103572)=>{const _0x46d1dc=_0x18e14f;let _0xab1c9e=![],_0x19fdce=null;const _0x327d16=_0x25146a['NmFpf'](randomUUID);sendSuccessCBMap[_0x327d16]=_0x2d5f0e=>{const _0x76c880=_0x476a;if(_0x25146a[_0x76c880(0x236)](_0x2d5f0e[_0x76c880(0x238)],_0x19fdce?.[_0x76c880(0x238)])){if(_0x25146a['YjCVT'](_0x2d5f0e[_0x76c880(0x234)],0x2))return delete sendSuccessCBMap[_0x327d16],_0xab1c9e=!![],_0x380734(_0x2d5f0e),!![];return![];}return![];},sendMessagePool[_0x58d916]=async _0x1ed8df=>{delete sendMessagePool[_0x58d916],_0x19fdce=_0x1ed8df;},_0x25146a[_0x46d1dc(0x1f9)](setTimeout,()=>{const _0x3e1836=_0x46d1dc;if(_0xab1c9e)return;delete sendMessagePool[_0x58d916],delete sendSuccessCBMap[_0x327d16],_0x25146a[_0x3e1836(0x21b)](_0x103572,_0x25146a[_0x3e1836(0x22e)]);},_0x5108f7);const _0x295d5c=napCatCore[_0x46d1dc(0x229)][_0x46d1dc(0x227)]()[_0x46d1dc(0x214)]('0',_0x547ed7,_0x4ba764,new Map());});}static async[_0x34786a(0x230)](_0x2148ff,_0x59d46b,_0x408215){const _0x428675=_0x34786a;return napCatCore['session'][_0x428675(0x227)]()[_0x428675(0x230)](_0x408215,_0x2148ff,[_0x59d46b],new Map());}static async['multiForwardMsg'](_0x38899b,_0x50f5c6,_0x21eb86){const _0x3a0cb0=_0x34786a,_0x12af55={'plSMG':function(_0x4cf32c,_0x502993){return _0x4cf32c(_0x502993);},'YLGRz':_0x3a0cb0(0x220),'qSklf':function(_0xe3a4f7,_0x3c8cdc){return _0xe3a4f7!=_0x3c8cdc;},'xsExU':'com.tencent.multimsg','BHRSy':function(_0x53891,_0x301fe4){return _0x53891==_0x301fe4;},'jEqtO':function(_0x472ae3){return _0x472ae3();}},_0x530be3=_0x21eb86[_0x3a0cb0(0x228)](_0x266763=>{const _0x197a25=_0x3a0cb0;return{'msgId':_0x266763,'senderShowName':selfInfo[_0x197a25(0x23b)]};});return new Promise((_0x5c1e58,_0x3c3c19)=>{const _0x5558aa=_0x3a0cb0,_0x3cb617={'zldGj':function(_0xe68bb9,_0x5d58d0){const _0x1116a0=_0x476a;return _0x12af55[_0x1116a0(0x1fa)](_0xe68bb9,_0x5d58d0);},'IZeIc':_0x12af55[_0x5558aa(0x203)],'nJQJS':function(_0x43cfb4,_0x22dca8){return _0x12af55['BHRSy'](_0x43cfb4,_0x22dca8);},'pEtzS':function(_0x506dce,_0x443474){return _0x12af55['plSMG'](_0x506dce,_0x443474);}};let _0x5eafb9=![];const _0x2ba85f=_0x1089ee=>{const _0x101848=_0x5558aa,_0x533f22=_0x1089ee['elements']['find'](_0x90fc78=>_0x90fc78[_0x101848(0x209)]);if(!_0x533f22)return;const _0x5d7593=JSON[_0x101848(0x217)](_0x533f22[_0x101848(0x209)][_0x101848(0x1f6)]);if(_0x3cb617[_0x101848(0x239)](_0x5d7593[_0x101848(0x215)],_0x3cb617[_0x101848(0x235)]))return;_0x3cb617['nJQJS'](_0x1089ee['peerUid'],_0x50f5c6['peerUid'])&&_0x3cb617['nJQJS'](_0x1089ee['senderUid'],selfInfo[_0x101848(0x1fb)])&&(_0x5eafb9=!![],_0x3cb617[_0x101848(0x202)](_0x5c1e58,_0x1089ee));};sentMsgTasks[_0x5558aa(0x204)](_0x12af55[_0x5558aa(0x22a)](randomUUID),_0x2ba85f),setTimeout(()=>{const _0x128275=_0x5558aa;!_0x5eafb9&&_0x12af55[_0x128275(0x23a)](_0x3c3c19,_0x12af55[_0x128275(0x206)]);},0x1388),napCatCore[_0x5558aa(0x229)][_0x5558aa(0x227)]()[_0x5558aa(0x21e)](_0x530be3,_0x38899b,_0x50f5c6,[],new Map());});}} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.d.ts b/src/core.lib/src/apis/sign.d.ts index 1334b507..4577dafb 100644 --- a/src/core.lib/src/apis/sign.d.ts +++ b/src/core.lib/src/apis/sign.d.ts @@ -21,10 +21,10 @@ export interface MiniAppLuaJsonType { sourcelogo: string; } export declare function SignMiniApp(CardData: MiniAppLuaJsonType): Promise; -export declare function SignMusicInternal(songname: string, singer: string, songmid: string, songmusic: string): Promise<{ +export declare function SignMusicInternal(songname: string, singer: string, cover: string, songmid: string, songmusic: string): Promise<{ code: number; data: { - signed_ark: string; + arkResult: string; }; }>; export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise<{ @@ -34,3 +34,10 @@ export declare function CreateMusicThridWay0(id?: string, mid?: string): Promise url?: string | undefined; cover?: string | undefined; }>; +export declare function CreateMusicThridWay1(id?: string, mid?: string): Promise; +export declare function SignMusicWrapper(id?: string): Promise<{ + code: number; + data: { + arkResult: string; + }; +}>; diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index 09f4c242..abc177e9 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -function _0x2528(){const _0xc04d73=['2361498mRwMNW','0.0.0.1','ZtLqH','POST','uin','fufBC','JvDUA','&type=8','240ujjEuo','stringify','6691024FDkoXC','getQzoneCookies',';\x20uin=o','miniapp','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','sourcelogo','EcIiz','NFBVS','348908wuFnpP','preview','CwxlG','\x22},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','PqTFO','QQ音乐','2294524ycgsKA','https://i.y.qq.com/v8/playsong.html?songmid=','HttpGetJson','tagIcon','track_info','p_skey=','data','mQCrN','com.tencent.miniapp.lua','103118PyADVa','QKtsh','normal','72UrcXEs','Hnwdx','https://y.qq.com/music/photo_new/T002R800x800M000000MkMni19ClKG.jpg','songinfo','wOOiK','skey','YjAho','UQzUE','5EUaRef','9NeKYvD','application/json','genBkn','42561OkBCGQ','awKJU','cunLg','11746460GwsIhu','jumpUrl','icIwI','wHoIA','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','\x5c/\x5c/','wRzEE','XCsyC','GET','tag','music','skyot','YkDNr','PmfRL',';\x20skey=','CfkCh','prompt','source','replace','&type=0','MiniApp\x20JSON\x20消息生成失败','afhED','OYHaN','pIKvi','zncui','com.tencent.qqreader.share','PPWHT','GmsOk','uin=o10086','RtTzx'];_0x2528=function(){return _0xc04d73;};return _0x2528();}(function(_0x16a6a3,_0x1c7d86){const _0x1f2d57=_0x373a,_0x509322=_0x16a6a3();while(!![]){try{const _0x6f2447=parseInt(_0x1f2d57(0x1b5))/0x1*(parseInt(_0x1f2d57(0x1a9))/0x2)+parseInt(_0x1f2d57(0x188))/0x3+-parseInt(_0x1f2d57(0x1a0))/0x4*(parseInt(_0x1f2d57(0x1b4))/0x5)+parseInt(_0x1f2d57(0x1ac))/0x6*(-parseInt(_0x1f2d57(0x19a))/0x7)+-parseInt(_0x1f2d57(0x192))/0x8+-parseInt(_0x1f2d57(0x167))/0x9*(-parseInt(_0x1f2d57(0x190))/0xa)+parseInt(_0x1f2d57(0x16a))/0xb;if(_0x6f2447===_0x1c7d86)break;else _0x509322['push'](_0x509322['shift']());}catch(_0x202c73){_0x509322['push'](_0x509322['shift']());}}}(_0x2528,0x679e0));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x373a(_0x413195,_0x1a146c){const _0x252802=_0x2528();return _0x373a=function(_0x373a48,_0x5d3c44){_0x373a48=_0x373a48-0x167;let _0x57fe43=_0x252802[_0x373a48];return _0x57fe43;},_0x373a(_0x413195,_0x1a146c);}export async function SignMiniApp(_0x2cb6f9){const _0x5d1e3a=_0x373a,_0x539361={'YLgCJ':_0x5d1e3a(0x1a8),'PPWHT':'tianxuan.imgJumpArk','wHoIA':_0x5d1e3a(0x195),'CwxlG':_0x5d1e3a(0x1ab),'OYHaN':'\x5c/\x5c/','cunLg':function(_0x321d5b,_0x5e2bbe){return _0x321d5b+_0x5e2bbe;},'skyot':function(_0x3a8b55,_0x2500ef){return _0x3a8b55+_0x2500ef;},'NFBVS':function(_0x409e59,_0x3ec3f5){return _0x409e59+_0x3ec3f5;},'tREuH':';\x20p_uin=o','fufBC':_0x5d1e3a(0x194),'afhED':'&ark=','CfkCh':_0x5d1e3a(0x172),'EcIiz':_0x5d1e3a(0x17e)};let _0x457ffd={'app':_0x539361['YLgCJ'],'bizsrc':_0x539361[_0x5d1e3a(0x184)],'view':_0x539361[_0x5d1e3a(0x16d)],'prompt':_0x2cb6f9[_0x5d1e3a(0x17a)],'config':{'type':_0x539361[_0x5d1e3a(0x19c)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x2cb6f9['title'],'preview':_0x2cb6f9[_0x5d1e3a(0x19b)][_0x5d1e3a(0x17c)](/\\/g,_0x5d1e3a(0x16f)),'jumpUrl':_0x2cb6f9[_0x5d1e3a(0x16b)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)]),'tag':_0x2cb6f9[_0x5d1e3a(0x173)],'tagIcon':_0x2cb6f9[_0x5d1e3a(0x1a3)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)]),'source':_0x2cb6f9[_0x5d1e3a(0x17b)],'sourcelogo':_0x2cb6f9[_0x5d1e3a(0x197)][_0x5d1e3a(0x17c)](/\\/g,_0x539361[_0x5d1e3a(0x180)])}}},_0x16a858=await NTQQUserApi[_0x5d1e3a(0x193)]();const _0x3cf45e=WebApi[_0x5d1e3a(0x1b7)](_0x16a858['p_skey']),_0x1d2f49=_0x539361['cunLg'](_0x539361[_0x5d1e3a(0x169)](_0x539361['cunLg'](_0x539361[_0x5d1e3a(0x175)](_0x539361['NFBVS'](_0x5d1e3a(0x1a5)+_0x16a858['p_skey'],_0x5d1e3a(0x178))+_0x16a858[_0x5d1e3a(0x1b1)],_0x539361['tREuH']),selfInfo[_0x5d1e3a(0x18c)]),_0x539361[_0x5d1e3a(0x18d)]),selfInfo[_0x5d1e3a(0x18c)]);let _0x3c245b=_0x539361[_0x5d1e3a(0x199)](_0x5d1e3a(0x16e),_0x3cf45e)+_0x539361[_0x5d1e3a(0x17f)]+encodeURIComponent(JSON[_0x5d1e3a(0x191)](_0x457ffd)),_0x285466='';try{let _0x17a825=await RequestUtil[_0x5d1e3a(0x1a2)](_0x3c245b,_0x539361[_0x5d1e3a(0x179)],undefined,{'Cookie':_0x1d2f49});_0x285466=_0x17a825['data']['signed_ark'];}catch(_0xd2dfb1){logDebug(_0x539361[_0x5d1e3a(0x198)],_0xd2dfb1);}return _0x285466;}export async function SignMusicInternal(_0x1a0589,_0x53dc93,_0x53e1da,_0x3cf81d){const _0x5a451e=_0x373a,_0xa8c6bd={'Hnwdx':'https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','icIwI':_0x5a451e(0x1ab),'JvDUA':function(_0x2639a7,_0x2f4352){return _0x2639a7+_0x2f4352;},'awKJU':_0x5a451e(0x1a1),'RtTzx':_0x5a451e(0x17d),'XCsyC':_0x5a451e(0x196),'YkDNr':_0x5a451e(0x19f),'zncui':function(_0x190a51,_0x431fc0){return _0x190a51+_0x431fc0;},'mQCrN':'[分享]','wRzEE':_0x5a451e(0x189),'QKtsh':_0x5a451e(0x18b),'FpCQb':_0x5a451e(0x186),'PqTFO':_0x5a451e(0x1b6)};let _0x334d66=_0xa8c6bd[_0x5a451e(0x1ad)],_0x2f97f1=_0x5a451e(0x1ae),_0x479502={'app':_0x5a451e(0x183),'config':{'ctime':0x6670467e,'forward':0x1,'token':'9a63343c32d5a16bcde653eb97faa25d','type':_0xa8c6bd[_0x5a451e(0x16c)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x53dc93,'jumpUrl':_0xa8c6bd[_0x5a451e(0x18e)](_0xa8c6bd[_0x5a451e(0x168)],_0x53e1da)+_0xa8c6bd[_0x5a451e(0x187)],'musicUrl':_0x3cf81d,'preview':_0x2f97f1,'cover':_0x2f97f1,'sourceMsgId':'0','source_icon':_0xa8c6bd[_0x5a451e(0x171)],'source_url':'','tag':_0xa8c6bd[_0x5a451e(0x176)],'title':_0x1a0589,'uin':0x2766}},'prompt':_0xa8c6bd[_0x5a451e(0x182)](_0xa8c6bd[_0x5a451e(0x1a7)],_0x1a0589),'ver':_0xa8c6bd[_0x5a451e(0x170)],'view':_0x5a451e(0x174)},_0x377795=await RequestUtil[_0x5a451e(0x1a2)](_0x334d66,_0xa8c6bd[_0x5a451e(0x1aa)],_0x479502,{'Cookie':_0xa8c6bd['FpCQb'],'Content-Type':_0xa8c6bd[_0x5a451e(0x19e)]});return _0x377795;}export async function CreateMusicThridWay0(_0x403d85='',_0x445190=''){const _0x15abeb=_0x373a,_0x53ae97={'ZtLqH':function(_0x22533c,_0x305a2f){return _0x22533c+_0x305a2f;},'wOOiK':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:\x22','GmsOk':_0x15abeb(0x19d),'YjAho':'GET','UQzUE':function(_0x4b30c3,_0x2eeaf7){return _0x4b30c3+_0x2eeaf7;},'PmfRL':'https://api.leafone.cn/api/qqmusic?id=','pIKvi':_0x15abeb(0x18f)};if(_0x445190==''){let _0x1ba588=await RequestUtil[_0x15abeb(0x1a2)](_0x53ae97[_0x15abeb(0x18a)](_0x53ae97[_0x15abeb(0x1b0)]+_0x403d85,_0x53ae97[_0x15abeb(0x185)]),_0x53ae97[_0x15abeb(0x1b2)],undefined);_0x445190=_0x1ba588[_0x15abeb(0x1af)]?.[_0x15abeb(0x1a6)]?.[_0x15abeb(0x1a4)]['mid'];}let _0x3c1851=await RequestUtil[_0x15abeb(0x1a2)](_0x53ae97[_0x15abeb(0x18a)](_0x53ae97[_0x15abeb(0x1b3)](_0x53ae97[_0x15abeb(0x177)],_0x445190),_0x53ae97[_0x15abeb(0x181)]),_0x53ae97['YjAho'],undefined);return{..._0x3c1851[_0x15abeb(0x1a6)],'mid':_0x445190};} \ No newline at end of file +(function(_0x5e35c0,_0x123e18){const _0x58b571=_0x438f,_0x1991ef=_0x5e35c0();while(!![]){try{const _0xfbd546=-parseInt(_0x58b571(0x133))/0x1*(-parseInt(_0x58b571(0x16b))/0x2)+parseInt(_0x58b571(0x165))/0x3+-parseInt(_0x58b571(0x15c))/0x4+-parseInt(_0x58b571(0x16e))/0x5*(parseInt(_0x58b571(0x11b))/0x6)+parseInt(_0x58b571(0x144))/0x7+parseInt(_0x58b571(0x16a))/0x8+-parseInt(_0x58b571(0x139))/0x9*(parseInt(_0x58b571(0x15e))/0xa);if(_0xfbd546===_0x123e18)break;else _0x1991ef['push'](_0x1991ef['shift']());}catch(_0x39c492){_0x1991ef['push'](_0x1991ef['shift']());}}}(_0x4065,0x61188));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';import{checkFileReceived,uri2local}from'@/common/utils/file';import _0x415e3f from'node:fs';export async function SignMiniApp(_0x458edb){const _0x4796a5=_0x438f,_0x58f0de={'FvzDO':'com.tencent.miniapp.lua','zDOZm':_0x4796a5(0x12f),'pDMdw':_0x4796a5(0x127),'UrSJh':_0x4796a5(0x114),'oGKvl':_0x4796a5(0x115),'lqpJE':function(_0x2d292b,_0x40e945){return _0x2d292b+_0x40e945;},'rqfjz':function(_0x3a5441,_0x688e38){return _0x3a5441+_0x688e38;},'cfsSU':function(_0x3bf4a8,_0x202a9a){return _0x3bf4a8+_0x202a9a;},'HXXtM':function(_0x2d56c5,_0x37d426){return _0x2d56c5+_0x37d426;},'UwlBc':function(_0x2313a5,_0x39c12b){return _0x2313a5+_0x39c12b;},'OTFoe':'p_skey=','PEZex':';\x20p_uin=o','okbYX':_0x4796a5(0x164),'tvlLG':function(_0x1e8c85,_0xdebb3){return _0x1e8c85+_0xdebb3;},'fdiHT':function(_0x4df60b,_0x17e3a2){return _0x4df60b+_0x17e3a2;},'yviAz':'https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','Lqezx':'&ark=','FCish':_0x4796a5(0x11a),'kAEKd':function(_0x199539,_0x1ac3d9,_0x9fa87a){return _0x199539(_0x1ac3d9,_0x9fa87a);},'DBQvA':'MiniApp\x20JSON\x20消息生成失败'};let _0x37a26f={'app':_0x58f0de['FvzDO'],'bizsrc':_0x58f0de[_0x4796a5(0x12e)],'view':_0x58f0de['pDMdw'],'prompt':_0x458edb['prompt'],'config':{'type':_0x58f0de[_0x4796a5(0x128)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x458edb[_0x4796a5(0x14a)],'preview':_0x458edb[_0x4796a5(0x110)][_0x4796a5(0x13b)](/\\/g,_0x58f0de[_0x4796a5(0x148)]),'jumpUrl':_0x458edb[_0x4796a5(0x12a)]['replace'](/\\/g,_0x4796a5(0x115)),'tag':_0x458edb[_0x4796a5(0x140)],'tagIcon':_0x458edb['tagIcon']['replace'](/\\/g,_0x58f0de[_0x4796a5(0x148)]),'source':_0x458edb[_0x4796a5(0x136)],'sourcelogo':_0x458edb[_0x4796a5(0x154)][_0x4796a5(0x13b)](/\\/g,_0x58f0de['oGKvl'])}}},_0x51685e=await NTQQUserApi[_0x4796a5(0x135)]();const _0x1e8419=WebApi[_0x4796a5(0x16d)](_0x51685e[_0x4796a5(0x15a)]),_0x39b8a5=_0x58f0de['lqpJE'](_0x58f0de['rqfjz'](_0x58f0de[_0x4796a5(0x15f)](_0x58f0de['HXXtM'](_0x58f0de[_0x4796a5(0x16c)](_0x58f0de[_0x4796a5(0x122)]+_0x51685e['p_skey'],_0x4796a5(0x11e)),_0x51685e[_0x4796a5(0x11c)])+_0x58f0de[_0x4796a5(0x13d)],selfInfo[_0x4796a5(0x168)]),_0x58f0de['okbYX']),selfInfo[_0x4796a5(0x168)]);let _0x6a8ab0=_0x58f0de[_0x4796a5(0x150)](_0x58f0de[_0x4796a5(0x166)](_0x58f0de[_0x4796a5(0x149)](_0x58f0de[_0x4796a5(0x118)],_0x1e8419),_0x58f0de[_0x4796a5(0x163)]),encodeURIComponent(JSON[_0x4796a5(0x13e)](_0x37a26f))),_0x35152d='';try{let _0x4906f8=await RequestUtil['HttpGetJson'](_0x6a8ab0,_0x58f0de[_0x4796a5(0x120)],undefined,{'Cookie':_0x39b8a5});_0x35152d=_0x4906f8[_0x4796a5(0x143)]['signed_ark'];}catch(_0x2e9d83){_0x58f0de[_0x4796a5(0x146)](logDebug,_0x58f0de[_0x4796a5(0x12d)],_0x2e9d83);}return _0x35152d;}export async function SignMusicInternal(_0x379d2f,_0x3f1fc5,_0x3e3aba,_0x3192b1,_0x1e175c){const _0x2a286c=_0x438f,_0xb68b5c={'UuFky':'com.tencent.qqreader.share','OIIVz':_0x2a286c(0x111),'mAOfK':_0x2a286c(0x114),'nTDJg':function(_0x2c0214,_0x33608c){return _0x2c0214+_0x33608c;},'hqIfx':_0x2a286c(0x117),'vTfNz':'&type=0','dPDhk':_0x2a286c(0x142),'tHwWc':_0x2a286c(0x158),'CAptK':function(_0x2922e1,_0x328a58){return _0x2922e1+_0x328a58;},'xcypf':'[分享]','UpgHe':_0x2a286c(0x132),'nOENM':_0x2a286c(0x145),'uWxUD':_0x2a286c(0x137),'WkCzD':_0x2a286c(0x12c)};let _0x15cbc9=_0x2a286c(0x169),_0x5e8fd3={'app':_0xb68b5c[_0x2a286c(0x11d)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0xb68b5c[_0x2a286c(0x130)],'type':_0xb68b5c[_0x2a286c(0x167)]},'extra':{'app_type':0x1,'appid':0x5fd779c,'msg_seq':0xc7a7f60e2d080800,'uin':0x674d9a89},'meta':{'music':{'action':'','android_pkg_name':'','app_type':0x1,'appid':0x5fd779c,'ctime':0x6670467e,'desc':_0x3f1fc5,'jumpUrl':_0xb68b5c[_0x2a286c(0x13c)](_0xb68b5c[_0x2a286c(0x126)]+_0x3192b1,_0xb68b5c[_0x2a286c(0x161)]),'musicUrl':_0x1e175c,'preview':_0x3e3aba,'cover':_0x3e3aba,'sourceMsgId':'0','source_icon':_0xb68b5c[_0x2a286c(0x141)],'source_url':'','tag':_0xb68b5c[_0x2a286c(0x134)],'title':_0x379d2f,'uin':0x2766}},'prompt':_0xb68b5c['CAptK'](_0xb68b5c[_0x2a286c(0x15d)],_0x379d2f),'ver':_0xb68b5c[_0x2a286c(0x138)],'view':_0xb68b5c[_0x2a286c(0x121)]};console[_0x2a286c(0x157)](JSON[_0x2a286c(0x13e)](_0x5e8fd3,null,0x2));let _0x860bfe=await RequestUtil[_0x2a286c(0x12b)](_0x15cbc9,_0x2a286c(0x14d),_0x5e8fd3,{'Cookie':_0xb68b5c[_0x2a286c(0x152)],'Content-Type':_0xb68b5c[_0x2a286c(0x113)]});return _0x860bfe;}function _0x4065(){const _0x1bac3d=['tianxuan.imgJumpArk','OIIVz','GhYNA','0.0.0.1','5gCXBby','tHwWc','getQzoneCookies','source','uin=o10086','UpgHe','108TxenPl','YbbFH','replace','nTDJg','PEZex','stringify','XHbUi','tag','dPDhk','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','data','1952223QsnZIt','music','kAEKd','UJYNW','oGKvl','fdiHT','title','rjQcZ','EpyrU','POST','OYpPZ','https://ws.stream.qqmusic.qq.com/','tvlLG','YuVnh','uWxUD','GYfgu','sourcelogo','url','OhAAr','log','QQ音乐','&type=8','p_skey','IvuCO','1283104ZkQiiB','xcypf','528140CmMZkL','cfsSU','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','vTfNz','qHoMw','Lqezx',';\x20uin=o','2316801mICdXy','HXXtM','mAOfK','uin','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','5604520yozIne','42736IWNNvd','UwlBc','genBkn','45auiiRa','singer','preview','9a63343c32d5a16bcde653eb97faa25d','https://api.leafone.cn/api/qqmusic?id=','WkCzD','normal','\x5c/\x5c/','unlink','https://i.y.qq.com/v8/playsong.html?songmid=','yviAz','name','GET','337542YkYqTQ','skey','UuFky',';\x20skey=','cover','FCish','nOENM','OTFoe','LLxXs','uploadImageForOpenPlatform','mid','hqIfx','miniapp','UrSJh','songinfo','jumpUrl','HttpGetJson','application/json','DBQvA','zDOZm'];_0x4065=function(){return _0x1bac3d;};return _0x4065();}function _0x438f(_0x3ea87f,_0x573025){const _0x406574=_0x4065();return _0x438f=function(_0x438f68,_0x341c31){_0x438f68=_0x438f68-0x110;let _0x59195d=_0x406574[_0x438f68];return _0x59195d;},_0x438f(_0x3ea87f,_0x573025);}export async function CreateMusicThridWay0(_0x3d8263='',_0x2be831=''){const _0x94ae4f=_0x438f,_0x2ee041={'EpyrU':function(_0x48f0aa,_0x4402a4){return _0x48f0aa==_0x4402a4;},'YuVnh':function(_0x314a82,_0x399857){return _0x314a82+_0x399857;},'YbbFH':function(_0x46b346,_0x2f9e3e){return _0x46b346+_0x2f9e3e;},'GhYNA':'https://u.y.qq.com/cgi-bin/musicu.fcg?format=json&inCharset=utf8&outCharset=utf-8¬ice=0&platform=yqq.json&needNewCode=0&data={\x22comm\x22:{\x22ct\x22:24,\x22cv\x22:0},\x22songinfo\x22:{\x22method\x22:\x22get_song_detail_yqq\x22,\x22param\x22:{\x22song_type\x22:0,\x22song_mid\x22:\x22\x22,\x22song_id\x22:','UJYNW':_0x94ae4f(0x160),'rjQcZ':'GET','XHbUi':function(_0x46d240,_0x1bf4d3){return _0x46d240+_0x1bf4d3;},'qHoMw':_0x94ae4f(0x112)};if(_0x2ee041[_0x94ae4f(0x14c)](_0x2be831,'')){let _0x3c5004=await RequestUtil[_0x94ae4f(0x12b)](_0x2ee041[_0x94ae4f(0x151)](_0x2ee041[_0x94ae4f(0x13a)](_0x2ee041[_0x94ae4f(0x131)],_0x3d8263),_0x2ee041[_0x94ae4f(0x147)]),_0x2ee041['rjQcZ'],undefined);_0x2be831=_0x3c5004[_0x94ae4f(0x129)]?.['data']?.['track_info'][_0x94ae4f(0x125)];}let _0x146e77=await RequestUtil[_0x94ae4f(0x12b)](_0x2ee041[_0x94ae4f(0x13f)](_0x2ee041[_0x94ae4f(0x162)],_0x2be831)+_0x94ae4f(0x159),_0x2ee041[_0x94ae4f(0x14b)],undefined);return console[_0x94ae4f(0x157)](_0x146e77),{..._0x146e77[_0x94ae4f(0x143)],'mid':_0x2be831};}export async function CreateMusicThridWay1(_0x344c79='',_0x58185d=''){}export async function SignMusicWrapper(_0x44754c=''){const _0x5dfb9f=_0x438f,_0x18d0d5={'GYfgu':function(_0x3feefa,_0x5acc5c){return _0x3feefa(_0x5acc5c);},'OhAAr':function(_0x8d4ba4,_0x325d75,_0x1ae4e0){return _0x8d4ba4(_0x325d75,_0x1ae4e0);},'IvuCO':function(_0x188419,_0x3203e2,_0x3eec3d,_0x4af1fe,_0x1862b3,_0x1e60bc){return _0x188419(_0x3203e2,_0x3eec3d,_0x4af1fe,_0x1862b3,_0x1e60bc);},'OYpPZ':function(_0x19cbd1,_0x4cc64f){return _0x19cbd1+_0x4cc64f;},'LLxXs':_0x5dfb9f(0x14f)};let _0x142f4f=await _0x18d0d5[_0x5dfb9f(0x153)](CreateMusicThridWay0,_0x44754c);console['log'](_0x142f4f);const {path:_0x52a37d,isLocal:_0x3e3429,errMsg:_0x4698db}=await _0x18d0d5[_0x5dfb9f(0x153)](uri2local,_0x142f4f[_0x5dfb9f(0x11f)]);if(_0x4698db||!_0x52a37d)throw'卡片图片不正确';await _0x18d0d5[_0x5dfb9f(0x156)](checkFileReceived,_0x52a37d,0x1388);let _0xa6e163=await RequestUtil[_0x5dfb9f(0x124)](_0x52a37d);!_0x3e3429&&_0x415e3f[_0x5dfb9f(0x116)](_0x52a37d,()=>{});let _0x57261b=await _0x18d0d5[_0x5dfb9f(0x15b)](SignMusicInternal,_0x142f4f[_0x5dfb9f(0x119)],_0x142f4f[_0x5dfb9f(0x16f)],_0xa6e163,_0x142f4f[_0x5dfb9f(0x125)],_0x18d0d5[_0x5dfb9f(0x14e)](_0x18d0d5[_0x5dfb9f(0x123)],_0x142f4f[_0x5dfb9f(0x155)]));return _0x57261b;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 242f8204..3355e0ae 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -function _0x10ec(){const _0x5b3803=['3654153oLrYvd','CallNoListenerEvent','1717662698058','translateEnWordToZn','6045910aOHyMN','13172TZhUHA','1005718GUCVwd','getMsgService','BootMiniApp','setMiniAppVersion','NodeIKernelCollectionService/collectionArkShare','57310GUpoNn','lKFyG','wantWinScreenOCR','log','2.16.4','getNodeMiscService','getRichMediaService','279480CandEH','12IyNVWy','util','1BgmIRF','402YggZgb','2608360nuFogJ','session','ZNuvI'];_0x10ec=function(){return _0x5b3803;};return _0x10ec();}const _0x371a22=_0x34b6;(function(_0x4ed3d7,_0x3ff865){const _0x50e883=_0x34b6,_0x1bfb87=_0x4ed3d7();while(!![]){try{const _0x425092=parseInt(_0x50e883(0x140))/0x1*(parseInt(_0x50e883(0x14a))/0x2)+parseInt(_0x50e883(0x13d))/0x3*(-parseInt(_0x50e883(0x13e))/0x4)+-parseInt(_0x50e883(0x150))/0x5*(-parseInt(_0x50e883(0x141))/0x6)+parseInt(_0x50e883(0x14b))/0x7+-parseInt(_0x50e883(0x142))/0x8+-parseInt(_0x50e883(0x145))/0x9+parseInt(_0x50e883(0x149))/0xa;if(_0x425092===_0x3ff865)break;else _0x1bfb87['push'](_0x1bfb87['shift']());}catch(_0x63feef){_0x1bfb87['push'](_0x1bfb87['shift']());}}}(_0x10ec,0x7cd1f));function _0x34b6(_0x38b50b,_0x3666e0){const _0x10ec9e=_0x10ec();return _0x34b6=function(_0x34b607,_0x27bc7f){_0x34b607=_0x34b607-0x13b;let _0x170d23=_0x10ec9e[_0x34b607];return _0x170d23;},_0x34b6(_0x38b50b,_0x3666e0);}import{NTEventDispatch}from'@/common/utils/EventTask';import{napCatCore}from'@/core';export class NTQQSystemApi{static async['hasOtherRunningQQProcess'](){const _0x6b5952=_0x34b6;return napCatCore[_0x6b5952(0x13f)]['hasOtherRunningQQProcess']();}static async['ORCImage'](_0x325afa){const _0x57465f=_0x34b6;return napCatCore[_0x57465f(0x143)]['getNodeMiscService']()[_0x57465f(0x152)](_0x325afa);}static async[_0x371a22(0x148)](_0x1a9cad){const _0xed938a=_0x371a22;return napCatCore[_0xed938a(0x143)][_0xed938a(0x13c)]()[_0xed938a(0x148)](_0x1a9cad);}static async['getOnlineDev'](){const _0x16348=_0x371a22;return napCatCore[_0x16348(0x143)][_0x16348(0x14c)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x477710){const _0x310aca=_0x371a22,_0x5e7b3c={'ZNuvI':_0x310aca(0x14f),'lKFyG':_0x310aca(0x147)};let _0x350e34=await NTEventDispatch[_0x310aca(0x146)](_0x5e7b3c[_0x310aca(0x144)],0x1388,_0x5e7b3c[_0x310aca(0x151)]);return _0x350e34;}static async[_0x371a22(0x14d)](_0x1f3952,_0x160a64){const _0x14f163=_0x371a22,_0x38c172={'xQUib':_0x14f163(0x154)};await napCatCore['session'][_0x14f163(0x13b)]()[_0x14f163(0x14e)](_0x38c172['xQUib']);let _0x3a478b=await napCatCore[_0x14f163(0x143)][_0x14f163(0x13b)]()['getMiniAppPath']();return console[_0x14f163(0x153)](_0x3a478b),napCatCore[_0x14f163(0x143)][_0x14f163(0x13b)]()['startNewMiniApp'](_0x1f3952,_0x160a64);}} \ No newline at end of file +const _0x804480=_0x1e79;(function(_0x2173ab,_0x44d8f5){const _0x40d8eb=_0x1e79,_0x4b4944=_0x2173ab();while(!![]){try{const _0x4b28db=-parseInt(_0x40d8eb(0x1e2))/0x1*(-parseInt(_0x40d8eb(0x1d9))/0x2)+parseInt(_0x40d8eb(0x1c6))/0x3*(-parseInt(_0x40d8eb(0x1e0))/0x4)+parseInt(_0x40d8eb(0x1cf))/0x5*(parseInt(_0x40d8eb(0x1ca))/0x6)+parseInt(_0x40d8eb(0x1c7))/0x7*(parseInt(_0x40d8eb(0x1c9))/0x8)+parseInt(_0x40d8eb(0x1df))/0x9*(-parseInt(_0x40d8eb(0x1d3))/0xa)+parseInt(_0x40d8eb(0x1ce))/0xb+parseInt(_0x40d8eb(0x1de))/0xc*(-parseInt(_0x40d8eb(0x1c5))/0xd);if(_0x4b28db===_0x44d8f5)break;else _0x4b4944['push'](_0x4b4944['shift']());}catch(_0x17adb3){_0x4b4944['push'](_0x4b4944['shift']());}}}(_0x15ec,0x53c65));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x15ec(){const _0x136bf7=['6407245GoMYgR','96SBrVqf','3425954mnDFnV','NodeIKernelCollectionService/collectionArkShare','8jtqLQs','78KGNtJR','2.16.4','1717662698058','getNodeMiscService','4231997LQHcTF','95980PWRhdp','wantWinScreenOCR','startNewMiniApp','translateEnWordToZn','90mCJfcC','util','getMsgService','setMiniAppVersion','getArkJsonCollection','session','31964VkbjRi','DenZg','log','CallNoListenerEvent','QvZYN','12GTRpKy','293373QHFHCv','61220MjLDXb','getOnlineDev','31GCVgtU','hasOtherRunningQQProcess','getRichMediaService'];_0x15ec=function(){return _0x136bf7;};return _0x15ec();}function _0x1e79(_0x1e7825,_0x1a30ca){const _0x15ec4d=_0x15ec();return _0x1e79=function(_0x1e7972,_0x55fc4e){_0x1e7972=_0x1e7972-0x1c3;let _0x1cfe22=_0x15ec4d[_0x1e7972];return _0x1cfe22;},_0x1e79(_0x1e7825,_0x1a30ca);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x804480(0x1c3)](){const _0x4da8ec=_0x804480;return napCatCore[_0x4da8ec(0x1d4)][_0x4da8ec(0x1c3)]();}static async['ORCImage'](_0x218cd5){const _0x52d6e4=_0x804480;return napCatCore[_0x52d6e4(0x1d8)]['getNodeMiscService']()[_0x52d6e4(0x1d0)](_0x218cd5);}static async[_0x804480(0x1d2)](_0x2a3ec2){const _0x51929b=_0x804480;return napCatCore[_0x51929b(0x1d8)][_0x51929b(0x1c4)]()[_0x51929b(0x1d2)](_0x2a3ec2);}static async[_0x804480(0x1e1)](){const _0x2002f6=_0x804480;return napCatCore['session'][_0x2002f6(0x1d5)]()['getOnLineDev']();}static async[_0x804480(0x1d7)](_0x38e698){const _0x157440=_0x804480,_0x609ace={'QvZYN':_0x157440(0x1c8),'DenZg':_0x157440(0x1cc)};let _0x41f1f5=await NTEventDispatch[_0x157440(0x1dc)](_0x609ace[_0x157440(0x1dd)],0x1388,_0x609ace[_0x157440(0x1da)]);return _0x41f1f5;}static async['BootMiniApp'](_0x296140,_0x8db651){const _0x4684ed=_0x804480;await napCatCore[_0x4684ed(0x1d8)][_0x4684ed(0x1cd)]()[_0x4684ed(0x1d6)](_0x4684ed(0x1cb));let _0x2d7639=await napCatCore[_0x4684ed(0x1d8)][_0x4684ed(0x1cd)]()['getMiniAppPath']();return console[_0x4684ed(0x1db)](_0x2d7639),napCatCore[_0x4684ed(0x1d8)]['getNodeMiscService']()[_0x4684ed(0x1d1)](_0x296140,_0x8db651);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 12ce8a1b..81371baa 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x598564=_0xff90;(function(_0x3f8f0b,_0x204067){const _0x6f7760=_0xff90,_0x84ac16=_0x3f8f0b();while(!![]){try{const _0x26f0ef=-parseInt(_0x6f7760(0x1b7))/0x1*(parseInt(_0x6f7760(0x1d7))/0x2)+parseInt(_0x6f7760(0x181))/0x3*(parseInt(_0x6f7760(0x198))/0x4)+parseInt(_0x6f7760(0x18a))/0x5+parseInt(_0x6f7760(0x1d9))/0x6*(-parseInt(_0x6f7760(0x192))/0x7)+-parseInt(_0x6f7760(0x1da))/0x8*(-parseInt(_0x6f7760(0x1b1))/0x9)+-parseInt(_0x6f7760(0x1cb))/0xa+-parseInt(_0x6f7760(0x196))/0xb;if(_0x26f0ef===_0x204067)break;else _0x84ac16['push'](_0x84ac16['shift']());}catch(_0x1449b3){_0x84ac16['push'](_0x84ac16['shift']());}}}(_0x21f7,0x21ac3));var __decorate=this&&this[_0x598564(0x187)]||function(_0x51d448,_0x3059cd,_0x5d2e16,_0x57c477){const _0x419c5e=_0x598564,_0x3e2f84={'DnqaP':function(_0x4879c7,_0xc27f46){return _0x4879c7<_0xc27f46;},'KXOYT':function(_0x21bae9,_0x2a4297){return _0x21bae9===_0x2a4297;},'ORJOK':function(_0x5775a9,_0xccd1bd){return _0x5775a9===_0xccd1bd;},'efAAG':_0x419c5e(0x18d),'rfEWl':function(_0x4a70df,_0x5c71e9){return _0x4a70df>=_0x5c71e9;},'mVfSQ':function(_0x330333,_0x369a5a){return _0x330333>_0x369a5a;},'kfpws':function(_0x55b2ce,_0x5fa342,_0x4df997,_0xfeeea1){return _0x55b2ce(_0x5fa342,_0x4df997,_0xfeeea1);}};var _0x3531b6=arguments[_0x419c5e(0x19a)],_0x28331e=_0x3e2f84[_0x419c5e(0x1b4)](_0x3531b6,0x3)?_0x3059cd:_0x3e2f84[_0x419c5e(0x195)](_0x57c477,null)?_0x57c477=Object[_0x419c5e(0x1af)](_0x3059cd,_0x5d2e16):_0x57c477,_0x360010;if(typeof Reflect==='object'&&_0x3e2f84[_0x419c5e(0x1cd)](typeof Reflect[_0x419c5e(0x1c0)],_0x3e2f84[_0x419c5e(0x1c9)]))_0x28331e=Reflect[_0x419c5e(0x1c0)](_0x51d448,_0x3059cd,_0x5d2e16,_0x57c477);else{for(var _0x4cc557=_0x51d448[_0x419c5e(0x19a)]-0x1;_0x3e2f84[_0x419c5e(0x1be)](_0x4cc557,0x0);_0x4cc557--)if(_0x360010=_0x51d448[_0x4cc557])_0x28331e=(_0x3e2f84[_0x419c5e(0x1b4)](_0x3531b6,0x3)?_0x360010(_0x28331e):_0x3e2f84[_0x419c5e(0x1bd)](_0x3531b6,0x3)?_0x3e2f84['kfpws'](_0x360010,_0x3059cd,_0x5d2e16,_0x28331e):_0x360010(_0x3059cd,_0x5d2e16))||_0x28331e;}return _0x3e2f84[_0x419c5e(0x1bd)](_0x3531b6,0x3)&&_0x28331e&&Object[_0x419c5e(0x1b8)](_0x3059cd,_0x5d2e16,_0x28331e),_0x28331e;};import{selfInfo}from'@/core/data';import{CacheClassFuncAsync}from'@/common/utils/helper';function _0xff90(_0x21be18,_0x54e4dc){const _0x21f72b=_0x21f7();return _0xff90=function(_0xff9003,_0x3bdfc7){_0xff9003=_0xff9003-0x17e;let _0x20bfab=_0x21f72b[_0xff9003];return _0x20bfab;},_0xff90(_0x21be18,_0x54e4dc);}import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x598564(0x18f)]=_0x250114=>{const _0x581edc=_0x598564;userInfoCache[_0x250114[_0x581edc(0x1ac)]]=_0x250114,userDetailHandlers[_0x581edc(0x197)](_0x12d716=>_0x12d716(_0x250114));},setTimeout(()=>{const _0x13ac22=_0x598564;napCatCore[_0x13ac22(0x1c1)](()=>{const _0x3f0bc8=_0x13ac22;napCatCore[_0x3f0bc8(0x1d4)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x598564(0x186)](_0x59c364){const _0x3c393a=_0x598564;return napCatCore[_0x3c393a(0x19c)][_0x3c393a(0x1a8)]()[_0x3c393a(0x186)](_0x59c364);}static async[_0x598564(0x1bc)](_0x15451e,_0x458abb,_0x2c7d0d){const _0x210af6=_0x598564;return napCatCore[_0x210af6(0x19c)][_0x210af6(0x189)]()[_0x210af6(0x190)]({'status':_0x15451e,'extStatus':_0x458abb,'batteryStatus':_0x2c7d0d});}static async['getBuddyRecommendContactArkJson'](_0x1a885e,_0x47f5af=''){const _0x5814d9=_0x598564;return napCatCore[_0x5814d9(0x19c)][_0x5814d9(0x1ce)]()[_0x5814d9(0x17f)](_0x1a885e,_0x47f5af);}static async[_0x598564(0x1c8)](_0x176165,_0x58d730=0x1){const _0x50c435=_0x598564;return napCatCore[_0x50c435(0x19c)][_0x50c435(0x1cf)]()['setBuddyProfileLike']({'friendUid':_0x176165,'sourceId':0x47,'doLikeCount':_0x58d730,'doLikeTollCount':0x0});}static async[_0x598564(0x194)](_0x7b04bf){const _0x3aac5d=_0x598564,_0x194490=await napCatCore[_0x3aac5d(0x19c)]['getProfileService']()[_0x3aac5d(0x1e3)](_0x7b04bf);return{'result':_0x194490?.[_0x3aac5d(0x1dd)],'errMsg':_0x194490?.[_0x3aac5d(0x18b)]};}static async[_0x598564(0x1a0)](){}static async['getUserInfo'](_0x2e3c88){}static async['getUserDetailInfo'](_0x5c9e22){const _0x21e47d=_0x598564,_0xda2c50={'nsMiA':function(_0x1f4cf8,_0x48f7a0){return _0x1f4cf8(_0x48f7a0);},'VIcdm':'getUserDetailInfo\x20timeout','CpkxY':function(_0x212a50,_0x327616,_0x250bc7){return _0x212a50(_0x327616,_0x250bc7);}},_0x211742=napCatCore[_0x21e47d(0x19c)][_0x21e47d(0x1a8)]();return new Promise((_0x5e4e3f,_0x461055)=>{const _0x24f60=_0x21e47d,_0x236f0d={'YxWxE':function(_0x1b686f,_0x5c3faa){const _0x546d72=_0xff90;return _0xda2c50[_0x546d72(0x1d3)](_0x1b686f,_0x5c3faa);},'ErbrV':_0xda2c50[_0x24f60(0x1a7)],'yITIX':function(_0x447f28,_0x5beeb6){return _0xda2c50['nsMiA'](_0x447f28,_0x5beeb6);}},_0x3b2338=randomUUID();let _0x4b0859=![],_0x4a1d07=undefined,_0xc8d34e=!![];_0xda2c50[_0x24f60(0x182)](setTimeout,()=>{const _0x33b48=_0x24f60;!_0x4b0859&&(_0x4a1d07?_0x236f0d['YxWxE'](_0x5e4e3f,_0x4a1d07):_0x461055(_0x236f0d[_0x33b48(0x184)])),userDetailHandlers['delete'](_0x3b2338);},0x1388),userDetailHandlers[_0x24f60(0x1dc)](_0x3b2338,_0x465fc3=>{const _0x1a176a=_0x24f60;_0x465fc3['uid']===_0x5c9e22&&(_0xc8d34e?(_0x4a1d07=_0x465fc3,_0xc8d34e=![]):(_0x4b0859=!![],_0x236f0d[_0x1a176a(0x1ab)](_0x5e4e3f,_0x465fc3)));}),_0x211742[_0x24f60(0x1a3)](_0x5c9e22,[0x0])[_0x24f60(0x19d)](_0x256541=>{});});}static async['modifySelfProfile'](_0x46e4d8){const _0x4b974a=_0x598564;return napCatCore['session'][_0x4b974a(0x1a8)]()[_0x4b974a(0x191)](_0x46e4d8);}static async['getCookies'](_0x36d674){const _0xb78804=_0x598564,_0x519534={'qoOSs':function(_0x8f340d,_0x46721c){return _0x8f340d+_0x46721c;},'GzMrQ':function(_0x2e2a22,_0x3133d3){return _0x2e2a22+_0x3133d3;},'OECyA':function(_0x1215af,_0x1d56cf){return _0x1215af+_0x1d56cf;},'VFcfQ':_0xb78804(0x1b9),'kABPW':_0xb78804(0x1de),'kzrtx':_0xb78804(0x185),'UvjGu':_0xb78804(0x1e0),'Fddwg':'%2Finfocenter&keyindex=19%27','KCyyo':function(_0x24b343,_0x2b5b5c,_0x43ab2c){return _0x24b343(_0x2b5b5c,_0x43ab2c);},'LURch':_0xb78804(0x19e)},_0xc2ff75=await NTQQUserApi[_0xb78804(0x183)](),_0x5b2ba3=_0x519534[_0xb78804(0x1c6)](_0x519534[_0xb78804(0x1d6)](_0x519534[_0xb78804(0x1d2)](_0x519534['GzMrQ'](_0x519534[_0xb78804(0x1d2)](_0x519534[_0xb78804(0x1d2)](_0x519534[_0xb78804(0x1aa)],selfInfo[_0xb78804(0x1db)]),_0x519534[_0xb78804(0x1b5)]),_0xc2ff75[_0xb78804(0x1a5)])+_0x519534[_0xb78804(0x188)]+_0x36d674,_0x519534['UvjGu']),selfInfo[_0xb78804(0x1db)]),_0x519534[_0xb78804(0x1cc)]);let _0x1c7875={};try{_0x1c7875=await RequestUtil[_0xb78804(0x1ca)](_0x5b2ba3);}catch(_0x5b6c97){_0x519534[_0xb78804(0x1a2)](logDebug,_0x519534['LURch'],_0x5b6c97),_0x1c7875={};}return _0x1c7875;}static async[_0x598564(0x199)](_0x24dd7c){const _0x1efd52=_0x598564;return await napCatCore[_0x1efd52(0x19c)][_0x1efd52(0x1ad)]()['getPskey'](_0x24dd7c,!![]);}static async['getRobotUinRange'](){const _0x16bd30=_0x598564,_0x5d99af=await napCatCore[_0x16bd30(0x19c)][_0x16bd30(0x19f)]()[_0x16bd30(0x1df)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x5d99af?.[_0x16bd30(0x1d5)]?.['robotUinRanges'];}static async['getQzoneCookies'](){const _0x9d3d00=_0x598564,_0x1f6e33={'WwIwf':function(_0x10e500,_0x2ed51d){return _0x10e500+_0x2ed51d;},'nzRrG':function(_0x1e7bf2,_0x251c06){return _0x1e7bf2+_0x251c06;},'AIAlx':_0x9d3d00(0x1b9),'bMoct':_0x9d3d00(0x1de),'YTfpf':'&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','JfqAn':_0x9d3d00(0x1c3),'SEtuu':function(_0x19f22d,_0x527e7a,_0x533488){return _0x19f22d(_0x527e7a,_0x533488);},'tKiYU':_0x9d3d00(0x19e)},_0x45f244=await NTQQUserApi[_0x9d3d00(0x183)](),_0xa613fc=_0x1f6e33['WwIwf'](_0x1f6e33[_0x9d3d00(0x1ae)](_0x1f6e33[_0x9d3d00(0x1c4)](_0x1f6e33['WwIwf'](_0x1f6e33['nzRrG'](_0x1f6e33[_0x9d3d00(0x1a6)],selfInfo[_0x9d3d00(0x1db)])+_0x1f6e33[_0x9d3d00(0x1d1)],_0x45f244[_0x9d3d00(0x1a5)]),_0x1f6e33[_0x9d3d00(0x1a4)]),selfInfo['uin']),_0x1f6e33['JfqAn']);let _0x3db1c5={};try{_0x3db1c5=await RequestUtil[_0x9d3d00(0x1ca)](_0xa613fc);}catch(_0x1dfa72){_0x1f6e33['SEtuu'](logDebug,_0x1f6e33[_0x9d3d00(0x18e)],_0x1dfa72),_0x3db1c5={};}return _0x3db1c5;}static async['getSkey'](){const _0x7466f1=_0x598564,_0x138774={'uacrA':function(_0x118676,_0x4d2afe){return _0x118676!==_0x4d2afe;},'WMoVM':function(_0x51870d,_0x42e1a2){return _0x51870d+_0x42e1a2;},'VJzYW':function(_0x3f8dc0,_0x42436c){return _0x3f8dc0+_0x42436c;},'safDW':_0x7466f1(0x1b9),'vaqbH':_0x7466f1(0x17e),'MlkFV':function(_0x597565,_0x501f7f,_0x27a761){return _0x597565(_0x501f7f,_0x27a761);},'MZSQW':_0x7466f1(0x1bf),'rgmSN':'skey'};try{const _0x232b64=await NTQQUserApi[_0x7466f1(0x183)]();if(_0x138774[_0x7466f1(0x1b2)](_0x232b64[_0x7466f1(0x1dd)],0x0))return'';const _0x443902=_0x232b64['clientKey'],_0xac6dbc=_0x232b64[_0x7466f1(0x1ba)],_0x58a1e1=_0x138774[_0x7466f1(0x180)](_0x138774[_0x7466f1(0x1c5)](_0x138774[_0x7466f1(0x1c2)]+selfInfo[_0x7466f1(0x1db)],_0x7466f1(0x1de))+_0x443902,_0x138774[_0x7466f1(0x193)]);let _0x104db5={};try{_0x104db5=await RequestUtil[_0x7466f1(0x1ca)](_0x58a1e1);}catch(_0x5ab16d){_0x138774[_0x7466f1(0x1b0)](logDebug,_0x138774[_0x7466f1(0x1d8)],_0x5ab16d),_0x104db5={};}const _0x445859=_0x104db5[_0x138774[_0x7466f1(0x1c7)]];if(!_0x445859)return'';return _0x445859;}catch(_0xcbf247){}return undefined;}static async['getUidByUin'](_0xd54c28){const _0x3a838a=_0x598564,_0x33e398={'VAkYj':_0x3a838a(0x1b3)};let _0x295502=await NTEventDispatch[_0x3a838a(0x1a1)](_0x33e398[_0x3a838a(0x1b6)],0x1388,[_0xd54c28]);return _0x295502['uidInfo'][_0x3a838a(0x19b)](_0xd54c28);}static async[_0x598564(0x18c)](_0x5be4d1){const _0x47ea5b=_0x598564;if(!_0x5be4d1)return'';let _0x570e54=await NTEventDispatch[_0x47ea5b(0x1a1)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x5be4d1]);return _0x570e54[_0x47ea5b(0x1d0)][_0x47ea5b(0x19b)](_0x5be4d1);}static async[_0x598564(0x1e1)](_0x571b6a){const _0x2340aa=_0x598564,_0xb94f0b={'sNUGI':'NodeIKernelProfileService/getUserDetailInfoByUin'};return NTEventDispatch[_0x2340aa(0x1a1)](_0xb94f0b['sNUGI'],0x1388,_0x571b6a);}static async[_0x598564(0x183)](){const _0x575fac=_0x598564;return await napCatCore[_0x575fac(0x19c)][_0x575fac(0x1bb)]()['forceFetchClientKey']('');}}function _0x21f7(){const _0x3e3aae=['NodeIKernelUixConvertService/getUid','DnqaP','kABPW','VAkYj','27842PkySWK','defineProperty','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','keyIndex','getTicketService','setSelfOnlineStatus','mVfSQ','rfEWl','请求获取Skey时失败','decorate','onLoginSuccess','safDW','%2Finfocenter&keyindex=19%27','nzRrG','VJzYW','qoOSs','rgmSN','like','efAAG','HttpsGetCookies','106040VvlgEv','Fddwg','ORJOK','getBuddyService','getProfileLikeService','uinInfo','bMoct','OECyA','nsMiA','addListener','response','GzMrQ','2GQcuUl','MZSQW','636WwkZtn','8hhkTsp','uin','set','result','&clientkey=','getRobotUinRange','%2F','getUserDetailInfoByUin','getSkey','setHeader','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','getBuddyRecommendContactArkJson','WMoVM','141528hRbtRE','CpkxY','forceFetchClientKey','ErbrV','&u1=https%3A%2F%2F','setLongNick','__decorate','kzrtx','getMsgService','689560pRmYJY','errMsg','getUinByUid','function','tKiYU','onProfileDetailInfoChanged','setStatus','modifyDesktopMiniProfile','3017OSmqZn','vaqbH','setQQAvatar','KXOYT','2464858kybRRd','forEach','16MKdhZN','getPSkey','length','get','session','then','请求获取Cookies时失败','getRobotService','getSelfInfo','CallNoListenerEvent','KCyyo','getUserDetailInfoWithBizInfo','YTfpf','clientKey','AIAlx','VIcdm','getProfileService','getQzoneCookies','VFcfQ','yITIX','uid','getTipOffService','WwIwf','getOwnPropertyDescriptor','MlkFV','1075653BZtDZN','uacrA'];_0x21f7=function(){return _0x3e3aae;};return _0x21f7();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x199),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x1a9),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x598564(0x1e2),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'ClientKey')],NTQQUserApi,_0x598564(0x183),null); \ No newline at end of file +const _0x1d1a09=_0x255a;(function(_0xeebe00,_0x46cb0c){const _0x61014e=_0x255a,_0x2408d6=_0xeebe00();while(!![]){try{const _0x377b75=-parseInt(_0x61014e(0x175))/0x1*(parseInt(_0x61014e(0x14e))/0x2)+-parseInt(_0x61014e(0x14c))/0x3*(-parseInt(_0x61014e(0x120))/0x4)+-parseInt(_0x61014e(0x176))/0x5+-parseInt(_0x61014e(0x12e))/0x6*(parseInt(_0x61014e(0x169))/0x7)+parseInt(_0x61014e(0x17f))/0x8*(-parseInt(_0x61014e(0x180))/0x9)+-parseInt(_0x61014e(0x14f))/0xa*(-parseInt(_0x61014e(0x17d))/0xb)+parseInt(_0x61014e(0x146))/0xc;if(_0x377b75===_0x46cb0c)break;else _0x2408d6['push'](_0x2408d6['shift']());}catch(_0x1b53d7){_0x2408d6['push'](_0x2408d6['shift']());}}}(_0x33a9,0x59f0a));var __decorate=this&&this['__decorate']||function(_0x132250,_0x2810f1,_0x4f32be,_0x5de156){const _0x1eec89=_0x255a,_0x5dc15b={'lATSK':function(_0x4954fd,_0x51f140){return _0x4954fd===_0x51f140;},'jScKL':'object','bZtyl':_0x1eec89(0x12b),'xOhNt':function(_0x45a581,_0x312f1c){return _0x45a581-_0x312f1c;},'TmtXI':function(_0xfb8971,_0x2e11c6){return _0xfb8971>=_0x2e11c6;},'MpRjJ':function(_0x3a12b6,_0x4706cf){return _0x3a12b6<_0x4706cf;},'ivsUX':function(_0x26dba3,_0x2ce393){return _0x26dba3(_0x2ce393);},'DsuxL':function(_0x14761a,_0x5bbe0f){return _0x14761a>_0x5bbe0f;},'cUcZE':function(_0x2adc48,_0x258180,_0x1f50d8,_0x2ef4bb){return _0x2adc48(_0x258180,_0x1f50d8,_0x2ef4bb);},'EZXIT':function(_0x1eda0b,_0x1c68c8,_0x37873c){return _0x1eda0b(_0x1c68c8,_0x37873c);},'JsLcu':function(_0x48fe08,_0x3f5d37){return _0x48fe08>_0x3f5d37;}};var _0x5029ee=arguments['length'],_0x2e1a8a=_0x5029ee<0x3?_0x2810f1:_0x5dc15b[_0x1eec89(0x17b)](_0x5de156,null)?_0x5de156=Object['getOwnPropertyDescriptor'](_0x2810f1,_0x4f32be):_0x5de156,_0x255a99;if(_0x5dc15b[_0x1eec89(0x17b)](typeof Reflect,_0x5dc15b[_0x1eec89(0x17c)])&&typeof Reflect[_0x1eec89(0x15d)]===_0x5dc15b[_0x1eec89(0x13d)])_0x2e1a8a=Reflect[_0x1eec89(0x15d)](_0x132250,_0x2810f1,_0x4f32be,_0x5de156);else{for(var _0x59bc18=_0x5dc15b[_0x1eec89(0x162)](_0x132250[_0x1eec89(0x164)],0x1);_0x5dc15b[_0x1eec89(0x181)](_0x59bc18,0x0);_0x59bc18--)if(_0x255a99=_0x132250[_0x59bc18])_0x2e1a8a=(_0x5dc15b[_0x1eec89(0x135)](_0x5029ee,0x3)?_0x5dc15b[_0x1eec89(0x16f)](_0x255a99,_0x2e1a8a):_0x5dc15b['DsuxL'](_0x5029ee,0x3)?_0x5dc15b[_0x1eec89(0x12d)](_0x255a99,_0x2810f1,_0x4f32be,_0x2e1a8a):_0x5dc15b[_0x1eec89(0x174)](_0x255a99,_0x2810f1,_0x4f32be))||_0x2e1a8a;}return _0x5dc15b[_0x1eec89(0x133)](_0x5029ee,0x3)&&_0x2e1a8a&&Object[_0x1eec89(0x12f)](_0x2810f1,_0x4f32be,_0x2e1a8a),_0x2e1a8a;};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 _0x33a9(){const _0x5e5b68=['eOcuM','7GDIyDc','setLongNick','getBuddyRecommendContactArkJson','delete','ziKMt','请求获取Cookies时失败','ivsUX','then','result','getMsgService','ICqQx','EZXIT','2fXjzCT','2032330aNSpGx','getTipOffService','getUserInfo','soHHU','ZoVWl','lATSK','jScKL','216667EdBLuN','forEach','2120tYvKab','14355HmkNaD','TmtXI','getSelfInfo','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','getQzoneCookies','OLBdh','getProfileLikeService','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','9692zqGoHb','getPSkey','session','getPskey','uid','sdVxj','IElJM','ClientKey','like','getRobotService','CallNoListenerEvent','function','getUserDetailInfoWithBizInfo','cUcZE','1344366rqSPnE','defineProperty','uinInfo','%2F','请求获取Skey时失败','JsLcu','robotUinRanges','MpRjJ','NodeIKernelUixConvertService/getUid','HHfLp','modifySelfProfile','adqRa','tjcXn','setBuddyProfileLike','setHeader','bZtyl','pVsej','&u1=https%3A%2F%2F','get','setQQAvatar','uSWcY','%2Finfocenter&keyindex=19%27','&clientkey=','pQhXd','12937680EYHdzY','onProfileDetailInfoChanged','UVGYi','getUidByUin','SQHxm','NodeIKernelUixConvertService/getUin','111yJiwhO','getUinByUid','356802ZHwRZd','310ToKhNo','NodeIKernelProfileService/getUserDetailInfoByUin','response','getUserDetailInfo\x20timeout','getCookies','getProfileService','forceFetchClientKey','CWutp','onLoginSuccess','setStatus','uidInfo','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','modifyDesktopMiniProfile','DhjvQ','decorate','clientKey','getUserDetailInfoByUin','HttpsGetCookies','uin','xOhNt','AuNPD','length','getTicketService','pVnsa','getRobotUinRange'];_0x33a9=function(){return _0x5e5b68;};return _0x33a9();}import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x255a(_0x3a46b6,_0x4cf44b){const _0x33a96e=_0x33a9();return _0x255a=function(_0x255a84,_0x2957f3){_0x255a84=_0x255a84-0x11d;let _0x1c96d2=_0x33a96e[_0x255a84];return _0x1c96d2;},_0x255a(_0x3a46b6,_0x4cf44b);}profileListener[_0x1d1a09(0x147)]=_0x481cbb=>{const _0x1a3075=_0x1d1a09;userInfoCache[_0x481cbb[_0x1a3075(0x124)]]=_0x481cbb,userDetailHandlers[_0x1a3075(0x17e)](_0x2878f7=>_0x2878f7(_0x481cbb));},setTimeout(()=>{const _0x59eccd=_0x1d1a09;napCatCore[_0x59eccd(0x157)](()=>{napCatCore['addListener'](profileListener);});},0x64);export class NTQQUserApi{static async[_0x1d1a09(0x16a)](_0x3ba305){const _0x3da3e6=_0x1d1a09;return napCatCore[_0x3da3e6(0x122)][_0x3da3e6(0x154)]()[_0x3da3e6(0x16a)](_0x3ba305);}static async['setSelfOnlineStatus'](_0x19f9c9,_0xaafa63,_0x33fd58){const _0x16fa21=_0x1d1a09;return napCatCore[_0x16fa21(0x122)][_0x16fa21(0x172)]()[_0x16fa21(0x158)]({'status':_0x19f9c9,'extStatus':_0xaafa63,'batteryStatus':_0x33fd58});}static async[_0x1d1a09(0x16b)](_0x5d75c2,_0x5bcff7=''){const _0x57349f=_0x1d1a09;return napCatCore[_0x57349f(0x122)]['getBuddyService']()['getBuddyRecommendContactArkJson'](_0x5d75c2,_0x5bcff7);}static async[_0x1d1a09(0x128)](_0x688263,_0x4a63d2=0x1){const _0x1d79ac=_0x1d1a09;return napCatCore[_0x1d79ac(0x122)][_0x1d79ac(0x11e)]()[_0x1d79ac(0x13b)]({'friendUid':_0x688263,'sourceId':0x47,'doLikeCount':_0x4a63d2,'doLikeTollCount':0x0});}static async[_0x1d1a09(0x141)](_0x3292f6){const _0x187641=_0x1d1a09,_0x101b7d=await napCatCore[_0x187641(0x122)][_0x187641(0x154)]()[_0x187641(0x13c)](_0x3292f6);return{'result':_0x101b7d?.['result'],'errMsg':_0x101b7d?.['errMsg']};}static async[_0x1d1a09(0x182)](){}static async[_0x1d1a09(0x178)](_0x2375cf){}static async['getUserDetailInfo'](_0x18ef84){const _0x260354=_0x1d1a09,_0x362712={'CWutp':function(_0x5cb984,_0x73e292){return _0x5cb984(_0x73e292);},'SQHxm':function(_0x31a531,_0x57ffb5){return _0x31a531(_0x57ffb5);},'pQhXd':function(_0xe1f17,_0x4ae627,_0x4e5112){return _0xe1f17(_0x4ae627,_0x4e5112);}},_0x4e5643=napCatCore[_0x260354(0x122)][_0x260354(0x154)]();return new Promise((_0x144500,_0x2e6d02)=>{const _0x51ae18=_0x260354,_0x488894={'DhvDR':function(_0x90f106,_0x3fae21){const _0x5a32c6=_0x255a;return _0x362712[_0x5a32c6(0x14a)](_0x90f106,_0x3fae21);}},_0x404259=randomUUID();let _0x59860b=![],_0x2995de=undefined,_0x54e753=!![];_0x362712[_0x51ae18(0x145)](setTimeout,()=>{const _0x5ea3b4=_0x51ae18;!_0x59860b&&(_0x2995de?_0x362712[_0x5ea3b4(0x156)](_0x144500,_0x2995de):_0x362712['CWutp'](_0x2e6d02,_0x5ea3b4(0x152))),userDetailHandlers[_0x5ea3b4(0x16c)](_0x404259);},0x1388),userDetailHandlers['set'](_0x404259,_0x5ccbc4=>{const _0x30f881=_0x51ae18;_0x5ccbc4[_0x30f881(0x124)]===_0x18ef84&&(_0x54e753?(_0x2995de=_0x5ccbc4,_0x54e753=![]):(_0x59860b=!![],_0x488894['DhvDR'](_0x144500,_0x5ccbc4)));}),_0x4e5643[_0x51ae18(0x12c)](_0x18ef84,[0x0])[_0x51ae18(0x170)](_0x50fc38=>{});});}static async[_0x1d1a09(0x138)](_0x473abe){const _0x2c24bc=_0x1d1a09;return napCatCore[_0x2c24bc(0x122)][_0x2c24bc(0x154)]()[_0x2c24bc(0x15b)](_0x473abe);}static async[_0x1d1a09(0x153)](_0x3f0670){const _0x34303a=_0x1d1a09,_0xac00a5={'OLBdh':function(_0x1dbcf3,_0x44e02f){return _0x1dbcf3+_0x44e02f;},'ICqQx':function(_0x302801,_0x1cd6c6){return _0x302801+_0x1cd6c6;},'soHHU':function(_0x5d4858,_0x367fe8){return _0x5d4858+_0x367fe8;},'ZoVWl':function(_0x403cb3,_0x28fc29){return _0x403cb3+_0x28fc29;},'eOcuM':_0x34303a(0x15a),'hDPpH':_0x34303a(0x144),'pVnsa':_0x34303a(0x13f),'DhjvQ':function(_0x3f9ba9,_0x1b6bd4,_0xc0eac6){return _0x3f9ba9(_0x1b6bd4,_0xc0eac6);}},_0x5cdd22=await NTQQUserApi['forceFetchClientKey'](),_0x18d706=_0xac00a5[_0x34303a(0x11d)](_0xac00a5[_0x34303a(0x173)](_0xac00a5[_0x34303a(0x173)](_0xac00a5[_0x34303a(0x173)](_0xac00a5[_0x34303a(0x179)](_0xac00a5['soHHU'](_0xac00a5[_0x34303a(0x17a)](_0xac00a5[_0x34303a(0x168)],selfInfo[_0x34303a(0x161)]),_0xac00a5['hDPpH']),_0x5cdd22[_0x34303a(0x15e)]),_0xac00a5[_0x34303a(0x166)]),_0x3f0670)+_0x34303a(0x131),selfInfo[_0x34303a(0x161)]),_0x34303a(0x143));let _0x5e93bb={};try{_0x5e93bb=await RequestUtil[_0x34303a(0x160)](_0x18d706);}catch(_0x274527){_0xac00a5[_0x34303a(0x15c)](logDebug,_0x34303a(0x16e),_0x274527),_0x5e93bb={};}return _0x5e93bb;}static async[_0x1d1a09(0x121)](_0x1c4df3){const _0x2c409f=_0x1d1a09;return await napCatCore['session'][_0x2c409f(0x177)]()[_0x2c409f(0x123)](_0x1c4df3,!![]);}static async[_0x1d1a09(0x167)](){const _0x4701f9=_0x1d1a09,_0x13b76e=await napCatCore['session'][_0x4701f9(0x129)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x13b76e?.[_0x4701f9(0x151)]?.[_0x4701f9(0x134)];}static async[_0x1d1a09(0x184)](){const _0x5588a6=_0x1d1a09,_0x4d93cc={'IElJM':function(_0x1f5d7a,_0x2492ac){return _0x1f5d7a+_0x2492ac;},'UVGYi':function(_0x445d60,_0x3293d5){return _0x445d60+_0x3293d5;},'ziKMt':'%2Finfocenter&keyindex=19%27','pVsej':function(_0x107b70,_0xfe7550,_0x9d1706){return _0x107b70(_0xfe7550,_0x9d1706);},'Gzzkt':_0x5588a6(0x16e)},_0x11d837=await NTQQUserApi['forceFetchClientKey'](),_0x26e4ea=_0x4d93cc[_0x5588a6(0x126)](_0x4d93cc['IElJM'](_0x4d93cc[_0x5588a6(0x126)](_0x4d93cc[_0x5588a6(0x148)](_0x5588a6(0x15a),selfInfo[_0x5588a6(0x161)]),_0x5588a6(0x144))+_0x11d837[_0x5588a6(0x15e)],_0x5588a6(0x183)),selfInfo['uin'])+_0x4d93cc[_0x5588a6(0x16d)];let _0x3bd3a5={};try{_0x3bd3a5=await RequestUtil[_0x5588a6(0x160)](_0x26e4ea);}catch(_0x291e99){_0x4d93cc[_0x5588a6(0x13e)](logDebug,_0x4d93cc['Gzzkt'],_0x291e99),_0x3bd3a5={};}return _0x3bd3a5;}static async['getSkey'](){const _0x506fc5=_0x1d1a09,_0x57e3e7={'adqRa':function(_0x5da3a4,_0x2d2ebc){return _0x5da3a4!==_0x2d2ebc;},'AuNPD':function(_0x1c6b4c,_0x1468e4){return _0x1c6b4c+_0x1468e4;},'LbrJQ':_0x506fc5(0x15a),'RXVFb':_0x506fc5(0x144),'ATNpB':_0x506fc5(0x11f),'sdVxj':function(_0x453ec1,_0x4fcb84,_0x373fa6){return _0x453ec1(_0x4fcb84,_0x373fa6);},'tjcXn':_0x506fc5(0x132)};try{const _0x1dbd6f=await NTQQUserApi[_0x506fc5(0x155)]();if(_0x57e3e7[_0x506fc5(0x139)](_0x1dbd6f[_0x506fc5(0x171)],0x0))return'';const _0x29fe72=_0x1dbd6f[_0x506fc5(0x15e)],_0x3c7083=_0x1dbd6f['keyIndex'],_0x162560=_0x57e3e7[_0x506fc5(0x163)](_0x57e3e7[_0x506fc5(0x163)](_0x57e3e7['LbrJQ'],selfInfo['uin']),_0x57e3e7['RXVFb'])+_0x29fe72+_0x57e3e7['ATNpB'];let _0x2d956c={};try{_0x2d956c=await RequestUtil[_0x506fc5(0x160)](_0x162560);}catch(_0x1c9d24){_0x57e3e7[_0x506fc5(0x125)](logDebug,_0x57e3e7[_0x506fc5(0x13a)],_0x1c9d24),_0x2d956c={};}const _0x1ba2dc=_0x2d956c['skey'];if(!_0x1ba2dc)return'';return _0x1ba2dc;}catch(_0x3751df){}return undefined;}static async[_0x1d1a09(0x149)](_0x1abde2){const _0x53c4a3=_0x1d1a09,_0xa1dfaa={'JevEb':_0x53c4a3(0x136)};let _0x388854=await NTEventDispatch['CallNoListenerEvent'](_0xa1dfaa['JevEb'],0x1388,[_0x1abde2]);return _0x388854[_0x53c4a3(0x159)][_0x53c4a3(0x140)](_0x1abde2);}static async[_0x1d1a09(0x14d)](_0x25e466){const _0x1ab85b=_0x1d1a09,_0x33c50a={'uSWcY':_0x1ab85b(0x14b)};if(!_0x25e466)return'';let _0x22dfc1=await NTEventDispatch['CallNoListenerEvent'](_0x33c50a[_0x1ab85b(0x142)],0x1388,[_0x25e466]);return _0x22dfc1[_0x1ab85b(0x130)][_0x1ab85b(0x140)](_0x25e466);}static async[_0x1d1a09(0x15f)](_0x68e907){const _0x1d4609=_0x1d1a09,_0x412707={'HHfLp':_0x1d4609(0x150)};return NTEventDispatch[_0x1d4609(0x12a)](_0x412707[_0x1d4609(0x137)],0x1388,_0x68e907);}static async[_0x1d1a09(0x155)](){const _0x1bec2e=_0x1d1a09;return await napCatCore['session'][_0x1bec2e(0x165)]()[_0x1bec2e(0x155)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1d1a09(0x153),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1d1a09(0x121),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x1d1a09(0x184),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getSkey',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x1d1a09(0x127))],NTQQUserApi,_0x1d1a09(0x155),null); \ No newline at end of file diff --git a/src/core.lib/src/apis/webapi.js b/src/core.lib/src/apis/webapi.js index bb161cff..4abc17d9 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x3493d5=_0x19b5;(function(_0x2ab1f5,_0x490750){const _0x2d8c9c=_0x19b5,_0x4ff362=_0x2ab1f5();while(!![]){try{const _0x3b77ed=-parseInt(_0x2d8c9c(0x140))/0x1+parseInt(_0x2d8c9c(0x142))/0x2+-parseInt(_0x2d8c9c(0xf1))/0x3*(-parseInt(_0x2d8c9c(0x15f))/0x4)+parseInt(_0x2d8c9c(0x13e))/0x5*(parseInt(_0x2d8c9c(0xc9))/0x6)+-parseInt(_0x2d8c9c(0x115))/0x7*(parseInt(_0x2d8c9c(0x14a))/0x8)+parseInt(_0x2d8c9c(0x15d))/0x9*(parseInt(_0x2d8c9c(0x12e))/0xa)+-parseInt(_0x2d8c9c(0x156))/0xb*(-parseInt(_0x2d8c9c(0xe0))/0xc);if(_0x3b77ed===_0x490750)break;else _0x4ff362['push'](_0x4ff362['shift']());}catch(_0x137c0c){_0x4ff362['push'](_0x4ff362['shift']());}}}(_0x3d99,0x8e317));var __decorate=this&&this[_0x3493d5(0x12c)]||function(_0x4cb6f2,_0x4ac6e6,_0x42c7fe,_0xc7e4a){const _0x51af9f=_0x3493d5,_0x317f70={'iqUUk':function(_0xa729e9,_0x50824f){return _0xa729e9<_0x50824f;},'DeKbU':function(_0x5f519a,_0x49566e){return _0x5f519a===_0x49566e;},'OxtqL':'object','fzWga':function(_0x343f30,_0x17f7ee){return _0x343f30-_0x17f7ee;},'ixOBR':function(_0x4297df,_0x46efc5){return _0x4297df>=_0x46efc5;},'MqLOB':function(_0x6d9b10,_0x1a3735){return _0x6d9b10>_0x1a3735;},'HgVYg':function(_0x8b130e,_0x57499e,_0x46825d,_0x2750ae){return _0x8b130e(_0x57499e,_0x46825d,_0x2750ae);},'FpuyW':function(_0x1566a9,_0x18c5c2){return _0x1566a9>_0x18c5c2;}};var _0x292880=arguments[_0x51af9f(0x124)],_0x9b369b=_0x317f70['iqUUk'](_0x292880,0x3)?_0x4ac6e6:_0x317f70[_0x51af9f(0xe9)](_0xc7e4a,null)?_0xc7e4a=Object['getOwnPropertyDescriptor'](_0x4ac6e6,_0x42c7fe):_0xc7e4a,_0x5377fb;if(_0x317f70[_0x51af9f(0xe9)](typeof Reflect,_0x317f70['OxtqL'])&&_0x317f70[_0x51af9f(0xe9)](typeof Reflect[_0x51af9f(0xea)],_0x51af9f(0x16b)))_0x9b369b=Reflect[_0x51af9f(0xea)](_0x4cb6f2,_0x4ac6e6,_0x42c7fe,_0xc7e4a);else{for(var _0x31447a=_0x317f70[_0x51af9f(0x139)](_0x4cb6f2[_0x51af9f(0x124)],0x1);_0x317f70[_0x51af9f(0x15a)](_0x31447a,0x0);_0x31447a--)if(_0x5377fb=_0x4cb6f2[_0x31447a])_0x9b369b=(_0x292880<0x3?_0x5377fb(_0x9b369b):_0x317f70['MqLOB'](_0x292880,0x3)?_0x317f70['HgVYg'](_0x5377fb,_0x4ac6e6,_0x42c7fe,_0x9b369b):_0x5377fb(_0x4ac6e6,_0x42c7fe))||_0x9b369b;}return _0x317f70[_0x51af9f(0x10a)](_0x292880,0x3)&&_0x9b369b&&Object[_0x51af9f(0x163)](_0x4ac6e6,_0x42c7fe,_0x9b369b),_0x9b369b;};import{WebGroupData,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';export var WebHonorType;(function(_0x26fc9a){const _0x2adaac=_0x3493d5,_0x2f3dc8={'yGuSH':'0|5|1|2|3|4','UfhPQ':'ALL','mprxF':_0x2adaac(0x169),'GIRHM':_0x2adaac(0x133),'HQdXO':'performer','zdhNB':_0x2adaac(0xe3),'kAAuz':_0x2adaac(0xfb),'ADMhU':_0x2adaac(0x161)},_0x457936=_0x2f3dc8[_0x2adaac(0xcb)][_0x2adaac(0x148)]('|');let _0x206628=0x0;while(!![]){switch(_0x457936[_0x206628++]){case'0':_0x26fc9a[_0x2f3dc8[_0x2adaac(0x10b)]]=_0x2f3dc8[_0x2adaac(0x13b)];continue;case'1':_0x26fc9a[_0x2f3dc8[_0x2adaac(0xe2)]]=_0x2f3dc8[_0x2adaac(0xe7)];continue;case'2':_0x26fc9a['LEGEND']=_0x2adaac(0xe1);continue;case'3':_0x26fc9a[_0x2adaac(0xc3)]=_0x2adaac(0x16d);continue;case'4':_0x26fc9a[_0x2f3dc8[_0x2adaac(0x110)]]=_0x2f3dc8[_0x2adaac(0x116)];continue;case'5':_0x26fc9a['TALKACTIVE']=_0x2f3dc8[_0x2adaac(0x127)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x3493d5(0xf8)](_0x40f934,_0x2b6983){const _0x47d923=_0x3493d5,_0x1e522d={'qdExb':'qun.qq.com','VlAll':function(_0x31251a,_0x20de6f){return _0x31251a+_0x20de6f;},'tJTYq':function(_0x4f4511,_0x4c9f35){return _0x4f4511+_0x4c9f35;},'PQeqW':function(_0x27b87e,_0x54a1a3){return _0x27b87e+_0x54a1a3;},'PQvKW':'p_skey=','IYApq':_0x47d923(0x100),'wCraX':_0x47d923(0x12d),'aOmvD':_0x47d923(0xe5),'Sjlfq':function(_0x4035f5,_0x1b1300){return _0x4035f5||_0x1b1300;},'vWxQu':function(_0x1294e2,_0x5465a9){return _0x1294e2+_0x5465a9;},'AFSiR':function(_0x414af8,_0x573a55){return _0x414af8+_0x573a55;},'fzpeM':function(_0x19305b,_0x5bba40){return _0x19305b+_0x5bba40;},'JfPAL':_0x47d923(0x122),'WYZaK':_0x47d923(0xfc),'YKgCu':_0x47d923(0x109),'HNfVu':'GET'},_0x2230eb=(await NTQQUserApi['getPSkey']([_0x1e522d[_0x47d923(0xf2)]]))['domainPskeyMap']['get'](_0x47d923(0x10e)),_0x223171=await NTQQUserApi[_0x47d923(0x10f)](),_0x55a3e5=_0x1e522d['VlAll'](_0x1e522d[_0x47d923(0x112)](_0x1e522d[_0x47d923(0xd0)](_0x1e522d[_0x47d923(0xd0)](_0x1e522d[_0x47d923(0xf9)](_0x1e522d[_0x47d923(0xf9)](_0x1e522d['PQvKW'],_0x2230eb),_0x1e522d[_0x47d923(0xd6)])+_0x223171,_0x1e522d['wCraX']),selfInfo['uin']),_0x1e522d[_0x47d923(0x154)]),selfInfo[_0x47d923(0x13c)]);if(_0x1e522d[_0x47d923(0x106)](!_0x223171,!_0x2230eb))return undefined;const _0x18e032=WebApi[_0x47d923(0x11a)](_0x223171),_0x203abf=_0x1e522d[_0x47d923(0xbf)](_0x1e522d['AFSiR'](_0x1e522d[_0x47d923(0xbf)](_0x1e522d[_0x47d923(0xc8)]('https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=',_0x18e032),_0x1e522d[_0x47d923(0x104)]),_0x40f934)+_0x1e522d[_0x47d923(0x12f)],_0x2b6983)+_0x1e522d[_0x47d923(0x14d)];let _0x410f73;try{_0x410f73=await RequestUtil['HttpGetJson'](_0x203abf,_0x1e522d[_0x47d923(0xd1)],'',{'Cookie':_0x55a3e5});}catch{return undefined;}if(_0x410f73[_0x47d923(0x12a)]!==0x0)return undefined;return _0x410f73;}static async[_0x3493d5(0x15e)](_0x3a5ea3,_0x53aae6=!![]){const _0x15dbe2=_0x3493d5,_0x3c1598={'dDDma':function(_0x247497,_0x52ad4e){return _0x247497>_0x52ad4e;},'MpTYL':_0x15dbe2(0x10e),'ZCQEf':function(_0x40e64a,_0x3e4fee){return _0x40e64a+_0x3e4fee;},'PmYOo':function(_0x5f1939,_0x2f8060){return _0x5f1939+_0x2f8060;},'JzpxC':function(_0x4771c9,_0x513645){return _0x4771c9+_0x513645;},'wgDxg':_0x15dbe2(0x136),'Chuzs':';\x20skey=','UMPNs':';\x20p_uin=o','BswJn':function(_0x3f014a,_0x49282b){return _0x3f014a+_0x49282b;},'gSwFT':function(_0x2aa0af,_0x37bb65){return _0x2aa0af+_0x37bb65;},'CoUSE':_0x15dbe2(0xe6),'mysbf':_0x15dbe2(0x105),'aIXfB':function(_0x1df05e,_0x30de25){return _0x1df05e!==_0x30de25;},'kMsLn':function(_0x3e9273,_0x513748){return _0x3e9273/_0x513748;},'NAOgN':function(_0x65a727,_0x39445e){return _0x65a727+_0x39445e;},'VXUPm':function(_0x4b2b5c,_0x7da618){return _0x4b2b5c+_0x7da618;},'sUFKj':function(_0x5e702f,_0x34d91d){return _0x5e702f+_0x34d91d;},'jwYzz':function(_0x52720a,_0x52e8ad){return _0x52720a+_0x52e8ad;},'uLwbG':'https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','ApdTq':function(_0x14c6c1,_0x22efa3){return _0x14c6c1-_0x22efa3;},'wHKcU':'&end=','GKUrE':function(_0x36d6be,_0x3eaba3){return _0x36d6be*_0x3eaba3;},'LZYiE':_0x15dbe2(0x11d),'ijIuE':function(_0x21ebfa,_0x2d77c6){return _0x21ebfa<=_0x2d77c6;},'Jzotv':function(_0x585c3e,_0x2c7133){return _0x585c3e!==_0x2c7133;}};let _0x5bb0a2=new Array();try{let _0x208a2f=WebGroupData[_0x15dbe2(0xeb)]['get'](_0x3a5ea3),_0x5a925a=WebGroupData[_0x15dbe2(0x125)][_0x15dbe2(0x143)](_0x3a5ea3);if(!_0x5a925a||_0x3c1598[_0x15dbe2(0xef)](Date['now']()-_0x5a925a,0x708*0x3e8)||!_0x53aae6){const _0xa9b95c=(await NTQQUserApi[_0x15dbe2(0xca)]([_0x3c1598[_0x15dbe2(0xec)]]))[_0x15dbe2(0x146)]['get'](_0x3c1598[_0x15dbe2(0xec)]),_0xb03c8=await NTQQUserApi[_0x15dbe2(0x10f)](),_0x17d4a9=_0x3c1598[_0x15dbe2(0xdd)](_0x3c1598['PmYOo'](_0x3c1598[_0x15dbe2(0x118)](_0x3c1598['JzpxC'](_0x3c1598['ZCQEf'](_0x3c1598[_0x15dbe2(0xf0)],_0xa9b95c),_0x3c1598[_0x15dbe2(0xbd)]),_0xb03c8),_0x3c1598[_0x15dbe2(0xc7)]),selfInfo[_0x15dbe2(0x13c)]);if(!_0xb03c8||!_0xa9b95c)return _0x5bb0a2;const _0x3bc874=WebApi[_0x15dbe2(0x11a)](_0xb03c8),_0x14ae92=[],_0x24a4a3=await RequestUtil[_0x15dbe2(0xd7)](_0x3c1598[_0x15dbe2(0x14e)](_0x3c1598[_0x15dbe2(0x10d)](_0x3c1598[_0x15dbe2(0x108)],_0x3a5ea3)+_0x3c1598['mysbf'],_0x3bc874),_0x15dbe2(0xfe),'',{'Cookie':_0x17d4a9});if(!_0x24a4a3?.[_0x15dbe2(0x134)]||_0x3c1598['aIXfB'](_0x24a4a3?.[_0x15dbe2(0xd8)],0x0)||!_0x24a4a3?.[_0x15dbe2(0xc5)])return[];else for(const _0x4ae07b in _0x24a4a3[_0x15dbe2(0xc5)]){_0x5bb0a2[_0x15dbe2(0xfd)](_0x24a4a3[_0x15dbe2(0xc5)][_0x4ae07b]);}const _0x1da36b=Math[_0x15dbe2(0x117)](_0x3c1598['kMsLn'](_0x24a4a3['count'],0x28));for(let _0x4c337f=0x2;_0x4c337f<=_0x1da36b;_0x4c337f++){const _0x5a7834=RequestUtil['HttpGetJson'](_0x3c1598[_0x15dbe2(0x138)](_0x3c1598[_0x15dbe2(0xdd)](_0x3c1598[_0x15dbe2(0xee)](_0x3c1598[_0x15dbe2(0x118)](_0x3c1598[_0x15dbe2(0x158)](_0x3c1598[_0x15dbe2(0x152)](_0x3c1598[_0x15dbe2(0xf6)],_0x3c1598[_0x15dbe2(0x16a)](_0x4c337f,0x1)*0x28),_0x3c1598[_0x15dbe2(0x166)]),_0x3c1598[_0x15dbe2(0xce)](_0x4c337f,0x28)),_0x3c1598[_0x15dbe2(0x16f)]),_0x3a5ea3),_0x3c1598[_0x15dbe2(0xed)])+_0x3bc874,_0x15dbe2(0xfe),'',{'Cookie':_0x17d4a9});_0x14ae92[_0x15dbe2(0xfd)](_0x5a7834);}for(let _0x3e6160=0x1;_0x3c1598['ijIuE'](_0x3e6160,_0x1da36b);_0x3e6160++){const _0x4d3147=await _0x14ae92[_0x3e6160];if(!_0x4d3147?.[_0x15dbe2(0x134)]||_0x3c1598[_0x15dbe2(0x14f)](_0x4d3147?.[_0x15dbe2(0xd8)],0x0)||!_0x4d3147?.[_0x15dbe2(0xc5)])continue;for(const _0x83cd7f in _0x4d3147[_0x15dbe2(0xc5)]){_0x5bb0a2[_0x15dbe2(0xfd)](_0x4d3147[_0x15dbe2(0xc5)][_0x83cd7f]);}}WebGroupData[_0x15dbe2(0xeb)][_0x15dbe2(0x168)](_0x3a5ea3,_0x5bb0a2),WebGroupData['GroupTime'][_0x15dbe2(0x168)](_0x3a5ea3,Date['now']());}else _0x5bb0a2=_0x208a2f;}catch{return _0x5bb0a2;}return _0x5bb0a2;}static async['setGroupNotice'](_0x37a172,_0x405c6b=''){const _0x545a27=_0x3493d5,_0x1c26bf={'eSnLi':'qun.qq.com','CrdPl':function(_0x28d609,_0x1c0767){return _0x28d609+_0x1c0767;},'aaoTi':function(_0x3c8567,_0x528033){return _0x3c8567+_0x528033;},'MRnYm':function(_0x10890a,_0x510acb){return _0x10890a+_0x510acb;},'thYCB':_0x545a27(0x136),'eElQd':_0x545a27(0x12d),'RnimJ':function(_0x520f49,_0x5215b1){return _0x520f49+_0x5215b1;},'hGpZU':_0x545a27(0x105),'EluRv':_0x545a27(0xfa),'rMdnO':'https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','ZTEcQ':_0x545a27(0xcf)},_0xe02c47=(await NTQQUserApi['getPSkey']([_0x1c26bf['eSnLi']]))[_0x545a27(0x146)]['get'](_0x1c26bf[_0x545a27(0xd4)]),_0x4415c6=await NTQQUserApi[_0x545a27(0x10f)](),_0xcffe12=_0x1c26bf['CrdPl'](_0x1c26bf[_0x545a27(0x113)](_0x1c26bf[_0x545a27(0x15b)](_0x1c26bf[_0x545a27(0x11e)],_0xe02c47)+_0x545a27(0x100),_0x4415c6)+_0x1c26bf[_0x545a27(0x130)],selfInfo[_0x545a27(0x13c)]);let _0xc92c56=undefined;if(!_0x4415c6||!_0xe02c47)return undefined;const _0x1807f8=WebApi[_0x545a27(0x11a)](_0x4415c6),_0x2fcbcf=_0x1c26bf['MRnYm'](_0x1c26bf[_0x545a27(0x15b)](_0x1c26bf[_0x545a27(0x159)](_0x1c26bf[_0x545a27(0x15b)](_0x545a27(0x16c),_0x37a172)+_0x1c26bf['hGpZU'],_0x1807f8),'&text='),_0x405c6b)+_0x1c26bf[_0x545a27(0xc2)],_0x229a47=_0x1c26bf[_0x545a27(0x14b)](_0x1c26bf[_0x545a27(0xf4)],_0x1807f8);try{return _0xc92c56=await RequestUtil[_0x545a27(0xd7)](_0x229a47,_0x1c26bf[_0x545a27(0xd2)],'',{'Cookie':_0xcffe12}),_0xc92c56;}catch(_0x263d55){return undefined;}return undefined;}static async[_0x3493d5(0x144)](_0x3841b9){const _0x37c6ac=_0x3493d5,_0x353b7d={'EZsha':'qun.qq.com','EJVcc':function(_0x386418,_0xde3653){return _0x386418+_0xde3653;},'wTuqr':function(_0x4c8268,_0x2eae2c){return _0x4c8268+_0x2eae2c;},'YDzJQ':_0x37c6ac(0x136),'xkuUF':_0x37c6ac(0x100),'KAERk':_0x37c6ac(0x12d),'SjrSS':function(_0x367ad2,_0x2e1076){return _0x367ad2+_0x2e1076;},'qLLuR':function(_0x2e17ac,_0x4c6ce9){return _0x2e17ac+_0x4c6ce9;},'QLZFM':function(_0x2ec2e5,_0x3a44f1){return _0x2ec2e5+_0x3a44f1;},'qJkIw':_0x37c6ac(0xf7),'maKew':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','wbbyI':_0x37c6ac(0xcf),'KXIJt':function(_0x52ad1a,_0x4de363){return _0x52ad1a!==_0x4de363;}},_0x542eea=(await NTQQUserApi[_0x37c6ac(0xca)]([_0x353b7d[_0x37c6ac(0x162)]]))[_0x37c6ac(0x146)][_0x37c6ac(0x143)](_0x353b7d[_0x37c6ac(0x162)]),_0x1cbb73=await NTQQUserApi['getSkey'](),_0x574674=_0x353b7d[_0x37c6ac(0x11c)](_0x353b7d[_0x37c6ac(0x11c)](_0x353b7d['EJVcc'](_0x353b7d[_0x37c6ac(0xde)](_0x353b7d['YDzJQ'],_0x542eea),_0x353b7d[_0x37c6ac(0x135)]),_0x1cbb73)+_0x353b7d[_0x37c6ac(0x167)],selfInfo['uin']);let _0x1a235d=undefined;if(!_0x1cbb73||!_0x542eea)return undefined;const _0xd34209=WebApi[_0x37c6ac(0x11a)](_0x1cbb73),_0x2fe052=_0x353b7d['SjrSS'](_0x353b7d['SjrSS'](_0x353b7d['qLLuR'](_0x353b7d[_0x37c6ac(0x121)](_0x353b7d[_0x37c6ac(0xcc)],_0xd34209),_0x37c6ac(0x149)),_0x3841b9),_0x353b7d[_0x37c6ac(0x102)]);try{_0x1a235d=await RequestUtil['HttpGetJson'](_0x2fe052,_0x353b7d['wbbyI'],'',{'Cookie':_0x574674});if(_0x353b7d[_0x37c6ac(0x165)](_0x1a235d?.['ec'],0x0))return undefined;return _0x1a235d;}catch(_0x289dfe){return undefined;}return undefined;}static[_0x3493d5(0x11a)](_0x1b94c4){const _0x4cd5f0=_0x3493d5,_0x7efeef={'lxFDl':function(_0x584c2a,_0x3237ea){return _0x584c2a||_0x3237ea;},'SqoAX':function(_0x5e3a79,_0x18d063){return _0x5e3a79<_0x18d063;},'gTiTX':function(_0x395571,_0x22c7a1){return _0x395571+_0x22c7a1;},'BTcak':function(_0x5df45d,_0x15d703){return _0x5df45d<<_0x15d703;},'IVgmF':function(_0x385e1b,_0xba11c0){return _0x385e1b&_0xba11c0;}};_0x1b94c4=_0x7efeef[_0x4cd5f0(0xbe)](_0x1b94c4,'');let _0x1bee81=0x1505;for(let _0x15a7bd=0x0;_0x7efeef['SqoAX'](_0x15a7bd,_0x1b94c4[_0x4cd5f0(0x124)]);_0x15a7bd++){const _0xa75cee=_0x1b94c4[_0x4cd5f0(0xbc)](_0x15a7bd);_0x1bee81=_0x7efeef[_0x4cd5f0(0x13f)](_0x7efeef['gTiTX'](_0x1bee81,_0x7efeef['BTcak'](_0x1bee81,0x5)),_0xa75cee);}return _0x7efeef[_0x4cd5f0(0xe4)](_0x1bee81,0x7fffffff)[_0x4cd5f0(0x12b)]();}static async[_0x3493d5(0xc0)](_0x423456,_0x53ed9d){const _0x312119=_0x3493d5,_0x4dcdad={'OmHRX':function(_0x2a2c6f,_0x3ae899){return _0x2a2c6f+_0x3ae899;},'KNQmA':function(_0x54e834,_0x19ecbf){return _0x54e834+_0x19ecbf;},'GbZMv':_0x312119(0x131),'hUkUa':_0x312119(0x107),'WiHNK':_0x312119(0xcf),'edbgQ':function(_0x2aa374,_0x4e9535){return _0x2aa374===_0x4e9535;},'INrNu':function(_0x4569d0,_0x4a495f,_0x442d79,_0x16b496){return _0x4569d0(_0x4a495f,_0x442d79,_0x16b496);},'OyUkx':_0x312119(0x10e),'rvzkw':function(_0x55ba4a,_0x345a22){return _0x55ba4a+_0x345a22;},'LTnRC':function(_0x57642e,_0x38f796){return _0x57642e+_0x38f796;},'zQabI':function(_0x5eb990,_0x3227aa){return _0x5eb990+_0x3227aa;},'gkWVn':_0x312119(0x136),'TLEHe':_0x312119(0x100),'seRje':';\x20p_uin=o','QYKOE':_0x312119(0xe5),'SStQv':function(_0x2c561f,_0x58966a){return _0x2c561f===_0x58966a;},'koAMF':function(_0x57a53f,_0x57caf7,_0x5a141a){return _0x57a53f(_0x57caf7,_0x5a141a);},'Amkzv':_0x312119(0x145),'pvSPS':function(_0x5e7e00,_0x1ac5fc){return _0x5e7e00===_0x1ac5fc;},'vSrau':_0x312119(0x14c),'fpmGG':function(_0x15a430,_0x42a3eb){return _0x15a430(_0x42a3eb);},'GPhmh':_0x312119(0xdf),'hKGUK':function(_0x27e8a7,_0x5ca92f,_0x169473){return _0x27e8a7(_0x5ca92f,_0x169473);},'SfaYO':_0x312119(0x126),'NQmxf':function(_0x3ead9a,_0x398f84){return _0x3ead9a===_0x398f84;}},_0x17aa75=(await NTQQUserApi[_0x312119(0xca)]([_0x4dcdad[_0x312119(0xdb)]]))['domainPskeyMap'][_0x312119(0x143)](_0x4dcdad['OyUkx']),_0x2e5488=await NTQQUserApi[_0x312119(0x10f)]();if(!_0x2e5488||!_0x17aa75)return undefined;async function _0x561488(_0x580210,_0x86697f){const _0x5cb178=_0x312119;let _0x26fe44=_0x4dcdad['OmHRX'](_0x4dcdad[_0x5cb178(0x123)](_0x4dcdad[_0x5cb178(0x11b)],_0x580210)+_0x4dcdad[_0x5cb178(0x111)],_0x86697f['toString']()),_0x50bfee='',_0x26e69c;try{_0x50bfee=await RequestUtil[_0x5cb178(0xc6)](_0x26fe44,_0x4dcdad[_0x5cb178(0x137)],'',{'Cookie':_0x307539});const _0x28ce79=_0x50bfee[_0x5cb178(0x119)](/window\.__INITIAL_STATE__=(.*?);/);return _0x28ce79&&(_0x26e69c=JSON[_0x5cb178(0x129)](_0x28ce79[0x1][_0x5cb178(0x10c)]())),_0x4dcdad[_0x5cb178(0x150)](_0x86697f,0x1)?_0x26e69c?.[_0x5cb178(0xd3)]:_0x26e69c?.[_0x5cb178(0x103)];}catch(_0x3fd449){_0x4dcdad[_0x5cb178(0x13a)](logDebug,_0x5cb178(0x101),_0x26fe44,_0x3fd449);}return undefined;}let _0x5e1ca5={'group_id':_0x423456};const _0x307539=_0x4dcdad[_0x312119(0x153)](_0x4dcdad[_0x312119(0x123)](_0x4dcdad[_0x312119(0x16e)](_0x4dcdad['OmHRX'](_0x4dcdad[_0x312119(0x132)](_0x4dcdad[_0x312119(0x128)],_0x17aa75),_0x4dcdad[_0x312119(0x11f)]),_0x2e5488),_0x4dcdad['seRje']),selfInfo['uin'])+_0x4dcdad['QYKOE']+selfInfo[_0x312119(0x13c)];if(_0x4dcdad[_0x312119(0x150)](_0x53ed9d,WebHonorType[_0x312119(0x164)])||_0x4dcdad['SStQv'](_0x53ed9d,WebHonorType[_0x312119(0xe8)]))try{let _0x27b2c7=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x1);if(!_0x27b2c7)throw new Error(_0x4dcdad['Amkzv']);_0x5e1ca5[_0x312119(0x141)]={'user_id':_0x27b2c7[0x0]?.['uin'],'avatar':_0x27b2c7[0x0]?.[_0x312119(0xc1)],'nickname':_0x27b2c7[0x0]?.['name'],'day_count':0x0,'description':_0x27b2c7[0x0]?.[_0x312119(0x120)]},_0x5e1ca5[_0x312119(0xd5)]=[];for(const _0x114976 of _0x27b2c7){_0x5e1ca5[_0x312119(0xd5)][_0x312119(0xfd)]({'user_id':_0x114976?.[_0x312119(0x13c)],'avatar':_0x114976?.['avatar'],'description':_0x114976?.['desc'],'day_count':0x0,'nickname':_0x114976?.[_0x312119(0x15c)]});}}catch(_0x53a555){logDebug(_0x53a555);}if(_0x4dcdad['SStQv'](_0x53ed9d,WebHonorType[_0x312119(0x133)])||_0x4dcdad['pvSPS'](_0x53ed9d,WebHonorType['ALL']))try{let _0x226bf4=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x2);if(!_0x226bf4)throw new Error(_0x4dcdad[_0x312119(0xd9)]);_0x5e1ca5[_0x312119(0x160)]=[];for(const _0x1ceb4b of _0x226bf4){_0x5e1ca5[_0x312119(0x160)][_0x312119(0xfd)]({'user_id':_0x1ceb4b?.[_0x312119(0x13c)],'nickname':_0x1ceb4b?.[_0x312119(0x15c)],'avatar':_0x1ceb4b?.[_0x312119(0xc1)],'description':_0x1ceb4b?.[_0x312119(0x120)]});}}catch(_0xb66dde){_0x4dcdad[_0x312119(0x157)](logDebug,_0xb66dde);}if(_0x53ed9d===WebHonorType[_0x312119(0x133)]||_0x53ed9d===WebHonorType[_0x312119(0xe8)])try{let _0x4dd379=await _0x4dcdad[_0x312119(0xcd)](_0x561488,_0x423456,0x3);if(!_0x4dd379)throw new Error(_0x4dcdad['GPhmh']);_0x5e1ca5[_0x312119(0x114)]=[];for(const _0xd3d203 of _0x4dd379){_0x5e1ca5[_0x312119(0x114)][_0x312119(0xfd)]({'user_id':_0xd3d203?.['uin'],'nickname':_0xd3d203?.[_0x312119(0x15c)],'avatar':_0xd3d203?.['avatar'],'desc':_0xd3d203?.[_0x312119(0x151)]});}}catch(_0x1aa4b2){_0x4dcdad[_0x312119(0xcd)](logDebug,_0x4dcdad[_0x312119(0xdc)],_0x1aa4b2);}if(_0x4dcdad[_0x312119(0xf5)](_0x53ed9d,WebHonorType['EMOTION'])||_0x4dcdad[_0x312119(0xf3)](_0x53ed9d,WebHonorType['ALL']))try{let _0x271b5e=await _0x4dcdad[_0x312119(0x155)](_0x561488,_0x423456,0x6);if(!_0x271b5e)throw new Error(_0x4dcdad[_0x312119(0x147)]);_0x5e1ca5['emotion_list']=[];for(const _0x5eb8dc of _0x271b5e){_0x5e1ca5[_0x312119(0xda)][_0x312119(0xfd)]({'user_id':_0x5eb8dc?.[_0x312119(0x13c)],'nickname':_0x5eb8dc?.[_0x312119(0x15c)],'avatar':_0x5eb8dc?.[_0x312119(0xc1)],'desc':_0x5eb8dc?.[_0x312119(0x151)]});}}catch(_0xeb134){logDebug(_0x4dcdad[_0x312119(0x147)],_0xeb134);}return(_0x4dcdad[_0x312119(0xf5)](_0x53ed9d,WebHonorType[_0x312119(0xe3)])||_0x4dcdad[_0x312119(0xc4)](_0x53ed9d,WebHonorType[_0x312119(0xe8)]))&&(_0x5e1ca5[_0x312119(0xff)]=[]),_0x5e1ca5;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x3493d5(0x13d))],WebApi,_0x3493d5(0xc0),null);function _0x19b5(_0x2c5442,_0x416b3c){const _0x3d9947=_0x3d99();return _0x19b5=function(_0x19b559,_0x150fc8){_0x19b559=_0x19b559-0xbc;let _0x54ddbb=_0x3d9947[_0x19b559];return _0x54ddbb;},_0x19b5(_0x2c5442,_0x416b3c);}function _0x3d99(){const _0x325f5b=['emotion_list','OyUkx','GPhmh','ZCQEf','wTuqr','获取群聊炽焰失败','8393796mOiZmK','legend','GIRHM','EMOTION','IVgmF',';\x20uin=o','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','HQdXO','ALL','DeKbU','decorate','GroupData','MpTYL','mysbf','VXUPm','dDDma','wgDxg','31623nPfGRB','qdExb','SStQv','rMdnO','pvSPS','uLwbG','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','getGroupEssenceMsg','VlAll','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','emotion','&page_start=','push','POST','strong_newbie_list',';\x20skey=','获取当前群荣耀失败','maKew','actorList','JfPAL','&bkn=','Sjlfq','&type=','CoUSE','&page_limit=20','FpuyW','UfhPQ','trim','gSwFT','qun.qq.com','getSkey','zdhNB','hUkUa','tJTYq','aaoTi','legend_list','4435214jUkpYk','kAAuz','ceil','JzpxC','match','genBkn','GbZMv','EJVcc','&sort=1&gc=','thYCB','TLEHe','desc','QLZFM','&group_code=','KNQmA','length','GroupTime','获取快乐源泉失败','ADMhU','gkWVn','parse','retcode','toString','__decorate',';\x20p_uin=o','30cARMYi','WYZaK','eElQd','https://qun.qq.com/interactive/honorlist?gc=','zQabI','PERFROMER','count','xkuUF','p_skey=','WiHNK','NAOgN','fzWga','INrNu','mprxF','uin','GroupHonorInfo','215byVbWS','gTiTX','737209wkQyYJ','current_talkative','553744tzROMu','get','getGrouptNotice','获取龙王信息失败','domainPskeyMap','SfaYO','split','&qid=','8anTCxd','CrdPl','获取群聊之火失败','YKgCu','BswJn','Jzotv','edbgQ','description','jwYzz','rvzkw','aOmvD','hKGUK','11qmJiEz','fpmGG','sUFKj','RnimJ','ixOBR','MRnYm','name','117324yHTrHk','getGroupMembers','104MRnWTK','performer_list','talkative','EZsha','defineProperty','TALKACTIVE','KXIJt','wHKcU','KAERk','set','all','ApdTq','function','qid=','strong_newbie','LTnRC','LZYiE','charCodeAt','Chuzs','lxFDl','vWxQu','getGroupHonorInfo','avatar','EluRv','STORONGE_NEWBI','NQmxf','mems','HttpGetText','UMPNs','fzpeM','92610rYAfTC','getPSkey','yGuSH','qJkIw','koAMF','GKUrE','GET','PQeqW','HNfVu','ZTEcQ','talkativeList','eSnLi','talkative_list','IYApq','HttpGetJson','errcode','vSrau'];_0x3d99=function(){return _0x325f5b;};return _0x3d99();} \ No newline at end of file +const _0x5f3301=_0x53a9;(function(_0x5e2fc8,_0x224d5a){const _0x4f3aad=_0x53a9,_0x5c90e6=_0x5e2fc8();while(!![]){try{const _0x424cae=-parseInt(_0x4f3aad(0x1bd))/0x1+parseInt(_0x4f3aad(0x12e))/0x2+parseInt(_0x4f3aad(0x16e))/0x3*(-parseInt(_0x4f3aad(0x1c8))/0x4)+-parseInt(_0x4f3aad(0x15e))/0x5+parseInt(_0x4f3aad(0x16a))/0x6*(-parseInt(_0x4f3aad(0x158))/0x7)+-parseInt(_0x4f3aad(0x18f))/0x8*(-parseInt(_0x4f3aad(0x143))/0x9)+parseInt(_0x4f3aad(0x127))/0xa;if(_0x424cae===_0x224d5a)break;else _0x5c90e6['push'](_0x5c90e6['shift']());}catch(_0x461aac){_0x5c90e6['push'](_0x5c90e6['shift']());}}}(_0x38cd,0xe9c1f));var __decorate=this&&this[_0x5f3301(0x132)]||function(_0x5c09fc,_0x3cb662,_0x2832fe,_0x7be130){const _0x3e67b9=_0x5f3301,_0x5380c5={'rEcmL':function(_0x356109,_0x240cdb){return _0x356109===_0x240cdb;},'WPLlM':function(_0x27ab91,_0x1053c3){return _0x27ab91===_0x1053c3;},'OKaJQ':_0x3e67b9(0x15d),'JiPsx':function(_0x5d46c5,_0x2836b1){return _0x5d46c5===_0x2836b1;},'jbqJr':_0x3e67b9(0x19d),'HevTq':function(_0x3e8b02,_0x451757){return _0x3e8b02<_0x451757;},'dxmdI':function(_0x28b43c,_0x56eb83){return _0x28b43c(_0x56eb83);},'feIFY':function(_0x5a9917,_0x13f225){return _0x5a9917>_0x13f225;},'Amklp':function(_0x551a01,_0x4b1d92,_0x289da3){return _0x551a01(_0x4b1d92,_0x289da3);}};var _0x263bd8=arguments['length'],_0x369459=_0x263bd8<0x3?_0x3cb662:_0x5380c5['rEcmL'](_0x7be130,null)?_0x7be130=Object[_0x3e67b9(0x12c)](_0x3cb662,_0x2832fe):_0x7be130,_0x292327;if(_0x5380c5[_0x3e67b9(0x15c)](typeof Reflect,_0x5380c5['OKaJQ'])&&_0x5380c5[_0x3e67b9(0x19c)](typeof Reflect[_0x3e67b9(0x1ac)],_0x5380c5[_0x3e67b9(0x13d)]))_0x369459=Reflect[_0x3e67b9(0x1ac)](_0x5c09fc,_0x3cb662,_0x2832fe,_0x7be130);else{for(var _0x280ef2=_0x5c09fc[_0x3e67b9(0x17d)]-0x1;_0x280ef2>=0x0;_0x280ef2--)if(_0x292327=_0x5c09fc[_0x280ef2])_0x369459=(_0x5380c5[_0x3e67b9(0x131)](_0x263bd8,0x3)?_0x5380c5[_0x3e67b9(0x1aa)](_0x292327,_0x369459):_0x5380c5[_0x3e67b9(0x171)](_0x263bd8,0x3)?_0x292327(_0x3cb662,_0x2832fe,_0x369459):_0x5380c5[_0x3e67b9(0x18e)](_0x292327,_0x3cb662,_0x2832fe))||_0x369459;}return _0x5380c5[_0x3e67b9(0x171)](_0x263bd8,0x3)&&_0x369459&&Object['defineProperty'](_0x3cb662,_0x2832fe,_0x369459),_0x369459;};function _0x38cd(){const _0x31d848=['lgTSb','QtqoS','DDYZT','strong_newbie','KWDly','POST','qun.qq.com','Amklp','4582024UlaNFy','emotion_list','mems','uin','RZOBD','rXiqN','IxDMw','GET','ucNVw','vJukJ','IKwEA','saxFI','charCodeAt','JiPsx','function','EMOTION','TikFP','LEGEND','&text=','strong_newbie_list','&bkn=','Kdeqm','legend','legend_list','PREow','SjuTI','nfEQH','dxmdI','jTZne','decorate','performer','TaEAY','errcode','获取当前群荣耀失败','FovbD','get','toString','&qid=','yNMvk','PERFROMER','YOlGj','getGroupMembers','nLiqw','talkativeList','hPQyg','&page_limit=20','1478474xYqLrt',';\x20skey=','vPLyx','CtYPq','McTBZ','CnXBn','getGroupEssenceMsg','JQOQa','IJxcz','获取群聊之火失败','performer_list','496iTOoSH','CUXFx','GYzgT','wNBun','tjXmh','domainPskeyMap','desc','nZqDA','p_skey=','33853570zVtuhh','jkWjI','count','OoHvS','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','getOwnPropertyDescriptor','SUMOT','3316756OcmdBy','push','KsPWB','HevTq','__decorate','HttpGetJson','yRxrc','PTOnY',';\x20p_uin=o','ZCNRh','CtFLK','name','ZpNhT','vJnJm','CsMda','jbqJr','获取群聊炽焰失败','kqDnz','avatar','ceil','getPSkey','9toRCfx','STGUZ','&group_code=','qQjIt','AGWhX','KvqgD','ijMbJ','grXUL','SCpJG','ALL','talkative_list','current_talkative','kvvxe','qid=','LPijl','sTFPR','eCpIR','description','parse','FwDYt','hHHGj','7VIQBCY','lrugY','Czuch','CAYzu','WPLlM','object','6381930fzSEgL','setGroupNotice','aarci','getGroupHonorInfo','actorList','PXLyP','&end=','wdeGb','iSiKP','获取快乐源泉失败','ogjCE','retcode','7271934fjuphj','trim','match','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','16746Qaqxro','genBkn','HttpGetText','feIFY','webapi_get_group_members','BvrHS','wZKIv','&sort=1&gc=','0|1|5|4|3|2','NKoKw','talkative','EaFIQ','YcexF','all','TALKACTIVE','length','bVLfY','CIZAg','getSkey','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','ytCvQ','dPcde','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','HXhgn','NFjRx'];_0x38cd=function(){return _0x31d848;};return _0x38cd();}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';export var WebHonorType;(function(_0x3ef928){const _0x5718a9=_0x5f3301,_0x20b8e7={'SjuTI':_0x5718a9(0x176),'bVLfY':'ALL','vJukJ':_0x5718a9(0x17b),'RZOBD':_0x5718a9(0x17c),'CAYzu':_0x5718a9(0x178),'CsMda':_0x5718a9(0x19e),'GYzgT':'emotion','CUXFx':'STORONGE_NEWBI','nZqDA':_0x5718a9(0x18a),'SCpJG':_0x5718a9(0x1a5),'lrugY':_0x5718a9(0x1b6),'dPcde':_0x5718a9(0x1ad)},_0x1c8b6d=_0x20b8e7[_0x5718a9(0x1a8)]['split']('|');let _0x3512c1=0x0;while(!![]){switch(_0x1c8b6d[_0x3512c1++]){case'0':_0x3ef928[_0x20b8e7[_0x5718a9(0x17e)]]=_0x20b8e7[_0x5718a9(0x198)];continue;case'1':_0x3ef928[_0x20b8e7[_0x5718a9(0x193)]]=_0x20b8e7[_0x5718a9(0x15b)];continue;case'2':_0x3ef928[_0x20b8e7[_0x5718a9(0x13c)]]=_0x20b8e7[_0x5718a9(0x120)];continue;case'3':_0x3ef928[_0x20b8e7[_0x5718a9(0x1c9)]]=_0x20b8e7[_0x5718a9(0x125)];continue;case'4':_0x3ef928[_0x5718a9(0x1a0)]=_0x20b8e7[_0x5718a9(0x14b)];continue;case'5':_0x3ef928[_0x20b8e7[_0x5718a9(0x159)]]=_0x20b8e7[_0x5718a9(0x183)];continue;}break;}}(WebHonorType||(WebHonorType={})));function _0x53a9(_0x5d74c4,_0x258846){const _0x38cdf3=_0x38cd();return _0x53a9=function(_0x53a9f4,_0x2679f2){_0x53a9f4=_0x53a9f4-0x120;let _0x476e6c=_0x38cdf3[_0x53a9f4];return _0x476e6c;},_0x53a9(_0x5d74c4,_0x258846);}export class WebApi{static async['getGroupEssenceMsg'](_0x5cefd3,_0x238c96){const _0x4c824f=_0x5f3301,_0x5c39c5={'vJnJm':_0x4c824f(0x18d),'AGWhX':function(_0x469b52,_0x469557){return _0x469b52+_0x469557;},'NFjRx':function(_0x35c4c9,_0xb920e){return _0x35c4c9+_0xb920e;},'iSiKP':'p_skey=','kvvxe':_0x4c824f(0x1be),'isJvp':';\x20uin=o','LPijl':function(_0x1fc49f,_0x7df7e0){return _0x1fc49f||_0x7df7e0;},'ZpNhT':function(_0xe57697,_0x24309d){return _0xe57697+_0x24309d;},'yRxrc':function(_0x281031,_0x1d4ed6){return _0x281031+_0x1d4ed6;},'PREow':function(_0x29381c,_0x3f38c6){return _0x29381c+_0x3f38c6;},'HXhgn':'&page_start=','TikFP':_0x4c824f(0x1bc),'Fvrcz':'GET','tjXmh':function(_0x3c0ebb,_0x4cb349){return _0x3c0ebb!==_0x4cb349;}},_0x20d5c6=(await NTQQUserApi[_0x4c824f(0x142)]([_0x5c39c5['vJnJm']]))['domainPskeyMap'][_0x4c824f(0x1b2)](_0x5c39c5[_0x4c824f(0x13b)]),_0x257f70=await NTQQUserApi[_0x4c824f(0x180)](),_0x117ce3=_0x5c39c5[_0x4c824f(0x147)](_0x5c39c5[_0x4c824f(0x186)](_0x5c39c5['AGWhX'](_0x5c39c5['NFjRx'](_0x5c39c5['NFjRx'](_0x5c39c5[_0x4c824f(0x147)](_0x5c39c5[_0x4c824f(0x166)],_0x20d5c6)+_0x5c39c5[_0x4c824f(0x14f)],_0x257f70),_0x4c824f(0x136)),selfInfo[_0x4c824f(0x192)]),_0x5c39c5['isJvp']),selfInfo[_0x4c824f(0x192)]);if(_0x5c39c5[_0x4c824f(0x151)](!_0x257f70,!_0x20d5c6))return undefined;const _0x417fd5=WebApi['genBkn'](_0x257f70),_0x1ae075=_0x5c39c5[_0x4c824f(0x13a)](_0x5c39c5[_0x4c824f(0x13a)](_0x5c39c5[_0x4c824f(0x147)](_0x5c39c5[_0x4c824f(0x134)](_0x5c39c5[_0x4c824f(0x1a7)](_0x4c824f(0x184)+_0x417fd5,_0x4c824f(0x145)),_0x5cefd3),_0x5c39c5[_0x4c824f(0x185)]),_0x238c96),_0x5c39c5[_0x4c824f(0x19f)]);let _0x219369;try{_0x219369=await RequestUtil[_0x4c824f(0x133)](_0x1ae075,_0x5c39c5['Fvrcz'],'',{'Cookie':_0x117ce3});}catch{return undefined;}if(_0x5c39c5[_0x4c824f(0x122)](_0x219369[_0x4c824f(0x169)],0x0))return undefined;return _0x219369;}static async[_0x5f3301(0x1b8)](_0x3ab7fb,_0x30af2d=!![]){const _0x76e1b7=_0x5f3301,_0x3ac5a1={'qQjIt':_0x76e1b7(0x18d),'aarci':function(_0x593e04,_0x164a90){return _0x593e04+_0x164a90;},'DDYZT':function(_0x210029,_0x398c83){return _0x210029+_0x398c83;},'BvrHS':'p_skey=','ogjCE':_0x76e1b7(0x1be),'eCpIR':_0x76e1b7(0x136),'IKwEA':function(_0x296f08,_0x2e56db){return _0x296f08+_0x2e56db;},'ijMbJ':'&bkn=','PTOnY':function(_0x4508b3,_0xe9a4ed){return _0x4508b3!==_0xe9a4ed;},'hPQyg':function(_0x2becb1,_0x15f4aa){return _0x2becb1<=_0x15f4aa;},'wNBun':function(_0x277456,_0x37c4ad){return _0x277456+_0x37c4ad;},'IxDMw':function(_0x5d603f,_0x30faee){return _0x5d603f+_0x30faee;},'OoHvS':function(_0x231d82,_0x2f1671){return _0x231d82+_0x2f1671;},'CnXBn':function(_0x47f685,_0x3831ee){return _0x47f685+_0x3831ee;},'nfEQH':_0x76e1b7(0x12b),'CtFLK':_0x76e1b7(0x164),'saxFI':function(_0x4a63cc,_0x274218){return _0x4a63cc*_0x274218;},'QMfkn':_0x76e1b7(0x175),'KvqgD':_0x76e1b7(0x18c)};let _0x51c480=new Array();try{const _0x1f2213=(await NTQQUserApi[_0x76e1b7(0x142)]([_0x3ac5a1[_0x76e1b7(0x146)]]))['domainPskeyMap'][_0x76e1b7(0x1b2)](_0x3ac5a1[_0x76e1b7(0x146)]),_0x53dd90=await NTQQUserApi['getSkey'](),_0x5e3763=_0x3ac5a1['aarci'](_0x3ac5a1[_0x76e1b7(0x160)](_0x3ac5a1['aarci'](_0x3ac5a1['DDYZT'](_0x3ac5a1[_0x76e1b7(0x173)]+_0x1f2213,_0x3ac5a1[_0x76e1b7(0x168)]),_0x53dd90),_0x3ac5a1[_0x76e1b7(0x153)]),selfInfo[_0x76e1b7(0x192)]);if(!_0x53dd90||!_0x1f2213)return _0x51c480;const _0x220f4d=WebApi[_0x76e1b7(0x16f)](_0x53dd90),_0x4f00a3=[],_0x3260bf=await RequestUtil[_0x76e1b7(0x133)](_0x3ac5a1[_0x76e1b7(0x189)](_0x3ac5a1[_0x76e1b7(0x199)](_0x3ac5a1[_0x76e1b7(0x189)]('https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=',_0x3ab7fb),_0x3ac5a1['ijMbJ']),_0x220f4d),_0x76e1b7(0x18c),'',{'Cookie':_0x5e3763});if(!_0x3260bf?.['count']||_0x3ac5a1['PTOnY'](_0x3260bf?.[_0x76e1b7(0x1af)],0x0)||!_0x3260bf?.[_0x76e1b7(0x191)])return[];else for(const _0x4e17a9 in _0x3260bf[_0x76e1b7(0x191)]){_0x51c480[_0x76e1b7(0x12f)](_0x3260bf[_0x76e1b7(0x191)][_0x4e17a9]);}const _0x19321d=Math[_0x76e1b7(0x141)](_0x3260bf[_0x76e1b7(0x129)]/0x28);for(let _0x4396dd=0x2;_0x3ac5a1[_0x76e1b7(0x1bb)](_0x4396dd,_0x19321d);_0x4396dd++){const _0x239257=RequestUtil[_0x76e1b7(0x133)](_0x3ac5a1[_0x76e1b7(0x121)](_0x3ac5a1[_0x76e1b7(0x189)](_0x3ac5a1[_0x76e1b7(0x195)](_0x3ac5a1[_0x76e1b7(0x12a)](_0x3ac5a1[_0x76e1b7(0x1c2)](_0x3ac5a1[_0x76e1b7(0x121)](_0x3ac5a1[_0x76e1b7(0x199)](_0x3ac5a1[_0x76e1b7(0x1a9)],(_0x4396dd-0x1)*0x28),_0x3ac5a1[_0x76e1b7(0x138)]),_0x3ac5a1[_0x76e1b7(0x19a)](_0x4396dd,0x28)),_0x3ac5a1['QMfkn']),_0x3ab7fb),_0x3ac5a1[_0x76e1b7(0x149)]),_0x220f4d),_0x3ac5a1[_0x76e1b7(0x148)],'',{'Cookie':_0x5e3763});_0x4f00a3[_0x76e1b7(0x12f)](_0x239257);}for(let _0x203efa=0x1;_0x203efa<=_0x19321d;_0x203efa++){const _0x20b1e7=await _0x4f00a3[_0x203efa];if(!_0x20b1e7?.[_0x76e1b7(0x129)]||_0x3ac5a1[_0x76e1b7(0x135)](_0x20b1e7?.[_0x76e1b7(0x1af)],0x0)||!_0x20b1e7?.[_0x76e1b7(0x191)])continue;for(const _0xe803cd in _0x20b1e7[_0x76e1b7(0x191)]){_0x51c480[_0x76e1b7(0x12f)](_0x20b1e7[_0x76e1b7(0x191)][_0xe803cd]);}}}catch{return _0x51c480;}return _0x51c480;}static async[_0x5f3301(0x15f)](_0x33c999,_0x130664=''){const _0x528539=_0x5f3301,_0x3a7857={'sTFPR':_0x528539(0x18d),'AWPkg':function(_0x2b88e4,_0x11bed2){return _0x2b88e4+_0x11bed2;},'SUMOT':function(_0x5200f4,_0xb69850){return _0x5200f4+_0xb69850;},'YOlGj':_0x528539(0x126),'wdeGb':_0x528539(0x1be),'vPLyx':function(_0x4ebc24,_0xae161){return _0x4ebc24+_0xae161;},'Kdeqm':_0x528539(0x150),'nLiqw':_0x528539(0x1a3),'zhCpe':_0x528539(0x1a1),'lgTSb':_0x528539(0x181),'rXiqN':_0x528539(0x16d),'FwDYt':_0x528539(0x196)},_0x325b73=(await NTQQUserApi['getPSkey']([_0x3a7857[_0x528539(0x152)]]))[_0x528539(0x123)][_0x528539(0x1b2)](_0x3a7857['sTFPR']),_0x406a88=await NTQQUserApi[_0x528539(0x180)](),_0x1664ce=_0x3a7857['AWPkg'](_0x3a7857[_0x528539(0x12d)](_0x3a7857[_0x528539(0x1b7)],_0x325b73)+_0x3a7857[_0x528539(0x165)]+_0x406a88+';\x20p_uin=o',selfInfo[_0x528539(0x192)]);let _0x35d2cf=undefined;if(!_0x406a88||!_0x325b73)return undefined;const _0x1c2a2b=WebApi[_0x528539(0x16f)](_0x406a88),_0x32703e=_0x3a7857[_0x528539(0x12d)](_0x3a7857[_0x528539(0x1bf)](_0x3a7857[_0x528539(0x1bf)](_0x3a7857[_0x528539(0x1a4)]+_0x33c999,_0x3a7857[_0x528539(0x1b9)])+_0x1c2a2b,_0x3a7857['zhCpe'])+_0x130664,_0x3a7857[_0x528539(0x187)]),_0xdc40f5=_0x3a7857[_0x528539(0x194)]+_0x1c2a2b;try{return _0x35d2cf=await RequestUtil[_0x528539(0x133)](_0xdc40f5,_0x3a7857[_0x528539(0x156)],'',{'Cookie':_0x1664ce}),_0x35d2cf;}catch(_0x2896c4){return undefined;}return undefined;}static async['getGrouptNotice'](_0x522582){const _0x579dad=_0x5f3301,_0x19a893={'NKoKw':_0x579dad(0x18d),'QtqoS':function(_0x3c2ecb,_0x2b92cd){return _0x3c2ecb+_0x2b92cd;},'wZKIv':function(_0x9a3006,_0xea0d88){return _0x9a3006+_0xea0d88;},'WKprX':'p_skey=','hHHGj':_0x579dad(0x1be),'YcexF':_0x579dad(0x136),'kCdKQ':function(_0x2bd0fc,_0x21644f){return _0x2bd0fc||_0x21644f;},'VgWdC':function(_0x12d3c6,_0x59e292){return _0x12d3c6+_0x59e292;},'Czuch':'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','WYmiF':_0x579dad(0x196)},_0x3242cc=(await NTQQUserApi[_0x579dad(0x142)]([_0x579dad(0x18d)]))['domainPskeyMap'][_0x579dad(0x1b2)](_0x19a893[_0x579dad(0x177)]),_0xd0df6c=await NTQQUserApi[_0x579dad(0x180)](),_0x10cfc6=_0x19a893[_0x579dad(0x188)](_0x19a893['wZKIv'](_0x19a893[_0x579dad(0x188)](_0x19a893[_0x579dad(0x188)](_0x19a893[_0x579dad(0x174)](_0x19a893['WKprX'],_0x3242cc),_0x19a893[_0x579dad(0x157)]),_0xd0df6c),_0x19a893[_0x579dad(0x17a)]),selfInfo[_0x579dad(0x192)]);let _0x215e09=undefined;if(_0x19a893['kCdKQ'](!_0xd0df6c,!_0x3242cc))return undefined;const _0xbd1b50=WebApi[_0x579dad(0x16f)](_0xd0df6c),_0x1be696=_0x19a893[_0x579dad(0x174)](_0x19a893['VgWdC'](_0x19a893['wZKIv'](_0x19a893['VgWdC']('https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',_0xbd1b50),_0x579dad(0x1b4)),_0x522582),_0x19a893[_0x579dad(0x15a)]);try{_0x215e09=await RequestUtil[_0x579dad(0x133)](_0x1be696,_0x19a893['WYmiF'],'',{'Cookie':_0x10cfc6});if(_0x215e09?.['ec']!==0x0)return undefined;return _0x215e09;}catch(_0x1cceea){return undefined;}return undefined;}static[_0x5f3301(0x16f)](_0x96406c){const _0x213a40=_0x5f3301,_0xe2885e={'KsPWB':function(_0x2cc40a,_0x517ae5){return _0x2cc40a||_0x517ae5;},'KWDly':function(_0x37df90,_0x35b05e){return _0x37df90<_0x35b05e;},'grXUL':function(_0x422d6c,_0x7fc563){return _0x422d6c+_0x7fc563;},'kqDnz':function(_0x153909,_0x34c7af){return _0x153909<<_0x34c7af;}};_0x96406c=_0xe2885e[_0x213a40(0x130)](_0x96406c,'');let _0x3b3721=0x1505;for(let _0x9c576=0x0;_0xe2885e[_0x213a40(0x18b)](_0x9c576,_0x96406c[_0x213a40(0x17d)]);_0x9c576++){const _0x31f3cb=_0x96406c[_0x213a40(0x19b)](_0x9c576);_0x3b3721=_0xe2885e[_0x213a40(0x14a)](_0x3b3721+_0xe2885e[_0x213a40(0x13f)](_0x3b3721,0x5),_0x31f3cb);}return(_0x3b3721&0x7fffffff)[_0x213a40(0x1b3)]();}static async[_0x5f3301(0x161)](_0x5f5183,_0x423765){const _0x5bfcbb=_0x5f3301,_0x3cf1d9={'ZCNRh':function(_0x423b67,_0x46d050){return _0x423b67+_0x46d050;},'IJxcz':'&type=','ucNVw':_0x5bfcbb(0x196),'CtYPq':function(_0x1d1b57,_0x2e997d){return _0x1d1b57===_0x2e997d;},'CEWdS':function(_0xfc82f4,_0x390056,_0xece9a1,_0x3529ef){return _0xfc82f4(_0x390056,_0xece9a1,_0x3529ef);},'YQfwP':_0x5bfcbb(0x1b0),'JQOQa':_0x5bfcbb(0x18d),'yNMvk':function(_0x41664b,_0x2b8ab8){return _0x41664b+_0x2b8ab8;},'ccKSl':'p_skey=','qdECn':';\x20skey=','rLjhY':';\x20uin=o','PXLyP':function(_0x4733f4,_0x5a7fa1){return _0x4733f4===_0x5a7fa1;},'FovbD':function(_0x77a5a7,_0x32fae8,_0x5f05a5){return _0x77a5a7(_0x32fae8,_0x5f05a5);},'EaFIQ':'获取龙王信息失败','jnMvU':function(_0x224ec7,_0x1a2004){return _0x224ec7(_0x1a2004);},'weZQo':function(_0x3bc4e4,_0x4e23b3){return _0x3bc4e4===_0x4e23b3;},'McTBZ':function(_0x1b34e2,_0x114ddc){return _0x1b34e2===_0x114ddc;},'OMMKt':function(_0x2fa6c8,_0x355e00,_0x19e1df){return _0x2fa6c8(_0x355e00,_0x19e1df);},'jkWjI':_0x5bfcbb(0x1c6),'ytCvQ':function(_0x5c3f51,_0xb86fcf){return _0x5c3f51===_0xb86fcf;},'TaEAY':_0x5bfcbb(0x13e),'STGUZ':function(_0x557520,_0x16c3d2,_0x37b82b){return _0x557520(_0x16c3d2,_0x37b82b);},'CIZAg':function(_0xde7e83,_0x110e03,_0x12bda6){return _0xde7e83(_0x110e03,_0x12bda6);},'jTZne':'获取快乐源泉失败','oFuHd':function(_0x85ed8e,_0x50113f,_0x2c01ab){return _0x85ed8e(_0x50113f,_0x2c01ab);},'xLlBE':function(_0x19a558,_0x1e79d6){return _0x19a558===_0x1e79d6;}},_0x3a1b9c=(await NTQQUserApi['getPSkey']([_0x3cf1d9[_0x5bfcbb(0x1c4)]]))[_0x5bfcbb(0x123)][_0x5bfcbb(0x1b2)](_0x3cf1d9[_0x5bfcbb(0x1c4)]),_0x36827=await NTQQUserApi['getSkey']();if(!_0x36827||!_0x3a1b9c)return undefined;async function _0x24e95f(_0x1f3c6d,_0x40f8f7){const _0xbac4f4=_0x5bfcbb;let _0x4fc349=_0x3cf1d9['ZCNRh']('https://qun.qq.com/interactive/honorlist?gc='+_0x1f3c6d,_0x3cf1d9[_0xbac4f4(0x1c5)])+_0x40f8f7[_0xbac4f4(0x1b3)](),_0x18f7e7='',_0x583f7e;try{_0x18f7e7=await RequestUtil[_0xbac4f4(0x170)](_0x4fc349,_0x3cf1d9[_0xbac4f4(0x197)],'',{'Cookie':_0x3b9a34});const _0x5a571a=_0x18f7e7[_0xbac4f4(0x16c)](/window\.__INITIAL_STATE__=(.*?);/);return _0x5a571a&&(_0x583f7e=JSON[_0xbac4f4(0x155)](_0x5a571a[0x1][_0xbac4f4(0x16b)]())),_0x3cf1d9[_0xbac4f4(0x1c0)](_0x40f8f7,0x1)?_0x583f7e?.[_0xbac4f4(0x1ba)]:_0x583f7e?.[_0xbac4f4(0x162)];}catch(_0x3582b2){_0x3cf1d9['CEWdS'](logDebug,_0x3cf1d9['YQfwP'],_0x4fc349,_0x3582b2);}return undefined;}let _0x2747f1={'group_id':_0x5f5183};const _0x3b9a34=_0x3cf1d9[_0x5bfcbb(0x137)](_0x3cf1d9[_0x5bfcbb(0x137)](_0x3cf1d9[_0x5bfcbb(0x137)](_0x3cf1d9[_0x5bfcbb(0x137)](_0x3cf1d9[_0x5bfcbb(0x1b5)](_0x3cf1d9['yNMvk'](_0x3cf1d9['ccKSl']+_0x3a1b9c,_0x3cf1d9['qdECn']),_0x36827),_0x5bfcbb(0x136)),selfInfo[_0x5bfcbb(0x192)]),_0x3cf1d9['rLjhY']),selfInfo[_0x5bfcbb(0x192)]);if(_0x3cf1d9[_0x5bfcbb(0x163)](_0x423765,WebHonorType[_0x5bfcbb(0x17c)])||_0x423765===WebHonorType['ALL'])try{let _0x461267=await _0x3cf1d9[_0x5bfcbb(0x1b1)](_0x24e95f,_0x5f5183,0x1);if(!_0x461267)throw new Error(_0x3cf1d9[_0x5bfcbb(0x179)]);_0x2747f1[_0x5bfcbb(0x14e)]={'user_id':_0x461267[0x0]?.[_0x5bfcbb(0x192)],'avatar':_0x461267[0x0]?.[_0x5bfcbb(0x140)],'nickname':_0x461267[0x0]?.[_0x5bfcbb(0x139)],'day_count':0x0,'description':_0x461267[0x0]?.[_0x5bfcbb(0x124)]},_0x2747f1[_0x5bfcbb(0x14d)]=[];for(const _0x3343d8 of _0x461267){_0x2747f1['talkative_list'][_0x5bfcbb(0x12f)]({'user_id':_0x3343d8?.[_0x5bfcbb(0x192)],'avatar':_0x3343d8?.['avatar'],'description':_0x3343d8?.[_0x5bfcbb(0x124)],'day_count':0x0,'nickname':_0x3343d8?.[_0x5bfcbb(0x139)]});}}catch(_0x1fb49c){_0x3cf1d9['jnMvU'](logDebug,_0x1fb49c);}if(_0x3cf1d9['weZQo'](_0x423765,WebHonorType[_0x5bfcbb(0x1b6)])||_0x3cf1d9[_0x5bfcbb(0x1c1)](_0x423765,WebHonorType[_0x5bfcbb(0x14c)]))try{let _0x52cf25=await _0x3cf1d9['OMMKt'](_0x24e95f,_0x5f5183,0x2);if(!_0x52cf25)throw new Error(_0x3cf1d9[_0x5bfcbb(0x128)]);_0x2747f1[_0x5bfcbb(0x1c7)]=[];for(const _0x3bfe42 of _0x52cf25){_0x2747f1['performer_list'][_0x5bfcbb(0x12f)]({'user_id':_0x3bfe42?.['uin'],'nickname':_0x3bfe42?.[_0x5bfcbb(0x139)],'avatar':_0x3bfe42?.[_0x5bfcbb(0x140)],'description':_0x3bfe42?.[_0x5bfcbb(0x124)]});}}catch(_0x3e69e0){logDebug(_0x3e69e0);}if(_0x3cf1d9[_0x5bfcbb(0x182)](_0x423765,WebHonorType['PERFROMER'])||_0x3cf1d9[_0x5bfcbb(0x1c1)](_0x423765,WebHonorType[_0x5bfcbb(0x14c)]))try{let _0x1f4560=await _0x3cf1d9['OMMKt'](_0x24e95f,_0x5f5183,0x3);if(!_0x1f4560)throw new Error(_0x3cf1d9[_0x5bfcbb(0x1ae)]);_0x2747f1[_0x5bfcbb(0x1a6)]=[];for(const _0x2694e2 of _0x1f4560){_0x2747f1[_0x5bfcbb(0x1a6)][_0x5bfcbb(0x12f)]({'user_id':_0x2694e2?.[_0x5bfcbb(0x192)],'nickname':_0x2694e2?.[_0x5bfcbb(0x139)],'avatar':_0x2694e2?.[_0x5bfcbb(0x140)],'desc':_0x2694e2?.[_0x5bfcbb(0x154)]});}}catch(_0x33bdf8){_0x3cf1d9[_0x5bfcbb(0x144)](logDebug,_0x3cf1d9[_0x5bfcbb(0x1ae)],_0x33bdf8);}if(_0x3cf1d9[_0x5bfcbb(0x163)](_0x423765,WebHonorType[_0x5bfcbb(0x19e)])||_0x3cf1d9['PXLyP'](_0x423765,WebHonorType[_0x5bfcbb(0x14c)]))try{let _0x2984c0=await _0x3cf1d9[_0x5bfcbb(0x17f)](_0x24e95f,_0x5f5183,0x6);if(!_0x2984c0)throw new Error(_0x3cf1d9[_0x5bfcbb(0x1ab)]);_0x2747f1[_0x5bfcbb(0x190)]=[];for(const _0xe60281 of _0x2984c0){_0x2747f1[_0x5bfcbb(0x190)][_0x5bfcbb(0x12f)]({'user_id':_0xe60281?.[_0x5bfcbb(0x192)],'nickname':_0xe60281?.[_0x5bfcbb(0x139)],'avatar':_0xe60281?.[_0x5bfcbb(0x140)],'desc':_0xe60281?.[_0x5bfcbb(0x154)]});}}catch(_0x345f3f){_0x3cf1d9['oFuHd'](logDebug,_0x5bfcbb(0x167),_0x345f3f);}return(_0x423765===WebHonorType['EMOTION']||_0x3cf1d9['xLlBE'](_0x423765,WebHonorType[_0x5bfcbb(0x14c)]))&&(_0x2747f1[_0x5bfcbb(0x1a2)]=[]),_0x2747f1;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x5f3301(0x172))],WebApi,_0x5f3301(0x1c3),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x5f3301(0x172))],WebApi,_0x5f3301(0x1b8),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'GroupHonorInfo')],WebApi,_0x5f3301(0x161),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index b364d7b0..a0b68164 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x47d4f=_0x5753;function _0x5753(_0x337cc7,_0x44e771){const _0x2cade5=_0x2cad();return _0x5753=function(_0x57532f,_0x1f102f){_0x57532f=_0x57532f-0x19a;let _0x1185f1=_0x2cade5[_0x57532f];return _0x1185f1;},_0x5753(_0x337cc7,_0x44e771);}(function(_0x2ccafe,_0x3744e8){const _0xfc528b=_0x5753,_0x22d023=_0x2ccafe();while(!![]){try{const _0x2f759a=parseInt(_0xfc528b(0x1a7))/0x1*(parseInt(_0xfc528b(0x1d0))/0x2)+parseInt(_0xfc528b(0x23c))/0x3*(parseInt(_0xfc528b(0x1ee))/0x4)+parseInt(_0xfc528b(0x1a0))/0x5+-parseInt(_0xfc528b(0x1f3))/0x6*(parseInt(_0xfc528b(0x23a))/0x7)+parseInt(_0xfc528b(0x25a))/0x8*(-parseInt(_0xfc528b(0x206))/0x9)+parseInt(_0xfc528b(0x209))/0xa+-parseInt(_0xfc528b(0x1ea))/0xb;if(_0x2f759a===_0x3744e8)break;else _0x22d023['push'](_0x22d023['shift']());}catch(_0x1dee83){_0x22d023['push'](_0x22d023['shift']());}}}(_0x2cad,0x3116b));import _0xf55dad from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0xa29d8e from'node:path';import _0xdc6fe4 from'node:os';function _0x2cad(){const _0x39d34c=['xpbpp','hnaAq','V1_WIN_NQ_','has','140022008','facKE','ProfileListener','stringify','catch','assign','find','./.config/QQ','MGJec','onQRCodeLoginSucceed','UYWOC','nzZPX','OYuOS','45297oJAYZr','onLoginSuccessFuncList','登录失败(onLoginFailed)','967210XKzmdk','push','onSessionInitComplete','init','passwordLogin','homedir','consoleLogLevel','groupCode','initConfig','session','QElUW','onKickedOffLine','QneEj','getNTUserDataInfoConfig','DnLLS','kWvSB','fileLog','onProfileDetailInfoChanged','NodeIKernelLoginListener','nYnCq','NodeIDispatcherAdapter','./NapCat/data','pngBase64QrcodeData','map',')\x20在线状态变更','Windows\x2010\x20Pro','\x20has\x20no\x20method\x20','MKpLi','engine','createMemberListScene','tipsTitle','dataPathGlobal','loginListener','xiFPI','NodeIDependsAdapter','then','onUserLoggedIn','oLORX','XOFWW','initSession','qrLogin','NodeIKernelMsgListener','快速登录不可用','快速登录失败\x20','UAWvf','message_sent','uid','set','data:image/png;base64,','500276tkbNSJ','fileLogLevel','3iGsYTC','packet_sent','onBuddyListChange','resolve','SaOsD','fGIyi','onQRCodeSessionFailed','clientType','rXZmf','没有可快速登录的QQ号','loginErrorInfo','yjoUv','NodeIQQNTWrapperSession','NaCNv','getGroupService','replace','addListener','Bopvg','qgWtD','length','InshG','consoleLog','NodeIKernelSessionListener','MsgListener','md5','getNextMemberList','FgsNh','floor','maQlF','zxtKT','8IFPsBY','proxyHandler','iZCdp','isQuickLogin','base64','packet_received','xPPzL','startNT','groupMemberList_MainWindow','NodeIKernelProfileListener','get','数据库初始化失败','996475tyAcLu','dvvKB','dkpKO','now','PFbeh','quickLogin','util','608VYbNpv','LocalLoginInfoList','digest','onLineDev','qQfcF','getQRCodePicture','getProfileService','uin','NodeIGlobalAdapter','getBuddyService','sceneId','tipsDesc','update','onQRCodeGetPicture','NodeQQNTWrapperUtil','clIFi','onGroupListUpdate','本账号数据/缓存目录:','undefined',')已登录,无法重复登录','-v2.db','onSelfStatusChanged','启动失败:\x20','onLoginSuccess','onMemberListChange','czzYU','addKernelProfileListener','quickLoginWithUin','result','onAddSendMsg','memberCount','EVjco','登录失败(onQRCodeSessionFailed)','dLfYa','createHash','name','infos','NodeIKernelLoginService','140022013','yGwlI','getLoginList','996WARlwk','icfUZ','initDataListener','bbrXK','MjRiu','from','addKernelMsgListener','initSession\x20failed','dataPath','last_message_time','curVersion','HVSix','onRecvSysMsg','mkdirSync','loginService','mLaVp','errMsg','read','[KickedOffLine]\x20[','isDelete','cBHmg','getQuickLoginList','forEach','message_received','bqnhj','GroupListener','4763693lKAtyp','NodeIKernelGroupListener','constructor','split','1590812wMBXKD','NodeIKernelBuddyListener','bqHig','addKernelGroupListener','Kjoev','30QuQgvL','pxzky'];_0x2cad=function(){return _0x39d34c;};return _0x2cad();}import _0x47dd27 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x56fb6b 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{[_0x47d4f(0x212)];[_0x47d4f(0x1a6)];[_0x47d4f(0x225)];[_0x47d4f(0x229)];[_0x47d4f(0x1de)];[_0x47d4f(0x207)]=[];[_0x47d4f(0x25b)]={'get'(target,prop,receiver){const _0x3ed660=_0x47d4f,rYPdff={'yjoUv':function(callee,param1){return callee(param1);},'bqnhj':_0x3ed660(0x1b9)};if(typeof target[prop]===rYPdff[_0x3ed660(0x1e8)])return(...args)=>{const _0x4c54de=_0x3ed660;rYPdff[_0x4c54de(0x247)](logDebug,target[_0x4c54de(0x1ec)]['name']+_0x4c54de(0x223)+prop);};return Reflect[_0x3ed660(0x19e)](target,prop,receiver);}};constructor(){const _0x485946=_0x47d4f,_0x1c9419={'UAWvf':function(_0x19e60d,_0x339d68){return _0x19e60d(_0x339d68);},'GNZeC':function(_0x56693c,_0x52f862){return _0x56693c+_0x52f862;},'Kjoev':function(_0xbeb507,_0x2788c9){return _0xbeb507+_0x2788c9;},'EVjco':_0x485946(0x1ba),'aHxnR':function(_0x793357,_0x1789c4,_0x30af3c){return _0x793357(_0x1789c4,_0x30af3c);},'NaCNv':function(_0x57a7f0,_0x418f19){return _0x57a7f0 instanceof _0x418f19;},'dLfYa':_0x485946(0x19f),'maQlF':function(_0xf5e670,_0x1f6dc1,_0x2a0d2d){return _0xf5e670(_0x1f6dc1,_0x2a0d2d);},'facKE':_0x485946(0x21e),'xPPzL':_0x485946(0x1b8),'dkpKO':_0x485946(0x1d7),'yGwlI':_0x485946(0x1c7),'FgsNh':function(_0x2b9d90,_0x28ef30){return _0x2b9d90==_0x28ef30;},'QElUW':function(_0x33a4c9,_0x21e854,_0x57c46c){return _0x33a4c9(_0x21e854,_0x57c46c);},'bqHig':_0x485946(0x208)};this[_0x485946(0x225)]=new _0xf55dad['NodeIQQNTWrapperEngine'](),this[_0x485946(0x1a6)]=new _0xf55dad[(_0x485946(0x1b5))](),this['loginService']=new _0xf55dad[(_0x485946(0x1cc))](),this[_0x485946(0x212)]=new _0xf55dad[(_0x485946(0x248))](),this[_0x485946(0x229)]=new LoginListener(),this[_0x485946(0x229)][_0x485946(0x22d)]=_0x33f5c2=>{const _0x1d335d=_0x485946;_0x1c9419['UAWvf'](logError,_0x1c9419['GNZeC'](_0x1c9419[_0x1d335d(0x1f2)]('当前账号(',_0x33f5c2),_0x1c9419[_0x1d335d(0x1c6)]));},this[_0x485946(0x211)](),this[_0x485946(0x229)][_0x485946(0x202)]=_0x35ea10=>{const _0x520f6c=_0x485946,_0x58babf={'rXZmf':_0x1c9419[_0x520f6c(0x1a2)]};this['initSession'](_0x35ea10['uin'],_0x35ea10[_0x520f6c(0x237)])[_0x520f6c(0x22c)](_0x19c07d=>{const _0x4917d5=_0x520f6c,_0xa949d1={'MjRiu':function(_0x5adb87,_0x48c1ac,_0x1df3a0){return _0x1c9419['aHxnR'](_0x5adb87,_0x48c1ac,_0x1df3a0);},'xNsBj':function(_0x2d7934,_0x34d547){const _0x14bb7b=_0x5753;return _0x1c9419[_0x14bb7b(0x249)](_0x2d7934,_0x34d547);},'wlPOU':_0x1c9419[_0x4917d5(0x1c8)]};selfInfo[_0x4917d5(0x1ae)]=_0x35ea10[_0x4917d5(0x1ae)],selfInfo[_0x4917d5(0x237)]=_0x35ea10[_0x4917d5(0x237)],napCatConfig[_0x4917d5(0x1e1)](),_0x1c9419[_0x4917d5(0x258)](setLogLevel,napCatConfig[_0x4917d5(0x23b)],napCatConfig[_0x4917d5(0x20f)]),_0x1c9419[_0x4917d5(0x235)](enableFileLog,napCatConfig[_0x4917d5(0x219)]),enableConsoleLog(napCatConfig[_0x4917d5(0x251)]),_0x1c9419[_0x4917d5(0x235)](setLogSelfInfo,selfInfo);const _0x1e7f8a=_0xa29d8e[_0x4917d5(0x23f)](this[_0x4917d5(0x1d8)],_0x1c9419[_0x4917d5(0x1fa)]);_0x47dd27[_0x4917d5(0x1dd)](_0x1e7f8a,{'recursive':!![]}),logDebug(_0x1c9419[_0x4917d5(0x19a)],_0x1e7f8a),dbUtil[_0x4917d5(0x20c)](_0xa29d8e[_0x4917d5(0x23f)](_0x1e7f8a,'./'+_0x35ea10[_0x4917d5(0x1ae)]+_0x4917d5(0x1bb)))[_0x4917d5(0x22c)](()=>{const _0x226aea=_0x4917d5;this[_0x226aea(0x1d2)](),this['onLoginSuccessFuncList'][_0x226aea(0x220)](_0x4cd64d=>{const _0x3c228f=_0x226aea,_0x484df1={'kWvSB':function(_0x38ed67,_0x42ed34,_0x524f2f){const _0x5caaa3=_0x5753;return _0xa949d1[_0x5caaa3(0x1d4)](_0x38ed67,_0x42ed34,_0x524f2f);},'OYuOS':function(_0x3db1fe,_0x1e6749){return _0xa949d1['xNsBj'](_0x3db1fe,_0x1e6749);}};new Promise((_0x62959c,_0x311380)=>{const _0x1f0582=_0x5753,_0x3f892a=_0x484df1[_0x1f0582(0x218)](_0x4cd64d,_0x35ea10[_0x1f0582(0x1ae)],_0x35ea10[_0x1f0582(0x237)]);_0x484df1[_0x1f0582(0x205)](_0x3f892a,Promise)&&_0x3f892a[_0x1f0582(0x22c)](_0x62959c)[_0x1f0582(0x1fd)](_0x311380);})[_0x3c228f(0x22c)]();});})['catch'](_0x5939bb=>{_0xa949d1['MjRiu'](logError,_0xa949d1['wlPOU'],_0x5939bb);});})['catch'](_0x197f33=>{const _0x143218=_0x520f6c;logError(_0x58babf[_0x143218(0x244)],_0x197f33);throw new Error(_0x143218(0x1bd)+JSON[_0x143218(0x1fc)](_0x197f33));});},this[_0x485946(0x229)][_0x485946(0x242)]=(_0x329c22,_0x779f4,_0x444c4e)=>{const _0x54b876=_0x485946;logError(_0x1c9419[_0x54b876(0x1ce)],_0x444c4e),_0x1c9419[_0x54b876(0x256)](_0x329c22,0x1)&&_0x779f4==0x3&&this['loginService'][_0x54b876(0x1ac)]();},this['loginListener']['onLoginFailed']=_0x175075=>{const _0x49e34a=_0x485946;_0x1c9419[_0x49e34a(0x213)](logError,_0x1c9419[_0x49e34a(0x1f0)],_0x175075);},this['loginListener']=new Proxy(this[_0x485946(0x229)],this['proxyHandler']),this['loginService']['addKernelLoginListener'](new _0xf55dad[(_0x485946(0x21b))](this[_0x485946(0x229)]));}get[_0x47d4f(0x1d8)](){const _0x168d43=_0x47d4f;let _0x1538a7=this[_0x168d43(0x1a6)][_0x168d43(0x216)]();return!_0x1538a7&&(_0x1538a7=_0xa29d8e['resolve'](_0xdc6fe4[_0x168d43(0x20e)](),_0x168d43(0x200)),_0x47dd27[_0x168d43(0x1dd)](_0x1538a7,{'recursive':!![]})),_0x1538a7;}get[_0x47d4f(0x228)](){const _0x403606=_0x47d4f,_0x5ca379={'vVoVG':'./nt_qq/global'};return _0xa29d8e[_0x403606(0x23f)](this['dataPath'],_0x5ca379['vVoVG']);}[_0x47d4f(0x211)](){const _0x35fddd=_0x47d4f,_0x5f4c73={'XOcTk':_0x35fddd(0x222)};this[_0x35fddd(0x225)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x35fddd(0x1da)],'os_version':_0x5f4c73['XOcTk'],'use_xlog':!![],'qua':_0x35fddd(0x1f7)+qqVersionConfigInfo[_0x35fddd(0x1da)][_0x35fddd(0x24b)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x35fddd(0x228)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0xf55dad[(_0x35fddd(0x1af))](new GlobalAdapter())),this['loginService'][_0x35fddd(0x211)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this['dataPathGlobal'],'clientVer':qqVersionConfigInfo[_0x35fddd(0x1da)],'hostName':hostname});}[_0x47d4f(0x230)](_0x39a0e6,_0x35ac43){const _0x43af33={'tbhkV':function(_0x549b5e,_0x730da7){return _0x549b5e(_0x730da7);},'hnaAq':function(_0x18f056,_0x1153f5){return _0x18f056+_0x1153f5;}};return new Promise(async(_0x234746,_0x421126)=>{const _0x6a1d58=_0x5753,_0x4a2f42={'UYWOC':function(_0x24f8a0,_0xfad965){return _0x43af33['tbhkV'](_0x24f8a0,_0xfad965);},'PFbeh':function(_0x5dde32,_0x101454){return _0x5dde32(_0x101454);}},_0x157871=await genSessionConfig(_0x39a0e6,_0x35ac43,this['dataPath']),_0x3ff3ac=new SessionListener();_0x3ff3ac[_0x6a1d58(0x20b)]=_0x3954fb=>{const _0x400c03=_0x6a1d58;if(_0x3954fb===0x0)return _0x4a2f42[_0x400c03(0x203)](_0x234746,0x0);_0x4a2f42[_0x400c03(0x1a4)](_0x421126,_0x3954fb);},this[_0x6a1d58(0x212)]['init'](_0x157871,new _0xf55dad[(_0x6a1d58(0x22b))](new DependsAdapter()),new _0xf55dad[(_0x6a1d58(0x21d))](new DispatcherAdapter()),new _0xf55dad[(_0x6a1d58(0x252))](_0x3ff3ac));try{this[_0x6a1d58(0x212)][_0x6a1d58(0x19b)](0x0);}catch(_0x484bc1){try{this[_0x6a1d58(0x212)][_0x6a1d58(0x19b)]();}catch(_0x502c92){_0x421126(_0x43af33[_0x6a1d58(0x1f6)]('init\x20failed\x20',_0x502c92));}}});}['initDataListener'](){const _0x3bc66f=_0x47d4f,_0x181e7b={'czzYU':function(_0x1cc61b,_0x1cee71){return _0x1cc61b(_0x1cee71);},'xpbpp':function(_0x2b59f5,_0x339891){return _0x2b59f5+_0x339891;},'qgWtD':'账号设备(','mLaVp':_0x3bc66f(0x221),'fGIyi':_0x3bc66f(0x1e2),'zxtKT':function(_0x3f87f2,_0xc25034){return _0x3f87f2/_0xc25034;},'qQfcF':function(_0x24db7,_0x400b26){return _0x24db7/_0x400b26;},'clIFi':function(_0x4be6e0,_0x2aac38){return _0x4be6e0===_0x2aac38;},'InshG':_0x3bc66f(0x19c),'nzZPX':function(_0x5f5b3d,_0x59c0d2){return _0x5f5b3d===_0x59c0d2;}},_0x403ac8=new MsgListener();_0x403ac8[_0x3bc66f(0x1aa)]=_0x3c3f21=>{const _0x440d06=_0x3bc66f,_0xbe7d8b={'pxzky':function(_0x4c2769,_0x10d820){const _0x3ec974=_0x5753;return _0x181e7b[_0x3ec974(0x1c0)](_0x4c2769,_0x10d820);},'iZCdp':function(_0x58fcdc,_0x21ebd6){const _0x29feff=_0x5753;return _0x181e7b[_0x29feff(0x1f5)](_0x58fcdc,_0x21ebd6);},'HVSix':_0x181e7b[_0x440d06(0x24e)],'nYnCq':_0x181e7b[_0x440d06(0x1df)]};_0x3c3f21[_0x440d06(0x220)](_0x1f6c9e=>{const _0x39b0ee=_0x440d06;_0x1f6c9e[_0x39b0ee(0x243)]===0x2&&_0xbe7d8b[_0x39b0ee(0x1f4)](log,_0xbe7d8b[_0x39b0ee(0x25c)](_0xbe7d8b[_0x39b0ee(0x1db)]+_0x1f6c9e['devUid'],_0xbe7d8b[_0x39b0ee(0x21c)]));});},_0x403ac8[_0x3bc66f(0x214)]=_0x2c7738=>{const _0x386be2=_0x3bc66f;log(_0x181e7b['xpbpp'](_0x181e7b[_0x386be2(0x1f5)](_0x181e7b[_0x386be2(0x241)],_0x2c7738[_0x386be2(0x227)]),']\x20')+_0x2c7738[_0x386be2(0x1b2)]);},_0x403ac8[_0x3bc66f(0x1c4)]=_0x48b0a2=>{const _0x26f7fa=_0x3bc66f;stat[_0x26f7fa(0x23d)]+=0x1,stat[_0x26f7fa(0x236)]+=0x1,stat['last_message_time']=Math[_0x26f7fa(0x257)](_0x181e7b[_0x26f7fa(0x259)](Date[_0x26f7fa(0x1a3)](),0x3e8));},_0x403ac8['onRecvMsg']=_0x2437c4=>{const _0x3ad050=_0x3bc66f;stat[_0x3ad050(0x25f)]+=0x1,stat[_0x3ad050(0x1e7)]+=_0x2437c4[_0x3ad050(0x24f)],stat[_0x3ad050(0x1d9)]=Math['floor'](_0x181e7b[_0x3ad050(0x1ab)](Date['now'](),0x3e8));},_0x403ac8[_0x3bc66f(0x1dc)]=(..._0x438df9)=>{const _0x43d095=_0x3bc66f;stat[_0x43d095(0x25f)]+=0x1;},this[_0x3bc66f(0x24c)](_0x403ac8);const _0x3bdab1=new BuddyListener();_0x3bdab1[_0x3bc66f(0x23e)]=_0x3c5772=>{const _0x23ce7b=_0x3bc66f;rawFriends['length']=0x0,rawFriends[_0x23ce7b(0x20a)](..._0x3c5772);for(const _0x60eac5 of _0x3c5772){for(const _0x3881aa of _0x60eac5['buddyList']){const _0x5420c8=friends[_0x23ce7b(0x19e)](_0x3881aa['uid']);_0x5420c8?Object['assign'](_0x5420c8,_0x3881aa):friends['set'](_0x3881aa[_0x23ce7b(0x237)],_0x3881aa);}}},this[_0x3bc66f(0x24c)](_0x3bdab1),this[_0x3bc66f(0x212)][_0x3bc66f(0x1b0)]()['getBuddyList'](!![])['then'](_0x47a9ab=>{});const _0x3b2b5c=new ProfileListener();_0x3b2b5c[_0x3bc66f(0x21a)]=_0x36b517=>{const _0x72988a=_0x3bc66f;_0x181e7b[_0x72988a(0x1b6)](_0x36b517[_0x72988a(0x237)],selfInfo[_0x72988a(0x237)])&&Object[_0x72988a(0x1fe)](selfInfo,_0x36b517);},_0x3b2b5c[_0x3bc66f(0x1bc)]=_0x270010=>{},this[_0x3bc66f(0x24c)](_0x3b2b5c);const _0x37e0c8=new GroupListener();_0x37e0c8[_0x3bc66f(0x1b7)]=(_0x43ec65,_0xcc84c)=>{const _0x4a53f0=_0x3bc66f;_0xcc84c[_0x4a53f0(0x220)](_0x454f11=>{const _0x18cd36=_0x4a53f0,_0x583f15=groups[_0x18cd36(0x19e)](_0x454f11[_0x18cd36(0x210)]);_0x583f15&&_0x181e7b[_0x18cd36(0x1b6)](_0x454f11[_0x18cd36(0x1c5)],_0x583f15[_0x18cd36(0x1c5)])?Object[_0x18cd36(0x1fe)](_0x583f15,_0x454f11):groups['set'](_0x454f11[_0x18cd36(0x210)],_0x454f11);const _0x31ec41=this[_0x18cd36(0x212)][_0x18cd36(0x24a)]()[_0x18cd36(0x226)](_0x454f11['groupCode'],_0x181e7b[_0x18cd36(0x250)]);this['session'][_0x18cd36(0x24a)]()[_0x18cd36(0x255)](_0x31ec41,undefined,0xbb8)['then'](_0x7a9898=>{});});},_0x37e0c8[_0x3bc66f(0x1bf)]=_0x358eb8=>{const _0x1e8d95=_0x3bc66f,_0x29b375=_0x358eb8[_0x1e8d95(0x1b1)][_0x1e8d95(0x1ed)]('_')[0x0];if(groupMembers[_0x1e8d95(0x1f8)](_0x29b375)){const _0xe2c1ce=groupMembers[_0x1e8d95(0x19e)](_0x29b375);_0x358eb8[_0x1e8d95(0x1cb)][_0x1e8d95(0x1e6)]((_0x3f323c,_0x253655)=>{const _0x122b49=_0x1e8d95,_0x5b0887=_0xe2c1ce[_0x122b49(0x19e)](_0x253655);_0x5b0887?Object[_0x122b49(0x1fe)](_0x5b0887,_0x3f323c):_0xe2c1ce[_0x122b49(0x238)](_0x253655,_0x3f323c);});}else groupMembers[_0x1e8d95(0x238)](_0x29b375,_0x358eb8[_0x1e8d95(0x1cb)]);},_0x37e0c8['onMemberInfoChange']=(_0x20ffe3,_0x286ef3,_0x574746)=>{const _0x5c51fd=_0x3bc66f;_0x181e7b[_0x5c51fd(0x204)](_0x286ef3,0x0)&&_0x574746[_0x5c51fd(0x19e)](selfInfo[_0x5c51fd(0x237)])&&_0x574746['get'](selfInfo[_0x5c51fd(0x237)])?.[_0x5c51fd(0x1e3)]&&setTimeout(()=>{groups['delete'](_0x20ffe3);},0x1388);const _0x3b4177=groupMembers['get'](_0x20ffe3);_0x3b4177?_0x574746[_0x5c51fd(0x1e6)]((_0xd78c15,_0x5e4708)=>{const _0x3979af=_0x5c51fd,_0x541292=_0x3b4177[_0x3979af(0x19e)](_0x5e4708);_0x541292?Object['assign'](_0x541292,_0xd78c15):_0x3b4177['set'](_0x5e4708,_0xd78c15);}):groupMembers[_0x5c51fd(0x238)](_0x20ffe3,_0x574746);},this[_0x3bc66f(0x24c)](_0x37e0c8);}['addListener'](_0x33d586){const _0xee15ef=_0x47d4f,_0x2c4a4a={'MKpLi':'BuddyListener','icfUZ':_0xee15ef(0x1e9)};_0x33d586=new Proxy(_0x33d586,this[_0xee15ef(0x25b)]);switch(_0x33d586[_0xee15ef(0x1ec)][_0xee15ef(0x1ca)]){case _0x2c4a4a[_0xee15ef(0x224)]:{return this[_0xee15ef(0x212)][_0xee15ef(0x1b0)]()['addKernelBuddyListener'](new _0xf55dad[(_0xee15ef(0x1ef))](_0x33d586));}case _0x2c4a4a[_0xee15ef(0x1d1)]:{return this[_0xee15ef(0x212)]['getGroupService']()[_0xee15ef(0x1f1)](new _0xf55dad[(_0xee15ef(0x1eb))](_0x33d586));}case _0xee15ef(0x253):{return this[_0xee15ef(0x212)]['getMsgService']()[_0xee15ef(0x1d6)](new _0xf55dad[(_0xee15ef(0x232))](_0x33d586));}case _0xee15ef(0x1fb):{return this['session'][_0xee15ef(0x1ad)]()[_0xee15ef(0x1c1)](new _0xf55dad[(_0xee15ef(0x19d))](_0x33d586));}default:return-0x1;}}[_0x47d4f(0x1be)](_0x1b762d){const _0x1662dd=_0x47d4f;NTEventDispatch[_0x1662dd(0x20c)]({'ListenerMap':_0xf55dad,'WrapperSession':this[_0x1662dd(0x212)]}),this[_0x1662dd(0x207)][_0x1662dd(0x20a)](_0x1b762d);}async[_0x47d4f(0x1a5)](_0x27462e){const _0x3ad85c=_0x47d4f,_0x2effd1={'DnLLS':function(_0x389651,_0x5033fa){return _0x389651!==_0x5033fa;},'wdWgm':_0x3ad85c(0x245),'QneEj':function(_0x4853be,_0x14a419){return _0x4853be(_0x14a419);},'jdAWw':function(_0x22aac9,_0x5b69e2){return _0x22aac9+_0x5b69e2;},'XOFWW':_0x3ad85c(0x234)},_0xb1bf24=await this['loginService'][_0x3ad85c(0x1cf)]();if(_0x2effd1[_0x3ad85c(0x217)](_0xb1bf24['result'],0x0))throw new Error(_0x2effd1['wdWgm']);const _0x39ef4e=_0xb1bf24[_0x3ad85c(0x1a8)][_0x3ad85c(0x1ff)](_0x2837a4=>_0x2837a4[_0x3ad85c(0x1ae)]===_0x27462e);if(!_0x39ef4e||!_0x39ef4e?.[_0x3ad85c(0x25d)])throw new Error(_0x27462e+_0x3ad85c(0x233));await _0x2effd1[_0x3ad85c(0x215)](sleep,0x3e8);const _0x4de2ad=await this[_0x3ad85c(0x1de)][_0x3ad85c(0x1c2)](_0x27462e);if(!_0x4de2ad[_0x3ad85c(0x1c3)])throw new Error(_0x2effd1['jdAWw'](_0x2effd1[_0x3ad85c(0x22f)],_0x4de2ad[_0x3ad85c(0x246)][_0x3ad85c(0x1e0)]));return _0x4de2ad;}async[_0x47d4f(0x231)](_0x167213){const _0x2e2546=_0x47d4f,_0x4f7b91={'mjeUA':_0x2e2546(0x239),'MGJec':_0x2e2546(0x25e)};return new Promise((_0x198e3e,_0x5e8dcf)=>{const _0x444358=_0x2e2546,_0x2590a4={'cBHmg':_0x4f7b91['mjeUA'],'bbrXK':_0x4f7b91[_0x444358(0x201)],'xiFPI':function(_0x21c844,_0x2254b0,_0x50cb66,_0x53d0c8){return _0x21c844(_0x2254b0,_0x50cb66,_0x53d0c8);}};this[_0x444358(0x229)][_0x444358(0x1b4)]=_0x4726c7=>{const _0x33b4ad=_0x444358,_0x3e2ffa=_0x4726c7[_0x33b4ad(0x21f)]['split'](_0x2590a4[_0x33b4ad(0x1e4)])[0x1],_0x3902d7=Buffer[_0x33b4ad(0x1d5)](_0x3e2ffa,_0x2590a4[_0x33b4ad(0x1d3)]);_0x2590a4[_0x33b4ad(0x22a)](_0x167213,_0x4726c7['qrcodeUrl'],_0x4726c7[_0x33b4ad(0x21f)],_0x3902d7);},this[_0x444358(0x1de)][_0x444358(0x1ac)]();});}async[_0x47d4f(0x20d)](_0x5032a7,_0xef2d11,_0x2d0f7f,_0x23d04e,_0x45dab0){const _0x3b322f=_0x47d4f,_0x2dca23={'Bopvg':_0x3b322f(0x254),'RzdVj':'hex','SaOsD':function(_0x644108,_0x4e0a59){return _0x644108||_0x4e0a59;},'oLORX':function(_0x2a8648,_0x35ffb9){return _0x2a8648||_0x35ffb9;},'vfmsR':function(_0x591331,_0x348026){return _0x591331(_0x348026);},'dvvKB':_0x3b322f(0x1cd)},_0x5bcb4f=_0x56fb6b[_0x3b322f(0x1c9)](_0x2dca23[_0x3b322f(0x24d)])[_0x3b322f(0x1b3)](_0xef2d11)[_0x3b322f(0x1a9)](_0x2dca23['RzdVj']),_0xa6fd8b={'uin':_0x5032a7,'passwordMd5':_0x5bcb4f,'step':_0x2d0f7f&&_0x23d04e&&_0x45dab0?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x2dca23[_0x3b322f(0x240)](_0x2d0f7f,''),'proofWaterRand':_0x2dca23[_0x3b322f(0x22e)](_0x23d04e,''),'proofWaterSid':_0x2dca23[_0x3b322f(0x22e)](_0x45dab0,'')};await this[_0x3b322f(0x1de)][_0x3b322f(0x1cf)](),await _0x2dca23['vfmsR'](sleep,0x3e8);const _0x556e40=await this[_0x3b322f(0x1de)][_0x3b322f(0x20d)](_0xa6fd8b);switch(_0x556e40[_0x3b322f(0x1c3)]){case'0':{break;}case _0x3b322f(0x1f9):{break;}case'4':case _0x2dca23[_0x3b322f(0x1a1)]:default:}}async[_0x47d4f(0x1e5)](){const _0x522e3d=_0x47d4f,_0x8571a0=await this[_0x522e3d(0x1de)][_0x522e3d(0x1cf)]();return _0x8571a0;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x240828=_0x29a1;(function(_0x15c327,_0x56c6f4){const _0x496de0=_0x29a1,_0x3966bc=_0x15c327();while(!![]){try{const _0x3fa9a0=parseInt(_0x496de0(0x226))/0x1+parseInt(_0x496de0(0x20c))/0x2*(-parseInt(_0x496de0(0x224))/0x3)+parseInt(_0x496de0(0x26c))/0x4+parseInt(_0x496de0(0x1f9))/0x5+-parseInt(_0x496de0(0x1bd))/0x6*(-parseInt(_0x496de0(0x1c1))/0x7)+parseInt(_0x496de0(0x219))/0x8*(parseInt(_0x496de0(0x1d6))/0x9)+-parseInt(_0x496de0(0x24e))/0xa;if(_0x3fa9a0===_0x56c6f4)break;else _0x3966bc['push'](_0x3966bc['shift']());}catch(_0x5d9232){_0x3966bc['push'](_0x3966bc['shift']());}}}(_0x481b,0xaf47c));import _0x9e7d56 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x3f266a from'node:path';function _0x481b(){const _0x29a5f9=['ewjFL','gJbDG','getQRCodePicture','EDUKV','当前账号(','push','set','uid','constructor','NodeIKernelLoginService','VVUGZ','8808bweywi','fileLog','cxQnV','onKickedOffLine','createMemberListScene','onRecvMsg','packet_sent','session','qNfvt','onQRCodeSessionFailed','read','8466xrxDrO','homedir','359546HwVJZk','packet_received','getBuddyList','addKernelLoginListener','onSessionInitComplete','createHash','bdkFm','find','name','svWPX','passwordLogin','sceneId','tipsTitle','IJpxY','NodeIQQNTWrapperSession','DJalk','init','./.config/QQ','devUid','登录失败(onQRCodeSessionFailed)','getNextMemberList','groupMemberList_MainWindow','DZcyo','fvatV','result','resolve','eIwUU','map','split','nFMeT','QcyXy','EUCoK','LocalLoginInfoList','onLoginFailed',')\x20在线状态变更','jmyFc','aRjtT','hwfGM','oFgJS','pJvmO','17713500JSJjhP','loginService','MeKeU','groupCode','NodeIDispatcherAdapter','getBuddyService','initSession','_GW_B','engine','forEach','NodeIKernelMsgListener','GroupListener','initConfig','onQRCodeLoginSucceed','buddyList','tipsDesc','BuddyListener','clientType','undefined','length','THESZ','uQCPa',')已登录,无法重复登录','kraCs','get','onLoginSuccessFuncList','rPgwT','MczTU','addListener','onSelfStatusChanged','2044720ZGYnxF','MvReB','本账号数据/缓存目录:','addKernelBuddyListener','NodeIKernelGroupListener','from','fileLogLevel','dFstd','proxyHandler','curVersion','digest','getGroupService','message_sent','551766ZbCkWF','initSession\x20failed','MsgListener','没有可快速登录的QQ号','98EwstRE','addKernelProfileListener','Windows\x2010\x20Pro','last_message_time','loginListener','-v2.db','NodeIKernelProfileListener','getLoginList','startNT','Itxdr','./NapCat/data','floor','catch','data:image/png;base64,','addKernelGroupListener','has','delete','启动失败:\x20','NodeIKernelLoginListener','VvUQT','onUserLoggedIn','270RPnfMh','140022008','NodeIDependsAdapter','util','assign','getMsgService','errMsg','快速登录不可用','FrfjC','base64','then','NodeIGlobalAdapter','now','140022013','stringify','./nt_qq/global','onLineDev','ATTwI','dataPath','dataPathGlobal','quickLogin','NodeQQNTWrapperUtil','uin','onQRCodeGetPicture','consoleLogLevel','infos','NodeIKernelSessionListener','kdbrt','\x20has\x20no\x20method\x20','mEKGg','enTjy','onRecvSysMsg','fPAnQ','CRMkO','onAddSendMsg','4721630uYPZsN','init\x20failed\x20','replace','快速登录失败\x20','mkdirSync','[KickedOffLine]\x20[','nJRvi','ProfileListener','getQuickLoginList','message_received','nikWd','uIDBI','qrcodeUrl','isQuickLogin','RJwNX','pngBase64QrcodeData','yTMIK','NTPtD','qrLogin','458AZIUWX','memberCount'];_0x481b=function(){return _0x29a5f9;};return _0x481b();}import _0x3e64ca from'node:os';import _0x5449fd from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x29a1(_0x2f2686,_0x279da1){const _0x481bc7=_0x481b();return _0x29a1=function(_0x29a1a2,_0x484bc3){_0x29a1a2=_0x29a1a2-0x1b9;let _0x50dee5=_0x481bc7[_0x29a1a2];return _0x50dee5;},_0x29a1(_0x2f2686,_0x279da1);}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 _0x2e78b8 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{[_0x240828(0x220)];['util'];[_0x240828(0x256)];['loginListener'];['loginService'];[_0x240828(0x267)]=[];[_0x240828(0x274)]={'get'(target,prop,receiver){const _0x392403=_0x240828,TgYVSr={'zDQnm':function(callee,param1){return callee(param1);},'Itxdr':_0x392403(0x260)};if(typeof target[prop]===TgYVSr[_0x392403(0x1ca)])return(...args)=>{const _0x30241a=_0x392403;TgYVSr['zDQnm'](logDebug,target[_0x30241a(0x216)][_0x30241a(0x22e)]+_0x30241a(0x1f2)+prop);};return Reflect[_0x392403(0x266)](target,prop,receiver);}};constructor(){const _0x5b6f95=_0x240828,_0x1ac641={'bdkFm':function(_0x12aea6,_0xc460cb){return _0x12aea6(_0xc460cb);},'QcyXy':function(_0x1d25b5,_0xa2121f){return _0x1d25b5+_0xa2121f;},'DJalk':_0x5b6f95(0x264),'IJpxY':function(_0x58c214,_0x5eca21,_0x14ee4b){return _0x58c214(_0x5eca21,_0x14ee4b);},'svWPX':'数据库初始化失败','PyhlU':function(_0xfe2d3f,_0x58e6bb){return _0xfe2d3f(_0x58e6bb);},'rPgwT':_0x5b6f95(0x1cb),'VvUQT':function(_0x120b74,_0x428821,_0x36a4ce){return _0x120b74(_0x428821,_0x36a4ce);},'dFstd':_0x5b6f95(0x26e),'aRjtT':_0x5b6f95(0x1be),'THESZ':_0x5b6f95(0x239),'wgpUW':function(_0x3081f4,_0x9ed95e){return _0x3081f4==_0x9ed95e;},'fvatV':function(_0x1ae793,_0x339b33){return _0x1ae793==_0x339b33;},'OCkhi':'登录失败(onLoginFailed)'};this[_0x5b6f95(0x256)]=new _0x9e7d56['NodeIQQNTWrapperEngine'](),this[_0x5b6f95(0x1d9)]=new _0x9e7d56[(_0x5b6f95(0x1eb))](),this[_0x5b6f95(0x24f)]=new _0x9e7d56[(_0x5b6f95(0x217))](),this[_0x5b6f95(0x220)]=new _0x9e7d56[(_0x5b6f95(0x234))](),this['loginListener']=new LoginListener(),this['loginListener'][_0x5b6f95(0x1d5)]=_0x95eb=>{const _0x5e3ea9=_0x5b6f95;_0x1ac641[_0x5e3ea9(0x22c)](logError,_0x1ac641[_0x5e3ea9(0x244)](_0x5e3ea9(0x212),_0x95eb)+_0x1ac641[_0x5e3ea9(0x235)]);},this['initConfig'](),this[_0x5b6f95(0x1c5)][_0x5b6f95(0x25b)]=_0x35c98b=>{const _0x2934d2=_0x5b6f95,_0x155fe2={'vgwOW':function(_0x3c7a8e,_0x370932,_0x22a42f){const _0x1936d5=_0x29a1;return _0x1ac641[_0x1936d5(0x233)](_0x3c7a8e,_0x370932,_0x22a42f);},'pJvmO':_0x1ac641[_0x2934d2(0x22f)],'jmyFc':function(_0x285f00,_0x6692ef){const _0x4c8df3=_0x2934d2;return _0x1ac641[_0x4c8df3(0x22c)](_0x285f00,_0x6692ef);},'DZcyo':function(_0x4ee786,_0x1a77f8){return _0x1ac641['PyhlU'](_0x4ee786,_0x1a77f8);},'bPlpo':function(_0x1b9b38,_0x440901){const _0x530223=_0x2934d2;return _0x1ac641[_0x530223(0x22c)](_0x1b9b38,_0x440901);},'mEKGg':_0x1ac641[_0x2934d2(0x268)],'kdbrt':function(_0x31a99d,_0x135b10,_0x3ce333){const _0x530eb3=_0x2934d2;return _0x1ac641[_0x530eb3(0x1d4)](_0x31a99d,_0x135b10,_0x3ce333);},'yTMIK':_0x1ac641[_0x2934d2(0x273)],'RJwNX':_0x1ac641[_0x2934d2(0x24a)]};this[_0x2934d2(0x254)](_0x35c98b[_0x2934d2(0x1ec)],_0x35c98b[_0x2934d2(0x215)])[_0x2934d2(0x1e0)](_0x1342fd=>{const _0x585cbc=_0x2934d2,_0x333e93={'eIwUU':function(_0x3c076a,_0x3b5c34,_0x5c4f28){return _0x155fe2['vgwOW'](_0x3c076a,_0x3b5c34,_0x5c4f28);},'kraCs':_0x155fe2[_0x585cbc(0x24d)]};selfInfo[_0x585cbc(0x1ec)]=_0x35c98b[_0x585cbc(0x1ec)],selfInfo[_0x585cbc(0x215)]=_0x35c98b[_0x585cbc(0x215)],napCatConfig[_0x585cbc(0x223)](),setLogLevel(napCatConfig[_0x585cbc(0x272)],napCatConfig[_0x585cbc(0x1ee)]),_0x155fe2[_0x585cbc(0x249)](enableFileLog,napCatConfig[_0x585cbc(0x21a)]),_0x155fe2[_0x585cbc(0x23c)](enableConsoleLog,napCatConfig['consoleLog']),_0x155fe2['bPlpo'](setLogSelfInfo,selfInfo);const _0xab6d34=_0x3f266a[_0x585cbc(0x23f)](this[_0x585cbc(0x1e8)],_0x155fe2[_0x585cbc(0x1f3)]);_0x5449fd[_0x585cbc(0x1fd)](_0xab6d34,{'recursive':!![]}),_0x155fe2[_0x585cbc(0x1f1)](logDebug,_0x155fe2[_0x585cbc(0x209)],_0xab6d34),dbUtil[_0x585cbc(0x236)](_0x3f266a['resolve'](_0xab6d34,'./'+_0x35c98b[_0x585cbc(0x1ec)]+_0x585cbc(0x1c6)))[_0x585cbc(0x1e0)](()=>{const _0x1886f2=_0x585cbc;this['initDataListener'](),this[_0x1886f2(0x267)][_0x1886f2(0x241)](_0x5546a5=>{const _0xf950ee=_0x1886f2,_0x8c4148={'VVUGZ':function(_0x37332e,_0x39f824,_0x104c18){return _0x37332e(_0x39f824,_0x104c18);},'ewjFL':function(_0xbbb651,_0xd03bee){return _0xbbb651 instanceof _0xd03bee;}};new Promise((_0x4dbbeb,_0x2ea917)=>{const _0x3a6a1a=_0x29a1,_0x33ed59=_0x8c4148[_0x3a6a1a(0x218)](_0x5546a5,_0x35c98b['uin'],_0x35c98b[_0x3a6a1a(0x215)]);_0x8c4148[_0x3a6a1a(0x20e)](_0x33ed59,Promise)&&_0x33ed59['then'](_0x4dbbeb)[_0x3a6a1a(0x1cd)](_0x2ea917);})[_0xf950ee(0x1e0)]();});})[_0x585cbc(0x1cd)](_0x43afc4=>{const _0x45c25a=_0x585cbc;_0x333e93[_0x45c25a(0x240)](logError,_0x333e93[_0x45c25a(0x265)],_0x43afc4);});})[_0x2934d2(0x1cd)](_0x49a1b5=>{const _0x322b6a=_0x2934d2;_0x155fe2['kdbrt'](logError,_0x155fe2[_0x322b6a(0x207)],_0x49a1b5);throw new Error(_0x322b6a(0x1d2)+JSON[_0x322b6a(0x1e4)](_0x49a1b5));});},this[_0x5b6f95(0x1c5)][_0x5b6f95(0x222)]=(_0x282cae,_0x1e59f3,_0x3d6850)=>{const _0x568e75=_0x5b6f95;_0x1ac641[_0x568e75(0x1d4)](logError,_0x1ac641[_0x568e75(0x262)],_0x3d6850),_0x1ac641['wgpUW'](_0x282cae,0x1)&&_0x1ac641[_0x568e75(0x23d)](_0x1e59f3,0x3)&&this[_0x568e75(0x24f)][_0x568e75(0x210)]();},this[_0x5b6f95(0x1c5)][_0x5b6f95(0x247)]=_0x24419a=>{const _0x1ad63d=_0x5b6f95;_0x1ac641[_0x1ad63d(0x1d4)](logError,_0x1ac641['OCkhi'],_0x24419a);},this['loginListener']=new Proxy(this['loginListener'],this[_0x5b6f95(0x274)]),this[_0x5b6f95(0x24f)][_0x5b6f95(0x229)](new _0x9e7d56[(_0x5b6f95(0x1d3))](this[_0x5b6f95(0x1c5)]));}get['dataPath'](){const _0x17ba59=_0x240828;let _0x24642b=this['util']['getNTUserDataInfoConfig']();return!_0x24642b&&(_0x24642b=_0x3f266a[_0x17ba59(0x23f)](_0x3e64ca[_0x17ba59(0x225)](),_0x17ba59(0x237)),_0x5449fd[_0x17ba59(0x1fd)](_0x24642b,{'recursive':!![]})),_0x24642b;}get[_0x240828(0x1e9)](){const _0x30c2ec=_0x240828;return _0x3f266a[_0x30c2ec(0x23f)](this[_0x30c2ec(0x1e8)],_0x30c2ec(0x1e5));}[_0x240828(0x25a)](){const _0x532ace=_0x240828;this['engine']['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x532ace(0x1b9)],'os_version':_0x532ace(0x1c3),'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x532ace(0x1b9)][_0x532ace(0x1fb)]('-','_')+_0x532ace(0x255),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x9e7d56[(_0x532ace(0x1e1))](new GlobalAdapter())),this[_0x532ace(0x24f)][_0x532ace(0x25a)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x532ace(0x1e9)],'clientVer':qqVersionConfigInfo[_0x532ace(0x1b9)],'hostName':hostname});}[_0x240828(0x254)](_0x548147,_0x30d459){const _0x2145a4=_0x240828,_0x1526b5={'MeKeU':function(_0x337a9a,_0x40c3d2){return _0x337a9a(_0x40c3d2);},'CRMkO':function(_0x5d4649,_0x277ba1){return _0x5d4649(_0x277ba1);},'MvReB':_0x2145a4(0x1fa)};return new Promise(async(_0x4ea3b1,_0xa427d1)=>{const _0x3c8a8a=_0x2145a4,_0x415ccb={'lSiFl':function(_0x58264e,_0x5876e7){const _0xb15dfe=_0x29a1;return _0x1526b5[_0xb15dfe(0x250)](_0x58264e,_0x5876e7);}},_0x4f69af=await genSessionConfig(_0x548147,_0x30d459,this['dataPath']),_0x2aa34b=new SessionListener();_0x2aa34b[_0x3c8a8a(0x22a)]=_0x1ba8f4=>{if(_0x1ba8f4===0x0)return _0x415ccb['lSiFl'](_0x4ea3b1,0x0);_0xa427d1(_0x1ba8f4);},this['session'][_0x3c8a8a(0x236)](_0x4f69af,new _0x9e7d56[(_0x3c8a8a(0x1d8))](new DependsAdapter()),new _0x9e7d56[(_0x3c8a8a(0x252))](new DispatcherAdapter()),new _0x9e7d56[(_0x3c8a8a(0x1f0))](_0x2aa34b));try{this[_0x3c8a8a(0x220)]['startNT'](0x0);}catch(_0x3954c5){try{this[_0x3c8a8a(0x220)][_0x3c8a8a(0x1c9)]();}catch(_0x1bbed8){_0x1526b5[_0x3c8a8a(0x1f7)](_0xa427d1,_0x1526b5[_0x3c8a8a(0x26d)]+_0x1bbed8);}}});}['initDataListener'](){const _0x4fca37=_0x240828,_0x2afcfe={'NTPtD':function(_0x147153,_0x4051a7){return _0x147153===_0x4051a7;},'EUCoK':function(_0x25bf63,_0xc971f8){return _0x25bf63(_0xc971f8);},'LNJWc':function(_0x278584,_0x5d0f30){return _0x278584+_0x5d0f30;},'nFMeT':'账号设备(','raGeS':function(_0x28cfc9,_0xf83919){return _0x28cfc9+_0xf83919;},'ATTwI':function(_0x53df44,_0xf3619a){return _0x53df44+_0xf3619a;},'nikWd':_0x4fca37(0x1fe),'FrfjC':function(_0x68a929,_0x2e8129){return _0x68a929/_0x2e8129;},'nJRvi':_0x4fca37(0x23b),'xfHHx':function(_0x1f0318,_0xafe7e,_0x488c18){return _0x1f0318(_0xafe7e,_0x488c18);}},_0x8022e8=new MsgListener();_0x8022e8[_0x4fca37(0x1e6)]=_0x5a9ac8=>{_0x5a9ac8['map'](_0x5bec14=>{const _0x4366e5=_0x29a1;_0x2afcfe[_0x4366e5(0x20a)](_0x5bec14[_0x4366e5(0x25f)],0x2)&&_0x2afcfe[_0x4366e5(0x245)](log,_0x2afcfe['LNJWc'](_0x2afcfe[_0x4366e5(0x243)],_0x5bec14[_0x4366e5(0x238)])+_0x4366e5(0x248));});},_0x8022e8[_0x4fca37(0x21c)]=_0x21b26f=>{const _0x11b1c7=_0x4fca37;log(_0x2afcfe['raGeS'](_0x2afcfe[_0x11b1c7(0x1e7)](_0x2afcfe[_0x11b1c7(0x1e7)](_0x2afcfe[_0x11b1c7(0x203)],_0x21b26f[_0x11b1c7(0x232)]),']\x20'),_0x21b26f[_0x11b1c7(0x25d)]));},_0x8022e8[_0x4fca37(0x1f8)]=_0x2d7bf2=>{const _0x24b70d=_0x4fca37;stat[_0x24b70d(0x21f)]+=0x1,stat[_0x24b70d(0x1bc)]+=0x1,stat[_0x24b70d(0x1c4)]=Math[_0x24b70d(0x1cc)](_0x2afcfe[_0x24b70d(0x1de)](Date[_0x24b70d(0x1e2)](),0x3e8));},_0x8022e8[_0x4fca37(0x21e)]=_0x1b8fc1=>{const _0xf91713=_0x4fca37;stat['packet_received']+=0x1,stat[_0xf91713(0x202)]+=_0x1b8fc1[_0xf91713(0x261)],stat[_0xf91713(0x1c4)]=Math[_0xf91713(0x1cc)](_0x2afcfe[_0xf91713(0x1de)](Date[_0xf91713(0x1e2)](),0x3e8));},_0x8022e8[_0x4fca37(0x1f5)]=(..._0x41a4be)=>{const _0x5b657e=_0x4fca37;stat[_0x5b657e(0x227)]+=0x1;},this[_0x4fca37(0x26a)](_0x8022e8);const _0x3bbd9f=new BuddyListener();_0x3bbd9f['onBuddyListChange']=_0x2a36ad=>{const _0x58448a=_0x4fca37;rawFriends[_0x58448a(0x261)]=0x0,rawFriends['push'](..._0x2a36ad);for(const _0x304dd9 of _0x2a36ad){for(const _0x3690f7 of _0x304dd9[_0x58448a(0x25c)]){const _0x309e13=friends['get'](_0x3690f7[_0x58448a(0x215)]);_0x309e13?Object['assign'](_0x309e13,_0x3690f7):friends[_0x58448a(0x214)](_0x3690f7[_0x58448a(0x215)],_0x3690f7);}}},this[_0x4fca37(0x26a)](_0x3bbd9f),this[_0x4fca37(0x220)][_0x4fca37(0x253)]()[_0x4fca37(0x228)](!![])[_0x4fca37(0x1e0)](_0x56e9a4=>{});const _0x2d5281=new ProfileListener();_0x2d5281['onProfileDetailInfoChanged']=_0x549820=>{const _0x42d899=_0x4fca37;_0x2afcfe[_0x42d899(0x20a)](_0x549820[_0x42d899(0x215)],selfInfo[_0x42d899(0x215)])&&Object[_0x42d899(0x1da)](selfInfo,_0x549820);},_0x2d5281[_0x4fca37(0x26b)]=_0x4b0107=>{},this[_0x4fca37(0x26a)](_0x2d5281);const _0x21267e=new GroupListener();_0x21267e['onGroupListUpdate']=(_0x36fe51,_0x503901)=>{const _0x1d08c0=_0x4fca37,_0x2f9ccf={'hwfGM':_0x2afcfe[_0x1d08c0(0x1ff)]};_0x503901[_0x1d08c0(0x241)](_0x5bbc9c=>{const _0x366a37=_0x1d08c0,_0x4d6d70=groups[_0x366a37(0x266)](_0x5bbc9c['groupCode']);_0x4d6d70&&_0x5bbc9c[_0x366a37(0x20d)]===_0x4d6d70[_0x366a37(0x20d)]?Object['assign'](_0x4d6d70,_0x5bbc9c):groups[_0x366a37(0x214)](_0x5bbc9c['groupCode'],_0x5bbc9c);const _0x48c3f7=this[_0x366a37(0x220)]['getGroupService']()[_0x366a37(0x21d)](_0x5bbc9c[_0x366a37(0x251)],_0x2f9ccf[_0x366a37(0x24b)]);this[_0x366a37(0x220)][_0x366a37(0x1bb)]()[_0x366a37(0x23a)](_0x48c3f7,undefined,0xbb8)['then'](_0x1886d0=>{});});},_0x21267e['onMemberListChange']=_0x193c23=>{const _0x3633f8=_0x4fca37,_0x35825e=_0x193c23[_0x3633f8(0x231)]['split']('_')[0x0];if(groupMembers[_0x3633f8(0x1d0)](_0x35825e)){const _0x481315=groupMembers[_0x3633f8(0x266)](_0x35825e);_0x193c23[_0x3633f8(0x1ef)]['forEach']((_0x45c53c,_0x15c4a2)=>{const _0x5114f0=_0x3633f8,_0x271d03=_0x481315[_0x5114f0(0x266)](_0x15c4a2);_0x271d03?Object[_0x5114f0(0x1da)](_0x271d03,_0x45c53c):_0x481315[_0x5114f0(0x214)](_0x15c4a2,_0x45c53c);});}else groupMembers[_0x3633f8(0x214)](_0x35825e,_0x193c23['infos']);},_0x21267e['onMemberInfoChange']=(_0x243bc9,_0x5547f5,_0x1c5510)=>{const _0x2c13db=_0x4fca37;_0x5547f5===0x0&&_0x1c5510[_0x2c13db(0x266)](selfInfo[_0x2c13db(0x215)])&&_0x1c5510['get'](selfInfo[_0x2c13db(0x215)])?.['isDelete']&&_0x2afcfe['xfHHx'](setTimeout,()=>{const _0x29856b=_0x2c13db;groups[_0x29856b(0x1d1)](_0x243bc9);},0x1388);const _0x46413e=groupMembers[_0x2c13db(0x266)](_0x243bc9);_0x46413e?_0x1c5510[_0x2c13db(0x257)]((_0x5d357c,_0x38cb7e)=>{const _0x1ff858=_0x2c13db,_0xd5d85=_0x46413e[_0x1ff858(0x266)](_0x38cb7e);_0xd5d85?Object[_0x1ff858(0x1da)](_0xd5d85,_0x5d357c):_0x46413e[_0x1ff858(0x214)](_0x38cb7e,_0x5d357c);}):groupMembers[_0x2c13db(0x214)](_0x243bc9,_0x1c5510);},this[_0x4fca37(0x26a)](_0x21267e);}[_0x240828(0x26a)](_0x3d4f08){const _0x32b1bf=_0x240828,_0x8ebe46={'TvCmQ':_0x32b1bf(0x259),'cxQnV':_0x32b1bf(0x1bf),'FKqvu':_0x32b1bf(0x200)};_0x3d4f08=new Proxy(_0x3d4f08,this[_0x32b1bf(0x274)]);switch(_0x3d4f08[_0x32b1bf(0x216)][_0x32b1bf(0x22e)]){case _0x32b1bf(0x25e):{return this[_0x32b1bf(0x220)][_0x32b1bf(0x253)]()[_0x32b1bf(0x26f)](new _0x9e7d56['NodeIKernelBuddyListener'](_0x3d4f08));}case _0x8ebe46['TvCmQ']:{return this[_0x32b1bf(0x220)][_0x32b1bf(0x1bb)]()[_0x32b1bf(0x1cf)](new _0x9e7d56[(_0x32b1bf(0x270))](_0x3d4f08));}case _0x8ebe46[_0x32b1bf(0x21b)]:{return this[_0x32b1bf(0x220)][_0x32b1bf(0x1db)]()['addKernelMsgListener'](new _0x9e7d56[(_0x32b1bf(0x258))](_0x3d4f08));}case _0x8ebe46['FKqvu']:{return this[_0x32b1bf(0x220)]['getProfileService']()[_0x32b1bf(0x1c2)](new _0x9e7d56[(_0x32b1bf(0x1c7))](_0x3d4f08));}default:return-0x1;}}['onLoginSuccess'](_0x2a17cc){const _0x2f0ff5=_0x240828;NTEventDispatch[_0x2f0ff5(0x236)]({'ListenerMap':_0x9e7d56,'WrapperSession':this[_0x2f0ff5(0x220)]}),this[_0x2f0ff5(0x267)][_0x2f0ff5(0x213)](_0x2a17cc);}async[_0x240828(0x1ea)](_0x930bb8){const _0x4f24ba=_0x240828,_0x5c0c5c={'MczTU':function(_0xc900e2,_0x316c25){return _0xc900e2!==_0x316c25;},'GBqOM':_0x4f24ba(0x1c0),'oFgJS':function(_0x1cb592,_0x2eea76){return _0x1cb592+_0x2eea76;}},_0x3397bd=await this['loginService']['getLoginList']();if(_0x5c0c5c[_0x4f24ba(0x269)](_0x3397bd['result'],0x0))throw new Error(_0x5c0c5c['GBqOM']);const _0x56499b=_0x3397bd[_0x4f24ba(0x246)][_0x4f24ba(0x22d)](_0x5e4f46=>_0x5e4f46[_0x4f24ba(0x1ec)]===_0x930bb8);if(!_0x56499b||!_0x56499b?.[_0x4f24ba(0x206)])throw new Error(_0x930bb8+_0x4f24ba(0x1dd));await sleep(0x3e8);const _0x449d94=await this[_0x4f24ba(0x24f)]['quickLoginWithUin'](_0x930bb8);if(!_0x449d94[_0x4f24ba(0x23e)])throw new Error(_0x5c0c5c[_0x4f24ba(0x24c)](_0x4f24ba(0x1fc),_0x449d94['loginErrorInfo'][_0x4f24ba(0x1dc)]));return _0x449d94;}async[_0x240828(0x20b)](_0x41da4b){const _0x2428b5=_0x240828,_0x437250={'uIDBI':_0x2428b5(0x1ce),'enTjy':_0x2428b5(0x1df),'qNfvt':function(_0x1f89b3,_0x3cff7f,_0x3f8585,_0x4b3200){return _0x1f89b3(_0x3cff7f,_0x3f8585,_0x4b3200);}};return new Promise((_0x45449b,_0x14c5f7)=>{const _0x5139df=_0x2428b5;this['loginListener'][_0x5139df(0x1ed)]=_0x53bd9c=>{const _0x1c64cd=_0x5139df,_0x29dcb3=_0x53bd9c[_0x1c64cd(0x208)][_0x1c64cd(0x242)](_0x437250[_0x1c64cd(0x204)])[0x1],_0x32398c=Buffer[_0x1c64cd(0x271)](_0x29dcb3,_0x437250[_0x1c64cd(0x1f4)]);_0x437250[_0x1c64cd(0x221)](_0x41da4b,_0x53bd9c[_0x1c64cd(0x205)],_0x53bd9c[_0x1c64cd(0x208)],_0x32398c);},this[_0x5139df(0x24f)]['getQRCodePicture']();});}async['passwordLogin'](_0xbcd942,_0x754d90,_0x1c0050,_0x18636f,_0x807a6e){const _0x4bca67=_0x240828,_0x16b4a5={'fPAnQ':'md5','OKRWo':'hex','gJbDG':function(_0x292641,_0x584b5f){return _0x292641&&_0x584b5f;},'uQCPa':function(_0x190652,_0x529890){return _0x190652||_0x529890;},'EDUKV':function(_0x3e8ce2,_0x223b48){return _0x3e8ce2(_0x223b48);}},_0x3a4122=_0x2e78b8[_0x4bca67(0x22b)](_0x16b4a5[_0x4bca67(0x1f6)])['update'](_0x754d90)[_0x4bca67(0x1ba)](_0x16b4a5['OKRWo']),_0x4603d0={'uin':_0xbcd942,'passwordMd5':_0x3a4122,'step':_0x16b4a5[_0x4bca67(0x20f)](_0x1c0050,_0x18636f)&&_0x807a6e?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x16b4a5['uQCPa'](_0x1c0050,''),'proofWaterRand':_0x16b4a5[_0x4bca67(0x263)](_0x18636f,''),'proofWaterSid':_0x807a6e||''};await this[_0x4bca67(0x24f)][_0x4bca67(0x1c8)](),await _0x16b4a5[_0x4bca67(0x211)](sleep,0x3e8);const _0x418878=await this[_0x4bca67(0x24f)][_0x4bca67(0x230)](_0x4603d0);switch(_0x418878[_0x4bca67(0x23e)]){case'0':{break;}case _0x4bca67(0x1d7):{break;}case'4':case _0x4bca67(0x1e3):default:}}async[_0x240828(0x201)](){const _0x44cb40=_0x240828,_0x43ea75=await this[_0x44cb40(0x24f)][_0x44cb40(0x1c8)]();return _0x43ea75;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.d.ts b/src/core.lib/src/data.d.ts index bc4174d5..d8d11585 100644 --- a/src/core.lib/src/data.d.ts +++ b/src/core.lib/src/data.d.ts @@ -1,28 +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; - ClientKey: string; - KeyIndex: string; - PskeyData: Map; - PskeyTime: Map; -}; -export declare const WebGroupData: { - GroupData: Map; - GroupTime: Map; -}; export declare const selfInfo: SelfInfo; export declare const groups: Map; export declare function deleteGroup(groupQQ: string): void; export declare const groupMembers: Map>; export declare const friends: Map; +export declare const rawFriends: Array; export declare const groupNotifies: Record; export declare function getGroup(qq: string | number): Promise; export declare function getGroupMember(groupQQ: string | number, memberUinOrUid: string | number): Promise; export declare const tempGroupCodeMap: Record; -export declare const rawFriends: Array; export declare const stat: { packet_received: number; packet_sent: number; diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index 057dfca0..a49103c4 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x5eba4a,_0x11cfff){const _0x4f66cb=_0x274b,_0x33a1d1=_0x5eba4a();while(!![]){try{const _0x6aaa14=parseInt(_0x4f66cb(0x134))/0x1+-parseInt(_0x4f66cb(0x138))/0x2+parseInt(_0x4f66cb(0x131))/0x3+-parseInt(_0x4f66cb(0x133))/0x4+-parseInt(_0x4f66cb(0x13e))/0x5+parseInt(_0x4f66cb(0x137))/0x6*(parseInt(_0x4f66cb(0x143))/0x7)+parseInt(_0x4f66cb(0x13f))/0x8*(parseInt(_0x4f66cb(0x141))/0x9);if(_0x6aaa14===_0x11cfff)break;else _0x33a1d1['push'](_0x33a1d1['shift']());}catch(_0x216123){_0x33a1d1['push'](_0x33a1d1['shift']());}}}(_0x743b,0x95eb7));import{isNumeric}from'@/common/utils/helper';function _0x274b(_0x40112d,_0x56e9eb){const _0x743bde=_0x743b();return _0x274b=function(_0x274b01,_0x3fa79a){_0x274b01=_0x274b01-0x12f;let _0x5b3f10=_0x743bde[_0x274b01];return _0x5b3f10;},_0x274b(_0x40112d,_0x56e9eb);}import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};function _0x743b(){const _0x498647=['11766GSOPvc','2361792roGfpQ','getGroups','uin','getGroupMembers','set','toString','2745585nzlEUK','808Avadwu','get','26955adcQLK','delete','3675qtEaqK','values','forEach','from','1383471qbbreM','length','1582652wWUnvo','946570CtaAgx','BpHCo','groupCode'];_0x743b=function(){return _0x498647;};return _0x743b();}export const groups=new Map();export function deleteGroup(_0x3ecb1d){const _0x400978=_0x274b;groups[_0x400978(0x142)](_0x3ecb1d),groupMembers['delete'](_0x3ecb1d);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x143d4c){const _0x420b23=_0x274b;let _0x2aabea=groups['get'](_0x143d4c[_0x420b23(0x13d)]());if(!_0x2aabea)try{const _0x331bc7=await NTQQGroupApi[_0x420b23(0x139)]();_0x331bc7[_0x420b23(0x132)]&&_0x331bc7[_0x420b23(0x12f)](_0x3f969b=>{const _0x5255e4=_0x420b23;groups[_0x5255e4(0x13c)](_0x3f969b[_0x5255e4(0x136)],_0x3f969b);});}catch(_0x1d7124){return undefined;}return _0x2aabea=groups[_0x420b23(0x140)](_0x143d4c['toString']()),_0x2aabea;}export async function getGroupMember(_0x2c11d8,_0x3a493a){const _0x38a20d=_0x274b,_0x38bd12={'BpHCo':function(_0x4cc065){return _0x4cc065();}};_0x2c11d8=_0x2c11d8['toString'](),_0x3a493a=_0x3a493a[_0x38a20d(0x13d)]();let _0x432a37=groupMembers[_0x38a20d(0x140)](_0x2c11d8);if(!_0x432a37)try{_0x432a37=await NTQQGroupApi['getGroupMembers'](_0x2c11d8),groupMembers['set'](_0x2c11d8,_0x432a37);}catch(_0x552747){return null;}const _0x46949d=()=>{const _0x5c4b4d=_0x38a20d;let _0x3aa306=undefined;return isNumeric(_0x3a493a)?_0x3aa306=Array[_0x5c4b4d(0x130)](_0x432a37[_0x5c4b4d(0x144)]())['find'](_0x493ee0=>_0x493ee0[_0x5c4b4d(0x13a)]===_0x3a493a):_0x3aa306=_0x432a37[_0x5c4b4d(0x140)](_0x3a493a),_0x3aa306;};let _0x3401bb=_0x38bd12[_0x38a20d(0x135)](_0x46949d);return!_0x3401bb&&(_0x432a37=await NTQQGroupApi[_0x38a20d(0x13b)](_0x2c11d8),_0x3401bb=_0x46949d()),_0x3401bb;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0xcbbc6f,_0x345af3){const _0x4faeb5=_0x54dd,_0x3015a0=_0xcbbc6f();while(!![]){try{const _0x4d6588=-parseInt(_0x4faeb5(0x7d))/0x1+parseInt(_0x4faeb5(0x8e))/0x2+parseInt(_0x4faeb5(0x81))/0x3*(parseInt(_0x4faeb5(0x8c))/0x4)+parseInt(_0x4faeb5(0x92))/0x5+parseInt(_0x4faeb5(0x82))/0x6*(-parseInt(_0x4faeb5(0x7e))/0x7)+parseInt(_0x4faeb5(0x83))/0x8+parseInt(_0x4faeb5(0x91))/0x9*(-parseInt(_0x4faeb5(0x87))/0xa);if(_0x4d6588===_0x345af3)break;else _0x3015a0['push'](_0x3015a0['shift']());}catch(_0x8e1676){_0x3015a0['push'](_0x3015a0['shift']());}}}(_0x47e7,0xd7e55));function _0x54dd(_0x3bef3f,_0x3c79da){const _0x47e7f6=_0x47e7();return _0x54dd=function(_0x54ddc1,_0x17aa95){_0x54ddc1=_0x54ddc1-0x7d;let _0x54f88a=_0x47e7f6[_0x54ddc1];return _0x54f88a;},_0x54dd(_0x3bef3f,_0x3c79da);}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(_0x2d1b38){const _0x3d8afe=_0x54dd;groups[_0x3d8afe(0x86)](_0x2d1b38),groupMembers[_0x3d8afe(0x86)](_0x2d1b38);}export const groupMembers=new Map();export const friends=new Map();function _0x47e7(){const _0x2e15f1=['uin','1151420LKaXmi','from','groupCode','9xwvSjV','1775100QtgqHv','getGroups','541974ROkGHB','2103850JHzRpH','length','forEach','749565KLqDlh','12aSogBQ','11463288ijCFon','toString','set','delete','15855330MOjqsL','getGroupMembers','find','get','ygiFE','20nuVKQG'];_0x47e7=function(){return _0x2e15f1;};return _0x47e7();}export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x31a074){const _0x4a35aa=_0x54dd;let _0x32b131=groups['get'](_0x31a074[_0x4a35aa(0x84)]());if(!_0x32b131)try{const _0x34da36=await NTQQGroupApi[_0x4a35aa(0x93)]();_0x34da36[_0x4a35aa(0x7f)]&&_0x34da36[_0x4a35aa(0x80)](_0x11f888=>{const _0x44e1e7=_0x4a35aa;groups[_0x44e1e7(0x85)](_0x11f888[_0x44e1e7(0x90)],_0x11f888);});}catch(_0x5e4bd4){return undefined;}return _0x32b131=groups[_0x4a35aa(0x8a)](_0x31a074[_0x4a35aa(0x84)]()),_0x32b131;}export async function getGroupMember(_0x441bf5,_0x529316){const _0x28ffd4=_0x54dd,_0x1ee94a={'ygiFE':function(_0x32cc21){return _0x32cc21();}};_0x441bf5=_0x441bf5['toString'](),_0x529316=_0x529316['toString']();let _0x38b8bc=groupMembers[_0x28ffd4(0x8a)](_0x441bf5);if(!_0x38b8bc)try{_0x38b8bc=await NTQQGroupApi['getGroupMembers'](_0x441bf5),groupMembers[_0x28ffd4(0x85)](_0x441bf5,_0x38b8bc);}catch(_0x4baa93){return null;}const _0x29ac31=()=>{const _0x5b8d49=_0x28ffd4;let _0xf178b4=undefined;return isNumeric(_0x529316)?_0xf178b4=Array[_0x5b8d49(0x8f)](_0x38b8bc['values']())[_0x5b8d49(0x89)](_0x259d99=>_0x259d99[_0x5b8d49(0x8d)]===_0x529316):_0xf178b4=_0x38b8bc[_0x5b8d49(0x8a)](_0x529316),_0xf178b4;};let _0x2a5d36=_0x1ee94a[_0x28ffd4(0x8b)](_0x29ac31);return!_0x2a5d36&&(_0x38b8bc=await NTQQGroupApi[_0x28ffd4(0x88)](_0x441bf5),_0x2a5d36=_0x29ac31()),_0x2a5d36;}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}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index 3806af40..353a1af8 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x3bcc6a,_0x533aee){var _0x57c014=_0x5dc4,_0x3305c5=_0x3bcc6a();while(!![]){try{var _0x24207c=parseInt(_0x57c014(0x183))/0x1*(-parseInt(_0x57c014(0x193))/0x2)+-parseInt(_0x57c014(0x18d))/0x3*(parseInt(_0x57c014(0x181))/0x4)+-parseInt(_0x57c014(0x17f))/0x5*(parseInt(_0x57c014(0x18e))/0x6)+-parseInt(_0x57c014(0x189))/0x7*(parseInt(_0x57c014(0x17e))/0x8)+-parseInt(_0x57c014(0x190))/0x9*(-parseInt(_0x57c014(0x194))/0xa)+parseInt(_0x57c014(0x186))/0xb*(-parseInt(_0x57c014(0x187))/0xc)+parseInt(_0x57c014(0x191))/0xd;if(_0x24207c===_0x533aee)break;else _0x3305c5['push'](_0x3305c5['shift']());}catch(_0x6cc81){_0x3305c5['push'](_0x3305c5['shift']());}}}(_0x4bd0,0x89e26));function _0x4bd0(){var _0x511ff4=['82KnrTyR','1030hTAekH','split','640424BpTboi','10jGlatI','3|4|2|1|0','668AVcsHq','OTHER','20977zpQxpd','zvRYL','VIDEO','2339843QNazjO','60utiHJq','AUDIO','14UGqRoh','hLsXR','Tktvj','IMAGE','1764Vpcsqj','3235422jxpmyG','izrCJ','38277RDdrTs','44032469GMtdIY','bltQy'];_0x4bd0=function(){return _0x511ff4;};return _0x4bd0();}function _0x5dc4(_0x324515,_0x35785d){var _0x4bd08d=_0x4bd0();return _0x5dc4=function(_0x5dc4c4,_0x42f3ec){_0x5dc4c4=_0x5dc4c4-0x17d;var _0x14cee4=_0x4bd08d[_0x5dc4c4];return _0x14cee4;},_0x5dc4(_0x324515,_0x35785d);};export var CacheFileType;(function(_0x17f52b){var _0x2d5e81=_0x5dc4,_0x32bfce={'bltQy':_0x2d5e81(0x182),'izrCJ':'DOCUMENT','hLsXR':_0x2d5e81(0x188),'Tktvj':_0x2d5e81(0x18c),'zvRYL':_0x2d5e81(0x185)},_0x5b9267=_0x2d5e81(0x180)[_0x2d5e81(0x17d)]('|'),_0x3f16c2=0x0;while(!![]){switch(_0x5b9267[_0x3f16c2++]){case'0':_0x17f52b[_0x17f52b[_0x2d5e81(0x182)]=0x4]=_0x32bfce[_0x2d5e81(0x192)];continue;case'1':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18f)]]=0x3]=_0x32bfce[_0x2d5e81(0x18f)];continue;case'2':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18a)]]=0x2]=_0x32bfce[_0x2d5e81(0x18a)];continue;case'3':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x18b)]]=0x0]=_0x32bfce['Tktvj'];continue;case'4':_0x17f52b[_0x17f52b[_0x32bfce[_0x2d5e81(0x184)]]=0x1]=_0x32bfce[_0x2d5e81(0x184)];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file +function _0x5a09(_0x407f68,_0x4e51a2){var _0x20ae38=_0x20ae();return _0x5a09=function(_0x5a09e8,_0x451ff1){_0x5a09e8=_0x5a09e8-0xf6;var _0x46ac3f=_0x20ae38[_0x5a09e8];return _0x46ac3f;},_0x5a09(_0x407f68,_0x4e51a2);}(function(_0x4d42d4,_0x2aeb1b){var _0x484542=_0x5a09,_0xf4de1c=_0x4d42d4();while(!![]){try{var _0x107f3c=parseInt(_0x484542(0x106))/0x1*(parseInt(_0x484542(0xfc))/0x2)+parseInt(_0x484542(0xf8))/0x3*(parseInt(_0x484542(0xfd))/0x4)+-parseInt(_0x484542(0x107))/0x5+-parseInt(_0x484542(0xf6))/0x6*(parseInt(_0x484542(0xf9))/0x7)+-parseInt(_0x484542(0x102))/0x8+-parseInt(_0x484542(0x103))/0x9+parseInt(_0x484542(0xfb))/0xa;if(_0x107f3c===_0x2aeb1b)break;else _0xf4de1c['push'](_0xf4de1c['shift']());}catch(_0x15e77a){_0xf4de1c['push'](_0xf4de1c['shift']());}}}(_0x20ae,0x830e9));;export var CacheFileType;function _0x20ae(){var _0x316e48=['OTHER','oIFmk','AUDIO','VIDEO','2300896VNsAgH','2394252wVurtH','IMAGE','split','20437RAzCap','541775oMfUsk','4903206qwOhPX','DOCUMENT','1327101hNBTRF','7KNKDxS','zBWeu','6130990LPgLlM','94MDXOfX','4NYBxZW'];_0x20ae=function(){return _0x316e48;};return _0x20ae();}(function(_0x309684){var _0x255e36=_0x5a09,_0x4437c8={'WFfMY':'3|2|4|1|0','ERlWY':'OTHER','oIFmk':_0x255e36(0xf7),'KEJqn':_0x255e36(0x101),'zBWeu':'IMAGE','GHXSS':_0x255e36(0x100)},_0x367d6a=_0x4437c8['WFfMY'][_0x255e36(0x105)]('|'),_0x3530c8=0x0;while(!![]){switch(_0x367d6a[_0x3530c8++]){case'0':_0x309684[_0x309684[_0x4437c8['ERlWY']]=0x4]=_0x255e36(0xfe);continue;case'1':_0x309684[_0x309684[_0x4437c8['oIFmk']]=0x3]=_0x4437c8[_0x255e36(0xff)];continue;case'2':_0x309684[_0x309684['VIDEO']=0x1]=_0x4437c8['KEJqn'];continue;case'3':_0x309684[_0x309684[_0x255e36(0x104)]=0x0]=_0x4437c8[_0x255e36(0xfa)];continue;case'4':_0x309684[_0x309684[_0x255e36(0x100)]=0x2]=_0x4437c8['GHXSS'];continue;}break;}}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index 0a4b5da7..eecb5caa 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -function _0x453f(){const _0x42ddc3=['sysface','TcFDa','face','获取视频封面失败,使用默认封面','tuQVu','TEXT','text','AniStickerType','height','gWfHG','gif','writeFile','tnWpE','find','VIDEO','markdown','hJxRo','mp4','size','PTT','FACE','set','REPLY','iBpwP','then','getImageSize','文件异常,大小为0','DBKpn','Hbicx','tLGYL','fDEtW','Bot\x20Test','932841OirRsy','SJutN','WBWpw','dirname','sWvmr','[商城表情]','sep','stringify','ppfnK','Ori','KZjam','xsvsc','video','catch','ZecZD','9918246MxMrhM','Thumb','517328fKMvvg','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','width','end','4642EZzEtL','screenshots','replace','FXbRi','https://www.bilibili.com/','ark','960qjngYo','ordKh','7811120SfuQfX','string','join','19AwUekn','file','TCzMy','rClBY','[骰子]','dice','pic','PIC','Cxbgy','1985930TrFmaU','mface','emoji','miniapp','91mQvWuM','AniStickerId','QSid','stat','toString','QDes','FILE','获取视频信息失败','MFACE','copyFile','uploadFile','GhCCq','XyKWH','notAt','ptt','3243DqFsJF','ARK','RnoeG','语音转换失败,\x20请检查语音文件是否正常','rLXpf','rps','fqaeo','MARKDOWN'];_0x453f=function(){return _0x42ddc3;};return _0x453f();}const _0x5a12e4=_0x5c12;(function(_0x13cbc5,_0x1b1358){const _0x255049=_0x5c12,_0xa2b68d=_0x13cbc5();while(!![]){try{const _0x1b64e8=-parseInt(_0x255049(0xc6))/0x1*(-parseInt(_0x255049(0xbb))/0x2)+parseInt(_0x255049(0xe2))/0x3*(-parseInt(_0x255049(0xc1))/0x4)+parseInt(_0x255049(0xc3))/0x5+-parseInt(_0x255049(0xb4))/0x6+-parseInt(_0x255049(0xd3))/0x7*(-parseInt(_0x255049(0xb6))/0x8)+parseInt(_0x255049(0xa5))/0x9+parseInt(_0x255049(0xcf))/0xa;if(_0x1b64e8===_0x1b1358)break;else _0xa2b68d['push'](_0xa2b68d['shift']());}catch(_0x59f2b6){_0xa2b68d['push'](_0xa2b68d['shift']());}}}(_0x453f,0xcc486));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';function _0x5c12(_0x42e25b,_0x3f0288){const _0x453fc8=_0x453f();return _0x5c12=function(_0x5c12dc,_0x1588c8){_0x5c12dc=_0x5c12dc-0x98;let _0x286fe3=_0x453fc8[_0x5c12dc];return _0x286fe3;},_0x5c12(_0x42e25b,_0x3f0288);}import{promises as _0x359ba2}from'node:fs';import _0x11320b 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 _0x545460 from'./face_config.json';import*as _0x311ddf from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x5a12e4(0xf0)](_0x3ef49a){const _0x5482d2=_0x5a12e4;return{'elementType':ElementType[_0x5482d2(0xef)],'elementId':'','textElement':{'content':_0x3ef49a,'atType':AtType[_0x5482d2(0xe0)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x36a908,_0x18ee18,_0x5becb4,_0xcd41aa){const _0x5db557=_0x5a12e4;return{'elementType':ElementType[_0x5db557(0xef)],'elementId':'','textElement':{'content':'@'+_0xcd41aa,'atType':_0x5becb4,'atUid':_0x36a908,'atTinyId':'','atNtUid':_0x18ee18}};}static['reply'](_0x82ff1f,_0x30b95a,_0x4a9d90,_0x1d7376){const _0x28d89b=_0x5a12e4;return{'elementType':ElementType[_0x28d89b(0x9b)],'elementId':'','replyElement':{'replayMsgSeq':_0x82ff1f,'replayMsgId':_0x30b95a,'senderUin':_0x4a9d90,'senderUinStr':_0x1d7376}};}static async[_0x5a12e4(0xcc)](_0x1b8f98,_0x5ef649='',_0x39cc9a=0x0){const _0x5b18d5=_0x5a12e4,_0x57ce99={'hJxRo':_0x5b18d5(0x9f)},{md5:_0x4ae8ba,fileName:_0x4a2d73,path:_0x5cd32f,fileSize:_0x16a102}=await NTQQFileApi[_0x5b18d5(0xdd)](_0x1b8f98,ElementType[_0x5b18d5(0xcd)],_0x39cc9a);if(_0x16a102===0x0)throw _0x57ce99[_0x5b18d5(0xfa)];const _0x2f0d7a=await NTQQFileApi[_0x5b18d5(0x9e)](_0x1b8f98),_0x3c5892={'md5HexStr':_0x4ae8ba,'fileSize':_0x16a102[_0x5b18d5(0xd7)](),'picWidth':_0x2f0d7a?.[_0x5b18d5(0xb9)],'picHeight':_0x2f0d7a?.['height'],'fileName':_0x4a2d73,'sourcePath':_0x5cd32f,'original':!![],'picType':isGIF(_0x1b8f98)?PicType[_0x5b18d5(0xf4)]:PicType['jpg'],'picSubType':_0x39cc9a,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x5ef649};return{'elementType':ElementType[_0x5b18d5(0xcd)],'elementId':'','picElement':_0x3c5892};}static async[_0x5a12e4(0xc7)](_0x1a3b38,_0xdc34ab='',_0x559f17=''){const _0x416450=_0x5a12e4,_0x51e745={'iBpwP':function(_0x4456b5,_0x7ada49){return _0x4456b5===_0x7ada49;},'ZecZD':'文件异常,大小为0'},{md5:_0x5aefc8,fileName:_0x145cd6,path:_0x3ff682,fileSize:_0x4647ca}=await NTQQFileApi[_0x416450(0xdd)](_0x1a3b38,ElementType['FILE']);if(_0x51e745[_0x416450(0x9c)](_0x4647ca,0x0))throw _0x51e745[_0x416450(0xb3)];const _0x3be241={'elementType':ElementType[_0x416450(0xd9)],'elementId':'','fileElement':{'fileName':_0xdc34ab||_0x145cd6,'folderId':_0x559f17,'filePath':_0x3ff682,'fileSize':_0x4647ca['toString']()}};return _0x3be241;}static async[_0x5a12e4(0xb1)](_0x3f1fe6,_0x848618='',_0x17a472=''){const _0x2684fe=_0x5a12e4,_0xea0df3={'KZjam':function(_0x4feb02,_0x306e0c){return _0x4feb02(_0x306e0c);},'TCzMy':function(_0xfffca3,_0x150a22){return _0xfffca3(_0x150a22);},'ordKh':_0x2684fe(0xba),'Cxbgy':'error','vzLyp':function(_0x5dd18e,_0x2b41be){return _0x5dd18e+_0x2b41be;},'SJutN':function(_0x3c52b5,_0x13c99f){return _0x3c52b5===_0x13c99f;},'TcFDa':_0x2684fe(0x9f),'WBWpw':function(_0x359de3,_0x345975,_0x21d663){return _0x359de3(_0x345975,_0x21d663);},'wJcJN':_0x2684fe(0xda),'FXbRi':function(_0x14b86a,_0x5d4ffc){return _0x14b86a+_0x5d4ffc;}},{fileName:_0x4daf62,path:_0x4e86b1,fileSize:_0x5db5a5,md5:_0xc827ee}=await NTQQFileApi[_0x2684fe(0xdd)](_0x3f1fe6,ElementType[_0x2684fe(0xf8)]);if(_0xea0df3[_0x2684fe(0xa6)](_0x5db5a5,0x0))throw _0xea0df3[_0x2684fe(0xeb)];let _0x35cc3=_0x4e86b1[_0x2684fe(0xbd)](_0x311ddf['sep']+_0x2684fe(0xae)+_0x311ddf['sep'],_0x311ddf[_0x2684fe(0xab)]+_0x2684fe(0xb5)+_0x311ddf[_0x2684fe(0xab)]);_0x35cc3=_0x311ddf[_0x2684fe(0xa8)](_0x35cc3);let _0x3f805e={'width':0x780,'height':0x438,'time':0xf,'format':_0x2684fe(0xfb),'size':_0x5db5a5,'filePath':_0x3f1fe6};try{_0x3f805e=await _0xea0df3[_0x2684fe(0xc8)](getVideoInfo,_0x4e86b1);}catch(_0x3f1f8d){_0xea0df3[_0x2684fe(0xa7)](logError,_0xea0df3['wJcJN'],_0x3f1f8d);}const _0xa68967=new Promise((_0x47c1e7,_0xa2f9fa)=>{const _0x18278b=_0x2684fe,_0x2b6d74={'aaGFR':function(_0x262507,_0x10bf84){const _0x403cb4=_0x5c12;return _0xea0df3[_0x403cb4(0xaf)](_0x262507,_0x10bf84);},'gWfHG':function(_0x1712c6,_0x416ed9,_0x1fd188){return _0x1712c6(_0x416ed9,_0x1fd188);},'lIiJt':_0x18278b(0xed)},_0x299140=_0xc827ee+'_0.png',_0xbac3b4=_0x311ddf[_0x18278b(0xc5)](_0x35cc3,_0x299140);_0xea0df3['TCzMy'](_0x11320b,_0x3f1fe6)['on'](_0xea0df3['ordKh'],()=>{})['on'](_0xea0df3[_0x18278b(0xce)],_0x7fc95d=>{const _0x3dba3d=_0x18278b,_0xb16ae9={'sWvmr':function(_0x574e13,_0x8ef25e){return _0x2b6d74['aaGFR'](_0x574e13,_0x8ef25e);}};_0x2b6d74[_0x3dba3d(0xf3)](logDebug,_0x2b6d74['lIiJt'],_0x7fc95d),_0x17a472?_0x359ba2[_0x3dba3d(0xdc)](_0x17a472,_0xbac3b4)[_0x3dba3d(0x9d)](()=>{const _0x323d14=_0x3dba3d;_0xb16ae9[_0x323d14(0xa9)](_0x47c1e7,_0xbac3b4);})[_0x3dba3d(0xb2)](_0xa2f9fa):_0x359ba2[_0x3dba3d(0xf5)](_0xbac3b4,defaultVideoThumb)[_0x3dba3d(0x9d)](()=>{_0xb16ae9['sWvmr'](_0x47c1e7,_0xbac3b4);})[_0x3dba3d(0xb2)](_0xa2f9fa);})[_0x18278b(0xbc)]({'timestamps':[0x0],'filename':_0x299140,'folder':_0x35cc3,'size':_0xea0df3['vzLyp'](_0x3f805e['width'],'x')+_0x3f805e[_0x18278b(0xf2)]})['on'](_0xea0df3[_0x18278b(0xc2)],()=>{_0x47c1e7(_0xbac3b4);});}),_0x4e0136=new Map(),_0x152cd9=await _0xa68967,_0xa4fbb1=(await _0x359ba2[_0x2684fe(0xd6)](_0x152cd9))[_0x2684fe(0xfc)];_0x4e0136[_0x2684fe(0x9a)](0x0,_0x152cd9);const _0x137991=await calculateFileMD5(_0x152cd9),_0x1a1597={'elementType':ElementType[_0x2684fe(0xf8)],'elementId':'','videoElement':{'fileName':_0x848618||_0x4daf62,'filePath':_0x4e86b1,'videoMd5':_0xc827ee,'thumbMd5':_0x137991,'fileTime':_0x3f805e['time'],'thumbPath':_0x4e0136,'thumbSize':_0xa4fbb1,'thumbWidth':_0x3f805e['width'],'thumbHeight':_0x3f805e[_0x2684fe(0xf2)],'fileSize':_0xea0df3[_0x2684fe(0xbe)]('',_0x5db5a5)}};return _0x1a1597;}static async[_0x5a12e4(0xe1)](_0x504b4c){const _0x51019c=_0x5a12e4,_0xa5bef4={'RnoeG':function(_0x26c1be,_0xfbf70){return _0x26c1be(_0xfbf70);},'rLXpf':function(_0xa67e9f,_0x14d6a7){return _0xa67e9f===_0x14d6a7;},'fDEtW':_0x51019c(0x9f),'GhCCq':function(_0x5a317e,_0x1c5539){return _0x5a317e||_0x1c5539;}},{converted:_0x48854e,path:_0x47c6a5,duration:_0x4ce9d5}=await _0xa5bef4[_0x51019c(0xe4)](encodeSilk,_0x504b4c);if(!_0x47c6a5)throw _0x51019c(0xe5);const {md5:_0x4beeb5,fileName:_0x180e0b,path:_0x44c036,fileSize:_0x2ca72e}=await NTQQFileApi['uploadFile'](_0x47c6a5,ElementType[_0x51019c(0x98)]);if(_0xa5bef4[_0x51019c(0xe6)](_0x2ca72e,0x0))throw _0xa5bef4[_0x51019c(0xa3)];return _0x48854e&&_0x359ba2['unlink'](_0x47c6a5)[_0x51019c(0x9d)](),{'elementType':ElementType[_0x51019c(0x98)],'elementId':'','pttElement':{'fileName':_0x180e0b,'filePath':_0x44c036,'md5HexStr':_0x4beeb5,'fileSize':_0x2ca72e,'duration':_0xa5bef4[_0x51019c(0xde)](_0x4ce9d5,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x5a12e4(0xec)](_0x58c059){const _0x1101ec=_0x5a12e4,_0x420497={'rClBY':function(_0x41eb77,_0x8a1dbb){return _0x41eb77(_0x8a1dbb);},'DBKpn':function(_0x139ed8,_0x5786b4){return _0x139ed8>=_0x5786b4;}},_0x4c6eef=_0x545460[_0x1101ec(0xea)],_0x480d64=_0x545460[_0x1101ec(0xd1)],_0x3eb1f5=_0x4c6eef[_0x1101ec(0xf7)](_0x480974=>_0x480974[_0x1101ec(0xd5)]===_0x58c059[_0x1101ec(0xd7)]());_0x58c059=_0x420497[_0x1101ec(0xc9)](parseInt,_0x58c059[_0x1101ec(0xd7)]());let _0x69ecd8=0x1;return _0x420497[_0x1101ec(0xa0)](_0x58c059,0xde)&&(_0x69ecd8=0x2),_0x3eb1f5[_0x1101ec(0xf1)]&&(_0x69ecd8=0x3),{'elementType':ElementType[_0x1101ec(0x99)],'elementId':'','faceElement':{'faceIndex':_0x58c059,'faceType':_0x69ecd8,'faceText':_0x3eb1f5[_0x1101ec(0xd8)],'stickerId':_0x3eb1f5[_0x1101ec(0xd4)],'stickerType':_0x3eb1f5[_0x1101ec(0xf1)],'packId':_0x3eb1f5['AniStickerPackId'],'sourceType':0x1}};}static[_0x5a12e4(0xd0)](_0x326783,_0x2003c3,_0x1fbc6d,_0x5a4de5){const _0x256f9f=_0x5a12e4,_0x37bbaf={'tLGYL':_0x256f9f(0xaa)};return{'elementType':ElementType[_0x256f9f(0xdb)],'marketFaceElement':{'emojiPackageId':_0x326783,'emojiId':_0x2003c3,'key':_0x1fbc6d,'faceName':_0x5a4de5||mFaceCache['get'](_0x2003c3)||_0x37bbaf[_0x256f9f(0xa2)]}};}static[_0x5a12e4(0xcb)](_0x3b4fde){const _0x3bb769=_0x5a12e4,_0x3310f2={'tuQVu':_0x3bb769(0xca)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['dice'],'faceType':FaceType[_0x3bb769(0xcb)],'faceText':_0x3310f2[_0x3bb769(0xee)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a12e4(0xe7)](_0x525f26){return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':'[包剪锤]','faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x5a12e4(0xc0)](_0x17fdc7){const _0x2a7f19=_0x5a12e4,_0x555b91={'Hbicx':_0x2a7f19(0xc4)};return typeof _0x17fdc7!==_0x555b91[_0x2a7f19(0xa1)]&&(_0x17fdc7=JSON[_0x2a7f19(0xac)](_0x17fdc7)),{'elementType':ElementType[_0x2a7f19(0xe3)],'elementId':'','arkElement':{'bytesData':_0x17fdc7,'linkInfo':null,'subElementType':null}};}static[_0x5a12e4(0xf9)](_0xd256d7){const _0x46b9d4=_0x5a12e4;return{'elementType':ElementType[_0x46b9d4(0xe9)],'elementId':'','markdownElement':{'content':_0xd256d7}};}static async[_0x5a12e4(0xd2)](){const _0x13d07d=_0x5a12e4,_0x52c353={'tnWpE':function(_0x563b0f,_0x2d619b){return _0x563b0f(_0x2d619b);},'ppfnK':_0x13d07d(0xa4),'xsvsc':_0x13d07d(0xb7),'fqaeo':_0x13d07d(0xbf),'XyKWH':_0x13d07d(0xb8)};let _0x5c1efd=await _0x52c353[_0x13d07d(0xf6)](SignMiniApp,{'prompt':_0x52c353[_0x13d07d(0xad)],'title':'Bot\x20Test','preview':_0x52c353[_0x13d07d(0xb0)],'jumpUrl':_0x52c353[_0x13d07d(0xe8)],'tag':_0x52c353['ppfnK'],'tagIcon':_0x52c353[_0x13d07d(0xdf)],'source':_0x52c353[_0x13d07d(0xad)],'sourcelogo':_0x52c353[_0x13d07d(0xdf)]});return{'elementType':ElementType[_0x13d07d(0xe3)],'elementId':'','arkElement':{'bytesData':_0x5c1efd,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x30de49=_0x66e7;(function(_0x33cda1,_0x11ad41){const _0x3cce1f=_0x66e7,_0x3d818e=_0x33cda1();while(!![]){try{const _0x3fb20e=parseInt(_0x3cce1f(0x1e1))/0x1*(-parseInt(_0x3cce1f(0x1e5))/0x2)+parseInt(_0x3cce1f(0x1a2))/0x3+parseInt(_0x3cce1f(0x1cd))/0x4+-parseInt(_0x3cce1f(0x1d2))/0x5+parseInt(_0x3cce1f(0x1c3))/0x6*(-parseInt(_0x3cce1f(0x1d4))/0x7)+parseInt(_0x3cce1f(0x1a6))/0x8+parseInt(_0x3cce1f(0x1b5))/0x9*(parseInt(_0x3cce1f(0x1eb))/0xa);if(_0x3fb20e===_0x11ad41)break;else _0x3d818e['push'](_0x3d818e['shift']());}catch(_0x2d4609){_0x3d818e['push'](_0x3d818e['shift']());}}}(_0x5d14,0xb752f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x37c6c9}from'node:fs';function _0x5d14(){const _0x3a20c2=['yIqEn','jpg','QDes','Bot\x20Test','notAt','获取视频封面失败,使用默认封面','503OIdnpa','text','writeFile','语音转换失败,\x20请检查语音文件是否正常','5830JiZwqG','FtcUY','ark','FFwSq','FACE','error','22199440umTCtk','[包剪锤]','[骰子]','face','ARK','getImageSize','JZxVI','rIrDB','find','bwXQj','lqKkb','FILE','toString','size','NwdLN','miniapp','aoecz','gif','copyFile','set','dice','then','NUkuS','markdown','hWSVy','height','https://www.bilibili.com/','2560671ZUMQtc','YCQcL','https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','rps','752040NvnfHe','RPS','fKmYq','NaNlw','PTT','pic','cHtdq','ptt','uWlgq','sysface','dirname','replace','文件异常,大小为0','reply','time','9hAnDoh','iYoXR','AniStickerType','sep','width','YaASp','AniStickerId','unlink','mp4','Thumb','cCevc','string','VIDEO','uploadFile','5499042xhyKVb','stat','mFMRI','REPLY','end','video','get','[商城表情]','PIC','szgXB','724548nFytot','join','taHhZ','QSid','获取视频信息失败','1074980TDvoay','MFACE','7LFxhPx','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','catch','AniStickerPackId','mface','screenshots','stringify'];_0x5d14=function(){return _0x3a20c2;};return _0x5d14();}import _0x4ed488 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 _0x2e101e from'./face_config.json';function _0x66e7(_0x2ea2d4,_0x35671f){const _0x5d146e=_0x5d14();return _0x66e7=function(_0x66e7c,_0x2f6b3f){_0x66e7c=_0x66e7c-0x193;let _0x15a725=_0x5d146e[_0x66e7c];return _0x15a725;},_0x66e7(_0x2ea2d4,_0x35671f);}import*as _0x3bbb48 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x30de49(0x1e2)](_0xd1cc07){const _0x4bef83=_0x30de49;return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':_0xd1cc07,'atType':AtType[_0x4bef83(0x1df)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x1e8257,_0x12bef8,_0x3ded7f,_0x3f960f){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x3f960f,'atType':_0x3ded7f,'atUid':_0x1e8257,'atTinyId':'','atNtUid':_0x12bef8}};}static[_0x30de49(0x1b3)](_0x500151,_0x1820bc,_0x221cdc,_0x3af677){const _0x4c8dcc=_0x30de49;return{'elementType':ElementType[_0x4c8dcc(0x1c6)],'elementId':'','replyElement':{'replayMsgSeq':_0x500151,'replayMsgId':_0x1820bc,'senderUin':_0x221cdc,'senderUinStr':_0x3af677}};}static async[_0x30de49(0x1ab)](_0x549a50,_0x478953='',_0x3a0b7c=0x0){const _0x3b465a=_0x30de49,_0x8fca02={'FtcUY':function(_0x46399e,_0x351e65){return _0x46399e===_0x351e65;},'mFMRI':function(_0x463340,_0x4795f1){return _0x463340(_0x4795f1);}},{md5:_0x37632c,fileName:_0x4dbbd6,path:_0x215e18,fileSize:_0x2fd491}=await NTQQFileApi['uploadFile'](_0x549a50,ElementType['PIC'],_0x3a0b7c);if(_0x8fca02[_0x3b465a(0x1e6)](_0x2fd491,0x0))throw _0x3b465a(0x1b2);const _0x5babde=await NTQQFileApi[_0x3b465a(0x1f0)](_0x549a50),_0xc4d936={'md5HexStr':_0x37632c,'fileSize':_0x2fd491[_0x3b465a(0x193)](),'picWidth':_0x5babde?.[_0x3b465a(0x1b9)],'picHeight':_0x5babde?.[_0x3b465a(0x1a0)],'fileName':_0x4dbbd6,'sourcePath':_0x215e18,'original':!![],'picType':_0x8fca02[_0x3b465a(0x1c5)](isGIF,_0x549a50)?PicType[_0x3b465a(0x198)]:PicType[_0x3b465a(0x1dc)],'picSubType':_0x3a0b7c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x478953};return{'elementType':ElementType[_0x3b465a(0x1cb)],'elementId':'','picElement':_0xc4d936};}static async['file'](_0xbee274,_0x30a1d8='',_0x26b11f=''){const _0x157914=_0x30de49,_0x57ddc1={'fdpiM':_0x157914(0x1b2),'aoecz':function(_0x5ddc6f,_0x189943){return _0x5ddc6f||_0x189943;}},{md5:_0x1d784a,fileName:_0x13f5e6,path:_0x2e377a,fileSize:_0x3c7e3f}=await NTQQFileApi[_0x157914(0x1c2)](_0xbee274,ElementType[_0x157914(0x1f6)]);if(_0x3c7e3f===0x0)throw _0x57ddc1['fdpiM'];const _0x3a6b88={'elementType':ElementType['FILE'],'elementId':'','fileElement':{'fileName':_0x57ddc1[_0x157914(0x197)](_0x30a1d8,_0x13f5e6),'folderId':_0x26b11f,'filePath':_0x2e377a,'fileSize':_0x3c7e3f[_0x157914(0x193)]()}};return _0x3a6b88;}static async[_0x30de49(0x1c8)](_0x39f2bd,_0x4df934='',_0x114421=''){const _0x2f8dc2=_0x30de49,_0x2de0b4={'iYoXR':function(_0x39714d,_0x4c5551,_0x29bf93){return _0x39714d(_0x4c5551,_0x29bf93);},'RYLPW':_0x2f8dc2(0x1e0),'fKmYq':function(_0x1082f3,_0x4de464){return _0x1082f3(_0x4de464);},'hWSVy':function(_0x39a7bc,_0x5cbf22){return _0x39a7bc(_0x5cbf22);},'hMbpP':_0x2f8dc2(0x1c7),'YAEQr':function(_0x2a944e,_0x252523){return _0x2a944e+_0x252523;},'YCQcL':function(_0x11f041,_0x2d7103){return _0x11f041+_0x2d7103;},'NUkuS':function(_0x38917d,_0x555c21){return _0x38917d===_0x555c21;},'cHtdq':_0x2f8dc2(0x1b2),'FFwSq':_0x2f8dc2(0x1bd),'rIrDB':function(_0x53b82b,_0x33c8a4){return _0x53b82b(_0x33c8a4);},'NaNlw':function(_0x2bec3c,_0x157e0a){return _0x2bec3c||_0x157e0a;}},{fileName:_0x566d2c,path:_0x2af651,fileSize:_0x54241e,md5:_0x2d4b30}=await NTQQFileApi['uploadFile'](_0x39f2bd,ElementType['VIDEO']);if(_0x2de0b4[_0x2f8dc2(0x19d)](_0x54241e,0x0))throw _0x2de0b4[_0x2f8dc2(0x1ac)];let _0xd96bed=_0x2af651[_0x2f8dc2(0x1b1)](_0x3bbb48[_0x2f8dc2(0x1b8)]+'Ori'+_0x3bbb48[_0x2f8dc2(0x1b8)],_0x3bbb48[_0x2f8dc2(0x1b8)]+_0x2f8dc2(0x1be)+_0x3bbb48[_0x2f8dc2(0x1b8)]);_0xd96bed=_0x3bbb48[_0x2f8dc2(0x1b0)](_0xd96bed);let _0x33153a={'width':0x780,'height':0x438,'time':0xf,'format':_0x2de0b4[_0x2f8dc2(0x1e8)],'size':_0x54241e,'filePath':_0x39f2bd};try{_0x33153a=await _0x2de0b4[_0x2f8dc2(0x1a8)](getVideoInfo,_0x2af651);}catch(_0x19b036){_0x2de0b4[_0x2f8dc2(0x1b6)](logError,_0x2f8dc2(0x1d1),_0x19b036);}const _0x4ded3f=new Promise((_0x8a6909,_0x86d34e)=>{const _0x198537=_0x2f8dc2,_0x3dc384={'uWlgq':function(_0x4ad835,_0x37583e,_0x1117ce){const _0x42af05=_0x66e7;return _0x2de0b4[_0x42af05(0x1b6)](_0x4ad835,_0x37583e,_0x1117ce);},'szgXB':_0x2de0b4['RYLPW'],'JZxVI':function(_0x350fb4,_0x509bec){return _0x2de0b4['fKmYq'](_0x350fb4,_0x509bec);}},_0xf59e40=_0x2d4b30+'_0.png',_0x815cb4=_0x3bbb48[_0x198537(0x1ce)](_0xd96bed,_0xf59e40);_0x2de0b4[_0x198537(0x19f)](_0x4ed488,_0x39f2bd)['on'](_0x2de0b4['hMbpP'],()=>{})['on'](_0x198537(0x1ea),_0x4b65a2=>{const _0x1f928f=_0x198537,_0x5e54b={'yIqEn':function(_0x230977,_0x4ac22f){return _0x230977(_0x4ac22f);}};_0x3dc384[_0x1f928f(0x1ae)](logDebug,_0x3dc384[_0x1f928f(0x1cc)],_0x4b65a2),_0x114421?_0x37c6c9[_0x1f928f(0x199)](_0x114421,_0x815cb4)['then'](()=>{const _0xe3ea14=_0x1f928f;_0x5e54b[_0xe3ea14(0x1db)](_0x8a6909,_0x815cb4);})[_0x1f928f(0x1d6)](_0x86d34e):_0x37c6c9[_0x1f928f(0x1e3)](_0x815cb4,defaultVideoThumb)['then'](()=>{const _0x4786ac=_0x1f928f;_0x5e54b[_0x4786ac(0x1db)](_0x8a6909,_0x815cb4);})[_0x1f928f(0x1d6)](_0x86d34e);})[_0x198537(0x1d9)]({'timestamps':[0x0],'filename':_0xf59e40,'folder':_0xd96bed,'size':_0x2de0b4['YAEQr'](_0x2de0b4[_0x198537(0x1a3)](_0x33153a[_0x198537(0x1b9)],'x'),_0x33153a[_0x198537(0x1a0)])})['on'](_0x2de0b4['hMbpP'],()=>{const _0x42219f=_0x198537;_0x3dc384[_0x42219f(0x1f1)](_0x8a6909,_0x815cb4);});}),_0xaa87d9=new Map(),_0x42dc22=await _0x4ded3f,_0x4b3370=(await _0x37c6c9[_0x2f8dc2(0x1c4)](_0x42dc22))[_0x2f8dc2(0x194)];_0xaa87d9[_0x2f8dc2(0x19a)](0x0,_0x42dc22);const _0x35280e=await _0x2de0b4[_0x2f8dc2(0x1f2)](calculateFileMD5,_0x42dc22),_0x45137c={'elementType':ElementType[_0x2f8dc2(0x1c1)],'elementId':'','videoElement':{'fileName':_0x2de0b4[_0x2f8dc2(0x1a9)](_0x4df934,_0x566d2c),'filePath':_0x2af651,'videoMd5':_0x2d4b30,'thumbMd5':_0x35280e,'fileTime':_0x33153a[_0x2f8dc2(0x1b4)],'thumbPath':_0xaa87d9,'thumbSize':_0x4b3370,'thumbWidth':_0x33153a[_0x2f8dc2(0x1b9)],'thumbHeight':_0x33153a[_0x2f8dc2(0x1a0)],'fileSize':_0x2de0b4['YAEQr']('',_0x54241e)}};return _0x45137c;}static async[_0x30de49(0x1ad)](_0x30dcc0){const _0x524542=_0x30de49,_0x503bba={'GKDEH':function(_0x568e68,_0x289f3e){return _0x568e68(_0x289f3e);},'UjjnA':_0x524542(0x1e4),'cCevc':function(_0x1b6d8b,_0x5434e6){return _0x1b6d8b===_0x5434e6;},'Iwnuf':_0x524542(0x1b2),'YaASp':function(_0x2a01f6,_0x48f017){return _0x2a01f6||_0x48f017;}},{converted:_0x2ad401,path:_0x13a7c8,duration:_0x26e15e}=await _0x503bba['GKDEH'](encodeSilk,_0x30dcc0);if(!_0x13a7c8)throw _0x503bba['UjjnA'];const {md5:_0x908956,fileName:_0x7808c7,path:_0x42ca3,fileSize:_0x147640}=await NTQQFileApi[_0x524542(0x1c2)](_0x13a7c8,ElementType[_0x524542(0x1aa)]);if(_0x503bba[_0x524542(0x1bf)](_0x147640,0x0))throw _0x503bba['Iwnuf'];return _0x2ad401&&_0x37c6c9[_0x524542(0x1bc)](_0x13a7c8)[_0x524542(0x19c)](),{'elementType':ElementType[_0x524542(0x1aa)],'elementId':'','pttElement':{'fileName':_0x7808c7,'filePath':_0x42ca3,'md5HexStr':_0x908956,'fileSize':_0x147640,'duration':_0x503bba[_0x524542(0x1ba)](_0x26e15e,0x1),'formatType':0x1,'voiceType':0x1,'voiceChangeType':0x0,'canConvert2Text':!![],'waveAmplitudes':[0x0,0x12,0x9,0x17,0x10,0x11,0x10,0xf,0x2c,0x11,0x18,0x14,0xe,0xf,0x11],'fileSubId':'','playState':0x1,'autoConvertText':0x0}};}static[_0x30de49(0x1ee)](_0x3abc9b){const _0x46ae6b=_0x30de49,_0x3c379d={'taHhZ':function(_0x12043b,_0xe27a81){return _0x12043b>=_0xe27a81;}},_0x586119=_0x2e101e[_0x46ae6b(0x1af)],_0x1a164e=_0x2e101e['emoji'],_0x17f035=_0x586119[_0x46ae6b(0x1f3)](_0x99f5b4=>_0x99f5b4[_0x46ae6b(0x1d0)]===_0x3abc9b[_0x46ae6b(0x193)]());_0x3abc9b=parseInt(_0x3abc9b[_0x46ae6b(0x193)]());let _0x3f7bf6=0x1;return _0x3c379d[_0x46ae6b(0x1cf)](_0x3abc9b,0xde)&&(_0x3f7bf6=0x2),_0x17f035[_0x46ae6b(0x1b7)]&&(_0x3f7bf6=0x3),{'elementType':ElementType[_0x46ae6b(0x1e9)],'elementId':'','faceElement':{'faceIndex':_0x3abc9b,'faceType':_0x3f7bf6,'faceText':_0x17f035[_0x46ae6b(0x1dd)],'stickerId':_0x17f035[_0x46ae6b(0x1bb)],'stickerType':_0x17f035[_0x46ae6b(0x1b7)],'packId':_0x17f035[_0x46ae6b(0x1d7)],'sourceType':0x1}};}static[_0x30de49(0x1d8)](_0x5aa559,_0x2c92b3,_0x499631,_0x4d0841){const _0x2f81a8=_0x30de49;return{'elementType':ElementType[_0x2f81a8(0x1d3)],'marketFaceElement':{'emojiPackageId':_0x5aa559,'emojiId':_0x2c92b3,'key':_0x499631,'faceName':_0x4d0841||mFaceCache[_0x2f81a8(0x1c9)](_0x2c92b3)||_0x2f81a8(0x1ca)}};}static['dice'](_0x266782){const _0x2da0ea=_0x30de49,_0x5e503e={'lqKkb':_0x2da0ea(0x1ed)};return{'elementType':ElementType[_0x2da0ea(0x1e9)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2da0ea(0x19b)],'faceType':FaceType[_0x2da0ea(0x19b)],'faceText':_0x5e503e[_0x2da0ea(0x1f5)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x30de49(0x1a5)](_0x997409){const _0x2a9290=_0x30de49,_0x302604={'KPvHP':_0x2a9290(0x1ec)};return{'elementType':ElementType[_0x2a9290(0x1e9)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2a9290(0x1a7)],'faceText':_0x302604['KPvHP'],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x30de49(0x1e7)](_0x48ec96){const _0x124c06=_0x30de49,_0x338cbe={'NwdLN':_0x124c06(0x1c0)};return typeof _0x48ec96!==_0x338cbe[_0x124c06(0x195)]&&(_0x48ec96=JSON[_0x124c06(0x1da)](_0x48ec96)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x48ec96,'linkInfo':null,'subElementType':null}};}static[_0x30de49(0x19e)](_0x2adad3){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0x2adad3}};}static async[_0x30de49(0x196)](){const _0x5f25d2=_0x30de49,_0x5a9ce5={'URPEF':_0x5f25d2(0x1a4),'TutXM':_0x5f25d2(0x1a1),'bwXQj':_0x5f25d2(0x1de),'hXCuM':_0x5f25d2(0x1d5)};let _0x131b0d=await SignMiniApp({'prompt':'Bot\x20Test','title':_0x5f25d2(0x1de),'preview':_0x5a9ce5['URPEF'],'jumpUrl':_0x5a9ce5['TutXM'],'tag':_0x5a9ce5[_0x5f25d2(0x1f4)],'tagIcon':_0x5a9ce5['hXCuM'],'source':_0x5a9ce5['bwXQj'],'sourcelogo':_0x5a9ce5['hXCuM']});return{'elementType':ElementType[_0x5f25d2(0x1ef)],'elementId':'','arkElement':{'bytesData':_0x131b0d,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file diff --git a/src/core.lib/src/entities/group.js b/src/core.lib/src/entities/group.js index 267417ff..d52bcae9 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x57667b,_0x80711a){var _0x254e86=_0x58d4,_0x52c5cb=_0x57667b();while(!![]){try{var _0x176d75=parseInt(_0x254e86(0x1d1))/0x1*(parseInt(_0x254e86(0x1d2))/0x2)+-parseInt(_0x254e86(0x1ca))/0x3*(parseInt(_0x254e86(0x1cb))/0x4)+-parseInt(_0x254e86(0x1d9))/0x5+-parseInt(_0x254e86(0x1d5))/0x6*(-parseInt(_0x254e86(0x1d4))/0x7)+parseInt(_0x254e86(0x1cc))/0x8+-parseInt(_0x254e86(0x1cf))/0x9+parseInt(_0x254e86(0x1cd))/0xa*(parseInt(_0x254e86(0x1d0))/0xb);if(_0x176d75===_0x80711a)break;else _0x52c5cb['push'](_0x52c5cb['shift']());}catch(_0x6681dd){_0x52c5cb['push'](_0x52c5cb['shift']());}}}(_0x3f6e,0x7b8e0));function _0x58d4(_0x46c77b,_0x4fd805){var _0x3f6ee2=_0x3f6e();return _0x58d4=function(_0x58d4d6,_0xa3cfeb){_0x58d4d6=_0x58d4d6-0x1ca;var _0x22ca21=_0x3f6ee2[_0x58d4d6];return _0x22ca21;},_0x58d4(_0x46c77b,_0x4fd805);}export var GroupMemberRole;function _0x3f6e(){var _0x310caf=['normal','1036210iUjUfO','18EPPIci','owner','admin','NwEmq','2763705JWUzNy','1469334awvAEy','8plTNpK','2531448YQiztJ','344210eEwVJN','SHEOr','3600243jxbCbJ','286tpAhHC','86993vqUzhG','18ZSnPkf'];_0x3f6e=function(){return _0x310caf;};return _0x3f6e();}(function(_0x233258){var _0x20d030=_0x58d4,_0x2eceb7={'SHEOr':_0x20d030(0x1d3),'NwEmq':_0x20d030(0x1d7)};_0x233258[_0x233258[_0x2eceb7['SHEOr']]=0x2]=_0x2eceb7[_0x20d030(0x1ce)],_0x233258[_0x233258[_0x2eceb7[_0x20d030(0x1d8)]]=0x3]=_0x2eceb7[_0x20d030(0x1d8)],_0x233258[_0x233258[_0x20d030(0x1d6)]=0x4]=_0x20d030(0x1d6);}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x41ee3b,_0x409751){var _0x2cbcdc=_0x3025,_0x3a219d=_0x41ee3b();while(!![]){try{var _0x6add98=-parseInt(_0x2cbcdc(0xa5))/0x1*(-parseInt(_0x2cbcdc(0xa9))/0x2)+-parseInt(_0x2cbcdc(0xa0))/0x3*(parseInt(_0x2cbcdc(0xab))/0x4)+-parseInt(_0x2cbcdc(0xa7))/0x5*(-parseInt(_0x2cbcdc(0xa4))/0x6)+parseInt(_0x2cbcdc(0xa1))/0x7+parseInt(_0x2cbcdc(0x9e))/0x8+parseInt(_0x2cbcdc(0xac))/0x9*(parseInt(_0x2cbcdc(0xa6))/0xa)+-parseInt(_0x2cbcdc(0xa2))/0xb;if(_0x6add98===_0x409751)break;else _0x3a219d['push'](_0x3a219d['shift']());}catch(_0x134b57){_0x3a219d['push'](_0x3a219d['shift']());}}}(_0x3110,0xa6c57));function _0x3025(_0x3aec54,_0x2dd341){var _0x3110ce=_0x3110();return _0x3025=function(_0x3025d5,_0x129602){_0x3025d5=_0x3025d5-0x9e;var _0xdcb2f4=_0x3110ce[_0x3025d5];return _0xdcb2f4;},_0x3025(_0x3aec54,_0x2dd341);}function _0x3110(){var _0x3570e3=['qeJlz','58008sfywoo','884011tDSgwh','77040gKnWqo','380dOcBof','normal','2yDngSI','ciFed','53876PsjBPR','891zuSJuS','611712lCtlhp','admin','111VNOGnU','2755858PwOKGQ','18372035alwUtS'];_0x3110=function(){return _0x3570e3;};return _0x3110();}export var GroupMemberRole;(function(_0x406a4a){var _0x2e0e01=_0x3025,_0x49c776={'qeJlz':_0x2e0e01(0xa8),'ciFed':'admin','PYpIl':'owner'};_0x406a4a[_0x406a4a[_0x49c776[_0x2e0e01(0xa3)]]=0x2]=_0x49c776[_0x2e0e01(0xa3)],_0x406a4a[_0x406a4a[_0x2e0e01(0x9f)]=0x3]=_0x49c776[_0x2e0e01(0xaa)],_0x406a4a[_0x406a4a[_0x49c776['PYpIl']]=0x4]=_0x49c776['PYpIl'];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/index.js b/src/core.lib/src/entities/index.js index daa6c0c6..f2a2cc19 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x41dd29,_0x27c819){var _0x54a448=_0x3759,_0x2e4d59=_0x41dd29();while(!![]){try{var _0x5b9fa7=parseInt(_0x54a448(0x11e))/0x1+-parseInt(_0x54a448(0x121))/0x2+-parseInt(_0x54a448(0x11c))/0x3*(parseInt(_0x54a448(0x119))/0x4)+parseInt(_0x54a448(0x117))/0x5*(-parseInt(_0x54a448(0x11d))/0x6)+-parseInt(_0x54a448(0x122))/0x7*(-parseInt(_0x54a448(0x11f))/0x8)+parseInt(_0x54a448(0x120))/0x9*(parseInt(_0x54a448(0x118))/0xa)+-parseInt(_0x54a448(0x11a))/0xb*(-parseInt(_0x54a448(0x11b))/0xc);if(_0x5b9fa7===_0x27c819)break;else _0x2e4d59['push'](_0x2e4d59['shift']());}catch(_0x439218){_0x2e4d59['push'](_0x2e4d59['shift']());}}}(_0x3e71,0x7938e));export*from'./user';export*from'./group';function _0x3759(_0x14dc7e,_0x312bbc){var _0x3e71fa=_0x3e71();return _0x3759=function(_0x375977,_0x592f5b){_0x375977=_0x375977-0x117;var _0x104fff=_0x3e71fa[_0x375977];return _0x104fff;},_0x3759(_0x14dc7e,_0x312bbc);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x3e71(){var _0x5691a6=['113510ICrLWq','23344MCndzc','33nnjyoV','3891204hQkUtF','498miMKrh','906dhXlWi','405827PDYngu','176oiidDB','603vJyhPM','108172UibGam','13580yPJSOG','21935nkNVNJ'];_0x3e71=function(){return _0x5691a6;};return _0x3e71();} \ No newline at end of file +(function(_0x3a579a,_0xf922be){var _0x18575f=_0x47c9,_0x38635e=_0x3a579a();while(!![]){try{var _0x34fd74=parseInt(_0x18575f(0x1ba))/0x1+parseInt(_0x18575f(0x1b9))/0x2*(-parseInt(_0x18575f(0x1c0))/0x3)+parseInt(_0x18575f(0x1be))/0x4+parseInt(_0x18575f(0x1c1))/0x5+parseInt(_0x18575f(0x1bf))/0x6+-parseInt(_0x18575f(0x1bb))/0x7+parseInt(_0x18575f(0x1bc))/0x8*(-parseInt(_0x18575f(0x1bd))/0x9);if(_0x34fd74===_0xf922be)break;else _0x38635e['push'](_0x38635e['shift']());}catch(_0x484385){_0x38635e['push'](_0x38635e['shift']());}}}(_0x19cf,0x6a92b));function _0x19cf(){var _0x3fbf7e=['424dAerfH','150021mcOrwL','2223980suKPyg','1415868TAATAZ','18042XqYQEU','1803145VSdUQv','6QlxGie','716427vNDpBq','3717049NnTuxm'];_0x19cf=function(){return _0x3fbf7e;};return _0x19cf();}export*from'./user';function _0x47c9(_0x5435a1,_0x47f3e6){var _0x19cf9e=_0x19cf();return _0x47c9=function(_0x47c982,_0x155921){_0x47c982=_0x47c982-0x1b9;var _0x29784a=_0x19cf9e[_0x47c982];return _0x29784a;},_0x47c9(_0x5435a1,_0x47f3e6);}export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index 1417e17c..f6919b95 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x484894=_0x1eea;(function(_0x529f42,_0x38395a){var _0x1ace3d=_0x1eea,_0x2f5b97=_0x529f42();while(!![]){try{var _0x4e060c=-parseInt(_0x1ace3d(0xb0))/0x1+-parseInt(_0x1ace3d(0xef))/0x2+-parseInt(_0x1ace3d(0xd3))/0x3*(parseInt(_0x1ace3d(0x123))/0x4)+-parseInt(_0x1ace3d(0xb5))/0x5+-parseInt(_0x1ace3d(0x11e))/0x6+-parseInt(_0x1ace3d(0x115))/0x7+parseInt(_0x1ace3d(0xe5))/0x8*(parseInt(_0x1ace3d(0xac))/0x9);if(_0x4e060c===_0x38395a)break;else _0x2f5b97['push'](_0x2f5b97['shift']());}catch(_0x416695){_0x2f5b97['push'](_0x2f5b97['shift']());}}}(_0x4af9,0xa9f8b));export var ElementType;(function(_0xe537e6){var _0x31bdbe=_0x1eea,_0x507a4c={'oeUbw':_0x31bdbe(0xa0),'USePo':_0x31bdbe(0xc9),'fLtxj':_0x31bdbe(0xf7),'IveoT':_0x31bdbe(0xeb),'XadeS':'FILE','jUEwi':_0x31bdbe(0xe4),'cgNNb':_0x31bdbe(0xa4),'WzxhP':_0x31bdbe(0x110),'TogJJ':_0x31bdbe(0xa1),'nBfxH':_0x31bdbe(0xae),'dIGOO':_0x31bdbe(0x102)},_0x4dfa28=_0x507a4c[_0x31bdbe(0x10b)]['split']('|'),_0x17dcab=0x0;while(!![]){switch(_0x4dfa28[_0x17dcab++]){case'0':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x9a)]]=0x1]=_0x31bdbe(0xc9);continue;case'1':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0xdf)]]=0xb]=_0x31bdbe(0xf7);continue;case'2':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0xb7)]]=0x2]=_0x507a4c[_0x31bdbe(0xb7)];continue;case'3':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x128)]]=0x3]=_0x507a4c[_0x31bdbe(0x128)];continue;case'4':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x9e)]]=0x4]=_0x507a4c[_0x31bdbe(0x9e)];continue;case'5':_0xe537e6[_0xe537e6[_0x31bdbe(0xa4)]=0x5]=_0x507a4c[_0x31bdbe(0x11a)];continue;case'6':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x99)]]=0xa]=_0x507a4c[_0x31bdbe(0x99)];continue;case'7':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x114)]]=0x7]=_0x507a4c[_0x31bdbe(0x114)];continue;case'8':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x119)]]=0x6]=_0x507a4c['nBfxH'];continue;case'9':_0xe537e6[_0xe537e6[_0x507a4c[_0x31bdbe(0x111)]]=0xe]=_0x507a4c[_0x31bdbe(0x111)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x2fff5d){var _0x1f8521=_0x1eea,_0x2e0afe={'KZxeo':'gif','twcBI':_0x1f8521(0xa9)};_0x2fff5d[_0x2fff5d[_0x2e0afe['KZxeo']]=0x7d0]=_0x1f8521(0xc1),_0x2fff5d[_0x2fff5d[_0x2e0afe[_0x1f8521(0xd1)]]=0x3e8]=_0x1f8521(0xa9);}(PicType||(PicType={})));export var PicSubType;(function(_0x2d187c){var _0x385405=_0x1eea,_0x303fab={'EvOcc':'normal','FPSEA':_0x385405(0xd9)};_0x2d187c[_0x2d187c[_0x303fab['EvOcc']]=0x0]=_0x303fab[_0x385405(0x106)],_0x2d187c[_0x2d187c[_0x303fab[_0x385405(0xa2)]]=0x1]=_0x385405(0xd9);}(PicSubType||(PicSubType={})));export var AtType;function _0x1eea(_0x40bc03,_0x1ac756){var _0x4af9d9=_0x4af9();return _0x1eea=function(_0x1eea2e,_0x5ea3d4){_0x1eea2e=_0x1eea2e-0x98;var _0x488cd4=_0x4af9d9[_0x1eea2e];return _0x488cd4;},_0x1eea(_0x40bc03,_0x1ac756);}(function(_0x103804){var _0x17b9e5=_0x1eea,_0x18c4ac={'HMHfg':'atAll'};_0x103804[_0x103804[_0x17b9e5(0xf6)]=0x0]='notAt',_0x103804[_0x103804[_0x18c4ac[_0x17b9e5(0x116)]]=0x1]=_0x17b9e5(0xd6),_0x103804[_0x103804[_0x17b9e5(0xb6)]=0x2]=_0x17b9e5(0xb6);}(AtType||(AtType={})));export var ChatType;function _0x4af9(){var _0x167cf1=['bLSAK','VIDEO_FORMAT_AFS','KCHATTYPEDATALINEMQQ','EvOcc','hVlVJ','WmGxC','tIDRN','KCHATTYPEGROUPHELPER','oeUbw','dice','AHuro','KCHATTYPETEMPWPA','lTOyT','ARK','dIGOO','KCHATTYPEDATALINE','KCHATTYPEFAV','TogJJ','2232104QlQCEG','HMHfg','KCHATTYPEQQNOTIFY','1|6|5|7|3|9|10|4|0|2|8','nBfxH','cgNNb','HChzy','https://gchat.qpic.cn','wmdXm','699594mDGnpi','MEMBER_NEW_TITLE','RPS','normal','IqGNo','4JEOtPR','nMivP','URrYQ','fukVz','group','XadeS','NCLhP','KCHATTYPEBUDDYNOTIFY','WEFjA','sxsvr','KCHATTYPERELATEACCOUNT','VIDEO_FORMAT_RMVB','WzxhP','USePo','kInMV','MkAyV','friend','jUEwi','zKEML','0|2|3|4|5|8|7|6|1|9','REPLY','FPSEA','RHBLY','VIDEO','GQpzU','chatDevice','VIDEO_FORMAT_TS','UOzhr','jpg','YIlXG','KCHATTYPEGROUPNOTIFY','41012964TYWaUC','KCHATTYPEGUILDMETA','FACE','aMxjB','1350039hTUGzW','kjIWN','KCHATTYPENEARBYFOLDER','KCHATTYPECIRCLE','rWZzX','3815010lAfkNr','atUser','IveoT','sqpOo','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPETEMPADDRESSBOOK','KCHATTYPEGROUPBLESS','KCHATTYPEC2C','VnXSe','AotMI','akyTF','fbPhW','gif','HuxsM','KCHATTYPENEARBYASSISTANT','KCHATTYPESERVICEASSISTANT','nQKDi','IcGsy','JdtuD','split','TEXT','KCHATTYPEMATCHFRIEND','KCHATTYPENEARBY','bUJFu','GLrPu','KCHATTYPETEMPPUBLICACCOUNT','VIDEO_FORMAT_WMV','qaROr','twcBI','VIDEO_FORMAT_MOD','1442481gvSgqZ','temp','oVRAf','atAll','KCHATTYPENEARBYINTERACT','fwwHa','face','KCHATTYPEWEIYUN','PrRuY','AvxgN','IHsnC','KCHATTYPEDISC','fLtxj','kicked','NWrRm','mQXqG','UpsfR','PTT','8WVimGk','QYqvn','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEGUILD','KCHATTYPETEMPBUSSINESSCRM','uMLAf','PIC','nBbzt','KCHATTYPEADELIE','KCHATTYPESQUAREPUBLIC','1662908YhQzKV','VIDEO_FORMAT_MOV','xpohP','VIDEO_FORMAT_MP4','KCHATTYPEGAMEMESSAGEFOLDER','ban','VIDEO_FORMAT_RM','notAt','MFACE','hAfHY','ujpYm','IrudY','VIDEO_FORMAT_MTS','vSgEG','KCHATTYPETEMPNEARBYPRO','KCHATTYPEGROUP','TAwJR','xFAHP','qXjmT','MARKDOWN'];_0x4af9=function(){return _0x167cf1;};return _0x4af9();}(function(_0x396d23){var _0x44433d=_0x1eea,_0x3bead7={'bLSAK':_0x44433d(0x9d),'UOzhr':_0x44433d(0x127),'AvxgN':_0x44433d(0xa6),'uOYrq':_0x44433d(0xd4)};_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0x103)]]=0x1]=_0x44433d(0x9d),_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0xa8)]]=0x2]=_0x3bead7[_0x44433d(0xa8)],_0x396d23[_0x396d23[_0x3bead7[_0x44433d(0xdc)]]=0x8]=_0x3bead7[_0x44433d(0xdc)],_0x396d23[_0x396d23[_0x3bead7['uOYrq']]=0x64]=_0x3bead7['uOYrq'];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x13f0f5){var _0x4439d2=_0x1eea,_0x4e1cab={'MGgie':'KCHATTYPEADELIE','IqGNo':'KCHATTYPEBUDDYNOTIFY','HuxsM':_0x4439d2(0xbc),'xpKuO':_0x4439d2(0xb3),'aMxjB':_0x4439d2(0x112),'tIDRN':_0x4439d2(0x105),'qXjmT':'KCHATTYPEDISC','xFAHP':_0x4439d2(0x113),'hAfHY':'KCHATTYPEGAMEMESSAGE','UpsfR':_0x4439d2(0xf3),'lTOyT':_0x4439d2(0xfe),'vSgEG':_0x4439d2(0xbb),'NCLhP':'KCHATTYPEGROUPGUILD','JdtuD':_0x4439d2(0xab),'WmGxC':_0x4439d2(0xe8),'bUJFu':_0x4439d2(0xad),'PrRuY':_0x4439d2(0xca),'nMivP':'KCHATTYPEMATCHFRIENDFOLDER','hVlVJ':_0x4439d2(0xcb),'URrYQ':_0x4439d2(0xc3),'sqpOo':_0x4439d2(0xb2),'IcGsy':'KCHATTYPENEARBYHELLOFOLDER','xpohP':_0x4439d2(0xd7),'akyTF':_0x4439d2(0x117),'kjIWN':_0x4439d2(0x12d),'IHsnC':_0x4439d2(0xe7),'VnXSe':_0x4439d2(0xee),'TAwJR':'KCHATTYPESUBSCRIBEFOLDER','tOmTp':'KCHATTYPETEMPADDRESSBOOK','tnoUC':_0x4439d2(0xe9),'RHBLY':'KCHATTYPETEMPC2CFROMGROUP','qaROr':'KCHATTYPETEMPC2CFROMUNKNOWN','MkAyV':_0x4439d2(0xb9),'IrudY':_0x4439d2(0xfd),'WEFjA':_0x4439d2(0xce),'GLrPu':_0x4439d2(0x10e),'AHuro':'KCHATTYPEUNKNOWN','wmdXm':_0x4439d2(0xda)};_0x13f0f5[_0x13f0f5[_0x4439d2(0xed)]=0x2a]=_0x4e1cab['MGgie'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x122)]]=0x5]=_0x4439d2(0x12a),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc2)]]=0x1]=_0x4e1cab['HuxsM'],_0x13f0f5[_0x13f0f5[_0x4e1cab['xpKuO']]=0x71]=_0x4439d2(0xb3),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xaf)]]=0x8]=_0x4439d2(0x112),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x109)]]=0x86]=_0x4e1cab[_0x4439d2(0x109)],_0x13f0f5[_0x13f0f5[_0x4439d2(0xde)]=0x3]=_0x4e1cab[_0x4439d2(0x101)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x100)]]=0x29]=_0x4439d2(0x113),_0x13f0f5[_0x13f0f5[_0x4e1cab['hAfHY']]=0x69]=_0x4e1cab[_0x4439d2(0xf8)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xe3)]]=0x74]=_0x4e1cab[_0x4439d2(0xe3)],_0x13f0f5[_0x13f0f5[_0x4e1cab['lTOyT']]=0x2]=_0x4e1cab[_0x4439d2(0x10f)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xfc)]]=0x85]=_0x4e1cab[_0x4439d2(0xfc)],_0x13f0f5[_0x13f0f5[_0x4e1cab['NCLhP']]=0x9]=_0x4e1cab[_0x4439d2(0x129)],_0x13f0f5[_0x13f0f5[_0x4439d2(0x10a)]=0x7]=_0x4439d2(0x10a),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc7)]]=0x6]=_0x4e1cab['JdtuD'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x108)]]=0x4]=_0x4e1cab[_0x4439d2(0x108)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xcc)]]=0x10]=_0x4e1cab[_0x4439d2(0xcc)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xdb)]]=0x68]=_0x4e1cab[_0x4439d2(0xdb)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x124)]]=0x6d]=_0x4e1cab[_0x4439d2(0x124)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x107)]]=0x6a]=_0x4e1cab[_0x4439d2(0x107)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x125)]]=0x6b]=_0x4e1cab[_0x4439d2(0x125)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xb8)]]=0x6e]=_0x4439d2(0xb2),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xc6)]]=0x70]=_0x4e1cab[_0x4439d2(0xc6)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xf1)]]=0x6c]=_0x4e1cab[_0x4439d2(0xf1)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xbf)]]=0x84]=_0x4e1cab[_0x4439d2(0xbf)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xb1)]]=0x83]=_0x4e1cab[_0x4439d2(0xb1)],_0x13f0f5[_0x13f0f5[_0x4439d2(0xc4)]=0x76]=_0x4439d2(0xc4),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xdd)]]=0xc9]=_0x4e1cab['IHsnC'],_0x13f0f5[_0x13f0f5['KCHATTYPESQUAREPUBLIC']=0x73]=_0x4e1cab[_0x4439d2(0xbd)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xff)]]=0x1e]=_0x4e1cab['TAwJR'],_0x13f0f5[_0x13f0f5[_0x4439d2(0xba)]=0x6f]=_0x4e1cab['tOmTp'],_0x13f0f5[_0x13f0f5[_0x4439d2(0xe9)]=0x66]=_0x4e1cab['tnoUC'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xa3)]]=0x64]=_0x4e1cab['RHBLY'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xd0)]]=0x63]=_0x4e1cab[_0x4439d2(0xd0)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x9c)]]=0x65]=_0x4e1cab[_0x4439d2(0x9c)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0xfa)]]=0x77]=_0x4439d2(0xfd),_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x12b)]]=0x67]=_0x4e1cab[_0x4439d2(0x12b)],_0x13f0f5[_0x13f0f5[_0x4439d2(0x10e)]=0x75]=_0x4e1cab[_0x4439d2(0xcd)],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x10d)]]=0x0]=_0x4e1cab['AHuro'],_0x13f0f5[_0x13f0f5[_0x4e1cab[_0x4439d2(0x11d)]]=0x28]=_0x4e1cab['wmdXm'];}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x484894(0x11c);export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x30bdbb){var _0x302d9f=_0x484894,_0x1948e5={'kInMV':'MEMBER_NEW_TITLE'};_0x30bdbb[_0x30bdbb['INVITE_NEW_MEMBER']=0xc]='INVITE_NEW_MEMBER',_0x30bdbb[_0x30bdbb[_0x1948e5[_0x302d9f(0x9b)]]=0x11]=_0x302d9f(0x11f);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x3893f5){var _0xc97666=_0x484894,_0x2ef600={'mQXqG':_0xc97666(0x121),'GQpzU':'normal2','JuPNq':_0xc97666(0x10c)};_0x3893f5[_0x3893f5[_0x2ef600[_0xc97666(0xe2)]]=0x1]=_0xc97666(0x121),_0x3893f5[_0x3893f5[_0x2ef600[_0xc97666(0xa5)]]=0x2]=_0x2ef600['GQpzU'],_0x3893f5[_0x3893f5[_0x2ef600['JuPNq']]=0x3]=_0x2ef600['JuPNq'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x1b7b0e){var _0x22c53b=_0x484894,_0x4c3f17={'nBbzt':'dice','fwwHa':_0x22c53b(0x120)};_0x1b7b0e[_0x1b7b0e[_0x4c3f17[_0x22c53b(0xec)]]=0x166]=_0x22c53b(0x10c),_0x1b7b0e[_0x1b7b0e[_0x4c3f17[_0x22c53b(0xd8)]]=0x167]=_0x22c53b(0x120);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x193f9c){var _0x177d55=_0x484894,_0x4d2bbf={'fbPhW':_0x177d55(0x118),'zKEML':_0x177d55(0x98),'rWZzX':'VIDEO_FORMAT_AFS','oVRAf':_0x177d55(0xa7),'nQKDi':'VIDEO_FORMAT_MOV','YIlXG':'VIDEO_FORMAT_RM','QYqvn':'VIDEO_FORMAT_MKV','fukVz':'VIDEO_FORMAT_AVI','uMLAf':_0x177d55(0xd2),'BAela':_0x177d55(0xcf),'HChzy':_0x177d55(0xf2),'sxsvr':_0x177d55(0xfb)},_0x4d077f=_0x4d2bbf[_0x177d55(0xc0)][_0x177d55(0xc8)]('|'),_0x5c977f=0x0;while(!![]){switch(_0x4d077f[_0x5c977f++]){case'0':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x9f)]]=0x5]=_0x4d2bbf[_0x177d55(0x9f)];continue;case'1':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xb4)]]=0x7]=_0x177d55(0x104);continue;case'2':_0x193f9c[_0x193f9c[_0x4d2bbf['oVRAf']]=0xa]=_0x4d2bbf[_0x177d55(0xd5)];continue;case'3':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xc5)]]=0x8]=_0x177d55(0xf0);continue;case'4':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xaa)]]=0x6]=_0x177d55(0xf5);continue;case'5':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xe6)]]=0x4]=_0x4d2bbf['QYqvn'];continue;case'6':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x126)]]=0x1]=_0x4d2bbf[_0x177d55(0x126)];continue;case'7':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0xea)]]=0x9]=_0x4d2bbf[_0x177d55(0xea)];continue;case'8':_0x193f9c[_0x193f9c[_0x4d2bbf['BAela']]=0x3]=_0x177d55(0xcf);continue;case'9':_0x193f9c[_0x193f9c[_0x4d2bbf[_0x177d55(0x11b)]]=0x2]=_0x4d2bbf[_0x177d55(0x11b)];continue;case'10':_0x193f9c[_0x193f9c[_0x177d55(0xfb)]=0xb]=_0x4d2bbf[_0x177d55(0x12c)];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0xcc514){var _0x4236b7=_0x484894,_0x4788ab={'AotMI':'memberIncrease','ujpYm':_0x4236b7(0xe0),'NWrRm':_0x4236b7(0xf4)};_0xcc514[_0xcc514[_0x4788ab['AotMI']]=0x1]=_0x4788ab[_0x4236b7(0xbe)],_0xcc514[_0xcc514[_0x4788ab[_0x4236b7(0xf9)]]=0x3]=_0x4788ab[_0x4236b7(0xf9)],_0xcc514[_0xcc514[_0x4236b7(0xf4)]=0x8]=_0x4788ab[_0x4236b7(0xe1)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x3dcdf7=_0x553d;(function(_0x175e53,_0x8b411d){var _0x1ef6f6=_0x553d,_0x5b2bed=_0x175e53();while(!![]){try{var _0x1fc7b0=parseInt(_0x1ef6f6(0x238))/0x1+parseInt(_0x1ef6f6(0x21e))/0x2*(parseInt(_0x1ef6f6(0x20e))/0x3)+parseInt(_0x1ef6f6(0x230))/0x4*(-parseInt(_0x1ef6f6(0x1f9))/0x5)+-parseInt(_0x1ef6f6(0x22d))/0x6+-parseInt(_0x1ef6f6(0x253))/0x7+-parseInt(_0x1ef6f6(0x204))/0x8*(-parseInt(_0x1ef6f6(0x1d6))/0x9)+parseInt(_0x1ef6f6(0x21f))/0xa;if(_0x1fc7b0===_0x8b411d)break;else _0x5b2bed['push'](_0x5b2bed['shift']());}catch(_0x693f04){_0x5b2bed['push'](_0x5b2bed['shift']());}}}(_0x419a,0x8f0e3));export var ElementType;(function(_0x32cee2){var _0x227349=_0x553d,_0xc481ed={'DRxzN':'TEXT','wRoNB':_0x227349(0x22a),'pwojy':'FILE','HkgKM':_0x227349(0x1fe),'uyZPM':_0x227349(0x203),'NHLyJ':_0x227349(0x222),'OJnpS':_0x227349(0x23c),'QNTVb':_0x227349(0x1e8),'KzNce':_0x227349(0x208),'RFwVh':_0x227349(0x1d3)};_0x32cee2[_0x32cee2[_0x227349(0x239)]=0x1]=_0xc481ed[_0x227349(0x23d)],_0x32cee2[_0x32cee2[_0xc481ed['wRoNB']]=0x2]=_0x227349(0x22a),_0x32cee2[_0x32cee2[_0xc481ed[_0x227349(0x22e)]]=0x3]='FILE',_0x32cee2[_0x32cee2[_0x227349(0x1fe)]=0x4]=_0xc481ed['HkgKM'],_0x32cee2[_0x32cee2[_0xc481ed['uyZPM']]=0x5]=_0xc481ed[_0x227349(0x1d4)],_0x32cee2[_0x32cee2[_0xc481ed[_0x227349(0x237)]]=0x6]='FACE',_0x32cee2[_0x32cee2[_0xc481ed[_0x227349(0x252)]]=0x7]=_0xc481ed[_0x227349(0x252)],_0x32cee2[_0x32cee2[_0x227349(0x1e8)]=0xa]=_0xc481ed[_0x227349(0x247)],_0x32cee2[_0x32cee2[_0xc481ed[_0x227349(0x206)]]=0xb]=_0xc481ed['KzNce'],_0x32cee2[_0x32cee2[_0xc481ed['RFwVh']]=0xe]=_0xc481ed['RFwVh'];}(ElementType||(ElementType={})));export var PicType;(function(_0x2ad470){var _0x53fd81=_0x553d,_0x70bb95={'pPYIC':_0x53fd81(0x1f8),'Llome':'jpg'};_0x2ad470[_0x2ad470[_0x70bb95[_0x53fd81(0x211)]]=0x7d0]=_0x70bb95[_0x53fd81(0x211)],_0x2ad470[_0x2ad470[_0x53fd81(0x240)]=0x3e8]=_0x70bb95[_0x53fd81(0x1da)];}(PicType||(PicType={})));export var PicSubType;(function(_0x53da75){var _0x4902f8=_0x553d,_0x36edee={'AqxeA':_0x4902f8(0x22c),'nAGaB':_0x4902f8(0x25e)};_0x53da75[_0x53da75[_0x36edee[_0x4902f8(0x1e4)]]=0x0]=_0x36edee[_0x4902f8(0x1e4)],_0x53da75[_0x53da75[_0x4902f8(0x25e)]=0x1]=_0x36edee['nAGaB'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x3d33e0){var _0x4b7e94=_0x553d,_0x2ab6f2={'yYnCF':_0x4b7e94(0x254),'YtEWQ':'atAll','YhOew':'atUser'};_0x3d33e0[_0x3d33e0[_0x2ab6f2[_0x4b7e94(0x1dc)]]=0x0]=_0x2ab6f2['yYnCF'],_0x3d33e0[_0x3d33e0[_0x2ab6f2[_0x4b7e94(0x1fc)]]=0x1]=_0x2ab6f2[_0x4b7e94(0x1fc)],_0x3d33e0[_0x3d33e0[_0x2ab6f2[_0x4b7e94(0x1d9)]]=0x2]=_0x2ab6f2['YhOew'];}(AtType||(AtType={})));export var ChatType;(function(_0x2afd88){var _0x2f33b4=_0x553d,_0x561fb5={'xNKVs':_0x2f33b4(0x1ea),'ycvGb':_0x2f33b4(0x225),'gZOhI':_0x2f33b4(0x210),'VwvAo':'temp'};_0x2afd88[_0x2afd88[_0x2f33b4(0x1ea)]=0x1]=_0x561fb5[_0x2f33b4(0x1e2)],_0x2afd88[_0x2afd88[_0x561fb5[_0x2f33b4(0x1f3)]]=0x2]=_0x561fb5[_0x2f33b4(0x1f3)],_0x2afd88[_0x2afd88['chatDevice']=0x8]=_0x561fb5[_0x2f33b4(0x1d1)],_0x2afd88[_0x2afd88['temp']=0x64]=_0x561fb5[_0x2f33b4(0x205)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x401196){var _0x38624b=_0x553d,_0xe9f3c6={'iByUn':_0x38624b(0x201),'VzeuM':_0x38624b(0x20a),'DRvqj':'KCHATTYPESERVICEASSISTANTSUB','SbtmB':'KCHATTYPESERVICEASSISTANT','CgmPw':_0x38624b(0x1e9),'fKiWq':_0x38624b(0x229),'EHoAI':_0x38624b(0x1fa),'oArGl':_0x38624b(0x246),'Ihfeb':_0x38624b(0x20c),'eQxCd':'KCHATTYPEDATALINE','BRhxH':_0x38624b(0x251),'WvnCD':_0x38624b(0x24c),'HcPAK':_0x38624b(0x22b),'vhZTd':'KCHATTYPESUBSCRIBEFOLDER','wfFTH':_0x38624b(0x202),'BoMsZ':'KCHATTYPEDISC','KKLHn':_0x38624b(0x207),'vdQHa':'KCHATTYPETEMPWPA','GzjTx':'KCHATTYPEC2C','RMsWQ':_0x38624b(0x21b),'sderx':_0x38624b(0x1e1),'ACSMn':_0x38624b(0x1ec),'aqzNZ':'KCHATTYPEADELIE','gLfqU':'KCHATTYPENEARBYHELLOFOLDER','CandP':_0x38624b(0x1fb),'RCeNz':_0x38624b(0x20d),'ptweb':_0x38624b(0x215),'ztrxq':_0x38624b(0x1f2),'lqJFZ':_0x38624b(0x250),'EWvre':_0x38624b(0x1db),'wcWBo':'KCHATTYPEWEIYUN','fuIRV':'KCHATTYPEGAMEMESSAGEFOLDER','EThDD':_0x38624b(0x233),'EhxPu':_0x38624b(0x1e5),'aaZJi':'KCHATTYPEMATCHFRIENDFOLDER','dlrCS':_0x38624b(0x1ee),'MVLSw':'KCHATTYPEBUDDYNOTIFY','dqiRk':'KCHATTYPENEARBYINTERACT','mMWap':_0x38624b(0x226),'Jpkjm':_0x38624b(0x23b),'XgePd':_0x38624b(0x24a)},_0x197235=_0xe9f3c6[_0x38624b(0x25d)][_0x38624b(0x234)]('|'),_0x529917=0x0;while(!![]){switch(_0x197235[_0x529917++]){case'0':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x23f)]]=0x6a]=_0xe9f3c6['VzeuM'];continue;case'1':_0x401196[_0x401196['KCHATTYPESERVICEASSISTANTSUB']=0xc9]=_0xe9f3c6['DRvqj'];continue;case'2':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1df)]]=0x76]=_0xe9f3c6[_0x38624b(0x1df)];continue;case'3':_0x401196[_0x401196[_0x38624b(0x1e9)]=0x85]=_0xe9f3c6[_0x38624b(0x259)];continue;case'4':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1e7)]]=0x86]=_0xe9f3c6['fKiWq'];continue;case'5':_0x401196[_0x401196['KCHATTYPETEMPPUBLICACCOUNT']=0x67]=_0xe9f3c6[_0x38624b(0x1ef)];continue;case'6':_0x401196[_0x401196[_0xe9f3c6['oArGl']]=0x63]=_0xe9f3c6['oArGl'];continue;case'7':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1d5)]]=0x84]=_0x38624b(0x20c);continue;case'8':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1f4)]]=0x8]=_0xe9f3c6['eQxCd'];continue;case'9':_0x401196[_0x401196[_0xe9f3c6['BRhxH']]=0x65]=_0xe9f3c6['BRhxH'];continue;case'10':_0x401196[_0x401196[_0xe9f3c6['WvnCD']]=0x4]=_0x38624b(0x24c);continue;case'11':_0x401196[_0x401196[_0x38624b(0x22b)]=0x6e]=_0xe9f3c6[_0x38624b(0x1e0)];continue;case'12':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1ff)]]=0x1e]=_0xe9f3c6['vhZTd'];continue;case'13':_0x401196[_0x401196[_0xe9f3c6['wfFTH']]=0x68]=_0xe9f3c6[_0x38624b(0x1e3)];continue;case'14':_0x401196[_0x401196[_0xe9f3c6['BoMsZ']]=0x3]=_0x38624b(0x257);continue;case'15':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x241)]]=0x2]=_0xe9f3c6[_0x38624b(0x241)];continue;case'16':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x1fd)]]=0x75]='KCHATTYPETEMPWPA';continue;case'17':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x24d)]]=0x1]=_0xe9f3c6[_0x38624b(0x24d)];continue;case'18':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x227)]]=0x6]=_0xe9f3c6[_0x38624b(0x227)];continue;case'19':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x24b)]]=0x69]=_0xe9f3c6[_0x38624b(0x24b)];continue;case'20':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x21c)]]=0x73]=_0xe9f3c6[_0x38624b(0x21c)];continue;case'21':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x25f)]]=0x2a]=_0xe9f3c6[_0x38624b(0x25f)];continue;case'22':_0x401196[_0x401196[_0xe9f3c6['gLfqU']]=0x70]=_0xe9f3c6[_0x38624b(0x1dd)];continue;case'23':_0x401196[_0x401196[_0x38624b(0x1fb)]=0x0]=_0xe9f3c6[_0x38624b(0x20b)];continue;case'24':_0x401196[_0x401196[_0xe9f3c6['RCeNz']]=0x29]=_0xe9f3c6['RCeNz'];continue;case'25':_0x401196[_0x401196[_0x38624b(0x215)]=0x6f]=_0xe9f3c6[_0x38624b(0x249)];continue;case'26':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x23a)]]=0x77]=_0xe9f3c6[_0x38624b(0x23a)];continue;case'27':_0x401196[_0x401196[_0x38624b(0x250)]=0x64]=_0xe9f3c6['lqJFZ'];continue;case'28':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x223)]]=0x6b]='KCHATTYPENEARBYASSISTANT';continue;case'29':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x25b)]]=0x28]=_0xe9f3c6[_0x38624b(0x25b)];continue;case'30':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x21a)]]=0x74]=_0xe9f3c6[_0x38624b(0x21a)];continue;case'31':_0x401196[_0x401196[_0x38624b(0x233)]=0x9]=_0xe9f3c6[_0x38624b(0x213)];continue;case'32':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x256)]]=0x71]=_0xe9f3c6['EhxPu'];continue;case'33':_0x401196[_0x401196[_0x38624b(0x1d0)]=0x6d]=_0xe9f3c6[_0x38624b(0x200)];continue;case'34':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x212)]]=0x66]=_0xe9f3c6[_0x38624b(0x212)];continue;case'35':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x20f)]]=0x5]='KCHATTYPEBUDDYNOTIFY';continue;case'36':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x235)]]=0x6c]=_0xe9f3c6[_0x38624b(0x235)];continue;case'37':_0x401196[_0x401196[_0xe9f3c6['mMWap']]=0x10]='KCHATTYPEGUILDMETA';continue;case'38':_0x401196[_0x401196[_0xe9f3c6['Jpkjm']]=0x83]=_0xe9f3c6[_0x38624b(0x248)];continue;case'39':_0x401196[_0x401196[_0xe9f3c6[_0x38624b(0x242)]]=0x7]=_0xe9f3c6[_0x38624b(0x242)];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x3dcdf7(0x231);export const IMAGE_HTTP_HOST_NT=_0x3dcdf7(0x216);export var GrayTipElementSubType;function _0x553d(_0x5f4c6f,_0x4aa614){var _0x419a08=_0x419a();return _0x553d=function(_0x553d14,_0x15d909){_0x553d14=_0x553d14-0x1d0;var _0x386aff=_0x419a08[_0x553d14];return _0x386aff;},_0x553d(_0x5f4c6f,_0x4aa614);}(function(_0x88a8e5){var _0x19df10=_0x3dcdf7,_0xcbf781={'MPqOt':_0x19df10(0x219),'MAoPu':_0x19df10(0x236)};_0x88a8e5[_0x88a8e5[_0xcbf781[_0x19df10(0x21d)]]=0xc]=_0x19df10(0x219),_0x88a8e5[_0x88a8e5[_0x19df10(0x236)]=0x11]=_0xcbf781[_0x19df10(0x22f)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x39425a){var _0x1194a0=_0x3dcdf7,_0xb17e24={'RkLvj':_0x1194a0(0x22c),'DFsKR':_0x1194a0(0x255),'toQOn':_0x1194a0(0x1de)};_0x39425a[_0x39425a[_0xb17e24['RkLvj']]=0x1]=_0xb17e24[_0x1194a0(0x1d7)],_0x39425a[_0x39425a[_0xb17e24[_0x1194a0(0x218)]]=0x2]=_0x1194a0(0x255),_0x39425a[_0x39425a[_0xb17e24[_0x1194a0(0x243)]]=0x3]=_0xb17e24[_0x1194a0(0x243)];}(FaceType||(FaceType={})));export var FaceIndex;function _0x419a(){var _0x2c6a35=['memberIncrease','KCHATTYPETEMPC2CFROMGROUP','KCHATTYPETEMPFRIENDVERIFY','OJnpS','7766941HfWZiO','notAt','normal2','EhxPu','KCHATTYPEDISC','MMTZo','CgmPw','JztRe','wcWBo','Rfvuz','iByUn','face','aqzNZ','KCHATTYPEMATCHFRIENDFOLDER','gZOhI','6|3|10|4|5|1|7|9|8|2|0','MARKDOWN','uyZPM','Ihfeb','207GcFcJg','RkLvj','VIDEO_FORMAT_MP4','YhOew','Llome','KCHATTYPENEARBYASSISTANT','yYnCF','gLfqU','dice','SbtmB','HcPAK','KCHATTYPEGAMEMESSAGE','xNKVs','wfFTH','AqxeA','KCHATTYPECIRCLE','ban','fKiWq','ARK','KCHATTYPEGROUPBLESS','friend','kDyId','KCHATTYPESQUAREPUBLIC','VIDEO_FORMAT_RM','KCHATTYPETEMPBUSSINESSCRM','EHoAI','VIDEO_FORMAT_MOV','ILDzh','KCHATTYPETEMPNEARBYPRO','ycvGb','eQxCd','YZueB','RPS','VIDEO_FORMAT_RMVB','gif','5AfdkZZ','KCHATTYPETEMPPUBLICACCOUNT','KCHATTYPEUNKNOWN','YtEWQ','vdQHa','PTT','vhZTd','aaZJi','21|35|17|32|8|4|14|24|19|30|15|3|31|39|18|10|37|13|33|0|28|11|22|36|7|38|2|1|20|12|25|34|27|6|9|26|5|16|23|29','KCHATTYPEMATCHFRIEND','VIDEO','127768IXHxXL','VwvAo','KzNce','KCHATTYPEGROUP','MFACE','VIDEO_FORMAT_MOD','KCHATTYPENEARBY','CandP','KCHATTYPEQQNOTIFY','KCHATTYPEFAV','4134VttrnC','MVLSw','chatDevice','pPYIC','dlrCS','EThDD','oHdoj','KCHATTYPETEMPADDRESSBOOK','https://multimedia.nt.qq.com.cn','QzqiF','DFsKR','INVITE_NEW_MEMBER','fuIRV','KCHATTYPEGROUPNOTIFY','ACSMn','MPqOt','1274XQiiLP','13703030OEzOAN','VIDEO_FORMAT_AFS','CZmnV','FACE','EWvre','VIDEO_FORMAT_MTS','group','KCHATTYPEGUILDMETA','RMsWQ','VIDEO_FORMAT_TS','KCHATTYPEDATALINEMQQ','PIC','KCHATTYPENEARBYFOLDER','normal','4113528nEjDbL','pwojy','MAoPu','4175844QDmWCp','https://gchat.qpic.cn','kNXNq','KCHATTYPEGROUPGUILD','split','dqiRk','MEMBER_NEW_TITLE','NHLyJ','809645pkJyvn','TEXT','ztrxq','KCHATTYPERELATEACCOUNT','REPLY','DRxzN','kicked','VzeuM','jpg','KKLHn','XgePd','toQOn','VIDEO_FORMAT_MKV','cLDEw','KCHATTYPETEMPC2CFROMUNKNOWN','QNTVb','Jpkjm','ptweb','KCHATTYPEGROUPHELPER','sderx','KCHATTYPEGUILD','GzjTx','ftHZH'];_0x419a=function(){return _0x2c6a35;};return _0x419a();}(function(_0xd0b132){var _0x249f09=_0x3dcdf7,_0x534e63={'mztUH':_0x249f09(0x1de),'Rfvuz':_0x249f09(0x1f6)};_0xd0b132[_0xd0b132[_0x249f09(0x1de)]=0x166]=_0x534e63['mztUH'],_0xd0b132[_0xd0b132[_0x534e63[_0x249f09(0x25c)]]=0x167]=_0x534e63['Rfvuz'];}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x5f0d26){var _0x4b85f0=_0x3dcdf7,_0x49d273={'oHdoj':_0x4b85f0(0x1d2),'CZmnV':'VIDEO_FORMAT_WMV','QzqiF':_0x4b85f0(0x1d8),'cLDEw':_0x4b85f0(0x228),'ftHZH':'VIDEO_FORMAT_AVI','JztRe':_0x4b85f0(0x1f0),'kDyId':_0x4b85f0(0x224),'MMTZo':'VIDEO_FORMAT_RMVB','ILDzh':_0x4b85f0(0x1ed),'YZueB':_0x4b85f0(0x244)},_0x34bfd8=_0x49d273[_0x4b85f0(0x214)][_0x4b85f0(0x234)]('|'),_0x255415=0x0;while(!![]){switch(_0x34bfd8[_0x255415++]){case'0':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x221)]]=0x3]='VIDEO_FORMAT_WMV';continue;case'1':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x217)]]=0x2]=_0x49d273['QzqiF'];continue;case'2':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x245)]]=0xa]=_0x49d273[_0x4b85f0(0x245)];continue;case'3':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x24e)]]=0x1]=_0x49d273['ftHZH'];continue;case'4':_0x5f0d26[_0x5f0d26[_0x4b85f0(0x209)]=0x9]=_0x4b85f0(0x209);continue;case'5':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x25a)]]=0x8]=_0x49d273[_0x4b85f0(0x25a)];continue;case'6':_0x5f0d26[_0x5f0d26[_0x4b85f0(0x220)]=0x7]=_0x4b85f0(0x220);continue;case'7':_0x5f0d26[_0x5f0d26[_0x4b85f0(0x224)]=0xb]=_0x49d273[_0x4b85f0(0x1eb)];continue;case'8':_0x5f0d26[_0x5f0d26[_0x4b85f0(0x1f7)]=0x5]=_0x49d273[_0x4b85f0(0x258)];continue;case'9':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x1f1)]]=0x6]=_0x49d273[_0x4b85f0(0x1f1)];continue;case'10':_0x5f0d26[_0x5f0d26[_0x49d273[_0x4b85f0(0x1f5)]]=0x4]='VIDEO_FORMAT_MKV';continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x312bde){var _0x334c2f=_0x3dcdf7,_0x49b521={'kNXNq':_0x334c2f(0x1e6)};_0x312bde[_0x312bde[_0x334c2f(0x24f)]=0x1]=_0x334c2f(0x24f),_0x312bde[_0x312bde[_0x334c2f(0x23e)]=0x3]=_0x334c2f(0x23e),_0x312bde[_0x312bde[_0x49b521[_0x334c2f(0x232)]]=0x8]=_0x49b521[_0x334c2f(0x232)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/notify.js b/src/core.lib/src/entities/notify.js index d2d3f027..0c814fb3 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x15e39f,_0x29f9ff){var _0x36f9b4=_0xb54a,_0x3f5a53=_0x15e39f();while(!![]){try{var _0x2c1b38=parseInt(_0x36f9b4(0x11e))/0x1+parseInt(_0x36f9b4(0xff))/0x2*(parseInt(_0x36f9b4(0xef))/0x3)+-parseInt(_0x36f9b4(0xee))/0x4+parseInt(_0x36f9b4(0x113))/0x5+parseInt(_0x36f9b4(0xec))/0x6*(parseInt(_0x36f9b4(0xf3))/0x7)+parseInt(_0x36f9b4(0xf7))/0x8*(-parseInt(_0x36f9b4(0x100))/0x9)+-parseInt(_0x36f9b4(0x11b))/0xa;if(_0x2c1b38===_0x29f9ff)break;else _0x3f5a53['push'](_0x3f5a53['shift']());}catch(_0x185262){_0x3f5a53['push'](_0x3f5a53['shift']());}}}(_0x35b9,0xa9833));export var GroupNotifyTypes;(function(_0x276717){var _0x198a1c=_0xb54a,_0x35575b={'lZuky':_0x198a1c(0x103),'JQARK':_0x198a1c(0xe1),'sdPUJ':_0x198a1c(0x117),'ihidH':_0x198a1c(0x106),'STFIP':_0x198a1c(0xea),'SXpQO':_0x198a1c(0x10f),'PoHdI':'ADMIN_SET','rCNdh':_0x198a1c(0x10a)},_0x4faf6d=_0x35575b[_0x198a1c(0xdf)][_0x198a1c(0x111)]('|'),_0x2dbfa7=0x0;while(!![]){switch(_0x4faf6d[_0x2dbfa7++]){case'0':_0x276717[_0x276717[_0x198a1c(0xe1)]=0x7]=_0x35575b['JQARK'];continue;case'1':_0x276717[_0x276717[_0x198a1c(0xe3)]=0xd]=_0x198a1c(0xe3);continue;case'2':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x101)]]=0x4]=_0x35575b['sdPUJ'];continue;case'3':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x104)]]=0x1]='INVITE_ME';continue;case'4':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x10e)]]=0xc]=_0x35575b[_0x198a1c(0x10e)];continue;case'5':_0x276717[_0x276717[_0x35575b[_0x198a1c(0xf4)]]=0x9]=_0x35575b['SXpQO'];continue;case'6':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x11d)]]=0x8]=_0x35575b[_0x198a1c(0x11d)];continue;case'7':_0x276717[_0x276717[_0x35575b[_0x198a1c(0x112)]]=0xb]=_0x35575b['rCNdh'];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x37ebac){var _0x492342=_0xb54a,_0x1eec64={'cULox':_0x492342(0xe8),'fqoEu':_0x492342(0xe4),'jpXgc':_0x492342(0x107),'MMjXi':_0x492342(0xdc)};_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0xf5)]]=0x0]=_0x1eec64[_0x492342(0xf5)],_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0x118)]]=0x1]=_0x1eec64['fqoEu'],_0x37ebac[_0x37ebac[_0x1eec64[_0x492342(0x102)]]=0x2]=_0x1eec64[_0x492342(0x102)],_0x37ebac[_0x37ebac[_0x1eec64['MMjXi']]=0x3]=_0x492342(0xdc);}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0xb54a(_0x10a556,_0x471d85){var _0x35b9aa=_0x35b9();return _0xb54a=function(_0xb54a8a,_0x2b26c2){_0xb54a8a=_0xb54a8a-0xdb;var _0x245d54=_0x35b9aa[_0xb54a8a];return _0x245d54;},_0xb54a(_0x10a556,_0x471d85);}export var GroupRequestOperateTypes;(function(_0x4fabb3){var _0xbdfa40=_0xb54a,_0x345d17={'IwELG':_0xbdfa40(0xf8),'bidiA':_0xbdfa40(0x108)};_0x4fabb3[_0x4fabb3[_0x345d17[_0xbdfa40(0xf1)]]=0x1]=_0x345d17[_0xbdfa40(0xf1)],_0x4fabb3[_0x4fabb3[_0x345d17[_0xbdfa40(0x11c)]]=0x2]=_0x345d17[_0xbdfa40(0x11c)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x2f1083){var _0x276b2d=_0xb54a,_0x1a1604={'yQuXo':_0x276b2d(0x10d),'NqXpI':'KMEREFUSED','SbLFp':_0x276b2d(0xde),'rcsUI':_0x276b2d(0xfd),'kslIT':_0x276b2d(0xe6),'gEpFu':_0x276b2d(0x105),'jRxTu':_0x276b2d(0x119),'WHGBE':_0x276b2d(0x115),'FDFGI':_0x276b2d(0x109),'vkJRy':_0x276b2d(0x11a),'KuEhi':_0x276b2d(0x114),'VdWeY':_0x276b2d(0xeb),'GGTvm':_0x276b2d(0xe5),'tlvDt':_0x276b2d(0xe0),'lFKBq':_0x276b2d(0x10c)},_0x2cd6fb=_0x1a1604[_0x276b2d(0xf9)][_0x276b2d(0x111)]('|'),_0x360e6b=0x0;while(!![]){switch(_0x2cd6fb[_0x360e6b++]){case'0':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x110)]]=0x7]=_0x276b2d(0xfa);continue;case'1':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xe9)]]=0xd]=_0x1a1604[_0x276b2d(0xe9)];continue;case'2':_0x2f1083[_0x2f1083[_0x276b2d(0xfd)]=0x3]=_0x1a1604[_0x276b2d(0xed)];continue;case'3':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xf0)]]=0x0]=_0x1a1604[_0x276b2d(0xf0)];continue;case'4':_0x2f1083[_0x2f1083[_0x276b2d(0x105)]=0x8]=_0x1a1604[_0x276b2d(0xfc)];continue;case'5':_0x2f1083[_0x2f1083[_0x1a1604['jRxTu']]=0xc]='KMSGINFO';continue;case'6':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xe2)]]=0x5]='KPEERAGREEDANDADDED';continue;case'7':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x116)]]=0x4]=_0x1a1604[_0x276b2d(0x116)];continue;case'8':_0x2f1083[_0x2f1083[_0x1a1604['vkJRy']]=0xb]=_0x1a1604[_0x276b2d(0xfe)];continue;case'9':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xfb)]]=0xa]=_0x1a1604[_0x276b2d(0xfb)];continue;case'10':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0x10b)]]=0x2]=_0x1a1604[_0x276b2d(0x10b)];continue;case'11':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xf6)]]=0x9]=_0x1a1604['GGTvm'];continue;case'12':_0x2f1083[_0x2f1083[_0x1a1604[_0x276b2d(0xdb)]]=0x6]=_0x1a1604[_0x276b2d(0xdb)];continue;case'13':_0x2f1083[_0x2f1083[_0x1a1604['lFKBq']]=0x1]=_0x1a1604['lFKBq'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x215f8b){var _0x3e32d7=_0xb54a,_0x56e7a9={'sYuLI':'DEFAULTTYPE','JfaiF':_0x3e32d7(0xdd),'CBKaq':'NEWGROUPTYPE'};_0x215f8b[_0x215f8b[_0x56e7a9['sYuLI']]=0x0]=_0x56e7a9['sYuLI'],_0x215f8b[_0x215f8b[_0x56e7a9[_0x3e32d7(0xe7)]]=0x1]=_0x56e7a9[_0x3e32d7(0xe7)],_0x215f8b[_0x215f8b[_0x56e7a9[_0x3e32d7(0xf2)]]=0x2]=_0x56e7a9[_0x3e32d7(0xf2)];}(MemberExtSourceType||(MemberExtSourceType={})));function _0x35b9(){var _0x2fd288=['KPEERAGREEDANDADDED','FDFGI','INVITED_JOIN','fqoEu','KMSGINFO','KMEAGREEANDADDFAILED','6056330gRvYdW','bidiA','PoHdI','317940PtQOoK','tlvDt','REJECT','TITLETYPE','KMEINITIATORWAITPEERCONFIRM','lZuky','KPEERREFUSED','JOIN_REQUEST','WHGBE','ADMIN_UNSET_OTHER','WAIT_HANDLE','KMEAGREEANYONE','KMEINITIATOR','JfaiF','IGNORE','SbLFp','ADMIN_UNSET','KMEAGREED','1791606YmBDsK','rcsUI','3219932DjQIOP','12339KCZGUk','kslIT','IwELG','CBKaq','28kpYhqK','SXpQO','cULox','GGTvm','8pFHVxm','approve','yQuXo','KMEREFUSED','KuEhi','gEpFu','KMEAGREEDANDADDED','vkJRy','188xNWXTA','2780676VpTsoI','sdPUJ','jpXgc','3|2|0|6|5|7|4|1','ihidH','KMEIGNORED','INVITE_ME','APPROVE','reject','KPEERAGREED','MEMBER_EXIT','VdWeY','KPEERINITIATOR','3|13|10|2|7|6|12|0|4|11|9|8|5|1','STFIP','KICK_MEMBER','NqXpI','split','rCNdh','2574685oPeVzI','KMESETQUESTION'];_0x35b9=function(){return _0x2fd288;};return _0x35b9();} \ No newline at end of file +(function(_0x3d0c49,_0x2d1afa){var _0x387863=_0x3f49,_0x14ef1f=_0x3d0c49();while(!![]){try{var _0x4c8d8a=-parseInt(_0x387863(0x112))/0x1+-parseInt(_0x387863(0x134))/0x2+parseInt(_0x387863(0x111))/0x3+-parseInt(_0x387863(0x120))/0x4+-parseInt(_0x387863(0x12e))/0x5+parseInt(_0x387863(0x141))/0x6*(parseInt(_0x387863(0x135))/0x7)+parseInt(_0x387863(0x142))/0x8;if(_0x4c8d8a===_0x2d1afa)break;else _0x14ef1f['push'](_0x14ef1f['shift']());}catch(_0x4a0ed1){_0x14ef1f['push'](_0x14ef1f['shift']());}}}(_0x3ace,0x2a97a));export var GroupNotifyTypes;(function(_0x30ff02){var _0x29e406=_0x3f49,_0x14f124={'CGzAM':'4|7|5|6|0|2|3|1','tVIZi':_0x29e406(0x115),'PnPiv':_0x29e406(0x12b),'FnYAG':'MEMBER_EXIT','gcJbj':'ADMIN_UNSET','eqPaZ':_0x29e406(0x11f),'lcXCn':'JOIN_REQUEST','FSBXj':_0x29e406(0x12f),'wxvFx':_0x29e406(0x133)},_0x59c6a3=_0x14f124['CGzAM'][_0x29e406(0x13f)]('|'),_0x4b425a=0x0;while(!![]){switch(_0x59c6a3[_0x4b425a++]){case'0':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x146)]]=0x9]=_0x14f124['tVIZi'];continue;case'1':_0x30ff02[_0x30ff02[_0x14f124['PnPiv']]=0xd]=_0x14f124['PnPiv'];continue;case'2':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x118)]]=0xb]=_0x14f124[_0x29e406(0x118)];continue;case'3':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x12d)]]=0xc]=_0x29e406(0x12c);continue;case'4':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x11d)]]=0x1]=_0x29e406(0x11f);continue;case'5':_0x30ff02[_0x30ff02[_0x14f124['lcXCn']]=0x7]=_0x14f124['lcXCn'];continue;case'6':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x11a)]]=0x8]=_0x14f124[_0x29e406(0x11a)];continue;case'7':_0x30ff02[_0x30ff02[_0x14f124[_0x29e406(0x11b)]]=0x4]=_0x14f124[_0x29e406(0x11b)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x152f33){var _0x655c4c=_0x3f49,_0x464a20={'vSlsI':_0x655c4c(0x137),'jibXV':'WAIT_HANDLE','pXvlA':_0x655c4c(0x131),'nDQnj':'REJECT'};_0x152f33[_0x152f33[_0x464a20[_0x655c4c(0x11e)]]=0x0]=_0x655c4c(0x137),_0x152f33[_0x152f33[_0x464a20['jibXV']]=0x1]=_0x464a20['jibXV'],_0x152f33[_0x152f33[_0x464a20[_0x655c4c(0x126)]]=0x2]=_0x464a20[_0x655c4c(0x126)],_0x152f33[_0x152f33[_0x655c4c(0x13a)]=0x3]=_0x464a20[_0x655c4c(0x117)];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x3f49(_0x45c839,_0x2c5624){var _0x3ace39=_0x3ace();return _0x3f49=function(_0x3f49b2,_0x468024){_0x3f49b2=_0x3f49b2-0x10d;var _0x2ac9a8=_0x3ace39[_0x3f49b2];return _0x2ac9a8;},_0x3f49(_0x45c839,_0x2c5624);}export var GroupRequestOperateTypes;(function(_0x3d6732){var _0x376408=_0x3f49,_0x369018={'EBHbJ':_0x376408(0x128),'VpHAs':'reject'};_0x3d6732[_0x3d6732[_0x369018[_0x376408(0x136)]]=0x1]=_0x369018[_0x376408(0x136)],_0x3d6732[_0x3d6732[_0x369018[_0x376408(0x10e)]]=0x2]=_0x369018[_0x376408(0x10e)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x7a7789){var _0x422db8=_0x3f49,_0x2169ba={'woOJm':'KMEINITIATOR','JwDrx':_0x422db8(0x144),'GLXrq':_0x422db8(0x12a),'vFFhZ':'KMEAGREEDANDADDED','XkVFm':_0x422db8(0x116),'FVMNY':_0x422db8(0x13c),'opJrt':_0x422db8(0x114),'aIVIs':'KMEREFUSED','aAXdL':_0x422db8(0x122),'ZogjA':_0x422db8(0x145),'ROrPy':_0x422db8(0x110),'cuLlo':_0x422db8(0x129),'XNaPQ':_0x422db8(0x13b)};_0x7a7789[_0x7a7789[_0x422db8(0x132)]=0x0]=_0x2169ba[_0x422db8(0x119)],_0x7a7789[_0x7a7789[_0x2169ba['JwDrx']]=0x1]=_0x2169ba[_0x422db8(0x13d)],_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x123)]]=0x2]=_0x2169ba[_0x422db8(0x123)],_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x121)]]=0x3]=_0x2169ba[_0x422db8(0x121)],_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x140)]]=0x4]=_0x2169ba['XkVFm'],_0x7a7789[_0x7a7789['KPEERAGREEDANDADDED']=0x5]=_0x2169ba['FVMNY'],_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x13e)]]=0x6]=_0x2169ba[_0x422db8(0x13e)],_0x7a7789[_0x7a7789[_0x422db8(0x124)]=0x7]=_0x2169ba[_0x422db8(0x127)],_0x7a7789[_0x7a7789['KMEIGNORED']=0x8]='KMEIGNORED',_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x113)]]=0x9]=_0x2169ba[_0x422db8(0x113)],_0x7a7789[_0x7a7789[_0x422db8(0x145)]=0xa]=_0x2169ba['ZogjA'],_0x7a7789[_0x7a7789[_0x2169ba['ROrPy']]=0xb]=_0x2169ba[_0x422db8(0x125)],_0x7a7789[_0x7a7789[_0x422db8(0x129)]=0xc]=_0x2169ba['cuLlo'],_0x7a7789[_0x7a7789[_0x2169ba[_0x422db8(0x138)]]=0xd]=_0x422db8(0x13b);}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;function _0x3ace(){var _0xc3a540=['REJECT','KMEINITIATORWAITPEERCONFIRM','KPEERAGREEDANDADDED','JwDrx','opJrt','split','XkVFm','759774PCOeUA','3227488tzrUJM','cPjJq','KPEERINITIATOR','KMESETQUESTION','tVIZi','DEFAULTTYPE','VpHAs','ojvSc','KMEAGREEANDADDFAILED','230997tGYQIw','49830BEYUYD','aAXdL','KPEERREFUSED','KICK_MEMBER','KPEERAGREED','nDQnj','FnYAG','woOJm','FSBXj','wxvFx','MxjcA','eqPaZ','vSlsI','INVITE_ME','733512NbLCqA','vFFhZ','KMEAGREEANYONE','GLXrq','KMEREFUSED','ROrPy','pXvlA','aIVIs','approve','KMSGINFO','KMEAGREED','ADMIN_UNSET_OTHER','ADMIN_UNSET','gcJbj','1159735SGCMgJ','ADMIN_SET','TITLETYPE','APPROVE','KMEINITIATOR','INVITED_JOIN','188160dTBelr','14avzYiD','EBHbJ','IGNORE','XNaPQ','NEWGROUPTYPE'];_0x3ace=function(){return _0xc3a540;};return _0x3ace();}(function(_0x8cce2b){var _0x2e060f=_0x3f49,_0x3eb3a3={'MxjcA':_0x2e060f(0x10d),'ojvSc':_0x2e060f(0x130),'cPjJq':_0x2e060f(0x139)};_0x8cce2b[_0x8cce2b[_0x3eb3a3[_0x2e060f(0x11c)]]=0x0]=_0x3eb3a3[_0x2e060f(0x11c)],_0x8cce2b[_0x8cce2b[_0x3eb3a3[_0x2e060f(0x10f)]]=0x1]=_0x2e060f(0x130),_0x8cce2b[_0x8cce2b[_0x3eb3a3['cPjJq']]=0x2]=_0x3eb3a3[_0x2e060f(0x143)];}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/user.js b/src/core.lib/src/entities/user.js index 7a7cbc7b..2d23a691 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(function(_0x5eabaf,_0x1e8cf3){var _0x207b87=_0x5d21,_0x5cd2a2=_0x5eabaf();while(!![]){try{var _0x46cddd=parseInt(_0x207b87(0x161))/0x1+parseInt(_0x207b87(0x168))/0x2+parseInt(_0x207b87(0x15b))/0x3+-parseInt(_0x207b87(0x15c))/0x4+parseInt(_0x207b87(0x16a))/0x5*(-parseInt(_0x207b87(0x169))/0x6)+parseInt(_0x207b87(0x15d))/0x7+parseInt(_0x207b87(0x15e))/0x8*(-parseInt(_0x207b87(0x160))/0x9);if(_0x46cddd===_0x1e8cf3)break;else _0x5cd2a2['push'](_0x5cd2a2['shift']());}catch(_0x3f3cb4){_0x5cd2a2['push'](_0x5cd2a2['shift']());}}}(_0x1d39,0x6822c));function _0x1d39(){var _0x31c172=['dkVAT','8871444FliQXU','775743QXXORv','unknown','THDAC','female','KPRIVILEGEICON','FAfWp','PopnH','2758XWtUIm','972IMayjH','2845NiuJls','2338275WjHqOu','1911348VRqBUx','2980068jgxdlU','8ZyzhsC'];_0x1d39=function(){return _0x31c172;};return _0x1d39();}export var Sex;function _0x5d21(_0x4abf42,_0x34fa8a){var _0x1d39a4=_0x1d39();return _0x5d21=function(_0x5d2143,_0x3fdab2){_0x5d2143=_0x5d2143-0x15b;var _0x4be08d=_0x1d39a4[_0x5d2143];return _0x4be08d;},_0x5d21(_0x4abf42,_0x34fa8a);}(function(_0x269d21){var _0x3008c5=_0x5d21,_0x12bb4f={'THDAC':'male','PopnH':_0x3008c5(0x164),'FAfWp':_0x3008c5(0x162)};_0x269d21[_0x269d21[_0x12bb4f['THDAC']]=0x1]=_0x12bb4f[_0x3008c5(0x163)],_0x269d21[_0x269d21[_0x12bb4f[_0x3008c5(0x167)]]=0x2]=_0x12bb4f[_0x3008c5(0x167)],_0x269d21[_0x269d21['unknown']=0xff]=_0x12bb4f[_0x3008c5(0x166)];}(Sex||(Sex={})));export var BizKey;(function(_0x2aafd0){var _0xa938f7=_0x5d21,_0x28af2b={'dkVAT':_0xa938f7(0x165),'Szzsc':'KPHOTOWALL'};_0x2aafd0[_0x2aafd0[_0x28af2b['dkVAT']]=0x0]=_0x28af2b[_0xa938f7(0x15f)],_0x2aafd0[_0x2aafd0[_0x28af2b['Szzsc']]=0x1]=_0x28af2b['Szzsc'];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x3dc108,_0x3c25d2){var _0x1c461c=_0x55fe,_0x511d99=_0x3dc108();while(!![]){try{var _0x240813=-parseInt(_0x1c461c(0x1de))/0x1+parseInt(_0x1c461c(0x1e3))/0x2+-parseInt(_0x1c461c(0x1d8))/0x3*(parseInt(_0x1c461c(0x1e2))/0x4)+-parseInt(_0x1c461c(0x1e5))/0x5+-parseInt(_0x1c461c(0x1e4))/0x6*(-parseInt(_0x1c461c(0x1d5))/0x7)+-parseInt(_0x1c461c(0x1da))/0x8*(parseInt(_0x1c461c(0x1e1))/0x9)+parseInt(_0x1c461c(0x1d7))/0xa;if(_0x240813===_0x3c25d2)break;else _0x511d99['push'](_0x511d99['shift']());}catch(_0x24f243){_0x511d99['push'](_0x511d99['shift']());}}}(_0x521b,0xe1667));export var Sex;function _0x521b(){var _0x197215=['15505Qgscjt','female','33508460dMgsUj','4224117kdPMnE','KPRIVILEGEICON','12098584SuKsXM','male','lgUZO','KPHOTOWALL','1086012hrcfvV','unknown','DTKoU','9bQDAHF','4LGTDxj','3490092rLQPHJ','3054EoaBct','6468570zMRLon','uUKUw','zDBbL','jTskh'];_0x521b=function(){return _0x197215;};return _0x521b();}(function(_0x3d524f){var _0x15861c=_0x55fe,_0x2e602d={'zDBbL':_0x15861c(0x1db),'jTskh':_0x15861c(0x1d6),'DTKoU':_0x15861c(0x1df)};_0x3d524f[_0x3d524f[_0x2e602d[_0x15861c(0x1e7)]]=0x1]=_0x2e602d[_0x15861c(0x1e7)],_0x3d524f[_0x3d524f[_0x2e602d[_0x15861c(0x1e8)]]=0x2]=_0x15861c(0x1d6),_0x3d524f[_0x3d524f[_0x2e602d[_0x15861c(0x1e0)]]=0xff]=_0x2e602d[_0x15861c(0x1e0)];}(Sex||(Sex={})));function _0x55fe(_0x3eeec6,_0xc4bd05){var _0x521b06=_0x521b();return _0x55fe=function(_0x55fe8d,_0x1c78f7){_0x55fe8d=_0x55fe8d-0x1d5;var _0x549e9b=_0x521b06[_0x55fe8d];return _0x549e9b;},_0x55fe(_0x3eeec6,_0xc4bd05);}export var BizKey;(function(_0x10ea7f){var _0x1ff596=_0x55fe,_0x5337b5={'lgUZO':_0x1ff596(0x1d9),'uUKUw':_0x1ff596(0x1dd)};_0x10ea7f[_0x10ea7f[_0x5337b5['lgUZO']]=0x0]=_0x5337b5[_0x1ff596(0x1dc)],_0x10ea7f[_0x10ea7f[_0x5337b5[_0x1ff596(0x1e6)]]=0x1]=_0x5337b5[_0x1ff596(0x1e6)];}(BizKey||(BizKey={}))); \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index eb26b4fc..2ddf35b9 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0xfd48fa,_0x35ef38){var _0x5e1054=_0x48e2,_0x9493b2=_0xfd48fa();while(!![]){try{var _0x22d7b5=parseInt(_0x5e1054(0x1ea))/0x1*(parseInt(_0x5e1054(0x1e4))/0x2)+parseInt(_0x5e1054(0x1e6))/0x3+parseInt(_0x5e1054(0x1e8))/0x4+-parseInt(_0x5e1054(0x1e5))/0x5+-parseInt(_0x5e1054(0x1e2))/0x6+parseInt(_0x5e1054(0x1e3))/0x7+-parseInt(_0x5e1054(0x1e7))/0x8*(-parseInt(_0x5e1054(0x1e9))/0x9);if(_0x22d7b5===_0x35ef38)break;else _0x9493b2['push'](_0x9493b2['shift']());}catch(_0x132219){_0x9493b2['push'](_0x9493b2['shift']());}}}(_0x3bde,0x916ca));import _0xb6961c from'./wrapper';function _0x3bde(){var _0x3dcd41=['6810918SrwEMA','494704MZlLna','36164VYbAHp','632625qIgQPh','982998iNCwuD','152976kjTAVo','4620504OyXryo','126HLbeOa','2JqouJO'];_0x3bde=function(){return _0x3dcd41;};return _0x3bde();}export*from'./adapters';export*from'./apis';function _0x48e2(_0x2904a1,_0x19d9b4){var _0x3bde97=_0x3bde();return _0x48e2=function(_0x48e24a,_0x2ca67d){_0x48e24a=_0x48e24a-0x1e2;var _0x43e66b=_0x3bde97[_0x48e24a];return _0x43e66b;},_0x48e2(_0x2904a1,_0x19d9b4);}export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0xb6961c as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file +function _0x3d7a(_0x1d55c1,_0x57eeb9){var _0x37d457=_0x37d4();return _0x3d7a=function(_0x3d7a41,_0x303d64){_0x3d7a41=_0x3d7a41-0xf5;var _0x48ae21=_0x37d457[_0x3d7a41];return _0x48ae21;},_0x3d7a(_0x1d55c1,_0x57eeb9);}(function(_0x3608cf,_0x5deb7e){var _0x41ade2=_0x3d7a,_0x513090=_0x3608cf();while(!![]){try{var _0x21f078=parseInt(_0x41ade2(0xf8))/0x1*(-parseInt(_0x41ade2(0xfe))/0x2)+parseInt(_0x41ade2(0xf9))/0x3+-parseInt(_0x41ade2(0xfa))/0x4*(-parseInt(_0x41ade2(0xf5))/0x5)+parseInt(_0x41ade2(0xfd))/0x6*(parseInt(_0x41ade2(0xff))/0x7)+-parseInt(_0x41ade2(0xf6))/0x8+parseInt(_0x41ade2(0xfb))/0x9+parseInt(_0x41ade2(0xf7))/0xa*(-parseInt(_0x41ade2(0xfc))/0xb);if(_0x21f078===_0x5deb7e)break;else _0x513090['push'](_0x513090['shift']());}catch(_0x521710){_0x513090['push'](_0x513090['shift']());}}}(_0x37d4,0x6f106));import _0x412e3b from'./wrapper';export*from'./adapters';function _0x37d4(){var _0x13c6c2=['4556457MZPCFo','1931413ZCdvYD','54fzBYkB','29230xJKdSm','404033KTYBld','5BCttTi','6895528JwbgIt','10DbMAhD','29ryFymW','1768245ruEaQF','1204472kSXiWC'];_0x37d4=function(){return _0x13c6c2;};return _0x37d4();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x412e3b as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index 8044b0c5..521f1bef 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -var _0x23f41a=_0x3584;(function(_0x192b2f,_0x499f50){var _0x15d944=_0x3584,_0x48f761=_0x192b2f();while(!![]){try{var _0x114afc=-parseInt(_0x15d944(0x1fd))/0x1*(-parseInt(_0x15d944(0x1ed))/0x2)+parseInt(_0x15d944(0x203))/0x3*(-parseInt(_0x15d944(0x1f3))/0x4)+parseInt(_0x15d944(0x1f7))/0x5*(parseInt(_0x15d944(0x200))/0x6)+-parseInt(_0x15d944(0x1fa))/0x7*(-parseInt(_0x15d944(0x1f6))/0x8)+parseInt(_0x15d944(0x1f4))/0x9*(parseInt(_0x15d944(0x1ec))/0xa)+-parseInt(_0x15d944(0x1fc))/0xb*(parseInt(_0x15d944(0x202))/0xc)+-parseInt(_0x15d944(0x1ea))/0xd*(parseInt(_0x15d944(0x1f8))/0xe);if(_0x114afc===_0x499f50)break;else _0x48f761['push'](_0x48f761['shift']());}catch(_0xb9ca43){_0x48f761['push'](_0x48f761['shift']());}}}(_0xbbc0,0x965a1));export class BuddyListener{[_0x23f41a(0x1fb)](_0x4b0ab5){}[_0x23f41a(0x201)](_0x40c8c0){}[_0x23f41a(0x1f9)](_0x1041d8){}[_0x23f41a(0x205)](_0x442ba6){}[_0x23f41a(0x1f5)](_0x197a78){}[_0x23f41a(0x1ff)](_0x4c0015){}[_0x23f41a(0x1ee)](_0x254539){}[_0x23f41a(0x1eb)](_0x20fd0a){}[_0x23f41a(0x1f0)](_0x514195){}[_0x23f41a(0x1ef)](_0x14918d){}[_0x23f41a(0x1f1)](_0x2203bb){}[_0x23f41a(0x1f2)](_0x4b974b){}[_0x23f41a(0x1fe)](_0x3594b7){}['onDoubtBuddyReqUnreadNumChange'](_0x55a2b3){}['onNickUpdated'](_0x1a680f){}[_0x23f41a(0x204)](_0x2bee56){}['onSpacePermissionInfos'](_0x4ffdbb){}}function _0x3584(_0x111a10,_0x295b3e){var _0xbbc088=_0xbbc0();return _0x3584=function(_0x358498,_0x4adbc1){_0x358498=_0x358498-0x1ea;var _0x19dcc7=_0xbbc088[_0x358498];return _0x19dcc7;},_0x3584(_0x111a10,_0x295b3e);}function _0xbbc0(){var _0xd416ad=['26JHzZhO','onBuddyRemarkUpdated','260Dqmvom','14340efhZZR','onBuddyListChange','onBuddyReqUnreadCntChange','onBuddyReqChange','onCheckBuddySettingResult','onDelBatchBuddyInfos','17732leMMnk','171081KYFHqY','onBuddyDetailInfoChange','24QhIgMb','61690uXFsOD','7503398BLLyCN','onAvatarUrlUpdated','2666881yTLrUA','onAddBuddyNeedVerify','33OrEqaH','113lHILEb','onDoubtBuddyReqChange','onBuddyInfoChange','144tjGZMl','onAddMeSettingChanged','268764uCrspK','669IucmQt','onSmartInfos','onBlockChanged'];_0xbbc0=function(){return _0xd416ad;};return _0xbbc0();} \ No newline at end of file +function _0x2fe5(){var _0x5987ce=['onDoubtBuddyReqChange','onDoubtBuddyReqUnreadNumChange','9611VrJrhk','onBuddyReqUnreadCntChange','onSmartInfos','1830GagRDY','onBuddyInfoChange','2193631hxkZPg','59967XfuRJn','670421hcjhfA','onNickUpdated','onSpacePermissionInfos','3009993YfkkdQ','onBlockChanged','onBuddyRemarkUpdated','onAddMeSettingChanged','372aOkscS','2545734uWAHIZ','936vLBsLM','50rUCxcM','onBuddyDetailInfoChange','onBuddyReqChange','47365AiqVXz','onAvatarUrlUpdated'];_0x2fe5=function(){return _0x5987ce;};return _0x2fe5();}var _0x59c3d9=_0x1663;function _0x1663(_0x30421c,_0x3337e4){var _0x2fe500=_0x2fe5();return _0x1663=function(_0x1663c0,_0x367f64){_0x1663c0=_0x1663c0-0x11c;var _0x381394=_0x2fe500[_0x1663c0];return _0x381394;},_0x1663(_0x30421c,_0x3337e4);}(function(_0x31a4d7,_0x113a3f){var _0x466d19=_0x1663,_0x3c193e=_0x31a4d7();while(!![]){try{var _0x2b026b=parseInt(_0x466d19(0x125))/0x1+parseInt(_0x466d19(0x12d))/0x2+parseInt(_0x466d19(0x128))/0x3+-parseInt(_0x466d19(0x12c))/0x4*(parseInt(_0x466d19(0x132))/0x5)+parseInt(_0x466d19(0x121))/0x6*(parseInt(_0x466d19(0x11e))/0x7)+-parseInt(_0x466d19(0x12e))/0x8*(parseInt(_0x466d19(0x124))/0x9)+parseInt(_0x466d19(0x12f))/0xa*(-parseInt(_0x466d19(0x123))/0xb);if(_0x2b026b===_0x113a3f)break;else _0x3c193e['push'](_0x3c193e['shift']());}catch(_0x215cc0){_0x3c193e['push'](_0x3c193e['shift']());}}}(_0x2fe5,0xacc87));export class BuddyListener{['onAddBuddyNeedVerify'](_0x2bcdca){}[_0x59c3d9(0x12b)](_0x319b05){}[_0x59c3d9(0x133)](_0x3f263d){}[_0x59c3d9(0x129)](_0x4b79b1){}[_0x59c3d9(0x130)](_0x306529){}[_0x59c3d9(0x122)](_0x452ce3){}['onBuddyListChange'](_0x586f3a){}[_0x59c3d9(0x12a)](_0xfbe242){}[_0x59c3d9(0x131)](_0x289a67){}[_0x59c3d9(0x11f)](_0x3e6f91){}['onCheckBuddySettingResult'](_0x4fadd4){}['onDelBatchBuddyInfos'](_0x135d20){}[_0x59c3d9(0x11c)](_0x2d6940){}[_0x59c3d9(0x11d)](_0xd57952){}[_0x59c3d9(0x126)](_0x1c5637){}[_0x59c3d9(0x120)](_0x5308e4){}[_0x59c3d9(0x127)](_0x155b30){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js index 2d74896b..cff4fdf4 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -function _0x3799(){var _0x1a326e=['onFileListChanged','10179136StJQaZ','2242471OCufaF','onSessionChanged','4zYZite','1761040iMevwU','18BZzGvF','3758991hnKOVl','138290csdoZk','1845400xVzXZk','63qWQLKz','1230294QJVkJH','onSessionListChanged','onFileSearch','onFileStatusChanged'];_0x3799=function(){return _0x1a326e;};return _0x3799();}var _0x3afa4d=_0x2722;(function(_0x1f20fb,_0x47ba95){var _0x16c7d=_0x2722,_0x296ee0=_0x1f20fb();while(!![]){try{var _0x11995e=parseInt(_0x16c7d(0xbc))/0x1+-parseInt(_0x16c7d(0xc8))/0x2+-parseInt(_0x16c7d(0xc7))/0x3*(parseInt(_0x16c7d(0xc4))/0x4)+-parseInt(_0x16c7d(0xc9))/0x5*(-parseInt(_0x16c7d(0xc6))/0x6)+-parseInt(_0x16c7d(0xc2))/0x7+-parseInt(_0x16c7d(0xc1))/0x8+-parseInt(_0x16c7d(0xbb))/0x9*(-parseInt(_0x16c7d(0xc5))/0xa);if(_0x11995e===_0x47ba95)break;else _0x296ee0['push'](_0x296ee0['shift']());}catch(_0x3c0866){_0x296ee0['push'](_0x296ee0['shift']());}}}(_0x3799,0xa000f));function _0x2722(_0x28851c,_0x49288e){var _0x37991b=_0x3799();return _0x2722=function(_0x272209,_0x54eed4){_0x272209=_0x272209-0xbb;var _0x2fbc89=_0x37991b[_0x272209];return _0x2fbc89;},_0x2722(_0x28851c,_0x49288e);}export class KernelFileAssistantListener{[_0x3afa4d(0xbf)](..._0x3181b4){}[_0x3afa4d(0xbd)](..._0x26e367){}[_0x3afa4d(0xc3)](..._0x34c856){}[_0x3afa4d(0xc0)](..._0x5a79e4){}[_0x3afa4d(0xbe)](..._0x16c21a){}} \ No newline at end of file +function _0x4516(_0x4237fc,_0xf9371c){var _0x308d4e=_0x308d();return _0x4516=function(_0x4516fe,_0x492925){_0x4516fe=_0x4516fe-0x193;var _0x5be4c6=_0x308d4e[_0x4516fe];return _0x5be4c6;},_0x4516(_0x4237fc,_0xf9371c);}var _0x24f153=_0x4516;(function(_0x24cdca,_0x3073a6){var _0x532eae=_0x4516,_0x347d7f=_0x24cdca();while(!![]){try{var _0x2cb837=-parseInt(_0x532eae(0x1a0))/0x1*(-parseInt(_0x532eae(0x195))/0x2)+-parseInt(_0x532eae(0x19d))/0x3+parseInt(_0x532eae(0x193))/0x4*(parseInt(_0x532eae(0x198))/0x5)+parseInt(_0x532eae(0x1a2))/0x6+-parseInt(_0x532eae(0x19a))/0x7*(-parseInt(_0x532eae(0x1a1))/0x8)+parseInt(_0x532eae(0x19c))/0x9+parseInt(_0x532eae(0x199))/0xa*(-parseInt(_0x532eae(0x19f))/0xb);if(_0x2cb837===_0x3073a6)break;else _0x347d7f['push'](_0x347d7f['shift']());}catch(_0x2c7714){_0x347d7f['push'](_0x347d7f['shift']());}}}(_0x308d,0x199a4));function _0x308d(){var _0x6f7e16=['onSessionChanged','5363633vYJmPM','177glXrvQ','544nQCaYu','1221306qYQqTY','279652CnNmLb','onFileListChanged','2028Bxxbym','onFileStatusChanged','onFileSearch','5mhPvjL','10KcimJX','14875iZEUPj','onSessionListChanged','413928KxcyUF','152889Zpqopf'];_0x308d=function(){return _0x6f7e16;};return _0x308d();}export class KernelFileAssistantListener{[_0x24f153(0x196)](..._0x4c22d7){}[_0x24f153(0x19b)](..._0x1f51b1){}[_0x24f153(0x19e)](..._0x54f7a6){}[_0x24f153(0x194)](..._0x195396){}[_0x24f153(0x197)](..._0x1a780b){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelGroupListener.js b/src/core.lib/src/listeners/NodeIKernelGroupListener.js index 67996f67..4ef5cd79 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -var _0x34ce4b=_0x2282;function _0x2282(_0x5e55c0,_0x1f5d09){var _0x1a30f7=_0x1a30();return _0x2282=function(_0x2282cc,_0x5b896a){_0x2282cc=_0x2282cc-0xd5;var _0x46d875=_0x1a30f7[_0x2282cc];return _0x46d875;},_0x2282(_0x5e55c0,_0x1f5d09);}(function(_0x95f915,_0x24bd69){var _0x284563=_0x2282,_0x2af34c=_0x95f915();while(!![]){try{var _0x33ede5=parseInt(_0x284563(0xdc))/0x1+parseInt(_0x284563(0xfa))/0x2+-parseInt(_0x284563(0xea))/0x3*(parseInt(_0x284563(0xd9))/0x4)+parseInt(_0x284563(0x11a))/0x5*(-parseInt(_0x284563(0xe4))/0x6)+parseInt(_0x284563(0xde))/0x7+-parseInt(_0x284563(0xf3))/0x8+-parseInt(_0x284563(0xee))/0x9*(-parseInt(_0x284563(0x11b))/0xa);if(_0x33ede5===_0x24bd69)break;else _0x2af34c['push'](_0x2af34c['shift']());}catch(_0x2aff56){_0x2af34c['push'](_0x2af34c['shift']());}}}(_0x1a30,0x58a5b));function _0x1a30(){var _0x27b216=['onGroupStatisticInfoChange:','mfJco','onGroupConfMemberChange','onGroupAllInfoChange:','1315686lHvZLU','onGroupsMsgMaskResult','onGroupFirstBulletinNotify:','onGroupNotifiesUnreadCountUpdated:','mbWCh','onGroupBulletinRichMediaProgressUpdate','gkotc','onGroupsMsgMaskResult:','onGroupNotifiesUnreadCountUpdated','onGroupListUpdate','cbCmA','onGroupAllInfoChange','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete','onGroupStatisticInfoChange','onMemberListChange','onJoinGroupNotify:','onGroupNotifiesUpdated','onJoinGroupNoVerifyFlag','onGroupBulletinRichMediaProgressUpdate:','onGroupArkInviteStateResult','onGroupArkInviteStateResult:','CGHeW','onGroupListUpdate:','onGroupSingleScreenNotifies:','WlPmW','onGroupBulletinChange:','raEgX','xFXDh','log','onShutUpMemberListChanged','onGroupBulletinRemindNotify','410155jtiUbB','2130PkCvaQ','onSearchMemberChange:','aEOIt','UdzPk','onGetGroupBulletinListResult:','onGroupSingleScreenNotifies','553016dyeDWb','onGetGroupBulletinListResult','onJoinGroupNoVerifyFlag:','594427OTTXAQ','nkTIh','694764olZQHh','PvpLV','onSearchMemberChange','SgbEe','dWDsF','onMemberInfoChange:','42AXttMc','onGroupDetailInfoChange:','onGroupMemberLevelInfoChange:','onMemberListChange:','bKrMv','onGroupBulletinRemindNotify:','3QOMLCs','onGroupMemberLevelInfoChange','onGroupExtListUpdate:','ZKOMG','2601sqNVgP','qNOiQ','onShutUpMemberListChanged:','onJoinGroupNotify','onGroupNotifiesUpdated:','2700072EWNEaP','NgvpC','onGroupDetailInfoChange'];_0x1a30=function(){return _0x27b216;};return _0x1a30();}export class GroupListener{[_0x34ce4b(0xeb)](..._0x3946ec){}[_0x34ce4b(0xda)](..._0x1b26c9){}[_0x34ce4b(0x105)](..._0x436fa7){}['onGroupBulletinChange'](..._0x290f72){}[_0x34ce4b(0x119)](..._0x3f3e94){}[_0x34ce4b(0x10e)](..._0x1c76e8){}['onGroupBulletinRichMediaDownloadComplete'](..._0x1d23cb){}[_0x34ce4b(0xf8)](..._0xb6d39a){}[_0x34ce4b(0xf5)](..._0x5b6fd1){}['onGroupExtListUpdate'](..._0x3bcde3){}['onGroupFirstBulletinNotify'](..._0x4f4279){}[_0x34ce4b(0x103)](_0x1a383b,_0xe80e5){}[_0x34ce4b(0x10b)](_0x573375,_0x2d97bd){}[_0x34ce4b(0xff)](..._0x21fadf){}[_0x34ce4b(0x102)](..._0x179c23){}[_0x34ce4b(0xd8)](_0x555923,_0x52b16d,_0x322bac){}[_0x34ce4b(0xfb)](..._0xc434fb){}[_0x34ce4b(0x108)](..._0x2348d4){}[_0x34ce4b(0xf1)](..._0x2b7b8d){}[_0x34ce4b(0x10c)](..._0x2d716c){}[_0x34ce4b(0x106)](_0x4cecaa,_0xff33a,_0x39b20a){}['onMemberListChange'](_0x5a5086){}[_0x34ce4b(0xe0)](..._0x301be2){}[_0x34ce4b(0x118)](..._0x374970){}}export class DebugGroupListener{[_0x34ce4b(0xeb)](..._0xbf7ec5){var _0x6b14d=_0x34ce4b,_0x3ebef6={'NgvpC':_0x6b14d(0xe6)};console[_0x6b14d(0x117)](_0x3ebef6[_0x6b14d(0xf4)],..._0xbf7ec5);}[_0x34ce4b(0xda)](..._0x4f0feb){var _0x587b55=_0x34ce4b,_0xc462d7={'mbWCh':_0x587b55(0xd7)};console[_0x587b55(0x117)](_0xc462d7[_0x587b55(0xfe)],..._0x4f0feb);}['onGroupAllInfoChange'](..._0x18f10c){var _0x2790d4=_0x34ce4b,_0x269f67={'bKrMv':_0x2790d4(0xf9)};console['log'](_0x269f67[_0x2790d4(0xe8)],..._0x18f10c);}['onGroupBulletinChange'](..._0x20a3f6){var _0x158e19=_0x34ce4b,_0x254719={'NckSe':_0x158e19(0x114)};console['log'](_0x254719['NckSe'],..._0x20a3f6);}[_0x34ce4b(0x119)](..._0x727813){var _0x317110=_0x34ce4b,_0x36d297={'PvpLV':_0x317110(0xe9)};console[_0x317110(0x117)](_0x36d297[_0x317110(0xdf)],..._0x727813);}[_0x34ce4b(0x10e)](..._0x2de636){var _0x3eeb96=_0x34ce4b,_0xf0e1c={'gkotc':_0x3eeb96(0x10f)};console[_0x3eeb96(0x117)](_0xf0e1c[_0x3eeb96(0x100)],..._0x2de636);}[_0x34ce4b(0x107)](..._0x46335f){var _0x5418cf=_0x34ce4b,_0x4a77bc={'GRMTl':'onGroupBulletinRichMediaDownloadComplete:'};console[_0x5418cf(0x117)](_0x4a77bc['GRMTl'],..._0x46335f);}[_0x34ce4b(0xf8)](..._0x1991f0){var _0x42d862=_0x34ce4b,_0x48e3cb={'cbCmA':'onGroupConfMemberChange:'};console['log'](_0x48e3cb[_0x42d862(0x104)],..._0x1991f0);}[_0x34ce4b(0xf5)](..._0x5d1df2){var _0x566c7a=_0x34ce4b,_0x4a6851={'mfJco':_0x566c7a(0xe5)};console[_0x566c7a(0x117)](_0x4a6851[_0x566c7a(0xf7)],..._0x5d1df2);}['onGroupExtListUpdate'](..._0x2664d1){var _0x35c913=_0x34ce4b,_0x6b331c={'aEOIt':_0x35c913(0xec)};console[_0x35c913(0x117)](_0x6b331c[_0x35c913(0xd5)],..._0x2664d1);}['onGroupFirstBulletinNotify'](..._0x4077a2){var _0x250fd5=_0x34ce4b,_0x3ef4b8={'WlPmW':_0x250fd5(0xfc)};console[_0x250fd5(0x117)](_0x3ef4b8[_0x250fd5(0x113)],..._0x4077a2);}[_0x34ce4b(0x103)](..._0x51e996){var _0x117c5a=_0x34ce4b,_0x2a8232={'xvboX':_0x117c5a(0x111)};console[_0x117c5a(0x117)](_0x2a8232['xvboX'],..._0x51e996);}[_0x34ce4b(0x10b)](..._0x320fe4){var _0xd9eec3=_0x34ce4b,_0x3080b2={'raEgX':_0xd9eec3(0xf2)};console['log'](_0x3080b2[_0xd9eec3(0x115)],..._0x320fe4);}[_0x34ce4b(0xff)](..._0x521af8){var _0x6e5c9f=_0x34ce4b,_0x34f780={'jLRAF':_0x6e5c9f(0x10d)};console['log'](_0x34f780['jLRAF'],..._0x521af8);}['onGroupNotifiesUnreadCountUpdated'](..._0x419a02){var _0x63cdfb=_0x34ce4b,_0x4fe525={'xFXDh':_0x63cdfb(0xfd)};console['log'](_0x4fe525[_0x63cdfb(0x116)],..._0x419a02);}[_0x34ce4b(0xd8)](_0x436e0f,_0x300d10,_0x35d107){var _0x5bd506=_0x34ce4b,_0x38d604={'CGHeW':_0x5bd506(0x112)};console['log'](_0x38d604[_0x5bd506(0x110)]);}[_0x34ce4b(0xfb)](..._0x3417f6){var _0x1fa502=_0x34ce4b,_0x179926={'ZKOMG':_0x1fa502(0x101)};console[_0x1fa502(0x117)](_0x179926[_0x1fa502(0xed)],..._0x3417f6);}[_0x34ce4b(0x108)](..._0xfb2a42){var _0x17bd7d=_0x34ce4b,_0x3fd5b9={'dWDsF':_0x17bd7d(0xf6)};console[_0x17bd7d(0x117)](_0x3fd5b9[_0x17bd7d(0xe2)],..._0xfb2a42);}[_0x34ce4b(0xf1)](..._0x114645){var _0x5abdf3=_0x34ce4b,_0x25b7ac={'qNOiQ':_0x5abdf3(0x10a)};console[_0x5abdf3(0x117)](_0x25b7ac[_0x5abdf3(0xef)],..._0x114645);}['onJoinGroupNoVerifyFlag'](..._0x5bc3e1){var _0x59ffa6=_0x34ce4b,_0x6b6423={'nkTIh':_0x59ffa6(0xdb)};console[_0x59ffa6(0x117)](_0x6b6423[_0x59ffa6(0xdd)],..._0x5bc3e1);}[_0x34ce4b(0x106)](_0x2fe421,_0x19801b,_0x3f1f9f){var _0x543ead=_0x34ce4b,_0x3ea9c5={'UdzPk':_0x543ead(0xe3)};console['log'](_0x3ea9c5[_0x543ead(0xd6)],_0x2fe421,_0x19801b,_0x3f1f9f);}[_0x34ce4b(0x109)](..._0x22e14f){var _0xc339ff=_0x34ce4b,_0x21691={'YiULT':_0xc339ff(0xe7)};console[_0xc339ff(0x117)](_0x21691['YiULT'],..._0x22e14f);}[_0x34ce4b(0xe0)](..._0x2eab66){var _0x47ed1b=_0x34ce4b,_0x94b477={'SgbEe':_0x47ed1b(0x11c)};console['log'](_0x94b477[_0x47ed1b(0xe1)],..._0x2eab66);}[_0x34ce4b(0x118)](..._0x56f968){var _0x41bcfa=_0x34ce4b;console[_0x41bcfa(0x117)](_0x41bcfa(0xf0),..._0x56f968);}} \ No newline at end of file +var _0xdccc39=_0x25a0;function _0x2b44(){var _0x1e883f=['onGroupSingleScreenNotifies','NUlSI','TRxzw','onGroupAllInfoChange','Zdffa','onGroupNotifiesUnreadCountUpdated','onGroupDetailInfoChange','bkNbp','3405xPglfN','645768GBIsVs','WXoxX','BcyAl','5401GmMFqL','JciYH','onGroupArkInviteStateResult:','12XmtrSe','onGroupsMsgMaskResult:','1390rdkARa','onJoinGroupNotify','onGetGroupBulletinListResult:','484eACJjp','onGroupsMsgMaskResult','13358HzfltS','onSearchMemberChange:','onGroupMemberLevelInfoChange','100604ApelZr','onShutUpMemberListChanged:','onGroupNotifiesUpdated','onGroupConfMemberChange','onGroupNotifiesUpdated:','onGroupConfMemberChange:','onGroupArkInviteStateResult','onGroupBulletinRichMediaDownloadComplete','onJoinGroupNotify:','onMemberInfoChange','onGroupFirstBulletinNotify','onJoinGroupNoVerifyFlag','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange:','onGroupMemberLevelInfoChange:','VNcdh','onSearchMemberChange','onGroupBulletinChange','FEKdW','onGroupBulletinRichMediaProgressUpdate','6rSneSX','HQUNT','63232lUagHs','onShutUpMemberListChanged','XYpyt','jUIeZ','9dfuhvc','onGroupListUpdate','log','onGroupAllInfoChange:','3857789rqqWYS','66AojaNq','onGroupFirstBulletinNotify:','onMemberInfoChange:','onGroupBulletinRemindNotify','onGroupExtListUpdate:','onMemberListChange:','onGroupSingleScreenNotifies:','onGetGroupBulletinListResult','onMemberListChange','onGroupExtListUpdate','onGroupStatisticInfoChange','lLYPd','onGroupListUpdate:','onGroupBulletinRemindNotify:'];_0x2b44=function(){return _0x1e883f;};return _0x2b44();}(function(_0x3581e8,_0x586502){var _0x12ded4=_0x25a0,_0x1b6e6a=_0x3581e8();while(!![]){try{var _0xb733d2=parseInt(_0x12ded4(0xd7))/0x1+parseInt(_0x12ded4(0xbe))/0x2*(-parseInt(_0x12ded4(0xd5))/0x3)+-parseInt(_0x12ded4(0xbc))/0x4*(parseInt(_0x12ded4(0xb0))/0x5)+parseInt(_0x12ded4(0xe0))/0x6*(-parseInt(_0x12ded4(0xc1))/0x7)+-parseInt(_0x12ded4(0xb1))/0x8*(-parseInt(_0x12ded4(0xdb))/0x9)+parseInt(_0x12ded4(0xb9))/0xa*(-parseInt(_0x12ded4(0xb4))/0xb)+parseInt(_0x12ded4(0xb7))/0xc*(parseInt(_0x12ded4(0xdf))/0xd);if(_0xb733d2===_0x586502)break;else _0x1b6e6a['push'](_0x1b6e6a['shift']());}catch(_0x4960a9){_0x1b6e6a['push'](_0x1b6e6a['shift']());}}}(_0x2b44,0x1cf4e));function _0x25a0(_0x1d438e,_0x461ba8){var _0x2b44fb=_0x2b44();return _0x25a0=function(_0x25a099,_0x4a6680){_0x25a099=_0x25a099-0xa1;var _0x422056=_0x2b44fb[_0x25a099];return _0x422056;},_0x25a0(_0x1d438e,_0x461ba8);}export class GroupListener{[_0xdccc39(0xc0)](..._0x55d2ff){}['onGetGroupBulletinListResult'](..._0x3db0e7){}[_0xdccc39(0xab)](..._0x3ae97a){}[_0xdccc39(0xd2)](..._0x5978a4){}[_0xdccc39(0xe3)](..._0x17112d){}[_0xdccc39(0xc7)](..._0x107226){}[_0xdccc39(0xc8)](..._0x493376){}[_0xdccc39(0xc4)](..._0x3bd58b){}[_0xdccc39(0xae)](..._0x4ddf59){}[_0xdccc39(0xa3)](..._0x4817ed){}[_0xdccc39(0xcb)](..._0x4f6d3a){}[_0xdccc39(0xdc)](_0xc067ba,_0x1f5a3d){}['onGroupNotifiesUpdated'](_0x21c61e,_0x15cee1){}[_0xdccc39(0xd4)](..._0x7349b4){}[_0xdccc39(0xad)](..._0x3efb61){}[_0xdccc39(0xa8)](_0x2ff89e,_0x59608b,_0x50b4d1){}['onGroupsMsgMaskResult'](..._0x2c6e36){}[_0xdccc39(0xa4)](..._0x2e40ac){}['onJoinGroupNotify'](..._0x4fc78d){}[_0xdccc39(0xcc)](..._0x3baf3c){}[_0xdccc39(0xca)](_0x1af48a,_0x5c5b35,_0x5ea146){}[_0xdccc39(0xa2)](_0x3e1b49){}[_0xdccc39(0xd1)](..._0x3cd3bf){}[_0xdccc39(0xd8)](..._0xaab4b2){}}export class DebugGroupListener{[_0xdccc39(0xc0)](..._0x153990){var _0x5c2bb0=_0xdccc39,_0x32785b={'WXoxX':_0x5c2bb0(0xcf)};console[_0x5c2bb0(0xdd)](_0x32785b[_0x5c2bb0(0xb2)],..._0x153990);}[_0xdccc39(0xa1)](..._0x196f16){var _0x2ad4fd=_0xdccc39,_0x387dc5={'oEgtW':_0x2ad4fd(0xbb)};console[_0x2ad4fd(0xdd)](_0x387dc5['oEgtW'],..._0x196f16);}['onGroupAllInfoChange'](..._0x363234){var _0x2134ec=_0xdccc39;console[_0x2134ec(0xdd)](_0x2134ec(0xde),..._0x363234);}[_0xdccc39(0xd2)](..._0x170c3b){var _0x26a59c=_0xdccc39,_0x26d59e={'JciYH':'onGroupBulletinChange:'};console['log'](_0x26d59e[_0x26a59c(0xb5)],..._0x170c3b);}['onGroupBulletinRemindNotify'](..._0x290f27){var _0x246b20=_0xdccc39;console[_0x246b20(0xdd)](_0x246b20(0xa7),..._0x290f27);}[_0xdccc39(0xc7)](..._0x344b5a){var _0x102362=_0xdccc39;console[_0x102362(0xdd)](_0x102362(0xb6),..._0x344b5a);}[_0xdccc39(0xc8)](..._0x48b25c){var _0x5c4526=_0xdccc39,_0x7ddd03={'HQUNT':_0x5c4526(0xcd)};console[_0x5c4526(0xdd)](_0x7ddd03[_0x5c4526(0xd6)],..._0x48b25c);}[_0xdccc39(0xc4)](..._0x5753e3){var _0x33ddd4=_0xdccc39;console[_0x33ddd4(0xdd)](_0x33ddd4(0xc6),..._0x5753e3);}[_0xdccc39(0xae)](..._0x26e0f5){var _0x494ebc=_0xdccc39;console[_0x494ebc(0xdd)]('onGroupDetailInfoChange:',..._0x26e0f5);}['onGroupExtListUpdate'](..._0x276b2d){var _0x30a8d5=_0xdccc39,_0x5a99dd={'bkNbp':_0x30a8d5(0xe4)};console[_0x30a8d5(0xdd)](_0x5a99dd[_0x30a8d5(0xaf)],..._0x276b2d);}[_0xdccc39(0xcb)](..._0xdad107){var _0x4b9003=_0xdccc39,_0x1c74b5={'lLYPd':_0x4b9003(0xe1)};console[_0x4b9003(0xdd)](_0x1c74b5[_0x4b9003(0xa5)],..._0xdad107);}[_0xdccc39(0xdc)](..._0x45bed9){var _0x2a1011=_0xdccc39,_0x2ee0f8={'AXjOU':_0x2a1011(0xa6)};console[_0x2a1011(0xdd)](_0x2ee0f8['AXjOU'],..._0x45bed9);}[_0xdccc39(0xc3)](..._0x33886f){var _0x37f969=_0xdccc39,_0x4110e4={'VNcdh':_0x37f969(0xc5)};console[_0x37f969(0xdd)](_0x4110e4[_0x37f969(0xd0)],..._0x33886f);}[_0xdccc39(0xd4)](..._0x59d3e0){var _0x1699e3=_0xdccc39,_0x583c10={'XYpyt':'onGroupBulletinRichMediaProgressUpdate:'};console[_0x1699e3(0xdd)](_0x583c10[_0x1699e3(0xd9)],..._0x59d3e0);}[_0xdccc39(0xad)](..._0x470f7e){var _0x4cd9f2=_0xdccc39,_0x592ce7={'tAvOG':'onGroupNotifiesUnreadCountUpdated:'};console[_0x4cd9f2(0xdd)](_0x592ce7['tAvOG'],..._0x470f7e);}[_0xdccc39(0xa8)](_0x5b92b6,_0x15448d,_0x3c70fe){var _0x420b85=_0xdccc39,_0x484e62={'jUIeZ':_0x420b85(0xe6)};console[_0x420b85(0xdd)](_0x484e62[_0x420b85(0xda)]);}[_0xdccc39(0xbd)](..._0x30ae66){var _0x8b49ea=_0xdccc39,_0x44460f={'TRxzw':_0x8b49ea(0xb8)};console[_0x8b49ea(0xdd)](_0x44460f[_0x8b49ea(0xaa)],..._0x30ae66);}[_0xdccc39(0xa4)](..._0x875f39){var _0x1beeb7=_0xdccc39,_0x3fcb0a={'JyzlB':_0x1beeb7(0xce)};console[_0x1beeb7(0xdd)](_0x3fcb0a['JyzlB'],..._0x875f39);}[_0xdccc39(0xba)](..._0xf438ef){var _0x528464=_0xdccc39,_0xaf6d73={'Zdffa':_0x528464(0xc9)};console[_0x528464(0xdd)](_0xaf6d73[_0x528464(0xac)],..._0xf438ef);}['onJoinGroupNoVerifyFlag'](..._0x34fafc){var _0x26ad34=_0xdccc39,_0x47d2a3={'FEKdW':'onJoinGroupNoVerifyFlag:'};console[_0x26ad34(0xdd)](_0x47d2a3[_0x26ad34(0xd3)],..._0x34fafc);}['onMemberInfoChange'](_0x6ae63d,_0x337574,_0x322d8c){var _0x4e4234=_0xdccc39,_0x3f6285={'NUlSI':_0x4e4234(0xe2)};console[_0x4e4234(0xdd)](_0x3f6285[_0x4e4234(0xa9)],_0x6ae63d,_0x337574,_0x322d8c);}[_0xdccc39(0xa2)](..._0x416f51){var _0x2e889f=_0xdccc39,_0x1f470e={'BcyAl':_0x2e889f(0xe5)};console['log'](_0x1f470e[_0x2e889f(0xb3)],..._0x416f51);}[_0xdccc39(0xd1)](..._0x3b057c){var _0x5827ed=_0xdccc39,_0x285a1d={'MoDjn':_0x5827ed(0xbf)};console[_0x5827ed(0xdd)](_0x285a1d['MoDjn'],..._0x3b057c);}['onShutUpMemberListChanged'](..._0x578f1b){var _0x4b92c9=_0xdccc39;console[_0x4b92c9(0xdd)](_0x4b92c9(0xc2),..._0x578f1b);}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelLoginListener.js b/src/core.lib/src/listeners/NodeIKernelLoginListener.js index 11262929..65e83c76 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x5cf8(){var _0x3a5912=['7kwXpOu','3828UrQMlh','onQRCodeLoginSucceed','705ANRAtO','onLoginConnecting','onQQLoginNumLimited','onQRCodeGetPicture','188jtSwpI','onLogoutSucceed','onLoginConnected','18126lchXqU','onPasswordLoginFailed','3935816dRFLVM','13495515CYaqiu','30KdZcAZ','21567INoTCt','onUserLoggedIn','747081AqDCXG','onLoginFailed','onLogoutFailed','618858aQpvtp','onQRCodeLoginPollingStarted','onLoginState','onLoginDisConnected'];_0x5cf8=function(){return _0x3a5912;};return _0x5cf8();}function _0x3cb3(_0x2060c5,_0x38db3b){var _0x5cf84f=_0x5cf8();return _0x3cb3=function(_0x3cb3ab,_0x591374){_0x3cb3ab=_0x3cb3ab-0x1e9;var _0x44eba2=_0x5cf84f[_0x3cb3ab];return _0x44eba2;},_0x3cb3(_0x2060c5,_0x38db3b);}var _0x4ace4a=_0x3cb3;(function(_0x10e748,_0x20d5fc){var _0x443ce3=_0x3cb3,_0x31ae36=_0x10e748();while(!![]){try{var _0x5890b6=parseInt(_0x443ce3(0x200))/0x1+parseInt(_0x443ce3(0x1f2))/0x2+parseInt(_0x443ce3(0x1ed))/0x3*(parseInt(_0x443ce3(0x1fd))/0x4)+parseInt(_0x443ce3(0x1f9))/0x5*(parseInt(_0x443ce3(0x1f7))/0x6)+-parseInt(_0x443ce3(0x1f6))/0x7*(-parseInt(_0x443ce3(0x1ea))/0x8)+-parseInt(_0x443ce3(0x1ef))/0x9*(-parseInt(_0x443ce3(0x1ec))/0xa)+-parseInt(_0x443ce3(0x1eb))/0xb;if(_0x5890b6===_0x20d5fc)break;else _0x31ae36['push'](_0x31ae36['shift']());}catch(_0x3385d4){_0x31ae36['push'](_0x31ae36['shift']());}}}(_0x5cf8,0x41cdf));export class LoginListener{[_0x4ace4a(0x1ff)](..._0x3bdb2c){}[_0x4ace4a(0x1f5)](..._0x48437d){}[_0x4ace4a(0x1fa)](..._0x4a2d06){}[_0x4ace4a(0x1fc)](_0x3885df){}[_0x4ace4a(0x1f3)](..._0x1350c1){}['onQRCodeSessionUserScaned'](..._0x3e5b11){}[_0x4ace4a(0x1f8)](_0x2028e6){}['onQRCodeSessionFailed'](..._0x578736){}[_0x4ace4a(0x1f0)](..._0x408463){}[_0x4ace4a(0x1fe)](..._0x4024b8){}[_0x4ace4a(0x1f1)](..._0x159217){}[_0x4ace4a(0x1ee)](..._0x304309){}['onQRCodeSessionQuickLoginFailed'](..._0x52b501){}[_0x4ace4a(0x1e9)](..._0x504d86){}['OnConfirmUnusualDeviceFailed'](..._0x35e392){}[_0x4ace4a(0x1fb)](..._0x737723){}[_0x4ace4a(0x1f4)](..._0x4d111a){}} \ No newline at end of file +var _0x18ac55=_0x2f71;function _0x2f71(_0x490464,_0x44833e){var _0x23f9b6=_0x23f9();return _0x2f71=function(_0x2f71dd,_0x2ca3f0){_0x2f71dd=_0x2f71dd-0x1db;var _0x1f2732=_0x23f9b6[_0x2f71dd];return _0x1f2732;},_0x2f71(_0x490464,_0x44833e);}(function(_0x37adaa,_0x5315b7){var _0x136511=_0x2f71,_0x1193ca=_0x37adaa();while(!![]){try{var _0x514673=parseInt(_0x136511(0x1e3))/0x1+-parseInt(_0x136511(0x1ea))/0x2+parseInt(_0x136511(0x1ee))/0x3+-parseInt(_0x136511(0x1e7))/0x4*(-parseInt(_0x136511(0x1f1))/0x5)+parseInt(_0x136511(0x1f0))/0x6*(parseInt(_0x136511(0x1de))/0x7)+-parseInt(_0x136511(0x1e0))/0x8*(parseInt(_0x136511(0x1dc))/0x9)+-parseInt(_0x136511(0x1e4))/0xa;if(_0x514673===_0x5315b7)break;else _0x1193ca['push'](_0x1193ca['shift']());}catch(_0x2895b8){_0x1193ca['push'](_0x1193ca['shift']());}}}(_0x23f9,0xcb5cf));function _0x23f9(){var _0x29155c=['onLogoutSucceed','1532474ZfDbWL','14038590QmmOLT','onQRCodeSessionFailed','onQQLoginNumLimited','16HRguom','onUserLoggedIn','onQRCodeSessionQuickLoginFailed','189082XSRSKI','onQRCodeLoginPollingStarted','onLoginState','onLoginDisConnected','3084327WGhrnL','onLoginFailed','426KfqLIy','961670PCCoXc','onLoginConnecting','693DnsbjE','onLogoutFailed','12047KkGSoR','onQRCodeSessionUserScaned','116440GYDFxU','onQRCodeLoginSucceed'];_0x23f9=function(){return _0x29155c;};return _0x23f9();}export class LoginListener{['onLoginConnected'](..._0x536771){}[_0x18ac55(0x1ed)](..._0x2b6da6){}[_0x18ac55(0x1db)](..._0x5d64ef){}['onQRCodeGetPicture'](_0x2e7e68){}[_0x18ac55(0x1eb)](..._0x40a8b2){}[_0x18ac55(0x1df)](..._0x28a071){}[_0x18ac55(0x1e1)](_0x119ea6){}[_0x18ac55(0x1e5)](..._0x30f323){}[_0x18ac55(0x1ef)](..._0x400237){}[_0x18ac55(0x1e2)](..._0xaa563c){}[_0x18ac55(0x1dd)](..._0x442b99){}[_0x18ac55(0x1e8)](..._0x6ff47c){}[_0x18ac55(0x1e9)](..._0x1fd264){}['onPasswordLoginFailed'](..._0x4bf690){}['OnConfirmUnusualDeviceFailed'](..._0x1bedae){}[_0x18ac55(0x1e6)](..._0x5e8ff7){}[_0x18ac55(0x1ec)](..._0x293b9e){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelMsgListener.js b/src/core.lib/src/listeners/NodeIKernelMsgListener.js index 6e872b5c..25ec95e1 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -function _0x185e(){var _0x1157fc=['onRecvMsg','onNtMsgSyncEnd','onLogLevelChanged','2209624eEsLpS','onlineStatusBigIconDownloadPush','onUserChannelTabStatusChanged','onBroadcastHelperDownloadComplete','onFirstViewDirectMsgUpdate','onBroadcastHelperProgerssUpdate','onMsgBoxChanged','1887456bqYMMZ','onKickedOffLine','onGuildMsgAbFlagChanged','onGroupFileInfoAdd','onChannelFreqLimitInfoUpdate','onUserTabStatusChanged','30280nByOer','onMsgSecurityNotify','5yiiHTQ','onUserSecQualityChanged','onlineStatusSmallIconDownloadPush','onNtFirstViewMsgSyncEnd','18gBbLXT','1727356xBPpQf','onSendMsgError','3381910fyPFak','onGuildNotificationAbstractUpdate','onMsgDelete','onGroupTransferInfoAdd','614jWHrBQ','onHitCsRelatedEmojiResult','onFeedEventUpdate','onGrabPasswordRedBag','onGroupFileInfoUpdate','onFirstViewGroupGuildMapping','onFileMsgCome','onGuildInteractiveUpdate','onGroupTransferInfoUpdate','onMsgSettingUpdate','onGroupGuildUpdate','onHitRelatedEmojiResult','onRecvS2CMsg','onRecvUDCFlag','onSearchGroupFileInfoUpdate','onRecvGroupGuildFlag','onImportOldDbProgressUpdate','onHitEmojiKeywordResult','onReadFeedEventUpdate','onMsgRecall','275919HpvLJd','onEmojiDownloadComplete','onContactUnreadCntUpdate','onUnreadCntAfterFirstView','onMsgInfoListUpdate','onCustomWithdrawConfigUpdate','1067DUhVQw','onUserOnlineStatusChanged','onRichMediaDownloadComplete','541iCpfuw'];_0x185e=function(){return _0x1157fc;};return _0x185e();}var _0xe22ea6=_0x11df;(function(_0x99dc4,_0x25ea68){var _0x501733=_0x11df,_0x20a38d=_0x99dc4();while(!![]){try{var _0x293166=parseInt(_0x501733(0x1b8))/0x1*(-parseInt(_0x501733(0x1d6))/0x2)+parseInt(_0x501733(0x1ea))/0x3+parseInt(_0x501733(0x1d0))/0x4*(parseInt(_0x501733(0x1cb))/0x5)+parseInt(_0x501733(0x1c3))/0x6+parseInt(_0x501733(0x1d2))/0x7+parseInt(_0x501733(0x1bc))/0x8*(-parseInt(_0x501733(0x1cf))/0x9)+parseInt(_0x501733(0x1c9))/0xa*(-parseInt(_0x501733(0x1f0))/0xb);if(_0x293166===_0x25ea68)break;else _0x20a38d['push'](_0x20a38d['shift']());}catch(_0x45995e){_0x20a38d['push'](_0x20a38d['shift']());}}}(_0x185e,0x4b83d));function _0x11df(_0x402641,_0x1b2269){var _0x185ebc=_0x185e();return _0x11df=function(_0x11dfa4,_0x42e291){_0x11dfa4=_0x11dfa4-0x1b6;var _0x295dfa=_0x185ebc[_0x11dfa4];return _0x295dfa;},_0x11df(_0x402641,_0x1b2269);}export class MsgListener{['onAddSendMsg'](_0x2760e1){}[_0xe22ea6(0x1bf)](_0x146fe2){}['onBroadcastHelperProgressUpdate'](_0x3b7887){}[_0xe22ea6(0x1c7)](_0x2e58cc,_0x282eec,_0x2131ae){}[_0xe22ea6(0x1ec)](_0x2e8904){}[_0xe22ea6(0x1ef)](_0x1f7603){}['onDraftUpdate'](_0x2ca965,_0x45ff16,_0xe590a6){}[_0xe22ea6(0x1eb)](_0x59c601){}['onEmojiResourceUpdate'](_0x5c838f){}[_0xe22ea6(0x1d8)](_0xad1b6e){}[_0xe22ea6(0x1dc)](_0x3931be){}[_0xe22ea6(0x1c0)](_0x340700){}[_0xe22ea6(0x1db)](_0x4f8783){}[_0xe22ea6(0x1d9)](_0x3c12f8,_0xd362db,_0x5be92b,_0x2ef224,_0x5f5a99){}[_0xe22ea6(0x1c6)](_0x4d8bdf){}[_0xe22ea6(0x1da)](_0x5608bb){}[_0xe22ea6(0x1e0)](_0xe35c49){}[_0xe22ea6(0x1d5)](_0x471acb){}[_0xe22ea6(0x1de)](_0x13f987){}[_0xe22ea6(0x1dd)](_0x3e1b22){}[_0xe22ea6(0x1c5)](_0x502775){}[_0xe22ea6(0x1d3)](_0x5bd15d){}[_0xe22ea6(0x1d7)](_0x2fce6b){}[_0xe22ea6(0x1e7)](_0x4ad8b2){}[_0xe22ea6(0x1e1)](_0x16a9a3){}[_0xe22ea6(0x1e6)](_0x440564){}['onInputStatusPush'](_0xb1a2a1){}[_0xe22ea6(0x1c4)](_0x2bb28f){}['onLineDev'](_0x2e939b){}[_0xe22ea6(0x1bb)](_0x364b96){}['onMsgAbstractUpdate'](_0x14f101){}[_0xe22ea6(0x1c2)](_0x1c39ae){}[_0xe22ea6(0x1d4)](_0x533eb9,_0x1e1dcb){}['onMsgEventListUpdate'](_0x4fd927){}['onMsgInfoListAdd'](_0xbf173d){}[_0xe22ea6(0x1ee)](_0x4f5446){}['onMsgQRCodeStatusChanged'](_0x5be74d){}[_0xe22ea6(0x1e9)](_0x4fb5e1,_0x22e63d,_0xd4aff6){}[_0xe22ea6(0x1ca)](_0x1021bd){}[_0xe22ea6(0x1df)](_0x506467){}[_0xe22ea6(0x1ce)](){}[_0xe22ea6(0x1ba)](){}['onNtMsgSyncStart'](){}[_0xe22ea6(0x1e8)](_0x55d019){}[_0xe22ea6(0x1e5)](_0x5ffa5d){}[_0xe22ea6(0x1b9)](_0x299ebd){}['onRecvMsgSvrRspTransInfo'](_0x24afcf,_0x2e88b6,_0x5d9132,_0x3d57a7,_0x2e9229,_0x376138){}['onRecvOnlineFileMsg'](_0x5a840a){}[_0xe22ea6(0x1e2)](_0x48b0a6){}['onRecvSysMsg'](_0x7202c4){}[_0xe22ea6(0x1e3)](_0x40f73d){}[_0xe22ea6(0x1b7)](_0x31baab){}['onRichMediaProgerssUpdate'](_0x4fa3e6){}['onRichMediaUploadComplete'](_0x161554){}[_0xe22ea6(0x1e4)](_0x308c64){}[_0xe22ea6(0x1d1)](_0x5a6ace,_0x10f3cd,_0x517202,_0x3b7b59){}['onSysMsgNotification'](_0x3b98a1,_0x55cba1,_0x309fae,_0x1383b4){}['onTempChatInfoUpdate'](_0x739f29){}[_0xe22ea6(0x1ed)](_0x38da49){}['onUnreadCntUpdate'](_0x19f552){}[_0xe22ea6(0x1be)](_0x12421d){}[_0xe22ea6(0x1b6)](_0x28f5b3){}[_0xe22ea6(0x1c8)](_0x4261fc){}[_0xe22ea6(0x1bd)](_0x3fb120,_0x528359,_0x17654c){}[_0xe22ea6(0x1cd)](_0x3299c3,_0x3d2009,_0x4c8b3b){}[_0xe22ea6(0x1cc)](..._0x3f1a7f){}['onMsgWithRichLinkInfoUpdate'](..._0x23cce5){}['onRedTouchChanged'](..._0x140bbd){}[_0xe22ea6(0x1c1)](..._0x27a404){}} \ No newline at end of file +var _0x42dce3=_0x4de3;function _0x12bc(){var _0x41b9b0=['onBroadcastHelperDownloadComplete','onFeedEventUpdate','onUserTabStatusChanged','onRichMediaProgerssUpdate','onEmojiResourceUpdate','2290495DbptDp','onRecvS2CMsg','onSysMsgNotification','onMsgWithRichLinkInfoUpdate','onUserChannelTabStatusChanged','onRecvMsg','574416xUlxAB','onTempChatInfoUpdate','12808vspHXs','onGuildMsgAbFlagChanged','onGuildNotificationAbstractUpdate','onUserOnlineStatusChanged','onNtMsgSyncEnd','onMsgSettingUpdate','onCustomWithdrawConfigUpdate','onMsgAbstractUpdate','onContactUnreadCntUpdate','onMsgEventListUpdate','onHitRelatedEmojiResult','onMsgInfoListUpdate','onSendMsgError','onMsgRecall','165JfJgCh','onChannelFreqLimitInfoUpdate','onMsgBoxChanged','onHitEmojiKeywordResult','onMsgInfoListAdd','onKickedOffLine','onMsgDelete','onRecvGroupGuildFlag','onRecvMsgSvrRspTransInfo','onEmojiDownloadComplete','onHitCsRelatedEmojiResult','7ixQLdw','99VlYUqm','onAddSendMsg','onFirstViewDirectMsgUpdate','onRichMediaDownloadComplete','onUserSecQualityChanged','onlineStatusBigIconDownloadPush','onLineDev','8767ibiSuk','342432YlitLn','186856GHFvkr','onMsgQRCodeStatusChanged','onGroupTransferInfoUpdate','onInputStatusPush','onRecvUDCFlag','onGroupFileInfoAdd','onRedTouchChanged','onRecvOnlineFileMsg','onUnreadCntUpdate','onlineStatusSmallIconDownloadPush','onRichMediaUploadComplete','2810CIdRri','onBroadcastHelperProgressUpdate','165904ViUKrs','onGrabPasswordRedBag'];_0x12bc=function(){return _0x41b9b0;};return _0x12bc();}function _0x4de3(_0x265865,_0xf2f0a1){var _0x12bcae=_0x12bc();return _0x4de3=function(_0x4de342,_0x3cf684){_0x4de342=_0x4de342-0x1f3;var _0x2b264e=_0x12bcae[_0x4de342];return _0x2b264e;},_0x4de3(_0x265865,_0xf2f0a1);}(function(_0xdc6540,_0x276433){var _0x1f938e=_0x4de3,_0x2455a8=_0xdc6540();while(!![]){try{var _0x4a76a1=parseInt(_0x1f938e(0x215))/0x1+parseInt(_0x1f938e(0x22f))/0x2+-parseInt(_0x1f938e(0x200))/0x3*(parseInt(_0x1f938e(0x231))/0x4)+-parseInt(_0x1f938e(0x229))/0x5+-parseInt(_0x1f938e(0x214))/0x6*(parseInt(_0x1f938e(0x20b))/0x7)+-parseInt(_0x1f938e(0x222))/0x8*(-parseInt(_0x1f938e(0x20c))/0x9)+parseInt(_0x1f938e(0x220))/0xa*(parseInt(_0x1f938e(0x213))/0xb);if(_0x4a76a1===_0x276433)break;else _0x2455a8['push'](_0x2455a8['shift']());}catch(_0x21c398){_0x2455a8['push'](_0x2455a8['shift']());}}}(_0x12bc,0x3956a));export class MsgListener{[_0x42dce3(0x20d)](_0x4b7ada){}[_0x42dce3(0x224)](_0x4b6306){}[_0x42dce3(0x221)](_0x24fa2c){}[_0x42dce3(0x201)](_0x555726,_0x2e08bc,_0x1a081f){}[_0x42dce3(0x1fa)](_0x4ba6ab){}[_0x42dce3(0x1f8)](_0x210dd6){}['onDraftUpdate'](_0x4c68b8,_0x44bb4b,_0x34d3c5){}[_0x42dce3(0x209)](_0x1a4b11){}[_0x42dce3(0x228)](_0x39faad){}[_0x42dce3(0x225)](_0x2a429d){}['onFileMsgCome'](_0x8235db){}[_0x42dce3(0x20e)](_0x4803c5){}['onFirstViewGroupGuildMapping'](_0x3979ec){}[_0x42dce3(0x223)](_0x58c749,_0x5bbaa1,_0xc8249e,_0x2dcb48,_0x15b72f){}[_0x42dce3(0x21a)](_0x19c5a7){}['onGroupFileInfoUpdate'](_0x115d2c){}['onGroupGuildUpdate'](_0x448c87){}['onGroupTransferInfoAdd'](_0x3e0614){}[_0x42dce3(0x217)](_0x15500c){}['onGuildInteractiveUpdate'](_0x9ee83f){}[_0x42dce3(0x1f3)](_0xe46012){}[_0x42dce3(0x1f4)](_0x323a18){}[_0x42dce3(0x20a)](_0x4109fd){}[_0x42dce3(0x203)](_0x162709){}[_0x42dce3(0x1fc)](_0x2b36d9){}['onImportOldDbProgressUpdate'](_0x20a010){}[_0x42dce3(0x218)](_0x16c4dc){}[_0x42dce3(0x205)](_0x52f5db){}[_0x42dce3(0x212)](_0x9297a6){}['onLogLevelChanged'](_0x2e6ffc){}[_0x42dce3(0x1f9)](_0x129e90){}[_0x42dce3(0x202)](_0xcd7937){}[_0x42dce3(0x206)](_0x59e2b1,_0x255652){}[_0x42dce3(0x1fb)](_0x2268fa){}[_0x42dce3(0x204)](_0x1c7b19){}[_0x42dce3(0x1fd)](_0x3c42cf){}[_0x42dce3(0x216)](_0x57201d){}[_0x42dce3(0x1ff)](_0x334d7e,_0xd68e84,_0x5d81ea){}['onMsgSecurityNotify'](_0x630bb){}[_0x42dce3(0x1f7)](_0x20e170){}['onNtFirstViewMsgSyncEnd'](){}[_0x42dce3(0x1f6)](){}['onNtMsgSyncStart'](){}['onReadFeedEventUpdate'](_0x4e974e){}[_0x42dce3(0x207)](_0x4941fb){}[_0x42dce3(0x22e)](_0x3127b1){}[_0x42dce3(0x208)](_0x5a0972,_0x3c5742,_0x8acd51,_0x4bf9cb,_0x3f73e0,_0x4c64b4){}[_0x42dce3(0x21c)](_0x3ba42f){}[_0x42dce3(0x22a)](_0x300675){}['onRecvSysMsg'](_0x1158e2){}[_0x42dce3(0x219)](_0x418882){}[_0x42dce3(0x20f)](_0x3ea91a){}[_0x42dce3(0x227)](_0x28cc64){}[_0x42dce3(0x21f)](_0x5743c3){}['onSearchGroupFileInfoUpdate'](_0x310208){}[_0x42dce3(0x1fe)](_0x9af52e,_0x3d4eb5,_0x2aca3e,_0xcb3af3){}[_0x42dce3(0x22b)](_0x27aeaf,_0x45f877,_0x2b6288,_0x54c31d){}[_0x42dce3(0x230)](_0x2b1ebb){}['onUnreadCntAfterFirstView'](_0x172806){}[_0x42dce3(0x21d)](_0x594395){}[_0x42dce3(0x22d)](_0x2161f2){}[_0x42dce3(0x1f5)](_0x4f394d){}[_0x42dce3(0x226)](_0x57b27b){}[_0x42dce3(0x211)](_0x1264a3,_0x52374d,_0x2d7f3f){}[_0x42dce3(0x21e)](_0x297256,_0x3ec3f1,_0x3a2aa8){}[_0x42dce3(0x210)](..._0x4f7c70){}[_0x42dce3(0x22c)](..._0x35605a){}[_0x42dce3(0x21b)](..._0x4cc9ab){}['onBroadcastHelperProgerssUpdate'](..._0x160dff){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelProfileListener.js b/src/core.lib/src/listeners/NodeIKernelProfileListener.js index bb0b7e41..abf850ed 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x53c23e=_0x31f4;function _0x31f4(_0x4d60e2,_0x13c923){var _0x418001=_0x4180();return _0x31f4=function(_0x31f415,_0x463c1){_0x31f415=_0x31f415-0x1b6;var _0x2f78f4=_0x418001[_0x31f415];return _0x2f78f4;},_0x31f4(_0x4d60e2,_0x13c923);}(function(_0x112446,_0x103e5a){var _0x562ef7=_0x31f4,_0x42a94d=_0x112446();while(!![]){try{var _0x5bac67=-parseInt(_0x562ef7(0x1bb))/0x1+parseInt(_0x562ef7(0x1c2))/0x2*(-parseInt(_0x562ef7(0x1be))/0x3)+parseInt(_0x562ef7(0x1bf))/0x4+parseInt(_0x562ef7(0x1ba))/0x5*(parseInt(_0x562ef7(0x1b9))/0x6)+-parseInt(_0x562ef7(0x1c1))/0x7+parseInt(_0x562ef7(0x1c0))/0x8*(parseInt(_0x562ef7(0x1c3))/0x9)+parseInt(_0x562ef7(0x1b6))/0xa*(parseInt(_0x562ef7(0x1b8))/0xb);if(_0x5bac67===_0x103e5a)break;else _0x42a94d['push'](_0x42a94d['shift']());}catch(_0x3e556a){_0x42a94d['push'](_0x42a94d['shift']());}}}(_0x4180,0xa5c9c));export class ProfileListener{[_0x53c23e(0x1bc)](..._0x4d751c){}['onProfileDetailInfoChanged'](_0x45db49){}['onStatusUpdate'](..._0x17dce1){}[_0x53c23e(0x1b7)](..._0x1308a3){}[_0x53c23e(0x1bd)](..._0x12acf9){}}function _0x4180(){var _0x3f2634=['onSelfStatusChanged','12221UQNkim','6KcfdpM','2791795itGzDw','1092645vGGGyk','onProfileSimpleChanged','onStrangerRemarkChanged','3722616NeXDDY','941388VbsRro','8qVEKea','3396211JXgwdD','2LZAava','3528549UhVSSj','20810qLjuil'];_0x4180=function(){return _0x3f2634;};return _0x4180();} \ No newline at end of file +function _0x1d8f(_0x2f888a,_0x548785){var _0x48e3c5=_0x48e3();return _0x1d8f=function(_0x1d8f75,_0x43a87f){_0x1d8f75=_0x1d8f75-0x193;var _0x3750f3=_0x48e3c5[_0x1d8f75];return _0x3750f3;},_0x1d8f(_0x2f888a,_0x548785);}var _0x2384de=_0x1d8f;(function(_0x3aa763,_0x3981d0){var _0x11380e=_0x1d8f,_0x11412a=_0x3aa763();while(!![]){try{var _0x8bb905=-parseInt(_0x11380e(0x19d))/0x1+parseInt(_0x11380e(0x195))/0x2*(parseInt(_0x11380e(0x1a2))/0x3)+parseInt(_0x11380e(0x199))/0x4*(parseInt(_0x11380e(0x193))/0x5)+-parseInt(_0x11380e(0x19e))/0x6*(parseInt(_0x11380e(0x194))/0x7)+-parseInt(_0x11380e(0x196))/0x8*(parseInt(_0x11380e(0x19a))/0x9)+-parseInt(_0x11380e(0x197))/0xa*(parseInt(_0x11380e(0x198))/0xb)+parseInt(_0x11380e(0x19c))/0xc;if(_0x8bb905===_0x3981d0)break;else _0x11412a['push'](_0x11412a['shift']());}catch(_0x14e1a6){_0x11412a['push'](_0x11412a['shift']());}}}(_0x48e3,0xddac2));function _0x48e3(){var _0x116916=['2alPzOX','3751688fTQeOK','2849470UQSZMV','11QKdtZC','380KKOsel','27hjCuqI','onProfileSimpleChanged','46190172bAwmYa','951676vKuwjg','1868874hhMcem','onStatusUpdate','onSelfStatusChanged','onProfileDetailInfoChanged','199419ejpznR','13620tExzyY','14STrUPV'];_0x48e3=function(){return _0x116916;};return _0x48e3();}export class ProfileListener{[_0x2384de(0x19b)](..._0x4981c5){}[_0x2384de(0x1a1)](_0x1940ba){}[_0x2384de(0x19f)](..._0x512e96){}[_0x2384de(0x1a0)](..._0x1f761a){}['onStrangerRemarkChanged'](..._0x531d34){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelRobotListener.js b/src/core.lib/src/listeners/NodeIKernelRobotListener.js index c6aca420..30c44fab 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -function _0x590d(_0x43b700,_0x1e7655){var _0x1c6047=_0x1c60();return _0x590d=function(_0x590d3b,_0x5260e6){_0x590d3b=_0x590d3b-0x1cb;var _0x8924c4=_0x1c6047[_0x590d3b];return _0x8924c4;},_0x590d(_0x43b700,_0x1e7655);}var _0x2dbb2e=_0x590d;(function(_0x3a1ba4,_0x467e18){var _0xa335ca=_0x590d,_0x21a177=_0x3a1ba4();while(!![]){try{var _0x4aad80=-parseInt(_0xa335ca(0x1d0))/0x1*(parseInt(_0xa335ca(0x1d1))/0x2)+parseInt(_0xa335ca(0x1cf))/0x3*(-parseInt(_0xa335ca(0x1d3))/0x4)+-parseInt(_0xa335ca(0x1d8))/0x5*(-parseInt(_0xa335ca(0x1cd))/0x6)+parseInt(_0xa335ca(0x1d6))/0x7+parseInt(_0xa335ca(0x1d7))/0x8*(parseInt(_0xa335ca(0x1cb))/0x9)+parseInt(_0xa335ca(0x1cc))/0xa+-parseInt(_0xa335ca(0x1ce))/0xb*(parseInt(_0xa335ca(0x1d9))/0xc);if(_0x4aad80===_0x467e18)break;else _0x21a177['push'](_0x21a177['shift']());}catch(_0x5823e9){_0x21a177['push'](_0x21a177['shift']());}}}(_0x1c60,0x5fdf3));export class KernelRobotListener{[_0x2dbb2e(0x1d4)](..._0x402f3c){}[_0x2dbb2e(0x1d5)](..._0x5ac81a){}[_0x2dbb2e(0x1d2)](..._0x46d850){}}function _0x1c60(){var _0x5708b9=['1741670EVrjNW','642594EGmUzQ','36707HdldWn','148578Zapfun','2FCaLiY','243602ZYYfGh','onRobotProfileChanged','12uqSTQB','onRobotFriendListChanged','onRobotListChanged','628096XfAIBB','7000WZfkmg','35WBmlHW','1392cUXyJU','1629srrUEn'];_0x1c60=function(){return _0x5708b9;};return _0x1c60();} \ No newline at end of file +var _0x13dd9b=_0x6282;function _0x6282(_0x4d3ddb,_0x56852d){var _0x16f073=_0x16f0();return _0x6282=function(_0x628269,_0x4cd1b7){_0x628269=_0x628269-0x1f0;var _0x25e046=_0x16f073[_0x628269];return _0x25e046;},_0x6282(_0x4d3ddb,_0x56852d);}(function(_0x8b07c3,_0x1f8cd5){var _0x2310c2=_0x6282,_0x242998=_0x8b07c3();while(!![]){try{var _0x511cd9=-parseInt(_0x2310c2(0x1f1))/0x1+-parseInt(_0x2310c2(0x1fa))/0x2+-parseInt(_0x2310c2(0x1fb))/0x3+parseInt(_0x2310c2(0x1f5))/0x4*(-parseInt(_0x2310c2(0x1f9))/0x5)+parseInt(_0x2310c2(0x1f6))/0x6+parseInt(_0x2310c2(0x1f7))/0x7*(parseInt(_0x2310c2(0x1f2))/0x8)+-parseInt(_0x2310c2(0x1f4))/0x9*(-parseInt(_0x2310c2(0x1f0))/0xa);if(_0x511cd9===_0x1f8cd5)break;else _0x242998['push'](_0x242998['shift']());}catch(_0xecc24b){_0x242998['push'](_0x242998['shift']());}}}(_0x16f0,0xb57d8));export class KernelRobotListener{[_0x13dd9b(0x1f8)](..._0x3a27c0){}['onRobotListChanged'](..._0x403ee4){}[_0x13dd9b(0x1f3)](..._0x48dec8){}}function _0x16f0(){var _0x9e9ab=['9WZuKVG','4684PhynVd','659718kXPZBU','7PRFIyW','onRobotFriendListChanged','2725FKGJNa','1999776eYAVll','1326432xqWeAO','33446410KretJZ','1085166JRILKw','3633464trkzQz','onRobotProfileChanged'];_0x16f0=function(){return _0x9e9ab;};return _0x16f0();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelSessionListener.js b/src/core.lib/src/listeners/NodeIKernelSessionListener.js index e0203fd2..6d5f6f4b 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -function _0x27af(){var _0x6c4cd=['183SaljNA','6004889yMlAgX','onGetSelfTinyId','1015430yYmwwS','5228343PnbDXe','49ixnpVD','onGProSessionCreate','onOpentelemetryInit','8moGJnB','985qXHkvr','12ipMMAL','onUserOnlineResult','onNTSessionCreate','22476aBpgxH','84275RmEaKo','343848JnBFMu','8468AVzUlB'];_0x27af=function(){return _0x6c4cd;};return _0x27af();}function _0x46a5(_0x63ea8d,_0x308384){var _0x27afa2=_0x27af();return _0x46a5=function(_0x46a592,_0x4743c0){_0x46a592=_0x46a592-0x197;var _0x2216a6=_0x27afa2[_0x46a592];return _0x2216a6;},_0x46a5(_0x63ea8d,_0x308384);}var _0x309cdc=_0x46a5;(function(_0x1ef474,_0x543a5d){var _0x52d729=_0x46a5,_0xbb6bc8=_0x1ef474();while(!![]){try{var _0x2076c2=parseInt(_0x52d729(0x19e))/0x1+parseInt(_0x52d729(0x19d))/0x2*(parseInt(_0x52d729(0x1a1))/0x3)+parseInt(_0x52d729(0x1a0))/0x4*(parseInt(_0x52d729(0x199))/0x5)+-parseInt(_0x52d729(0x19f))/0x6*(-parseInt(_0x52d729(0x1a6))/0x7)+parseInt(_0x52d729(0x198))/0x8*(-parseInt(_0x52d729(0x1a5))/0x9)+-parseInt(_0x52d729(0x1a4))/0xa+parseInt(_0x52d729(0x1a2))/0xb*(-parseInt(_0x52d729(0x19a))/0xc);if(_0x2076c2===_0x543a5d)break;else _0xbb6bc8['push'](_0xbb6bc8['shift']());}catch(_0x24dd68){_0xbb6bc8['push'](_0xbb6bc8['shift']());}}}(_0x27af,0x57ccd));export class SessionListener{[_0x309cdc(0x19c)](_0x372b7c){}[_0x309cdc(0x1a7)](_0x3b8028){}['onSessionInitComplete'](_0x362b73){}[_0x309cdc(0x197)](_0x33a86f){}[_0x309cdc(0x19b)](_0x147300){}[_0x309cdc(0x1a3)](_0x3e7e97){}} \ No newline at end of file +var _0x3f59c5=_0x2681;(function(_0x1221a8,_0x67d97b){var _0x4a3f0c=_0x2681,_0x9d97bf=_0x1221a8();while(!![]){try{var _0x241ac=parseInt(_0x4a3f0c(0xd3))/0x1*(-parseInt(_0x4a3f0c(0xd2))/0x2)+parseInt(_0x4a3f0c(0xce))/0x3+parseInt(_0x4a3f0c(0xd0))/0x4+-parseInt(_0x4a3f0c(0xcb))/0x5*(-parseInt(_0x4a3f0c(0xc9))/0x6)+-parseInt(_0x4a3f0c(0xc8))/0x7*(parseInt(_0x4a3f0c(0xcc))/0x8)+-parseInt(_0x4a3f0c(0xd4))/0x9+-parseInt(_0x4a3f0c(0xcd))/0xa*(-parseInt(_0x4a3f0c(0xc6))/0xb);if(_0x241ac===_0x67d97b)break;else _0x9d97bf['push'](_0x9d97bf['shift']());}catch(_0x4e26a8){_0x9d97bf['push'](_0x9d97bf['shift']());}}}(_0x1f8e,0x1b318));function _0x2681(_0x3388d7,_0x32ae53){var _0x1f8e14=_0x1f8e();return _0x2681=function(_0x268113,_0x85c3b0){_0x268113=_0x268113-0xc6;var _0x279c18=_0x1f8e14[_0x268113];return _0x279c18;},_0x2681(_0x3388d7,_0x32ae53);}function _0x1f8e(){var _0x2eea7c=['onGProSessionCreate','30UjzEGJ','1440544DCtoeu','8490GsNKhe','195801rPmsxB','onSessionInitComplete','366604cOCxvr','onGetSelfTinyId','16684MOzciC','11tgQuKg','306585XQPXQX','1397XMcUdd','onUserOnlineResult','7dTwlyq','152538WZeKcl'];_0x1f8e=function(){return _0x2eea7c;};return _0x1f8e();}export class SessionListener{['onNTSessionCreate'](_0x115d5b){}[_0x3f59c5(0xca)](_0x5c4583){}[_0x3f59c5(0xcf)](_0x247c41){}['onOpentelemetryInit'](_0x377b38){}[_0x3f59c5(0xc7)](_0x374e76){}[_0x3f59c5(0xd1)](_0xdb4983){}} \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js index 2c3da7f7..44aae252 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -function _0x40c3(){var _0x4a5a25=['5604OZVmLa','240VHsjNU','1739812fzZCqz','onFinishScan','9342nAjfsB','2860mdQgDo','4241520ZwmFDb','530180OJxNBG','8bPRffv','onCleanCacheStorageChanged','114212CTZgUy','898461kMauNB','onScanCacheProgressChanged'];_0x40c3=function(){return _0x4a5a25;};return _0x40c3();}var _0x44df44=_0x4a56;(function(_0x3c9192,_0x105c72){var _0x268ef2=_0x4a56,_0x5ad4e6=_0x3c9192();while(!![]){try{var _0x2aaf08=parseInt(_0x268ef2(0x148))/0x1+parseInt(_0x268ef2(0x142))/0x2*(-parseInt(_0x268ef2(0x14c))/0x3)+-parseInt(_0x268ef2(0x14d))/0x4+parseInt(_0x268ef2(0x143))/0x5*(parseInt(_0x268ef2(0x14b))/0x6)+-parseInt(_0x268ef2(0x145))/0x7+parseInt(_0x268ef2(0x146))/0x8*(parseInt(_0x268ef2(0x149))/0x9)+parseInt(_0x268ef2(0x144))/0xa;if(_0x2aaf08===_0x105c72)break;else _0x5ad4e6['push'](_0x5ad4e6['shift']());}catch(_0x202fd3){_0x5ad4e6['push'](_0x5ad4e6['shift']());}}}(_0x40c3,0x46544));function _0x4a56(_0x1c6c1a,_0x292476){var _0x40c382=_0x40c3();return _0x4a56=function(_0x4a56eb,_0x2392fc){_0x4a56eb=_0x4a56eb-0x141;var _0x4abd75=_0x40c382[_0x4a56eb];return _0x4abd75;},_0x4a56(_0x1c6c1a,_0x292476);}export class StorageCleanListener{['onCleanCacheProgressChanged'](_0xb7c844){}[_0x44df44(0x14a)](_0x582e91){}[_0x44df44(0x147)](_0x5c9ebb){}[_0x44df44(0x141)](_0x1e69bd){}['onChatCleanDone'](_0x359b70){}} \ No newline at end of file +function _0x4065(_0x18c2c3,_0x50bdff){var _0xc6efee=_0xc6ef();return _0x4065=function(_0x4065ff,_0x2b289f){_0x4065ff=_0x4065ff-0x175;var _0x36f215=_0xc6efee[_0x4065ff];return _0x36f215;},_0x4065(_0x18c2c3,_0x50bdff);}var _0x41e584=_0x4065;(function(_0x1e0f18,_0x1c60e7){var _0x4a566a=_0x4065,_0xb2709f=_0x1e0f18();while(!![]){try{var _0x33e5ef=-parseInt(_0x4a566a(0x180))/0x1*(-parseInt(_0x4a566a(0x175))/0x2)+-parseInt(_0x4a566a(0x17a))/0x3*(-parseInt(_0x4a566a(0x179))/0x4)+parseInt(_0x4a566a(0x17c))/0x5+-parseInt(_0x4a566a(0x178))/0x6*(parseInt(_0x4a566a(0x17d))/0x7)+-parseInt(_0x4a566a(0x177))/0x8+-parseInt(_0x4a566a(0x17b))/0x9+parseInt(_0x4a566a(0x176))/0xa;if(_0x33e5ef===_0x1c60e7)break;else _0xb2709f['push'](_0xb2709f['shift']());}catch(_0x207987){_0xb2709f['push'](_0xb2709f['shift']());}}}(_0xc6ef,0x2af96));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x3f91ef){}['onScanCacheProgressChanged'](_0x54eb5a){}[_0x41e584(0x17f)](_0x5eb832){}['onFinishScan'](_0xb9909e){}[_0x41e584(0x17e)](_0xeab9c2){}}function _0xc6ef(){var _0x58da5b=['onChatCleanDone','onCleanCacheStorageChanged','13KoIuMz','8266dzSWtT','4511430iBTwoW','2354680DWiufY','1074zPxapI','761460LMuKNz','3HfDiNT','2291058Rtqujx','245965icBMCo','763gSsMGh'];_0xc6ef=function(){return _0x58da5b;};return _0xc6ef();} \ No newline at end of file diff --git a/src/core.lib/src/listeners/index.js b/src/core.lib/src/listeners/index.js index 76df60f2..3577267d 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0x4933ae,_0x82a7b1){var _0x1a73d8=_0x4f24,_0x529cab=_0x4933ae();while(!![]){try{var _0x58d273=-parseInt(_0x1a73d8(0x110))/0x1+parseInt(_0x1a73d8(0x112))/0x2+parseInt(_0x1a73d8(0x10e))/0x3*(parseInt(_0x1a73d8(0x10f))/0x4)+parseInt(_0x1a73d8(0x10b))/0x5+parseInt(_0x1a73d8(0x111))/0x6*(-parseInt(_0x1a73d8(0x113))/0x7)+-parseInt(_0x1a73d8(0x115))/0x8*(-parseInt(_0x1a73d8(0x10d))/0x9)+-parseInt(_0x1a73d8(0x10c))/0xa*(parseInt(_0x1a73d8(0x114))/0xb);if(_0x58d273===_0x82a7b1)break;else _0x529cab['push'](_0x529cab['shift']());}catch(_0x51cb84){_0x529cab['push'](_0x529cab['shift']());}}}(_0x35aa,0x3868f));export*from'./NodeIKernelSessionListener';function _0x4f24(_0x51e41e,_0x16982c){var _0x35aa9b=_0x35aa();return _0x4f24=function(_0x4f247d,_0x471984){_0x4f247d=_0x4f247d-0x10b;var _0x5c15aa=_0x35aa9b[_0x4f247d];return _0x5c15aa;},_0x4f24(_0x51e41e,_0x16982c);}export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';function _0x35aa(){var _0x55a775=['3ykhMFL','294328AkDVre','164615MbskKl','24hikRdK','891046PXlidc','35413ITWHfC','80839lcHlfx','8yfSoXo','1210980NkJiXz','730zqnEDv','1719738OqhwlA'];_0x35aa=function(){return _0x55a775;};return _0x35aa();}export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x5c6a9d,_0x3f2cfa){var _0x5702c5=_0x2acf,_0x4401aa=_0x5c6a9d();while(!![]){try{var _0x2896aa=-parseInt(_0x5702c5(0xb8))/0x1*(-parseInt(_0x5702c5(0xb7))/0x2)+parseInt(_0x5702c5(0xb4))/0x3*(parseInt(_0x5702c5(0xb5))/0x4)+-parseInt(_0x5702c5(0xba))/0x5+-parseInt(_0x5702c5(0xb9))/0x6*(parseInt(_0x5702c5(0xbb))/0x7)+-parseInt(_0x5702c5(0xbc))/0x8+-parseInt(_0x5702c5(0xb6))/0x9+parseInt(_0x5702c5(0xb3))/0xa;if(_0x2896aa===_0x3f2cfa)break;else _0x4401aa['push'](_0x4401aa['shift']());}catch(_0x1172f3){_0x4401aa['push'](_0x4401aa['shift']());}}}(_0x2099,0x538df));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x2099(){var _0x3425e2=['1583785aKCCry','29302rNsmyr','5087224JcwUNR','13054070NxkEhK','41121HKPGEC','84vemAxc','3916161XIugSd','2lNMleM','488398vNEtbH','504cQyOdt'];_0x2099=function(){return _0x3425e2;};return _0x2099();}function _0x2acf(_0x1d7296,_0x5f1d87){var _0x2099f0=_0x2099();return _0x2acf=function(_0x2acf22,_0xa40ccc){_0x2acf22=_0x2acf22-0xb3;var _0x3f2efb=_0x2099f0[_0x2acf22];return _0x3f2efb;},_0x2acf(_0x1d7296,_0x5f1d87);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index b58696cf..ecb95187 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x562dc7,_0x67aee9){var _0x49c98a=_0x3228,_0x4de0f2=_0x562dc7();while(!![]){try{var _0x51db1c=parseInt(_0x49c98a(0x18d))/0x1*(parseInt(_0x49c98a(0x18b))/0x2)+-parseInt(_0x49c98a(0x18a))/0x3*(parseInt(_0x49c98a(0x187))/0x4)+parseInt(_0x49c98a(0x191))/0x5*(-parseInt(_0x49c98a(0x18e))/0x6)+-parseInt(_0x49c98a(0x188))/0x7*(-parseInt(_0x49c98a(0x190))/0x8)+-parseInt(_0x49c98a(0x189))/0x9+-parseInt(_0x49c98a(0x18f))/0xa+parseInt(_0x49c98a(0x192))/0xb*(parseInt(_0x49c98a(0x18c))/0xc);if(_0x51db1c===_0x67aee9)break;else _0x4de0f2['push'](_0x4de0f2['shift']());}catch(_0x2d2289){_0x4de0f2['push'](_0x4de0f2['shift']());}}}(_0x265a,0xa1f6d));function _0x3228(_0xba7a2,_0xaca782){var _0x265a15=_0x265a();return _0x3228=function(_0x32287c,_0x4e5879){_0x32287c=_0x32287c-0x187;var _0x4efd88=_0x265a15[_0x32287c];return _0x4efd88;},_0x3228(_0xba7a2,_0xaca782);}function _0x265a(){var _0x45a146=['6521963FIYUne','9388773Amdoqr','389859Pxybse','300tNyvNZ','12xyukHE','6180NPXSNN','24HJjqVW','2654540JEKhpn','8OtSsGL','844030XoZdOo','14392213NVRvzc','16GqBEna'];_0x265a=function(){return _0x45a146;};return _0x265a();} \ No newline at end of file +'use strict';(function(_0xacdbf9,_0x4e9d67){var _0x1ead79=_0x268a,_0x44747a=_0xacdbf9();while(!![]){try{var _0x133709=-parseInt(_0x1ead79(0x1a5))/0x1+-parseInt(_0x1ead79(0x1a0))/0x2+parseInt(_0x1ead79(0x1a4))/0x3+-parseInt(_0x1ead79(0x19f))/0x4+parseInt(_0x1ead79(0x19e))/0x5+parseInt(_0x1ead79(0x1a2))/0x6*(-parseInt(_0x1ead79(0x1a3))/0x7)+parseInt(_0x1ead79(0x1a1))/0x8;if(_0x133709===_0x4e9d67)break;else _0x44747a['push'](_0x44747a['shift']());}catch(_0x42249d){_0x44747a['push'](_0x44747a['shift']());}}}(_0xfed7,0x62548));function _0x268a(_0x3e6ee6,_0x5bcd00){var _0xfed71=_0xfed7();return _0x268a=function(_0x268a11,_0x39b83e){_0x268a11=_0x268a11-0x19e;var _0x5c6b62=_0xfed71[_0x268a11];return _0x5c6b62;},_0x268a(_0x3e6ee6,_0x5bcd00);}function _0xfed7(){var _0xfd23cc=['2264745drGUBH','161834DkGbFG','292210hIkvhX','2894368XquOvb','707996HJVEtf','12159904nWBrAC','1382322BMagKg','21yPgqOF'];_0xfed7=function(){return _0xfd23cc;};return _0xfed7();} \ No newline at end of file diff --git a/src/core.lib/src/services/common.js b/src/core.lib/src/services/common.js index 7b529d8c..45540547 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x29af(_0x92ccdf,_0x30f2f4){var _0x116e22=_0x116e();return _0x29af=function(_0x29afbd,_0xc9cc3e){_0x29afbd=_0x29afbd-0x18a;var _0xb63ebb=_0x116e22[_0x29afbd];return _0xb63ebb;},_0x29af(_0x92ccdf,_0x30f2f4);}(function(_0xce353e,_0x1ad38c){var _0x11140f=_0x29af,_0x2070b2=_0xce353e();while(!![]){try{var _0x447e32=parseInt(_0x11140f(0x193))/0x1+parseInt(_0x11140f(0x18d))/0x2*(parseInt(_0x11140f(0x192))/0x3)+-parseInt(_0x11140f(0x191))/0x4*(-parseInt(_0x11140f(0x18c))/0x5)+-parseInt(_0x11140f(0x194))/0x6*(-parseInt(_0x11140f(0x18a))/0x7)+-parseInt(_0x11140f(0x18f))/0x8+parseInt(_0x11140f(0x18b))/0x9*(-parseInt(_0x11140f(0x190))/0xa)+-parseInt(_0x11140f(0x18e))/0xb;if(_0x447e32===_0x1ad38c)break;else _0x2070b2['push'](_0x2070b2['shift']());}catch(_0x59ff4f){_0x2070b2['push'](_0x2070b2['shift']());}}}(_0x116e,0x331fb));function _0x116e(){var _0x353d07=['15400dyEQJP','2863344ihjhGg','10GriJIa','62432VkYwpM','3XZZNEe','160318mPhuuj','1074534YTkVHv','14iQdgEQ','3480084TFpTVX','25ffMWsN','717722orBlhY'];_0x116e=function(){return _0x353d07;};return _0x116e();}export var GeneralCallResultStatus;(function(_0x5db70e){_0x5db70e[_0x5db70e['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x31799f,_0x16f044){var _0x262457=_0x31ad,_0x4c1588=_0x31799f();while(!![]){try{var _0x59d0bb=-parseInt(_0x262457(0x171))/0x1*(-parseInt(_0x262457(0x168))/0x2)+parseInt(_0x262457(0x170))/0x3+-parseInt(_0x262457(0x16f))/0x4+parseInt(_0x262457(0x16b))/0x5+parseInt(_0x262457(0x16e))/0x6*(parseInt(_0x262457(0x16c))/0x7)+parseInt(_0x262457(0x169))/0x8*(-parseInt(_0x262457(0x16a))/0x9)+parseInt(_0x262457(0x172))/0xa*(-parseInt(_0x262457(0x16d))/0xb);if(_0x59d0bb===_0x16f044)break;else _0x4c1588['push'](_0x4c1588['shift']());}catch(_0x511912){_0x4c1588['push'](_0x4c1588['shift']());}}}(_0x54f2,0xc9650));function _0x31ad(_0x56dbac,_0x33b087){var _0x54f218=_0x54f2();return _0x31ad=function(_0x31adf1,_0x3466fd){_0x31adf1=_0x31adf1-0x168;var _0x4329f1=_0x54f218[_0x31adf1];return _0x4329f1;},_0x31ad(_0x56dbac,_0x33b087);}export var GeneralCallResultStatus;function _0x54f2(){var _0xd08e36=['7BjqyDR','21358051kjbvEk','9166866eCfcLi','3862176wxeaQi','719232AWtTpd','906552mEcHNG','10fOKzwl','2mPmvqw','572216xvjeSd','45glpKiN','7078125IlDnrN'];_0x54f2=function(){return _0xd08e36;};return _0x54f2();}(function(_0x431375){_0x431375[_0x431375['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file diff --git a/src/core.lib/src/services/index.js b/src/core.lib/src/services/index.js index 3013c5f1..9d37614d 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x4d73af,_0x36a26c){var _0x5164bf=_0x3cb6,_0x17532f=_0x4d73af();while(!![]){try{var _0x54a3c2=-parseInt(_0x5164bf(0x1c7))/0x1*(parseInt(_0x5164bf(0x1cc))/0x2)+-parseInt(_0x5164bf(0x1c1))/0x3*(parseInt(_0x5164bf(0x1ca))/0x4)+parseInt(_0x5164bf(0x1c2))/0x5*(parseInt(_0x5164bf(0x1cb))/0x6)+parseInt(_0x5164bf(0x1c9))/0x7+parseInt(_0x5164bf(0x1c6))/0x8*(-parseInt(_0x5164bf(0x1c8))/0x9)+-parseInt(_0x5164bf(0x1c4))/0xa*(-parseInt(_0x5164bf(0x1c5))/0xb)+parseInt(_0x5164bf(0x1c3))/0xc;if(_0x54a3c2===_0x36a26c)break;else _0x17532f['push'](_0x17532f['shift']());}catch(_0x464e5c){_0x17532f['push'](_0x17532f['shift']());}}}(_0x51cd,0xe665e));export*from'./common';function _0x3cb6(_0x2b2104,_0x18ebc4){var _0x51cdf2=_0x51cd();return _0x3cb6=function(_0x3cb6da,_0x5eab21){_0x3cb6da=_0x3cb6da-0x1c1;var _0x418e5d=_0x51cdf2[_0x3cb6da];return _0x418e5d;},_0x3cb6(_0x2b2104,_0x18ebc4);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';function _0x51cd(){var _0x5f47ec=['99639vNateF','3146451XDKqTL','7083644dQCqrn','3054bGbPbv','209810tGfhKV','3WoGZbl','1565ZXzdDz','30645852DyjLqH','74990QpYDYT','1331pvtjin','752WiHYuZ','3Ylzevy'];_0x51cd=function(){return _0x5f47ec;};return _0x51cd();}export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x11096d,_0x4e001d){var _0x487387=_0x4a7c,_0x1932e6=_0x11096d();while(!![]){try{var _0x5a9a93=parseInt(_0x487387(0x70))/0x1*(parseInt(_0x487387(0x6e))/0x2)+-parseInt(_0x487387(0x6d))/0x3*(-parseInt(_0x487387(0x72))/0x4)+-parseInt(_0x487387(0x71))/0x5+parseInt(_0x487387(0x6f))/0x6+parseInt(_0x487387(0x73))/0x7*(parseInt(_0x487387(0x75))/0x8)+-parseInt(_0x487387(0x76))/0x9*(parseInt(_0x487387(0x74))/0xa)+-parseInt(_0x487387(0x6c))/0xb*(parseInt(_0x487387(0x77))/0xc);if(_0x5a9a93===_0x4e001d)break;else _0x1932e6['push'](_0x1932e6['shift']());}catch(_0xbb8f86){_0x1932e6['push'](_0x1932e6['shift']());}}}(_0x5e23,0x3074b));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x5e23(){var _0x4e2c44=['3204fXspvu','2365QvKXDp','421068IOlQgv','82OopFjI','1649940wkxrxZ','5128zRuhDd','1585285fXeSFT','4kblLSO','259XZuiem','83080HASrmC','62264gYkkqL','369tMWCkT'];_0x5e23=function(){return _0x4e2c44;};return _0x5e23();}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';function _0x4a7c(_0x3716fb,_0x3c1460){var _0x5e233d=_0x5e23();return _0x4a7c=function(_0x4a7c59,_0x569673){_0x4a7c59=_0x4a7c59-0x6c;var _0x1a8580=_0x5e233d[_0x4a7c59];return _0x1a8580;},_0x4a7c(_0x3716fb,_0x3c1460);}export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';export*from'./NodeIKernelTipOffService'; \ No newline at end of file diff --git a/src/core.lib/src/sessionConfig.js b/src/core.lib/src/sessionConfig.js index 30eeddba..4e163fef 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x41ad26,_0x2545dd){var _0x4e3536=_0x7ba2,_0x9e02f1=_0x41ad26();while(!![]){try{var _0x40ef15=parseInt(_0x4e3536(0x1f4))/0x1+-parseInt(_0x4e3536(0x1fc))/0x2*(parseInt(_0x4e3536(0x20c))/0x3)+-parseInt(_0x4e3536(0x1eb))/0x4+parseInt(_0x4e3536(0x214))/0x5*(-parseInt(_0x4e3536(0x1fd))/0x6)+parseInt(_0x4e3536(0x1f2))/0x7+parseInt(_0x4e3536(0x1fb))/0x8*(-parseInt(_0x4e3536(0x1fa))/0x9)+parseInt(_0x4e3536(0x210))/0xa*(parseInt(_0x4e3536(0x203))/0xb);if(_0x40ef15===_0x2545dd)break;else _0x9e02f1['push'](_0x9e02f1['shift']());}catch(_0x2ed4bb){_0x9e02f1['push'](_0x9e02f1['shift']());}}}(_0x3098,0xee984));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x3098(){var _0x4a683d=['1623712OYtkfK','366vuzvSi','3045342pMjNdE','NBjSu','MdpYn','NapCat','AOEoy','KNOSETONIOS','496023AHVAnm','IDjjp','vvNvT','VsCvS','jzbeJ','CEQDq','KSUPPORTGOOGLEPUSH','rdJtP','temp','10359FLjjwW','fSeDS','KPHONE','KUNKNOWN','470IYlzeD','version','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','KSUPPORTHMS','10AjBxPu','KSUPPORTVIVOPUSH','KPAD','mVylF','KWINDOWS','4807724kfKLtM','pQEAH','KUNSUPPORTANDROIDPUSH','inTBC','3|2|4|0|1','mkdirSync','KSUPPORTOPPOPUSH','9744840FqbFlS','join','517701EqdruZ','KCOMPUTER','curVersion','ndYXp','KANDROID','IcDTG','9TYFXcN'];_0x3098=function(){return _0x4a683d;};return _0x3098();}import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x7ba2(_0x82510b,_0x41ad7d){var _0x309880=_0x3098();return _0x7ba2=function(_0x7ba2a9,_0x38b8bd){_0x7ba2a9=_0x7ba2a9-0x1eb;var _0x2aee9b=_0x309880[_0x7ba2a9];return _0x2aee9b;},_0x7ba2(_0x82510b,_0x41ad7d);}import _0x17aad8 from'node:path';import _0x9aefc1 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x1479de){var _0x5ef677=_0x7ba2,_0x313b61={'AOEoy':_0x5ef677(0x1ef),'MdpYn':_0x5ef677(0x218),'ndYXp':'KMAC','rdJtP':_0x5ef677(0x1f8),'IDjjp':_0x5ef677(0x20f)},_0x285b69=_0x313b61[_0x5ef677(0x201)]['split']('|'),_0x5710be=0x0;while(!![]){switch(_0x285b69[_0x5710be++]){case'0':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x1ff)]]=0x3]=_0x313b61[_0x5ef677(0x1ff)];continue;case'1':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x1f7)]]=0x4]=_0x313b61['ndYXp'];continue;case'2':_0x1479de[_0x1479de[_0x313b61['rdJtP']]=0x1]=_0x313b61[_0x5ef677(0x20a)];continue;case'3':_0x1479de[_0x1479de[_0x313b61[_0x5ef677(0x204)]]=0x0]=_0x5ef677(0x20f);continue;case'4':_0x1479de[_0x1479de['KIOS']=0x2]='KIOS';continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x5b7369){var _0x39753a=_0x7ba2,_0x22dc5e={'AatDb':_0x39753a(0x20f),'inTBC':_0x39753a(0x20e),'CEQDq':_0x39753a(0x216),'jzbeJ':'KCOMPUTER'};_0x5b7369[_0x5b7369[_0x22dc5e['AatDb']]=0x0]=_0x22dc5e['AatDb'],_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x1ee)]]=0x1]='KPHONE',_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x208)]]=0x2]=_0x22dc5e[_0x39753a(0x208)],_0x5b7369[_0x5b7369[_0x22dc5e[_0x39753a(0x207)]]=0x3]=_0x39753a(0x1f5);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x22e93a){var _0x2921af=_0x7ba2,_0x3b54f3={'fSeDS':'KNOSETONIOS','mVylF':_0x2921af(0x209),'IcDTG':_0x2921af(0x213),'NBjSu':_0x2921af(0x1f1),'CCRbS':'KSUPPORTTPNS','pQEAH':_0x2921af(0x215),'nmMbM':_0x2921af(0x1ed)};_0x22e93a[_0x22e93a[_0x2921af(0x202)]=0x0]=_0x3b54f3[_0x2921af(0x20d)],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x217)]]=0x63]=_0x3b54f3['mVylF'],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1f9)]]=0x3]=_0x3b54f3['IcDTG'],_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1fe)]]=0x4]=_0x3b54f3[_0x2921af(0x1fe)],_0x22e93a[_0x22e93a[_0x3b54f3['CCRbS']]=0x2]='KSUPPORTTPNS',_0x22e93a[_0x22e93a[_0x3b54f3[_0x2921af(0x1ec)]]=0x5]=_0x3b54f3['pQEAH'],_0x22e93a[_0x22e93a[_0x3b54f3['nmMbM']]=0x1]=_0x3b54f3['nmMbM'];}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x4b69c3,_0x3b1826,_0x38b65c){var _0x3ed8d6=_0x7ba2,_0x3fee02={'akwqn':_0x3ed8d6(0x200),'VsCvS':_0x3ed8d6(0x20b),'vvNvT':function(_0x5f1dc2){return _0x5f1dc2();}};const _0x186830=_0x17aad8[_0x3ed8d6(0x1f3)](_0x38b65c,_0x3fee02['akwqn'],_0x3fee02[_0x3ed8d6(0x206)]);_0x9aefc1[_0x3ed8d6(0x1f0)](_0x186830,{'recursive':!![]});let _0x169f4b=await _0x3fee02[_0x3ed8d6(0x205)](getMachineId);const _0x25ecc2={'selfUin':_0x4b69c3,'selfUid':_0x3b1826,'desktopPathConfig':{'account_path':_0x38b65c},'clientVer':qqVersionConfigInfo[_0x3ed8d6(0x1f6)],'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':_0x186830,'deviceInfo':{'guid':_0x169f4b,'buildVer':qqPkgInfo[_0x3ed8d6(0x211)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3ed8d6(0x212)};return Object['assign'](sessionConfig,_0x25ecc2),_0x25ecc2;} \ No newline at end of file +(function(_0x5d6ac2,_0x3bda44){var _0x28f9f6=_0x1cda,_0x877315=_0x5d6ac2();while(!![]){try{var _0x5c2c32=parseInt(_0x28f9f6(0x146))/0x1*(-parseInt(_0x28f9f6(0x152))/0x2)+-parseInt(_0x28f9f6(0x155))/0x3+-parseInt(_0x28f9f6(0x134))/0x4*(-parseInt(_0x28f9f6(0x135))/0x5)+parseInt(_0x28f9f6(0x139))/0x6*(-parseInt(_0x28f9f6(0x151))/0x7)+parseInt(_0x28f9f6(0x13a))/0x8+-parseInt(_0x28f9f6(0x154))/0x9+parseInt(_0x28f9f6(0x130))/0xa*(parseInt(_0x28f9f6(0x12a))/0xb);if(_0x5c2c32===_0x3bda44)break;else _0x877315['push'](_0x877315['shift']());}catch(_0x398de4){_0x877315['push'](_0x877315['shift']());}}}(_0x70fe,0x1d2af));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x70fe(){var _0x1200f9=['lFeiR','0|4|2|3|1','KSUPPORTTPNS','501906PVkWRY','1518248EaGVvE','miwjv','KSUPPORTGOOGLEPUSH','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','curVersion','mkdirSync','LojXM','xuTOL','KSUPPORTOPPOPUSH','ajBbA','KSUPPORTVIVOPUSH','NVloB','30903rcDGBI','join','QsHgK','Upwuh','KANDROID','iXezG','KWINDOWS','KMAC','LjkwF','KUNKNOWN','split','7QlDzNf','6uVaEOt','xuxnE','2122749QJykRJ','90045AOqFVf','pFeKD','NJhiJ','temp','KCOMPUTER','NapCat','WGrxz','KIOS','KSUPPORTHMS','11FWRIaZ','assign','noCLF','version','KUNSUPPORTANDROIDPUSH','KPAD','2240650Cuwoqo','tVWDN','KNOSETONIOS','cmZNh','84NlumzU','35205MPxcWz'];_0x70fe=function(){return _0x1200f9;};return _0x70fe();}import _0x483872 from'node:path';import _0x5c5bed from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x1cda(_0x176b50,_0x1b3301){var _0x70feef=_0x70fe();return _0x1cda=function(_0x1cdaeb,_0x12f591){_0x1cdaeb=_0x1cdaeb-0x124;var _0x97bd96=_0x70feef[_0x1cdaeb];return _0x97bd96;},_0x1cda(_0x176b50,_0x1b3301);}(function(_0x155f6f){var _0x384236=_0x1cda,_0x3e11b1={'miwjv':_0x384236(0x137),'cmZNh':'KUNKNOWN','xuxnE':_0x384236(0x14d),'Upwuh':_0x384236(0x128),'NVloB':_0x384236(0x14c),'tVWDN':'KANDROID'},_0x32a3e5=_0x3e11b1[_0x384236(0x13b)][_0x384236(0x150)]('|'),_0x5900fa=0x0;while(!![]){switch(_0x32a3e5[_0x5900fa++]){case'0':_0x155f6f[_0x155f6f[_0x3e11b1[_0x384236(0x133)]]=0x0]='KUNKNOWN';continue;case'1':_0x155f6f[_0x155f6f['KMAC']=0x4]=_0x3e11b1[_0x384236(0x153)];continue;case'2':_0x155f6f[_0x155f6f[_0x3e11b1[_0x384236(0x149)]]=0x2]=_0x3e11b1[_0x384236(0x149)];continue;case'3':_0x155f6f[_0x155f6f[_0x3e11b1[_0x384236(0x145)]]=0x3]=_0x384236(0x14c);continue;case'4':_0x155f6f[_0x155f6f[_0x384236(0x14a)]=0x1]=_0x3e11b1[_0x384236(0x131)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x23b985){var _0x58b829=_0x1cda,_0x4746bf={'SuHmf':_0x58b829(0x14f),'WGrxz':'KPHONE','lFeiR':_0x58b829(0x12f),'ajBbA':_0x58b829(0x125)};_0x23b985[_0x23b985[_0x4746bf['SuHmf']]=0x0]=_0x4746bf['SuHmf'],_0x23b985[_0x23b985[_0x4746bf[_0x58b829(0x127)]]=0x1]=_0x4746bf[_0x58b829(0x127)],_0x23b985[_0x23b985[_0x4746bf['lFeiR']]=0x2]=_0x4746bf[_0x58b829(0x136)],_0x23b985[_0x23b985[_0x58b829(0x125)]=0x3]=_0x4746bf[_0x58b829(0x143)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0xe6ab7c){var _0x3f9843=_0x1cda,_0x562364={'noCLF':_0x3f9843(0x132),'CvBzz':'KSUPPORTGOOGLEPUSH','LjkwF':_0x3f9843(0x129),'iXezG':_0x3f9843(0x142),'NJhiJ':_0x3f9843(0x138),'LojXM':'KSUPPORTVIVOPUSH','QsHgK':_0x3f9843(0x12e)};_0xe6ab7c[_0xe6ab7c[_0x562364[_0x3f9843(0x12c)]]=0x0]=_0x3f9843(0x132),_0xe6ab7c[_0xe6ab7c[_0x3f9843(0x13c)]=0x63]=_0x562364['CvBzz'],_0xe6ab7c[_0xe6ab7c[_0x562364[_0x3f9843(0x14e)]]=0x3]=_0x562364[_0x3f9843(0x14e)],_0xe6ab7c[_0xe6ab7c[_0x562364[_0x3f9843(0x14b)]]=0x4]='KSUPPORTOPPOPUSH',_0xe6ab7c[_0xe6ab7c[_0x562364[_0x3f9843(0x157)]]=0x2]=_0x562364['NJhiJ'],_0xe6ab7c[_0xe6ab7c[_0x3f9843(0x144)]=0x5]=_0x562364[_0x3f9843(0x140)],_0xe6ab7c[_0xe6ab7c[_0x562364[_0x3f9843(0x148)]]=0x1]=_0x562364['QsHgK'];}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x147354,_0x52181b,_0x126ece){var _0x8a5f56=_0x1cda,_0x3eeb41={'xuTOL':_0x8a5f56(0x126),'oILNZ':_0x8a5f56(0x124),'pFeKD':_0x8a5f56(0x13d)};const _0x4da128=_0x483872[_0x8a5f56(0x147)](_0x126ece,_0x3eeb41[_0x8a5f56(0x141)],_0x3eeb41['oILNZ']);_0x5c5bed[_0x8a5f56(0x13f)](_0x4da128,{'recursive':!![]});let _0x39ba80=await getMachineId();const _0x2454f1={'selfUin':_0x147354,'selfUid':_0x52181b,'desktopPathConfig':{'account_path':_0x126ece},'clientVer':qqVersionConfigInfo[_0x8a5f56(0x13e)],'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':_0x4da128,'deviceInfo':{'guid':_0x39ba80,'buildVer':qqPkgInfo[_0x8a5f56(0x12d)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3eeb41[_0x8a5f56(0x156)]};return Object[_0x8a5f56(0x12b)](sessionConfig,_0x2454f1),_0x2454f1;} \ No newline at end of file diff --git a/src/core.lib/src/utils/config.js b/src/core.lib/src/utils/config.js index 0fd5b01b..4ef33a2f 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x58ed5b=_0x3532;(function(_0x2235bc,_0x72a851){const _0x12cc57=_0x3532,_0x76f9b3=_0x2235bc();while(!![]){try{const _0x22e557=parseInt(_0x12cc57(0x1f9))/0x1+parseInt(_0x12cc57(0x1f2))/0x2+-parseInt(_0x12cc57(0x1f5))/0x3*(parseInt(_0x12cc57(0x1ed))/0x4)+-parseInt(_0x12cc57(0x1f0))/0x5+-parseInt(_0x12cc57(0x1f1))/0x6+parseInt(_0x12cc57(0x1f6))/0x7+parseInt(_0x12cc57(0x1ef))/0x8;if(_0x22e557===_0x72a851)break;else _0x76f9b3['push'](_0x76f9b3['shift']());}catch(_0x12a636){_0x76f9b3['push'](_0x76f9b3['shift']());}}}(_0x4d3e,0x4c52e));import _0xb4e4f2 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x4d3e(){const _0x383736=['1667676toYZLZ','534832eddjpE','.json','INFO','33hgUQuc','2739394sHmbRd','uin','fileLogLevel','97164SEzTkN','fileLog','125556PNEXDB','getConfigDir','5451312qAcFrc','2507445mZRCQm'];_0x4d3e=function(){return _0x383736;};return _0x4d3e();}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x58ed5b(0x1fa)]=!![];['consoleLog']=!![];[_0x58ed5b(0x1f8)]=LogLevel['DEBUG'];['consoleLogLevel']=LogLevel[_0x58ed5b(0x1f4)];constructor(){super();}['getConfigPath'](){const _0x5a61aa=_0x58ed5b;return _0xb4e4f2['join'](this[_0x5a61aa(0x1ee)](),'napcat_'+selfInfo[_0x5a61aa(0x1f7)]+_0x5a61aa(0x1f3));}}function _0x3532(_0x56b637,_0x5a1f9a){const _0x4d3e1=_0x4d3e();return _0x3532=function(_0x353216,_0x1dce7e){_0x353216=_0x353216-0x1ed;let _0x477fe2=_0x4d3e1[_0x353216];return _0x477fe2;},_0x3532(_0x56b637,_0x5a1f9a);}export const napCatConfig=new Config(); \ No newline at end of file +function _0x4318(_0x4ed623,_0x3141fd){const _0xf79809=_0xf798();return _0x4318=function(_0x431847,_0x3bc9bb){_0x431847=_0x431847-0x65;let _0x15652f=_0xf79809[_0x431847];return _0x15652f;},_0x4318(_0x4ed623,_0x3141fd);}const _0x531021=_0x4318;(function(_0x4a9a81,_0x2962c4){const _0x113d55=_0x4318,_0xdbb63d=_0x4a9a81();while(!![]){try{const _0x2a6ddc=-parseInt(_0x113d55(0x67))/0x1+parseInt(_0x113d55(0x75))/0x2+parseInt(_0x113d55(0x70))/0x3+-parseInt(_0x113d55(0x6e))/0x4*(parseInt(_0x113d55(0x72))/0x5)+parseInt(_0x113d55(0x69))/0x6*(-parseInt(_0x113d55(0x6b))/0x7)+-parseInt(_0x113d55(0x66))/0x8*(-parseInt(_0x113d55(0x73))/0x9)+parseInt(_0x113d55(0x6a))/0xa;if(_0x2a6ddc===_0x2962c4)break;else _0xdbb63d['push'](_0xdbb63d['shift']());}catch(_0x4c1520){_0xdbb63d['push'](_0xdbb63d['shift']());}}}(_0xf798,0x4275f));import _0x1c4d6f from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0xf798(){const _0x5bc370=['249366CRsbbz','fileLogLevel','58040LFRywV','539022vrrenH','DEBUG','6UgXjcF','3160590CsXpKU','1257655pUxCha','INFO','fileLog','9236uKNSLC','getConfigPath','1560570lizjoM','uin','265vmGGYK','189ukjFpY','consoleLogLevel'];_0xf798=function(){return _0x5bc370;};return _0xf798();}class Config extends ConfigBase{[_0x531021(0x6d)]=!![];['consoleLog']=!![];[_0x531021(0x65)]=LogLevel[_0x531021(0x68)];[_0x531021(0x74)]=LogLevel[_0x531021(0x6c)];constructor(){super();}[_0x531021(0x6f)](){const _0x1dcf58=_0x531021;return _0x1c4d6f['join'](this['getConfigDir'](),'napcat_'+selfInfo[_0x1dcf58(0x71)]+'.json');}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 100df6b7..4b652526 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -const _0x5fe2d5=_0x41e7;(function(_0x9ac957,_0xfd5def){const _0x55c160=_0x41e7,_0x38241b=_0x9ac957();while(!![]){try{const _0x330c31=-parseInt(_0x55c160(0xc5))/0x1*(parseInt(_0x55c160(0xb8))/0x2)+parseInt(_0x55c160(0xbd))/0x3+parseInt(_0x55c160(0xc4))/0x4+-parseInt(_0x55c160(0xbc))/0x5*(parseInt(_0x55c160(0xc3))/0x6)+parseInt(_0x55c160(0xc0))/0x7*(-parseInt(_0x55c160(0xba))/0x8)+-parseInt(_0x55c160(0xbe))/0x9*(parseInt(_0x55c160(0xbb))/0xa)+parseInt(_0x55c160(0xc1))/0xb;if(_0x330c31===_0xfd5def)break;else _0x38241b['push'](_0x38241b['shift']());}catch(_0x862ad9){_0x38241b['push'](_0x38241b['shift']());}}}(_0x76a7,0xd6356));function _0x41e7(_0x54d537,_0x19db9a){const _0x76a771=_0x76a7();return _0x41e7=function(_0x41e712,_0x420bb3){_0x41e712=_0x41e712-0xb5;let _0x4e3d36=_0x76a771[_0x41e712];return _0x4e3d36;},_0x41e7(_0x54d537,_0x19db9a);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x5fe2d5(0xb7)]='';[_0x5fe2d5(0xc2)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2ae531){this['serverUrl']=_0x2ae531;}async['getRkey'](){const _0x459707=_0x5fe2d5;if(this[_0x459707(0xc8)]())try{await this[_0x459707(0xbf)]();}catch(_0x34c380){logError('获取rkey失败',_0x34c380);}return this[_0x459707(0xc2)];}[_0x5fe2d5(0xc8)](){const _0x3ec486=_0x5fe2d5,_0x2628f5={'wAslo':function(_0x4b374e,_0x30e8cf){return _0x4b374e/_0x30e8cf;}},_0x18ede1=_0x2628f5[_0x3ec486(0xb6)](new Date()[_0x3ec486(0xb5)](),0x3e8);return _0x18ede1>this[_0x3ec486(0xc2)]['expired_time'];}async[_0x5fe2d5(0xbf)](){const _0x87e768=_0x5fe2d5,_0x21d2c6={'XfGxA':_0x87e768(0xc6)};this[_0x87e768(0xc2)]=await RequestUtil[_0x87e768(0xc9)](this[_0x87e768(0xb7)],_0x21d2c6[_0x87e768(0xb9)]);}}function _0x76a7(){const _0x2ebf52=['HttpGetJson','getTime','wAslo','serverUrl','20906nikdbF','XfGxA','8zjWRAI','997410yazqbG','5kyBFKq','4181883HeFBCZ','45kaXzYm','refreshRkey','11997377LpBggm','38408975qGWcIU','rkeyData','8069862ykLjla','1333120hnGqvX','75IfDhRW','GET','http://napcat-sign.wumiao.wang:2082/rkey','isExpired'];_0x76a7=function(){return _0x2ebf52;};return _0x76a7();}export const rkeyManager=new RkeyManager(_0x5fe2d5(0xc7)); \ No newline at end of file +const _0x50b7fa=_0x38ce;(function(_0x53cc07,_0x14a7d9){const _0x4102de=_0x38ce,_0xddfeeb=_0x53cc07();while(!![]){try{const _0x31634b=parseInt(_0x4102de(0x1dc))/0x1*(-parseInt(_0x4102de(0x1da))/0x2)+-parseInt(_0x4102de(0x1d9))/0x3+-parseInt(_0x4102de(0x1e3))/0x4*(parseInt(_0x4102de(0x1e0))/0x5)+parseInt(_0x4102de(0x1e7))/0x6*(-parseInt(_0x4102de(0x1ea))/0x7)+parseInt(_0x4102de(0x1eb))/0x8*(-parseInt(_0x4102de(0x1de))/0x9)+-parseInt(_0x4102de(0x1dd))/0xa*(-parseInt(_0x4102de(0x1d7))/0xb)+-parseInt(_0x4102de(0x1d6))/0xc*(-parseInt(_0x4102de(0x1d5))/0xd);if(_0x31634b===_0x14a7d9)break;else _0xddfeeb['push'](_0xddfeeb['shift']());}catch(_0x2816ee){_0xddfeeb['push'](_0xddfeeb['shift']());}}}(_0xc9f6,0x76621));import{logError}from'@/common/utils/log';function _0x38ce(_0x2973dc,_0x3ccc74){const _0xc9f6ea=_0xc9f6();return _0x38ce=function(_0x38ce99,_0x3d5977){_0x38ce99=_0x38ce99-0x1d5;let _0x4155ce=_0xc9f6ea[_0x38ce99];return _0x4155ce;},_0x38ce(_0x2973dc,_0x3ccc74);}import{RequestUtil}from'@/common/utils/request';function _0xc9f6(){const _0x1f1d91=['2532470LfnYcB','117wyLoiQ','GET','108100eLWzdy','isExpired','getRkey','40GiMctI','swqHw','getTime','serverUrl','2530182XeNOYs','JMvHM','获取rkey失败','14MVVNhF','568568sJEyVU','refreshRkey','HttpGetJson','641940SmsPNq','744QTYEiv','11cQCpTk','expired_time','869202ucwOec','2334dtXvrv','rkeyData','477ikaUYS'];_0xc9f6=function(){return _0x1f1d91;};return _0xc9f6();}class RkeyManager{['serverUrl']='';[_0x50b7fa(0x1db)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x126173){const _0x25908f=_0x50b7fa;this[_0x25908f(0x1e6)]=_0x126173;}async[_0x50b7fa(0x1e2)](){const _0x338894=_0x50b7fa,_0x2b1ac8={'swqHw':_0x338894(0x1e9)};if(this[_0x338894(0x1e1)]())try{await this['refreshRkey']();}catch(_0x3e473e){logError(_0x2b1ac8[_0x338894(0x1e4)],_0x3e473e);}return this['rkeyData'];}[_0x50b7fa(0x1e1)](){const _0x574b89=_0x50b7fa,_0x25929c={'MixYG':function(_0x123b64,_0x19724a){return _0x123b64/_0x19724a;}},_0x1f39a5=_0x25929c['MixYG'](new Date()[_0x574b89(0x1e5)](),0x3e8);return _0x1f39a5>this[_0x574b89(0x1db)][_0x574b89(0x1d8)];}async[_0x50b7fa(0x1ec)](){const _0x5e4baf=_0x50b7fa,_0x31bd5e={'JMvHM':_0x5e4baf(0x1df)};this[_0x5e4baf(0x1db)]=await RequestUtil[_0x5e4baf(0x1ed)](this[_0x5e4baf(0x1e6)],_0x31bd5e[_0x5e4baf(0x1e8)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey'); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index a59416e1..cc93a63f 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -function _0x30ad(_0x2d0855,_0xbfa4d7){const _0x415888=_0x4158();return _0x30ad=function(_0x30ad16,_0x156b50){_0x30ad16=_0x30ad16-0x84;let _0x131a91=_0x415888[_0x30ad16];return _0x131a91;},_0x30ad(_0x2d0855,_0xbfa4d7);}const _0x6e11b4=_0x30ad;(function(_0x55a97f,_0x14f744){const _0xc27ebe=_0x30ad,_0x2e4e9d=_0x55a97f();while(!![]){try{const _0x26d425=-parseInt(_0xc27ebe(0x8f))/0x1+parseInt(_0xc27ebe(0x96))/0x2+parseInt(_0xc27ebe(0x98))/0x3+parseInt(_0xc27ebe(0x8d))/0x4*(-parseInt(_0xc27ebe(0x8a))/0x5)+-parseInt(_0xc27ebe(0x95))/0x6+parseInt(_0xc27ebe(0x89))/0x7*(-parseInt(_0xc27ebe(0x8c))/0x8)+parseInt(_0xc27ebe(0x99))/0x9;if(_0x26d425===_0x14f744)break;else _0x2e4e9d['push'](_0x2e4e9d['shift']());}catch(_0x2a4c93){_0x2e4e9d['push'](_0x2e4e9d['shift']());}}}(_0x4158,0x651e4));import _0x1ccaea from'node:path';import _0x5f0084 from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x4158(){const _0x428ea8=['524256qraYDW','554302YYklHX','resolve','59376FoEJmw','8585271fcRIkp','url','WrapperLoader.cjs','\x0amodule.exports\x20=\x20require(\x22','execPath','file://','curVersion','4095eEaoNG','35ddRfZy','default','2232DBUsDT','4308OKbugf','\x22);\x0aexports\x20=\x20module.exports;\x0a','578552XOtnWc','dirname','join','existsSync','resources/app/versions/','./resources/app/wrapper.node'];_0x4158=function(){return _0x428ea8;};return _0x4158();}const __filename=fileURLToPath(import.meta[_0x6e11b4(0x9a)]),__dirname=dirname(__filename);let wrapperNodePath=_0x1ccaea[_0x6e11b4(0x97)](_0x1ccaea[_0x6e11b4(0x90)](process[_0x6e11b4(0x86)]),_0x6e11b4(0x94));!_0x5f0084[_0x6e11b4(0x92)](wrapperNodePath)&&(wrapperNodePath=_0x1ccaea[_0x6e11b4(0x91)](_0x1ccaea[_0x6e11b4(0x90)](process[_0x6e11b4(0x86)]),_0x6e11b4(0x93)+qqVersionConfigInfo[_0x6e11b4(0x88)]+'/wrapper.node'));let WrapperLoader=_0x1ccaea[_0x6e11b4(0x91)](__dirname,_0x6e11b4(0x84));_0x5f0084['writeFileSync'](WrapperLoader,_0x6e11b4(0x85)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x6e11b4(0x8e));const QQWrapper=(await import(_0x6e11b4(0x87)+WrapperLoader))[_0x6e11b4(0x8b)];export default QQWrapper; \ No newline at end of file +const _0x4c9e6c=_0x166e;function _0x5a52(){const _0x57913a=['execPath','replace','\x22);\x0aexports\x20=\x20module.exports;\x0a','890115GcXdJx','570054ZYdRqy','writeFileSync','existsSync','dirname','516874rotPgf','143512nplgkm','1ckUEgc','./resources/app/wrapper.node','resolve','515295dtOOgf','WrapperLoader.cjs','url','join','default','file://','resources/app/versions/','65164tYiKXv','21XdBbCL','5206820HJdIaV','30ffCxey'];_0x5a52=function(){return _0x57913a;};return _0x5a52();}(function(_0x1bc1eb,_0x49af31){const _0x42c275=_0x166e,_0xfea235=_0x1bc1eb();while(!![]){try{const _0xb31190=parseInt(_0x42c275(0xe5))/0x1*(parseInt(_0x42c275(0xe3))/0x2)+parseInt(_0x42c275(0xda))/0x3*(parseInt(_0x42c275(0xd7))/0x4)+parseInt(_0x42c275(0xde))/0x5+parseInt(_0x42c275(0xdf))/0x6+parseInt(_0x42c275(0xd8))/0x7*(parseInt(_0x42c275(0xe4))/0x8)+-parseInt(_0x42c275(0xe8))/0x9+-parseInt(_0x42c275(0xd9))/0xa;if(_0xb31190===_0x49af31)break;else _0xfea235['push'](_0xfea235['shift']());}catch(_0x1c463c){_0xfea235['push'](_0xfea235['shift']());}}}(_0x5a52,0x29913));import _0x5d8a83 from'node:path';import _0x3e533f from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';function _0x166e(_0x21806b,_0x4c3641){const _0x5a52be=_0x5a52();return _0x166e=function(_0x166e2c,_0x578722){_0x166e2c=_0x166e2c-0xd2;let _0x443bc6=_0x5a52be[_0x166e2c];return _0x443bc6;},_0x166e(_0x21806b,_0x4c3641);}const __filename=fileURLToPath(import.meta[_0x4c9e6c(0xd2)]),__dirname=dirname(__filename);let wrapperNodePath=_0x5d8a83[_0x4c9e6c(0xe7)](_0x5d8a83[_0x4c9e6c(0xe2)](process[_0x4c9e6c(0xdb)]),_0x4c9e6c(0xe6));!_0x3e533f[_0x4c9e6c(0xe1)](wrapperNodePath)&&(wrapperNodePath=_0x5d8a83[_0x4c9e6c(0xd3)](_0x5d8a83[_0x4c9e6c(0xe2)](process[_0x4c9e6c(0xdb)]),_0x4c9e6c(0xd6)+qqVersionConfigInfo['curVersion']+'/wrapper.node'));let WrapperLoader=_0x5d8a83[_0x4c9e6c(0xd3)](__dirname,_0x4c9e6c(0xe9));_0x3e533f[_0x4c9e6c(0xe0)](WrapperLoader,'\x0amodule.exports\x20=\x20require(\x22'+wrapperNodePath[_0x4c9e6c(0xdc)](/\\/g,'\x5c\x5c')+_0x4c9e6c(0xdd));const QQWrapper=(await import(_0x4c9e6c(0xd5)+WrapperLoader))[_0x4c9e6c(0xd4)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/main.ts b/src/onebot11/main.ts index c54954fc..224284ee 100644 --- a/src/onebot11/main.ts +++ b/src/onebot11/main.ts @@ -23,7 +23,7 @@ import { getGroup, getGroupMember, groupNotifies, selfInfo, tempGroupCodeMap } f 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'; @@ -38,6 +38,7 @@ import { Data as DeviceData } from '@/proto/SysMessage.DeviceChange'; import { OB11FriendPokeEvent, OB11GroupPokeEvent } from './event/notice/OB11PokeEvent'; import { isEqual } from '@/common/utils/helper'; import { MiniAppUtil } from '@/common/utils/Packet' +import { RequestUtil } from '@/common/utils/request'; //下面几个其实应该移进Core-Data 缓存实现 但是现在在这里方便 // @@ -574,4 +575,7 @@ export class NapCatOnebot11 { // setTimeout(async () => { // let ret = await MiniAppUtil.RunMiniAppWithGUI(); // console.log(ret); -// }, 20000); \ No newline at end of file +// }, 20000); +setTimeout(async () => { + await SignMusicWrapper('429450678'); +}, 15000) \ No newline at end of file