From 5b42f8b74343d7683eb3bab0b1e0f9353074cd5b 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 23:06:57 +0800 Subject: [PATCH] refactor: qqmusic card & requests --- src/common/utils/file.ts | 35 ++++++++++++++++++- 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.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.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 +- .../msg/SendMsg/create-send-elements.ts | 7 +++- 44 files changed, 82 insertions(+), 44 deletions(-) diff --git a/src/common/utils/file.ts b/src/common/utils/file.ts index 81f95865..3b7f5c71 100644 --- a/src/common/utils/file.ts +++ b/src/common/utils/file.ts @@ -1,5 +1,5 @@ import fs from 'fs'; -import fsPromise from 'fs/promises'; +import fsPromise, { stat } from 'fs/promises'; import crypto from 'crypto'; import util from 'util'; import path from 'node:path'; @@ -50,7 +50,40 @@ export function checkFileReceived(path: string, timeout: number = 3000): Promise check(); }); } +// 定义一个异步函数来检查文件是否存在 +export async function checkFileReceived2(path: string, timeout: number = 3000): Promise { + // 使用 Promise.race 来同时进行文件状态检查和超时计时 + // Promise.race 会返回第一个解决(resolve)或拒绝(reject)的 Promise + await Promise.race([ + checkFile(path), + timeoutPromise(timeout, `文件不存在: ${path}`), + ]); +} +// 转换超时时间至 Promise +function timeoutPromise(timeout: number, errorMsg: string): Promise { + return new Promise((_, reject) => { + setTimeout(() => { + reject(new Error(errorMsg)); + }, timeout); + }); +} + +// 异步检查文件是否存在 +async function checkFile(path: string): Promise { + try { + await stat(path); + } catch (error: any) { + if (error.code === 'ENOENT') { + // 如果文件不存在,则抛出一个错误 + throw new Error(`文件不存在: ${path}`); + } else { + // 对于 stat 调用的其他错误,重新抛出 + throw error; + } + } + // 如果文件存在,则无需做任何事情,Promise 解决(resolve)自身 +} export async function file2base64(path: string) { const readFile = util.promisify(fs.readFile); const result = { diff --git a/src/core b/src/core index cfc81f22..658ff94d 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit cfc81f2218bf5959e9bd39821c6a13c641b99d4b +Subproject commit 658ff94d697732edb652af089e2308a563dee740 diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index dee2547c..7d126f02 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -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 +var _0x5d45ba=_0x45f4;function _0x45f4(_0x44e490,_0x38aec7){var _0x5deaca=_0x5dea();return _0x45f4=function(_0x45f456,_0x523741){_0x45f456=_0x45f456-0x1e4;var _0x3d1278=_0x5deaca[_0x45f456];return _0x3d1278;},_0x45f4(_0x44e490,_0x38aec7);}function _0x5dea(){var _0x5e735a=['onMSFStatusChange','2RIaAEC','29480eRCTKF','getGroupCode','987KrMoNx','623040RfwnOX','7007900oHOLDG','1531677nVKMUZ','1196928xWXwkP','4734whVRoh','885912SGCfCF','onMSFSsoError','3075smPsjw'];_0x5dea=function(){return _0x5e735a;};return _0x5dea();}(function(_0x545333,_0x220bfc){var _0xccd8c7=_0x45f4,_0x397e66=_0x545333();while(!![]){try{var _0x1670ce=parseInt(_0xccd8c7(0x1ee))/0x1+-parseInt(_0xccd8c7(0x1ea))/0x2*(parseInt(_0xccd8c7(0x1f0))/0x3)+-parseInt(_0xccd8c7(0x1e6))/0x4+parseInt(_0xccd8c7(0x1e8))/0x5*(-parseInt(_0xccd8c7(0x1e5))/0x6)+parseInt(_0xccd8c7(0x1ed))/0x7*(parseInt(_0xccd8c7(0x1eb))/0x8)+-parseInt(_0xccd8c7(0x1e4))/0x9+parseInt(_0xccd8c7(0x1ef))/0xa;if(_0x1670ce===_0x220bfc)break;else _0x397e66['push'](_0x397e66['shift']());}catch(_0x14bdbf){_0x397e66['push'](_0x397e66['shift']());}}}(_0x5dea,0x7865f));export class DependsAdapter{[_0x5d45ba(0x1e9)](_0x233c16,_0x171c24){}[_0x5d45ba(0x1e7)](_0x4352a7){}[_0x5d45ba(0x1ec)](_0x1f0d4d){}} \ 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 9a3e9b1a..2d76630d 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -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 +var _0x2ad13b=_0x5ad7;function _0x4abb(){var _0x537a7a=['960EgeVWp','dispatchRequest','408695KXFapV','2884005wZkLBy','9770MtJYqU','3jaaltY','20005qnGMxX','dispatchCall','56796vkJMjW','3515132HgWJlD','2nhLcWD','8063UAUcTe','595567GFPAyM','8uWYFGt','dispatchCallWithJson','91OzMSBM'];_0x4abb=function(){return _0x537a7a;};return _0x4abb();}function _0x5ad7(_0x4429e8,_0x54b55a){var _0x4abbee=_0x4abb();return _0x5ad7=function(_0x5ad780,_0x16ed60){_0x5ad780=_0x5ad780-0xdc;var _0x271b7d=_0x4abbee[_0x5ad780];return _0x271b7d;},_0x5ad7(_0x4429e8,_0x54b55a);}(function(_0x100fff,_0x190d9d){var _0x4b5ca9=_0x5ad7,_0x5b7594=_0x100fff();while(!![]){try{var _0x22741a=parseInt(_0x4b5ca9(0xe5))/0x1*(-parseInt(_0x4b5ca9(0xdd))/0x2)+parseInt(_0x4b5ca9(0xe8))/0x3*(parseInt(_0x4b5ca9(0xdc))/0x4)+-parseInt(_0x4b5ca9(0xe9))/0x5*(-parseInt(_0x4b5ca9(0xe3))/0x6)+parseInt(_0x4b5ca9(0xdf))/0x7*(parseInt(_0x4b5ca9(0xe0))/0x8)+parseInt(_0x4b5ca9(0xe6))/0x9+-parseInt(_0x4b5ca9(0xe7))/0xa*(parseInt(_0x4b5ca9(0xde))/0xb)+-parseInt(_0x4b5ca9(0xeb))/0xc*(-parseInt(_0x4b5ca9(0xe2))/0xd);if(_0x22741a===_0x190d9d)break;else _0x5b7594['push'](_0x5b7594['shift']());}catch(_0x4590fd){_0x5b7594['push'](_0x5b7594['shift']());}}}(_0x4abb,0xcb4fc));export class DispatcherAdapter{[_0x2ad13b(0xe4)](_0x5dfd5e){}[_0x2ad13b(0xea)](_0x403d38){}[_0x2ad13b(0xe1)](_0x4cbb31){}} \ 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 5b74676b..3ed82a69 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -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 +function _0x2bb3(_0x267c6d,_0x1247a3){var _0x3def98=_0x3def();return _0x2bb3=function(_0x2bb39d,_0x325723){_0x2bb39d=_0x2bb39d-0x78;var _0x3faebe=_0x3def98[_0x2bb39d];return _0x3faebe;},_0x2bb3(_0x267c6d,_0x1247a3);}function _0x3def(){var _0x56165c=['4mqqXzq','getAppSetting','onShowErrUITips','337mJmBvt','27410ZqvQxp','24087KDNYIC','onUpdateGeneralFlag','1128325DTaioB','2165184TLeQPz','1322VfwLGi','onGetOfflineMsg','7qNgjyy','fixPicImgType','651620itOfyS','1206IJQKhl','onInstallFinished','onLog','1867832vyYIfb','onGetSrvCalTime'];_0x3def=function(){return _0x56165c;};return _0x3def();}var _0x36a2bd=_0x2bb3;(function(_0x52181f,_0x516809){var _0x192a57=_0x2bb3,_0x12551c=_0x52181f();while(!![]){try{var _0x64e0a8=-parseInt(_0x192a57(0x7f))/0x1*(-parseInt(_0x192a57(0x85))/0x2)+-parseInt(_0x192a57(0x81))/0x3*(-parseInt(_0x192a57(0x7c))/0x4)+-parseInt(_0x192a57(0x89))/0x5+parseInt(_0x192a57(0x84))/0x6+-parseInt(_0x192a57(0x87))/0x7*(-parseInt(_0x192a57(0x7a))/0x8)+parseInt(_0x192a57(0x8a))/0x9*(-parseInt(_0x192a57(0x80))/0xa)+-parseInt(_0x192a57(0x83))/0xb;if(_0x64e0a8===_0x516809)break;else _0x12551c['push'](_0x12551c['shift']());}catch(_0x4d98de){_0x12551c['push'](_0x12551c['shift']());}}}(_0x3def,0x36ea8));export class GlobalAdapter{[_0x36a2bd(0x79)](..._0xdfd026){}[_0x36a2bd(0x7b)](..._0x566313){}[_0x36a2bd(0x7e)](..._0xc632c7){}[_0x36a2bd(0x88)](..._0x93abce){}[_0x36a2bd(0x7d)](..._0x40986f){}[_0x36a2bd(0x78)](..._0x1aee90){}[_0x36a2bd(0x82)](..._0xe07080){}[_0x36a2bd(0x86)](..._0x5efbe9){}} \ 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 4e264b24..c84ce22c 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(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 +function _0x5650(_0x1ae3cc,_0xf41a1d){var _0x32cec8=_0x32ce();return _0x5650=function(_0x565038,_0x1dd77a){_0x565038=_0x565038-0x10f;var _0x48a686=_0x32cec8[_0x565038];return _0x48a686;},_0x5650(_0x1ae3cc,_0xf41a1d);}(function(_0x27376f,_0x108381){var _0x257d8f=_0x5650,_0x10125b=_0x27376f();while(!![]){try{var _0x39d84b=parseInt(_0x257d8f(0x116))/0x1+-parseInt(_0x257d8f(0x111))/0x2*(parseInt(_0x257d8f(0x10f))/0x3)+parseInt(_0x257d8f(0x113))/0x4+parseInt(_0x257d8f(0x112))/0x5+-parseInt(_0x257d8f(0x110))/0x6+parseInt(_0x257d8f(0x114))/0x7+-parseInt(_0x257d8f(0x115))/0x8;if(_0x39d84b===_0x108381)break;else _0x10125b['push'](_0x10125b['shift']());}catch(_0x30eb3a){_0x10125b['push'](_0x10125b['shift']());}}}(_0x32ce,0x9b19d));function _0x32ce(){var _0x37dd4a=['5793970WlAjAs','3839372UEjMdl','7728679XLaFvA','17582952XMHnzs','401437IoCDZG','17307ePnYWk','2703828CHwOtm','118kJgsBd'];_0x32ce=function(){return _0x37dd4a;};return _0x32ce();}export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';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 cb9f1ab5..5f297e6a 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -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 +const _0x189a92=_0x4589;function _0x1c40(){const _0x22d397=['session','createCollection','7vhsioZ','createNewCollectionItem','2642538IEvuig','3072JEqEdD','getCollectionService','3172113CqMSNp','180728qrKzDB','getCollectionItemList','toString','getAllCollection','323682tgaZrF','5580632bhdpZI','1585900OqieMx','now','156yoclJK'];_0x1c40=function(){return _0x22d397;};return _0x1c40();}function _0x4589(_0x4e863b,_0x5193ac){const _0x1c40df=_0x1c40();return _0x4589=function(_0x458974,_0x5e0863){_0x458974=_0x458974-0x168;let _0x118746=_0x1c40df[_0x458974];return _0x118746;},_0x4589(_0x4e863b,_0x5193ac);}(function(_0x14e4b6,_0x35ad18){const _0xd58459=_0x4589,_0x300a98=_0x14e4b6();while(!![]){try{const _0x39e532=parseInt(_0xd58459(0x16f))/0x1+parseInt(_0xd58459(0x168))/0x2*(parseInt(_0xd58459(0x173))/0x3)+-parseInt(_0xd58459(0x16b))/0x4+parseInt(_0xd58459(0x171))/0x5+-parseInt(_0xd58459(0x178))/0x6+-parseInt(_0xd58459(0x176))/0x7*(-parseInt(_0xd58459(0x170))/0x8)+-parseInt(_0xd58459(0x16a))/0x9;if(_0x39e532===_0x35ad18)break;else _0x300a98['push'](_0x300a98['shift']());}catch(_0x2341b2){_0x300a98['push'](_0x300a98['shift']());}}}(_0x1c40,0x8da9b));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x189a92(0x175)](_0x49d82f,_0x34949a,_0x213446,_0x2344be,_0x2fe098){const _0x28716b=_0x189a92;let _0x42accc={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x49d82f,'strId':_0x213446,'groupId':'0','groupName':'','uid':_0x34949a},'customGroupId':'0','createTime':Date[_0x28716b(0x172)]()['toString'](),'sequence':Date[_0x28716b(0x172)]()[_0x28716b(0x16d)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x2344be,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2fe098,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x28716b(0x174)][_0x28716b(0x169)]()[_0x28716b(0x177)](_0x42accc);}static async[_0x189a92(0x16e)](_0x4068b5=0x0,_0x2b59d3=0x32){const _0x3a6012=_0x189a92;let _0x551b43={'category':_0x4068b5,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x2b59d3,'searchDown':!![]};return napCatCore[_0x3a6012(0x174)][_0x3a6012(0x169)]()[_0x3a6012(0x16c)](_0x551b43);}} \ 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 1db8faaa..2f3eae0a 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -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 +function _0x1d1e(_0x35b432,_0x259839){const _0x456c0a=_0x456c();return _0x1d1e=function(_0x1d1e49,_0x1cee59){_0x1d1e49=_0x1d1e49-0x9a;let _0x29e4d4=_0x456c0a[_0x1d1e49];return _0x29e4d4;},_0x1d1e(_0x35b432,_0x259839);}const _0x27f6e4=_0x1d1e;(function(_0x157853,_0x423560){const _0x21f7a9=_0x1d1e,_0x2c5b9c=_0x157853();while(!![]){try{const _0x5a855c=-parseInt(_0x21f7a9(0xd4))/0x1*(-parseInt(_0x21f7a9(0xa3))/0x2)+parseInt(_0x21f7a9(0xc8))/0x3+-parseInt(_0x21f7a9(0xbd))/0x4+parseInt(_0x21f7a9(0xd3))/0x5*(-parseInt(_0x21f7a9(0xbe))/0x6)+-parseInt(_0x21f7a9(0xa0))/0x7*(-parseInt(_0x21f7a9(0xab))/0x8)+-parseInt(_0x21f7a9(0xae))/0x9+-parseInt(_0x21f7a9(0xd7))/0xa;if(_0x5a855c===_0x423560)break;else _0x2c5b9c['push'](_0x2c5b9c['shift']());}catch(_0x23c919){_0x2c5b9c['push'](_0x2c5b9c['shift']());}}}(_0x456c,0xf05c0));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x55cd7e from'path';import _0x49086d from'fs';import _0x10d05e from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x40040e from'file-type';import{MsgListener}from'@/core/listeners';function _0x456c(){const _0x132d61=['util','getVideoUrl','13573168DQpEGC','downloadRichMedia','clearCacheDataByKeys','1549174MfYyeo','scanCache','/gchatpic_new/0/0-0-','/download','PIC','set','ext','group_rkey','8kkTsnz','filePath','toUpperCase','8461359UxrbuY','图片url获取失败','startsWith','getRichMediaFilePathForGuild','getDesktopTmpPath','basename','getChatCacheList','getImageUrl','getFileSize','elementId','getHotUpdateCachePath','addCacheScannedPaths','msgId','getVideoPlayUrlV2','copyFile','3506528MjtUbb','6wyddfY','domainUrl','onLoginSuccess','getFileType','addCacheScanedPaths','setCacheSilentScan','nnnJa','delete','urlResult','tmp','4914312PLIjeb','getStorageCleanService','下载超时','mtrZU','existsSync','ykGlN','WutwN','getImageSize','VMkhI','hotUpdate','clearChatCacheInfo','1826155mKRFWT','1EUgyba','downloadMedia','CpvVx','11851890nTdHMO','md5HexStr','getMsgService','session','defaultFileDownloadPath','fileUuid','KiaOP','addListener','getRichMediaService','join','includes','qExhT','clearChatCache','FxGdN','private_rkey','uploadFile','fileTypeFromFile','&rkey='];_0x456c=function(){return _0x132d61;};return _0x456c();}import _0x58dcdd 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['onRichMediaDownloadComplete']=_0x3a39cc=>{const _0x2ad0f9=_0x1d1e,_0x2c00cc={'CpvVx':function(_0x3e9ef9,_0x52dc2c){return _0x3e9ef9(_0x52dc2c);}};for(const [_0xeac528,_0x2f247e]of downloadMediaTasks){_0x2c00cc[_0x2ad0f9(0xd6)](_0x2f247e,_0x3a39cc),downloadMediaTasks[_0x2ad0f9(0xc5)](_0xeac528);}},setTimeout(()=>{const _0x3aca35=_0x1d1e;napCatCore[_0x3aca35(0xc0)](()=>{const _0xf0c73b=_0x3aca35;napCatCore[_0xf0c73b(0xde)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x27f6e4(0xc1)](_0xc3254d){const _0x229174=_0x27f6e4;return _0x40040e[_0x229174(0x9c)](_0xc3254d);}static async['copyFile'](_0x540b8f,_0x4a5b81){const _0x2aa70d=_0x27f6e4;await napCatCore[_0x2aa70d(0x9e)][_0x2aa70d(0xbc)](_0x540b8f,_0x4a5b81);}static async['getFileSize'](_0x2f4a66){const _0x506cb0=_0x27f6e4;return await napCatCore['util'][_0x506cb0(0xb6)](_0x2f4a66);}static async[_0x27f6e4(0x9f)](_0x43d509,_0x20f3da){const _0x22fdee=_0x27f6e4;return(await napCatCore[_0x22fdee(0xda)][_0x22fdee(0xdf)]()[_0x22fdee(0xbb)]({'chatType':_0x43d509['chatType'],'peerUid':_0x43d509['peerUid'],'guildId':'0'},_0x43d509[_0x22fdee(0xba)],_0x20f3da[_0x22fdee(0xb7)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x22fdee(0xc6)][_0x22fdee(0xbf)][0x0]['url'];}static async[_0x27f6e4(0x9b)](_0x4886ce,_0x3b19e1=ElementType[_0x27f6e4(0xa7)],_0x2030d9=0x0){const _0x2502b0=_0x27f6e4,_0x219535={'ykGlN':function(_0x50b2b4,_0x5c09c0){return _0x50b2b4(_0x5c09c0);},'FxGdN':function(_0x295ddb,_0x512d22){return _0x295ddb+_0x512d22;},'IAptz':function(_0x1e9ed7,_0x54d664){return _0x1e9ed7===_0x54d664;}},_0x23be88=await _0x219535[_0x2502b0(0xcd)](calculateFileMD5,_0x4886ce);let _0x2acb59=(await NTQQFileApi[_0x2502b0(0xc1)](_0x4886ce))?.[_0x2502b0(0xa9)]||'';_0x2acb59&&(_0x2acb59=_0x219535[_0x2502b0(0xe4)]('.',_0x2acb59));let _0x3480a6=''+_0x55cd7e[_0x2502b0(0xb3)](_0x4886ce);_0x219535['IAptz'](_0x3480a6['indexOf']('.'),-0x1)&&(_0x3480a6+=_0x2acb59);const _0x308add=napCatCore[_0x2502b0(0xda)][_0x2502b0(0xd9)]()[_0x2502b0(0xb1)]({'md5HexStr':_0x23be88,'fileName':_0x3480a6,'elementType':_0x3b19e1,'elementSubType':_0x2030d9,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi['copyFile'](_0x4886ce,_0x308add);const _0x31bb72=await NTQQFileApi['getFileSize'](_0x4886ce);return{'md5':_0x23be88,'fileName':_0x3480a6,'path':_0x308add,'fileSize':_0x31bb72,'ext':_0x2acb59};}static async[_0x27f6e4(0xd5)](_0x5a89a1,_0x2658ec,_0x25dea7,_0x37534b,_0x4e8b37,_0x26fb8d,_0xbd5580=0x3e8*0x3c*0x2,_0x36455c=![]){const _0x6b7b1d=_0x27f6e4,_0xcf1f76={'dERkc':function(_0x3f5722,_0x1d1ccb){return _0x3f5722===_0x1d1ccb;},'VMkhI':function(_0x45a487){return _0x45a487();}};if(_0x26fb8d&&_0x49086d[_0x6b7b1d(0xcc)](_0x26fb8d)){if(_0x36455c)try{await _0x10d05e['unlink'](_0x26fb8d);}catch(_0x294dd9){}else return _0x26fb8d;}return new Promise((_0x4ce84a,_0x33d3b5)=>{const _0xcdaf33=_0x6b7b1d,_0x2d5929={'LLPRJ':function(_0x2ed9bb,_0x5d08d9){return _0xcf1f76['dERkc'](_0x2ed9bb,_0x5d08d9);},'qExhT':function(_0x8115e3,_0x1e595a){return _0x8115e3(_0x1e595a);}};let _0x166bac=![];const _0xd04bce=_0x12d3ab=>{const _0x43ef6a=_0x1d1e;if(_0x2d5929['LLPRJ'](_0x12d3ab[_0x43ef6a(0xba)],_0x5a89a1)){_0x166bac=!![];let _0x14aaa0=_0x12d3ab[_0x43ef6a(0xac)];if(_0x14aaa0['startsWith']('\x5c')){const _0x2fe0bb=sessionConfig[_0x43ef6a(0xdb)];_0x14aaa0=_0x55cd7e[_0x43ef6a(0xe0)](_0x2fe0bb,_0x14aaa0);}_0x2d5929[_0x43ef6a(0xe2)](_0x4ce84a,_0x14aaa0);}};downloadMediaTasks[_0xcdaf33(0xa8)](_0xcf1f76[_0xcdaf33(0xd0)](randomUUID),_0xd04bce),setTimeout(()=>{const _0x4535d8=_0xcdaf33;!_0x166bac&&_0x33d3b5(_0x4535d8(0xca));},_0xbd5580),napCatCore[_0xcdaf33(0xda)][_0xcdaf33(0xd9)]()[_0xcdaf33(0xa1)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x5a89a1,'chatType':_0x2658ec,'peerUid':_0x25dea7,'elementId':_0x37534b,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x4e8b37});});}static async[_0x27f6e4(0xcf)](_0x3a86fa){const _0x1c35d3={'mNktO':function(_0x3a0e96,_0x5884b6){return _0x3a0e96(_0x5884b6);},'hIJBV':function(_0xb96c42,_0x1462fc,_0x3c8c6c){return _0xb96c42(_0x1462fc,_0x3c8c6c);}};return new Promise((_0x5f0808,_0x2c98f9)=>{_0x1c35d3['hIJBV'](_0x58dcdd,_0x3a86fa,(_0x56f9c3,_0x1276b5)=>{_0x56f9c3?_0x2c98f9(_0x56f9c3):_0x1c35d3['mNktO'](_0x5f0808,_0x1276b5);});});}static async[_0x27f6e4(0xb5)](_0x5e0fd0,_0x12b217){const _0x5cf37a=_0x27f6e4,_0x236c16={'KiaOP':_0x5cf37a(0xa6),'LqYzM':_0x5cf37a(0x9d),'WutwN':function(_0x41454a,_0x23d7c9){return _0x41454a+_0x23d7c9;},'Wgdtd':function(_0x1bac27,_0x7415de){return _0x1bac27||_0x7415de;},'mtrZU':function(_0x582346,_0x2fe47b){return _0x582346||_0x2fe47b;},'nnnJa':function(_0x445945,_0x136c47,_0x4c9670){return _0x445945(_0x136c47,_0x4c9670);}};if(!_0x5e0fd0)return'';const _0x3e300b=_0x5e0fd0['originImageUrl'],_0x18f746=_0x5e0fd0[_0x5cf37a(0xd8)],_0x5b2ee9=_0x5e0fd0[_0x5cf37a(0xd8)],_0x4f034e=_0x5e0fd0[_0x5cf37a(0xdc)];if(_0x3e300b){if(_0x3e300b[_0x5cf37a(0xb0)](_0x236c16[_0x5cf37a(0xdd)])){if(_0x3e300b[_0x5cf37a(0xe1)](_0x236c16['LqYzM']))return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b);const _0x445378=await rkeyManager['getRkey'](),_0x18b5f1=_0x12b217?_0x445378[_0x5cf37a(0x9a)]:_0x445378[_0x5cf37a(0xaa)];return _0x236c16[_0x5cf37a(0xce)](IMAGE_HTTP_HOST_NT,_0x3e300b)+(''+_0x18b5f1);}else return IMAGE_HTTP_HOST+_0x3e300b;}else{if(_0x236c16['Wgdtd'](_0x5b2ee9,_0x18f746))return IMAGE_HTTP_HOST+_0x5cf37a(0xa5)+_0x236c16[_0x5cf37a(0xcb)](_0x5b2ee9,_0x18f746)[_0x5cf37a(0xad)]()+'/0';}return _0x236c16[_0x5cf37a(0xc4)](logDebug,_0x5cf37a(0xaf),_0x5e0fd0),'';}}export class NTQQFileCacheApi{static async[_0x27f6e4(0xc3)](_0x1e6270=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x4fb8f9=[_0x27f6e4(0xc7),_0x27f6e4(0xd1)]){const _0x57be38=_0x27f6e4;return napCatCore['session'][_0x57be38(0xc9)]()[_0x57be38(0xa2)](_0x4fb8f9);}static[_0x27f6e4(0xb9)](_0x1ce39c={}){const _0x17b814=_0x27f6e4;return napCatCore[_0x17b814(0xda)][_0x17b814(0xc9)]()[_0x17b814(0xc2)](_0x1ce39c);}static[_0x27f6e4(0xa4)](){const _0x390903=_0x27f6e4;return napCatCore[_0x390903(0xda)][_0x390903(0xc9)]()[_0x390903(0xa4)]();}static[_0x27f6e4(0xb8)](){return'';}static[_0x27f6e4(0xb2)](){return'';}static[_0x27f6e4(0xb4)](_0x3a7a75,_0x220764=0x3e8,_0x2e7a64=0x0){const _0x84e4a6=_0x27f6e4;return napCatCore[_0x84e4a6(0xda)][_0x84e4a6(0xc9)]()['getChatCacheInfo'](_0x3a7a75,_0x220764,0x1,_0x2e7a64);}static['getFileCacheInfo'](_0x54413b,_0x2687b9=0x3e8,_0x368837){const _0x4131e4=_0x368837?_0x368837:{'fileType':_0x54413b};}static async[_0x27f6e4(0xe3)](_0x5e5717=[],_0x27fa76=[]){const _0x415fe8=_0x27f6e4;return napCatCore['session'][_0x415fe8(0xc9)]()[_0x415fe8(0xd2)](_0x5e5717,_0x27fa76);}} \ 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 df240b93..ebc7ed02 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -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 +const _0x38b9dd=_0x6742;function _0x6742(_0x5f4119,_0x4603f9){const _0xf6cb48=_0xf6cb();return _0x6742=function(_0x674253,_0x3e29bb){_0x674253=_0x674253-0xf6;let _0x2c38a2=_0xf6cb48[_0x674253];return _0x2c38a2;},_0x6742(_0x5f4119,_0x4603f9);}(function(_0x519bdf,_0x17a257){const _0x475c25=_0x6742,_0x27c58b=_0x519bdf();while(!![]){try{const _0x1b0abe=parseInt(_0x475c25(0xff))/0x1*(parseInt(_0x475c25(0x105))/0x2)+parseInt(_0x475c25(0xfd))/0x3*(-parseInt(_0x475c25(0x100))/0x4)+-parseInt(_0x475c25(0xfc))/0x5*(-parseInt(_0x475c25(0x108))/0x6)+parseInt(_0x475c25(0xfb))/0x7*(-parseInt(_0x475c25(0x102))/0x8)+parseInt(_0x475c25(0x10b))/0x9*(parseInt(_0x475c25(0x104))/0xa)+-parseInt(_0x475c25(0x107))/0xb+parseInt(_0x475c25(0xf8))/0xc;if(_0x1b0abe===_0x17a257)break;else _0x27c58b['push'](_0x27c58b['shift']());}catch(_0x1b805b){_0x27c58b['push'](_0x27c58b['shift']());}}}(_0xf6cb,0xc5bd2));function _0xf6cb(){const _0x1fa83e=['isBuddy','35apIlvk','250FOIUgT','9zNfXQg','length','1AHllWr','1809360XOEDxe','getBuddyService','1554640wmpUbj','split','6487270ELLzyk','514984yFWAWk','CallNormalEvent','2927771EIIlvq','174018kdfTyr','approvalFriendRequest','NodeIKernelBuddyService/getBuddyList','18MSRgnI','session','xwDGp','buddyList','4796076MTyhHT','push'];_0xf6cb=function(){return _0x1fa83e;};return _0xf6cb();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x38b9dd(0xfa)](_0xda938c){const _0x2b6000=_0x38b9dd;return napCatCore[_0x2b6000(0x10c)][_0x2b6000(0x101)]()[_0x2b6000(0xfa)](_0xda938c);}static async['getFriends'](_0x5a017e=![]){const _0x1b7cbc=_0x38b9dd,_0x20db07={'bvHeT':_0x1b7cbc(0x10a),'xwDGp':'NodeIKernelBuddyListener/onBuddyListChange'};let [_0x12e7fc,_0x38e0b9]=await NTEventDispatch[_0x1b7cbc(0x106)](_0x20db07['bvHeT'],_0x20db07[_0x1b7cbc(0xf6)],0x1,0x1388,_0x5a017e);const _0x242788=[];for(const _0x420bb6 of _0x38e0b9){for(const _0x5c7ae4 of _0x420bb6[_0x1b7cbc(0xf7)]){_0x242788[_0x1b7cbc(0xf9)](_0x5c7ae4);}}return _0x242788;}static async['handleFriendRequest'](_0x184b74,_0x33e22a){const _0x20bf94=_0x38b9dd;let _0x41e885=_0x184b74[_0x20bf94(0x103)]('|');if(_0x41e885[_0x20bf94(0xfe)]<0x2)return;let _0x5f5c06=_0x41e885[0x0],_0x2b85c2=_0x41e885[0x1];napCatCore['session'][_0x20bf94(0x101)]()?.[_0x20bf94(0x109)]({'friendUid':_0x5f5c06,'reqTime':_0x2b85c2,'accept':_0x33e22a});}} \ 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 33844d9c..d41fa3df 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -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 +const _0x2b8de6=_0x185a;function _0x25de(){const _0x3f8376=['3665109OsEaHc','deleteGroupFile','groupMemberList_MainWindow','infos','NodeIKernelGroupService/getGroupList','errCode','setMemberRole','GetGroupFileCount','5718672YGuyNa','getGroupRecommendContactArkJson','session','1180ehJurB','getGroupNotifies','setGroupName','modifyGroupName','modifyMemberRole','getMemberExtInfo','updxj','TITLETYPE','1HGFqQU','NodeIKernelGroupService/getGroupRecommendContactArkJson','banMember','type','deleteGroupFolder','publishGroupBulletin','result','35tvplbO','handleGroupRequest','CallNormalEvent','13466IcVISs','getNextMemberList','qun.qq.com','uploadGroupBulletinPic','4157465dXkfrS','10962hAMeGo','setMemberShutUp','group','get','errMsg','setGroupShutUp','CePFm','262506hnJLTA','zEhSz','DelGroupFileFolder','qTZsx','4303952iNNugc','batchGetGroupFileCount','getGroupRemainAtTimes','otXQV','ggQYN','setMemberCard','getArkJsonGroupShare','NodeIKernelGroupListener/onGroupSingleScreenNotifies','groupCode','setGroupTitle','NodeIKernelGroupService/getSingleScreenNotifies','kickMember','NIXcy','NodeIKernelGroupListener/onGroupListUpdate','eEPei','banGroup','getPSkey','domainPskeyMap','getRichMediaService','DelGroupFile','createMemberListScene','VviRm','seq','获取群成员列表出错,','FLSjH','getGroupService'];_0x25de=function(){return _0x3f8376;};return _0x25de();}(function(_0xab93e9,_0x5a29f1){const _0x45d2f4=_0x185a,_0x4971f4=_0xab93e9();while(!![]){try{const _0x222dbe=parseInt(_0x45d2f4(0x9e))/0x1*(parseInt(_0x45d2f4(0xa8))/0x2)+parseInt(_0x45d2f4(0x8b))/0x3+-parseInt(_0x45d2f4(0x71))/0x4+parseInt(_0x45d2f4(0xac))/0x5+parseInt(_0x45d2f4(0x6d))/0x6*(parseInt(_0x45d2f4(0xa5))/0x7)+-parseInt(_0x45d2f4(0x93))/0x8+-parseInt(_0x45d2f4(0xad))/0x9*(-parseInt(_0x45d2f4(0x96))/0xa);if(_0x222dbe===_0x5a29f1)break;else _0x4971f4['push'](_0x4971f4['shift']());}catch(_0x2b6f55){_0x4971f4['push'](_0x4971f4['shift']());}}}(_0x25de,0x9a322));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0x185a(_0x38f881,_0x13b9a3){const _0x25deed=_0x25de();return _0x185a=function(_0x185a22,_0x1dffe6){_0x185a22=_0x185a22-0x6b;let _0x3bec5e=_0x25deed[_0x185a22];return _0x3bec5e;},_0x185a(_0x38f881,_0x13b9a3);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x20d81e=![]){const _0x1dd48b=_0x185a,_0x254830={'ggQYN':_0x1dd48b(0x8f),'tuQBS':_0x1dd48b(0x7e)};let [_0x25db55,_0xba5cba,_0xa67b7b]=await NTEventDispatch[_0x1dd48b(0xa7)](_0x254830[_0x1dd48b(0x75)],_0x254830['tuQBS'],0x1,0x1388,_0x20d81e);return _0xa67b7b;}static async['getGroupRecommendContactArkJson'](_0x363497){const _0x4108fb=_0x185a;return napCatCore[_0x4108fb(0x95)][_0x4108fb(0x8a)]()[_0x4108fb(0x94)](_0x363497);}static async['CreatGroupFileFolder'](_0x1ab5d3,_0x55278b){const _0x145073=_0x185a;return napCatCore[_0x145073(0x95)][_0x145073(0x83)]()['createGroupFolder'](_0x1ab5d3,_0x55278b);}static async[_0x2b8de6(0x84)](_0x59cb35,_0x5591d0){const _0x512952=_0x2b8de6;return napCatCore[_0x512952(0x95)][_0x512952(0x83)]()[_0x512952(0x8c)](_0x59cb35,[0x66],_0x5591d0);}static async[_0x2b8de6(0x6f)](_0x1b602f,_0x4962e9){const _0x151f65=_0x2b8de6;return napCatCore[_0x151f65(0x95)][_0x151f65(0x83)]()[_0x151f65(0xa2)](_0x1b602f,_0x4962e9);}static async['getSingleScreenNotifies'](_0x4b85ca){const _0x21ad93=_0x2b8de6,_0x3e51a1={'CePFm':_0x21ad93(0x7b),'qTZsx':_0x21ad93(0x78)};let [_0x38b255,_0x30187c,_0x5bc484,_0x5ef6e3]=await NTEventDispatch[_0x21ad93(0xa7)](_0x3e51a1[_0x21ad93(0x6c)],_0x3e51a1[_0x21ad93(0x70)],0x1,0x1388,![],'',_0x4b85ca);return _0x5ef6e3;}static async['getGroupMembers'](_0x59b744,_0x5be811=0xbb8){const _0xe91c98=_0x2b8de6,_0x40b725={'SYNSp':_0xe91c98(0x8d),'eEPei':function(_0x27a177,_0x1c567f){return _0x27a177!==_0x1c567f;},'otXQV':function(_0x1897e2,_0x20a294){return _0x1897e2+_0x20a294;},'NIXcy':_0xe91c98(0x88)},_0x47a4be=napCatCore['session'][_0xe91c98(0x8a)](),_0x5974c1=_0x47a4be[_0xe91c98(0x85)](_0x59b744,_0x40b725['SYNSp']),_0x3a7f09=await _0x47a4be[_0xe91c98(0xa9)](_0x5974c1,undefined,_0x5be811);if(_0x40b725[_0xe91c98(0x7f)](_0x3a7f09[_0xe91c98(0x90)],0x0))throw _0x40b725[_0xe91c98(0x74)](_0x40b725[_0xe91c98(0x7d)],_0x3a7f09[_0xe91c98(0xb1)]);return _0x3a7f09[_0xe91c98(0xa4)][_0xe91c98(0x8e)];}static async[_0x2b8de6(0x97)](){}static async[_0x2b8de6(0x92)](_0x49bba8){const _0x477fb3=_0x2b8de6;return napCatCore[_0x477fb3(0x95)]['getRichMediaService']()[_0x477fb3(0x72)](_0x49bba8);}static async['getGroupIgnoreNotifies'](){}static async[_0x2b8de6(0x77)](_0x326a31){const _0x12438e=_0x2b8de6,_0x573ee3={'VviRm':_0x12438e(0x9f)};let _0x1f5594=await NTEventDispatch['CallNoListenerEvent'](_0x573ee3[_0x12438e(0x86)],0x1388,_0x326a31);return _0x1f5594['arkJson'];}static async['uploadGroupBulletinPic'](_0x297440,_0x23f18f){const _0xd8295a=_0x2b8de6,_0x52283c={'zEhSz':_0xd8295a(0xaa)},_0x546b61=(await NTQQUserApi['getPSkey']([_0x52283c[_0xd8295a(0x6e)]]))[_0xd8295a(0x82)][_0xd8295a(0xb0)](_0x52283c['zEhSz']);return napCatCore['session'][_0xd8295a(0x8a)]()[_0xd8295a(0xab)](_0x297440,_0x546b61,_0x23f18f);}static async[_0x2b8de6(0xa6)](_0x224563,_0x45abcf,_0x4dcbcc){const _0x24fd0c=_0x2b8de6,_0x572ea8={'updxj':function(_0x115894,_0xb9a841){return _0x115894||_0xb9a841;}};return napCatCore[_0x24fd0c(0x95)][_0x24fd0c(0x8a)]()['operateSysNotify'](![],{'operateType':_0x45abcf,'targetMsg':{'seq':_0x224563[_0x24fd0c(0x87)],'type':_0x224563[_0x24fd0c(0xa1)],'groupCode':_0x224563[_0x24fd0c(0xaf)][_0x24fd0c(0x79)],'postscript':_0x572ea8[_0x24fd0c(0x9c)](_0x4dcbcc,'')}});}static async['quitGroup'](_0x3a83e7){const _0x3ca31c=_0x2b8de6;return napCatCore[_0x3ca31c(0x95)]['getGroupService']()['quitGroup'](_0x3a83e7);}static async[_0x2b8de6(0x7c)](_0x307781,_0x2eb9fa,_0x3fa8d2=![],_0x2e2f0f=''){const _0x6cbc06=_0x2b8de6;return napCatCore['session'][_0x6cbc06(0x8a)]()[_0x6cbc06(0x7c)](_0x307781,_0x2eb9fa,_0x3fa8d2,_0x2e2f0f);}static async[_0x2b8de6(0xa0)](_0x287984,_0x519f10){const _0x4a50f7=_0x2b8de6;return napCatCore['session'][_0x4a50f7(0x8a)]()[_0x4a50f7(0xae)](_0x287984,_0x519f10);}static async[_0x2b8de6(0x80)](_0x2784fc,_0x53cba4){const _0x47255e=_0x2b8de6;return napCatCore[_0x47255e(0x95)][_0x47255e(0x8a)]()[_0x47255e(0x6b)](_0x2784fc,_0x53cba4);}static async[_0x2b8de6(0x76)](_0x34499e,_0x73bc47,_0x1e06ca){const _0x462b94=_0x2b8de6;return napCatCore[_0x462b94(0x95)][_0x462b94(0x8a)]()['modifyMemberCardName'](_0x34499e,_0x73bc47,_0x1e06ca);}static async[_0x2b8de6(0x91)](_0x1e53ae,_0x27403f,_0x3152b4){const _0x15c8ab=_0x2b8de6;return napCatCore[_0x15c8ab(0x95)][_0x15c8ab(0x8a)]()[_0x15c8ab(0x9a)](_0x1e53ae,_0x27403f,_0x3152b4);}static async[_0x2b8de6(0x98)](_0x383212,_0x1e1999){const _0x1502f9=_0x2b8de6;return napCatCore['session']['getGroupService']()[_0x1502f9(0x99)](_0x383212,_0x1e1999,![]);}static async[_0x2b8de6(0x7a)](_0x23e63e,_0x362245,_0x1611f8){}static async['publishGroupBulletin'](_0x13674d,_0x2020ac,_0x17bbe8=undefined,_0x49ba26=0x0,_0x2e7e4d=0x0){const _0xb0ddef=_0x2b8de6,_0x2840e4={'FLSjH':_0xb0ddef(0xaa),'CFYYS':function(_0x2183f0,_0x8ac21f){return _0x2183f0(_0x8ac21f);}},_0x13f4b2=(await NTQQUserApi[_0xb0ddef(0x81)]([_0x2840e4[_0xb0ddef(0x89)]]))[_0xb0ddef(0x82)][_0xb0ddef(0xb0)](_0x2840e4[_0xb0ddef(0x89)]);let _0x1ef162={'text':_0x2840e4['CFYYS'](encodeURI,_0x2020ac),'picInfo':_0x17bbe8,'oldFeedsId':'','pinned':_0x49ba26,'confirmRequired':_0x2e7e4d};return napCatCore[_0xb0ddef(0x95)][_0xb0ddef(0x8a)]()[_0xb0ddef(0xa3)](_0x13674d,_0x13f4b2,_0x1ef162);}static async[_0x2b8de6(0x73)](_0x5ea9ae){const _0x2df307=_0x2b8de6;napCatCore[_0x2df307(0x95)][_0x2df307(0x8a)]()['getGroupRemainAtTimes'](_0x5ea9ae);}static async[_0x2b8de6(0x9b)](_0x385e65,_0x2a3b6a){const _0x5b479f=_0x2b8de6;return napCatCore[_0x5b479f(0x95)]['getGroupService']()[_0x5b479f(0x9b)]({'groupCode':_0x385e65,'sourceType':MemberExtSourceType[_0x5b479f(0x9d)],'beginUin':'0','dataTime':'0','uinList':[_0x2a3b6a],'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 9723b638..76ee4acc 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(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 +(function(_0xf43e1d,_0xfe3510){var _0x156f83=_0x8d4f,_0x2318e8=_0xf43e1d();while(!![]){try{var _0x444f23=-parseInt(_0x156f83(0x1d7))/0x1+-parseInt(_0x156f83(0x1d2))/0x2*(-parseInt(_0x156f83(0x1d5))/0x3)+parseInt(_0x156f83(0x1db))/0x4*(parseInt(_0x156f83(0x1d4))/0x5)+parseInt(_0x156f83(0x1d3))/0x6+-parseInt(_0x156f83(0x1da))/0x7+-parseInt(_0x156f83(0x1d8))/0x8+parseInt(_0x156f83(0x1d6))/0x9*(-parseInt(_0x156f83(0x1d9))/0xa);if(_0x444f23===_0xfe3510)break;else _0x2318e8['push'](_0x2318e8['shift']());}catch(_0xdb940e){_0x2318e8['push'](_0x2318e8['shift']());}}}(_0x5588,0x5300d));function _0x8d4f(_0x17f65c,_0x471b53){var _0x558833=_0x5588();return _0x8d4f=function(_0x8d4f25,_0x9c09b0){_0x8d4f25=_0x8d4f25-0x1d2;var _0x1bace1=_0x558833[_0x8d4f25];return _0x1bace1;},_0x8d4f(_0x17f65c,_0x471b53);}export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';function _0x5588(){var _0x58c4f1=['1754052ixDstc','11444Yeedri','3314820dEuNab','5SzRtVq','69umNHua','466209seGaaZ','82564ssMTBq','1289448IbYljA','30WuGlZO','2684220zQkQaU'];_0x5588=function(){return _0x58c4f1;};return _0x5588();}export*from'./user';export*from'./webapi';export*from'./sign';export*from'./system'; \ 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 701b39bf..4b2491a7 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -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 +const _0x15cab1=_0x58d6;(function(_0x3c2d82,_0x5ebf50){const _0x5bfa66=_0x58d6,_0x344877=_0x3c2d82();while(!![]){try{const _0x2cb2b6=-parseInt(_0x5bfa66(0x228))/0x1+-parseInt(_0x5bfa66(0x225))/0x2*(-parseInt(_0x5bfa66(0x227))/0x3)+-parseInt(_0x5bfa66(0x20d))/0x4*(-parseInt(_0x5bfa66(0x226))/0x5)+-parseInt(_0x5bfa66(0x1ed))/0x6+-parseInt(_0x5bfa66(0x208))/0x7+-parseInt(_0x5bfa66(0x1fc))/0x8+parseInt(_0x5bfa66(0x1f1))/0x9;if(_0x2cb2b6===_0x5ebf50)break;else _0x344877['push'](_0x344877['shift']());}catch(_0x133ad8){_0x344877['push'](_0x344877['shift']());}}}(_0x197a,0x6f6b9));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[_0x15cab1(0x22a)]=_0x1b18b5=>{const _0x4e24e4=_0x15cab1;for(const [_0x5618c4,_0x5bfa41]of GroupFileInfoUpdateTasks){_0x5bfa41(_0x1b18b5),GroupFileInfoUpdateTasks[_0x4e24e4(0x1f9)](_0x5618c4);}},msgListener[_0x15cab1(0x21f)]=_0x31ba8c=>{const _0x5ad046=_0x15cab1,_0x27abeb={'OLkUH':function(_0x1b9d22,_0x7db89b){return _0x1b9d22(_0x7db89b);},'kjMxv':function(_0x5d1ffe,_0x27f166){return _0x5d1ffe instanceof _0x27f166;}};for(const [_0x257a68,_0x575d03]of sentMsgTasks){_0x27abeb['OLkUH'](_0x575d03,_0x31ba8c),sentMsgTasks[_0x5ad046(0x1f9)](_0x257a68);}if(sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]){const _0x51becb=sendMessagePool[_0x31ba8c[_0x5ad046(0x22b)]]?.(_0x31ba8c);_0x27abeb['kjMxv'](_0x51becb,Promise)&&_0x51becb['then']()[_0x5ad046(0x20f)](logError);}},msgListener[_0x15cab1(0x22e)]=_0x1db113=>{const _0x403bf0=_0x15cab1,_0x284710={'UXwuP':function(_0x1bf9b5,_0x1c3e6c){return _0x1bf9b5(_0x1c3e6c);},'hxJtd':function(_0x3b3a2b,_0x419a83){return _0x3b3a2b(_0x419a83);}};_0x1db113[_0x403bf0(0x209)](_0x555d21=>{const _0x51e3d2=_0x403bf0;new Promise((_0x29636d,_0x4b7498)=>{const _0x5b7f7b=_0x58d6;for(const _0x533e5f in sendSuccessCBMap){const _0x13a7ac=sendSuccessCBMap[_0x533e5f],_0x426678=_0x284710[_0x5b7f7b(0x1f7)](_0x13a7ac,_0x555d21),_0x5dd812=_0x14ebb8=>{_0x14ebb8&&delete sendSuccessCBMap[_0x533e5f];};_0x426678 instanceof Promise?_0x426678[_0x5b7f7b(0x1f0)](_0x5dd812):_0x284710[_0x5b7f7b(0x212)](_0x5dd812,_0x426678);}})['then']()[_0x51e3d2(0x20f)](log);});},setTimeout(()=>{const _0x479407=_0x15cab1;napCatCore[_0x479407(0x1fd)](()=>{const _0x393879=_0x479407;napCatCore[_0x393879(0x1eb)](msgListener);});},0x64);function _0x58d6(_0x154e8f,_0x346750){const _0x197a50=_0x197a();return _0x58d6=function(_0x58d61c,_0x5cb1e9){_0x58d61c=_0x58d61c-0x1eb;let _0x64b0=_0x197a50[_0x58d61c];return _0x64b0;},_0x58d6(_0x154e8f,_0x346750);}export class NTQQMsgApi{static async[_0x15cab1(0x22f)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x3d02a1=!![]){const _0x4dffc9=_0x15cab1,_0x4719e1={'YAPGF':function(_0x1c6285,_0x3f0855){return _0x1c6285>_0x3f0855;}};return _0x5c0c98=_0x5c0c98['toString'](),napCatCore['session'][_0x4dffc9(0x207)]()[_0x4dffc9(0x1f3)](_0x48bd56,_0x5e08b4,_0x5c0c98,_0x4719e1['YAPGF'](_0x5c0c98[_0x4dffc9(0x1fa)],0x3)?'2':'1',_0x3d02a1);}static async[_0x15cab1(0x201)](_0x3adc03,_0x4780f4,_0x971bde){const _0x250c1f=_0x15cab1;return napCatCore['session'][_0x250c1f(0x207)]()[_0x250c1f(0x201)](_0x3adc03,_0x4780f4,_0x971bde);}static async[_0x15cab1(0x1f5)](_0x4e316e,_0x4d0369){const _0xcec66=_0x15cab1;return await napCatCore[_0xcec66(0x20c)][_0xcec66(0x207)]()[_0xcec66(0x1f5)](_0x4e316e,_0x4d0369);}static async['getMsgsBySeqAndCount'](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb){const _0x593c31=_0x15cab1;return await napCatCore[_0x593c31(0x20c)][_0x593c31(0x207)]()[_0x593c31(0x218)](_0x36533d,_0x1fe42b,_0x509620,_0x1d21ee,_0x16d2eb);}static async[_0x15cab1(0x20e)](_0x3cab7f){}static async[_0x15cab1(0x224)](_0x5c9e0a){}static async[_0x15cab1(0x222)](_0xd5db5){const _0x300df4=_0x15cab1;return napCatCore['session'][_0x300df4(0x207)]()[_0x300df4(0x222)](_0xd5db5);}static async[_0x15cab1(0x1f6)](_0x1a55ff,_0x160b12){const _0x361597={'tFQVT':function(_0x5d2436,_0x5c2c71){return _0x5d2436(_0x5c2c71);},'FzrpD':'获取群文件列表超时','aaNAh':function(_0xccf56a,_0x33c118){return _0xccf56a(_0x33c118);},'NGvXf':function(_0xb01369,_0x4f3c4c,_0xaf9ed7){return _0xb01369(_0x4f3c4c,_0xaf9ed7);},'AcAhH':function(_0x4f90d1){return _0x4f90d1();}};return new Promise(async(_0x284e7c,_0x4ad866)=>{const _0x3050fd=_0x58d6;let _0x32ecfb=![];_0x361597[_0x3050fd(0x214)](setTimeout,()=>{const _0x401b4f=_0x3050fd;!_0x32ecfb&&_0x361597[_0x401b4f(0x1ec)](_0x4ad866,_0x361597['FzrpD']);},0x1388);const _0x367b92=_0x39b1a2=>{const _0x5f07e5=_0x3050fd;_0x32ecfb=!![],_0x361597[_0x5f07e5(0x217)](_0x284e7c,_0x39b1a2[_0x5f07e5(0x229)]);};GroupFileInfoUpdateTasks[_0x3050fd(0x1ff)](_0x361597[_0x3050fd(0x22c)](randomUUID),_0x367b92),await napCatCore['session'][_0x3050fd(0x203)]()[_0x3050fd(0x1f6)](_0x1a55ff,_0x160b12);});}static async[_0x15cab1(0x210)](_0x202736,_0x55e2a5,_0x30667d){const _0x306512=_0x15cab1;return napCatCore[_0x306512(0x20c)][_0x306512(0x207)]()[_0x306512(0x211)](_0x202736,_0x55e2a5,_0x30667d,!![]);}static async['fetchRecentContact'](){}static async['recallMsg'](_0x5cc12c,_0x47a93b){const _0x3ca279=_0x15cab1;await napCatCore[_0x3ca279(0x20c)]['getMsgService']()['recallMsg']({'chatType':_0x5cc12c[_0x3ca279(0x21e)],'peerUid':_0x5cc12c['peerUid']},_0x47a93b);}static async[_0x15cab1(0x232)](_0x34c4bf,_0x105970,_0x56d2e2=!![],_0x55d830=0x2710){const _0x47f707=_0x15cab1,_0x269db6={'drSJf':'发送超时','QSPaD':function(_0x29249b,_0x2f27d7){return _0x29249b(_0x2f27d7);},'dchQF':function(_0x2afb8a){return _0x2afb8a();},'zcxtA':function(_0x285ff1,_0x2f090b){return _0x285ff1===_0x2f090b;},'jtUmW':function(_0x4acfe){return _0x4acfe();},'NJBjF':function(_0x3ea2ff,_0x4ce401,_0x5a98a8){return _0x3ea2ff(_0x4ce401,_0x5a98a8);}},_0x1669f2=_0x34c4bf[_0x47f707(0x22b)];let _0x5f2c8e=0x0;const _0xdf73b=async()=>{const _0x57a695=_0x47f707;if(_0x5f2c8e>_0x55d830)throw _0x269db6[_0x57a695(0x21a)];const _0x2c78fa=sendMessagePool[_0x34c4bf[_0x57a695(0x22b)]];if(_0x2c78fa)return await _0x269db6['QSPaD'](sleep,0x1f4),_0x5f2c8e+=0x1f4,await _0x269db6[_0x57a695(0x220)](_0xdf73b);else return;};return await _0x269db6[_0x47f707(0x220)](_0xdf73b),new Promise((_0x18eded,_0x4c2b39)=>{const _0x4d9551=_0x47f707;let _0x5056ad=![],_0x36eac9=null;const _0x1a063b=_0x269db6[_0x4d9551(0x219)](randomUUID);sendSuccessCBMap[_0x1a063b]=_0x37d2cc=>{const _0x244e8d=_0x4d9551;if(_0x37d2cc[_0x244e8d(0x20b)]===_0x36eac9?.[_0x244e8d(0x20b)]){if(_0x269db6[_0x244e8d(0x205)](_0x37d2cc['sendStatus'],0x2))return delete sendSuccessCBMap[_0x1a063b],_0x5056ad=!![],_0x269db6[_0x244e8d(0x206)](_0x18eded,_0x37d2cc),!![];return![];}return![];},sendMessagePool[_0x1669f2]=async _0x348a03=>{delete sendMessagePool[_0x1669f2],_0x36eac9=_0x348a03;},_0x269db6[_0x4d9551(0x202)](setTimeout,()=>{const _0x2d83f8=_0x4d9551;if(_0x5056ad)return;delete sendMessagePool[_0x1669f2],delete sendSuccessCBMap[_0x1a063b],_0x269db6[_0x2d83f8(0x206)](_0x4c2b39,'发送超时');},_0x55d830);const _0x2e1e6d=napCatCore['session'][_0x4d9551(0x207)]()[_0x4d9551(0x232)]('0',_0x34c4bf,_0x105970,new Map());});}static async[_0x15cab1(0x22d)](_0x2adb3a,_0x1cac20,_0x1ccc05){const _0x2afbcb=_0x15cab1;return napCatCore[_0x2afbcb(0x20c)][_0x2afbcb(0x207)]()[_0x2afbcb(0x22d)](_0x1ccc05,_0x2adb3a,[_0x1cac20],new Map());}static async[_0x15cab1(0x1ef)](_0x28ef98,_0x216954,_0x1322c3){const _0x38b16d=_0x15cab1,_0x4ecad7={'KOwLP':'com.tencent.multimsg','LKRAb':function(_0x196249,_0x275bbb){return _0x196249==_0x275bbb;},'VabYi':function(_0x29c972,_0x438017){return _0x29c972==_0x438017;},'MMbbQ':function(_0x54650b,_0x5541a6){return _0x54650b(_0x5541a6);},'hnqLz':_0x38b16d(0x1f2)},_0x1e4c77=_0x1322c3[_0x38b16d(0x1f4)](_0x1d076e=>{const _0x317b59=_0x38b16d;return{'msgId':_0x1d076e,'senderShowName':selfInfo[_0x317b59(0x230)]};});return new Promise((_0x2da6cd,_0x1dcd17)=>{const _0x15d0b=_0x38b16d,_0x39043c={'lnybS':function(_0xa1fefe,_0x4a4617){return _0xa1fefe!=_0x4a4617;},'eClyv':_0x4ecad7[_0x15d0b(0x1fb)],'WSKko':function(_0x420748,_0x19b2d0){const _0x16f308=_0x15d0b;return _0x4ecad7[_0x16f308(0x1f8)](_0x420748,_0x19b2d0);},'ZhEGO':function(_0x11d624,_0xfb3ea5){return _0x4ecad7['VabYi'](_0x11d624,_0xfb3ea5);},'ZdCfV':function(_0x26e82d,_0x313104){const _0xf81153=_0x15d0b;return _0x4ecad7[_0xf81153(0x204)](_0x26e82d,_0x313104);},'CIqPO':_0x4ecad7[_0x15d0b(0x216)]};let _0x24bdac=![];const _0x468be8=_0x47c63d=>{const _0x4ba3ed=_0x15d0b,_0x38179b=_0x47c63d[_0x4ba3ed(0x21d)][_0x4ba3ed(0x21b)](_0x5dd6f2=>_0x5dd6f2[_0x4ba3ed(0x233)]);if(!_0x38179b)return;const _0x41ddee=JSON[_0x4ba3ed(0x21c)](_0x38179b[_0x4ba3ed(0x233)][_0x4ba3ed(0x213)]);if(_0x39043c[_0x4ba3ed(0x1ee)](_0x41ddee['app'],_0x39043c[_0x4ba3ed(0x215)]))return;_0x39043c[_0x4ba3ed(0x231)](_0x47c63d[_0x4ba3ed(0x22b)],_0x216954[_0x4ba3ed(0x22b)])&&_0x39043c[_0x4ba3ed(0x20a)](_0x47c63d[_0x4ba3ed(0x1fe)],selfInfo[_0x4ba3ed(0x200)])&&(_0x24bdac=!![],_0x2da6cd(_0x47c63d));};sentMsgTasks[_0x15d0b(0x1ff)](randomUUID(),_0x468be8),setTimeout(()=>{const _0x2ad737=_0x15d0b;!_0x24bdac&&_0x39043c[_0x2ad737(0x221)](_0x1dcd17,_0x39043c[_0x2ad737(0x223)]);},0x1388),napCatCore['session'][_0x15d0b(0x207)]()['multiForwardMsgWithComment'](_0x1e4c77,_0x28ef98,_0x216954,[],new Map());});}}function _0x197a(){const _0x2bda50=['jtUmW','drSJf','find','parse','elements','chatType','onAddSendMsg','dchQF','ZdCfV','setMsgRead','CIqPO','activateChatAndGetHistory','8018ehVUbp','8150muyubV','327xFUoQk','598718nzSLCC','item','onGroupFileInfoUpdate','peerUid','AcAhH','forwardMsg','onMsgInfoListUpdate','setEmojiLike','nick','WSKko','sendMsg','arkElement','addListener','tFQVT','2452536rxVfxn','lnybS','multiForwardMsg','then','13862997phPJKe','转发消息超时','setMsgEmojiLikes','map','getMsgsByMsgId','getGroupFileList','UXwuP','LKRAb','delete','length','KOwLP','847008cRSQVo','onLoginSuccess','senderUid','set','uid','getMultiMsg','NJBjF','getRichMediaService','MMbbQ','zcxtA','QSPaD','getMsgService','3012849KELVEt','forEach','ZhEGO','msgId','session','56lRpjWR','activateChat','catch','getMsgHistory','getMsgsIncludeSelf','hxJtd','bytesData','NGvXf','eClyv','hnqLz','aaNAh','getMsgsBySeqAndCount'];_0x197a=function(){return _0x2bda50;};return _0x197a();} \ No newline at end of file diff --git a/src/core.lib/src/apis/sign.js b/src/core.lib/src/apis/sign.js index abc177e9..a275e696 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(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 +(function(_0x2adea,_0x1e8481){const _0x43d7eb=_0x11b2,_0x5ece13=_0x2adea();while(!![]){try{const _0x5bb758=parseInt(_0x43d7eb(0xfa))/0x1*(parseInt(_0x43d7eb(0xbf))/0x2)+parseInt(_0x43d7eb(0xae))/0x3*(parseInt(_0x43d7eb(0xe6))/0x4)+-parseInt(_0x43d7eb(0xdd))/0x5+-parseInt(_0x43d7eb(0xe1))/0x6+parseInt(_0x43d7eb(0xe2))/0x7+parseInt(_0x43d7eb(0xc6))/0x8+-parseInt(_0x43d7eb(0xd1))/0x9;if(_0x5bb758===_0x1e8481)break;else _0x5ece13['push'](_0x5ece13['shift']());}catch(_0x4682b7){_0x5ece13['push'](_0x5ece13['shift']());}}}(_0x4f61,0x28f10));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 _0x4f61(){const _0x7d7da3=['title','com.tencent.qqreader.share','normal','6cxVgAi','track_info','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:','MiniApp\x20JSON\x20消息生成失败','fUSHm','卡片图片不正确','xIfUg','qTbvH','NDiKh','&type=0','QCDgK','mid','p_skey','uin','POST','https://p.qpic.cn/qqconnect/0/app_100497308_1626060999/100?max-age=2592000&t=0','p_skey=','2RrDizD','stringify','preview','&type=8','NCwvY','HttpGetJson','JDlUB','1818736kvyBqU','cover','TGphe','pnwiC','jumpUrl','},\x22module\x22:\x22music.pf_song_detail_svr\x22}}','oPBnd','singer','com.tencent.miniapp.lua','WODii','unlink','2885742aZVsTc','ZobIq','name','PqPjI','KZLbj',';\x20skey=','ursTv','ZQpCT','HhLei','yTSwL','application/json','0.0.0.1','232475UBsnhh','tagIcon','inFOF','tag','702324xQyngo','1736336fLyGBZ',';\x20uin=o','\x5c/\x5c/','ndyKE','101132MbnpGd','https://mqq.reader.qq.com/api/mqq/share/card?accessToken&_csrfToken&source=c0003','wayMB','sourcelogo','music','pcZzJ','liyFa','9a63343c32d5a16bcde653eb97faa25d','RDBWK','LTopH','ADgcX','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','prompt','tianxuan.imgJumpArk','KmUqj','uin=o10086','GET','YuxkP','dvKNK','InyhY','125927HfJtLV','replace','IwSQW','NxhKg'];_0x4f61=function(){return _0x7d7da3;};return _0x4f61();}import{checkFileReceived2,uri2local}from'@/common/utils/file';import _0x463dcc from'node:fs';export async function SignMiniApp(_0x905b49){const _0x4c9cc2=_0x11b2,_0x36b0e4={'pcZzJ':_0x4c9cc2(0xce),'KBSZS':_0x4c9cc2(0xf3),'NxhKg':'miniapp','xIfUg':_0x4c9cc2(0xe4),'IwSQW':function(_0x10cb16,_0x20cbfb){return _0x10cb16+_0x20cbfb;},'vFcua':function(_0x33a21f,_0x47e6bc){return _0x33a21f+_0x47e6bc;},'QCDgK':_0x4c9cc2(0xd6),'CxLuh':';\x20p_uin=o','yTSwL':_0x4c9cc2(0xe3),'KZLbj':function(_0x58472a,_0x9ea659){return _0x58472a+_0x9ea659;},'NCwvY':_0x4c9cc2(0xf1),'XOXlf':function(_0x10d4db,_0x1b5076){return _0x10d4db(_0x1b5076);},'HJgYK':'GET','LTopH':_0x4c9cc2(0xb1)};let _0xbe7d9d={'app':_0x36b0e4[_0x4c9cc2(0xeb)],'bizsrc':_0x36b0e4['KBSZS'],'view':_0x36b0e4[_0x4c9cc2(0xaa)],'prompt':_0x905b49[_0x4c9cc2(0xf2)],'config':{'type':'normal','forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x905b49[_0x4c9cc2(0xab)],'preview':_0x905b49[_0x4c9cc2(0xc1)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'jumpUrl':_0x905b49[_0x4c9cc2(0xca)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4['xIfUg']),'tag':_0x905b49[_0x4c9cc2(0xe0)],'tagIcon':_0x905b49[_0x4c9cc2(0xde)]['replace'](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)]),'source':_0x905b49['source'],'sourcelogo':_0x905b49[_0x4c9cc2(0xe9)][_0x4c9cc2(0xfb)](/\\/g,_0x36b0e4[_0x4c9cc2(0xb4)])}}},_0x4a9f82=await NTQQUserApi['getQzoneCookies']();const _0x2dba41=WebApi['genBkn'](_0x4a9f82['p_skey']),_0x49f886=_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4[_0x4c9cc2(0xfc)](_0x36b0e4['vFcua'](_0x4c9cc2(0xbe)+_0x4a9f82[_0x4c9cc2(0xba)]+_0x36b0e4[_0x4c9cc2(0xb8)],_0x4a9f82['skey']),_0x36b0e4['CxLuh'])+selfInfo[_0x4c9cc2(0xbb)]+_0x36b0e4[_0x4c9cc2(0xda)],selfInfo[_0x4c9cc2(0xbb)]);let _0x31b2fb=_0x36b0e4['KZLbj'](_0x36b0e4[_0x4c9cc2(0xd5)](_0x36b0e4[_0x4c9cc2(0xc3)],_0x2dba41)+'&ark=',_0x36b0e4['XOXlf'](encodeURIComponent,JSON[_0x4c9cc2(0xc0)](_0xbe7d9d))),_0x596fa8='';try{let _0x8daed3=await RequestUtil[_0x4c9cc2(0xc4)](_0x31b2fb,_0x36b0e4['HJgYK'],undefined,{'Cookie':_0x49f886});_0x596fa8=_0x8daed3['data']['signed_ark'];}catch(_0x540be8){logDebug(_0x36b0e4[_0x4c9cc2(0xef)],_0x540be8);}return _0x596fa8;}function _0x11b2(_0x2ca7c1,_0x411209){const _0x4f61f6=_0x4f61();return _0x11b2=function(_0x11b261,_0x12bdb9){_0x11b261=_0x11b261-0xaa;let _0x134664=_0x4f61f6[_0x11b261];return _0x134664;},_0x11b2(_0x2ca7c1,_0x411209);}export async function SignMusicInternal(_0x9a5a42,_0x45b2cb,_0x27c562,_0x569ab7,_0x2c735d){const _0xfb0e6=_0x11b2,_0x411dfe={'RDBWK':_0xfb0e6(0xac),'WODii':_0xfb0e6(0xed),'ZQpCT':_0xfb0e6(0xad),'ursTv':function(_0x138570,_0x5347ec){return _0x138570+_0x5347ec;},'NDiKh':'https://i.y.qq.com/v8/playsong.html?songmid=','HhLei':_0xfb0e6(0xb7),'ADgcX':_0xfb0e6(0xbd),'InyhY':'QQ音乐','dvKNK':'[分享]','TGphe':_0xfb0e6(0xdc),'ZobIq':_0xfb0e6(0xbc),'fUSHm':_0xfb0e6(0xf5),'tfQxE':_0xfb0e6(0xdb)};let _0x577123=_0xfb0e6(0xe7),_0x1ee3e7={'app':_0x411dfe[_0xfb0e6(0xee)],'config':{'ctime':0x6670467e,'forward':0x1,'token':_0x411dfe[_0xfb0e6(0xcf)],'type':_0x411dfe[_0xfb0e6(0xd8)]},'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':_0x45b2cb,'jumpUrl':_0x411dfe[_0xfb0e6(0xd7)](_0x411dfe[_0xfb0e6(0xb6)]+_0x569ab7,_0x411dfe[_0xfb0e6(0xd9)]),'musicUrl':_0x2c735d,'preview':_0x27c562,'cover':_0x27c562,'sourceMsgId':'0','source_icon':_0x411dfe[_0xfb0e6(0xf0)],'source_url':'','tag':_0x411dfe[_0xfb0e6(0xf9)],'title':_0x9a5a42,'uin':0x2766}},'prompt':_0x411dfe[_0xfb0e6(0xf8)]+_0x9a5a42,'ver':_0x411dfe[_0xfb0e6(0xc8)],'view':_0xfb0e6(0xea)},_0xc00afb=await RequestUtil['HttpGetJson'](_0x577123,_0x411dfe[_0xfb0e6(0xd2)],_0x1ee3e7,{'Cookie':_0x411dfe[_0xfb0e6(0xb2)],'Content-Type':_0x411dfe['tfQxE']});return _0xc00afb;}export async function CreateMusicThridWay0(_0x279485='',_0x5ce8dc=''){const _0x4ac138=_0x11b2,_0xe5abd2={'YuxkP':function(_0x2776a5,_0x154acb){return _0x2776a5+_0x154acb;},'inFOF':_0x4ac138(0xcb),'PqPjI':function(_0x288edc,_0x4ee0b7){return _0x288edc+_0x4ee0b7;},'ndyKE':function(_0x42f49f,_0x4ff9b6){return _0x42f49f+_0x4ff9b6;},'wayMB':'https://api.leafone.cn/api/qqmusic?id=','DvsKf':_0x4ac138(0xc2),'pnwiC':_0x4ac138(0xf6)};if(_0x5ce8dc==''){let _0x4a8938=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xf7)](_0x4ac138(0xb0),_0x279485)+_0xe5abd2[_0x4ac138(0xdf)],_0x4ac138(0xf6),undefined);_0x5ce8dc=_0x4a8938['songinfo']?.['data']?.[_0x4ac138(0xaf)][_0x4ac138(0xb9)];}let _0x54a6b8=await RequestUtil[_0x4ac138(0xc4)](_0xe5abd2[_0x4ac138(0xd4)](_0xe5abd2[_0x4ac138(0xe5)](_0xe5abd2[_0x4ac138(0xe8)],_0x5ce8dc),_0xe5abd2['DvsKf']),_0xe5abd2[_0x4ac138(0xc9)],undefined);return{..._0x54a6b8['data'],'mid':_0x5ce8dc};}export async function CreateMusicThridWay1(_0x590c85='',_0x2c8c33=''){}export async function SignMusicWrapper(_0x240789=''){const _0x20596e=_0x11b2,_0x26cf06={'liyFa':function(_0x128746,_0x4e778d){return _0x128746(_0x4e778d);},'oPBnd':function(_0x4a71ba,_0x2e910f){return _0x4a71ba(_0x2e910f);},'JDlUB':function(_0x5d5a0c,_0xe825c4){return _0x5d5a0c||_0xe825c4;},'qTbvH':function(_0x5d86a3,_0x31f44c,_0x550370){return _0x5d86a3(_0x31f44c,_0x550370);},'pIsKP':function(_0x3c4f52,_0x3e911c){return _0x3c4f52+_0x3e911c;},'KmUqj':'https://ws.stream.qqmusic.qq.com/'};let _0x1242f6=await _0x26cf06[_0x20596e(0xec)](CreateMusicThridWay0,_0x240789);const {path:_0x52c9e6,isLocal:_0x35415e,errMsg:_0x1268e8}=await _0x26cf06[_0x20596e(0xcc)](uri2local,_0x1242f6[_0x20596e(0xc7)]);if(_0x26cf06[_0x20596e(0xc5)](_0x1268e8,!_0x52c9e6))throw _0x20596e(0xb3);await _0x26cf06[_0x20596e(0xb5)](checkFileReceived2,_0x52c9e6,0x1388);let _0x528b2b=await RequestUtil['uploadImageForOpenPlatform'](_0x52c9e6);!_0x35415e&&_0x463dcc[_0x20596e(0xd0)](_0x52c9e6,()=>{});let _0x2efd6a=await SignMusicInternal(_0x1242f6[_0x20596e(0xd3)],_0x1242f6[_0x20596e(0xcd)],_0x528b2b,_0x1242f6[_0x20596e(0xb9)],_0x26cf06['pIsKP'](_0x26cf06[_0x20596e(0xf4)],_0x1242f6['url']));return _0x2efd6a;} \ 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 3355e0ae..68f1ef4f 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -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 +const _0x33dd3d=_0x3a97;function _0x28e2(){const _0x164e45=['CallNoListenerEvent','NodeIKernelCollectionService/collectionArkShare','4foThXL','99ebrlzD','OOnit','session','406160vqhQjG','setMiniAppVersion','7IbPiBX','ORCImage','215xdwQqd','5026020TXVwHn','hasOtherRunningQQProcess','53322OFAlZg','getOnlineDev','1717662698058','1777755tRJzGK','getMsgService','69308kDwtXo','LSdeq','2522748engcxw','getNodeMiscService','log','261192QWNnjv','translateEnWordToZn','getRichMediaService','121GaYrXW','WOORN','getMiniAppPath'];_0x28e2=function(){return _0x164e45;};return _0x28e2();}(function(_0x1f8625,_0x2a44ad){const _0x3afac4=_0x3a97,_0x3094b3=_0x1f8625();while(!![]){try{const _0x22fee1=-parseInt(_0x3afac4(0x1d4))/0x1*(parseInt(_0x3afac4(0x1dc))/0x2)+-parseInt(_0x3afac4(0x1cd))/0x3+-parseInt(_0x3afac4(0x1cf))/0x4*(parseInt(_0x3afac4(0x1e4))/0x5)+parseInt(_0x3afac4(0x1ca))/0x6*(parseInt(_0x3afac4(0x1e2))/0x7)+parseInt(_0x3afac4(0x1e0))/0x8*(-parseInt(_0x3afac4(0x1dd))/0x9)+parseInt(_0x3afac4(0x1c8))/0xa+parseInt(_0x3afac4(0x1d7))/0xb*(parseInt(_0x3afac4(0x1d1))/0xc);if(_0x22fee1===_0x2a44ad)break;else _0x3094b3['push'](_0x3094b3['shift']());}catch(_0xe2d4e1){_0x3094b3['push'](_0x3094b3['shift']());}}}(_0x28e2,0x63004));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3a97(_0x3cb391,_0x299e29){const _0x28e23a=_0x28e2();return _0x3a97=function(_0x3a9794,_0x12f431){_0x3a9794=_0x3a9794-0x1c8;let _0x4dcf33=_0x28e23a[_0x3a9794];return _0x4dcf33;},_0x3a97(_0x3cb391,_0x299e29);}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x33dd3d(0x1c9)](){const _0x16cffc=_0x33dd3d;return napCatCore['util'][_0x16cffc(0x1c9)]();}static async[_0x33dd3d(0x1e3)](_0x5285df){const _0x4dc5df=_0x33dd3d;return napCatCore[_0x4dc5df(0x1df)][_0x4dc5df(0x1d2)]()['wantWinScreenOCR'](_0x5285df);}static async[_0x33dd3d(0x1d5)](_0x3b6521){const _0x547b80=_0x33dd3d;return napCatCore[_0x547b80(0x1df)][_0x547b80(0x1d6)]()[_0x547b80(0x1d5)](_0x3b6521);}static async[_0x33dd3d(0x1cb)](){const _0x2a2ae1=_0x33dd3d;return napCatCore['session'][_0x2a2ae1(0x1ce)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x1eba59){const _0x42ca6e=_0x33dd3d,_0x7e06e5={'LSdeq':_0x42ca6e(0x1db),'WOORN':_0x42ca6e(0x1cc)};let _0x48c335=await NTEventDispatch[_0x42ca6e(0x1da)](_0x7e06e5[_0x42ca6e(0x1d0)],0x1388,_0x7e06e5[_0x42ca6e(0x1d8)]);return _0x48c335;}static async['BootMiniApp'](_0x191017,_0x42f3ed){const _0x3de257=_0x33dd3d,_0x4cad19={'OOnit':'2.16.4'};await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1e1)](_0x4cad19[_0x3de257(0x1de)]);let _0x932500=await napCatCore[_0x3de257(0x1df)][_0x3de257(0x1d2)]()[_0x3de257(0x1d9)]();return console[_0x3de257(0x1d3)](_0x932500),napCatCore[_0x3de257(0x1df)]['getNodeMiscService']()['startNewMiniApp'](_0x191017,_0x42f3ed);}} \ 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 81371baa..b5c817b5 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -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 +const _0x254c29=_0x3eda;(function(_0x1c2f5a,_0x53728e){const _0x9d2919=_0x3eda,_0x2245c0=_0x1c2f5a();while(!![]){try{const _0x365680=-parseInt(_0x9d2919(0x1a3))/0x1*(parseInt(_0x9d2919(0x1c2))/0x2)+-parseInt(_0x9d2919(0x1d0))/0x3+-parseInt(_0x9d2919(0x194))/0x4*(parseInt(_0x9d2919(0x1cd))/0x5)+-parseInt(_0x9d2919(0x1c4))/0x6*(parseInt(_0x9d2919(0x1be))/0x7)+-parseInt(_0x9d2919(0x1b8))/0x8+parseInt(_0x9d2919(0x1d4))/0x9*(parseInt(_0x9d2919(0x1c9))/0xa)+parseInt(_0x9d2919(0x195))/0xb*(parseInt(_0x9d2919(0x179))/0xc);if(_0x365680===_0x53728e)break;else _0x2245c0['push'](_0x2245c0['shift']());}catch(_0x178bc8){_0x2245c0['push'](_0x2245c0['shift']());}}}(_0x3ca7,0xbe1a6));var __decorate=this&&this[_0x254c29(0x1a6)]||function(_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7){const _0x3f49d6=_0x254c29,_0x2cc514={'nleTd':function(_0x1523a8,_0x504daa){return _0x1523a8<_0x504daa;},'eXVAi':function(_0x52026f,_0x575d9c){return _0x52026f===_0x575d9c;},'foYbQ':_0x3f49d6(0x18e),'LkBhX':function(_0x11e80f,_0x4ad93d){return _0x11e80f===_0x4ad93d;},'ZSMpw':_0x3f49d6(0x1db),'TvWVz':function(_0x1f9436,_0x26d8e4){return _0x1f9436-_0x26d8e4;},'yyOUl':function(_0x507203,_0x1d216b){return _0x507203>=_0x1d216b;},'TCxzu':function(_0x8cce2d,_0x4d90d1){return _0x8cce2d>_0x4d90d1;},'CVfsg':function(_0x3ac12d,_0x3846c2,_0x20b47e,_0xce5115){return _0x3ac12d(_0x3846c2,_0x20b47e,_0xce5115);},'ypvnd':function(_0xb43e75,_0x15c20f,_0x1b3b54){return _0xb43e75(_0x15c20f,_0x1b3b54);},'hQBCj':function(_0x473465,_0x3b5db8){return _0x473465>_0x3b5db8;}};var _0x1e64ec=arguments['length'],_0x1b5c08=_0x2cc514['nleTd'](_0x1e64ec,0x3)?_0x115c33:_0x2cc514['eXVAi'](_0xbcbe7,null)?_0xbcbe7=Object[_0x3f49d6(0x196)](_0x115c33,_0xcd0a10):_0xbcbe7,_0x18c8f0;if(_0x2cc514[_0x3f49d6(0x1cb)](typeof Reflect,_0x2cc514[_0x3f49d6(0x177)])&&_0x2cc514[_0x3f49d6(0x1a4)](typeof Reflect[_0x3f49d6(0x1c1)],_0x2cc514[_0x3f49d6(0x1b6)]))_0x1b5c08=Reflect[_0x3f49d6(0x1c1)](_0x4527cd,_0x115c33,_0xcd0a10,_0xbcbe7);else{for(var _0x22853b=_0x2cc514['TvWVz'](_0x4527cd[_0x3f49d6(0x19e)],0x1);_0x2cc514['yyOUl'](_0x22853b,0x0);_0x22853b--)if(_0x18c8f0=_0x4527cd[_0x22853b])_0x1b5c08=(_0x2cc514[_0x3f49d6(0x19c)](_0x1e64ec,0x3)?_0x18c8f0(_0x1b5c08):_0x2cc514[_0x3f49d6(0x173)](_0x1e64ec,0x3)?_0x2cc514[_0x3f49d6(0x182)](_0x18c8f0,_0x115c33,_0xcd0a10,_0x1b5c08):_0x2cc514[_0x3f49d6(0x18c)](_0x18c8f0,_0x115c33,_0xcd0a10))||_0x1b5c08;}return _0x2cc514['hQBCj'](_0x1e64ec,0x3)&&_0x1b5c08&&Object[_0x3f49d6(0x184)](_0x115c33,_0xcd0a10,_0x1b5c08),_0x1b5c08;};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';import{logDebug}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';function _0x3eda(_0x411bf8,_0x12e587){const _0x3ca7cc=_0x3ca7();return _0x3eda=function(_0x3edadd,_0x464b9e){_0x3edadd=_0x3edadd-0x173;let _0x429f7b=_0x3ca7cc[_0x3edadd];return _0x429f7b;},_0x3eda(_0x411bf8,_0x12e587);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x254c29(0x197)]=_0x487fc3=>{userInfoCache[_0x487fc3['uid']]=_0x487fc3,userDetailHandlers['forEach'](_0x4edf87=>_0x4edf87(_0x487fc3));},setTimeout(()=>{const _0x1ea868=_0x254c29;napCatCore[_0x1ea868(0x186)](()=>{const _0x23bfb1=_0x1ea868;napCatCore[_0x23bfb1(0x1d6)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x254c29(0x1b3)](_0x4c00ab){const _0x885182=_0x254c29;return napCatCore['session'][_0x885182(0x1bf)]()['setLongNick'](_0x4c00ab);}static async[_0x254c29(0x1c0)](_0x520fc3,_0x46513f,_0x5aac46){const _0x5a2671=_0x254c29;return napCatCore['session'][_0x5a2671(0x199)]()['setStatus']({'status':_0x520fc3,'extStatus':_0x46513f,'batteryStatus':_0x5aac46});}static async[_0x254c29(0x1a7)](_0x151c4e,_0x932495=''){const _0x806a65=_0x254c29;return napCatCore[_0x806a65(0x1c6)][_0x806a65(0x1c7)]()[_0x806a65(0x1a7)](_0x151c4e,_0x932495);}static async[_0x254c29(0x183)](_0xd901f4,_0x3b7ea2=0x1){const _0x55a352=_0x254c29;return napCatCore['session']['getProfileLikeService']()[_0x55a352(0x17b)]({'friendUid':_0xd901f4,'sourceId':0x47,'doLikeCount':_0x3b7ea2,'doLikeTollCount':0x0});}static async[_0x254c29(0x1da)](_0x5a78b2){const _0x2789d7=_0x254c29,_0x2f4092=await napCatCore[_0x2789d7(0x1c6)]['getProfileService']()[_0x2789d7(0x188)](_0x5a78b2);return{'result':_0x2f4092?.['result'],'errMsg':_0x2f4092?.['errMsg']};}static async[_0x254c29(0x17d)](){}static async['getUserInfo'](_0x421738){}static async['getUserDetailInfo'](_0xe66560){const _0x36bdea=_0x254c29,_0x41c212={'qtasD':function(_0x35c7d4,_0x49a2aa){return _0x35c7d4===_0x49a2aa;},'npoMG':function(_0x96d086,_0x543181){return _0x96d086(_0x543181);},'Wjomf':function(_0x210aee,_0x51100e){return _0x210aee(_0x51100e);},'tahxk':_0x36bdea(0x17e),'oKwrc':function(_0x2b8f4d){return _0x2b8f4d();}},_0x23ba1a=napCatCore['session']['getProfileService']();return new Promise((_0x45527f,_0x3bae97)=>{const _0x479894=_0x36bdea,_0x114936={'hwsyd':function(_0x14a1a7,_0x54617a){const _0x2a8104=_0x3eda;return _0x41c212[_0x2a8104(0x181)](_0x14a1a7,_0x54617a);},'ZCRGi':_0x41c212[_0x479894(0x1af)]},_0x1e1bc0=_0x41c212[_0x479894(0x176)](randomUUID);let _0x3c36a9=![],_0x58a0b9=undefined,_0x1b8bf4=!![];setTimeout(()=>{const _0x4030dd=_0x479894;!_0x3c36a9&&(_0x58a0b9?_0x114936[_0x4030dd(0x1b9)](_0x45527f,_0x58a0b9):_0x114936[_0x4030dd(0x1b9)](_0x3bae97,_0x114936[_0x4030dd(0x1c5)])),userDetailHandlers[_0x4030dd(0x1ac)](_0x1e1bc0);},0x1388),userDetailHandlers[_0x479894(0x1ca)](_0x1e1bc0,_0x463c5f=>{const _0x16397e=_0x479894;_0x41c212[_0x16397e(0x1d7)](_0x463c5f['uid'],_0xe66560)&&(_0x1b8bf4?(_0x58a0b9=_0x463c5f,_0x1b8bf4=![]):(_0x3c36a9=!![],_0x41c212[_0x16397e(0x1aa)](_0x45527f,_0x463c5f)));}),_0x23ba1a['getUserDetailInfoWithBizInfo'](_0xe66560,[0x0])['then'](_0x2a0c36=>{});});}static async[_0x254c29(0x1d9)](_0x3196a6){const _0x1263e7=_0x254c29;return napCatCore[_0x1263e7(0x1c6)][_0x1263e7(0x1bf)]()[_0x1263e7(0x18f)](_0x3196a6);}static async[_0x254c29(0x1bc)](_0x528975){const _0x310852=_0x254c29,_0x409e9c={'YJtSi':function(_0x2fe0f3,_0xe594fe){return _0x2fe0f3+_0xe594fe;},'XNEWU':function(_0x56e01d,_0x18c60a){return _0x56e01d+_0x18c60a;},'UegWc':function(_0x130e1e,_0x346a49){return _0x130e1e+_0x346a49;},'QYAhy':_0x310852(0x18a),'anUWk':_0x310852(0x1cc),'pWWbX':_0x310852(0x187),'IAIBs':_0x310852(0x19a)},_0x1fbc2c=await NTQQUserApi[_0x310852(0x190)](),_0x1e3745=_0x409e9c['YJtSi'](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1b2)](_0x409e9c[_0x310852(0x1d5)](_0x409e9c[_0x310852(0x18d)](_0x409e9c[_0x310852(0x1d1)]+selfInfo[_0x310852(0x19b)],_0x409e9c['anUWk']),_0x1fbc2c[_0x310852(0x1a5)]),_0x409e9c[_0x310852(0x1b0)]),_0x528975),_0x310852(0x1ab))+selfInfo[_0x310852(0x19b)],_0x409e9c[_0x310852(0x18b)]);let _0x3fcb44={};try{_0x3fcb44=await RequestUtil[_0x310852(0x1a9)](_0x1e3745);}catch(_0x171e70){logDebug(_0x310852(0x1d2),_0x171e70),_0x3fcb44={};}return _0x3fcb44;}static async['getPSkey'](_0xa796e8){const _0x5baf06=_0x254c29;return await napCatCore['session'][_0x5baf06(0x1ad)]()[_0x5baf06(0x17a)](_0xa796e8,!![]);}static async[_0x254c29(0x19d)](){const _0x38f875=_0x254c29,_0x9b9529=await napCatCore[_0x38f875(0x1c6)][_0x38f875(0x1a1)]()[_0x38f875(0x19d)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x9b9529?.[_0x38f875(0x191)]?.['robotUinRanges'];}static async[_0x254c29(0x185)](){const _0x1409f4=_0x254c29,_0x56d325={'irkBe':function(_0x326e4b,_0x39a5b1){return _0x326e4b+_0x39a5b1;},'MNICp':function(_0x401361,_0x50f940){return _0x401361+_0x50f940;},'kWvUp':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','lGtag':'&clientkey=','GfAWv':_0x1409f4(0x19a),'bAxeS':_0x1409f4(0x1d2)},_0x1a198d=await NTQQUserApi[_0x1409f4(0x190)](),_0x386566=_0x56d325['irkBe'](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x1ce)](_0x56d325[_0x1409f4(0x17c)](_0x56d325['kWvUp'],selfInfo[_0x1409f4(0x19b)]),_0x56d325[_0x1409f4(0x1c8)]),_0x1a198d[_0x1409f4(0x1a5)])+_0x1409f4(0x192),selfInfo['uin']),_0x56d325[_0x1409f4(0x189)]);let _0x13c3f1={};try{_0x13c3f1=await RequestUtil[_0x1409f4(0x1a9)](_0x386566);}catch(_0x35f3c6){logDebug(_0x56d325[_0x1409f4(0x17f)],_0x35f3c6),_0x13c3f1={};}return _0x13c3f1;}static async['getSkey'](){const _0x5b283d=_0x254c29,_0x36d564={'vKqje':function(_0xf1596c,_0x283ca3){return _0xf1596c!==_0x283ca3;},'jfewJ':function(_0x20bd6c,_0x4e9147){return _0x20bd6c+_0x4e9147;},'EnEux':function(_0x1251e7,_0x4ea93b){return _0x1251e7+_0x4ea93b;},'LVylu':function(_0x23d431,_0x54d6de){return _0x23d431+_0x54d6de;},'ZPpyX':_0x5b283d(0x1cc),'SNnEC':function(_0x2366f7,_0x5a2a6d,_0x2b3e9b){return _0x2366f7(_0x5a2a6d,_0x2b3e9b);},'ZtwTE':_0x5b283d(0x198)};try{const _0x3bb8bb=await NTQQUserApi[_0x5b283d(0x190)]();if(_0x36d564[_0x5b283d(0x1d8)](_0x3bb8bb['result'],0x0))return'';const _0x530392=_0x3bb8bb['clientKey'],_0x5efddb=_0x3bb8bb[_0x5b283d(0x178)],_0x589b7c=_0x36d564['jfewJ'](_0x36d564[_0x5b283d(0x1d3)](_0x36d564[_0x5b283d(0x1c3)](_0x5b283d(0x18a)+selfInfo[_0x5b283d(0x19b)],_0x36d564[_0x5b283d(0x1a8)]),_0x530392),_0x5b283d(0x1b4));let _0x164d03={};try{_0x164d03=await RequestUtil[_0x5b283d(0x1a9)](_0x589b7c);}catch(_0x70e3a5){_0x36d564[_0x5b283d(0x1b5)](logDebug,_0x36d564['ZtwTE'],_0x70e3a5),_0x164d03={};}const _0x467882=_0x164d03[_0x5b283d(0x19f)];if(!_0x467882)return'';return _0x467882;}catch(_0x440453){}return undefined;}static async[_0x254c29(0x1b1)](_0x3fe6c7){const _0x118f26=_0x254c29,_0x3c5d2b={'wEKlA':_0x118f26(0x174)};let _0x4602ef=await NTEventDispatch[_0x118f26(0x1ae)](_0x3c5d2b['wEKlA'],0x1388,[_0x3fe6c7]);return _0x4602ef[_0x118f26(0x1bd)][_0x118f26(0x1cf)](_0x3fe6c7);}static async[_0x254c29(0x1bb)](_0x4e4803){const _0x1b4f3a=_0x254c29,_0x327de9={'ahVdE':_0x1b4f3a(0x175)};if(!_0x4e4803)return'';let _0x440191=await NTEventDispatch['CallNoListenerEvent'](_0x327de9['ahVdE'],0x1388,[_0x4e4803]);return _0x440191[_0x1b4f3a(0x1ba)][_0x1b4f3a(0x1cf)](_0x4e4803);}static async['getUserDetailInfoByUin'](_0x15fc27){const _0x3aee56=_0x254c29;return NTEventDispatch[_0x3aee56(0x1ae)](_0x3aee56(0x193),0x1388,_0x15fc27);}static async[_0x254c29(0x190)](){const _0x278408=_0x254c29;return await napCatCore['session'][_0x278408(0x1a2)]()[_0x278408(0x190)]('');}}function _0x3ca7(){const _0x1bc776=['ClientKey','getRobotService','getTicketService','621atpcEg','LkBhX','clientKey','__decorate','getBuddyRecommendContactArkJson','ZPpyX','HttpsGetCookies','npoMG','%2F','delete','getTipOffService','CallNoListenerEvent','tahxk','pWWbX','getUidByUin','XNEWU','setLongNick','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','SNnEC','ZSMpw','getPSkey','93304NmIKTf','hwsyd','uinInfo','getUinByUid','getCookies','uidInfo','56119cxLzmw','getProfileService','setSelfOnlineStatus','decorate','2906tcbUNL','LVylu','384BPnTEZ','ZCRGi','session','getBuddyService','lGtag','2101350jSnDMJ','set','eXVAi','&clientkey=','255qjRYyW','irkBe','get','3089916XUilGC','QYAhy','请求获取Cookies时失败','EnEux','9RXwSxw','YJtSi','addListener','qtasD','vKqje','modifySelfProfile','setQQAvatar','function','TCxzu','NodeIKernelUixConvertService/getUid','NodeIKernelUixConvertService/getUin','oKwrc','foYbQ','keyIndex','36ybegYn','getPskey','setBuddyProfileLike','MNICp','getSelfInfo','getUserDetailInfo\x20timeout','bAxeS','getSkey','Wjomf','CVfsg','like','defineProperty','getQzoneCookies','onLoginSuccess','&u1=https%3A%2F%2F','setHeader','GfAWv','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','IAIBs','ypvnd','UegWc','object','modifyDesktopMiniProfile','forceFetchClientKey','response','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','NodeIKernelProfileService/getUserDetailInfoByUin','27364pEjUQp','12372998uKWIcW','getOwnPropertyDescriptor','onProfileDetailInfoChanged','请求获取Skey时失败','getMsgService','%2Finfocenter&keyindex=19%27','uin','nleTd','getRobotUinRange','length','skey'];_0x3ca7=function(){return _0x1bc776;};return _0x3ca7();}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1bc),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x1b7),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x185),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x254c29(0x180),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x254c29(0x1a0))],NTQQUserApi,_0x254c29(0x190),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 4abc17d9..d050000b 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -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 +const _0x46f1af=_0x5c96;function _0x3ecd(){const _0x45d9c7=['strong_newbie_list','HvbKS','trim','VWPlJ','webapi_get_group_members','talkative','LcUda','legend','cNttr','avatar','mOAhC','1046184aIDwTm','&sort=1&gc=','tsJyJ','TALKACTIVE','OMARD','gtxxv','BeiGT','ZsQKn','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','mems','parse','qGTUk','&text=','getGroupEssenceMsg','LPqYo','503982WWNihJ','push','PPciA','SHQLu','slUpm','swrZm','dkIyV','rPVMh','获取快乐源泉失败','getGrouptNotice','setGroupNotice','rSjqu','VVYMx','&qid=','845840mVLopA','sMzmB','UvjUt','CtBRU','&end=','actorList','emotion_list','wQigb','aevSC','2105543QrjGkW','swjwY','&bkn=','CLRHB','fmtff','ALL','__decorate','decorate','DSZHB','cCHvx','toString','vphiz','yJTCu','LEGEND','SJUcY','cXMkx','4GsIAkR','VtmUC','&page_start=','talkative_list','zcJje','genBkn','domainPskeyMap','qOFEg','sToTy','get','fkHlz',';\x20uin=o','defineProperty','kJYBo','oCesI','match','legend_list','description','name','LrHgI','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','DBewY','AroGZ','PuTGU','kZcLT','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20',';\x20skey=','getSkey','performer_list','XoBhT','38022VugTsx','NKdej','yfnxC','mgdSf','uiKmG','TzhAI','HgMWK','performer','XBRaw','bPQtN','PERFROMER','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','UupLp','Nzrlx','qUnIJ','getOwnPropertyDescriptor','function','GET','nFnLM','object','ZPAat','获取群聊炽焰失败','emotion','errcode','yWQXD','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','wQRbz','ROeNT','losRh','qTgdl','getPSkey','qun.qq.com',';\x20p_uin=o','8469WlCtXq','1674489AuCKcx','nAaLh','oqjWt','YMkFJ','OosaY','WLnJj','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','strong_newbie','desc','count','jjtDW','HttpGetJson','length','EMOTION','szLBy','BkduU','&type=','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','p_skey=','UgJZB','qid=','Ksckx','charCodeAt','10PoSyOR','469lHBjMb','YDmdc','rEIyn','pSVtw','biMUm','uin','uErWS','wRfGa','HttpGetText','Kyxcn','HIvvH','获取群聊之火失败','all','BiiwW','1648LYEdYt','STORONGE_NEWBI','HsRLi','POST','rArAz','mnTnv'];_0x3ecd=function(){return _0x45d9c7;};return _0x3ecd();}function _0x5c96(_0x43b93d,_0x1eb1e8){const _0x3ecd11=_0x3ecd();return _0x5c96=function(_0x5c9609,_0x443dff){_0x5c9609=_0x5c9609-0xca;let _0x544683=_0x3ecd11[_0x5c9609];return _0x544683;},_0x5c96(_0x43b93d,_0x1eb1e8);}(function(_0x277056,_0x39a66d){const _0x56169f=_0x5c96,_0x4489be=_0x277056();while(!![]){try{const _0x168c7e=parseInt(_0x56169f(0x159))/0x1+-parseInt(_0x56169f(0x14a))/0x2+-parseInt(_0x56169f(0x113))/0x3*(-parseInt(_0x56169f(0xd3))/0x4)+parseInt(_0x56169f(0x167))/0x5+parseInt(_0x56169f(0xf1))/0x6*(-parseInt(_0x56169f(0x12b))/0x7)+parseInt(_0x56169f(0x139))/0x8*(-parseInt(_0x56169f(0x112))/0x9)+parseInt(_0x56169f(0x12a))/0xa*(parseInt(_0x56169f(0x170))/0xb);if(_0x168c7e===_0x39a66d)break;else _0x4489be['push'](_0x4489be['shift']());}catch(_0x1ddb5b){_0x4489be['push'](_0x4489be['shift']());}}}(_0x3ecd,0x44a79));var __decorate=this&&this[_0x46f1af(0x176)]||function(_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f){const _0x1c87eb=_0x46f1af,_0x4a20a5={'waMGU':function(_0x6e750b,_0x1ea3e9){return _0x6e750b<_0x1ea3e9;},'LrHgI':function(_0x4795c9,_0x18442f){return _0x4795c9===_0x18442f;},'fmtff':function(_0x590865,_0x381058){return _0x590865===_0x381058;},'tMCTl':_0x1c87eb(0x104),'biMUm':_0x1c87eb(0x101),'HIvvH':function(_0x115734,_0x2d1e12){return _0x115734>=_0x2d1e12;},'VVYMx':function(_0x547d84,_0x3bada6){return _0x547d84<_0x3bada6;},'BeiGT':function(_0x3d5308,_0x49e4f3){return _0x3d5308>_0x49e4f3;},'qOFEg':function(_0x4a82e3,_0x39d03c,_0x5710a2,_0xdc4b28){return _0x4a82e3(_0x39d03c,_0x5710a2,_0xdc4b28);},'VtmUC':function(_0x118d6e,_0x59b02f,_0x4c13aa){return _0x118d6e(_0x59b02f,_0x4c13aa);}};var _0x44cd02=arguments[_0x1c87eb(0x11f)],_0x879ad=_0x4a20a5['waMGU'](_0x44cd02,0x3)?_0x512e4a:_0x4a20a5[_0x1c87eb(0xe6)](_0x1dbf5f,null)?_0x1dbf5f=Object[_0x1c87eb(0x100)](_0x512e4a,_0x321976):_0x1dbf5f,_0x4d968f;if(_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect,_0x4a20a5['tMCTl'])&&_0x4a20a5[_0x1c87eb(0x174)](typeof Reflect[_0x1c87eb(0xca)],_0x4a20a5[_0x1c87eb(0x12f)]))_0x879ad=Reflect[_0x1c87eb(0xca)](_0x3c95f2,_0x512e4a,_0x321976,_0x1dbf5f);else{for(var _0x3e3204=_0x3c95f2['length']-0x1;_0x4a20a5[_0x1c87eb(0x135)](_0x3e3204,0x0);_0x3e3204--)if(_0x4d968f=_0x3c95f2[_0x3e3204])_0x879ad=(_0x4a20a5[_0x1c87eb(0x165)](_0x44cd02,0x3)?_0x4d968f(_0x879ad):_0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)?_0x4a20a5[_0x1c87eb(0xda)](_0x4d968f,_0x512e4a,_0x321976,_0x879ad):_0x4a20a5[_0x1c87eb(0xd4)](_0x4d968f,_0x512e4a,_0x321976))||_0x879ad;}return _0x4a20a5[_0x1c87eb(0x150)](_0x44cd02,0x3)&&_0x879ad&&Object[_0x1c87eb(0xdf)](_0x512e4a,_0x321976,_0x879ad),_0x879ad;};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(_0x5ccbae){const _0x1ab3e5=_0x46f1af,_0x335943={'dVmBC':_0x1ab3e5(0x137),'UgJZB':'TALKACTIVE','OMARD':_0x1ab3e5(0x144),'HsRLi':_0x1ab3e5(0xfb),'oqjWt':_0x1ab3e5(0xd0),'WLnJj':_0x1ab3e5(0x13a),'NKdej':_0x1ab3e5(0x120),'losRh':_0x1ab3e5(0x107)};_0x5ccbae['ALL']=_0x335943['dVmBC'],_0x5ccbae[_0x335943[_0x1ab3e5(0x126)]]=_0x335943[_0x1ab3e5(0x14e)],_0x5ccbae[_0x335943[_0x1ab3e5(0x13b)]]=_0x1ab3e5(0xf8),_0x5ccbae[_0x335943[_0x1ab3e5(0x115)]]=_0x1ab3e5(0x146),_0x5ccbae[_0x335943[_0x1ab3e5(0x118)]]=_0x1ab3e5(0x11a),_0x5ccbae[_0x335943[_0x1ab3e5(0xf2)]]=_0x335943[_0x1ab3e5(0x10d)];}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x46f1af(0x157)](_0x562ec8,_0x326817){const _0x77e4ae=_0x46f1af,_0x32db28={'buEnm':_0x77e4ae(0x110),'wQigb':function(_0x351838,_0x5ea94c){return _0x351838+_0x5ea94c;},'nAaLh':function(_0x55bd89,_0x4f39bd){return _0x55bd89+_0x4f39bd;},'mgdSf':function(_0x8b3222,_0x91d6b3){return _0x8b3222+_0x91d6b3;},'TzhAI':'p_skey=','szLBy':';\x20skey=','yWQXD':_0x77e4ae(0xde),'cNttr':function(_0x3266c7,_0x345856){return _0x3266c7||_0x345856;},'kJYBo':function(_0x1055ac,_0x258f61){return _0x1055ac+_0x258f61;},'yJTCu':function(_0x51742d,_0x2f9d4f){return _0x51742d+_0x2f9d4f;},'HgMWK':_0x77e4ae(0x152),'hbzpe':'&page_limit=20','cXMkx':_0x77e4ae(0x102),'FAeKV':function(_0x1e9617,_0xe2f2a4){return _0x1e9617!==_0xe2f2a4;}},_0xef6679=(await NTQQUserApi[_0x77e4ae(0x10f)]([_0x32db28['buEnm']]))[_0x77e4ae(0xd9)][_0x77e4ae(0xdc)](_0x77e4ae(0x110)),_0x5e9196=await NTQQUserApi[_0x77e4ae(0xee)](),_0x3f5d3d=_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0x16e)](_0x32db28[_0x77e4ae(0xf4)](_0x32db28[_0x77e4ae(0xf6)],_0xef6679),_0x32db28[_0x77e4ae(0x121)])+_0x5e9196+';\x20p_uin=o'+selfInfo[_0x77e4ae(0x130)],_0x32db28[_0x77e4ae(0x109)]),selfInfo[_0x77e4ae(0x130)]);if(_0x32db28[_0x77e4ae(0x147)](!_0x5e9196,!_0xef6679))return undefined;const _0x2cdb34=WebApi[_0x77e4ae(0xd8)](_0x5e9196),_0x1c8de0=_0x32db28['nAaLh'](_0x32db28[_0x77e4ae(0xe0)](_0x32db28[_0x77e4ae(0x114)](_0x32db28[_0x77e4ae(0xcf)](_0x32db28['wQigb'](_0x32db28[_0x77e4ae(0xf7)],_0x2cdb34)+'&group_code=',_0x562ec8),_0x77e4ae(0xd5)),_0x326817),_0x32db28['hbzpe']);let _0x5cdd94;try{_0x5cdd94=await RequestUtil[_0x77e4ae(0x11e)](_0x1c8de0,_0x32db28[_0x77e4ae(0xd2)],'',{'Cookie':_0x3f5d3d});}catch{return undefined;}if(_0x32db28['FAeKV'](_0x5cdd94['retcode'],0x0))return undefined;return _0x5cdd94;}static async['getGroupMembers'](_0x4f2f10,_0x14de2a=!![]){const _0x2401a5=_0x46f1af,_0x3c7d98={'BiiwW':function(_0x1f8e86,_0x91b301){return _0x1f8e86+_0x91b301;},'mnTnv':function(_0x8fc230,_0x390468){return _0x8fc230+_0x390468;},'XBRaw':function(_0x3603d6,_0x4be173){return _0x3603d6+_0x4be173;},'vNzbJ':';\x20skey=','swjwY':';\x20p_uin=o','oUCkI':function(_0xc05d7b,_0x270d93){return _0xc05d7b||_0x270d93;},'pfsKt':function(_0x267abd,_0x15770c){return _0x267abd+_0x15770c;},'LcUda':'&bkn=','OosaY':_0x2401a5(0x13c),'ZsQKn':function(_0x4ef793,_0x2c44d9){return _0x4ef793!==_0x2c44d9;},'MqNfH':function(_0x289187,_0x2add71){return _0x289187+_0x2add71;},'BWseL':function(_0x10acd0,_0x491b49){return _0x10acd0+_0x491b49;},'cCHvx':function(_0x2412e4,_0x48fed7){return _0x2412e4+_0x48fed7;},'dkIyV':function(_0x18b296,_0x1f4230){return _0x18b296+_0x1f4230;},'VWPlJ':function(_0x183463,_0x3445a8){return _0x183463+_0x3445a8;},'rArAz':_0x2401a5(0xe7),'slUpm':function(_0x4ca409,_0x44b366){return _0x4ca409*_0x44b366;},'rEIyn':function(_0x3ba0d4,_0x3dba61){return _0x3ba0d4-_0x3dba61;},'rPVMh':function(_0x48164f,_0x1bf1a5){return _0x48164f*_0x1bf1a5;},'qTgdl':_0x2401a5(0x14b),'yfnxC':function(_0x9192e6,_0x20f93e){return _0x9192e6<=_0x20f93e;}};let _0x1fd9ce=new Array();try{const _0x342d41=(await NTQQUserApi[_0x2401a5(0x10f)]([_0x2401a5(0x110)]))[_0x2401a5(0xd9)][_0x2401a5(0xdc)](_0x2401a5(0x110)),_0x4fd9e6=await NTQQUserApi['getSkey'](),_0xe25233=_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98['mnTnv'](_0x3c7d98[_0x2401a5(0x13e)](_0x3c7d98[_0x2401a5(0xf9)]('p_skey=',_0x342d41),_0x3c7d98['vNzbJ']),_0x4fd9e6),_0x3c7d98[_0x2401a5(0x171)]),selfInfo[_0x2401a5(0x130)]);if(_0x3c7d98['oUCkI'](!_0x4fd9e6,!_0x342d41))return _0x1fd9ce;const _0x3d2574=WebApi[_0x2401a5(0xd8)](_0x4fd9e6),_0x4d89ca=[],_0x3e6036=await RequestUtil[_0x2401a5(0x11e)](_0x3c7d98['pfsKt'](_0x3c7d98['XBRaw'](_0x2401a5(0x124),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)])+_0x3d2574,_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});if(!_0x3e6036?.['count']||_0x3c7d98[_0x2401a5(0x151)](_0x3e6036?.['errcode'],0x0)||!_0x3e6036?.[_0x2401a5(0x153)])return[];else for(const _0x4b26cd in _0x3e6036[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x3e6036[_0x2401a5(0x153)][_0x4b26cd]);}const _0x550034=Math['ceil'](_0x3e6036[_0x2401a5(0x11c)]/0x28);for(let _0xa2ff9b=0x2;_0xa2ff9b<=_0x550034;_0xa2ff9b++){const _0x2340bd=RequestUtil['HttpGetJson'](_0x3c7d98['MqNfH'](_0x3c7d98['BWseL'](_0x3c7d98[_0x2401a5(0x138)](_0x3c7d98[_0x2401a5(0xcc)](_0x3c7d98[_0x2401a5(0x15f)](_0x3c7d98[_0x2401a5(0x142)](_0x3c7d98[_0x2401a5(0x13d)],_0x3c7d98[_0x2401a5(0x15d)](_0x3c7d98[_0x2401a5(0x12d)](_0xa2ff9b,0x1),0x28))+_0x2401a5(0x16b),_0x3c7d98[_0x2401a5(0x160)](_0xa2ff9b,0x28)),_0x3c7d98[_0x2401a5(0x10e)]),_0x4f2f10),_0x3c7d98[_0x2401a5(0x145)]),_0x3d2574),_0x3c7d98[_0x2401a5(0x117)],'',{'Cookie':_0xe25233});_0x4d89ca[_0x2401a5(0x15a)](_0x2340bd);}for(let _0xdc97dd=0x1;_0x3c7d98[_0x2401a5(0xf3)](_0xdc97dd,_0x550034);_0xdc97dd++){const _0x2d0749=await _0x4d89ca[_0xdc97dd];if(!_0x2d0749?.[_0x2401a5(0x11c)]||_0x3c7d98[_0x2401a5(0x151)](_0x2d0749?.[_0x2401a5(0x108)],0x0)||!_0x2d0749?.[_0x2401a5(0x153)])continue;for(const _0x58a580 in _0x2d0749[_0x2401a5(0x153)]){_0x1fd9ce[_0x2401a5(0x15a)](_0x2d0749[_0x2401a5(0x153)][_0x58a580]);}}}catch{return _0x1fd9ce;}return _0x1fd9ce;}static async[_0x46f1af(0x163)](_0x5e2569,_0x15a62a=''){const _0x43fd6c=_0x46f1af,_0xce5224={'FBvHw':_0x43fd6c(0x110),'mOAhC':function(_0x2756f7,_0xb92f89){return _0x2756f7+_0xb92f89;},'HvbKS':function(_0x3d6098,_0x349825){return _0x3d6098+_0x349825;},'UupLp':function(_0x33f572,_0x5a98a3){return _0x33f572+_0x5a98a3;},'yfLxs':_0x43fd6c(0x125),'CtBRU':function(_0x10f74a,_0x24b79c){return _0x10f74a+_0x24b79c;},'AroGZ':function(_0x2f6a8e,_0x3bd120){return _0x2f6a8e+_0x3bd120;},'PPciA':function(_0x481b5e,_0xc72beb){return _0x481b5e+_0xc72beb;},'lRjkG':_0x43fd6c(0x127),'SHQLu':function(_0x2a5c3a,_0x4fd9e3){return _0x2a5c3a+_0x4fd9e3;},'wRfGa':_0x43fd6c(0x119),'Nzrlx':'GET'},_0x50c674=(await NTQQUserApi['getPSkey']([_0xce5224['FBvHw']]))[_0x43fd6c(0xd9)][_0x43fd6c(0xdc)](_0x43fd6c(0x110)),_0x347090=await NTQQUserApi['getSkey'](),_0x582a75=_0xce5224[_0x43fd6c(0x149)](_0xce5224[_0x43fd6c(0x140)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x149)](_0xce5224['yfLxs'],_0x50c674)+_0x43fd6c(0xed),_0x347090),_0x43fd6c(0x111)),selfInfo[_0x43fd6c(0x130)]);let _0x27606b=undefined;if(!_0x347090||!_0x50c674)return undefined;const _0x50a201=WebApi['genBkn'](_0x347090),_0x2d3b6f=_0xce5224[_0x43fd6c(0xfd)](_0xce5224[_0x43fd6c(0x16a)](_0xce5224[_0x43fd6c(0xe9)](_0xce5224[_0x43fd6c(0x15b)](_0xce5224[_0x43fd6c(0xfd)](_0xce5224['lRjkG']+_0x5e2569,_0x43fd6c(0x172)),_0x50a201),_0x43fd6c(0x156)),_0x15a62a),_0x43fd6c(0xfc)),_0x42f70d=_0xce5224[_0x43fd6c(0x15c)](_0xce5224[_0x43fd6c(0x132)],_0x50a201);try{return _0x27606b=await RequestUtil[_0x43fd6c(0x11e)](_0x42f70d,_0xce5224[_0x43fd6c(0xfe)],'',{'Cookie':_0x582a75}),_0x27606b;}catch(_0x30b2dd){return undefined;}return undefined;}static async[_0x46f1af(0x162)](_0x2d2b0b){const _0x359362=_0x46f1af,_0x517bf3={'yYXgN':_0x359362(0x110),'qGTUk':function(_0x41ddbd,_0x4cdb41){return _0x41ddbd+_0x4cdb41;},'sKkhC':function(_0x3074e9,_0x4146bd){return _0x3074e9+_0x4146bd;},'sToTy':function(_0x696e87,_0xfe429c){return _0x696e87+_0xfe429c;},'uiKmG':function(_0x19466b,_0xb59ffd){return _0x19466b+_0xb59ffd;},'rSjqu':'p_skey=','UvjUt':_0x359362(0x111),'qUnIJ':function(_0x757e9a,_0x2d1337){return _0x757e9a||_0x2d1337;},'swrZm':_0x359362(0x10a),'LPqYo':_0x359362(0x166),'SJUcY':_0x359362(0xec),'cRDPa':function(_0x4bf1e3,_0x59a0d7){return _0x4bf1e3!==_0x59a0d7;}},_0x2cb1ab=(await NTQQUserApi[_0x359362(0x10f)]([_0x517bf3['yYXgN']]))['domainPskeyMap'][_0x359362(0xdc)](_0x359362(0x110)),_0x212735=await NTQQUserApi[_0x359362(0xee)](),_0x545820=_0x517bf3[_0x359362(0x155)](_0x517bf3[_0x359362(0x155)](_0x517bf3['sKkhC'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0xf5)](_0x517bf3[_0x359362(0x164)],_0x2cb1ab),_0x359362(0xed)),_0x212735),_0x517bf3[_0x359362(0x169)]),selfInfo['uin']);let _0x32fd73=undefined;if(_0x517bf3[_0x359362(0xff)](!_0x212735,!_0x2cb1ab))return undefined;const _0x48cd0a=WebApi['genBkn'](_0x212735),_0x110a07=_0x517bf3['uiKmG'](_0x517bf3[_0x359362(0xdb)](_0x517bf3[_0x359362(0x15e)]+_0x48cd0a+_0x517bf3[_0x359362(0x158)],_0x2d2b0b),_0x517bf3[_0x359362(0xd1)]);try{_0x32fd73=await RequestUtil['HttpGetJson'](_0x110a07,_0x359362(0x102),'',{'Cookie':_0x545820});if(_0x517bf3['cRDPa'](_0x32fd73?.['ec'],0x0))return undefined;return _0x32fd73;}catch(_0x115b29){return undefined;}return undefined;}static[_0x46f1af(0xd8)](_0x5e8670){const _0x435b34=_0x46f1af,_0x3bc2e8={'sMzmB':function(_0x31df13,_0x92ed1){return _0x31df13||_0x92ed1;},'XiXYV':function(_0x234e07,_0x495000){return _0x234e07<_0x495000;},'uErWS':function(_0x4cd0e9,_0x3da5a0){return _0x4cd0e9+_0x3da5a0;},'YDmdc':function(_0x555325,_0x6a63a1){return _0x555325+_0x6a63a1;},'vphiz':function(_0x176b06,_0x2560ea){return _0x176b06<<_0x2560ea;},'tsJyJ':function(_0x4d0384,_0xf0821e){return _0x4d0384&_0xf0821e;}};_0x5e8670=_0x3bc2e8[_0x435b34(0x168)](_0x5e8670,'');let _0x4275c7=0x1505;for(let _0x5e0427=0x0;_0x3bc2e8['XiXYV'](_0x5e0427,_0x5e8670['length']);_0x5e0427++){const _0x3f67d4=_0x5e8670[_0x435b34(0x129)](_0x5e0427);_0x4275c7=_0x3bc2e8[_0x435b34(0x131)](_0x3bc2e8[_0x435b34(0x12c)](_0x4275c7,_0x3bc2e8[_0x435b34(0xce)](_0x4275c7,0x5)),_0x3f67d4);}return _0x3bc2e8[_0x435b34(0x14c)](_0x4275c7,0x7fffffff)[_0x435b34(0xcd)]();}static async['getGroupHonorInfo'](_0x4d63aa,_0x1403e2){const _0x2b8eba=_0x46f1af,_0x395d6a={'CLRHB':function(_0x4dba0f,_0x553cff){return _0x4dba0f+_0x553cff;},'oCesI':'https://qun.qq.com/interactive/honorlist?gc=','ZPAat':_0x2b8eba(0x123),'DSZHB':_0x2b8eba(0x102),'DBewY':function(_0x167eb6,_0x599193){return _0x167eb6===_0x599193;},'bPQtN':function(_0x4fa224,_0x1930dc,_0x30586d,_0x1bf77c){return _0x4fa224(_0x1930dc,_0x30586d,_0x1bf77c);},'PuTGU':'获取当前群荣耀失败','Ksckx':_0x2b8eba(0x110),'BkduU':function(_0x446553,_0x1c6e7b){return _0x446553||_0x1c6e7b;},'wQRbz':function(_0x4297fb,_0x1c3bab){return _0x4297fb+_0x1c3bab;},'Kyxcn':function(_0x48812e,_0x539cae){return _0x48812e+_0x539cae;},'nFnLM':_0x2b8eba(0x125),'kZcLT':';\x20skey=','CxFeC':';\x20p_uin=o','gtxxv':_0x2b8eba(0xde),'zcJje':function(_0x14957b,_0x18645d){return _0x14957b===_0x18645d;},'XOzFD':'获取龙王信息失败','YMkFJ':function(_0x2d7f79,_0x2fcca8){return _0x2d7f79(_0x2fcca8);},'pSVtw':function(_0x578382,_0x573d2f){return _0x578382===_0x573d2f;},'jjtDW':function(_0xcb7b6,_0xd80522,_0x42557b){return _0xcb7b6(_0xd80522,_0x42557b);},'aevSC':_0x2b8eba(0x136),'XoBhT':_0x2b8eba(0x106),'sPUbv':function(_0x5b8e61,_0x181b86){return _0x5b8e61===_0x181b86;},'fkHlz':_0x2b8eba(0x161),'ROeNT':function(_0x3d9af9,_0x381a45,_0x14b329){return _0x3d9af9(_0x381a45,_0x14b329);},'fkszD':function(_0x37d4bc,_0x4e07ae){return _0x37d4bc===_0x4e07ae;}},_0x11188d=(await NTQQUserApi[_0x2b8eba(0x10f)]([_0x395d6a[_0x2b8eba(0x128)]]))['domainPskeyMap'][_0x2b8eba(0xdc)](_0x395d6a[_0x2b8eba(0x128)]),_0x239d5d=await NTQQUserApi[_0x2b8eba(0xee)]();if(_0x395d6a[_0x2b8eba(0x122)](!_0x239d5d,!_0x11188d))return undefined;async function _0x21e173(_0x6e2715,_0x2f3d5e){const _0x270fbc=_0x2b8eba;let _0x209718=_0x395d6a['CLRHB'](_0x395d6a[_0x270fbc(0x173)](_0x395d6a[_0x270fbc(0xe1)]+_0x6e2715,_0x395d6a[_0x270fbc(0x105)]),_0x2f3d5e['toString']()),_0x2d9358='',_0x498c9d;try{_0x2d9358=await RequestUtil[_0x270fbc(0x133)](_0x209718,_0x395d6a[_0x270fbc(0xcb)],'',{'Cookie':_0x1974dc});const _0x59e786=_0x2d9358[_0x270fbc(0xe2)](/window\.__INITIAL_STATE__=(.*?);/);return _0x59e786&&(_0x498c9d=JSON[_0x270fbc(0x154)](_0x59e786[0x1][_0x270fbc(0x141)]())),_0x395d6a[_0x270fbc(0xe8)](_0x2f3d5e,0x1)?_0x498c9d?.['talkativeList']:_0x498c9d?.[_0x270fbc(0x16c)];}catch(_0x269472){_0x395d6a[_0x270fbc(0xfa)](logDebug,_0x395d6a[_0x270fbc(0xea)],_0x209718,_0x269472);}return undefined;}let _0x43603c={'group_id':_0x4d63aa};const _0x1974dc=_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x173)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x10b)](_0x395d6a[_0x2b8eba(0x134)](_0x395d6a[_0x2b8eba(0x103)],_0x11188d),_0x395d6a[_0x2b8eba(0xeb)])+_0x239d5d,_0x395d6a['CxFeC']),selfInfo[_0x2b8eba(0x130)]),_0x395d6a[_0x2b8eba(0x14f)])+selfInfo[_0x2b8eba(0x130)];if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0x14d)])||_0x395d6a[_0x2b8eba(0xd7)](_0x1403e2,WebHonorType['ALL']))try{let _0x5e3c1e=await _0x21e173(_0x4d63aa,0x1);if(!_0x5e3c1e)throw new Error(_0x395d6a['XOzFD']);_0x43603c['current_talkative']={'user_id':_0x5e3c1e[0x0]?.[_0x2b8eba(0x130)],'avatar':_0x5e3c1e[0x0]?.[_0x2b8eba(0x148)],'nickname':_0x5e3c1e[0x0]?.[_0x2b8eba(0xe5)],'day_count':0x0,'description':_0x5e3c1e[0x0]?.['desc']},_0x43603c[_0x2b8eba(0xd6)]=[];for(const _0x2455ef of _0x5e3c1e){_0x43603c[_0x2b8eba(0xd6)]['push']({'user_id':_0x2455ef?.[_0x2b8eba(0x130)],'avatar':_0x2455ef?.[_0x2b8eba(0x148)],'description':_0x2455ef?.[_0x2b8eba(0x11b)],'day_count':0x0,'nickname':_0x2455ef?.[_0x2b8eba(0xe5)]});}}catch(_0x1250bf){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x1250bf);}if(_0x395d6a['pSVtw'](_0x1403e2,WebHonorType['PERFROMER'])||_0x395d6a[_0x2b8eba(0x12e)](_0x1403e2,WebHonorType[_0x2b8eba(0x175)]))try{let _0x119d3d=await _0x395d6a['jjtDW'](_0x21e173,_0x4d63aa,0x2);if(!_0x119d3d)throw new Error(_0x395d6a[_0x2b8eba(0x16f)]);_0x43603c[_0x2b8eba(0xef)]=[];for(const _0x54f0a3 of _0x119d3d){_0x43603c[_0x2b8eba(0xef)][_0x2b8eba(0x15a)]({'user_id':_0x54f0a3?.[_0x2b8eba(0x130)],'nickname':_0x54f0a3?.[_0x2b8eba(0xe5)],'avatar':_0x54f0a3?.[_0x2b8eba(0x148)],'description':_0x54f0a3?.[_0x2b8eba(0x11b)]});}}catch(_0x9259ba){_0x395d6a[_0x2b8eba(0x116)](logDebug,_0x9259ba);}if(_0x395d6a[_0x2b8eba(0xe8)](_0x1403e2,WebHonorType[_0x2b8eba(0xfb)])||_0x1403e2===WebHonorType['ALL'])try{let _0x39e67e=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x3);if(!_0x39e67e)throw new Error(_0x395d6a[_0x2b8eba(0xf0)]);_0x43603c[_0x2b8eba(0xe3)]=[];for(const _0x45b493 of _0x39e67e){_0x43603c[_0x2b8eba(0xe3)][_0x2b8eba(0x15a)]({'user_id':_0x45b493?.['uin'],'nickname':_0x45b493?.[_0x2b8eba(0xe5)],'avatar':_0x45b493?.[_0x2b8eba(0x148)],'desc':_0x45b493?.['description']});}}catch(_0x5a81c6){_0x395d6a['jjtDW'](logDebug,_0x2b8eba(0x106),_0x5a81c6);}if(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x1403e2===WebHonorType['ALL'])try{let _0x4cdf62=await _0x395d6a[_0x2b8eba(0x11d)](_0x21e173,_0x4d63aa,0x6);if(!_0x4cdf62)throw new Error(_0x395d6a[_0x2b8eba(0xdd)]);_0x43603c[_0x2b8eba(0x16d)]=[];for(const _0x1d187e of _0x4cdf62){_0x43603c['emotion_list'][_0x2b8eba(0x15a)]({'user_id':_0x1d187e?.['uin'],'nickname':_0x1d187e?.[_0x2b8eba(0xe5)],'avatar':_0x1d187e?.['avatar'],'desc':_0x1d187e?.[_0x2b8eba(0xe4)]});}}catch(_0x5d1374){_0x395d6a[_0x2b8eba(0x10c)](logDebug,_0x395d6a[_0x2b8eba(0xdd)],_0x5d1374);}return(_0x395d6a['sPUbv'](_0x1403e2,WebHonorType[_0x2b8eba(0x120)])||_0x395d6a['fkszD'](_0x1403e2,WebHonorType['ALL']))&&(_0x43603c[_0x2b8eba(0x13f)]=[]),_0x43603c;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x46f1af(0x143))],WebApi,'getGroupEssenceMsg',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'webapi_get_group_members')],WebApi,'getGroupMembers',null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,'GroupHonorInfo')],WebApi,'getGroupHonorInfo',null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index a0b68164..48febc84 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -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 +const _0x6b221c=_0x242d;function _0x242d(_0x158835,_0x27af1f){const _0x3b3b46=_0x3b3b();return _0x242d=function(_0x242de1,_0xcac24c){_0x242de1=_0x242de1-0xc4;let _0x3d65d6=_0x3b3b46[_0x242de1];return _0x3d65d6;},_0x242d(_0x158835,_0x27af1f);}(function(_0x226c36,_0x25a963){const _0x1d37e5=_0x242d,_0x3de561=_0x226c36();while(!![]){try{const _0x5e5d50=-parseInt(_0x1d37e5(0x145))/0x1+parseInt(_0x1d37e5(0x12a))/0x2*(-parseInt(_0x1d37e5(0xd1))/0x3)+parseInt(_0x1d37e5(0x11f))/0x4+-parseInt(_0x1d37e5(0xf6))/0x5+parseInt(_0x1d37e5(0xcc))/0x6+-parseInt(_0x1d37e5(0xda))/0x7*(-parseInt(_0x1d37e5(0xc6))/0x8)+parseInt(_0x1d37e5(0x162))/0x9;if(_0x5e5d50===_0x25a963)break;else _0x3de561['push'](_0x3de561['shift']());}catch(_0x3eeb7e){_0x3de561['push'](_0x3de561['shift']());}}}(_0x3b3b,0x8c68c));import _0x4d181f from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x212b69 from'node:path';import _0x55afc4 from'node:os';import _0x5e2c56 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';function _0x3b3b(){const _0x846b83=['HnbBI','qrLogin','onMemberInfoChange','hpuJR','NodeIDispatcherAdapter','onQRCodeSessionFailed','vtRmY','dataPath','initSession','dOsFI','vLFsx','\x20has\x20no\x20method\x20','isQuickLogin','OWRUM','quickLoginWithUin','forEach','init','getBuddyService','packet_received','startNT','1654948FoEdNC','quickLogin','fileLogLevel','tipsDesc','infos','WJLdJ','pngBase64QrcodeData','teyWb','cLJWr','proxyHandler','packet_sent','10kORvsk','getNTUserDataInfoConfig','createHash','CyQuy','快速登录不可用','initConfig','ALCAB','consoleLogLevel','IveNd','devUid','getLoginList','getGroupService','addKernelProfileListener','push','has','Wzvpf','groupCode','undefined','split','NodeIKernelGroupListener','./nt_qq/global','getQuickLoginList','addListener','getNextMemberList','Mjrgp','登录失败(onLoginFailed)','QhdyP','949694guBuET','addKernelGroupListener','LxEER','dataPathGlobal','digest',')已登录,无法重复登录','ProfileListener','now','loginErrorInfo','MRqlO','loginListener','tipsTitle','NodeIQQNTWrapperSession','NodeIKernelSessionListener','viNAn','name','onAddSendMsg','当前账号(','onRecvMsg','140022013','_GW_B','onQRCodeLoginSucceed','message_received','NodeIQQNTWrapperEngine','JkSSZ','没有可快速登录的QQ号','GroupListener','onRecvSysMsg','addKernelBuddyListener','6509250hQmhzU','mkdirSync','curVersion','PTQvl','errMsg','isDelete','onLineDev','BuddyListener','ZurVz','session','onLoginFailed','sceneId','gvUva','fileLog','uMvuH','NodeIKernelLoginService','last_message_time','NodeIKernelBuddyListener','initSession\x20failed','initDataListener','assign','then','nekGW','8hZcvjY','getQRCodePicture','uin','账号设备(','from','memberCount','3896844qWzJdL','clientType','resolve','read','TnxSi','29895uRZVEL','./NapCat/data','Windows\x2010\x20Pro','catch','uid','onProfileDetailInfoChanged','yhNju',')\x20在线状态变更','loginService','3472203bPQgEF','floor','onGroupListUpdate','nuAqK','waCRh','KMfCE','data:image/png;base64,','登录失败(onQRCodeSessionFailed)','Ypbdu','MsgListener','onLoginSuccessFuncList','base64','map','find','本账号数据/缓存目录:','rfeFd','set','lZrkQ','replace','iSXlC','util','CalBQ','buddyList','NodeQQNTWrapperUtil','QiRDQ','PJKNU','passwordLogin','getMsgService','3539275RcGHMS','NodeIKernelProfileListener','grpYj','PNrwF','message_sent','result','init\x20failed\x20','快速登录失败\x20','groupMemberList_MainWindow','qrcodeUrl','zmsDo','NQIjV','md5','ZwruN','WidoM','stringify','hRtQG','get','ALdBx','trVWH','engine'];_0x3b3b=function(){return _0x846b83;};return _0x3b3b();}import{sleep}from'@/common/utils/helper';import _0x1ee1f6 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{[_0x6b221c(0x16b)];['util'];[_0x6b221c(0x10a)];[_0x6b221c(0x14f)];[_0x6b221c(0xd9)];[_0x6b221c(0xe4)]=[];[_0x6b221c(0x128)]={'get'(target,prop,receiver){const _0x4a5e89=_0x6b221c,EzpIsi={'anmAQ':function(x,y){return x===y;},'yhNju':_0x4a5e89(0x13b)};if(EzpIsi['anmAQ'](typeof target[prop],EzpIsi[_0x4a5e89(0xd7)]))return(...args)=>{const _0x473b2b=_0x4a5e89;logDebug(target['constructor'][_0x473b2b(0x154)]+_0x473b2b(0x116)+prop);};return Reflect[_0x4a5e89(0x107)](target,prop,receiver);}};constructor(){const _0x5f040d=_0x6b221c,_0xe6978f={'vLFsx':_0x5f040d(0x14a),'PNrwF':function(_0x1561af,_0x3c7a47,_0x207a8d){return _0x1561af(_0x3c7a47,_0x207a8d);},'trVWH':_0x5f040d(0x174),'JkSSZ':'数据库初始化失败','dOsFI':function(_0x13d0cf,_0x4f861e){return _0x13d0cf instanceof _0x4f861e;},'SmagM':function(_0x2effcd,_0x431713){return _0x2effcd(_0x431713);},'PJKNU':function(_0x24df64,_0x2a5841){return _0x24df64(_0x2a5841);},'Mjrgp':_0x5f040d(0xe8),'KMfCE':function(_0xfdeb00,_0x571d1d,_0x353b45){return _0xfdeb00(_0x571d1d,_0x353b45);},'eQRlo':_0x5f040d(0xe1),'Wzvpf':function(_0x2dde13,_0x1af7c1){return _0x2dde13==_0x1af7c1;},'MMekc':_0x5f040d(0x143)};this['engine']=new _0x4d181f[(_0x5f040d(0x15c))](),this[_0x5f040d(0xee)]=new _0x4d181f[(_0x5f040d(0xf1))](),this[_0x5f040d(0xd9)]=new _0x4d181f[(_0x5f040d(0x171))](),this['session']=new _0x4d181f[(_0x5f040d(0x151))](),this[_0x5f040d(0x14f)]=new LoginListener(),this[_0x5f040d(0x14f)]['onUserLoggedIn']=_0x5ebbcb=>{const _0x5d5235=_0x5f040d;logError(_0x5d5235(0x156)+_0x5ebbcb+_0xe6978f[_0x5d5235(0x115)]);},this[_0x5f040d(0x12f)](),this[_0x5f040d(0x14f)][_0x5f040d(0x15a)]=_0x5d7fc6=>{const _0x5e8382=_0x5f040d,_0x25b806={'lZrkQ':function(_0x277991,_0x4bdaf5,_0x104088){return _0xe6978f['PNrwF'](_0x277991,_0x4bdaf5,_0x104088);},'KhNph':_0xe6978f[_0x5e8382(0x15d)],'CyQuy':function(_0x220c9a,_0x20ad91){const _0x1abad2=_0x5e8382;return _0xe6978f[_0x1abad2(0x114)](_0x220c9a,_0x20ad91);},'bvhef':function(_0x5a844a,_0x5a06d2){return _0xe6978f['SmagM'](_0x5a844a,_0x5a06d2);},'upvny':function(_0x4ef96a,_0xf274bb){const _0x15f69d=_0x5e8382;return _0xe6978f[_0x15f69d(0xf3)](_0x4ef96a,_0xf274bb);},'nuAqK':_0x5e8382(0xd2),'ALCAB':_0xe6978f[_0x5e8382(0x142)]};this[_0x5e8382(0x113)](_0x5d7fc6['uin'],_0x5d7fc6[_0x5e8382(0xd5)])[_0x5e8382(0xc4)](_0x39251a=>{const _0x14a5e1=_0x5e8382,_0x106944={'cLJWr':function(_0x30579f,_0x2576a2,_0x207a04){const _0x102bc4=_0x242d;return _0x25b806[_0x102bc4(0xeb)](_0x30579f,_0x2576a2,_0x207a04);},'LxEER':function(_0x25f744,_0x2b5759){const _0x5d774e=_0x242d;return _0x25b806[_0x5d774e(0x12d)](_0x25f744,_0x2b5759);}};selfInfo[_0x14a5e1(0xc8)]=_0x5d7fc6[_0x14a5e1(0xc8)],selfInfo[_0x14a5e1(0xd5)]=_0x5d7fc6[_0x14a5e1(0xd5)],napCatConfig[_0x14a5e1(0xcf)](),_0x25b806[_0x14a5e1(0xeb)](setLogLevel,napCatConfig[_0x14a5e1(0x121)],napCatConfig[_0x14a5e1(0x131)]),_0x25b806['bvhef'](enableFileLog,napCatConfig[_0x14a5e1(0x16f)]),_0x25b806['upvny'](enableConsoleLog,napCatConfig['consoleLog']),_0x25b806['bvhef'](setLogSelfInfo,selfInfo);const _0x23ecf0=_0x212b69[_0x14a5e1(0xce)](this['dataPath'],_0x25b806[_0x14a5e1(0xdd)]);_0x5e2c56[_0x14a5e1(0x163)](_0x23ecf0,{'recursive':!![]}),_0x25b806[_0x14a5e1(0xeb)](logDebug,_0x25b806[_0x14a5e1(0x130)],_0x23ecf0),dbUtil['init'](_0x212b69[_0x14a5e1(0xce)](_0x23ecf0,'./'+_0x5d7fc6[_0x14a5e1(0xc8)]+'-v2.db'))['then'](()=>{const _0x3561a1=_0x14a5e1,_0x57f0ce={'teyWb':function(_0x48220d,_0x6f22c4,_0x2dfd0d){const _0x177ef7=_0x242d;return _0x106944[_0x177ef7(0x127)](_0x48220d,_0x6f22c4,_0x2dfd0d);},'ZwruN':function(_0xba9748,_0x307d07){const _0x50c3d9=_0x242d;return _0x106944[_0x50c3d9(0x147)](_0xba9748,_0x307d07);}};this[_0x3561a1(0x175)](),this[_0x3561a1(0xe4)]['map'](_0x4fd78c=>{const _0x30398d=_0x3561a1;new Promise((_0xe36831,_0x3d6afe)=>{const _0x15ec50=_0x242d,_0x32da7f=_0x57f0ce[_0x15ec50(0x126)](_0x4fd78c,_0x5d7fc6[_0x15ec50(0xc8)],_0x5d7fc6[_0x15ec50(0xd5)]);_0x57f0ce[_0x15ec50(0x103)](_0x32da7f,Promise)&&_0x32da7f['then'](_0xe36831)[_0x15ec50(0xd4)](_0x3d6afe);})[_0x30398d(0xc4)]();});})[_0x14a5e1(0xd4)](_0x4f6f13=>{const _0x3f5b01=_0x14a5e1;_0x25b806[_0x3f5b01(0xeb)](logError,_0x25b806['KhNph'],_0x4f6f13);});})['catch'](_0x451d4b=>{const _0x374604=_0x5e8382;_0xe6978f[_0x374604(0xf9)](logError,_0xe6978f[_0x374604(0x109)],_0x451d4b);throw new Error('启动失败:\x20'+JSON[_0x374604(0x105)](_0x451d4b));});},this[_0x5f040d(0x14f)][_0x5f040d(0x110)]=(_0x5a9b01,_0x34f31f,_0xd272bd)=>{const _0x10f55c=_0x5f040d;_0xe6978f[_0x10f55c(0xdf)](logError,_0xe6978f['eQRlo'],_0xd272bd),_0x5a9b01==0x1&&_0xe6978f[_0x10f55c(0x139)](_0x34f31f,0x3)&&this['loginService'][_0x10f55c(0xc7)]();},this['loginListener'][_0x5f040d(0x16c)]=_0x595aa0=>{const _0x39af94=_0x5f040d;_0xe6978f[_0x39af94(0xf9)](logError,_0xe6978f['MMekc'],_0x595aa0);},this[_0x5f040d(0x14f)]=new Proxy(this[_0x5f040d(0x14f)],this[_0x5f040d(0x128)]),this[_0x5f040d(0xd9)]['addKernelLoginListener'](new _0x4d181f['NodeIKernelLoginListener'](this[_0x5f040d(0x14f)]));}get[_0x6b221c(0x112)](){const _0x406960=_0x6b221c,_0x4af767={'NQIjV':'./.config/QQ'};let _0x51375c=this[_0x406960(0xee)][_0x406960(0x12b)]();return!_0x51375c&&(_0x51375c=_0x212b69[_0x406960(0xce)](_0x55afc4['homedir'](),_0x4af767[_0x406960(0x101)]),_0x5e2c56['mkdirSync'](_0x51375c,{'recursive':!![]})),_0x51375c;}get['dataPathGlobal'](){const _0x412ed7=_0x6b221c,_0x1ac21d={'zmsDo':_0x412ed7(0x13e)};return _0x212b69['resolve'](this[_0x412ed7(0x112)],_0x1ac21d[_0x412ed7(0x100)]);}[_0x6b221c(0x12f)](){const _0x124f6b=_0x6b221c,_0x4d38e6={'MRqlO':_0x124f6b(0xd3)};this[_0x124f6b(0x10a)]['initWithDeskTopConfig']({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x124f6b(0x164)],'os_version':_0x4d38e6[_0x124f6b(0x14e)],'use_xlog':!![],'qua':'V1_WIN_NQ_'+qqVersionConfigInfo[_0x124f6b(0x164)][_0x124f6b(0xec)]('-','_')+_0x124f6b(0x159),'global_path_config':{'desktopGlobalPath':this[_0x124f6b(0x148)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4d181f['NodeIGlobalAdapter'](new GlobalAdapter())),this['loginService']['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x124f6b(0x148)],'clientVer':qqVersionConfigInfo[_0x124f6b(0x164)],'hostName':hostname});}[_0x6b221c(0x113)](_0x1fe2fa,_0x1182b1){const _0x36c597={'IveNd':function(_0x4cb543,_0x1cda08){return _0x4cb543(_0x1cda08);},'WJLdJ':function(_0x382100,_0x33bc13,_0x8ed3d3,_0x16c0cc){return _0x382100(_0x33bc13,_0x8ed3d3,_0x16c0cc);},'WidoM':function(_0x1afca9,_0x370ab4){return _0x1afca9+_0x370ab4;}};return new Promise(async(_0x15d3ba,_0x20afe6)=>{const _0xf55f97=_0x242d,_0x110297={'ZurVz':function(_0x52158e,_0x5ae0e6){return _0x52158e===_0x5ae0e6;},'Ypbdu':function(_0xc29ef7,_0xf2b00){const _0x490226=_0x242d;return _0x36c597[_0x490226(0x132)](_0xc29ef7,_0xf2b00);}},_0x5139be=await _0x36c597[_0xf55f97(0x124)](genSessionConfig,_0x1fe2fa,_0x1182b1,this[_0xf55f97(0x112)]),_0xe0d369=new SessionListener();_0xe0d369['onSessionInitComplete']=_0x210c7b=>{const _0x4c8159=_0xf55f97;if(_0x110297[_0x4c8159(0x16a)](_0x210c7b,0x0))return _0x15d3ba(0x0);_0x110297[_0x4c8159(0xe2)](_0x20afe6,_0x210c7b);},this[_0xf55f97(0x16b)][_0xf55f97(0x11b)](_0x5139be,new _0x4d181f['NodeIDependsAdapter'](new DependsAdapter()),new _0x4d181f[(_0xf55f97(0x10f))](new DispatcherAdapter()),new _0x4d181f[(_0xf55f97(0x152))](_0xe0d369));try{this[_0xf55f97(0x16b)][_0xf55f97(0x11e)](0x0);}catch(_0x2da01e){try{this['session'][_0xf55f97(0x11e)]();}catch(_0x2576d4){_0x20afe6(_0x36c597[_0xf55f97(0x104)](_0xf55f97(0xfc),_0x2576d4));}}});}[_0x6b221c(0x175)](){const _0x5aaeab=_0x6b221c,_0x6906a6={'rfeFd':function(_0x3be6ff,_0x37ae2e){return _0x3be6ff(_0x37ae2e);},'drymS':_0x5aaeab(0xd8),'pFgHG':function(_0x47448c,_0x558977){return _0x47448c(_0x558977);},'QtQum':function(_0xe8faf2,_0x7f82d0){return _0xe8faf2+_0x7f82d0;},'SKtzD':function(_0xf6aa8,_0x29c053){return _0xf6aa8/_0x29c053;},'iSXlC':function(_0x389947,_0x31e9f9){return _0x389947===_0x31e9f9;},'QhdyP':_0x5aaeab(0xfe),'RMLyQ':function(_0x2c8ca3,_0x895a54,_0x28d817){return _0x2c8ca3(_0x895a54,_0x28d817);}},_0x460a6c=new MsgListener();_0x460a6c[_0x5aaeab(0x168)]=_0x1b2d07=>{const _0x35ac2e=_0x5aaeab,_0x4482ce={'hpuJR':function(_0x39a81a,_0x6d6efb){const _0x54ef84=_0x242d;return _0x6906a6[_0x54ef84(0xe9)](_0x39a81a,_0x6d6efb);},'hKyAX':function(_0x3bad19,_0x4c3f82){return _0x3bad19+_0x4c3f82;},'uMvuH':_0x6906a6['drymS']};_0x1b2d07[_0x35ac2e(0xe6)](_0x4c9312=>{const _0x45862c=_0x35ac2e;_0x4c9312[_0x45862c(0xcd)]===0x2&&_0x4482ce[_0x45862c(0x10e)](log,_0x4482ce['hKyAX'](_0x45862c(0xc9)+_0x4c9312[_0x45862c(0x133)],_0x4482ce[_0x45862c(0x170)]));});},_0x460a6c['onKickedOffLine']=_0xddca38=>{const _0x3b5b1f=_0x5aaeab;_0x6906a6['pFgHG'](log,_0x6906a6['QtQum']('[KickedOffLine]\x20[',_0xddca38[_0x3b5b1f(0x150)])+']\x20'+_0xddca38[_0x3b5b1f(0x122)]);},_0x460a6c[_0x5aaeab(0x155)]=_0x20f6bf=>{const _0x407c86=_0x5aaeab;stat[_0x407c86(0x129)]+=0x1,stat[_0x407c86(0xfa)]+=0x1,stat[_0x407c86(0x172)]=Math[_0x407c86(0xdb)](_0x6906a6['SKtzD'](Date[_0x407c86(0x14c)](),0x3e8));},_0x460a6c[_0x5aaeab(0x157)]=_0x14e079=>{const _0x44d742=_0x5aaeab;stat[_0x44d742(0x11d)]+=0x1,stat[_0x44d742(0x15b)]+=_0x14e079['length'],stat[_0x44d742(0x172)]=Math[_0x44d742(0xdb)](Date['now']()/0x3e8);},_0x460a6c[_0x5aaeab(0x160)]=(..._0x2bca1f)=>{const _0x1b9bf8=_0x5aaeab;stat[_0x1b9bf8(0x11d)]+=0x1;},this['addListener'](_0x460a6c);const _0x5e4c2b=new BuddyListener();_0x5e4c2b['onBuddyListChange']=_0x3ae2b5=>{const _0x5e070f=_0x5aaeab;rawFriends['length']=0x0,rawFriends[_0x5e070f(0x137)](..._0x3ae2b5);for(const _0x593c42 of _0x3ae2b5){for(const _0x30e44d of _0x593c42[_0x5e070f(0xf0)]){const _0x45dc61=friends[_0x5e070f(0x107)](_0x30e44d['uid']);_0x45dc61?Object['assign'](_0x45dc61,_0x30e44d):friends[_0x5e070f(0xea)](_0x30e44d[_0x5e070f(0xd5)],_0x30e44d);}}},this[_0x5aaeab(0x140)](_0x5e4c2b),this[_0x5aaeab(0x16b)][_0x5aaeab(0x11c)]()['getBuddyList'](!![])[_0x5aaeab(0xc4)](_0xbd2242=>{});const _0x621367=new ProfileListener();_0x621367[_0x5aaeab(0xd6)]=_0x48f651=>{const _0x40e11f=_0x5aaeab;_0x6906a6[_0x40e11f(0xed)](_0x48f651[_0x40e11f(0xd5)],selfInfo[_0x40e11f(0xd5)])&&Object[_0x40e11f(0x176)](selfInfo,_0x48f651);},_0x621367['onSelfStatusChanged']=_0x2a70c9=>{},this[_0x5aaeab(0x140)](_0x621367);const _0x34aab9=new GroupListener();_0x34aab9[_0x5aaeab(0xdc)]=(_0x2c8e96,_0x4364c8)=>{_0x4364c8['map'](_0x1069f9=>{const _0x29dcff=_0x242d,_0x47712e=groups[_0x29dcff(0x107)](_0x1069f9['groupCode']);_0x47712e&&_0x6906a6[_0x29dcff(0xed)](_0x1069f9[_0x29dcff(0xcb)],_0x47712e[_0x29dcff(0xcb)])?Object['assign'](_0x47712e,_0x1069f9):groups[_0x29dcff(0xea)](_0x1069f9[_0x29dcff(0x13a)],_0x1069f9);const _0x74585d=this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()['createMemberListScene'](_0x1069f9['groupCode'],_0x6906a6[_0x29dcff(0x144)]);this[_0x29dcff(0x16b)][_0x29dcff(0x135)]()[_0x29dcff(0x141)](_0x74585d,undefined,0xbb8)[_0x29dcff(0xc4)](_0x1fb2ba=>{});});},_0x34aab9['onMemberListChange']=_0x593d87=>{const _0x4019a9=_0x5aaeab,_0x7a32bf=_0x593d87[_0x4019a9(0x16d)][_0x4019a9(0x13c)]('_')[0x0];if(groupMembers[_0x4019a9(0x138)](_0x7a32bf)){const _0x1a8e3c=groupMembers[_0x4019a9(0x107)](_0x7a32bf);_0x593d87['infos'][_0x4019a9(0x11a)]((_0x2163b2,_0x38cadd)=>{const _0x33514c=_0x4019a9,_0x2af4c9=_0x1a8e3c[_0x33514c(0x107)](_0x38cadd);_0x2af4c9?Object[_0x33514c(0x176)](_0x2af4c9,_0x2163b2):_0x1a8e3c[_0x33514c(0xea)](_0x38cadd,_0x2163b2);});}else groupMembers['set'](_0x7a32bf,_0x593d87[_0x4019a9(0x123)]);},_0x34aab9[_0x5aaeab(0x10d)]=(_0x19da14,_0x335bff,_0x4efedd)=>{const _0x558936=_0x5aaeab;_0x335bff===0x0&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])&&_0x4efedd[_0x558936(0x107)](selfInfo[_0x558936(0xd5)])?.[_0x558936(0x167)]&&_0x6906a6['RMLyQ'](setTimeout,()=>{groups['delete'](_0x19da14);},0x1388);const _0x42a2ad=groupMembers['get'](_0x19da14);_0x42a2ad?_0x4efedd['forEach']((_0x2f19fe,_0x5393cf)=>{const _0x5eeec5=_0x558936,_0x453cf3=_0x42a2ad[_0x5eeec5(0x107)](_0x5393cf);_0x453cf3?Object[_0x5eeec5(0x176)](_0x453cf3,_0x2f19fe):_0x42a2ad[_0x5eeec5(0xea)](_0x5393cf,_0x2f19fe);}):groupMembers[_0x558936(0xea)](_0x19da14,_0x4efedd);},this['addListener'](_0x34aab9);}[_0x6b221c(0x140)](_0xed1c11){const _0x5b696b=_0x6b221c,_0x565b73={'cxzdZ':_0x5b696b(0x169),'gvUva':_0x5b696b(0xe3),'viNAn':_0x5b696b(0x14b)};_0xed1c11=new Proxy(_0xed1c11,this[_0x5b696b(0x128)]);switch(_0xed1c11['constructor']['name']){case _0x565b73['cxzdZ']:{return this[_0x5b696b(0x16b)]['getBuddyService']()[_0x5b696b(0x161)](new _0x4d181f[(_0x5b696b(0x173))](_0xed1c11));}case _0x5b696b(0x15f):{return this[_0x5b696b(0x16b)]['getGroupService']()[_0x5b696b(0x146)](new _0x4d181f[(_0x5b696b(0x13d))](_0xed1c11));}case _0x565b73[_0x5b696b(0x16e)]:{return this['session'][_0x5b696b(0xf5)]()['addKernelMsgListener'](new _0x4d181f['NodeIKernelMsgListener'](_0xed1c11));}case _0x565b73[_0x5b696b(0x153)]:{return this['session']['getProfileService']()[_0x5b696b(0x136)](new _0x4d181f[(_0x5b696b(0xf7))](_0xed1c11));}default:return-0x1;}}['onLoginSuccess'](_0x3f52ce){const _0x58e58b=_0x6b221c;NTEventDispatch[_0x58e58b(0x11b)]({'ListenerMap':_0x4d181f,'WrapperSession':this[_0x58e58b(0x16b)]}),this[_0x58e58b(0xe4)][_0x58e58b(0x137)](_0x3f52ce);}async[_0x6b221c(0x120)](_0x1f5787){const _0x52d521=_0x6b221c,_0x174496={'CalBQ':function(_0x578775,_0x8103af){return _0x578775!==_0x8103af;},'TnxSi':_0x52d521(0x15e),'vtRmY':function(_0xb8cea9,_0xc9cce5){return _0xb8cea9(_0xc9cce5);},'ysyiG':function(_0x2e9ea8,_0x1dc260){return _0x2e9ea8+_0x1dc260;},'WrdNl':_0x52d521(0xfd)},_0x32d12b=await this[_0x52d521(0xd9)]['getLoginList']();if(_0x174496[_0x52d521(0xef)](_0x32d12b[_0x52d521(0xfb)],0x0))throw new Error(_0x174496[_0x52d521(0xd0)]);const _0x31cc88=_0x32d12b['LocalLoginInfoList'][_0x52d521(0xe7)](_0x825e26=>_0x825e26[_0x52d521(0xc8)]===_0x1f5787);if(!_0x31cc88||!_0x31cc88?.[_0x52d521(0x117)])throw new Error(_0x1f5787+_0x52d521(0x12e));await _0x174496[_0x52d521(0x111)](sleep,0x3e8);const _0x159aa0=await this[_0x52d521(0xd9)][_0x52d521(0x119)](_0x1f5787);if(!_0x159aa0[_0x52d521(0xfb)])throw new Error(_0x174496['ysyiG'](_0x174496['WrdNl'],_0x159aa0[_0x52d521(0x14d)][_0x52d521(0x166)]));return _0x159aa0;}async[_0x6b221c(0x10c)](_0x5909d8){const _0x40f642=_0x6b221c,_0x362acb={'ALdBx':_0x40f642(0xe0),'nekGW':_0x40f642(0xe5)};return new Promise((_0x30a118,_0xcf9508)=>{const _0x45eaeb=_0x40f642,_0x333c5c={'QiRDQ':_0x362acb[_0x45eaeb(0x108)],'waCRh':_0x362acb[_0x45eaeb(0xc5)],'hRtQG':function(_0x5bd555,_0x45157c,_0x265a91,_0x3bec5b){return _0x5bd555(_0x45157c,_0x265a91,_0x3bec5b);}};this[_0x45eaeb(0x14f)]['onQRCodeGetPicture']=_0x2f511f=>{const _0x3e993c=_0x45eaeb,_0xc15a48=_0x2f511f[_0x3e993c(0x125)][_0x3e993c(0x13c)](_0x333c5c[_0x3e993c(0xf2)])[0x1],_0x1b2ada=Buffer[_0x3e993c(0xca)](_0xc15a48,_0x333c5c[_0x3e993c(0xde)]);_0x333c5c[_0x3e993c(0x106)](_0x5909d8,_0x2f511f[_0x3e993c(0xff)],_0x2f511f[_0x3e993c(0x125)],_0x1b2ada);},this[_0x45eaeb(0xd9)]['getQRCodePicture']();});}async[_0x6b221c(0xf4)](_0x373d09,_0x34cd49,_0x193eb2,_0x5ef72e,_0x141eba){const _0x2fc017=_0x6b221c,_0x10621d={'pqOMS':_0x2fc017(0x102),'OWRUM':'hex','grpYj':function(_0x4f30a8,_0x443c8b){return _0x4f30a8||_0x443c8b;},'OxXsF':function(_0x450efc,_0x5e2315){return _0x450efc||_0x5e2315;},'PTQvl':function(_0x12616a,_0x4611f1){return _0x12616a(_0x4611f1);},'HnbBI':'140022008'},_0x471bb7=_0x1ee1f6[_0x2fc017(0x12c)](_0x10621d['pqOMS'])['update'](_0x34cd49)[_0x2fc017(0x149)](_0x10621d[_0x2fc017(0x118)]),_0x391793={'uin':_0x373d09,'passwordMd5':_0x471bb7,'step':_0x193eb2&&_0x5ef72e&&_0x141eba?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x10621d[_0x2fc017(0xf8)](_0x193eb2,''),'proofWaterRand':_0x5ef72e||'','proofWaterSid':_0x10621d['OxXsF'](_0x141eba,'')};await this[_0x2fc017(0xd9)][_0x2fc017(0x134)](),await _0x10621d[_0x2fc017(0x165)](sleep,0x3e8);const _0x4e268a=await this[_0x2fc017(0xd9)][_0x2fc017(0xf4)](_0x391793);switch(_0x4e268a['result']){case'0':{break;}case _0x10621d[_0x2fc017(0x10b)]:{break;}case'4':case _0x2fc017(0x158):default:}}async[_0x6b221c(0x13f)](){const _0x260494=_0x6b221c,_0x33b12a=await this['loginService'][_0x260494(0x134)]();return _0x33b12a;}}export const napCatCore=new NapCatCore(); \ No newline at end of file diff --git a/src/core.lib/src/data.js b/src/core.lib/src/data.js index a49103c4..e78f75d2 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(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 +(function(_0x3e0b7e,_0x147a30){const _0x3f5dd4=_0x4e96,_0x22dca3=_0x3e0b7e();while(!![]){try{const _0x23e17c=-parseInt(_0x3f5dd4(0x1a7))/0x1*(parseInt(_0x3f5dd4(0x1a0))/0x2)+parseInt(_0x3f5dd4(0x1a8))/0x3+parseInt(_0x3f5dd4(0x19b))/0x4*(-parseInt(_0x3f5dd4(0x199))/0x5)+parseInt(_0x3f5dd4(0x1a9))/0x6+parseInt(_0x3f5dd4(0x19a))/0x7*(parseInt(_0x3f5dd4(0x197))/0x8)+parseInt(_0x3f5dd4(0x19f))/0x9*(parseInt(_0x3f5dd4(0x1a2))/0xa)+-parseInt(_0x3f5dd4(0x1aa))/0xb;if(_0x23e17c===_0x147a30)break;else _0x22dca3['push'](_0x22dca3['shift']());}catch(_0x34d35c){_0x22dca3['push'](_0x22dca3['shift']());}}}(_0x4bf2,0x951c7));import{isNumeric}from'@/common/utils/helper';function _0x4e96(_0x140ff5,_0xe359ed){const _0x4bf22f=_0x4bf2();return _0x4e96=function(_0x4e968a,_0x274234){_0x4e968a=_0x4e968a-0x197;let _0x3d658b=_0x4bf22f[_0x4e968a];return _0x3d658b;},_0x4e96(_0x140ff5,_0xe359ed);}import{NTQQGroupApi}from'@/core/apis';export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0x2c04ce){const _0x140060=_0x4e96;groups[_0x140060(0x1a1)](_0x2c04ce),groupMembers[_0x140060(0x1a1)](_0x2c04ce);}export const groupMembers=new Map();function _0x4bf2(){const _0xf07b45=['21nBOWUl','1498996tmQMqK','toString','ccfbU','get','45xgBokf','34UjwHyK','delete','2110510tPiPNL','values','find','set','BcVWg','61117rSrtOX','486258UByiuQ','4780368EgDcvn','849849ZPBWQI','WjJwz','getGroupMembers','233832vXqPzR','forEach','5PwpqyF'];_0x4bf2=function(){return _0xf07b45;};return _0x4bf2();}export const friends=new Map();export const rawFriends=[];export const groupNotifies={};export async function getGroup(_0x42ff07){const _0x1bd3a0=_0x4e96;let _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]());if(!_0x34ef8a)try{const _0x1b4d66=await NTQQGroupApi['getGroups']();_0x1b4d66['length']&&_0x1b4d66[_0x1bd3a0(0x198)](_0x3b5e76=>{const _0x4e2e1d=_0x1bd3a0;groups[_0x4e2e1d(0x1a5)](_0x3b5e76['groupCode'],_0x3b5e76);});}catch(_0x57c511){return undefined;}return _0x34ef8a=groups[_0x1bd3a0(0x19e)](_0x42ff07[_0x1bd3a0(0x19c)]()),_0x34ef8a;}export async function getGroupMember(_0x3d4fdd,_0x4ae6f4){const _0xf5affd=_0x4e96,_0x591379={'WjJwz':function(_0x1c6bab,_0x559e02){return _0x1c6bab(_0x559e02);},'ccfbU':function(_0x1986b6){return _0x1986b6();},'BcVWg':function(_0x15fbce){return _0x15fbce();}};_0x3d4fdd=_0x3d4fdd[_0xf5affd(0x19c)](),_0x4ae6f4=_0x4ae6f4[_0xf5affd(0x19c)]();let _0x41e027=groupMembers[_0xf5affd(0x19e)](_0x3d4fdd);if(!_0x41e027)try{_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),groupMembers[_0xf5affd(0x1a5)](_0x3d4fdd,_0x41e027);}catch(_0xd571c3){return null;}const _0x5f2c63=()=>{const _0xed949=_0xf5affd;let _0x36cd37=undefined;return _0x591379[_0xed949(0x1ab)](isNumeric,_0x4ae6f4)?_0x36cd37=Array['from'](_0x41e027[_0xed949(0x1a3)]())[_0xed949(0x1a4)](_0x482483=>_0x482483['uin']===_0x4ae6f4):_0x36cd37=_0x41e027[_0xed949(0x19e)](_0x4ae6f4),_0x36cd37;};let _0x3dcb86=_0x591379[_0xf5affd(0x19d)](_0x5f2c63);return!_0x3dcb86&&(_0x41e027=await NTQQGroupApi[_0xf5affd(0x1ac)](_0x3d4fdd),_0x3dcb86=_0x591379[_0xf5affd(0x1a6)](_0x5f2c63)),_0x3dcb86;}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 353a1af8..ff4e4994 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -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 +(function(_0x3a2cfb,_0x21dd1a){var _0x10dcc6=_0xa239,_0x5d1828=_0x3a2cfb();while(!![]){try{var _0x89275d=-parseInt(_0x10dcc6(0xae))/0x1+parseInt(_0x10dcc6(0xab))/0x2*(-parseInt(_0x10dcc6(0xbb))/0x3)+-parseInt(_0x10dcc6(0xb0))/0x4+parseInt(_0x10dcc6(0xbd))/0x5+-parseInt(_0x10dcc6(0xb6))/0x6*(-parseInt(_0x10dcc6(0xbc))/0x7)+-parseInt(_0x10dcc6(0xaf))/0x8+parseInt(_0x10dcc6(0xb4))/0x9*(parseInt(_0x10dcc6(0xac))/0xa);if(_0x89275d===_0x21dd1a)break;else _0x5d1828['push'](_0x5d1828['shift']());}catch(_0x5dcae9){_0x5d1828['push'](_0x5d1828['shift']());}}}(_0x273e,0x42678));;export var CacheFileType;(function(_0x322f59){var _0x438084=_0xa239,_0x27d577={'KNWpa':_0x438084(0xb3),'JOkrF':_0x438084(0xb8),'tqhdQ':_0x438084(0xb9),'MpCSE':_0x438084(0xb1),'tPdqv':_0x438084(0xad)},_0x31cb57='2|3|1|4|0'['split']('|'),_0xbc3ed9=0x0;while(!![]){switch(_0x31cb57[_0xbc3ed9++]){case'0':_0x322f59[_0x322f59['OTHER']=0x4]=_0x27d577['KNWpa'];continue;case'1':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xba)]]=0x2]=_0x27d577[_0x438084(0xba)];continue;case'2':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb2)]]=0x0]=_0x27d577['tqhdQ'];continue;case'3':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb7)]]=0x1]=_0x438084(0xb1);continue;case'4':_0x322f59[_0x322f59[_0x27d577[_0x438084(0xb5)]]=0x3]=_0x27d577[_0x438084(0xb5)];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0xa239(_0x435a9a,_0x4a5957){var _0x273ed5=_0x273e();return _0xa239=function(_0xa23963,_0x4dc6ec){_0xa23963=_0xa23963-0xab;var _0x3b1c05=_0x273ed5[_0xa23963];return _0x3b1c05;},_0xa239(_0x435a9a,_0x4a5957);}function _0x273e(){var _0x4c0228=['DOCUMENT','432014mUOnzQ','99288RSmDdt','841916Zrskrw','VIDEO','tqhdQ','OTHER','1704465YfjskY','tPdqv','4656ROsKpT','MpCSE','AUDIO','IMAGE','JOkrF','429585kITsfQ','4102QFTtOH','5050jFraSg','4FaIOqb','40OnWvvC'];_0x273e=function(){return _0x4c0228;};return _0x273e();} \ 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 eecb5caa..ff14b7e3 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -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 +const _0x16789c=_0x3ce3;(function(_0x5a9347,_0x5c44d5){const _0x5c4732=_0x3ce3,_0x120ea7=_0x5a9347();while(!![]){try{const _0x32f320=parseInt(_0x5c4732(0x207))/0x1*(-parseInt(_0x5c4732(0x1bd))/0x2)+parseInt(_0x5c4732(0x1e2))/0x3*(parseInt(_0x5c4732(0x205))/0x4)+-parseInt(_0x5c4732(0x1e7))/0x5*(-parseInt(_0x5c4732(0x1d8))/0x6)+parseInt(_0x5c4732(0x1c7))/0x7*(-parseInt(_0x5c4732(0x200))/0x8)+-parseInt(_0x5c4732(0x1af))/0x9*(parseInt(_0x5c4732(0x1d2))/0xa)+parseInt(_0x5c4732(0x1b4))/0xb+parseInt(_0x5c4732(0x1e4))/0xc*(parseInt(_0x5c4732(0x1ab))/0xd);if(_0x32f320===_0x5c44d5)break;else _0x120ea7['push'](_0x120ea7['shift']());}catch(_0x21de87){_0x120ea7['push'](_0x120ea7['shift']());}}}(_0x47e7,0x52d4f));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5c0afb}from'node:fs';import _0x1857b4 from'fluent-ffmpeg';import{NTQQFileApi}from'@/core/apis/file';import{calculateFileMD5,isGIF}from'@/common/utils/file';import{logDebug,logError}from'@/common/utils/log';function _0x47e7(){const _0x722dee=['PTT','YnZHc','AniStickerType','ark','vumaS','set','dirname','402zTTXuF','uiJWh','HtaZX','sep','PIC','_0.png','文件异常,大小为0','string','mface','[商城表情]','12439aBdBGG','time','height','uequT','abbou','stringify','语音转换失败,\x20请检查语音文件是否正常','BLJVA','get','FACE','OTnfh','1810xZgquy','replace','width','MFACE','IYcbi','copyFile','307086DpOvhM','nKfCv','NTKKE','Thumb','rps','Ousmq','sPCKQ','ARK','uploadFile','[包剪锤]','8160WacbhZ','reply','916536BLxBGe','TEXT','find','5URovVH','unlink','file','MARKDOWN','gif','获取视频信息失败','lKgiX','ptt','Ori','toString','text','pSeCe','clHqu','catch','mp4','oMPwq','mxHIi','stat','PVvoD','fiwtB','dice','miniapp','JSGuq','bSXVP','AniStickerPackId','1912BJqFhA','screenshots','join','获取视频封面失败,使用默认封面','markdown','996mwxXjk','face','2433BreUOy','https://www.bilibili.com/','error','vWCes','xHuUZ','getImageSize','26rxPAxc','pic','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','then','4635ZqFLMl','smOwt','[骰子]','AniStickerId','VIDEO','5115143QMhFDd','FILE'];_0x47e7=function(){return _0x722dee;};return _0x47e7();}import{defaultVideoThumb,getVideoInfo}from'@/common/utils/video';import{encodeSilk}from'@/common/utils/audio';import _0x35bc2e from'./face_config.json';function _0x3ce3(_0x3fb05b,_0x3c1933){const _0x47e77f=_0x47e7();return _0x3ce3=function(_0x3ce3d4,_0x313f5a){_0x3ce3d4=_0x3ce3d4-0x1a7;let _0x3da97b=_0x47e77f[_0x3ce3d4];return _0x3da97b;},_0x3ce3(_0x3fb05b,_0x3c1933);}import*as _0x4019f6 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x16789c(0x1f1)](_0x2f4626){const _0x49fad8=_0x16789c;return{'elementType':ElementType[_0x49fad8(0x1e5)],'elementId':'','textElement':{'content':_0x2f4626,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x224729,_0x4d6c55,_0x36fc16,_0x1b799d){const _0x2a3e54=_0x16789c;return{'elementType':ElementType[_0x2a3e54(0x1e5)],'elementId':'','textElement':{'content':'@'+_0x1b799d,'atType':_0x36fc16,'atUid':_0x224729,'atTinyId':'','atNtUid':_0x4d6c55}};}static[_0x16789c(0x1e3)](_0x319384,_0x4c2a02,_0x211278,_0x239b25){return{'elementType':ElementType['REPLY'],'elementId':'','replyElement':{'replayMsgSeq':_0x319384,'replayMsgId':_0x4c2a02,'senderUin':_0x211278,'senderUinStr':_0x239b25}};}static async[_0x16789c(0x1ac)](_0x35da0c,_0x450807='',_0x43712c=0x0){const _0x186e15=_0x16789c,_0xb81980={'mxHIi':_0x186e15(0x1c3),'PVvoD':function(_0x26bfbb,_0x238ba5){return _0x26bfbb(_0x238ba5);}},{md5:_0x225691,fileName:_0x132c0e,path:_0x1ced75,fileSize:_0x1f2282}=await NTQQFileApi[_0x186e15(0x1e0)](_0x35da0c,ElementType[_0x186e15(0x1c1)],_0x43712c);if(_0x1f2282===0x0)throw _0xb81980[_0x186e15(0x1f7)];const _0x1c48f4=await NTQQFileApi[_0x186e15(0x1aa)](_0x35da0c),_0x1dd04d={'md5HexStr':_0x225691,'fileSize':_0x1f2282[_0x186e15(0x1f0)](),'picWidth':_0x1c48f4?.['width'],'picHeight':_0x1c48f4?.['height'],'fileName':_0x132c0e,'sourcePath':_0x1ced75,'original':!![],'picType':_0xb81980[_0x186e15(0x1f9)](isGIF,_0x35da0c)?PicType[_0x186e15(0x1eb)]:PicType['jpg'],'picSubType':_0x43712c,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x450807};return{'elementType':ElementType['PIC'],'elementId':'','picElement':_0x1dd04d};}static async[_0x16789c(0x1e9)](_0x559650,_0x28da7b='',_0x2100ec=''){const _0xf4ff03=_0x16789c,_0x106489={'abbou':function(_0x5b270b,_0x31a88e){return _0x5b270b===_0x31a88e;}},{md5:_0x29f48e,fileName:_0x4b1b6a,path:_0x1941bb,fileSize:_0x2d026f}=await NTQQFileApi[_0xf4ff03(0x1e0)](_0x559650,ElementType['FILE']);if(_0x106489[_0xf4ff03(0x1cb)](_0x2d026f,0x0))throw _0xf4ff03(0x1c3);const _0x2194d3={'elementType':ElementType[_0xf4ff03(0x1b5)],'elementId':'','fileElement':{'fileName':_0x28da7b||_0x4b1b6a,'folderId':_0x2100ec,'filePath':_0x1941bb,'fileSize':_0x2d026f['toString']()}};return _0x2194d3;}static async['video'](_0x136d42,_0x192574='',_0x45b622=''){const _0x1de401=_0x16789c,_0x20d4b8={'vumaS':function(_0x1e92a9,_0x1e916e,_0x3259bf){return _0x1e92a9(_0x1e916e,_0x3259bf);},'oMPwq':_0x1de401(0x203),'pSeCe':function(_0x23f8e5,_0x2fcb01){return _0x23f8e5(_0x2fcb01);},'xHuUZ':function(_0x2c83cb,_0x5ca8be){return _0x2c83cb(_0x5ca8be);},'bSXVP':'end','YnZHc':_0x1de401(0x1a7),'vWCes':function(_0x88eed0,_0x3ae942){return _0x88eed0+_0x3ae942;},'NOwkD':function(_0x549826,_0x54c118){return _0x549826===_0x54c118;},'uequT':_0x1de401(0x1c3),'nKfCv':_0x1de401(0x1f5),'lKgiX':function(_0x41781e,_0x569402,_0x5dc001){return _0x41781e(_0x569402,_0x5dc001);},'tVvKM':_0x1de401(0x1ec),'oQkdJ':function(_0x4e0bac,_0xe248fb){return _0x4e0bac||_0xe248fb;}},{fileName:_0x1416fc,path:_0x5313be,fileSize:_0x521f52,md5:_0x5ada8f}=await NTQQFileApi[_0x1de401(0x1e0)](_0x136d42,ElementType[_0x1de401(0x1b3)]);if(_0x20d4b8['NOwkD'](_0x521f52,0x0))throw _0x20d4b8[_0x1de401(0x1ca)];let _0x55c4ce=_0x5313be[_0x1de401(0x1d3)](_0x4019f6['sep']+_0x1de401(0x1ef)+_0x4019f6[_0x1de401(0x1c0)],_0x4019f6[_0x1de401(0x1c0)]+_0x1de401(0x1db)+_0x4019f6['sep']);_0x55c4ce=_0x4019f6[_0x1de401(0x1bc)](_0x55c4ce);let _0x42d114={'width':0x780,'height':0x438,'time':0xf,'format':_0x20d4b8[_0x1de401(0x1d9)],'size':_0x521f52,'filePath':_0x136d42};try{_0x42d114=await getVideoInfo(_0x5313be);}catch(_0x223f0c){_0x20d4b8[_0x1de401(0x1ed)](logError,_0x20d4b8['tVvKM'],_0x223f0c);}const _0x58bb12=new Promise((_0x1c70e5,_0x5a8a8f)=>{const _0x4ac28e=_0x1de401,_0x599766={'OTnfh':function(_0x1d6eef,_0x42c554){const _0x9327fa=_0x3ce3;return _0x20d4b8[_0x9327fa(0x1f2)](_0x1d6eef,_0x42c554);}},_0x3e4aa6=_0x5ada8f+_0x4ac28e(0x1c2),_0x55a864=_0x4019f6[_0x4ac28e(0x202)](_0x55c4ce,_0x3e4aa6);_0x20d4b8[_0x4ac28e(0x1a9)](_0x1857b4,_0x136d42)['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{})['on'](_0x20d4b8[_0x4ac28e(0x1b7)],_0xcacad9=>{const _0x4bde1d=_0x4ac28e;_0x20d4b8[_0x4bde1d(0x1ba)](logDebug,_0x20d4b8[_0x4bde1d(0x1f6)],_0xcacad9),_0x45b622?_0x5c0afb[_0x4bde1d(0x1d7)](_0x45b622,_0x55a864)[_0x4bde1d(0x1ae)](()=>{_0x1c70e5(_0x55a864);})['catch'](_0x5a8a8f):_0x5c0afb['writeFile'](_0x55a864,defaultVideoThumb)['then'](()=>{const _0x5e88ae=_0x4bde1d;_0x599766[_0x5e88ae(0x1d1)](_0x1c70e5,_0x55a864);})[_0x4bde1d(0x1f4)](_0x5a8a8f);})[_0x4ac28e(0x201)]({'timestamps':[0x0],'filename':_0x3e4aa6,'folder':_0x55c4ce,'size':_0x20d4b8['vWCes'](_0x20d4b8[_0x4ac28e(0x1a8)](_0x42d114[_0x4ac28e(0x1d4)],'x'),_0x42d114[_0x4ac28e(0x1c9)])})['on'](_0x20d4b8[_0x4ac28e(0x1fe)],()=>{_0x1c70e5(_0x55a864);});}),_0xf459e3=new Map(),_0x49f1bb=await _0x58bb12,_0x1174fa=(await _0x5c0afb[_0x1de401(0x1f8)](_0x49f1bb))['size'];_0xf459e3[_0x1de401(0x1bb)](0x0,_0x49f1bb);const _0x5264c6=await _0x20d4b8[_0x1de401(0x1f2)](calculateFileMD5,_0x49f1bb),_0x42cad8={'elementType':ElementType[_0x1de401(0x1b3)],'elementId':'','videoElement':{'fileName':_0x20d4b8['oQkdJ'](_0x192574,_0x1416fc),'filePath':_0x5313be,'videoMd5':_0x5ada8f,'thumbMd5':_0x5264c6,'fileTime':_0x42d114[_0x1de401(0x1c8)],'thumbPath':_0xf459e3,'thumbSize':_0x1174fa,'thumbWidth':_0x42d114[_0x1de401(0x1d4)],'thumbHeight':_0x42d114['height'],'fileSize':_0x20d4b8['vWCes']('',_0x521f52)}};return _0x42cad8;}static async[_0x16789c(0x1ee)](_0x238ca6){const _0x128733=_0x16789c,_0x44e9ed={'BLJVA':function(_0x3f7d7c,_0x10ad10){return _0x3f7d7c(_0x10ad10);},'JSGuq':_0x128733(0x1cd),'bezRg':_0x128733(0x1c3),'aoPsH':function(_0x3c5327,_0x2cd618){return _0x3c5327||_0x2cd618;}},{converted:_0x1cae30,path:_0x69c1e4,duration:_0x909bb1}=await _0x44e9ed[_0x128733(0x1ce)](encodeSilk,_0x238ca6);if(!_0x69c1e4)throw _0x44e9ed[_0x128733(0x1fd)];const {md5:_0x1aa186,fileName:_0x4df358,path:_0x5e91d3,fileSize:_0x5e6be5}=await NTQQFileApi['uploadFile'](_0x69c1e4,ElementType['PTT']);if(_0x5e6be5===0x0)throw _0x44e9ed['bezRg'];return _0x1cae30&&_0x5c0afb[_0x128733(0x1e8)](_0x69c1e4)['then'](),{'elementType':ElementType[_0x128733(0x1b6)],'elementId':'','pttElement':{'fileName':_0x4df358,'filePath':_0x5e91d3,'md5HexStr':_0x1aa186,'fileSize':_0x5e6be5,'duration':_0x44e9ed['aoPsH'](_0x909bb1,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[_0x16789c(0x206)](_0x3929ea){const _0x1efb18=_0x16789c,_0x53d201={'sPCKQ':function(_0x49c7d7,_0x2f35a0){return _0x49c7d7(_0x2f35a0);},'VwMcK':function(_0x85030,_0x3e73a6){return _0x85030>=_0x3e73a6;}},_0x52b2b4=_0x35bc2e['sysface'],_0x5c2401=_0x35bc2e['emoji'],_0x2d3758=_0x52b2b4[_0x1efb18(0x1e6)](_0x18351f=>_0x18351f['QSid']===_0x3929ea[_0x1efb18(0x1f0)]());_0x3929ea=_0x53d201[_0x1efb18(0x1de)](parseInt,_0x3929ea[_0x1efb18(0x1f0)]());let _0x2489f5=0x1;return _0x53d201['VwMcK'](_0x3929ea,0xde)&&(_0x2489f5=0x2),_0x2d3758[_0x1efb18(0x1b8)]&&(_0x2489f5=0x3),{'elementType':ElementType[_0x1efb18(0x1d0)],'elementId':'','faceElement':{'faceIndex':_0x3929ea,'faceType':_0x2489f5,'faceText':_0x2d3758['QDes'],'stickerId':_0x2d3758[_0x1efb18(0x1b2)],'stickerType':_0x2d3758['AniStickerType'],'packId':_0x2d3758[_0x1efb18(0x1ff)],'sourceType':0x1}};}static[_0x16789c(0x1c5)](_0x32a7f5,_0x5b0633,_0xeff488,_0x4313d1){const _0x23f046=_0x16789c,_0x4fdc0f={'fiwtB':_0x23f046(0x1c6)};return{'elementType':ElementType[_0x23f046(0x1d5)],'marketFaceElement':{'emojiPackageId':_0x32a7f5,'emojiId':_0x5b0633,'key':_0xeff488,'faceName':_0x4313d1||mFaceCache[_0x23f046(0x1cf)](_0x5b0633)||_0x4fdc0f[_0x23f046(0x1fa)]}};}static[_0x16789c(0x1fb)](_0x5eb73c){const _0x2fbb48=_0x16789c,_0x1cd14e={'HtaZX':_0x2fbb48(0x1b1)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x2fbb48(0x1fb)],'faceType':FaceType[_0x2fbb48(0x1fb)],'faceText':_0x1cd14e[_0x2fbb48(0x1bf)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1dc)](_0x31f781){const _0x168c53=_0x16789c,_0x32f4e9={'IYcbi':_0x168c53(0x1e1)};return{'elementType':ElementType[_0x168c53(0x1d0)],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x32f4e9[_0x168c53(0x1d6)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static[_0x16789c(0x1b9)](_0x376b6e){const _0x3cb8d9=_0x16789c,_0x2096b6={'clHqu':function(_0xfd9dda,_0x423840){return _0xfd9dda!==_0x423840;},'Ousmq':_0x3cb8d9(0x1c4)};return _0x2096b6[_0x3cb8d9(0x1f3)](typeof _0x376b6e,_0x2096b6[_0x3cb8d9(0x1dd)])&&(_0x376b6e=JSON[_0x3cb8d9(0x1cc)](_0x376b6e)),{'elementType':ElementType[_0x3cb8d9(0x1df)],'elementId':'','arkElement':{'bytesData':_0x376b6e,'linkInfo':null,'subElementType':null}};}static[_0x16789c(0x204)](_0x4db0a4){const _0x1dc897=_0x16789c;return{'elementType':ElementType[_0x1dc897(0x1ea)],'elementId':'','markdownElement':{'content':_0x4db0a4}};}static async[_0x16789c(0x1fc)](){const _0x306a03=_0x16789c,_0xf9375e={'NTKKE':function(_0x59a005,_0x11af19){return _0x59a005(_0x11af19);},'smOwt':'Bot\x20Test','dsZYT':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','uiJWh':_0x306a03(0x1ad)};let _0xfb1ee5=await _0xf9375e[_0x306a03(0x1da)](SignMiniApp,{'prompt':_0xf9375e[_0x306a03(0x1b0)],'title':_0xf9375e['smOwt'],'preview':_0xf9375e['dsZYT'],'jumpUrl':_0x306a03(0x208),'tag':_0xf9375e[_0x306a03(0x1b0)],'tagIcon':_0xf9375e[_0x306a03(0x1be)],'source':_0xf9375e[_0x306a03(0x1b0)],'sourcelogo':_0x306a03(0x1ad)});return{'elementType':ElementType[_0x306a03(0x1df)],'elementId':'','arkElement':{'bytesData':_0xfb1ee5,'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 d52bcae9..64acc9c7 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(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 +function _0x4923(_0x3352e3,_0x1037f9){var _0x52d06c=_0x52d0();return _0x4923=function(_0x492303,_0x267d0b){_0x492303=_0x492303-0xe3;var _0x43b8f6=_0x52d06c[_0x492303];return _0x43b8f6;},_0x4923(_0x3352e3,_0x1037f9);}(function(_0x25c698,_0x1099eb){var _0x1f3956=_0x4923,_0x193b6a=_0x25c698();while(!![]){try{var _0x30bc77=parseInt(_0x1f3956(0xed))/0x1*(parseInt(_0x1f3956(0xeb))/0x2)+-parseInt(_0x1f3956(0xe6))/0x3*(-parseInt(_0x1f3956(0xf3))/0x4)+parseInt(_0x1f3956(0xf0))/0x5*(-parseInt(_0x1f3956(0xea))/0x6)+-parseInt(_0x1f3956(0xe7))/0x7*(-parseInt(_0x1f3956(0xee))/0x8)+-parseInt(_0x1f3956(0xf1))/0x9+parseInt(_0x1f3956(0xf2))/0xa+-parseInt(_0x1f3956(0xef))/0xb;if(_0x30bc77===_0x1099eb)break;else _0x193b6a['push'](_0x193b6a['shift']());}catch(_0x5cad47){_0x193b6a['push'](_0x193b6a['shift']());}}}(_0x52d0,0x2c60a));export var GroupMemberRole;function _0x52d0(){var _0x1ad24a=['1557180mAOyVX','1206220rqUGxk','242876PIjGFm','ZArep','admin','SOcBJ','3kMSbui','185066rXgstL','normal','owner','1198818gfUJyl','6rplRVa','EYwvX','87163GvLkhW','80lSmGAq','1678787icjYkq','5ZhwNYp'];_0x52d0=function(){return _0x1ad24a;};return _0x52d0();}(function(_0x4c1f7d){var _0x132cd9=_0x4923,_0x56e00d={'ZArep':_0x132cd9(0xe8),'EYwvX':_0x132cd9(0xe4),'SOcBJ':_0x132cd9(0xe9)};_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe3)]]=0x2]='normal',_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xec)]]=0x3]=_0x56e00d['EYwvX'],_0x4c1f7d[_0x4c1f7d[_0x56e00d[_0x132cd9(0xe5)]]=0x4]=_0x56e00d[_0x132cd9(0xe5)];}(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 f2a2cc19..43a3367f 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(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 +(function(_0x55ea5e,_0x36ea4b){var _0x5ba074=_0x4dac,_0x5b1262=_0x55ea5e();while(!![]){try{var _0x5420e8=parseInt(_0x5ba074(0x83))/0x1*(-parseInt(_0x5ba074(0x84))/0x2)+-parseInt(_0x5ba074(0x82))/0x3*(parseInt(_0x5ba074(0x88))/0x4)+-parseInt(_0x5ba074(0x89))/0x5+parseInt(_0x5ba074(0x87))/0x6+-parseInt(_0x5ba074(0x8b))/0x7+parseInt(_0x5ba074(0x86))/0x8+parseInt(_0x5ba074(0x8a))/0x9*(parseInt(_0x5ba074(0x85))/0xa);if(_0x5420e8===_0x36ea4b)break;else _0x5b1262['push'](_0x5b1262['shift']());}catch(_0x543df5){_0x5b1262['push'](_0x5b1262['shift']());}}}(_0x3641,0xde825));export*from'./user';export*from'./group';function _0x4dac(_0x16b3aa,_0x425b45){var _0x3641fb=_0x3641();return _0x4dac=function(_0x4dacc7,_0x52f81c){_0x4dacc7=_0x4dacc7-0x82;var _0x6bd1ac=_0x3641fb[_0x4dacc7];return _0x6bd1ac;},_0x4dac(_0x16b3aa,_0x425b45);}export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';function _0x3641(){var _0x120bc6=['4875160cvjxMU','7698378uwybHe','252tieQVH','6500555YHLyKa','18UxlMsg','695471KcNYvw','19713zrkBaD','1786bLNRBF','1468aRCHVI','10716500CiwJBR'];_0x3641=function(){return _0x120bc6;};return _0x3641();} \ 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 f6919b95..1ed5920f 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -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 +var _0x1614fa=_0x1eff;(function(_0x216f69,_0x1f5586){var _0x104a36=_0x1eff,_0x9c068f=_0x216f69();while(!![]){try{var _0x409125=-parseInt(_0x104a36(0xce))/0x1+-parseInt(_0x104a36(0x122))/0x2+-parseInt(_0x104a36(0xc8))/0x3*(-parseInt(_0x104a36(0xc7))/0x4)+parseInt(_0x104a36(0xb8))/0x5+parseInt(_0x104a36(0x136))/0x6*(-parseInt(_0x104a36(0x116))/0x7)+parseInt(_0x104a36(0x130))/0x8*(-parseInt(_0x104a36(0xb6))/0x9)+parseInt(_0x104a36(0xff))/0xa;if(_0x409125===_0x1f5586)break;else _0x9c068f['push'](_0x9c068f['shift']());}catch(_0x355579){_0x9c068f['push'](_0x9c068f['shift']());}}}(_0x1039,0x82ddb));export var ElementType;(function(_0x237b49){var _0x516f63=_0x1eff,_0x104165={'jwWqT':_0x516f63(0x10d),'vRpJn':_0x516f63(0x13a),'UrtYJ':_0x516f63(0xc1),'URoDV':_0x516f63(0x113),'dVkSi':_0x516f63(0x10e),'zMfME':_0x516f63(0xd6),'LYrIC':_0x516f63(0xfa),'fcgmy':_0x516f63(0xd3),'KDmac':_0x516f63(0xc0),'aMpGJ':_0x516f63(0xf5)},_0x1691f3=_0x104165[_0x516f63(0xfd)]['split']('|'),_0x323c0f=0x0;while(!![]){switch(_0x1691f3[_0x323c0f++]){case'0':_0x237b49[_0x237b49[_0x104165['vRpJn']]=0xa]=_0x516f63(0x13a);continue;case'1':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x11f)]]=0x6]=_0x104165[_0x516f63(0x11f)];continue;case'2':_0x237b49[_0x237b49[_0x104165['URoDV']]=0x1]=_0x104165[_0x516f63(0xba)];continue;case'3':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x123)]]=0xe]=_0x104165[_0x516f63(0x123)];continue;case'4':_0x237b49[_0x237b49[_0x516f63(0x10c)]=0x7]=_0x516f63(0x10c);continue;case'5':_0x237b49[_0x237b49[_0x104165['zMfME']]=0x3]='FILE';continue;case'6':_0x237b49[_0x237b49[_0x516f63(0xfa)]=0xb]=_0x104165[_0x516f63(0x127)];continue;case'7':_0x237b49[_0x237b49[_0x104165['fcgmy']]=0x2]=_0x104165[_0x516f63(0x143)];continue;case'8':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x142)]]=0x5]=_0x104165[_0x516f63(0x142)];continue;case'9':_0x237b49[_0x237b49[_0x104165[_0x516f63(0x138)]]=0x4]=_0x104165['aMpGJ'];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x32f716){var _0x5f4e96=_0x1eff,_0x5a6a76={'YnPEN':'gif','mcJMu':'jpg'};_0x32f716[_0x32f716[_0x5a6a76[_0x5f4e96(0x12f)]]=0x7d0]=_0x5a6a76[_0x5f4e96(0x12f)],_0x32f716[_0x32f716[_0x5f4e96(0x144)]=0x3e8]=_0x5a6a76[_0x5f4e96(0xe1)];}(PicType||(PicType={})));export var PicSubType;(function(_0x54a039){var _0x42cafb=_0x1eff,_0x124eeb={'jZFIe':_0x42cafb(0x119),'QKzIp':_0x42cafb(0xc6)};_0x54a039[_0x54a039[_0x124eeb[_0x42cafb(0x12b)]]=0x0]=_0x124eeb[_0x42cafb(0x12b)],_0x54a039[_0x54a039[_0x42cafb(0xc6)]=0x1]=_0x124eeb['QKzIp'];}(PicSubType||(PicSubType={})));export var AtType;(function(_0xf3b7b){var _0x22466d=_0x1eff,_0x95d600={'mMpuT':_0x22466d(0xf3),'vCjNh':'atAll','YXOnc':_0x22466d(0x146)};_0xf3b7b[_0xf3b7b[_0x95d600[_0x22466d(0x141)]]=0x0]=_0x22466d(0xf3),_0xf3b7b[_0xf3b7b['atAll']=0x1]=_0x95d600[_0x22466d(0x111)],_0xf3b7b[_0xf3b7b[_0x95d600['YXOnc']]=0x2]=_0x95d600[_0x22466d(0x133)];}(AtType||(AtType={})));export var ChatType;(function(_0x4c9e9e){var _0x3ed32a=_0x1eff,_0x3cc285={'cfypE':_0x3ed32a(0x13c),'ERnio':_0x3ed32a(0x147),'YeOvC':'chatDevice','oXNui':'temp'};_0x4c9e9e[_0x4c9e9e[_0x3ed32a(0x13c)]=0x1]=_0x3cc285[_0x3ed32a(0x134)],_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x11e)]]=0x2]='group',_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0x108)]]=0x8]=_0x3ed32a(0xed),_0x4c9e9e[_0x4c9e9e[_0x3cc285[_0x3ed32a(0xe9)]]=0x64]=_0x3ed32a(0xe6);}(ChatType||(ChatType={})));export var ChatType2;function _0x1eff(_0x10301d,_0x365f33){var _0x10399b=_0x1039();return _0x1eff=function(_0x1eff99,_0x4a9c94){_0x1eff99=_0x1eff99-0xb3;var _0x187b74=_0x10399b[_0x1eff99];return _0x187b74;},_0x1eff(_0x10301d,_0x365f33);}(function(_0x59b4f8){var _0x826447=_0x1eff,_0x3e677a={'UpadC':_0x826447(0x14b),'gdzxo':_0x826447(0xd1),'ymTzB':_0x826447(0xfc),'dGxuA':_0x826447(0x11d),'HxAvR':'KCHATTYPEGUILDMETA','Srabh':_0x826447(0xf9),'HSfGZ':'KCHATTYPETEMPC2CFROMUNKNOWN','BhERW':_0x826447(0xeb),'WaOsm':_0x826447(0x13e),'gPvrK':_0x826447(0xf4),'yoRiB':_0x826447(0x104),'XsgTm':_0x826447(0xc9),'vyWwv':'KCHATTYPEGROUPNOTIFY','iCOcV':_0x826447(0xca),'IKynV':'KCHATTYPENEARBYINTERACT','HxSDB':'KCHATTYPETEMPADDRESSBOOK','hvOop':_0x826447(0x101),'cFaKb':_0x826447(0xd8),'xBFCu':'KCHATTYPETEMPBUSSINESSCRM','zhKtV':'KCHATTYPENEARBY','MFyma':'KCHATTYPETEMPWPA','JkRtK':_0x826447(0xc5),'leaCO':_0x826447(0x102),'WAjpr':_0x826447(0x129),'qqjnz':_0x826447(0xbd),'FhvhA':_0x826447(0x135),'twqNy':_0x826447(0xe5),'odZZI':_0x826447(0xcb),'ivnKv':'KCHATTYPEQQNOTIFY','rEOiI':_0x826447(0x139),'isgtv':_0x826447(0x118),'dbmas':_0x826447(0x132),'aQXDw':_0x826447(0x117),'iknPI':_0x826447(0x100),'FXspJ':_0x826447(0xe3),'PfPWg':'KCHATTYPEGUILD','KAGlN':_0x826447(0x124),'bxEez':_0x826447(0x13f),'VmnqA':_0x826447(0xdf),'yVqzH':_0x826447(0x112)},_0x5db81b=_0x3e677a[_0x826447(0xbb)][_0x826447(0xe0)]('|'),_0x54374d=0x0;while(!![]){switch(_0x5db81b[_0x54374d++]){case'0':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10a)]]=0x69]='KCHATTYPEGAMEMESSAGE';continue;case'1':_0x59b4f8[_0x59b4f8[_0x3e677a['ymTzB']]=0x8]=_0x3e677a[_0x826447(0x121)];continue;case'2':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x103)]]=0x2]=_0x3e677a[_0x826447(0x103)];continue;case'3':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x149)]]=0x10]=_0x3e677a['HxAvR'];continue;case'4':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x106)]]=0x76]=_0x3e677a['Srabh'];continue;case'5':_0x59b4f8[_0x59b4f8[_0x826447(0xf1)]=0x63]=_0x3e677a[_0x826447(0x140)];continue;case'6':_0x59b4f8[_0x59b4f8[_0x3e677a['BhERW']]=0x6b]=_0x826447(0xeb);continue;case'7':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xea)]]=0x65]=_0x3e677a['WaOsm'];continue;case'8':_0x59b4f8[_0x59b4f8[_0x3e677a['gPvrK']]=0x29]=_0x3e677a[_0x826447(0xd9)];continue;case'9':_0x59b4f8[_0x59b4f8['KCHATTYPEGAMEMESSAGEFOLDER']=0x74]=_0x3e677a['yoRiB'];continue;case'10':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xde)]]=0x70]='KCHATTYPENEARBYHELLOFOLDER';continue;case'11':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11a)]]=0x6]=_0x3e677a['vyWwv'];continue;case'12':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xc2)]]=0xc9]=_0x3e677a[_0x826447(0xc2)];continue;case'13':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x14c)]]=0x6c]=_0x3e677a[_0x826447(0x14c)];continue;case'14':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x13d)]]=0x6f]=_0x3e677a[_0x826447(0x13d)];continue;case'15':_0x59b4f8[_0x59b4f8[_0x826447(0xe2)]=0x7]=_0x826447(0xe2);continue;case'16':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf7)]]=0x6e]=_0x3e677a[_0x826447(0xf7)];continue;case'17':_0x59b4f8[_0x59b4f8[_0x3e677a['cFaKb']]=0x6d]=_0x826447(0xd8);continue;case'18':_0x59b4f8[_0x59b4f8[_0x3e677a['xBFCu']]=0x66]=_0x3e677a[_0x826447(0xcf)];continue;case'19':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x11c)]]=0x6a]=_0x3e677a[_0x826447(0x11c)];continue;case'20':_0x59b4f8[_0x59b4f8[_0x3e677a['MFyma']]=0x75]=_0x3e677a['MFyma'];continue;case'21':_0x59b4f8[_0x59b4f8[_0x826447(0xc5)]=0x67]=_0x3e677a['JkRtK'];continue;case'22':_0x59b4f8[_0x59b4f8[_0x3e677a['leaCO']]=0x83]=_0x3e677a[_0x826447(0x107)];continue;case'23':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf8)]]=0x1]=_0x826447(0x129);continue;case'24':_0x59b4f8[_0x59b4f8[_0x3e677a['qqjnz']]=0x71]=_0x3e677a['qqjnz'];continue;case'25':_0x59b4f8[_0x59b4f8[_0x3e677a['FhvhA']]=0x86]=_0x3e677a[_0x826447(0xdc)];continue;case'26':_0x59b4f8[_0x59b4f8[_0x3e677a['twqNy']]=0x77]=_0x3e677a[_0x826447(0x109)];continue;case'27':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x10f)]]=0x5]=_0x3e677a['odZZI'];continue;case'28':_0x59b4f8[_0x59b4f8[_0x3e677a['ivnKv']]=0x84]=_0x3e677a[_0x826447(0xc3)];continue;case'29':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0x137)]]=0x9]=_0x3e677a[_0x826447(0x137)];continue;case'30':_0x59b4f8[_0x59b4f8[_0x826447(0x118)]=0x0]=_0x3e677a[_0x826447(0xbe)];continue;case'31':_0x59b4f8[_0x59b4f8[_0x3e677a['dbmas']]=0x64]=_0x3e677a[_0x826447(0xe7)];continue;case'32':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb5)]]=0x3]=_0x826447(0x117);continue;case'33':_0x59b4f8[_0x59b4f8[_0x826447(0x100)]=0x1e]=_0x3e677a[_0x826447(0x12d)];continue;case'34':_0x59b4f8[_0x59b4f8[_0x3e677a['FXspJ']]=0x73]=_0x3e677a[_0x826447(0xd7)];continue;case'35':_0x59b4f8[_0x59b4f8[_0x826447(0x148)]=0x4]=_0x3e677a[_0x826447(0x110)];continue;case'36':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xf6)]]=0x68]=_0x3e677a[_0x826447(0xf6)];continue;case'37':_0x59b4f8[_0x59b4f8['KCHATTYPEADELIE']=0x2a]=_0x3e677a[_0x826447(0xb4)];continue;case'38':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xb3)]]=0x28]=_0x3e677a[_0x826447(0xb3)];continue;case'39':_0x59b4f8[_0x59b4f8[_0x3e677a[_0x826447(0xd0)]]=0x85]=_0x826447(0x112);continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x1614fa(0x12a);export var GrayTipElementSubType;(function(_0x3ce51b){var _0xd50e3c=_0x1614fa,_0x42288d={'EClfR':_0xd50e3c(0x126),'qEGBi':_0xd50e3c(0xb7)};_0x3ce51b[_0x3ce51b[_0x42288d[_0xd50e3c(0x12c)]]=0xc]=_0x42288d[_0xd50e3c(0x12c)],_0x3ce51b[_0x3ce51b['MEMBER_NEW_TITLE']=0x11]=_0x42288d[_0xd50e3c(0xec)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x14928e){var _0x38795b=_0x1614fa,_0x36f98e={'WzEel':_0x38795b(0x119),'BKpgQ':_0x38795b(0xdd),'jxxtR':_0x38795b(0xdb)};_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xd5)]]=0x1]=_0x36f98e[_0x38795b(0xd5)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xcc)]]=0x2]=_0x36f98e[_0x38795b(0xcc)],_0x14928e[_0x14928e[_0x36f98e[_0x38795b(0xda)]]=0x3]=_0x36f98e[_0x38795b(0xda)];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x3424f5){var _0x558f78=_0x1614fa,_0x28fde4={'kLDuE':'dice','fvnPy':_0x558f78(0xef)};_0x3424f5[_0x3424f5[_0x28fde4['kLDuE']]=0x166]=_0x28fde4[_0x558f78(0xbc)],_0x3424f5[_0x3424f5[_0x28fde4[_0x558f78(0xe8)]]=0x167]=_0x28fde4[_0x558f78(0xe8)];}(FaceIndex||(FaceIndex={})));export var viedo_type;function _0x1039(){var _0x55db1a=['KCHATTYPECIRCLE','isgtv','QpfxF','VIDEO','FACE','iCOcV','ivnKv','VIDEO_FORMAT_MOD','KCHATTYPETEMPPUBLICACCOUNT','face','104EljVqz','83427vWNYGX','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPESERVICEASSISTANTSUB','KCHATTYPEBUDDYNOTIFY','BKpgQ','ban','61385rSngqT','xBFCu','yVqzH','KCHATTYPEGAMEMESSAGE','VIDEO_FORMAT_MKV','PIC','xNzzn','WzEel','FILE','FXspJ','KCHATTYPEMATCHFRIENDFOLDER','gPvrK','jxxtR','dice','FhvhA','normal2','XsgTm','KCHATTYPEWEIYUN','split','mcJMu','KCHATTYPEGROUPHELPER','KCHATTYPESQUAREPUBLIC','memberIncrease','KCHATTYPETEMPNEARBYPRO','temp','dbmas','fvnPy','oXNui','WaOsm','KCHATTYPENEARBYASSISTANT','qEGBi','chatDevice','VIDEO_FORMAT_TS','RPS','VIDEO_FORMAT_AFS','KCHATTYPETEMPC2CFROMUNKNOWN','GcMpj','notAt','KCHATTYPEFAV','PTT','KAGlN','hvOop','WAjpr','KCHATTYPESERVICEASSISTANT','MFACE','ZJkdz','KCHATTYPEDATALINE','jwWqT','VIDEO_FORMAT_RM','13222220zKfuZq','KCHATTYPESUBSCRIBEFOLDER','KCHATTYPENEARBYFOLDER','KCHATTYPERELATEACCOUNT','dGxuA','KCHATTYPEGAMEMESSAGEFOLDER','yBbYE','Srabh','leaCO','YeOvC','twqNy','gdzxo','VIDEO_FORMAT_RMVB','REPLY','2|7|5|9|8|1|4|0|6|3','MARKDOWN','odZZI','PfPWg','vCjNh','KCHATTYPEGROUPBLESS','TEXT','urwRF','KOphZ','6015268ivrbDc','KCHATTYPEDISC','KCHATTYPEUNKNOWN','normal','vyWwv','DJEYb','zhKtV','KCHATTYPEGROUP','ERnio','UrtYJ','NyEgY','ymTzB','102020RRwmrC','dVkSi','KCHATTYPEMATCHFRIEND','kicked','INVITE_NEW_MEMBER','LYrIC','VIDEO_FORMAT_MOV','KCHATTYPEC2C','https://multimedia.nt.qq.com.cn','jZFIe','EClfR','iknPI','HecPV','YnPEN','8uvAByk','0|7|10|3|6|5|4|9|1|2|8','KCHATTYPETEMPC2CFROMGROUP','YXOnc','cfypE','KCHATTYPEDATALINEMQQ','6PCSjae','rEOiI','aMpGJ','KCHATTYPEGROUPGUILD','ARK','VIDEO_FORMAT_MTS','friend','HxSDB','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPEADELIE','HSfGZ','mMpuT','KDmac','fcgmy','jpg','lLixS','atUser','group','KCHATTYPEGUILD','HxAvR','VIDEO_FORMAT_MP4','37|27|23|24|1|25|32|8|0|9|2|39|29|15|11|35|3|36|17|19|6|16|10|13|28|22|4|12|34|33|14|18|31|5|7|26|21|20|30|38','IKynV','BbtJb','VmnqA','bxEez','aQXDw','4988826kqHead','MEMBER_NEW_TITLE','84020JZnxgs','LPbpr','URoDV','UpadC','kLDuE'];_0x1039=function(){return _0x55db1a;};return _0x1039();}(function(_0x45c8d8){var _0x2295df=_0x1614fa,_0x536d4b={'jxgZg':_0x2295df(0x131),'NyEgY':_0x2295df(0xf0),'DJEYb':_0x2295df(0x10b),'LPbpr':_0x2295df(0xee),'urwRF':_0x2295df(0xc4),'KOphZ':_0x2295df(0x13b),'QpfxF':_0x2295df(0x14a),'lLixS':'VIDEO_FORMAT_AVI','GcMpj':'VIDEO_FORMAT_WMV','HecPV':_0x2295df(0xfe),'yBbYE':_0x2295df(0xd2)},_0x3dea0b=_0x536d4b['jxgZg']['split']('|'),_0x2ee285=0x0;while(!![]){switch(_0x3dea0b[_0x2ee285++]){case'0':_0x45c8d8[_0x45c8d8[_0x536d4b['NyEgY']]=0x7]=_0x536d4b[_0x2295df(0x120)];continue;case'1':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x11b)]]=0x5]=_0x2295df(0x10b);continue;case'2':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xb9)]]=0xa]=_0x2295df(0xee);continue;case'3':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x114)]]=0x9]='VIDEO_FORMAT_MOD';continue;case'4':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x115)]]=0xb]=_0x536d4b[_0x2295df(0x115)];continue;case'5':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0xbf)]]=0x2]=_0x536d4b[_0x2295df(0xbf)];continue;case'6':_0x45c8d8[_0x45c8d8[_0x2295df(0x128)]=0x8]=_0x2295df(0x128);continue;case'7':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x145)]]=0x1]=_0x536d4b['lLixS'];continue;case'8':_0x45c8d8[_0x45c8d8['VIDEO_FORMAT_WMV']=0x3]=_0x536d4b[_0x2295df(0xf2)];continue;case'9':_0x45c8d8[_0x45c8d8[_0x2295df(0xfe)]=0x6]=_0x536d4b[_0x2295df(0x12e)];continue;case'10':_0x45c8d8[_0x45c8d8[_0x536d4b[_0x2295df(0x105)]]=0x4]=_0x536d4b['yBbYE'];continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x565c7b){var _0x2447f8=_0x1614fa,_0x351463={'BbtJb':_0x2447f8(0xe4),'ZJkdz':_0x2447f8(0x125),'xNzzn':'ban'};_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0x14d)]]=0x1]=_0x351463[_0x2447f8(0x14d)],_0x565c7b[_0x565c7b[_0x351463[_0x2447f8(0xfb)]]=0x3]=_0x351463[_0x2447f8(0xfb)],_0x565c7b[_0x565c7b[_0x2447f8(0xcd)]=0x8]=_0x351463[_0x2447f8(0xd4)];}(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 0c814fb3..139f87c2 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(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 +(function(_0x4bfd79,_0xa55aa0){var _0x17aaa9=_0x1dac,_0x387c4d=_0x4bfd79();while(!![]){try{var _0x19424f=parseInt(_0x17aaa9(0x1bd))/0x1+parseInt(_0x17aaa9(0x1ac))/0x2+-parseInt(_0x17aaa9(0x1a1))/0x3*(parseInt(_0x17aaa9(0x1b2))/0x4)+-parseInt(_0x17aaa9(0x1c4))/0x5*(parseInt(_0x17aaa9(0x1b5))/0x6)+-parseInt(_0x17aaa9(0x1b8))/0x7+parseInt(_0x17aaa9(0x1b9))/0x8+parseInt(_0x17aaa9(0x1b0))/0x9*(parseInt(_0x17aaa9(0x1b4))/0xa);if(_0x19424f===_0xa55aa0)break;else _0x387c4d['push'](_0x387c4d['shift']());}catch(_0x23f61d){_0x387c4d['push'](_0x387c4d['shift']());}}}(_0x86a8,0xca2de));function _0x1dac(_0x591e5a,_0x31f378){var _0x86a848=_0x86a8();return _0x1dac=function(_0x1dac03,_0x310b54){_0x1dac03=_0x1dac03-0x181;var _0x2e4e46=_0x86a848[_0x1dac03];return _0x2e4e46;},_0x1dac(_0x591e5a,_0x31f378);}export var GroupNotifyTypes;(function(_0x3c700d){var _0x559546=_0x1dac,_0x1f0033={'CXMde':_0x559546(0x1ab),'PHJsN':_0x559546(0x1bc),'keFtl':_0x559546(0x181),'JZLRS':_0x559546(0x1ae),'Hbndw':_0x559546(0x1a9),'fkjWt':_0x559546(0x1b3),'snanG':'ADMIN_SET'},_0x3e10a5=_0x559546(0x185)['split']('|'),_0x2bcc49=0x0;while(!![]){switch(_0x3e10a5[_0x2bcc49++]){case'0':_0x3c700d[_0x3c700d[_0x1f0033['CXMde']]=0xc]=_0x559546(0x1ab);continue;case'1':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x18c)]]=0x4]=_0x1f0033['PHJsN'];continue;case'2':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x195)]]=0x7]=_0x1f0033[_0x559546(0x195)];continue;case'3':_0x3c700d[_0x3c700d['KICK_MEMBER']=0x9]=_0x1f0033[_0x559546(0x1c1)];continue;case'4':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x19d)]]=0x1]=_0x1f0033[_0x559546(0x19d)];continue;case'5':_0x3c700d[_0x3c700d[_0x1f0033['fkjWt']]=0xd]='ADMIN_UNSET_OTHER';continue;case'6':_0x3c700d[_0x3c700d[_0x1f0033[_0x559546(0x199)]]=0x8]=_0x559546(0x1be);continue;case'7':_0x3c700d[_0x3c700d[_0x559546(0x183)]=0xb]=_0x559546(0x183);continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;function _0x86a8(){var _0xe9f6b4=['dkdTM','WAIT_HANDLE','KMEINITIATOR','keFtl','KMEREFUSED','KMEIGNORED','xavol','snanG','REJECT','NEWGROUPTYPE','dYUrl','Hbndw','ocCwJ','GDVVj','ufUXe','70053xIbozy','KPEERAGREED','YaCHE','keHan','KMSGINFO','CjpuX','WOdUK','lpdxz','INVITE_ME','DEFAULTTYPE','ADMIN_UNSET','304848eUmxkK','7|11|1|13|0|4|8|10|5|2|12|9|3|6','KICK_MEMBER','xNtss','1035XtMpOB','PIIVg','36OsIeak','ADMIN_UNSET_OTHER','87230qWAvpA','160938pqMInq','KMEAGREED','FqOhH','7105609QsRcep','12570088KGQPzI','QBIwR','APPROVE','INVITED_JOIN','104409LHvxjk','ADMIN_SET','iGhTb','TITLETYPE','JZLRS','approve','BFxRR','145ZzHBob','JOIN_REQUEST','KMEAGREEANDADDFAILED','MEMBER_EXIT','KMEAGREEDANDADDED','4|1|2|6|3|7|0|5','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','KPEERREFUSED','LoaqN','dpeOZ','reject','PHJsN','KPEERAGREEDANDADDED','IGNORE','KMESETQUESTION','split','ZeQIn'];_0x86a8=function(){return _0xe9f6b4;};return _0x86a8();}(function(_0x264328){var _0x2f6b91=_0x1dac,_0x1a02bb={'iGhTb':_0x2f6b91(0x193),'ufUXe':_0x2f6b91(0x19a)};_0x264328[_0x264328[_0x2f6b91(0x18e)]=0x0]=_0x2f6b91(0x18e),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1bf)]]=0x1]=_0x1a02bb[_0x2f6b91(0x1bf)],_0x264328[_0x264328[_0x2f6b91(0x1bb)]=0x2]=_0x2f6b91(0x1bb),_0x264328[_0x264328[_0x1a02bb[_0x2f6b91(0x1a0)]]=0x3]=_0x1a02bb[_0x2f6b91(0x1a0)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x200b73){var _0x196d1d=_0x1dac,_0xcf71e1={'lpdxz':_0x196d1d(0x1c2),'dpeOZ':_0x196d1d(0x18b)};_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x1a8)]]=0x1]=_0xcf71e1[_0x196d1d(0x1a8)],_0x200b73[_0x200b73[_0xcf71e1[_0x196d1d(0x18a)]]=0x2]=_0x196d1d(0x18b);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0xca9243){var _0x1b43de=_0x1dac,_0x118008={'xavol':_0x1b43de(0x1ad),'dkdTM':_0x1b43de(0x1a2),'GDVVj':_0x1b43de(0x1b6),'FqOhH':_0x1b43de(0x186),'ZeQIn':_0x1b43de(0x1a5),'PIIVg':_0x1b43de(0x18d),'WSoDo':_0x1b43de(0x197),'QBIwR':_0x1b43de(0x187),'WOdUK':_0x1b43de(0x194),'xNtss':_0x1b43de(0x188),'dYUrl':_0x1b43de(0x182),'LoaqN':_0x1b43de(0x196),'YaCHE':'KPEERINITIATOR','CjpuX':_0x1b43de(0x18f),'JbVnI':_0x1b43de(0x184)},_0x175cab=_0x118008[_0x1b43de(0x198)][_0x1b43de(0x190)]('|'),_0x251f59=0x0;while(!![]){switch(_0x175cab[_0x251f59++]){case'0':_0xca9243[_0xca9243[_0x1b43de(0x1a2)]=0x4]=_0x118008[_0x1b43de(0x192)];continue;case'1':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x19f)]]=0x2]=_0x1b43de(0x1b6);continue;case'2':_0xca9243[_0xca9243[_0x118008['FqOhH']]=0x9]=_0x118008[_0x1b43de(0x1b7)];continue;case'3':_0xca9243[_0xca9243[_0x1b43de(0x1a5)]=0xc]=_0x118008[_0x1b43de(0x191)];continue;case'4':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1b1)]]=0x5]=_0x118008[_0x1b43de(0x1b1)];continue;case'5':_0xca9243[_0xca9243[_0x118008['WSoDo']]=0x8]=_0x1b43de(0x197);continue;case'6':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1ba)]]=0xd]=_0x118008[_0x1b43de(0x1ba)];continue;case'7':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a7)]]=0x0]=_0x118008['WOdUK'];continue;case'8':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1af)]]=0x6]=_0x1b43de(0x188);continue;case'9':_0xca9243[_0xca9243[_0x118008['dYUrl']]=0xb]=_0x118008[_0x1b43de(0x19c)];continue;case'10':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x189)]]=0x7]=_0x118008[_0x1b43de(0x189)];continue;case'11':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a3)]]=0x1]=_0x118008[_0x1b43de(0x1a3)];continue;case'12':_0xca9243[_0xca9243[_0x118008[_0x1b43de(0x1a6)]]=0xa]=_0x1b43de(0x18f);continue;case'13':_0xca9243[_0xca9243['KMEAGREEDANDADDED']=0x3]=_0x118008['JbVnI'];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0xdd2bd7){var _0x3c9716=_0x1dac,_0x10fe99={'ocCwJ':_0x3c9716(0x1aa),'BFxRR':_0x3c9716(0x1c0),'keHan':_0x3c9716(0x19b)};_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x19e)]]=0x0]=_0x10fe99['ocCwJ'],_0xdd2bd7[_0xdd2bd7[_0x10fe99['BFxRR']]=0x1]=_0x10fe99[_0x3c9716(0x1c3)],_0xdd2bd7[_0xdd2bd7[_0x10fe99[_0x3c9716(0x1a4)]]=0x2]=_0x10fe99[_0x3c9716(0x1a4)];}(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 2d23a691..630f6628 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -(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 +(function(_0x237d39,_0x3bbda1){var _0x1fefa1=_0x5218,_0x18a832=_0x237d39();while(!![]){try{var _0x57700a=parseInt(_0x1fefa1(0x13e))/0x1+parseInt(_0x1fefa1(0x133))/0x2+-parseInt(_0x1fefa1(0x13b))/0x3*(-parseInt(_0x1fefa1(0x13d))/0x4)+-parseInt(_0x1fefa1(0x13f))/0x5+-parseInt(_0x1fefa1(0x132))/0x6*(parseInt(_0x1fefa1(0x12f))/0x7)+-parseInt(_0x1fefa1(0x136))/0x8+parseInt(_0x1fefa1(0x138))/0x9;if(_0x57700a===_0x3bbda1)break;else _0x18a832['push'](_0x18a832['shift']());}catch(_0x5d5192){_0x18a832['push'](_0x18a832['shift']());}}}(_0xee9c,0xa06b4));export var Sex;(function(_0x316ff3){var _0x341546=_0x5218,_0x1f1145={'VGTpz':_0x341546(0x12e),'MogmS':_0x341546(0x130),'gPEpr':'unknown'};_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x13a)]]=0x1]=_0x341546(0x12e),_0x316ff3[_0x316ff3[_0x1f1145['MogmS']]=0x2]=_0x1f1145[_0x341546(0x137)],_0x316ff3[_0x316ff3[_0x1f1145[_0x341546(0x135)]]=0xff]=_0x1f1145[_0x341546(0x135)];}(Sex||(Sex={})));function _0x5218(_0x387fd6,_0x6955e3){var _0xee9cda=_0xee9c();return _0x5218=function(_0x521818,_0x2e44a4){_0x521818=_0x521818-0x12e;var _0x516fb8=_0xee9cda[_0x521818];return _0x516fb8;},_0x5218(_0x387fd6,_0x6955e3);}function _0xee9c(){var _0x12785f=['1221502rwKupD','yfCka','gPEpr','1214544oUmMpi','MogmS','5258232PiGpWA','LKGZk','VGTpz','651855UIrXpZ','KPHOTOWALL','12oRYXsi','942650qyElDM','5009795iLEfga','male','2283519bqDQvi','female','KPRIVILEGEICON','18wJONxd'];_0xee9c=function(){return _0x12785f;};return _0xee9c();}export var BizKey;(function(_0x36db4a){var _0x42aa16=_0x5218,_0x53d94f={'yfCka':_0x42aa16(0x131),'LKGZk':_0x42aa16(0x13c)};_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x134)]]=0x0]='KPRIVILEGEICON',_0x36db4a[_0x36db4a[_0x53d94f[_0x42aa16(0x139)]]=0x1]=_0x53d94f['LKGZk'];}(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 2ddf35b9..4eb32973 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -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 +(function(_0x2294c2,_0x46d401){var _0x59b8e2=_0x4352,_0x2288fb=_0x2294c2();while(!![]){try{var _0x540613=-parseInt(_0x59b8e2(0x15b))/0x1+-parseInt(_0x59b8e2(0x153))/0x2+parseInt(_0x59b8e2(0x157))/0x3+parseInt(_0x59b8e2(0x154))/0x4*(parseInt(_0x59b8e2(0x158))/0x5)+parseInt(_0x59b8e2(0x152))/0x6+parseInt(_0x59b8e2(0x156))/0x7*(parseInt(_0x59b8e2(0x159))/0x8)+-parseInt(_0x59b8e2(0x155))/0x9*(-parseInt(_0x59b8e2(0x15a))/0xa);if(_0x540613===_0x46d401)break;else _0x2288fb['push'](_0x2288fb['shift']());}catch(_0x1d44df){_0x2288fb['push'](_0x2288fb['shift']());}}}(_0x4779,0xafd11));import _0x23c132 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';function _0x4779(){var _0x59f6be=['125991MKUFJi','2501254uTAinj','822123OTadHB','144835KQddkH','8HuRZvp','510Zovpyp','23257FQgaJl','944280JrNoNw','1634448LptIGe','8QXPgPE'];_0x4779=function(){return _0x59f6be;};return _0x4779();}export*as Listeners from'./listeners';export*as Services from'./services';export{_0x23c132 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';function _0x4352(_0x2e5fa6,_0x25ae8f){var _0x47797a=_0x4779();return _0x4352=function(_0x43525c,_0x4adc8c){_0x43525c=_0x43525c-0x152;var _0x31c409=_0x47797a[_0x43525c];return _0x31c409;},_0x4352(_0x2e5fa6,_0x25ae8f);}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 521f1bef..2f78c2e1 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -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 +function _0x1d62(_0x4cfb15,_0x1ed50f){var _0x1b20fe=_0x1b20();return _0x1d62=function(_0x1d6221,_0x5e14a0){_0x1d6221=_0x1d6221-0x185;var _0x2ba81e=_0x1b20fe[_0x1d6221];return _0x2ba81e;},_0x1d62(_0x4cfb15,_0x1ed50f);}var _0x46068e=_0x1d62;(function(_0x8f66cd,_0x1351a1){var _0xcccb66=_0x1d62,_0xff6e64=_0x8f66cd();while(!![]){try{var _0xe3fb91=parseInt(_0xcccb66(0x186))/0x1*(-parseInt(_0xcccb66(0x192))/0x2)+parseInt(_0xcccb66(0x193))/0x3*(parseInt(_0xcccb66(0x19b))/0x4)+parseInt(_0xcccb66(0x19c))/0x5+-parseInt(_0xcccb66(0x187))/0x6*(-parseInt(_0xcccb66(0x199))/0x7)+-parseInt(_0xcccb66(0x190))/0x8+-parseInt(_0xcccb66(0x197))/0x9+-parseInt(_0xcccb66(0x18f))/0xa*(parseInt(_0xcccb66(0x19a))/0xb);if(_0xe3fb91===_0x1351a1)break;else _0xff6e64['push'](_0xff6e64['shift']());}catch(_0x1074e4){_0xff6e64['push'](_0xff6e64['shift']());}}}(_0x1b20,0xafc1e));export class BuddyListener{[_0x46068e(0x196)](_0x5107c9){}[_0x46068e(0x188)](_0x241e30){}[_0x46068e(0x194)](_0x26320b){}[_0x46068e(0x18b)](_0x59e553){}[_0x46068e(0x189)](_0x37f8ca){}[_0x46068e(0x18c)](_0x150e66){}[_0x46068e(0x18e)](_0xc14235){}['onBuddyRemarkUpdated'](_0x3f29c8){}[_0x46068e(0x18d)](_0x36f362){}[_0x46068e(0x18a)](_0x28b83a){}[_0x46068e(0x198)](_0xd5344){}[_0x46068e(0x185)](_0x5f20ef){}[_0x46068e(0x19d)](_0x2ff360){}[_0x46068e(0x195)](_0x21e919){}['onNickUpdated'](_0xde3e72){}[_0x46068e(0x191)](_0x32bd93){}[_0x46068e(0x19e)](_0x546998){}}function _0x1b20(){var _0xd18377=['onDelBatchBuddyInfos','513571liWNIS','339528rXWWac','onAddMeSettingChanged','onBuddyDetailInfoChange','onBuddyReqUnreadCntChange','onBlockChanged','onBuddyInfoChange','onBuddyReqChange','onBuddyListChange','23860egRjam','25080DRJxxX','onSmartInfos','2tOTvWE','319629NMqmWd','onAvatarUrlUpdated','onDoubtBuddyReqUnreadNumChange','onAddBuddyNeedVerify','6882057OTcpBT','onCheckBuddySettingResult','56cRkNXL','3982eYfGEL','44aNKfrr','6201680PFHayr','onDoubtBuddyReqChange','onSpacePermissionInfos'];_0x1b20=function(){return _0xd18377;};return _0x1b20();} \ 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 cff4fdf4..00461cef 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -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 +var _0x27e043=_0x1447;(function(_0x55a47d,_0x2306ec){var _0x3e39f1=_0x1447,_0x225fef=_0x55a47d();while(!![]){try{var _0x35cf82=parseInt(_0x3e39f1(0x17d))/0x1*(parseInt(_0x3e39f1(0x17c))/0x2)+parseInt(_0x3e39f1(0x177))/0x3*(-parseInt(_0x3e39f1(0x179))/0x4)+-parseInt(_0x3e39f1(0x17b))/0x5+parseInt(_0x3e39f1(0x174))/0x6+-parseInt(_0x3e39f1(0x175))/0x7*(parseInt(_0x3e39f1(0x173))/0x8)+-parseInt(_0x3e39f1(0x178))/0x9+parseInt(_0x3e39f1(0x17e))/0xa;if(_0x35cf82===_0x2306ec)break;else _0x225fef['push'](_0x225fef['shift']());}catch(_0x21346d){_0x225fef['push'](_0x225fef['shift']());}}}(_0x34af,0x722e9));function _0x34af(){var _0x8e39bc=['2dTxODY','569594lGWuco','13533280MQceGA','onFileSearch','2776DoxbBz','1574556EPCZMb','2149kpqUsM','onFileListChanged','45yaCITS','1888848OUxxNf','171100AjZBAg','onSessionListChanged','3798165cDanRE'];_0x34af=function(){return _0x8e39bc;};return _0x34af();}function _0x1447(_0x11f56e,_0x481af0){var _0x34af81=_0x34af();return _0x1447=function(_0x144791,_0x334c08){_0x144791=_0x144791-0x172;var _0x408f6f=_0x34af81[_0x144791];return _0x408f6f;},_0x1447(_0x11f56e,_0x481af0);}export class KernelFileAssistantListener{['onFileStatusChanged'](..._0x3fcc55){}[_0x27e043(0x17a)](..._0x1c9552){}['onSessionChanged'](..._0x2a10c8){}[_0x27e043(0x176)](..._0x5d332a){}[_0x27e043(0x172)](..._0x101b1a){}} \ 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 4ef5cd79..1b2ef820 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -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 +function _0x14c9(){var _0x3d9651=['onJoinGroupNoVerifyFlag:','938580cKZKwA','onGroupStatisticInfoChange','qSfDU','onJoinGroupNotify:','mjnVg','3128768SzwXVG','onGroupBulletinRichMediaProgressUpdate:','uObXN','onGroupNotifiesUpdated:','onGroupBulletinRemindNotify:','onMemberInfoChange','tAPhF','onGroupAllInfoChange','onGroupNotifiesUpdated','aNygR','onGroupsMsgMaskResult:','onGroupBulletinRichMediaDownloadComplete','LOQds','onGroupBulletinChange:','onGroupArkInviteStateResult:','NXPdN','FbvwE','5149403glTcfV','CxyFk','15218136KitqEs','GEgSr','3720804ZmRvDj','onGroupBulletinRichMediaProgressUpdate','onGroupDetailInfoChange','15790NufZMh','onGroupConfMemberChange:','onGroupNotifiesUnreadCountUpdated','onGroupBulletinRemindNotify','hQVpW','onGroupExtListUpdate:','onGroupConfMemberChange','onMemberListChange','onShutUpMemberListChanged:','onShutUpMemberListChanged','onGroupMemberLevelInfoChange','onGroupsMsgMaskResult','onGroupBulletinChange','onGroupArkInviteStateResult','onJoinGroupNotify','135CFnZYC','onSearchMemberChange:','onGroupSingleScreenNotifies:','onMemberInfoChange:','onGroupAllInfoChange:','onJoinGroupNoVerifyFlag','2516955ofkWci','onGroupFirstBulletinNotify:','yTwfv','onGetGroupBulletinListResult:','onGetGroupBulletinListResult','onGroupDetailInfoChange:','onSearchMemberChange','lhMHV','onGroupBulletinRichMediaDownloadComplete:','onGroupStatisticInfoChange:','onGroupListUpdate','onGroupSingleScreenNotifies','pMbcm','log'];_0x14c9=function(){return _0x3d9651;};return _0x14c9();}var _0x115256=_0x498d;(function(_0x5d02bd,_0x18f85c){var _0x44672a=_0x498d,_0x1ee028=_0x5d02bd();while(!![]){try{var _0xd2ea85=parseInt(_0x44672a(0x177))/0x1+-parseInt(_0x44672a(0x194))/0x2*(-parseInt(_0x44672a(0x1a3))/0x3)+parseInt(_0x44672a(0x17c))/0x4+parseInt(_0x44672a(0x1a9))/0x5+parseInt(_0x44672a(0x191))/0x6+-parseInt(_0x44672a(0x18d))/0x7+-parseInt(_0x44672a(0x18f))/0x8;if(_0xd2ea85===_0x18f85c)break;else _0x1ee028['push'](_0x1ee028['shift']());}catch(_0x4259bb){_0x1ee028['push'](_0x1ee028['shift']());}}}(_0x14c9,0x8920c));export class GroupListener{[_0x115256(0x19e)](..._0x28c19a){}[_0x115256(0x16c)](..._0x216f36){}[_0x115256(0x183)](..._0x876ec0){}['onGroupBulletinChange'](..._0x12d0ef){}['onGroupBulletinRemindNotify'](..._0x50cbdf){}[_0x115256(0x1a1)](..._0x8778e7){}['onGroupBulletinRichMediaDownloadComplete'](..._0x3c170c){}[_0x115256(0x19a)](..._0x1c7849){}['onGroupDetailInfoChange'](..._0x47cc3a){}['onGroupExtListUpdate'](..._0x357a0e){}['onGroupFirstBulletinNotify'](..._0xa781aa){}[_0x115256(0x172)](_0x3992d4,_0x367688){}[_0x115256(0x184)](_0x5f1a07,_0x146d5f){}[_0x115256(0x192)](..._0x1e2259){}[_0x115256(0x196)](..._0x2104b8){}[_0x115256(0x173)](_0x5fbee7,_0x5e5fa0,_0x388eb6){}[_0x115256(0x19f)](..._0xae7724){}[_0x115256(0x178)](..._0x3cb5eb){}[_0x115256(0x1a2)](..._0x557034){}['onJoinGroupNoVerifyFlag'](..._0x4d66d3){}[_0x115256(0x181)](_0xdb19ad,_0x1610e5,_0x17c565){}['onMemberListChange'](_0x3c4be7){}[_0x115256(0x16e)](..._0x5adf1e){}[_0x115256(0x19d)](..._0x164aa8){}}function _0x498d(_0x4d9b54,_0x2fbaae){var _0x14c952=_0x14c9();return _0x498d=function(_0x498d78,_0x47a0fa){_0x498d78=_0x498d78-0x169;var _0x4c4eb4=_0x14c952[_0x498d78];return _0x4c4eb4;},_0x498d(_0x4d9b54,_0x2fbaae);}export class DebugGroupListener{[_0x115256(0x19e)](..._0x32018d){var _0x4c190b=_0x115256,_0x1f8855={'pMbcm':'onGroupMemberLevelInfoChange:'};console['log'](_0x1f8855[_0x4c190b(0x174)],..._0x32018d);}[_0x115256(0x16c)](..._0x4709c7){var _0x46b364=_0x115256,_0x1f833d={'FbvwE':_0x46b364(0x16b)};console['log'](_0x1f833d[_0x46b364(0x18c)],..._0x4709c7);}[_0x115256(0x183)](..._0x2c66e3){var _0x25b0ef=_0x115256,_0xf4eee7={'qSfDU':_0x25b0ef(0x1a7)};console[_0x25b0ef(0x175)](_0xf4eee7[_0x25b0ef(0x179)],..._0x2c66e3);}[_0x115256(0x1a0)](..._0x3ddb93){var _0x13977b=_0x115256,_0x21aceb={'LEeWS':_0x13977b(0x189)};console[_0x13977b(0x175)](_0x21aceb['LEeWS'],..._0x3ddb93);}[_0x115256(0x197)](..._0x58c00c){var _0x38b3cd=_0x115256;console['log'](_0x38b3cd(0x180),..._0x58c00c);}['onGroupArkInviteStateResult'](..._0x428044){var _0xe74dc8=_0x115256,_0x47b920={'GEgSr':_0xe74dc8(0x18a)};console[_0xe74dc8(0x175)](_0x47b920[_0xe74dc8(0x190)],..._0x428044);}[_0x115256(0x187)](..._0x4f3a07){var _0x56f57a=_0x115256,_0x2b6b4b={'mjnVg':_0x56f57a(0x170)};console['log'](_0x2b6b4b[_0x56f57a(0x17b)],..._0x4f3a07);}[_0x115256(0x19a)](..._0x204f87){var _0x30c35d=_0x115256;console[_0x30c35d(0x175)](_0x30c35d(0x195),..._0x204f87);}[_0x115256(0x193)](..._0x1edb63){var _0x4496ce=_0x115256,_0x56cace={'cMTqm':_0x4496ce(0x16d)};console[_0x4496ce(0x175)](_0x56cace['cMTqm'],..._0x1edb63);}['onGroupExtListUpdate'](..._0x1adbb4){var _0x31af2c=_0x115256,_0xa1abb4={'OfGPm':_0x31af2c(0x199)};console[_0x31af2c(0x175)](_0xa1abb4['OfGPm'],..._0x1adbb4);}['onGroupFirstBulletinNotify'](..._0x522b1c){var _0x3e875b=_0x115256,_0xfd3b03={'yYyCs':_0x3e875b(0x169)};console['log'](_0xfd3b03['yYyCs'],..._0x522b1c);}[_0x115256(0x172)](..._0x1d2311){var _0x3392c2=_0x115256,_0x2a1915={'lhMHV':'onGroupListUpdate:'};console[_0x3392c2(0x175)](_0x2a1915[_0x3392c2(0x16f)],..._0x1d2311);}['onGroupNotifiesUpdated'](..._0x58a07f){var _0x44a120=_0x115256;console['log'](_0x44a120(0x17f),..._0x58a07f);}[_0x115256(0x192)](..._0xdfd127){var _0x50114b=_0x115256;console['log'](_0x50114b(0x17d),..._0xdfd127);}[_0x115256(0x196)](..._0x5e9c8d){var _0x5b3c6f=_0x115256,_0x15e52d={'uObXN':'onGroupNotifiesUnreadCountUpdated:'};console[_0x5b3c6f(0x175)](_0x15e52d[_0x5b3c6f(0x17e)],..._0x5e9c8d);}[_0x115256(0x173)](_0x35bfd6,_0x294f04,_0x38badc){var _0x1e61af=_0x115256,_0xd79851={'yTwfv':_0x1e61af(0x1a5)};console[_0x1e61af(0x175)](_0xd79851[_0x1e61af(0x16a)]);}['onGroupsMsgMaskResult'](..._0x192f9a){var _0x2d8aca=_0x115256,_0x4461e9={'tAPhF':_0x2d8aca(0x186)};console['log'](_0x4461e9[_0x2d8aca(0x182)],..._0x192f9a);}['onGroupStatisticInfoChange'](..._0x3e5700){var _0x16149f=_0x115256,_0x470642={'NXPdN':_0x16149f(0x171)};console['log'](_0x470642[_0x16149f(0x18b)],..._0x3e5700);}[_0x115256(0x1a2)](..._0x1a1be6){var _0x3daf81=_0x115256,_0x5612b7={'LOQds':_0x3daf81(0x17a)};console[_0x3daf81(0x175)](_0x5612b7[_0x3daf81(0x188)],..._0x1a1be6);}[_0x115256(0x1a8)](..._0x1ca501){var _0x44bf65=_0x115256,_0xe3cb65={'hQVpW':_0x44bf65(0x176)};console['log'](_0xe3cb65[_0x44bf65(0x198)],..._0x1ca501);}[_0x115256(0x181)](_0x1fa04b,_0x2f493d,_0x5832f0){var _0x1b47c5=_0x115256,_0x91403f={'viQEz':_0x1b47c5(0x1a6)};console[_0x1b47c5(0x175)](_0x91403f['viQEz'],_0x1fa04b,_0x2f493d,_0x5832f0);}[_0x115256(0x19b)](..._0x214fb4){var _0xa15cba=_0x115256,_0x176c97={'aNygR':'onMemberListChange:'};console['log'](_0x176c97[_0xa15cba(0x185)],..._0x214fb4);}[_0x115256(0x16e)](..._0x7ee32e){var _0x55ee8e=_0x115256,_0x31d176={'CxyFk':_0x55ee8e(0x1a4)};console[_0x55ee8e(0x175)](_0x31d176[_0x55ee8e(0x18e)],..._0x7ee32e);}[_0x115256(0x19d)](..._0x474fe7){var _0x2f826e=_0x115256,_0x4b405b={'kJIJR':_0x2f826e(0x19c)};console[_0x2f826e(0x175)](_0x4b405b['kJIJR'],..._0x474fe7);}} \ 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 65e83c76..93b0045e 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -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 +var _0x460af1=_0x3a1d;function _0x5153(){var _0x53951f=['98958QOOIXb','onQRCodeLoginPollingStarted','9615744FhVEaS','onQRCodeGetPicture','9866601kshZZB','onPasswordLoginFailed','319193xtrkOT','4gkXRoe','583YreBGH','onLoginConnecting','onQQLoginNumLimited','48MTlupU','7DcOSXs','2160396XTvxVx','onLoginDisConnected','OnConfirmUnusualDeviceFailed','1161125CEonGJ','onQRCodeSessionFailed','onQRCodeSessionUserScaned','onQRCodeLoginSucceed','onLogoutSucceed','onLoginState','onQRCodeSessionQuickLoginFailed','85890wKvKBg'];_0x5153=function(){return _0x53951f;};return _0x5153();}function _0x3a1d(_0x362282,_0x2f62c6){var _0x5153da=_0x5153();return _0x3a1d=function(_0x3a1dc2,_0x5aace7){_0x3a1dc2=_0x3a1dc2-0x1a0;var _0x16a8cf=_0x5153da[_0x3a1dc2];return _0x16a8cf;},_0x3a1d(_0x362282,_0x2f62c6);}(function(_0x17f5c8,_0xecbf08){var _0x448ed9=_0x3a1d,_0x5177a4=_0x17f5c8();while(!![]){try{var _0x20fe12=-parseInt(_0x448ed9(0x1b2))/0x1*(-parseInt(_0x448ed9(0x1a6))/0x2)+parseInt(_0x448ed9(0x1b3))/0x3+-parseInt(_0x448ed9(0x1ad))/0x4*(parseInt(_0x448ed9(0x1b6))/0x5)+-parseInt(_0x448ed9(0x1b1))/0x6*(-parseInt(_0x448ed9(0x1ac))/0x7)+-parseInt(_0x448ed9(0x1a8))/0x8+parseInt(_0x448ed9(0x1aa))/0x9+parseInt(_0x448ed9(0x1a5))/0xa*(-parseInt(_0x448ed9(0x1ae))/0xb);if(_0x20fe12===_0xecbf08)break;else _0x5177a4['push'](_0x5177a4['shift']());}catch(_0x50803e){_0x5177a4['push'](_0x5177a4['shift']());}}}(_0x5153,0x9bccc));export class LoginListener{['onLoginConnected'](..._0x37e1ba){}[_0x460af1(0x1b4)](..._0x24bae2){}[_0x460af1(0x1af)](..._0x3c6c1f){}[_0x460af1(0x1a9)](_0x53d97c){}[_0x460af1(0x1a7)](..._0x165f65){}[_0x460af1(0x1a0)](..._0x149f87){}[_0x460af1(0x1a1)](_0x40acd4){}[_0x460af1(0x1b7)](..._0x423fd6){}['onLoginFailed'](..._0x4d9c7b){}[_0x460af1(0x1a2)](..._0x28d772){}['onLogoutFailed'](..._0x80ace){}['onUserLoggedIn'](..._0x480c3c){}[_0x460af1(0x1a4)](..._0x4fb402){}[_0x460af1(0x1ab)](..._0x2df2a7){}[_0x460af1(0x1b5)](..._0x336ad4){}[_0x460af1(0x1b0)](..._0x3c847f){}[_0x460af1(0x1a3)](..._0x2e6f3e){}} \ 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 25ec95e1..7b3036cb 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -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 +var _0x12e25e=_0x3ff8;(function(_0xec884f,_0x36a529){var _0x4e37d1=_0x3ff8,_0x263e54=_0xec884f();while(!![]){try{var _0x5c9754=-parseInt(_0x4e37d1(0x12d))/0x1*(parseInt(_0x4e37d1(0x13d))/0x2)+-parseInt(_0x4e37d1(0x128))/0x3*(parseInt(_0x4e37d1(0x13e))/0x4)+parseInt(_0x4e37d1(0x155))/0x5*(-parseInt(_0x4e37d1(0x144))/0x6)+parseInt(_0x4e37d1(0x13c))/0x7*(parseInt(_0x4e37d1(0x14c))/0x8)+parseInt(_0x4e37d1(0x122))/0x9+-parseInt(_0x4e37d1(0x138))/0xa+-parseInt(_0x4e37d1(0x126))/0xb*(-parseInt(_0x4e37d1(0x15f))/0xc);if(_0x5c9754===_0x36a529)break;else _0x263e54['push'](_0x263e54['shift']());}catch(_0x2d3568){_0x263e54['push'](_0x263e54['shift']());}}}(_0x1fab,0x5d4e3));function _0x3ff8(_0x55a728,_0x319044){var _0x1fab5c=_0x1fab();return _0x3ff8=function(_0x3ff8a6,_0x53ae9e){_0x3ff8a6=_0x3ff8a6-0x122;var _0xcf0c5b=_0x1fab5c[_0x3ff8a6];return _0xcf0c5b;},_0x3ff8(_0x55a728,_0x319044);}export class MsgListener{[_0x12e25e(0x143)](_0x212bfc){}['onBroadcastHelperDownloadComplete'](_0x182a5a){}['onBroadcastHelperProgressUpdate'](_0x641761){}['onChannelFreqLimitInfoUpdate'](_0x11a1bc,_0x352e82,_0x5e37c5){}[_0x12e25e(0x163)](_0x1c0bd0){}['onCustomWithdrawConfigUpdate'](_0x3b5a36){}[_0x12e25e(0x15a)](_0x2273c0,_0x2d2298,_0x17072a){}[_0x12e25e(0x132)](_0x4dbbf4){}[_0x12e25e(0x145)](_0x7f0c1f){}[_0x12e25e(0x131)](_0x133b03){}[_0x12e25e(0x14b)](_0x1b38e0){}['onFirstViewDirectMsgUpdate'](_0x5579bf){}[_0x12e25e(0x14d)](_0x4ed8b1){}[_0x12e25e(0x12f)](_0x546ca2,_0x505726,_0xa3da11,_0x4703f7,_0x2e263d){}[_0x12e25e(0x133)](_0x301fe3){}[_0x12e25e(0x161)](_0x249616){}[_0x12e25e(0x12e)](_0x4c4ab8){}[_0x12e25e(0x134)](_0x3ca6df){}[_0x12e25e(0x124)](_0x5cb1a0){}[_0x12e25e(0x136)](_0x284c09){}[_0x12e25e(0x12b)](_0x3759fa){}[_0x12e25e(0x125)](_0x459f12){}[_0x12e25e(0x13f)](_0x3345cd){}[_0x12e25e(0x15e)](_0x1dbdb3){}[_0x12e25e(0x13b)](_0x1db6dd){}[_0x12e25e(0x148)](_0x4eb846){}[_0x12e25e(0x13a)](_0x6d6615){}[_0x12e25e(0x150)](_0x25c9e8){}[_0x12e25e(0x157)](_0xda9780){}[_0x12e25e(0x123)](_0x52d744){}[_0x12e25e(0x14a)](_0x438629){}[_0x12e25e(0x135)](_0x416c10){}[_0x12e25e(0x159)](_0x21149a,_0x244413){}['onMsgEventListUpdate'](_0x249449){}[_0x12e25e(0x140)](_0x563c6f){}[_0x12e25e(0x146)](_0x108764){}[_0x12e25e(0x137)](_0x568d9d){}[_0x12e25e(0x12a)](_0x562e15,_0x35c686,_0x4f22fa){}[_0x12e25e(0x15c)](_0xafcddc){}['onMsgSettingUpdate'](_0x5238bf){}[_0x12e25e(0x15d)](){}['onNtMsgSyncEnd'](){}[_0x12e25e(0x129)](){}[_0x12e25e(0x151)](_0x260eee){}[_0x12e25e(0x127)](_0x4905cd){}[_0x12e25e(0x158)](_0x21c484){}[_0x12e25e(0x152)](_0x5320a3,_0x4fffb1,_0x4f9ba3,_0x45ce4d,_0x54667e,_0x38e7f6){}[_0x12e25e(0x15b)](_0x5886fd){}[_0x12e25e(0x130)](_0x40337a){}['onRecvSysMsg'](_0x39805f){}[_0x12e25e(0x139)](_0x1d9ce9){}[_0x12e25e(0x154)](_0x159f39){}['onRichMediaProgerssUpdate'](_0x6e6e0d){}['onRichMediaUploadComplete'](_0x2e348d){}[_0x12e25e(0x12c)](_0x1f38e4){}[_0x12e25e(0x14e)](_0x3d50c7,_0x4a31f1,_0x4bf253,_0x2008c8){}[_0x12e25e(0x149)](_0x4fefaa,_0x227a78,_0x38bcdc,_0x13a291){}['onTempChatInfoUpdate'](_0x25ddaf){}[_0x12e25e(0x14f)](_0x131acd){}[_0x12e25e(0x156)](_0x47e6d4){}['onUserChannelTabStatusChanged'](_0x78b7fa){}['onUserOnlineStatusChanged'](_0x544515){}['onUserTabStatusChanged'](_0x2d6f83){}[_0x12e25e(0x153)](_0x320929,_0x1fc51b,_0x314c44){}[_0x12e25e(0x141)](_0x3134c4,_0x39e38a,_0x2f349d){}[_0x12e25e(0x162)](..._0x581ee2){}[_0x12e25e(0x147)](..._0x58b844){}[_0x12e25e(0x142)](..._0x517473){}[_0x12e25e(0x160)](..._0x1feab8){}}function _0x1fab(){var _0x4a04a0=['onMsgInfoListAdd','onlineStatusSmallIconDownloadPush','onRedTouchChanged','onAddSendMsg','3461352DgIRpI','onEmojiResourceUpdate','onMsgInfoListUpdate','onMsgWithRichLinkInfoUpdate','onImportOldDbProgressUpdate','onSysMsgNotification','onMsgAbstractUpdate','onFileMsgCome','384dFAcka','onFirstViewGroupGuildMapping','onSendMsgError','onUnreadCntAfterFirstView','onKickedOffLine','onReadFeedEventUpdate','onRecvMsgSvrRspTransInfo','onlineStatusBigIconDownloadPush','onRichMediaDownloadComplete','5ouBcqc','onUnreadCntUpdate','onLineDev','onRecvMsg','onMsgDelete','onDraftUpdate','onRecvOnlineFileMsg','onMsgSecurityNotify','onNtFirstViewMsgSyncEnd','onHitEmojiKeywordResult','12DVbwGX','onBroadcastHelperProgerssUpdate','onGroupFileInfoUpdate','onUserSecQualityChanged','onContactUnreadCntUpdate','1683198xyxkXY','onLogLevelChanged','onGroupTransferInfoUpdate','onGuildNotificationAbstractUpdate','10496431ifZOHd','onRecvGroupGuildFlag','3ACfgGo','onNtMsgSyncStart','onMsgRecall','onGuildMsgAbFlagChanged','onSearchGroupFileInfoUpdate','34041kmWSbH','onGroupGuildUpdate','onGrabPasswordRedBag','onRecvS2CMsg','onFeedEventUpdate','onEmojiDownloadComplete','onGroupFileInfoAdd','onGroupTransferInfoAdd','onMsgBoxChanged','onGuildInteractiveUpdate','onMsgQRCodeStatusChanged','3108880xGeXkC','onRecvUDCFlag','onInputStatusPush','onHitRelatedEmojiResult','105847cUwWdr','30jukDLr','345908lVFXzm','onHitCsRelatedEmojiResult'];_0x1fab=function(){return _0x4a04a0;};return _0x1fab();} \ 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 abf850ed..b66ffdd1 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -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 +var _0x3274c2=_0x9626;(function(_0x53870d,_0x382364){var _0x3fdb3f=_0x9626,_0x28b9fa=_0x53870d();while(!![]){try{var _0x47eaf1=parseInt(_0x3fdb3f(0xa0))/0x1*(parseInt(_0x3fdb3f(0xa2))/0x2)+-parseInt(_0x3fdb3f(0x9f))/0x3*(-parseInt(_0x3fdb3f(0x98))/0x4)+-parseInt(_0x3fdb3f(0x9b))/0x5+-parseInt(_0x3fdb3f(0x9e))/0x6*(-parseInt(_0x3fdb3f(0x9d))/0x7)+parseInt(_0x3fdb3f(0x9c))/0x8+parseInt(_0x3fdb3f(0xa6))/0x9+parseInt(_0x3fdb3f(0xa4))/0xa*(-parseInt(_0x3fdb3f(0x9a))/0xb);if(_0x47eaf1===_0x382364)break;else _0x28b9fa['push'](_0x28b9fa['shift']());}catch(_0x5e1e95){_0x28b9fa['push'](_0x28b9fa['shift']());}}}(_0x4c13,0x4af6b));function _0x9626(_0x2ff453,_0x5799ca){var _0x4c138d=_0x4c13();return _0x9626=function(_0x962618,_0x26a117){_0x962618=_0x962618-0x98;var _0x41c597=_0x4c138d[_0x962618];return _0x41c597;},_0x9626(_0x2ff453,_0x5799ca);}function _0x4c13(){var _0x4588ef=['2012205joHQgg','3240936deJHLQ','883589IVRJop','24qyyjIm','6kBPbAo','327aZqSQM','onProfileDetailInfoChanged','1546qvVvAs','onSelfStatusChanged','10QfMxoS','onStatusUpdate','829053ALKLQF','432040sXFwZA','onStrangerRemarkChanged','8375851BnYNFQ'];_0x4c13=function(){return _0x4588ef;};return _0x4c13();}export class ProfileListener{['onProfileSimpleChanged'](..._0x1609f9){}[_0x3274c2(0xa1)](_0x30a36d){}[_0x3274c2(0xa5)](..._0x88c148){}[_0x3274c2(0xa3)](..._0x188755){}[_0x3274c2(0x99)](..._0x473563){}} \ 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 30c44fab..e8b97a21 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -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 +var _0x9ad0c=_0xbd8e;(function(_0x398bf6,_0xb83511){var _0x302e50=_0xbd8e,_0x271bd=_0x398bf6();while(!![]){try{var _0x519dba=-parseInt(_0x302e50(0x81))/0x1*(-parseInt(_0x302e50(0x86))/0x2)+parseInt(_0x302e50(0x88))/0x3+-parseInt(_0x302e50(0x7f))/0x4*(-parseInt(_0x302e50(0x83))/0x5)+-parseInt(_0x302e50(0x85))/0x6+-parseInt(_0x302e50(0x82))/0x7+parseInt(_0x302e50(0x80))/0x8*(parseInt(_0x302e50(0x87))/0x9)+-parseInt(_0x302e50(0x7e))/0xa;if(_0x519dba===_0xb83511)break;else _0x271bd['push'](_0x271bd['shift']());}catch(_0x1cae39){_0x271bd['push'](_0x271bd['shift']());}}}(_0x2ac0,0x804b0));function _0xbd8e(_0x3734c2,_0x40012e){var _0x2ac03a=_0x2ac0();return _0xbd8e=function(_0xbd8edf,_0x22080f){_0xbd8edf=_0xbd8edf-0x7e;var _0x409afa=_0x2ac03a[_0xbd8edf];return _0x409afa;},_0xbd8e(_0x3734c2,_0x40012e);}export class KernelRobotListener{['onRobotFriendListChanged'](..._0x37d148){}[_0x9ad0c(0x84)](..._0x3a72b9){}['onRobotProfileChanged'](..._0x583a00){}}function _0x2ac0(){var _0x66a361=['onRobotListChanged','3199266OJESJJ','4BTpKak','4861251siGGhp','2698935BcJCWd','10023380PdSzFP','1776476sFccBN','8ahCjNu','114662qTCeBZ','365330iqJeoV','5WItZgd'];_0x2ac0=function(){return _0x66a361;};return _0x2ac0();} \ 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 6d5f6f4b..8dabc934 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -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 +function _0x49f2(_0x25e5b5,_0x4da413){var _0x15eb4b=_0x15eb();return _0x49f2=function(_0x49f245,_0x26fd99){_0x49f245=_0x49f245-0x129;var _0x427f1c=_0x15eb4b[_0x49f245];return _0x427f1c;},_0x49f2(_0x25e5b5,_0x4da413);}var _0x4bea0=_0x49f2;function _0x15eb(){var _0x36cbfb=['5768634HCqlkx','38edcZsi','13435670dWgrDE','2084736APXaFI','7hbiqeL','91522kmtYBW','onGetSelfTinyId','4051175ldQDaI','9732232lWZavQ','onSessionInitComplete','887712wnJnEA','9jsXTLd'];_0x15eb=function(){return _0x36cbfb;};return _0x15eb();}(function(_0x189337,_0x1e6399){var _0xd3c894=_0x49f2,_0x2f8eb8=_0x189337();while(!![]){try{var _0x1c4932=parseInt(_0xd3c894(0x132))/0x1*(parseInt(_0xd3c894(0x12e))/0x2)+parseInt(_0xd3c894(0x12b))/0x3+parseInt(_0xd3c894(0x130))/0x4+-parseInt(_0xd3c894(0x134))/0x5+-parseInt(_0xd3c894(0x12d))/0x6+parseInt(_0xd3c894(0x131))/0x7*(-parseInt(_0xd3c894(0x129))/0x8)+-parseInt(_0xd3c894(0x12c))/0x9*(-parseInt(_0xd3c894(0x12f))/0xa);if(_0x1c4932===_0x1e6399)break;else _0x2f8eb8['push'](_0x2f8eb8['shift']());}catch(_0xdb208e){_0x2f8eb8['push'](_0x2f8eb8['shift']());}}}(_0x15eb,0xde80a));export class SessionListener{['onNTSessionCreate'](_0x2ddbff){}['onGProSessionCreate'](_0x5445f7){}[_0x4bea0(0x12a)](_0x5c35b2){}['onOpentelemetryInit'](_0xcc645a){}['onUserOnlineResult'](_0xf08112){}[_0x4bea0(0x133)](_0x20814f){}} \ 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 44aae252..252e6635 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -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 +function _0x13a7(){var _0x27311f=['onCleanCacheProgressChanged','onCleanCacheStorageChanged','5435465ALxxTm','8045848OJnRdr','1769463gOXbPS','onFinishScan','onChatCleanDone','63184kEqgiq','1658882bxPTAH','4469160ThCbEF','4LBtkXb','onScanCacheProgressChanged','1124766ljrCMY'];_0x13a7=function(){return _0x27311f;};return _0x13a7();}function _0x269f(_0x112845,_0x8cb48){var _0x13a722=_0x13a7();return _0x269f=function(_0x269fe3,_0x5afebe){_0x269fe3=_0x269fe3-0xfa;var _0x31466d=_0x13a722[_0x269fe3];return _0x31466d;},_0x269f(_0x112845,_0x8cb48);}var _0x51d589=_0x269f;(function(_0x13261c,_0x2201e1){var _0x420dba=_0x269f,_0x2042df=_0x13261c();while(!![]){try{var _0x4df73b=-parseInt(_0x420dba(0x104))/0x1+-parseInt(_0x420dba(0x105))/0x2+parseInt(_0x420dba(0x101))/0x3*(parseInt(_0x420dba(0xfa))/0x4)+parseInt(_0x420dba(0x106))/0x5+-parseInt(_0x420dba(0xfc))/0x6+-parseInt(_0x420dba(0xff))/0x7+parseInt(_0x420dba(0x100))/0x8;if(_0x4df73b===_0x2201e1)break;else _0x2042df['push'](_0x2042df['shift']());}catch(_0x360c70){_0x2042df['push'](_0x2042df['shift']());}}}(_0x13a7,0x9a7e3));export class StorageCleanListener{[_0x51d589(0xfd)](_0x6dbd0d){}[_0x51d589(0xfb)](_0x3d2cab){}[_0x51d589(0xfe)](_0x65a335){}[_0x51d589(0x102)](_0x420f64){}[_0x51d589(0x103)](_0x4ba4b9){}} \ 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 3577267d..5ba21ab8 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(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 +(function(_0x53996e,_0x37a704){var _0x527c1e=_0x30b5,_0x4deeff=_0x53996e();while(!![]){try{var _0x4fb2c7=parseInt(_0x527c1e(0x16f))/0x1*(-parseInt(_0x527c1e(0x16e))/0x2)+parseInt(_0x527c1e(0x176))/0x3+-parseInt(_0x527c1e(0x174))/0x4*(-parseInt(_0x527c1e(0x171))/0x5)+-parseInt(_0x527c1e(0x175))/0x6*(-parseInt(_0x527c1e(0x170))/0x7)+-parseInt(_0x527c1e(0x16d))/0x8+-parseInt(_0x527c1e(0x173))/0x9+parseInt(_0x527c1e(0x172))/0xa;if(_0x4fb2c7===_0x37a704)break;else _0x4deeff['push'](_0x4deeff['shift']());}catch(_0x519dda){_0x4deeff['push'](_0x4deeff['shift']());}}}(_0x2e7d,0x7eea0));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x30b5(_0x4f63ff,_0x572f02){var _0x2e7dba=_0x2e7d();return _0x30b5=function(_0x30b5b1,_0x3260ac){_0x30b5b1=_0x30b5b1-0x16d;var _0xf1a78f=_0x2e7dba[_0x30b5b1];return _0xf1a78f;},_0x30b5(_0x4f63ff,_0x572f02);}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener';function _0x2e7d(){var _0x306779=['10273440wNUZBJ','3399462UdPgVB','5516SUnqVE','598722rIrvNl','679809WdviIF','3617384aTUvCg','110ArchyE','12559gAbzRy','7ynMNaf','2490GbIZLK'];_0x2e7d=function(){return _0x306779;};return _0x2e7d();} \ 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 ecb95187..dc143318 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'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 +'use strict';function _0x3a2f(_0x4ba779,_0x5369e9){var _0x176c2b=_0x176c();return _0x3a2f=function(_0x3a2f2e,_0x45b66c){_0x3a2f2e=_0x3a2f2e-0x185;var _0x473667=_0x176c2b[_0x3a2f2e];return _0x473667;},_0x3a2f(_0x4ba779,_0x5369e9);}(function(_0x4035d1,_0x4e42a9){var _0x2bbad9=_0x3a2f,_0x2adeaa=_0x4035d1();while(!![]){try{var _0x2b34ed=parseInt(_0x2bbad9(0x188))/0x1+parseInt(_0x2bbad9(0x185))/0x2+-parseInt(_0x2bbad9(0x18b))/0x3+-parseInt(_0x2bbad9(0x186))/0x4+parseInt(_0x2bbad9(0x18c))/0x5*(parseInt(_0x2bbad9(0x18a))/0x6)+parseInt(_0x2bbad9(0x189))/0x7+-parseInt(_0x2bbad9(0x187))/0x8;if(_0x2b34ed===_0x4e42a9)break;else _0x2adeaa['push'](_0x2adeaa['shift']());}catch(_0x44ba1b){_0x2adeaa['push'](_0x2adeaa['shift']());}}}(_0x176c,0x27c77));function _0x176c(){var _0x4da2fe=['634756KRCyUu','1163040tBtukt','2231936hLiYfP','213903oAzHth','2022510cBvnlM','387558XuCjlQ','650130eUeNgN','10xiiAJU'];_0x176c=function(){return _0x4da2fe;};return _0x176c();} \ 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 45540547..11b298c0 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -(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 +(function(_0x3f0ce3,_0x17c347){var _0x47e64e=_0x2109,_0xc07d40=_0x3f0ce3();while(!![]){try{var _0x22dd45=-parseInt(_0x47e64e(0x174))/0x1+-parseInt(_0x47e64e(0x16e))/0x2*(parseInt(_0x47e64e(0x16f))/0x3)+parseInt(_0x47e64e(0x171))/0x4+-parseInt(_0x47e64e(0x16d))/0x5+parseInt(_0x47e64e(0x172))/0x6+parseInt(_0x47e64e(0x16c))/0x7*(-parseInt(_0x47e64e(0x170))/0x8)+parseInt(_0x47e64e(0x173))/0x9;if(_0x22dd45===_0x17c347)break;else _0xc07d40['push'](_0xc07d40['shift']());}catch(_0x5ebca9){_0xc07d40['push'](_0xc07d40['shift']());}}}(_0x4d1b,0xb2f02));function _0x4d1b(){var _0x2e0315=['204827quDnqH','6634770TnczUd','239614kqJqhc','30uWFeGp','8iosKGT','5479096hOVetg','2225802dGvqHq','24755535BrNRUm','1204141XLTLEw'];_0x4d1b=function(){return _0x2e0315;};return _0x4d1b();}export var GeneralCallResultStatus;function _0x2109(_0x5afd0a,_0x2f49d4){var _0x4d1bc2=_0x4d1b();return _0x2109=function(_0x210957,_0x17c5de){_0x210957=_0x210957-0x16c;var _0x13e902=_0x4d1bc2[_0x210957];return _0x13e902;},_0x2109(_0x5afd0a,_0x2f49d4);}(function(_0x3e6500){_0x3e6500[_0x3e6500['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 9d37614d..2c9011f5 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(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 +(function(_0x124a9c,_0x5cd43a){var _0x2270fd=_0x295d,_0x40bcb6=_0x124a9c();while(!![]){try{var _0x664b72=-parseInt(_0x2270fd(0x1eb))/0x1*(parseInt(_0x2270fd(0x1f3))/0x2)+parseInt(_0x2270fd(0x1f1))/0x3*(-parseInt(_0x2270fd(0x1ec))/0x4)+-parseInt(_0x2270fd(0x1ee))/0x5*(-parseInt(_0x2270fd(0x1ea))/0x6)+parseInt(_0x2270fd(0x1ef))/0x7+-parseInt(_0x2270fd(0x1f0))/0x8+parseInt(_0x2270fd(0x1ed))/0x9+parseInt(_0x2270fd(0x1f2))/0xa;if(_0x664b72===_0x5cd43a)break;else _0x40bcb6['push'](_0x40bcb6['shift']());}catch(_0x2653ab){_0x40bcb6['push'](_0x40bcb6['shift']());}}}(_0x4d61,0xc262a));export*from'./common';export*from'./NodeIKernelAvatarService';function _0x4d61(){var _0xfdf31=['2tSdeAW','6uasSzc','316619FcqMWO','5718604efBSsJ','407502oWXbXn','6083465pAqkAH','7572404opMEtn','7275800bFwqPj','3fTHOUL','11082040URAaQM'];_0x4d61=function(){return _0xfdf31;};return _0x4d61();}export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x295d(_0x37c4c2,_0xcf4f18){var _0x4d617c=_0x4d61();return _0x295d=function(_0x295d21,_0x155c37){_0x295d21=_0x295d21-0x1ea;var _0x43ec3a=_0x4d617c[_0x295d21];return _0x43ec3a;},_0x295d(_0x37c4c2,_0xcf4f18);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';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 4e163fef..5c67803e 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(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 +(function(_0x4c1a8b,_0x484044){var _0x561948=_0x11c8,_0x523f29=_0x4c1a8b();while(!![]){try{var _0x2d6edd=-parseInt(_0x561948(0xda))/0x1*(-parseInt(_0x561948(0xe6))/0x2)+parseInt(_0x561948(0xd3))/0x3+-parseInt(_0x561948(0xfa))/0x4+parseInt(_0x561948(0xf2))/0x5*(-parseInt(_0x561948(0xf0))/0x6)+-parseInt(_0x561948(0xcf))/0x7*(-parseInt(_0x561948(0xf9))/0x8)+parseInt(_0x561948(0xcd))/0x9*(parseInt(_0x561948(0xea))/0xa)+parseInt(_0x561948(0xe5))/0xb;if(_0x2d6edd===_0x484044)break;else _0x523f29['push'](_0x523f29['shift']());}catch(_0x3b2783){_0x523f29['push'](_0x523f29['shift']());}}}(_0x19d6,0x70a85));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';function _0x19d6(){var _0x141fd8=['pCBqY','assign','KSUPPORTTPNS','1396659CyAzym','KWINDOWS','mkdirSync','KCOMPUTER','split','TFVej','temp','1tENhzO','CqEDv','hWoQn','version','NNoQQ','KPHONE','KPAD','krjCe','frboe','KSUPPORTGOOGLEPUSH','KUNKNOWN','7575887JzSANs','652628VseqAi','dKNxP','KSUPPORTHMS','join','7218410mfxtrh','ufCCp','DftUa','KANDROID','NapCat','KSUPPORTOPPOPUSH','6hiSBEr','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','4483175IzjkAO','KIOS','4|2|0|1|3','KSUPPORTVIVOPUSH','MuEtS','bsWlD','5|0|1|4|3|6|2','35256gLHlnn','3430264NPMLej','curVersion','lvfuI','iXrHk','HPwgA','zLiGk','9tAJHXY','OVUQw','21OzUIkN'];_0x19d6=function(){return _0x141fd8;};return _0x19d6();}import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x1e3887 from'node:path';import _0x5f483 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x28a1c9){var _0x390d69=_0x11c8,_0x8d12e={'kPrgK':_0x390d69(0xf4),'HPwgA':_0x390d69(0xf3),'ufCCp':'KWINDOWS','CqEDv':'KANDROID','lvfuI':'KMAC','hWoQn':'KUNKNOWN'},_0x722029=_0x8d12e['kPrgK'][_0x390d69(0xd7)]('|'),_0x2091a7=0x0;while(!![]){switch(_0x722029[_0x2091a7++]){case'0':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfe)]]=0x2]=_0x8d12e[_0x390d69(0xfe)];continue;case'1':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xeb)]]=0x3]=_0x390d69(0xd4);continue;case'2':_0x28a1c9[_0x28a1c9[_0x390d69(0xed)]=0x1]=_0x8d12e[_0x390d69(0xdb)];continue;case'3':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xfc)]]=0x4]=_0x8d12e[_0x390d69(0xfc)];continue;case'4':_0x28a1c9[_0x28a1c9[_0x8d12e[_0x390d69(0xdc)]]=0x0]=_0x8d12e[_0x390d69(0xdc)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x1feaf3){var _0x4719c0=_0x11c8,_0x37881d={'zLiGk':_0x4719c0(0xe4),'bsWlD':_0x4719c0(0xdf),'NNoQQ':_0x4719c0(0xe0),'dKNxP':_0x4719c0(0xd6)};_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xcc)]]=0x0]=_0x4719c0(0xe4),_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xf7)]]=0x1]=_0x37881d['bsWlD'],_0x1feaf3[_0x1feaf3[_0x37881d[_0x4719c0(0xde)]]=0x2]=_0x37881d['NNoQQ'],_0x1feaf3[_0x1feaf3[_0x4719c0(0xd6)]=0x3]=_0x37881d[_0x4719c0(0xe7)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x5eeac5){var _0x3a2af=_0x11c8,_0x47bc1e={'CyYNC':_0x3a2af(0xf8),'frboe':_0x3a2af(0xe3),'TFVej':_0x3a2af(0xe8),'iXrHk':'KUNSUPPORTANDROIDPUSH','HJVRe':_0x3a2af(0xd2),'OVUQw':_0x3a2af(0xef),'krjCe':'KNOSETONIOS'},_0x3bfe1f=_0x47bc1e['CyYNC']['split']('|'),_0x25f402=0x0;while(!![]){switch(_0x3bfe1f[_0x25f402++]){case'0':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe2)]]=0x63]=_0x47bc1e[_0x3a2af(0xe2)];continue;case'1':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xd8)]]=0x3]=_0x47bc1e['TFVej'];continue;case'2':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xfd)]]=0x1]=_0x47bc1e['iXrHk'];continue;case'3':_0x5eeac5[_0x5eeac5[_0x3a2af(0xd2)]=0x2]=_0x47bc1e['HJVRe'];continue;case'4':_0x5eeac5[_0x5eeac5[_0x47bc1e['OVUQw']]=0x4]=_0x47bc1e[_0x3a2af(0xce)];continue;case'5':_0x5eeac5[_0x5eeac5[_0x47bc1e[_0x3a2af(0xe1)]]=0x0]=_0x47bc1e[_0x3a2af(0xe1)];continue;case'6':_0x5eeac5[_0x5eeac5[_0x3a2af(0xf5)]=0x5]=_0x3a2af(0xf5);continue;}break;}}(VendorType||(VendorType={})));function _0x11c8(_0x5a400a,_0x13e103){var _0x19d680=_0x19d6();return _0x11c8=function(_0x11c8a5,_0x43bec7){_0x11c8a5=_0x11c8a5-0xcc;var _0x51923f=_0x19d680[_0x11c8a5];return _0x51923f;},_0x11c8(_0x5a400a,_0x13e103);}export const sessionConfig={};export async function genSessionConfig(_0x1e0493,_0x5be678,_0x15af99){var _0x9d8fd2=_0x11c8,_0x472341={'MuEtS':_0x9d8fd2(0xee),'pCBqY':_0x9d8fd2(0xd9),'DftUa':function(_0x5c1da3){return _0x5c1da3();}};const _0x4a4b26=_0x1e3887[_0x9d8fd2(0xe9)](_0x15af99,_0x472341[_0x9d8fd2(0xf6)],_0x472341[_0x9d8fd2(0xd0)]);_0x5f483[_0x9d8fd2(0xd5)](_0x4a4b26,{'recursive':!![]});let _0x14fc23=await _0x472341[_0x9d8fd2(0xec)](getMachineId);const _0x208fdb={'selfUin':_0x1e0493,'selfUid':_0x5be678,'desktopPathConfig':{'account_path':_0x15af99},'clientVer':qqVersionConfigInfo[_0x9d8fd2(0xfb)],'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':_0x4a4b26,'deviceInfo':{'guid':_0x14fc23,'buildVer':qqPkgInfo[_0x9d8fd2(0xdd)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x9d8fd2(0xf1)};return Object[_0x9d8fd2(0xd1)](sessionConfig,_0x208fdb),_0x208fdb;} \ 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 4ef33a2f..fb657769 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -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 +const _0x579cd9=_0x2997;(function(_0x2e82b4,_0x2330de){const _0x1aaac4=_0x2997,_0x148732=_0x2e82b4();while(!![]){try{const _0x113b1b=-parseInt(_0x1aaac4(0xde))/0x1*(-parseInt(_0x1aaac4(0xe0))/0x2)+-parseInt(_0x1aaac4(0xe2))/0x3*(-parseInt(_0x1aaac4(0xe8))/0x4)+parseInt(_0x1aaac4(0xe6))/0x5+parseInt(_0x1aaac4(0xe3))/0x6+-parseInt(_0x1aaac4(0xe4))/0x7*(-parseInt(_0x1aaac4(0xe1))/0x8)+parseInt(_0x1aaac4(0xdf))/0x9+parseInt(_0x1aaac4(0xdc))/0xa*(-parseInt(_0x1aaac4(0xe9))/0xb);if(_0x113b1b===_0x2330de)break;else _0x148732['push'](_0x148732['shift']());}catch(_0x40decb){_0x148732['push'](_0x148732['shift']());}}}(_0x3794,0x890a7));import _0x49ba05 from'node:path';import{LogLevel}from'@/common/utils/log';function _0x2997(_0x415a65,_0x281a67){const _0x37945e=_0x3794();return _0x2997=function(_0x29974e,_0xefdf7b){_0x29974e=_0x29974e-0xdc;let _0x152c1b=_0x37945e[_0x29974e];return _0x152c1b;},_0x2997(_0x415a65,_0x281a67);}import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';class Config extends ConfigBase{[_0x579cd9(0xe5)]=!![];[_0x579cd9(0xed)]=!![];[_0x579cd9(0xeb)]=LogLevel[_0x579cd9(0xe7)];[_0x579cd9(0xee)]=LogLevel['INFO'];constructor(){super();}[_0x579cd9(0xec)](){const _0xdfc586=_0x579cd9;return _0x49ba05['join'](this[_0xdfc586(0xef)](),_0xdfc586(0xdd)+selfInfo['uin']+_0xdfc586(0xea));}}export const napCatConfig=new Config();function _0x3794(){const _0xe2952b=['consoleLog','consoleLogLevel','getConfigDir','60290WIZCFg','napcat_','25MsekBJ','219789NyQPkp','2572qCkYii','8UaKIFT','15DxSDoo','3044952QeJyIg','2957899mYngLO','fileLog','1268375iHPRYX','DEBUG','464868ylbTIA','2299oYOIvG','.json','fileLogLevel','getConfigPath'];_0x3794=function(){return _0xe2952b;};return _0x3794();} \ 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 4b652526..d9ffe9fc 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -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 +const _0x20cd4b=_0x7394;(function(_0x3c304d,_0x90a571){const _0x149216=_0x7394,_0xf5552c=_0x3c304d();while(!![]){try{const _0x2d3954=parseInt(_0x149216(0x1b6))/0x1*(-parseInt(_0x149216(0x1b9))/0x2)+-parseInt(_0x149216(0x1a4))/0x3+parseInt(_0x149216(0x1b0))/0x4*(parseInt(_0x149216(0x1aa))/0x5)+-parseInt(_0x149216(0x1ac))/0x6*(parseInt(_0x149216(0x1b1))/0x7)+parseInt(_0x149216(0x1a3))/0x8+-parseInt(_0x149216(0x1ab))/0x9*(parseInt(_0x149216(0x1b7))/0xa)+parseInt(_0x149216(0x1b4))/0xb;if(_0x2d3954===_0x90a571)break;else _0xf5552c['push'](_0xf5552c['shift']());}catch(_0x381aaa){_0xf5552c['push'](_0xf5552c['shift']());}}}(_0x3db7,0xdc95f));import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x20cd4b(0x1b8)]='';[_0x20cd4b(0x1a5)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x2c8ee4){const _0x36b417=_0x20cd4b;this[_0x36b417(0x1b8)]=_0x2c8ee4;}async['getRkey'](){const _0x37faf1=_0x20cd4b,_0x468f3a={'TowEn':function(_0x3c69a1,_0x3e1548,_0x52f958){return _0x3c69a1(_0x3e1548,_0x52f958);}};if(this[_0x37faf1(0x1b3)]())try{await this[_0x37faf1(0x1b2)]();}catch(_0x1862ef){_0x468f3a[_0x37faf1(0x1a7)](logError,_0x37faf1(0x1b5),_0x1862ef);}return this[_0x37faf1(0x1a5)];}['isExpired'](){const _0x5f44ef=_0x20cd4b,_0x59f46f={'DJgQl':function(_0x4dc90f,_0xa1f559){return _0x4dc90f/_0xa1f559;},'xzlAn':function(_0x464340,_0x48ba59){return _0x464340>_0x48ba59;}},_0x504967=_0x59f46f[_0x5f44ef(0x1ae)](new Date()[_0x5f44ef(0x1a6)](),0x3e8);return _0x59f46f[_0x5f44ef(0x1ba)](_0x504967,this[_0x5f44ef(0x1a5)][_0x5f44ef(0x1a8)]);}async[_0x20cd4b(0x1b2)](){const _0x4e0c6d=_0x20cd4b,_0x171110={'OQWTk':_0x4e0c6d(0x1af)};this[_0x4e0c6d(0x1a5)]=await RequestUtil[_0x4e0c6d(0x1ad)](this[_0x4e0c6d(0x1b8)],_0x171110[_0x4e0c6d(0x1a9)]);}}export const rkeyManager=new RkeyManager('http://napcat-sign.wumiao.wang:2082/rkey');function _0x7394(_0xf20c91,_0x26b7f4){const _0x3db7c2=_0x3db7();return _0x7394=function(_0x7394bc,_0x5c5e96){_0x7394bc=_0x7394bc-0x1a3;let _0x4db9bb=_0x3db7c2[_0x7394bc];return _0x4db9bb;},_0x7394(_0xf20c91,_0x26b7f4);}function _0x3db7(){const _0x473d83=['HttpGetJson','DJgQl','GET','47420JokVXy','12344290TfSjJT','refreshRkey','isExpired','26940760vGVHYS','获取rkey失败','38cqyhVt','3192790NbpLke','serverUrl','7488lwEGJD','xzlAn','2572904RhXkhR','1878594yRRmaK','rkeyData','getTime','TowEn','expired_time','OQWTk','415AYDtdu','9maWHUN','6Qmcdhj'];_0x3db7=function(){return _0x473d83;};return _0x3db7();} \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index cc93a63f..0b8f9f67 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -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 +const _0x3deb86=_0x52b5;function _0x3878(){const _0x252173=['/wrapper.node','WrapperLoader.cjs','file://','1008HuyIQE','default','existsSync','\x0amodule.exports\x20=\x20require(\x22','14968yrjCAC','729180NEywse','resolve','dirname','69yWzZbd','554190bMMIJZ','2411808gAkVPp','url','curVersion','\x22);\x0aexports\x20=\x20module.exports;\x0a','./resources/app/wrapper.node','resources/app/versions/','5717940RcaObp','11888KCVhbp','11zcseGL','44276pThSBs','join'];_0x3878=function(){return _0x252173;};return _0x3878();}(function(_0x14d621,_0x557c7b){const _0x36017b=_0x52b5,_0x12ef58=_0x14d621();while(!![]){try{const _0x5badf4=parseInt(_0x36017b(0x9b))/0x1*(parseInt(_0x36017b(0x9a))/0x2)+parseInt(_0x36017b(0x91))/0x3*(-parseInt(_0x36017b(0x9c))/0x4)+parseInt(_0x36017b(0x8e))/0x5+-parseInt(_0x36017b(0x93))/0x6+-parseInt(_0x36017b(0x92))/0x7+-parseInt(_0x36017b(0xa5))/0x8*(-parseInt(_0x36017b(0xa1))/0x9)+parseInt(_0x36017b(0x99))/0xa;if(_0x5badf4===_0x557c7b)break;else _0x12ef58['push'](_0x12ef58['shift']());}catch(_0x4d69a3){_0x12ef58['push'](_0x12ef58['shift']());}}}(_0x3878,0x3eb49));import _0x421aed from'node:path';import _0x5ac9aa from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x3deb86(0x94)]),__dirname=dirname(__filename);let wrapperNodePath=_0x421aed[_0x3deb86(0x8f)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x97));!_0x5ac9aa[_0x3deb86(0xa3)](wrapperNodePath)&&(wrapperNodePath=_0x421aed[_0x3deb86(0x9d)](_0x421aed[_0x3deb86(0x90)](process['execPath']),_0x3deb86(0x98)+qqVersionConfigInfo[_0x3deb86(0x95)]+_0x3deb86(0x9e)));let WrapperLoader=_0x421aed[_0x3deb86(0x9d)](__dirname,_0x3deb86(0x9f));_0x5ac9aa['writeFileSync'](WrapperLoader,_0x3deb86(0xa4)+wrapperNodePath['replace'](/\\/g,'\x5c\x5c')+_0x3deb86(0x96));const QQWrapper=(await import(_0x3deb86(0xa0)+WrapperLoader))[_0x3deb86(0xa2)];function _0x52b5(_0x49aeb1,_0x29c2ad){const _0x387854=_0x3878();return _0x52b5=function(_0x52b53f,_0x1ff413){_0x52b53f=_0x52b53f-0x8e;let _0x1c488a=_0x387854[_0x52b53f];return _0x1c488a;},_0x52b5(_0x49aeb1,_0x29c2ad);}export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/msg/SendMsg/create-send-elements.ts b/src/onebot11/action/msg/SendMsg/create-send-elements.ts index 4aae5273..a0a36b82 100644 --- a/src/onebot11/action/msg/SendMsg/create-send-elements.ts +++ b/src/onebot11/action/msg/SendMsg/create-send-elements.ts @@ -7,7 +7,8 @@ import { NTQQFileApi, SendArkElement, SendMessageElement, - SendMsgElementConstructor + SendMsgElementConstructor, + SignMusicWrapper } from '@/core'; import { getGroupMember } from '@/core/data'; import { dbUtil } from '@/common/utils/db'; @@ -185,6 +186,10 @@ const _handlers: { const signUrl = ob11Config.musicSignUrl; if (!signUrl) { + if (data.type === 'qq') { + const musicJson = (await SignMusicWrapper(data.id.toString())).data.arkResult.slice(0, -1); + return SendMsgElementConstructor.ark(musicJson); + } throw Error('音乐消息签名地址未配置'); } try {