diff --git a/package.json b/package.json index 028b7aa5..141237c6 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,11 @@ "depend": "cd dist && npm install --omit=dev" }, "devDependencies": { + "@babel/core": "^7.24.7", + "@babel/preset-typescript": "^7.24.7", + "vite-plugin-babel": "^1.2.0", + "@babel/plugin-proposal-class-properties": "^7.18.6", + "@babel/plugin-proposal-decorators": "^7.24.7", "@log4js-node/log4js-api": "^1.0.2", "@protobuf-ts/plugin": "^2.9.4", "@rollup/plugin-node-resolve": "^15.2.3", diff --git a/src/common/utils/helper.ts b/src/common/utils/helper.ts index 5fcd1728..cb902299 100644 --- a/src/common/utils/helper.ts +++ b/src/common/utils/helper.ts @@ -43,8 +43,59 @@ export function truncateString(obj: any, maxLength = 500) { } return obj; } +export function simpleDecorator(target: any, context: any) { +} +// export function CacheClassFunc(ttl: number = 3600 * 1000, customKey: string = '') { +// const cache = new Map(); +// return function CacheClassFuncDecorator(originalMethod: Function, context: ClassMethodDecoratorContext) { +// async function CacheClassFuncDecoratorInternal(this: any, ...args: any[]) { +// const key = `${customKey}${String(context.name)}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`; +// const cachedValue = cache.get(key); +// if (cachedValue && cachedValue.expiry > Date.now()) { +// return cachedValue.value; +// } +// const result = originalMethod.call(this, ...args); +// cache.set(key, { expiry: Date.now() + ttl, value: result }); +// return result; +// } +// return CacheClassFuncDecoratorInternal; +// } +// } +export function CacheClassFuncAsync(ttl: number = 3600 * 1000, customKey: string = ''): any { + const cache = new Map(); + + // 注意:在JavaScript装饰器中,我们通常不直接处理ClassMethodDecoratorContext这样的类型, + // 因为装饰器的参数通常是目标类(对于类装饰器)、属性名(对于属性装饰器)等。 + // 对于方法装饰器,我们关注的是方法本身及其描述符。 + // 但这里我们维持原逻辑,假设有一个自定义的处理上下文的方式。 + + return function (originalMethod: Function): any { + // 由于JavaScript装饰器原生不支持异步直接定义,我们保持async定义以便处理异步方法。 + async function decoratorWrapper(this: any, ...args: any[]): Promise { + const key = `${customKey}${originalMethod.name}.(${args.map(arg => JSON.stringify(arg)).join(', ')})`; + const cachedValue = cache.get(key); + // 遍历cache 清除expiry内容 + cache.forEach((value, key) => { + if (value.expiry < Date.now()) { + cache.delete(key); + } + }); + if (cachedValue && cachedValue.expiry > Date.now()) { + return cachedValue.value; + } + + // 直接await异步方法的结果 + const result = await originalMethod.apply(this, args); + cache.set(key, { expiry: Date.now() + ttl, value: result }); + return result; + } + + // 返回装饰后的方法,保持与原方法相同的名称和描述符(如果需要更精细的控制,可以考虑使用Object.getOwnPropertyDescriptor等) + return decoratorWrapper; + }; +} /** * 函数缓存装饰器,根据方法名、参数、自定义key生成缓存键,在一定时间内返回缓存结果 diff --git a/src/core b/src/core index 3232f845..7463f72f 160000 --- a/src/core +++ b/src/core @@ -1 +1 @@ -Subproject commit 3232f8459dddadcc942384a8490889c88c422099 +Subproject commit 7463f72fd790a5fb1bf32c92cb96c15915cbd0de diff --git a/src/core.lib/src/adapters/NodeIDependsAdapter.js b/src/core.lib/src/adapters/NodeIDependsAdapter.js index 746818e4..00ab2295 100644 --- a/src/core.lib/src/adapters/NodeIDependsAdapter.js +++ b/src/core.lib/src/adapters/NodeIDependsAdapter.js @@ -1 +1 @@ -var _0x5daf60=_0xf130;function _0xf130(_0x5aba6b,_0x2da99a){var _0x33d41a=_0x33d4();return _0xf130=function(_0xf13007,_0x22a283){_0xf13007=_0xf13007-0xe5;var _0x3c4d22=_0x33d41a[_0xf13007];return _0x3c4d22;},_0xf130(_0x5aba6b,_0x2da99a);}(function(_0x766d05,_0x3fb57d){var _0x53e091=_0xf130,_0x489945=_0x766d05();while(!![]){try{var _0xe36748=-parseInt(_0x53e091(0xed))/0x1+parseInt(_0x53e091(0xea))/0x2+-parseInt(_0x53e091(0xe9))/0x3*(-parseInt(_0x53e091(0xeb))/0x4)+-parseInt(_0x53e091(0xe8))/0x5+parseInt(_0x53e091(0xf0))/0x6*(-parseInt(_0x53e091(0xe7))/0x7)+-parseInt(_0x53e091(0xee))/0x8+parseInt(_0x53e091(0xec))/0x9;if(_0xe36748===_0x3fb57d)break;else _0x489945['push'](_0x489945['shift']());}catch(_0x30aacf){_0x489945['push'](_0x489945['shift']());}}}(_0x33d4,0x1ead7));export class DependsAdapter{[_0x5daf60(0xe5)](_0xa0058e,_0x3600a1){}[_0x5daf60(0xe6)](_0x348363){}[_0x5daf60(0xef)](_0x204292){}}function _0x33d4(){var _0x49d45c=['219395XymPAD','33xKAgLL','159856uAUczW','34268fiVkzX','3445191kRIxPL','228722umUXvP','1128496fVpmLM','getGroupCode','18FwcbMu','onMSFStatusChange','onMSFSsoError','41174mHKvzA'];_0x33d4=function(){return _0x49d45c;};return _0x33d4();} \ No newline at end of file +function _0x17fd(_0x23a70a,_0xcc3797){var _0x5c2a74=_0x5c2a();return _0x17fd=function(_0x17fd40,_0xa47965){_0x17fd40=_0x17fd40-0xeb;var _0x5ed4e9=_0x5c2a74[_0x17fd40];return _0x5ed4e9;},_0x17fd(_0x23a70a,_0xcc3797);}var _0xef5c1=_0x17fd;(function(_0x20465e,_0x4799da){var _0x11e402=_0x17fd,_0xc4093a=_0x20465e();while(!![]){try{var _0x192bfa=parseInt(_0x11e402(0xed))/0x1*(-parseInt(_0x11e402(0xf4))/0x2)+-parseInt(_0x11e402(0xf6))/0x3*(parseInt(_0x11e402(0xee))/0x4)+parseInt(_0x11e402(0xeb))/0x5*(-parseInt(_0x11e402(0xf0))/0x6)+parseInt(_0x11e402(0xf5))/0x7*(-parseInt(_0x11e402(0xf2))/0x8)+-parseInt(_0x11e402(0xec))/0x9+parseInt(_0x11e402(0xf3))/0xa+parseInt(_0x11e402(0xef))/0xb;if(_0x192bfa===_0x4799da)break;else _0xc4093a['push'](_0xc4093a['shift']());}catch(_0xa267c6){_0xc4093a['push'](_0xc4093a['shift']());}}}(_0x5c2a,0x98f4f));function _0x5c2a(){var _0x1ad2a3=['6439797QxeSDS','88FBCfVn','140sTVvJn','29722363sTxCeV','6AzDEVB','getGroupCode','2336pLbOGd','8344750zwOGGh','25852ZcKVAe','3122YUaRBj','13047BeXfUt','3872645jsdWJz'];_0x5c2a=function(){return _0x1ad2a3;};return _0x5c2a();}export class DependsAdapter{['onMSFStatusChange'](_0x5ce819,_0x716335){}['onMSFSsoError'](_0x1201b1){}[_0xef5c1(0xf1)](_0x1a0ea5){}} \ 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 4b1d51f3..2f6ece27 100644 --- a/src/core.lib/src/adapters/NodeIDispatcherAdapter.js +++ b/src/core.lib/src/adapters/NodeIDispatcherAdapter.js @@ -1 +1 @@ -var _0x214073=_0x2b60;(function(_0x5e20f9,_0x20e9be){var _0x454329=_0x2b60,_0x300af1=_0x5e20f9();while(!![]){try{var _0x43a03a=-parseInt(_0x454329(0x1ed))/0x1+parseInt(_0x454329(0x1ee))/0x2*(-parseInt(_0x454329(0x1ec))/0x3)+parseInt(_0x454329(0x1f2))/0x4*(-parseInt(_0x454329(0x1f6))/0x5)+-parseInt(_0x454329(0x1f7))/0x6+parseInt(_0x454329(0x1f5))/0x7*(parseInt(_0x454329(0x1f0))/0x8)+parseInt(_0x454329(0x1f3))/0x9*(parseInt(_0x454329(0x1ef))/0xa)+-parseInt(_0x454329(0x1f4))/0xb*(-parseInt(_0x454329(0x1f8))/0xc);if(_0x43a03a===_0x20e9be)break;else _0x300af1['push'](_0x300af1['shift']());}catch(_0x27b22f){_0x300af1['push'](_0x300af1['shift']());}}}(_0x2d6a,0x347a9));function _0x2d6a(){var _0x2818e0=['70861OHGMJT','190378vcnJXJ','20jJxrgK','8ueFxDz','dispatchCall','8376nVDfrE','1098459UJbRaq','267663KVUxuI','904582avcoHF','270NAgmBg','2341452hzQpYq','252zEhNCo','dispatchCallWithJson','3QqtZgA'];_0x2d6a=function(){return _0x2818e0;};return _0x2d6a();}function _0x2b60(_0xc105d,_0xe30940){var _0x2d6a55=_0x2d6a();return _0x2b60=function(_0x2b601f,_0x49675f){_0x2b601f=_0x2b601f-0x1eb;var _0x1d1834=_0x2d6a55[_0x2b601f];return _0x1d1834;},_0x2b60(_0xc105d,_0xe30940);}export class DispatcherAdapter{['dispatchRequest'](_0x111dd9){}[_0x214073(0x1f1)](_0x18169d){}[_0x214073(0x1eb)](_0x51c38b){}} \ No newline at end of file +var _0x44368b=_0x18c0;function _0x5f37(){var _0x4f7c87=['18520qcYhlt','185izPiUO','14UryQMD','356WgcsvJ','3982572jxVfCN','143esyBwt','dispatchCallWithJson','1227482UoLcKl','dispatchRequest','7476776yDLoAw','115578EhhCkS','1496383YWjfvH','8028ZvCcIV','25572sqUqaY'];_0x5f37=function(){return _0x4f7c87;};return _0x5f37();}function _0x18c0(_0x51797d,_0x2d056a){var _0x5f372d=_0x5f37();return _0x18c0=function(_0x18c0f4,_0x14b3d8){_0x18c0f4=_0x18c0f4-0x194;var _0x1af7c8=_0x5f372d[_0x18c0f4];return _0x1af7c8;},_0x18c0(_0x51797d,_0x2d056a);}(function(_0x2ea512,_0x299634){var _0x58af43=_0x18c0,_0x479494=_0x2ea512();while(!![]){try{var _0x76f502=-parseInt(_0x58af43(0x19e))/0x1+-parseInt(_0x58af43(0x19a))/0x2+parseInt(_0x58af43(0x1a0))/0x3*(-parseInt(_0x58af43(0x196))/0x4)+-parseInt(_0x58af43(0x194))/0x5*(parseInt(_0x58af43(0x19d))/0x6)+parseInt(_0x58af43(0x195))/0x7*(parseInt(_0x58af43(0x19c))/0x8)+-parseInt(_0x58af43(0x19f))/0x9*(parseInt(_0x58af43(0x1a1))/0xa)+parseInt(_0x58af43(0x198))/0xb*(parseInt(_0x58af43(0x197))/0xc);if(_0x76f502===_0x299634)break;else _0x479494['push'](_0x479494['shift']());}catch(_0x59d740){_0x479494['push'](_0x479494['shift']());}}}(_0x5f37,0xe7f9c));export class DispatcherAdapter{[_0x44368b(0x19b)](_0x1c973){}['dispatchCall'](_0x572d1a){}[_0x44368b(0x199)](_0x67bd7b){}} \ 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 2107cdda..16c56308 100644 --- a/src/core.lib/src/adapters/NodeIGlobalAdapter.js +++ b/src/core.lib/src/adapters/NodeIGlobalAdapter.js @@ -1 +1 @@ -function _0x29a4(){var _0x4115a3=['onInstallFinished','1713439MGzBmu','onGetSrvCalTime','20871irfequ','onGetOfflineMsg','4417902FqFeVv','1454436HqaUue','32hDspNg','226UKRZEW','onLog','fixPicImgType','890570gYImtR','12QweuxK','11471200nCCMiZ','288797EFwPxm','onShowErrUITips'];_0x29a4=function(){return _0x4115a3;};return _0x29a4();}function _0x3867(_0x57eca4,_0x3eb361){var _0x29a40a=_0x29a4();return _0x3867=function(_0x3867dd,_0x5af69a){_0x3867dd=_0x3867dd-0xcc;var _0x1caec7=_0x29a40a[_0x3867dd];return _0x1caec7;},_0x3867(_0x57eca4,_0x3eb361);}var _0x1d3ddc=_0x3867;(function(_0x4c9783,_0x4e47e2){var _0x336723=_0x3867,_0x409951=_0x4c9783();while(!![]){try{var _0x404267=-parseInt(_0x336723(0xd9))/0x1+-parseInt(_0x336723(0xd3))/0x2*(-parseInt(_0x336723(0xce))/0x3)+parseInt(_0x336723(0xd7))/0x4*(parseInt(_0x336723(0xd6))/0x5)+parseInt(_0x336723(0xd1))/0x6+parseInt(_0x336723(0xcc))/0x7*(parseInt(_0x336723(0xd2))/0x8)+-parseInt(_0x336723(0xd0))/0x9+-parseInt(_0x336723(0xd8))/0xa;if(_0x404267===_0x4e47e2)break;else _0x409951['push'](_0x409951['shift']());}catch(_0x3efa39){_0x409951['push'](_0x409951['shift']());}}}(_0x29a4,0x96322));export class GlobalAdapter{[_0x1d3ddc(0xd4)](..._0x4e53c0){}[_0x1d3ddc(0xcd)](..._0x1a5737){}[_0x1d3ddc(0xda)](..._0x11032a){}[_0x1d3ddc(0xd5)](..._0x4df954){}['getAppSetting'](..._0x68bfa3){}[_0x1d3ddc(0xdb)](..._0x54e795){}['onUpdateGeneralFlag'](..._0x30e16c){}[_0x1d3ddc(0xcf)](..._0x4e0105){}} \ No newline at end of file +function _0x4e82(){var _0x5c1ba7=['8DIlXiS','5503TfxwiB','onLog','onGetSrvCalTime','9nACLtn','getAppSetting','2230974nMQCeP','277905yuZpFx','862499knAJCQ','7gqgOIT','494142bqVPcI','966720YUrAcv','onShowErrUITips','onGetOfflineMsg','74jvgLLj','167704wvUuhb','onInstallFinished'];_0x4e82=function(){return _0x5c1ba7;};return _0x4e82();}var _0x30ff53=_0x2e1e;(function(_0x5dc3a3,_0x4f9149){var _0xa8b1ce=_0x2e1e,_0x2da262=_0x5dc3a3();while(!![]){try{var _0x5d2abc=-parseInt(_0xa8b1ce(0x1b4))/0x1*(parseInt(_0xa8b1ce(0x1c1))/0x2)+parseInt(_0xa8b1ce(0x1bd))/0x3*(parseInt(_0xa8b1ce(0x1b3))/0x4)+-parseInt(_0xa8b1ce(0x1ba))/0x5+-parseInt(_0xa8b1ce(0x1b9))/0x6*(-parseInt(_0xa8b1ce(0x1bc))/0x7)+parseInt(_0xa8b1ce(0x1c2))/0x8*(-parseInt(_0xa8b1ce(0x1b7))/0x9)+-parseInt(_0xa8b1ce(0x1be))/0xa+parseInt(_0xa8b1ce(0x1bb))/0xb;if(_0x5d2abc===_0x4f9149)break;else _0x2da262['push'](_0x2da262['shift']());}catch(_0x32b2e3){_0x2da262['push'](_0x2da262['shift']());}}}(_0x4e82,0x62597));function _0x2e1e(_0x77712b,_0x150b2e){var _0x4e8261=_0x4e82();return _0x2e1e=function(_0x2e1e3,_0x8de99c){_0x2e1e3=_0x2e1e3-0x1b2;var _0x24cd35=_0x4e8261[_0x2e1e3];return _0x24cd35;},_0x2e1e(_0x77712b,_0x150b2e);}export class GlobalAdapter{[_0x30ff53(0x1b5)](..._0x1c9cd2){}[_0x30ff53(0x1b6)](..._0x41a3fe){}[_0x30ff53(0x1bf)](..._0x57817a){}['fixPicImgType'](..._0x1fa11e){}[_0x30ff53(0x1b8)](..._0x1bc416){}[_0x30ff53(0x1b2)](..._0x785c07){}['onUpdateGeneralFlag'](..._0xb92b5d){}[_0x30ff53(0x1c0)](..._0x5c5eb2){}} \ 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 8019c251..15436f7e 100644 --- a/src/core.lib/src/adapters/index.js +++ b/src/core.lib/src/adapters/index.js @@ -1 +1 @@ -(function(_0x5f4fa8,_0x494d4d){var _0x5de5e8=_0x301f,_0x5092f2=_0x5f4fa8();while(!![]){try{var _0x35baf9=parseInt(_0x5de5e8(0x174))/0x1*(-parseInt(_0x5de5e8(0x179))/0x2)+parseInt(_0x5de5e8(0x178))/0x3*(parseInt(_0x5de5e8(0x170))/0x4)+parseInt(_0x5de5e8(0x171))/0x5*(-parseInt(_0x5de5e8(0x176))/0x6)+parseInt(_0x5de5e8(0x177))/0x7+parseInt(_0x5de5e8(0x172))/0x8*(parseInt(_0x5de5e8(0x175))/0x9)+-parseInt(_0x5de5e8(0x17a))/0xa+parseInt(_0x5de5e8(0x173))/0xb;if(_0x35baf9===_0x494d4d)break;else _0x5092f2['push'](_0x5092f2['shift']());}catch(_0x4b5a76){_0x5092f2['push'](_0x5092f2['shift']());}}}(_0x20b5,0xb660b));export*from'./NodeIDependsAdapter';function _0x20b5(){var _0xdeaed9=['24407493DhjXSh','46519PWknJP','9EhXwdy','2144580DTVnDt','610302XAFkzu','20676LsqFRK','20JXDzYc','3766870ffaLSo','40WhQAvx','15oiNZsQ','2289736iQxHbn'];_0x20b5=function(){return _0xdeaed9;};return _0x20b5();}function _0x301f(_0x19d93c,_0x4c79fa){var _0x20b560=_0x20b5();return _0x301f=function(_0x301f97,_0x367937){_0x301f97=_0x301f97-0x170;var _0x2758b3=_0x20b560[_0x301f97];return _0x2758b3;},_0x301f(_0x19d93c,_0x4c79fa);}export*from'./NodeIDispatcherAdapter';export*from'./NodeIGlobalAdapter'; \ No newline at end of file +(function(_0x2f7c39,_0x287c75){var _0x3bf422=_0x9b9f,_0xa4d6ad=_0x2f7c39();while(!![]){try{var _0xe2e56b=-parseInt(_0x3bf422(0x172))/0x1*(parseInt(_0x3bf422(0x173))/0x2)+-parseInt(_0x3bf422(0x170))/0x3*(parseInt(_0x3bf422(0x177))/0x4)+parseInt(_0x3bf422(0x178))/0x5+parseInt(_0x3bf422(0x171))/0x6+parseInt(_0x3bf422(0x179))/0x7+parseInt(_0x3bf422(0x174))/0x8*(parseInt(_0x3bf422(0x175))/0x9)+parseInt(_0x3bf422(0x176))/0xa*(-parseInt(_0x3bf422(0x16f))/0xb);if(_0xe2e56b===_0x287c75)break;else _0xa4d6ad['push'](_0xa4d6ad['shift']());}catch(_0x4b1655){_0xa4d6ad['push'](_0xa4d6ad['shift']());}}}(_0x55b2,0x62d6b));export*from'./NodeIDependsAdapter';export*from'./NodeIDispatcherAdapter';function _0x9b9f(_0x56021e,_0x44cb37){var _0x55b2e2=_0x55b2();return _0x9b9f=function(_0x9b9fe,_0x1aacfb){_0x9b9fe=_0x9b9fe-0x16f;var _0x2c9632=_0x55b2e2[_0x9b9fe];return _0x2c9632;},_0x9b9f(_0x56021e,_0x44cb37);}export*from'./NodeIGlobalAdapter';function _0x55b2(){var _0x2c960a=['2896cUFxkq','3681BaGAEc','230IryHeP','66108TnZGwS','2903855xiZbHT','906024RVuZiK','154473VzfGRV','126PnWSPt','3515700CisuuT','7415zbLdnm','6SAFwBZ'];_0x55b2=function(){return _0x2c960a;};return _0x55b2();} \ 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 a8c60d56..8893bcdf 100644 --- a/src/core.lib/src/apis/collection.js +++ b/src/core.lib/src/apis/collection.js @@ -1 +1 @@ -function _0x35eb(_0x2cb710,_0x5e82c0){const _0x1479e0=_0x1479();return _0x35eb=function(_0x35eb4c,_0x3356e8){_0x35eb4c=_0x35eb4c-0x160;let _0x4e079d=_0x1479e0[_0x35eb4c];return _0x4e079d;},_0x35eb(_0x2cb710,_0x5e82c0);}function _0x1479(){const _0x480c9e=['770292xhxxMd','now','160385kefZUm','toString','6129837DLduDg','session','64SKZecH','48uTLypr','createCollection','2039374zdwDXS','1grdznu','641938iVQvYn','24VBqhlv','458600MjoPNr','182868RkJXOz','10jhlHjH','getCollectionItemList','getCollectionService'];_0x1479=function(){return _0x480c9e;};return _0x1479();}const _0x16047e=_0x35eb;(function(_0x44cc82,_0x173648){const _0x39e690=_0x35eb,_0x206728=_0x44cc82();while(!![]){try{const _0x42ba66=parseInt(_0x39e690(0x170))/0x1*(parseInt(_0x39e690(0x16f))/0x2)+-parseInt(_0x39e690(0x166))/0x3+parseInt(_0x39e690(0x16c))/0x4*(-parseInt(_0x39e690(0x168))/0x5)+-parseInt(_0x39e690(0x160))/0x6*(parseInt(_0x39e690(0x162))/0x7)+parseInt(_0x39e690(0x161))/0x8+-parseInt(_0x39e690(0x16a))/0x9*(-parseInt(_0x39e690(0x163))/0xa)+-parseInt(_0x39e690(0x171))/0xb*(parseInt(_0x39e690(0x16d))/0xc);if(_0x42ba66===_0x173648)break;else _0x206728['push'](_0x206728['shift']());}catch(_0x24420f){_0x206728['push'](_0x206728['shift']());}}}(_0x1479,0x9ebc5));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x16047e(0x16e)](_0x345384,_0x526380,_0x4ca5ac,_0x24f57c,_0x393b53){const _0x179ba0=_0x16047e;let _0x31c83a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x345384,'strId':_0x4ca5ac,'groupId':'0','groupName':'','uid':_0x526380},'customGroupId':'0','createTime':Date['now']()['toString'](),'sequence':Date[_0x179ba0(0x167)]()[_0x179ba0(0x169)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x24f57c,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x393b53,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x179ba0(0x16b)][_0x179ba0(0x165)]()['createNewCollectionItem'](_0x31c83a);}static async['getAllCollection'](_0x5b62ec=0x0,_0x4ac328=0x32){const _0x5c04b8=_0x16047e;let _0x17dfb2={'category':_0x5b62ec,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x4ac328,'searchDown':!![]};return napCatCore[_0x5c04b8(0x16b)][_0x5c04b8(0x165)]()[_0x5c04b8(0x164)](_0x17dfb2);}} \ No newline at end of file +const _0x5293b2=_0x133e;function _0x133e(_0x3ac5c5,_0x4b1da0){const _0x17ec66=_0x17ec();return _0x133e=function(_0x133e09,_0x10efc5){_0x133e09=_0x133e09-0xc1;let _0x377271=_0x17ec66[_0x133e09];return _0x377271;},_0x133e(_0x3ac5c5,_0x4b1da0);}function _0x17ec(){const _0x5172b0=['136686GCwRJK','189CRCrxh','getCollectionItemList','2681833QgyEor','createNewCollectionItem','session','117LsMTRG','getAllCollection','1673ehVVMI','6224zzPQVJ','39476HwsHTF','1767051aoqotO','2322pWtlNV','10iCKktN','599795TVDbDX','createCollection','now','getCollectionService','toString'];_0x17ec=function(){return _0x5172b0;};return _0x17ec();}(function(_0x5f35dc,_0x16a370){const _0x163af5=_0x133e,_0x42f897=_0x5f35dc();while(!![]){try{const _0xeffc7a=-parseInt(_0x163af5(0xcd))/0x1*(parseInt(_0x163af5(0xc5))/0x2)+parseInt(_0x163af5(0xd2))/0x3*(parseInt(_0x163af5(0xc3))/0x4)+-parseInt(_0x163af5(0xc7))/0x5+parseInt(_0x163af5(0xcc))/0x6+parseInt(_0x163af5(0xc1))/0x7*(parseInt(_0x163af5(0xc2))/0x8)+parseInt(_0x163af5(0xc4))/0x9+-parseInt(_0x163af5(0xc6))/0xa*(parseInt(_0x163af5(0xcf))/0xb);if(_0xeffc7a===_0x16a370)break;else _0x42f897['push'](_0x42f897['shift']());}catch(_0x260ec5){_0x42f897['push'](_0x42f897['shift']());}}}(_0x17ec,0x327aa));import{napCatCore}from'..';export class NTQQCollectionApi{static async[_0x5293b2(0xc8)](_0x5262a9,_0x3ecf96,_0x33fc69,_0x2595b8,_0x2db61e){const _0x4e35dc=_0x5293b2;let _0x2b601a={'commInfo':{'bid':0x1,'category':0x2,'author':{'type':0x1,'numId':_0x5262a9,'strId':_0x33fc69,'groupId':'0','groupName':'','uid':_0x3ecf96},'customGroupId':'0','createTime':Date[_0x4e35dc(0xc9)]()[_0x4e35dc(0xcb)](),'sequence':Date[_0x4e35dc(0xc9)]()[_0x4e35dc(0xcb)]()},'richMediaSummary':{'originalUri':'','publisher':'','richMediaVersion':0x0,'subTitle':'','title':'','brief':_0x2595b8,'picList':[],'contentType':0x1},'richMediaContent':{'rawData':_0x2db61e,'bizDataList':[],'picList':[],'fileList':[]},'need_share_url':![]};return napCatCore[_0x4e35dc(0xd1)][_0x4e35dc(0xca)]()[_0x4e35dc(0xd0)](_0x2b601a);}static async[_0x5293b2(0xd3)](_0x2cdc7d=0x0,_0x5958d=0x32){const _0x41fa3a=_0x5293b2;let _0x238b46={'category':_0x2cdc7d,'groupId':-0x1,'forceSync':!![],'forceFromDb':![],'timeStamp':'0','count':_0x5958d,'searchDown':!![]};return napCatCore['session'][_0x41fa3a(0xca)]()[_0x41fa3a(0xce)](_0x238b46);}} \ 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 55c62678..16a68a6b 100644 --- a/src/core.lib/src/apis/file.js +++ b/src/core.lib/src/apis/file.js @@ -1 +1 @@ -const _0x1cf072=_0x74a7;(function(_0x580612,_0x3228fe){const _0x2423e5=_0x74a7,_0x299fd=_0x580612();while(!![]){try{const _0x2a4480=-parseInt(_0x2423e5(0x7c))/0x1+parseInt(_0x2423e5(0x7a))/0x2*(parseInt(_0x2423e5(0x93))/0x3)+-parseInt(_0x2423e5(0xaf))/0x4*(-parseInt(_0x2423e5(0xab))/0x5)+-parseInt(_0x2423e5(0x8b))/0x6+-parseInt(_0x2423e5(0x8c))/0x7*(-parseInt(_0x2423e5(0xb6))/0x8)+parseInt(_0x2423e5(0xbc))/0x9*(-parseInt(_0x2423e5(0x98))/0xa)+-parseInt(_0x2423e5(0xba))/0xb;if(_0x2a4480===_0x3228fe)break;else _0x299fd['push'](_0x299fd['shift']());}catch(_0x358616){_0x299fd['push'](_0x299fd['shift']());}}}(_0x2be8,0x45029));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x4dc024 from'path';import _0x2aa5c4 from'fs';import _0x4fd7f8 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';function _0x2be8(){const _0x357db5=['ext','clearChatCache','existsSync','addCacheScanedPaths','getImageUrl','filePath','2259690oPlmsq','868uYshzk','sHZmF','urlResult','hotUpdate','cvhhi','msgId','getDesktopTmpPath','16293RhXDXe','tUfZp','&rkey=','copyFile','XbGbF','2330TLXtkB','getFileType','PPiXF','getFileCacheInfo','getVideoPlayUrlV2','ZQQIa','defaultFileDownloadPath','getHotUpdateCachePath','getRkey','getRichMediaFilePathForGuild','getStorageCleanService','peerUid','includes','indexOf','fileUuid','originImageUrl','addListener','downloadMedia','startsWith','5LsDLIf','clearChatCacheInfo','XNxwC','rCjRN','825748HrBJVU','session','set','unlink','Aljxx','uaMDU','md5HexStr','28264oXNaUo','图片url获取失败','chatType','scanCache','2288FbDGsF','join','4491HRXObJ','getMsgService','下载超时','getFileSize','YJDse','getCacheSessionPathList','getChatCacheList','downloadRichMedia','pdtQU','122JitRKQ','BrcyT','200065BgaUhY','onRichMediaDownloadComplete','setCacheSilentScan','util','basename','getChatCacheInfo','url','onLoginSuccess','getVideoUrl'];_0x2be8=function(){return _0x357db5;};return _0x2be8();}function _0x74a7(_0xf41a58,_0x2e1f6f){const _0x2be83c=_0x2be8();return _0x74a7=function(_0x74a71b,_0x186e73){_0x74a71b=_0x74a71b-0x77;let _0x2ff8b4=_0x2be83c[_0x74a71b];return _0x2ff8b4;},_0x74a7(_0xf41a58,_0x2e1f6f);}import*as _0x51eb2d from'file-type';import{MsgListener}from'@/core/listeners';import _0x496007 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[_0x1cf072(0x7d)]=_0x3cbb7b=>{for(const [_0x38ef9b,_0x46086d]of downloadMediaTasks){_0x46086d(_0x3cbb7b),downloadMediaTasks['delete'](_0x38ef9b);}},setTimeout(()=>{const _0x2eb851=_0x1cf072;napCatCore[_0x2eb851(0x83)](()=>{const _0x3b0bfd=_0x2eb851;napCatCore[_0x3b0bfd(0xa8)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async[_0x1cf072(0x99)](_0xa1ba10){return _0x51eb2d['fileTypeFromFile'](_0xa1ba10);}static async[_0x1cf072(0x96)](_0x541ba7,_0x97ccc){const _0x5c404f=_0x1cf072;await napCatCore[_0x5c404f(0x7f)]['copyFile'](_0x541ba7,_0x97ccc);}static async[_0x1cf072(0xbf)](_0x12873c){const _0x33179a=_0x1cf072;return await napCatCore[_0x33179a(0x7f)][_0x33179a(0xbf)](_0x12873c);}static async[_0x1cf072(0x84)](_0x24c00f,_0x55413e){const _0x5303e7=_0x1cf072;return(await napCatCore[_0x5303e7(0xb0)]['getRichMediaService']()[_0x5303e7(0x9c)]({'chatType':_0x24c00f[_0x5303e7(0xb8)],'peerUid':_0x24c00f[_0x5303e7(0xa3)],'guildId':'0'},_0x24c00f[_0x5303e7(0x91)],_0x55413e['elementId'],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0x5303e7(0x8e)]['domainUrl'][0x0][_0x5303e7(0x82)];}static async['uploadFile'](_0x440860,_0x5e0c91=ElementType['PIC'],_0x432014=0x0){const _0x283785=_0x1cf072,_0x53d495={'dHmqf':function(_0xb95b56,_0x59a169){return _0xb95b56(_0x59a169);},'bFNlB':function(_0xcede37,_0x598f36){return _0xcede37+_0x598f36;},'XtHJY':function(_0xebb48f,_0xce0c19){return _0xebb48f===_0xce0c19;}},_0x222f51=await _0x53d495['dHmqf'](calculateFileMD5,_0x440860);let _0x45fd4d=(await NTQQFileApi[_0x283785(0x99)](_0x440860))?.[_0x283785(0x85)]||'';_0x45fd4d&&(_0x45fd4d=_0x53d495['bFNlB']('.',_0x45fd4d));let _0x5739bb=''+_0x4dc024[_0x283785(0x80)](_0x440860);_0x53d495['XtHJY'](_0x5739bb[_0x283785(0xa5)]('.'),-0x1)&&(_0x5739bb+=_0x45fd4d);const _0x500f35=napCatCore[_0x283785(0xb0)][_0x283785(0xbd)]()[_0x283785(0xa1)]({'md5HexStr':_0x222f51,'fileName':_0x5739bb,'elementType':_0x5e0c91,'elementSubType':_0x432014,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x283785(0x96)](_0x440860,_0x500f35);const _0x21f48b=await NTQQFileApi['getFileSize'](_0x440860);return{'md5':_0x222f51,'fileName':_0x5739bb,'path':_0x500f35,'fileSize':_0x21f48b,'ext':_0x45fd4d};}static async[_0x1cf072(0xa9)](_0x34541a,_0x10bdbb,_0x2f063e,_0x1f9626,_0x2ab3fb,_0x18809f,_0x1ba036=0x3e8*0x3c*0x2,_0x3e1f9d=![]){const _0x25024b=_0x1cf072,_0x31445b={'XbGbF':function(_0x239c15,_0x1e89dc){return _0x239c15(_0x1e89dc);},'XNxwC':_0x25024b(0xbe),'YJDse':function(_0x241328){return _0x241328();},'JOBYT':function(_0x4de03a,_0x5b7672,_0x59742c){return _0x4de03a(_0x5b7672,_0x59742c);}};if(_0x18809f&&_0x2aa5c4[_0x25024b(0x87)](_0x18809f)){if(_0x3e1f9d)try{await _0x4fd7f8[_0x25024b(0xb2)](_0x18809f);}catch(_0x1f18c3){}else return _0x18809f;}return new Promise((_0x2036fe,_0x4909d6)=>{const _0x3c1d11=_0x25024b,_0x243189={'Aljxx':function(_0x523684,_0x5d842e){const _0x3aecbd=_0x74a7;return _0x31445b[_0x3aecbd(0x97)](_0x523684,_0x5d842e);}};let _0x2d1233=![];const _0x4a459b=_0x3c0b79=>{const _0x4a6bbd=_0x74a7;if(_0x3c0b79['msgId']===_0x34541a){_0x2d1233=!![];let _0x3edcc1=_0x3c0b79[_0x4a6bbd(0x8a)];if(_0x3edcc1[_0x4a6bbd(0xaa)]('\x5c')){const _0x3b7b4f=sessionConfig[_0x4a6bbd(0x9e)];_0x3edcc1=_0x4dc024[_0x4a6bbd(0xbb)](_0x3b7b4f,_0x3edcc1);}_0x243189[_0x4a6bbd(0xb3)](_0x2036fe,_0x3edcc1);}};downloadMediaTasks[_0x3c1d11(0xb1)](_0x31445b[_0x3c1d11(0xc0)](randomUUID),_0x4a459b),_0x31445b['JOBYT'](setTimeout,()=>{const _0x562f71=_0x3c1d11;!_0x2d1233&&_0x31445b[_0x562f71(0x97)](_0x4909d6,_0x31445b[_0x562f71(0xad)]);},_0x1ba036),napCatCore[_0x3c1d11(0xb0)]['getMsgService']()[_0x3c1d11(0x78)]({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x34541a,'chatType':_0x10bdbb,'peerUid':_0x2f063e,'elementId':_0x1f9626,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x2ab3fb});});}static async['getImageSize'](_0x19d2a6){const _0x5a4f17={'uaMDU':function(_0x3226d3,_0x2e06ba){return _0x3226d3(_0x2e06ba);},'rCjRN':function(_0x522f58,_0x49cce2,_0x4dbfb7){return _0x522f58(_0x49cce2,_0x4dbfb7);}};return new Promise((_0x13bea8,_0x5bdd0a)=>{const _0x3b453d=_0x74a7;_0x5a4f17[_0x3b453d(0xae)](_0x496007,_0x19d2a6,(_0x48f2de,_0x19e8f7)=>{const _0x26d827=_0x3b453d;_0x48f2de?_0x5bdd0a(_0x48f2de):_0x5a4f17[_0x26d827(0xb4)](_0x13bea8,_0x19e8f7);});});}static async[_0x1cf072(0x89)](_0x3fb69d,_0x50667f){const _0x1e1777=_0x1cf072,_0x502c26={'cvhhi':'/download','tUfZp':_0x1e1777(0x95),'sHZmF':function(_0x11a036,_0x402912){return _0x11a036+_0x402912;},'pdtQU':function(_0x7d1a02,_0x39eaf2){return _0x7d1a02+_0x39eaf2;},'PPiXF':function(_0x4df9a7,_0xb7b061){return _0x4df9a7+_0xb7b061;},'BrcyT':function(_0x5f89cd,_0x2f9991){return _0x5f89cd||_0x2f9991;},'ZQQIa':function(_0x5a799f,_0x5aafe0,_0x1bf966){return _0x5a799f(_0x5aafe0,_0x1bf966);},'HxBCe':_0x1e1777(0xb7)};if(!_0x3fb69d)return'';const _0x2439b2=_0x3fb69d[_0x1e1777(0xa7)],_0xc45994=_0x3fb69d['md5HexStr'],_0x493489=_0x3fb69d[_0x1e1777(0xb5)],_0x48737b=_0x3fb69d[_0x1e1777(0xa6)];if(_0x2439b2){if(_0x2439b2['startsWith'](_0x502c26[_0x1e1777(0x90)])){if(_0x2439b2[_0x1e1777(0xa4)](_0x502c26[_0x1e1777(0x94)]))return _0x502c26[_0x1e1777(0x8d)](IMAGE_HTTP_HOST_NT,_0x2439b2);const _0x210460=await rkeyManager[_0x1e1777(0xa0)](),_0x144412=_0x50667f?_0x210460['private_rkey']:_0x210460['group_rkey'];return _0x502c26[_0x1e1777(0x79)](_0x502c26[_0x1e1777(0x8d)](IMAGE_HTTP_HOST_NT,_0x2439b2),''+_0x144412);}else return _0x502c26[_0x1e1777(0x9a)](IMAGE_HTTP_HOST,_0x2439b2);}else{if(_0x502c26[_0x1e1777(0x7b)](_0x493489,_0xc45994))return IMAGE_HTTP_HOST+'/gchatpic_new/0/0-0-'+(_0x493489||_0xc45994)['toUpperCase']()+'/0';}return _0x502c26[_0x1e1777(0x9d)](logDebug,_0x502c26['HxBCe'],_0x3fb69d),'';}}export class NTQQFileCacheApi{static async[_0x1cf072(0x7e)](_0x1ef85b=!![]){return'';}static[_0x1cf072(0xc1)](){return'';}static['clearCache'](_0x317158=['tmp',_0x1cf072(0x8f)]){const _0x16fcc3=_0x1cf072;return napCatCore['session'][_0x16fcc3(0xa2)]()['clearCacheDataByKeys'](_0x317158);}static['addCacheScannedPaths'](_0x298fab={}){const _0x19c88a=_0x1cf072;return napCatCore[_0x19c88a(0xb0)][_0x19c88a(0xa2)]()[_0x19c88a(0x88)](_0x298fab);}static[_0x1cf072(0xb9)](){const _0x4f6c6a=_0x1cf072;return napCatCore['session'][_0x4f6c6a(0xa2)]()['scanCache']();}static[_0x1cf072(0x9f)](){return'';}static[_0x1cf072(0x92)](){return'';}static[_0x1cf072(0x77)](_0x622ee8,_0x2982ec=0x3e8,_0x5611b0=0x0){const _0x1e2fa6=_0x1cf072;return napCatCore[_0x1e2fa6(0xb0)][_0x1e2fa6(0xa2)]()[_0x1e2fa6(0x81)](_0x622ee8,_0x2982ec,0x1,_0x5611b0);}static[_0x1cf072(0x9b)](_0x543718,_0x56a041=0x3e8,_0x929c4e){const _0x4363b5=_0x929c4e?_0x929c4e:{'fileType':_0x543718};}static async[_0x1cf072(0x86)](_0x1a6f38=[],_0x396bd8=[]){const _0x1216cf=_0x1cf072;return napCatCore[_0x1216cf(0xb0)][_0x1216cf(0xa2)]()[_0x1216cf(0xac)](_0x1a6f38,_0x396bd8);}} \ No newline at end of file +const _0x509a74=_0x5300;(function(_0x4a65ba,_0x3d8e30){const _0x228a25=_0x5300,_0x30671e=_0x4a65ba();while(!![]){try{const _0x4fc452=parseInt(_0x228a25(0xed))/0x1*(parseInt(_0x228a25(0xb9))/0x2)+parseInt(_0x228a25(0xc4))/0x3*(parseInt(_0x228a25(0xb1))/0x4)+parseInt(_0x228a25(0xd3))/0x5+parseInt(_0x228a25(0xe0))/0x6+parseInt(_0x228a25(0xad))/0x7+parseInt(_0x228a25(0xdb))/0x8*(parseInt(_0x228a25(0xac))/0x9)+parseInt(_0x228a25(0xdd))/0xa*(-parseInt(_0x228a25(0xbc))/0xb);if(_0x4fc452===_0x3d8e30)break;else _0x30671e['push'](_0x30671e['shift']());}catch(_0x478be7){_0x30671e['push'](_0x30671e['shift']());}}}(_0x4c1b,0xbf8ee));import{ElementType,IMAGE_HTTP_HOST,IMAGE_HTTP_HOST_NT}from'@/core/entities';import _0x537e12 from'path';import _0x4cd3ba from'fs';import _0x47a7a0 from'fs/promises';import{logDebug}from'@/common/utils/log';import{napCatCore}from'@/core';import{calculateFileMD5}from'@/common/utils/file';import*as _0x5df397 from'file-type';function _0x4c1b(){const _0xae6777=['wLOsf','zLUTA','tmp','util','getFileType','setCacheSilentScan','sVwda','fileUuid','2385110otcioQ','KXlIJ','wRfmx','indexOf','basename','msgId','getRichMediaService','elementId','2523256nmDJAJ','getFileCacheInfo','7758410WqmJof','下载超时','unlink','3756204TTwTLb','getRichMediaFilePathForGuild','set','ogmdn','/gchatpic_new/0/0-0-','clearChatCacheInfo','LqVAm','clearChatCache','domainUrl','addListener','getFileSize','downloadMedia','delete','1lWPvdT','originImageUrl','lzCkf','addCacheScanedPaths','uploadFile','/download','md5HexStr','startsWith','session','romPd','onLoginSuccess','fileTypeFromFile','9SWSadk','7210707eBjeAc','CqEEL','getStorageCleanService','chatType','1876408YUgVpw','hotUpdate','addCacheScannedPaths','includes','getChatCacheList','urlResult','图片url获取失败','copyFile','388958BslXja','ext','join','33aaaGOv','getMsgService','getImageSize','private_rkey','onRichMediaDownloadComplete','getVideoPlayUrlV2','SmLZO','hXjws','3ZFpprK','peerUid','PIC','clearCacheDataByKeys','nKlUJ','getImageUrl','scanCache'];_0x4c1b=function(){return _0xae6777;};return _0x4c1b();}import{MsgListener}from'@/core/listeners';import _0x17a615 from'image-size';import{sessionConfig}from'@/core/sessionConfig';function _0x5300(_0x3215a8,_0x547dc6){const _0x4c1b99=_0x4c1b();return _0x5300=function(_0x5300be,_0x35a5e2){_0x5300be=_0x5300be-0xab;let _0x409530=_0x4c1b99[_0x5300be];return _0x409530;},_0x5300(_0x3215a8,_0x547dc6);}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[_0x509a74(0xc0)]=_0x5f1bbc=>{const _0x480b20=_0x509a74,_0x580081={'wRfmx':function(_0x46fe38,_0x57e460){return _0x46fe38(_0x57e460);}};for(const [_0x3e5713,_0x2557c6]of downloadMediaTasks){_0x580081[_0x480b20(0xd5)](_0x2557c6,_0x5f1bbc),downloadMediaTasks[_0x480b20(0xec)](_0x3e5713);}},setTimeout(()=>{const _0x3cd8ad=_0x509a74;napCatCore[_0x3cd8ad(0xf7)](()=>{const _0x1a6ed9=_0x3cd8ad;napCatCore[_0x1a6ed9(0xe9)](downloadMediaListener);});},0x64);export class NTQQFileApi{static async['getFileType'](_0x4cf5b8){const _0x1b03e7=_0x509a74;return _0x5df397[_0x1b03e7(0xab)](_0x4cf5b8);}static async[_0x509a74(0xb8)](_0x2b5440,_0x3763b4){const _0x23b8d1=_0x509a74;await napCatCore['util'][_0x23b8d1(0xb8)](_0x2b5440,_0x3763b4);}static async[_0x509a74(0xea)](_0x4539c6){const _0x46ce34=_0x509a74;return await napCatCore[_0x46ce34(0xce)][_0x46ce34(0xea)](_0x4539c6);}static async['getVideoUrl'](_0x38a5ab,_0x10dcec){const _0xf858dd=_0x509a74;return(await napCatCore['session'][_0xf858dd(0xd9)]()[_0xf858dd(0xc1)]({'chatType':_0x38a5ab[_0xf858dd(0xb0)],'peerUid':_0x38a5ab[_0xf858dd(0xc5)],'guildId':'0'},_0x38a5ab[_0xf858dd(0xd8)],_0x10dcec[_0xf858dd(0xda)],0x0,{'downSourceType':0x1,'triggerType':0x1}))[_0xf858dd(0xb6)][_0xf858dd(0xe8)][0x0]['url'];}static async[_0x509a74(0xf1)](_0x4ca8a6,_0x4adfaf=ElementType[_0x509a74(0xc6)],_0x35051c=0x0){const _0x312efc=_0x509a74,_0x105c87={'romPd':function(_0x576bf5,_0xc92dc9){return _0x576bf5+_0xc92dc9;},'BjxYQ':function(_0x1c2bfe,_0x1a72d0){return _0x1c2bfe===_0x1a72d0;}},_0x1b37ce=await calculateFileMD5(_0x4ca8a6);let _0x478c33=(await NTQQFileApi[_0x312efc(0xcf)](_0x4ca8a6))?.[_0x312efc(0xba)]||'';_0x478c33&&(_0x478c33=_0x105c87[_0x312efc(0xf6)]('.',_0x478c33));let _0x102fdf=''+_0x537e12[_0x312efc(0xd7)](_0x4ca8a6);_0x105c87['BjxYQ'](_0x102fdf[_0x312efc(0xd6)]('.'),-0x1)&&(_0x102fdf+=_0x478c33);const _0x4fead1=napCatCore[_0x312efc(0xf5)][_0x312efc(0xbd)]()[_0x312efc(0xe1)]({'md5HexStr':_0x1b37ce,'fileName':_0x102fdf,'elementType':_0x4adfaf,'elementSubType':_0x35051c,'thumbSize':0x0,'needCreate':!![],'downloadType':0x1,'file_uuid':''});await NTQQFileApi[_0x312efc(0xb8)](_0x4ca8a6,_0x4fead1);const _0x23543f=await NTQQFileApi['getFileSize'](_0x4ca8a6);return{'md5':_0x1b37ce,'fileName':_0x102fdf,'path':_0x4fead1,'fileSize':_0x23543f,'ext':_0x478c33};}static async[_0x509a74(0xeb)](_0x57cdc1,_0x2c965b,_0x510a76,_0x4e2314,_0x38827d,_0x41f64a,_0x5dcb4b=0x3e8*0x3c*0x2,_0x418d3a=![]){const _0x3896fb=_0x509a74,_0x5007a6={'ZEhEf':function(_0x15f979,_0x45460f){return _0x15f979(_0x45460f);},'sVwda':_0x3896fb(0xde),'LqVAm':function(_0x1e5354,_0x33fd51,_0x1398a4){return _0x1e5354(_0x33fd51,_0x1398a4);}};if(_0x41f64a&&_0x4cd3ba['existsSync'](_0x41f64a)){if(_0x418d3a)try{await _0x47a7a0[_0x3896fb(0xdf)](_0x41f64a);}catch(_0x471387){}else return _0x41f64a;}return new Promise((_0x16bad1,_0x18c7ab)=>{const _0x227919=_0x3896fb,_0x196859={'zLUTA':function(_0x439572,_0xaf19aa){return _0x5007a6['ZEhEf'](_0x439572,_0xaf19aa);},'ogmdn':_0x5007a6[_0x227919(0xd1)]};let _0xbae5c4=![];const _0x7b3363=_0x108acc=>{const _0x4ed05c=_0x227919;if(_0x108acc[_0x4ed05c(0xd8)]===_0x57cdc1){_0xbae5c4=!![];let _0x2de962=_0x108acc['filePath'];if(_0x2de962[_0x4ed05c(0xf4)]('\x5c')){const _0x12a8eb=sessionConfig['defaultFileDownloadPath'];_0x2de962=_0x537e12[_0x4ed05c(0xbb)](_0x12a8eb,_0x2de962);}_0x16bad1(_0x2de962);}};downloadMediaTasks[_0x227919(0xe2)](randomUUID(),_0x7b3363),_0x5007a6[_0x227919(0xe6)](setTimeout,()=>{const _0x41bd9c=_0x227919;!_0xbae5c4&&_0x196859[_0x41bd9c(0xcc)](_0x18c7ab,_0x196859[_0x41bd9c(0xe3)]);},_0x5dcb4b),napCatCore[_0x227919(0xf5)][_0x227919(0xbd)]()['downloadRichMedia']({'fileModelId':'0','downloadSourceType':0x0,'triggerType':0x1,'msgId':_0x57cdc1,'chatType':_0x2c965b,'peerUid':_0x510a76,'elementId':_0x4e2314,'thumbSize':0x0,'downloadType':0x1,'filePath':_0x38827d});});}static async[_0x509a74(0xbe)](_0x46e90e){const _0x28c214={'KXlIJ':function(_0x34028b,_0x78ad0e){return _0x34028b(_0x78ad0e);},'lzCkf':function(_0x5136a2,_0xf883b,_0x15840){return _0x5136a2(_0xf883b,_0x15840);}};return new Promise((_0x491279,_0x2e25d7)=>{const _0x493f8b=_0x5300,_0x18d0d4={'LEgyv':function(_0x54e086,_0xdef318){const _0x3a1934=_0x5300;return _0x28c214[_0x3a1934(0xd4)](_0x54e086,_0xdef318);}};_0x28c214[_0x493f8b(0xef)](_0x17a615,_0x46e90e,(_0xd45663,_0x452ebd)=>{_0xd45663?_0x18d0d4['LEgyv'](_0x2e25d7,_0xd45663):_0x491279(_0x452ebd);});});}static async[_0x509a74(0xc9)](_0x349203,_0x37e00b){const _0x4237c1=_0x509a74,_0x466385={'DhrlG':_0x4237c1(0xf2),'wLOsf':'&rkey=','hXjws':function(_0x48f559,_0x515b89){return _0x48f559+_0x515b89;},'nKlUJ':function(_0x3a1c33,_0x131178){return _0x3a1c33+_0x131178;},'SmLZO':function(_0x334e20,_0x39d5cb){return _0x334e20+_0x39d5cb;},'kDOev':function(_0x396572,_0x33e2d5){return _0x396572||_0x33e2d5;},'NRvXw':function(_0x5b2015,_0x509d88,_0x37e631){return _0x5b2015(_0x509d88,_0x37e631);},'CqEEL':_0x4237c1(0xb7)};if(!_0x349203)return'';const _0x382733=_0x349203[_0x4237c1(0xee)],_0x153df5=_0x349203[_0x4237c1(0xf3)],_0x2520b3=_0x349203[_0x4237c1(0xf3)],_0x5b8d9d=_0x349203[_0x4237c1(0xd2)];if(_0x382733){if(_0x382733['startsWith'](_0x466385['DhrlG'])){if(_0x382733[_0x4237c1(0xb4)](_0x466385[_0x4237c1(0xcb)]))return _0x466385[_0x4237c1(0xc3)](IMAGE_HTTP_HOST_NT,_0x382733);const _0x1aae4c=await rkeyManager['getRkey'](),_0x51b94f=_0x37e00b?_0x1aae4c[_0x4237c1(0xbf)]:_0x1aae4c['group_rkey'];return _0x466385[_0x4237c1(0xc3)](_0x466385[_0x4237c1(0xc8)](IMAGE_HTTP_HOST_NT,_0x382733),''+_0x51b94f);}else return _0x466385[_0x4237c1(0xc2)](IMAGE_HTTP_HOST,_0x382733);}else{if(_0x466385['kDOev'](_0x2520b3,_0x153df5))return IMAGE_HTTP_HOST+_0x4237c1(0xe4)+_0x466385['kDOev'](_0x2520b3,_0x153df5)['toUpperCase']()+'/0';}return _0x466385['NRvXw'](logDebug,_0x466385[_0x4237c1(0xae)],_0x349203),'';}}export class NTQQFileCacheApi{static async[_0x509a74(0xd0)](_0x1dac41=!![]){return'';}static['getCacheSessionPathList'](){return'';}static['clearCache'](_0x2bf924=[_0x509a74(0xcd),_0x509a74(0xb2)]){const _0x2e489e=_0x509a74;return napCatCore[_0x2e489e(0xf5)][_0x2e489e(0xaf)]()[_0x2e489e(0xc7)](_0x2bf924);}static[_0x509a74(0xb3)](_0x49b8b0={}){const _0x4396f6=_0x509a74;return napCatCore[_0x4396f6(0xf5)][_0x4396f6(0xaf)]()[_0x4396f6(0xf0)](_0x49b8b0);}static[_0x509a74(0xca)](){const _0x5b58d0=_0x509a74;return napCatCore['session'][_0x5b58d0(0xaf)]()[_0x5b58d0(0xca)]();}static['getHotUpdateCachePath'](){return'';}static['getDesktopTmpPath'](){return'';}static[_0x509a74(0xb5)](_0x4ff74c,_0xec9763=0x3e8,_0xe812be=0x0){const _0x52b739=_0x509a74;return napCatCore['session'][_0x52b739(0xaf)]()['getChatCacheInfo'](_0x4ff74c,_0xec9763,0x1,_0xe812be);}static[_0x509a74(0xdc)](_0x28d6ca,_0x1a834f=0x3e8,_0x198df6){const _0x13f481=_0x198df6?_0x198df6:{'fileType':_0x28d6ca};}static async[_0x509a74(0xe7)](_0x4e5c08=[],_0x58a95e=[]){const _0x151746=_0x509a74;return napCatCore[_0x151746(0xf5)]['getStorageCleanService']()[_0x151746(0xe5)](_0x4e5c08,_0x58a95e);}} \ 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 e705c5eb..2bcad064 100644 --- a/src/core.lib/src/apis/friend.js +++ b/src/core.lib/src/apis/friend.js @@ -1 +1 @@ -function _0x1a44(_0x1f1675,_0x83bd5){const _0xe9eef=_0xe9ee();return _0x1a44=function(_0x1a4428,_0x1b811b){_0x1a4428=_0x1a4428-0x16f;let _0x3f3d81=_0xe9eef[_0x1a4428];return _0x3f3d81;},_0x1a44(_0x1f1675,_0x83bd5);}const _0x93afbf=_0x1a44;(function(_0xac8491,_0x52fc93){const _0x2d29fa=_0x1a44,_0x5bf2f6=_0xac8491();while(!![]){try{const _0x4acc42=-parseInt(_0x2d29fa(0x179))/0x1+parseInt(_0x2d29fa(0x17d))/0x2*(parseInt(_0x2d29fa(0x170))/0x3)+-parseInt(_0x2d29fa(0x185))/0x4+-parseInt(_0x2d29fa(0x183))/0x5*(-parseInt(_0x2d29fa(0x177))/0x6)+-parseInt(_0x2d29fa(0x178))/0x7*(parseInt(_0x2d29fa(0x186))/0x8)+parseInt(_0x2d29fa(0x16f))/0x9*(-parseInt(_0x2d29fa(0x180))/0xa)+parseInt(_0x2d29fa(0x17c))/0xb;if(_0x4acc42===_0x52fc93)break;else _0x5bf2f6['push'](_0x5bf2f6['shift']());}catch(_0x12996b){_0x5bf2f6['push'](_0x5bf2f6['shift']());}}}(_0xe9ee,0x9a69d));function _0xe9ee(){const _0x2245a0=['71010trKnGM','getFriends','NodeIKernelBuddyService/getBuddyList','approvalFriendRequest','CallNormalEvent','isBuddy','push','275178IrUDoQ','623MMPxwq','408994YFdugo','split','NodeIKernelBuddyListener/onBuddyListChange','32730544MNzYzF','14fHNJfL','length','JIuBh','1410BLNxxK','session','handleFriendRequest','110lmNWnw','buddyList','3855392iETfXK','85928EUZROO','getBuddyService','75888GuQkuN'];_0xe9ee=function(){return _0x2245a0;};return _0xe9ee();}import{napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x93afbf(0x175)](_0x268d1e){const _0xd7b31b=_0x93afbf;return napCatCore['session'][_0xd7b31b(0x187)]()[_0xd7b31b(0x175)](_0x268d1e);}static async[_0x93afbf(0x171)](_0x2f6e18=![]){const _0x3007e5=_0x93afbf,_0x43e871={'JIuBh':_0x3007e5(0x17b)};let [_0xb58467,_0x5ebc85]=await NTEventDispatch[_0x3007e5(0x174)](_0x3007e5(0x172),_0x43e871[_0x3007e5(0x17f)],0x1,0x1388,_0x2f6e18);const _0x2d3bd0=[];for(const _0x578294 of _0x5ebc85){for(const _0x5cab41 of _0x578294[_0x3007e5(0x184)]){_0x2d3bd0[_0x3007e5(0x176)](_0x5cab41);}}return _0x2d3bd0;}static async[_0x93afbf(0x182)](_0x529c43,_0x29fa8a){const _0x5be223=_0x93afbf,_0x20323a={'vCgQu':function(_0x247b05,_0x54a1fd){return _0x247b05<_0x54a1fd;}};let _0x23fd0b=_0x529c43[_0x5be223(0x17a)]('|');if(_0x20323a['vCgQu'](_0x23fd0b[_0x5be223(0x17e)],0x2))return;let _0x178ba3=_0x23fd0b[0x0],_0x3ae0ce=_0x23fd0b[0x1];napCatCore[_0x5be223(0x181)][_0x5be223(0x187)]()?.[_0x5be223(0x173)]({'friendUid':_0x178ba3,'reqTime':_0x3ae0ce,'accept':_0x29fa8a});}} \ No newline at end of file +const _0x4786b3=_0x12b2;(function(_0x1d7eed,_0x11acdb){const _0x35eca1=_0x12b2,_0x5cb2af=_0x1d7eed();while(!![]){try{const _0x2645bc=parseInt(_0x35eca1(0x18a))/0x1*(parseInt(_0x35eca1(0x18f))/0x2)+parseInt(_0x35eca1(0x198))/0x3*(-parseInt(_0x35eca1(0x18c))/0x4)+-parseInt(_0x35eca1(0x18d))/0x5+-parseInt(_0x35eca1(0x195))/0x6+-parseInt(_0x35eca1(0x18e))/0x7+parseInt(_0x35eca1(0x190))/0x8+parseInt(_0x35eca1(0x197))/0x9;if(_0x2645bc===_0x11acdb)break;else _0x5cb2af['push'](_0x5cb2af['shift']());}catch(_0x418b83){_0x5cb2af['push'](_0x5cb2af['shift']());}}}(_0x53d6,0x35d17));import{napCatCore}from'@/core';function _0x53d6(){const _0x191e1c=['leRiM','getBuddyService','split','1298BLttbY','CallNormalEvent','12YFcIfl','913635JcYTlk','2265900elEyiG','354rZvLId','1220528tcaHDP','session','NodeIKernelBuddyService/getBuddyList','buddyList','approvalFriendRequest','831762eAHnjl','isBuddy','6224103mZDdgM','208386DAakOs','handleFriendRequest'];_0x53d6=function(){return _0x191e1c;};return _0x53d6();}function _0x12b2(_0x412aa9,_0x55711c){const _0x53d656=_0x53d6();return _0x12b2=function(_0x12b2aa,_0x89399a){_0x12b2aa=_0x12b2aa-0x18a;let _0x28ec99=_0x53d656[_0x12b2aa];return _0x28ec99;},_0x12b2(_0x412aa9,_0x55711c);}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQFriendApi{static async[_0x4786b3(0x196)](_0x521e4d){const _0xe247f8=_0x4786b3;return napCatCore[_0xe247f8(0x191)][_0xe247f8(0x19b)]()['isBuddy'](_0x521e4d);}static async['getFriends'](_0x4bdbf1=![]){const _0xc775f7=_0x4786b3,_0xf8b710={'QyXXY':_0xc775f7(0x192)};let [_0x335dee,_0x2bb5ea]=await NTEventDispatch[_0xc775f7(0x18b)](_0xf8b710['QyXXY'],'NodeIKernelBuddyListener/onBuddyListChange',0x1,0x1388,_0x4bdbf1);const _0x5c8ba5=[];for(const _0x332ca5 of _0x2bb5ea){for(const _0x3e827d of _0x332ca5[_0xc775f7(0x193)]){_0x5c8ba5['push'](_0x3e827d);}}return _0x5c8ba5;}static async[_0x4786b3(0x199)](_0x1c4b3c,_0x142d51){const _0x8fb7af=_0x4786b3,_0x1e6d02={'leRiM':function(_0x3f4aad,_0x8b408f){return _0x3f4aad<_0x8b408f;}};let _0x239cfc=_0x1c4b3c[_0x8fb7af(0x19c)]('|');if(_0x1e6d02[_0x8fb7af(0x19a)](_0x239cfc['length'],0x2))return;let _0x1838cc=_0x239cfc[0x0],_0x35ac41=_0x239cfc[0x1];napCatCore[_0x8fb7af(0x191)][_0x8fb7af(0x19b)]()?.[_0x8fb7af(0x194)]({'friendUid':_0x1838cc,'reqTime':_0x35ac41,'accept':_0x142d51});}} \ 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 a8429804..ad87e6a0 100644 --- a/src/core.lib/src/apis/group.js +++ b/src/core.lib/src/apis/group.js @@ -1 +1 @@ -const _0x5341ee=_0xa20b;(function(_0x253b46,_0x225622){const _0xde5053=_0xa20b,_0x2b46b6=_0x253b46();while(!![]){try{const _0x5f3fc6=-parseInt(_0xde5053(0xdf))/0x1*(-parseInt(_0xde5053(0xee))/0x2)+-parseInt(_0xde5053(0xbe))/0x3*(parseInt(_0xde5053(0xea))/0x4)+-parseInt(_0xde5053(0xb5))/0x5*(-parseInt(_0xde5053(0xbc))/0x6)+parseInt(_0xde5053(0xe3))/0x7+parseInt(_0xde5053(0xc9))/0x8*(parseInt(_0xde5053(0xb7))/0x9)+parseInt(_0xde5053(0xe9))/0xa+-parseInt(_0xde5053(0xe7))/0xb;if(_0x5f3fc6===_0x225622)break;else _0x2b46b6['push'](_0x2b46b6['shift']());}catch(_0x4d795d){_0x2b46b6['push'](_0x2b46b6['shift']());}}}(_0x182c,0x3148e));function _0xa20b(_0xa484aa,_0x167905){const _0x182c06=_0x182c();return _0xa20b=function(_0xa20bab,_0x18b40f){_0xa20bab=_0xa20bab-0xb0;let _0x1232e6=_0x182c06[_0xa20bab];return _0x1232e6;},_0xa20b(_0xa484aa,_0x167905);}function _0x182c(){const _0x1b8f86=['9778791omNKrF','errCode','3817100KwryLM','4NAapCy','groupMemberList_MainWindow','publishGroupBulletin','jeGeX','149746AxBSZf','setMemberCard','DelGroupFile','NodeIKernelGroupService/getGroupRecommendContactArkJson','modifyGroupName','handleGroupRequest','NodeIKernelGroupService/getSingleScreenNotifies','getRichMediaService','kickMember','getMemberExtInfo','arkJson','groupCode','12435pyLiPz','type','196884DJBkPI','CallNormalEvent','TITLETYPE','group','CYHQg','540byrDJz','getPSkey','396654hmpfyh','operateSysNotify','vfsPJ','getGroupIgnoreNotifies','errMsg','NodeIKernelGroupListener/onGroupListUpdate','setMemberShutUp','quitGroup','qun.qq.com','TTCKx','seq','112oJxlEW','setGroupName','setMemberRole','result','getGroupRecommendContactArkJson','getGroupService','createGroupFolder','oYAse','LwXqw','NodeIKernelGroupListener/onGroupSingleScreenNotifies','itXpc','session','获取群成员列表出错,','modifyMemberRole','ocCcd','banMember','getArkJsonGroupShare','CallNoListenerEvent','uploadGroupBulletinPic','getGroupRemainAtTimes','modifyMemberCardName','setGroupShutUp','1EjykVT','getGroupNotifies','deleteGroupFolder','getNextMemberList','1654744mwyTBH','infos','DelGroupFileFolder','createMemberListScene'];_0x182c=function(){return _0x1b8f86;};return _0x182c();}import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async['getGroups'](_0x348dac=![]){const _0xddfdde=_0xa20b,_0x49388a={'CYHQg':'NodeIKernelGroupService/getGroupList','PBpmD':_0xddfdde(0xc3)};let [_0x418d28,_0x350e39,_0x4c5dcd]=await NTEventDispatch[_0xddfdde(0xb8)](_0x49388a[_0xddfdde(0xbb)],_0x49388a['PBpmD'],0x1,0x1388,_0x348dac);return _0x4c5dcd;}static async['getGroupRecommendContactArkJson'](_0x2b963a){const _0x334e46=_0xa20b;return napCatCore[_0x334e46(0xd4)][_0x334e46(0xce)]()[_0x334e46(0xcd)](_0x2b963a);}static async['CreatGroupFileFolder'](_0x558d0d,_0x390e9b){const _0x4cd0c3=_0xa20b;return napCatCore[_0x4cd0c3(0xd4)][_0x4cd0c3(0xb0)]()[_0x4cd0c3(0xcf)](_0x558d0d,_0x390e9b);}static async[_0x5341ee(0xf0)](_0x11d600,_0x4a96c5){const _0x35ee1b=_0x5341ee;return napCatCore[_0x35ee1b(0xd4)][_0x35ee1b(0xb0)]()['deleteGroupFile'](_0x11d600,[0x66],_0x4a96c5);}static async[_0x5341ee(0xe5)](_0x32d14f,_0x3758f3){const _0x43f090=_0x5341ee;return napCatCore[_0x43f090(0xd4)][_0x43f090(0xb0)]()[_0x43f090(0xe1)](_0x32d14f,_0x3758f3);}static async['getSingleScreenNotifies'](_0xb3e97d){const _0x2480ae=_0x5341ee,_0x33e779={'TTCKx':_0x2480ae(0xd2)};let [_0x18f792,_0x172d4a,_0x2038ca,_0x4cd91b]=await NTEventDispatch['CallNormalEvent'](_0x2480ae(0xf4),_0x33e779[_0x2480ae(0xc7)],0x1,0x1388,![],'',_0xb3e97d);return _0x4cd91b;}static async['getGroupMembers'](_0x315755,_0x4b5947=0xbb8){const _0x40136e=_0x5341ee,_0x4b2760={'oYAse':_0x40136e(0xeb),'lqLop':function(_0x37adc4,_0x553024){return _0x37adc4!==_0x553024;},'ocCcd':function(_0x4c8b8e,_0x1bed64){return _0x4c8b8e+_0x1bed64;}},_0x1d968a=napCatCore[_0x40136e(0xd4)][_0x40136e(0xce)](),_0x6da85c=_0x1d968a[_0x40136e(0xe6)](_0x315755,_0x4b2760[_0x40136e(0xd0)]),_0x4ab68e=await _0x1d968a[_0x40136e(0xe2)](_0x6da85c,undefined,_0x4b5947);if(_0x4b2760['lqLop'](_0x4ab68e[_0x40136e(0xe8)],0x0))throw _0x4b2760[_0x40136e(0xd7)](_0x40136e(0xd5),_0x4ab68e[_0x40136e(0xc2)]);return _0x4ab68e[_0x40136e(0xcc)][_0x40136e(0xe4)];}static async[_0x5341ee(0xe0)](){}static async['GetGroupFileCount'](_0xeb7124){const _0x34fb43=_0x5341ee;return napCatCore['session'][_0x34fb43(0xb0)]()['batchGetGroupFileCount'](_0xeb7124);}static async[_0x5341ee(0xc1)](){}static async[_0x5341ee(0xd9)](_0x2fcf22){const _0x31dc56=_0x5341ee,_0x427870={'itXpc':_0x31dc56(0xf1)};let _0x49b00f=await NTEventDispatch[_0x31dc56(0xda)](_0x427870[_0x31dc56(0xd3)],0x1388,_0x2fcf22);return _0x49b00f[_0x31dc56(0xb3)];}static async[_0x5341ee(0xdb)](_0x5d7018,_0x175bc5){const _0x27f71a=_0x5341ee,_0x3aec73={'jeGeX':_0x27f71a(0xc6)},_0x50d447=(await NTQQUserApi['getPSkey']([_0x3aec73[_0x27f71a(0xed)]]))[_0x3aec73['jeGeX']];return napCatCore[_0x27f71a(0xd4)][_0x27f71a(0xce)]()['uploadGroupBulletinPic'](_0x5d7018,_0x50d447,_0x175bc5);}static async[_0x5341ee(0xf3)](_0x453207,_0x169761,_0x353529){const _0x5081be=_0x5341ee,_0x54fdc2={'vfsPJ':function(_0x3ab43d,_0x4f43c3){return _0x3ab43d||_0x4f43c3;}};return napCatCore[_0x5081be(0xd4)]['getGroupService']()[_0x5081be(0xbf)](![],{'operateType':_0x169761,'targetMsg':{'seq':_0x453207[_0x5081be(0xc8)],'type':_0x453207[_0x5081be(0xb6)],'groupCode':_0x453207[_0x5081be(0xba)][_0x5081be(0xb4)],'postscript':_0x54fdc2[_0x5081be(0xc0)](_0x353529,'')}});}static async[_0x5341ee(0xc5)](_0x4710ab){const _0x1841f0=_0x5341ee;return napCatCore['session'][_0x1841f0(0xce)]()[_0x1841f0(0xc5)](_0x4710ab);}static async[_0x5341ee(0xb1)](_0x74134,_0x4bed4d,_0x1b19d6=![],_0x5b2a86=''){const _0x318b0c=_0x5341ee;return napCatCore['session'][_0x318b0c(0xce)]()['kickMember'](_0x74134,_0x4bed4d,_0x1b19d6,_0x5b2a86);}static async[_0x5341ee(0xd8)](_0x43aed7,_0x18634c){const _0x44cbf6=_0x5341ee;return napCatCore[_0x44cbf6(0xd4)][_0x44cbf6(0xce)]()[_0x44cbf6(0xc4)](_0x43aed7,_0x18634c);}static async['banGroup'](_0x1f0a98,_0x1eeb16){const _0x34a9f1=_0x5341ee;return napCatCore[_0x34a9f1(0xd4)][_0x34a9f1(0xce)]()[_0x34a9f1(0xde)](_0x1f0a98,_0x1eeb16);}static async[_0x5341ee(0xef)](_0x4cce34,_0x545f93,_0x87fda2){const _0x5c8975=_0x5341ee;return napCatCore[_0x5c8975(0xd4)][_0x5c8975(0xce)]()[_0x5c8975(0xdd)](_0x4cce34,_0x545f93,_0x87fda2);}static async[_0x5341ee(0xcb)](_0x2ba7b7,_0x35bb5d,_0xeb0cfa){const _0xd7e851=_0x5341ee;return napCatCore[_0xd7e851(0xd4)][_0xd7e851(0xce)]()[_0xd7e851(0xd6)](_0x2ba7b7,_0x35bb5d,_0xeb0cfa);}static async[_0x5341ee(0xca)](_0x3e8203,_0x4f43f4){const _0x3d4ecf=_0x5341ee;return napCatCore[_0x3d4ecf(0xd4)][_0x3d4ecf(0xce)]()[_0x3d4ecf(0xf2)](_0x3e8203,_0x4f43f4,![]);}static async['setGroupTitle'](_0x46ff32,_0x411d55,_0x2e2ac5){}static async[_0x5341ee(0xec)](_0x3404ae,_0x356d4e,_0xe31609=undefined,_0x514e00=0x0,_0xd90fcd=0x0){const _0x28e1ba=_0x5341ee,_0x100cfb={'LwXqw':'qun.qq.com','IapoU':function(_0x5ae086,_0x109d31){return _0x5ae086(_0x109d31);}},_0x501f31=(await NTQQUserApi[_0x28e1ba(0xbd)]([_0x100cfb[_0x28e1ba(0xd1)]]))[_0x100cfb[_0x28e1ba(0xd1)]];let _0x1f328b={'text':_0x100cfb['IapoU'](encodeURI,_0x356d4e),'picInfo':_0xe31609,'oldFeedsId':'','pinned':_0x514e00,'confirmRequired':_0xd90fcd};return napCatCore['session'][_0x28e1ba(0xce)]()[_0x28e1ba(0xec)](_0x3404ae,_0x501f31,_0x1f328b);}static async['getGroupRemainAtTimes'](_0x2bb236){const _0x266ba0=_0x5341ee;napCatCore['session']['getGroupService']()[_0x266ba0(0xdc)](_0x2bb236);}static async[_0x5341ee(0xb2)](_0x5a4777,_0x35bb9b){const _0x387a3f=_0x5341ee;return napCatCore[_0x387a3f(0xd4)][_0x387a3f(0xce)]()[_0x387a3f(0xb2)]({'groupCode':_0x5a4777,'sourceType':MemberExtSourceType[_0x387a3f(0xb9)],'beginUin':'0','dataTime':'0','uinList':[_0x35bb9b],'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 +function _0x473e(_0x289dc6,_0x1367d1){const _0xc9325f=_0xc932();return _0x473e=function(_0x473e32,_0x1d8d54){_0x473e32=_0x473e32-0xaa;let _0x5c535c=_0xc9325f[_0x473e32];return _0x5c535c;},_0x473e(_0x289dc6,_0x1367d1);}const _0x54d456=_0x473e;(function(_0x16cb1e,_0x3d8171){const _0x46dea6=_0x473e,_0x520b32=_0x16cb1e();while(!![]){try{const _0x222a33=parseInt(_0x46dea6(0xc4))/0x1+parseInt(_0x46dea6(0xad))/0x2*(parseInt(_0x46dea6(0xdd))/0x3)+-parseInt(_0x46dea6(0xd5))/0x4+-parseInt(_0x46dea6(0xb9))/0x5*(-parseInt(_0x46dea6(0xbb))/0x6)+-parseInt(_0x46dea6(0xe7))/0x7*(parseInt(_0x46dea6(0xda))/0x8)+parseInt(_0x46dea6(0xd8))/0x9+-parseInt(_0x46dea6(0xab))/0xa;if(_0x222a33===_0x3d8171)break;else _0x520b32['push'](_0x520b32['shift']());}catch(_0x5e01c8){_0x520b32['push'](_0x520b32['shift']());}}}(_0xc932,0xaba7b));import{MemberExtSourceType}from'../entities';import{NTQQUserApi,napCatCore}from'@/core';function _0xc932(){const _0x3ad29=['kjqGV','getPSkey','446722PGXcAC','setMemberCard','operateSysNotify','getRichMediaService','modifyMemberRole','getArkJsonGroupShare','groupCode','infos','domainPskeyMap','CreatGroupFileFolder','errMsg','arkJson','groupMemberList_MainWindow','session','uploadGroupBulletinPic','modifyGroupName','type','940792zxTlwM','getGroupRemainAtTimes','getGroups','5576346ksiPxE','CallNormalEvent','192544hVLhiE','kickMember','batchGetGroupFileCount','783tJRdvq','TXChR','DelGroupFileFolder','setMemberRole','NodeIKernelGroupListener/onGroupSingleScreenNotifies','get','deleteGroupFolder','NodeIKernelGroupService/getSingleScreenNotifies','NodeIKernelGroupListener/onGroupListUpdate','TPEFB','259PfzhZD','getMemberExtInfo','banGroup','FLoMI','1614780rtUOgo','getGroupMembers','1130zxGWQT','publishGroupBulletin','setGroupName','获取群成员列表出错,','quitGroup','handleGroupRequest','VCZdN','qun.qq.com','getGroupNotifies','errCode','getGroupService','bPTXs','554650gKXjsp','getGroupRecommendContactArkJson','42MjaEGa','result','group','NodeIKernelGroupService/getGroupRecommendContactArkJson','deleteGroupFile','modifyMemberCardName','DqdLp'];_0xc932=function(){return _0x3ad29;};return _0xc932();}import{NTEventDispatch}from'@/common/utils/EventTask';export class NTQQGroupApi{static async[_0x54d456(0xd7)](_0x21e909=![]){const _0xe9e50b=_0x54d456,_0x38aae1={'RMUTP':'NodeIKernelGroupService/getGroupList'};let [_0x192d32,_0xc6a5b5,_0x16b1ab]=await NTEventDispatch[_0xe9e50b(0xd9)](_0x38aae1['RMUTP'],_0xe9e50b(0xe5),0x1,0x1388,_0x21e909);return _0x16b1ab;}static async['getGroupRecommendContactArkJson'](_0x4332f9){const _0x1cd611=_0x54d456;return napCatCore['session'][_0x1cd611(0xb7)]()[_0x1cd611(0xba)](_0x4332f9);}static async[_0x54d456(0xcd)](_0xbc2406,_0x94ebd3){const _0x1f077f=_0x54d456;return napCatCore[_0x1f077f(0xd1)][_0x1f077f(0xc7)]()['createGroupFolder'](_0xbc2406,_0x94ebd3);}static async['DelGroupFile'](_0x2dcd71,_0x2bf4d8){const _0x51fe0e=_0x54d456;return napCatCore[_0x51fe0e(0xd1)][_0x51fe0e(0xc7)]()[_0x51fe0e(0xbf)](_0x2dcd71,[0x66],_0x2bf4d8);}static async[_0x54d456(0xdf)](_0x4ae4a0,_0x2bd4f4){const _0x11aed8=_0x54d456;return napCatCore[_0x11aed8(0xd1)][_0x11aed8(0xc7)]()[_0x11aed8(0xe3)](_0x4ae4a0,_0x2bd4f4);}static async['getSingleScreenNotifies'](_0x861302){const _0x472e5f=_0x54d456,_0x2f32ef={'FLoMI':_0x472e5f(0xe4),'DqdLp':_0x472e5f(0xe1)};let [_0x1069d0,_0x171f7a,_0x15f2d1,_0xa7c31b]=await NTEventDispatch[_0x472e5f(0xd9)](_0x2f32ef[_0x472e5f(0xaa)],_0x2f32ef[_0x472e5f(0xc1)],0x1,0x1388,![],'',_0x861302);return _0xa7c31b;}static async[_0x54d456(0xac)](_0x2e4058,_0x58c810=0xbb8){const _0x6f65f1=_0x54d456,_0x5aca46={'TPEFB':_0x6f65f1(0xd0),'TXChR':function(_0x13b564,_0x5565b1){return _0x13b564!==_0x5565b1;},'kjqGV':_0x6f65f1(0xb0)},_0x2e92e0=napCatCore[_0x6f65f1(0xd1)][_0x6f65f1(0xb7)](),_0xc0f6a2=_0x2e92e0['createMemberListScene'](_0x2e4058,_0x5aca46[_0x6f65f1(0xe6)]),_0x2542fe=await _0x2e92e0['getNextMemberList'](_0xc0f6a2,undefined,_0x58c810);if(_0x5aca46[_0x6f65f1(0xde)](_0x2542fe[_0x6f65f1(0xb6)],0x0))throw _0x5aca46[_0x6f65f1(0xc2)]+_0x2542fe[_0x6f65f1(0xce)];return _0x2542fe[_0x6f65f1(0xbc)][_0x6f65f1(0xcb)];}static async[_0x54d456(0xb5)](){}static async['GetGroupFileCount'](_0x21657a){const _0x528083=_0x54d456;return napCatCore[_0x528083(0xd1)][_0x528083(0xc7)]()[_0x528083(0xdc)](_0x21657a);}static async['getGroupIgnoreNotifies'](){}static async[_0x54d456(0xc9)](_0x1210e6){const _0x1c1b64=_0x54d456;let _0x48b3ae=await NTEventDispatch['CallNoListenerEvent'](_0x1c1b64(0xbe),0x1388,_0x1210e6);return _0x48b3ae[_0x1c1b64(0xcf)];}static async[_0x54d456(0xd2)](_0x6acc3a,_0xa7da71){const _0x406391=_0x54d456,_0x5cc9db={'VCZdN':_0x406391(0xb4)},_0x548181=(await NTQQUserApi[_0x406391(0xc3)]([_0x5cc9db['VCZdN']]))['domainPskeyMap'][_0x406391(0xe2)](_0x5cc9db[_0x406391(0xb3)]);return napCatCore['session']['getGroupService']()[_0x406391(0xd2)](_0x6acc3a,_0x548181,_0xa7da71);}static async[_0x54d456(0xb2)](_0x205a96,_0x5459ae,_0x13ca64){const _0x26f4cf=_0x54d456,_0x457e5b={'vRUKp':function(_0x3cf861,_0x2eb605){return _0x3cf861||_0x2eb605;}};return napCatCore['session'][_0x26f4cf(0xb7)]()[_0x26f4cf(0xc6)](![],{'operateType':_0x5459ae,'targetMsg':{'seq':_0x205a96['seq'],'type':_0x205a96[_0x26f4cf(0xd4)],'groupCode':_0x205a96[_0x26f4cf(0xbd)][_0x26f4cf(0xca)],'postscript':_0x457e5b['vRUKp'](_0x13ca64,'')}});}static async[_0x54d456(0xb1)](_0x564a50){const _0x3af8fe=_0x54d456;return napCatCore[_0x3af8fe(0xd1)][_0x3af8fe(0xb7)]()[_0x3af8fe(0xb1)](_0x564a50);}static async[_0x54d456(0xdb)](_0x1466c5,_0x110de5,_0x4c2cd8=![],_0x44623e=''){const _0x317024=_0x54d456;return napCatCore[_0x317024(0xd1)]['getGroupService']()['kickMember'](_0x1466c5,_0x110de5,_0x4c2cd8,_0x44623e);}static async['banMember'](_0xa6b7c2,_0x2a3d0e){const _0xc13f0b=_0x54d456;return napCatCore[_0xc13f0b(0xd1)][_0xc13f0b(0xb7)]()['setMemberShutUp'](_0xa6b7c2,_0x2a3d0e);}static async[_0x54d456(0xe9)](_0x6e586a,_0x3b2d14){const _0xb6acdb=_0x54d456;return napCatCore['session'][_0xb6acdb(0xb7)]()['setGroupShutUp'](_0x6e586a,_0x3b2d14);}static async[_0x54d456(0xc5)](_0x3f0716,_0xd6a675,_0x5ba882){const _0x4f3df2=_0x54d456;return napCatCore[_0x4f3df2(0xd1)][_0x4f3df2(0xb7)]()[_0x4f3df2(0xc0)](_0x3f0716,_0xd6a675,_0x5ba882);}static async[_0x54d456(0xe0)](_0x4d1484,_0x3bec52,_0x47c625){const _0x390834=_0x54d456;return napCatCore[_0x390834(0xd1)][_0x390834(0xb7)]()[_0x390834(0xc8)](_0x4d1484,_0x3bec52,_0x47c625);}static async[_0x54d456(0xaf)](_0x1f4341,_0x1c5586){const _0x1edb9a=_0x54d456;return napCatCore[_0x1edb9a(0xd1)][_0x1edb9a(0xb7)]()[_0x1edb9a(0xd3)](_0x1f4341,_0x1c5586,![]);}static async['setGroupTitle'](_0x257d59,_0x5b80b3,_0x289474){}static async[_0x54d456(0xae)](_0x2d9256,_0x21f343,_0x31fa21=undefined,_0x1d5192=0x0,_0x3a572c=0x0){const _0x5345b6=_0x54d456,_0x591a46={'bPTXs':_0x5345b6(0xb4),'KtCmR':function(_0x38d904,_0x1d2cbd){return _0x38d904(_0x1d2cbd);}},_0x1604ba=(await NTQQUserApi[_0x5345b6(0xc3)]([_0x591a46[_0x5345b6(0xb8)]]))[_0x5345b6(0xcc)][_0x5345b6(0xe2)](_0x591a46[_0x5345b6(0xb8)]);let _0x21b5f7={'text':_0x591a46['KtCmR'](encodeURI,_0x21f343),'picInfo':_0x31fa21,'oldFeedsId':'','pinned':_0x1d5192,'confirmRequired':_0x3a572c};return napCatCore[_0x5345b6(0xd1)][_0x5345b6(0xb7)]()[_0x5345b6(0xae)](_0x2d9256,_0x1604ba,_0x21b5f7);}static async[_0x54d456(0xd6)](_0x2757f9){const _0x415064=_0x54d456;napCatCore[_0x415064(0xd1)]['getGroupService']()['getGroupRemainAtTimes'](_0x2757f9);}static async[_0x54d456(0xe8)](_0xbe08b7,_0x3ae289){const _0x188054=_0x54d456;return napCatCore['session']['getGroupService']()[_0x188054(0xe8)]({'groupCode':_0xbe08b7,'sourceType':MemberExtSourceType['TITLETYPE'],'beginUin':'0','dataTime':'0','uinList':[_0x3ae289],'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 df9c9dc4..63dc2d19 100644 --- a/src/core.lib/src/apis/index.js +++ b/src/core.lib/src/apis/index.js @@ -1 +1 @@ -(function(_0x1cbddc,_0x590de3){var _0x68e0d5=_0x4b49,_0x4b8aee=_0x1cbddc();while(!![]){try{var _0x1b5afd=-parseInt(_0x68e0d5(0x1d5))/0x1*(parseInt(_0x68e0d5(0x1d3))/0x2)+parseInt(_0x68e0d5(0x1d4))/0x3+-parseInt(_0x68e0d5(0x1da))/0x4*(parseInt(_0x68e0d5(0x1d8))/0x5)+parseInt(_0x68e0d5(0x1d7))/0x6+parseInt(_0x68e0d5(0x1d9))/0x7+-parseInt(_0x68e0d5(0x1d6))/0x8+parseInt(_0x68e0d5(0x1db))/0x9;if(_0x1b5afd===_0x590de3)break;else _0x4b8aee['push'](_0x4b8aee['shift']());}catch(_0x29807e){_0x4b8aee['push'](_0x4b8aee['shift']());}}}(_0x3215,0x82bea));export*from'./file';function _0x4b49(_0x19865a,_0xdb1188){var _0x3215e1=_0x3215();return _0x4b49=function(_0x4b4913,_0x5acb79){_0x4b4913=_0x4b4913-0x1d3;var _0x5faede=_0x3215e1[_0x4b4913];return _0x5faede;},_0x4b49(_0x19865a,_0xdb1188);}export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';function _0x3215(){var _0x2fbf37=['9408312sGSrEc','26XIJhMD','1626636oMZwGW','71959foJKOd','8126280vfDvrU','3862014hZwPOx','30YqHcLB','7197365bohcMc','515108dpbXXZ'];_0x3215=function(){return _0x2fbf37;};return _0x3215();}export*from'./webapi';export*from'./sign';export*from'./system'; \ No newline at end of file +(function(_0x2502b9,_0x1a84fe){var _0x5085a6=_0x2300,_0x511d0e=_0x2502b9();while(!![]){try{var _0x92c541=-parseInt(_0x5085a6(0x1f0))/0x1+parseInt(_0x5085a6(0x1f3))/0x2+-parseInt(_0x5085a6(0x1ef))/0x3+-parseInt(_0x5085a6(0x1f5))/0x4*(-parseInt(_0x5085a6(0x1f2))/0x5)+parseInt(_0x5085a6(0x1f4))/0x6+parseInt(_0x5085a6(0x1ee))/0x7+-parseInt(_0x5085a6(0x1f1))/0x8;if(_0x92c541===_0x1a84fe)break;else _0x511d0e['push'](_0x511d0e['shift']());}catch(_0x3bdebf){_0x511d0e['push'](_0x511d0e['shift']());}}}(_0x2af6,0x767e5));export*from'./file';export*from'./friend';export*from'./group';function _0x2300(_0x61fc75,_0x270b98){var _0x2af665=_0x2af6();return _0x2300=function(_0x23003f,_0x58b5cd){_0x23003f=_0x23003f-0x1ee;var _0x4a1aba=_0x2af665[_0x23003f];return _0x4a1aba;},_0x2300(_0x61fc75,_0x270b98);}export*from'./msg';function _0x2af6(){var _0x72c704=['1569078OdTSvt','4397106ERwLDY','1027484YRNaCn','3354001iHvXSW','2594163xCPcSG','52278uDIsGZ','10918384tmeXKx','15hcdipO'];_0x2af6=function(){return _0x72c704;};return _0x2af6();}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 a9c2d457..92f3b5f7 100644 --- a/src/core.lib/src/apis/msg.js +++ b/src/core.lib/src/apis/msg.js @@ -1 +1 @@ -function _0x301f(){const _0x27addb=['49bmXhjo','9xCBJOP','arkElement','Jvesn','then','activateChatAndGetHistory','66909mzGgYP','84839sQEUfe','Qjpyk','1608284jUmTCZ','getMsgsBySeqAndCount','oRxRv','multiForwardMsgWithComment','activateChat','onLoginSuccess','bytesData','XSQCC','7177730SkuDSX','hhNNr','getMultiMsg','map','getMsgsIncludeSelf','dVoIM','onMsgInfoListUpdate','delete','转发消息超时','eMLeO','session','881056FAlQvI','bylMR','tkgEj','getMsgsByMsgId','10ttoQQd','setMsgRead','UzOri','sendMsg','find','ZFjhw','cJCVr','177726atGWtN','multiForwardMsg','nick','onGroupFileInfoUpdate','WPYfP','qVpBb','chatType','toString','dgayJ','1756165dgQRjp','发送超时','msgId','peerUid','xhaxu','set','item','getMsgService','forEach','cogQg','setEmojiLike','VzieP','setMsgEmojiLikes','getGroupFileList','ejIaV','REJVJ','forwardMsg','catch','recallMsg'];_0x301f=function(){return _0x27addb;};return _0x301f();}const _0x1efd8e=_0x5759;function _0x5759(_0x347d02,_0x56a437){const _0x301fea=_0x301f();return _0x5759=function(_0x575901,_0x53ef7b){_0x575901=_0x575901-0xd9;let _0x34e487=_0x301fea[_0x575901];return _0x34e487;},_0x5759(_0x347d02,_0x56a437);}(function(_0xcbf1e1,_0x2a986e){const _0x5503a5=_0x5759,_0x12b305=_0xcbf1e1();while(!![]){try{const _0x16b63d=-parseInt(_0x5503a5(0xe0))/0x1*(-parseInt(_0x5503a5(0xf9))/0x2)+-parseInt(_0x5503a5(0xdf))/0x3+-parseInt(_0x5503a5(0xe2))/0x4+-parseInt(_0x5503a5(0x109))/0x5+parseInt(_0x5503a5(0x100))/0x6*(-parseInt(_0x5503a5(0xd9))/0x7)+parseInt(_0x5503a5(0xf5))/0x8+-parseInt(_0x5503a5(0xda))/0x9*(-parseInt(_0x5503a5(0xea))/0xa);if(_0x16b63d===_0x2a986e)break;else _0x12b305['push'](_0x12b305['shift']());}catch(_0x108e2b){_0x12b305['push'](_0x12b305['shift']());}}}(_0x301f,0x41b5a));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[_0x1efd8e(0x103)]=_0x24954c=>{const _0x491278=_0x1efd8e,_0x1bde53={'iYOGW':function(_0x35e0e5,_0xf747ea){return _0x35e0e5(_0xf747ea);}};for(const [_0x1825cd,_0x2dee65]of GroupFileInfoUpdateTasks){_0x1bde53['iYOGW'](_0x2dee65,_0x24954c),GroupFileInfoUpdateTasks[_0x491278(0xf1)](_0x1825cd);}},msgListener['onAddSendMsg']=_0x526c93=>{const _0xac65b3=_0x1efd8e,_0x40d90b={'REJVJ':function(_0x47309f,_0x3d3228){return _0x47309f(_0x3d3228);},'vHLwa':function(_0x4c5232,_0x4c69cf){return _0x4c5232 instanceof _0x4c69cf;}};for(const [_0x101425,_0x4b029d]of sentMsgTasks){_0x40d90b[_0xac65b3(0x118)](_0x4b029d,_0x526c93),sentMsgTasks[_0xac65b3(0xf1)](_0x101425);}if(sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]){const _0x1dd476=sendMessagePool[_0x526c93[_0xac65b3(0x10c)]]?.(_0x526c93);_0x40d90b['vHLwa'](_0x1dd476,Promise)&&_0x1dd476[_0xac65b3(0xdd)]()[_0xac65b3(0x11a)](logError);}},msgListener[_0x1efd8e(0xf0)]=_0x596adf=>{const _0x48413b=_0x1efd8e,_0x31c662={'KiRGl':function(_0x3ac0f2,_0x3f2b64){return _0x3ac0f2(_0x3f2b64);}};_0x596adf[_0x48413b(0x111)](_0x1d20b0=>{const _0x475269=_0x48413b;new Promise((_0x3db1dc,_0x4489e6)=>{const _0x474042=_0x5759;for(const _0x17e63b in sendSuccessCBMap){const _0x488671=sendSuccessCBMap[_0x17e63b],_0x12f8c2=_0x31c662['KiRGl'](_0x488671,_0x1d20b0),_0x567c0e=_0x154f4e=>{_0x154f4e&&delete sendSuccessCBMap[_0x17e63b];};_0x12f8c2 instanceof Promise?_0x12f8c2[_0x474042(0xdd)](_0x567c0e):_0x31c662['KiRGl'](_0x567c0e,_0x12f8c2);}})[_0x475269(0xdd)]()['catch'](log);});},setTimeout(()=>{const _0x2c1e11=_0x1efd8e;napCatCore[_0x2c1e11(0xe7)](()=>{napCatCore['addListener'](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x1efd8e(0x113)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x14ae19=!![]){const _0x1009de=_0x1efd8e,_0x2ff541={'tOmbQ':function(_0x5a7425,_0x404bac){return _0x5a7425>_0x404bac;}};return _0xdd5f75=_0xdd5f75[_0x1009de(0x107)](),napCatCore[_0x1009de(0xf4)][_0x1009de(0x110)]()[_0x1009de(0x115)](_0xbcdcac,_0x502e87,_0xdd5f75,_0x2ff541['tOmbQ'](_0xdd5f75['length'],0x3)?'2':'1',_0x14ae19);}static async[_0x1efd8e(0xec)](_0x5a807c,_0x109cb5,_0x12e25a){const _0x42cf6b=_0x1efd8e;return napCatCore[_0x42cf6b(0xf4)][_0x42cf6b(0x110)]()['getMultiMsg'](_0x5a807c,_0x109cb5,_0x12e25a);}static async[_0x1efd8e(0xf8)](_0x25e254,_0x444c97){const _0x61cbda=_0x1efd8e;return await napCatCore[_0x61cbda(0xf4)]['getMsgService']()['getMsgsByMsgId'](_0x25e254,_0x444c97);}static async['getMsgsBySeqAndCount'](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c){const _0x2f5f12=_0x1efd8e;return await napCatCore[_0x2f5f12(0xf4)][_0x2f5f12(0x110)]()[_0x2f5f12(0xe3)](_0x502abd,_0x4186d4,_0x415a60,_0xa01768,_0x5b5e7c);}static async[_0x1efd8e(0xe6)](_0x12944c){}static async[_0x1efd8e(0xde)](_0x215c4d){}static async[_0x1efd8e(0xfa)](_0x4ad6a9){const _0x55e896=_0x1efd8e;return napCatCore[_0x55e896(0xf4)][_0x55e896(0x110)]()[_0x55e896(0xfa)](_0x4ad6a9);}static async[_0x1efd8e(0x116)](_0x3874e1,_0x409c3d){const _0x7082ed={'Jvesn':'获取群文件列表超时','XSQCC':function(_0xc1507d,_0x560c4c,_0x16d257){return _0xc1507d(_0x560c4c,_0x16d257);}};return new Promise(async(_0x1843c5,_0x528924)=>{const _0x2db4a6=_0x5759,_0x140dc7={'dgayJ':_0x7082ed[_0x2db4a6(0xdc)]};let _0x41ebbc=![];_0x7082ed[_0x2db4a6(0xe9)](setTimeout,()=>{const _0x3a68e5=_0x2db4a6;!_0x41ebbc&&_0x528924(_0x140dc7[_0x3a68e5(0x108)]);},0x1388);const _0x9d667=_0x232078=>{const _0xf2c549=_0x2db4a6;_0x41ebbc=!![],_0x1843c5(_0x232078[_0xf2c549(0x10f)]);};GroupFileInfoUpdateTasks[_0x2db4a6(0x10e)](randomUUID(),_0x9d667),await napCatCore[_0x2db4a6(0xf4)]['getRichMediaService']()[_0x2db4a6(0x116)](_0x3874e1,_0x409c3d);});}static async['getMsgHistory'](_0xb13860,_0x1c98e6,_0x2d449b){const _0x1b9841=_0x1efd8e;return napCatCore[_0x1b9841(0xf4)][_0x1b9841(0x110)]()[_0x1b9841(0xee)](_0xb13860,_0x1c98e6,_0x2d449b,!![]);}static async['fetchRecentContact'](){}static async[_0x1efd8e(0x11b)](_0x1079da,_0x575048){const _0x5b7a57=_0x1efd8e;await napCatCore[_0x5b7a57(0xf4)]['getMsgService']()['recallMsg']({'chatType':_0x1079da[_0x5b7a57(0x106)],'peerUid':_0x1079da['peerUid']},_0x575048);}static async[_0x1efd8e(0xfc)](_0x4a3bd8,_0x40a4c6,_0x357ad8=!![],_0x2e91a9=0x2710){const _0x5d4269=_0x1efd8e,_0x102315={'WPYfP':function(_0x575b1b,_0x262e31){return _0x575b1b>_0x262e31;},'hhNNr':_0x5d4269(0x10a),'xhaxu':function(_0x1cab0a){return _0x1cab0a();},'tkgEj':function(_0xe14d8c,_0x4ff138,_0x1b6b1f){return _0xe14d8c(_0x4ff138,_0x1b6b1f);},'ZFjhw':function(_0x4af5d5){return _0x4af5d5();}},_0x5a32e4=_0x4a3bd8[_0x5d4269(0x10c)];let _0x5141c5=0x0;const _0x51088c=async()=>{const _0x4054d1=_0x5d4269;if(_0x102315[_0x4054d1(0x104)](_0x5141c5,_0x2e91a9))throw _0x102315[_0x4054d1(0xeb)];const _0x221e95=sendMessagePool[_0x4a3bd8[_0x4054d1(0x10c)]];if(_0x221e95)return await sleep(0x1f4),_0x5141c5+=0x1f4,await _0x51088c();else return;};return await _0x102315[_0x5d4269(0xfe)](_0x51088c),new Promise((_0x25224a,_0x4bd4c9)=>{const _0x4fb2e8=_0x5d4269,_0x11a3cb={'qVpBb':function(_0x19bf0c,_0x34a444){return _0x19bf0c(_0x34a444);}};let _0x3eda7f=![],_0x15e179=null;const _0x1019af=_0x102315[_0x4fb2e8(0x10d)](randomUUID);sendSuccessCBMap[_0x1019af]=_0x3e0044=>{const _0x282113=_0x4fb2e8;if(_0x3e0044[_0x282113(0x10b)]===_0x15e179?.[_0x282113(0x10b)]){if(_0x3e0044['sendStatus']===0x2)return delete sendSuccessCBMap[_0x1019af],_0x3eda7f=!![],_0x11a3cb['qVpBb'](_0x25224a,_0x3e0044),!![];return![];}return![];},sendMessagePool[_0x5a32e4]=async _0x3aa644=>{delete sendMessagePool[_0x5a32e4],_0x15e179=_0x3aa644;},_0x102315[_0x4fb2e8(0xf7)](setTimeout,()=>{const _0x37c2d4=_0x4fb2e8;if(_0x3eda7f)return;delete sendMessagePool[_0x5a32e4],delete sendSuccessCBMap[_0x1019af],_0x11a3cb[_0x37c2d4(0x105)](_0x4bd4c9,'发送超时');},_0x2e91a9);const _0xd3d5ee=napCatCore[_0x4fb2e8(0xf4)]['getMsgService']()[_0x4fb2e8(0xfc)]('0',_0x4a3bd8,_0x40a4c6,new Map());});}static async['forwardMsg'](_0x59ca08,_0x5bd764,_0x2b06a9){const _0x1cb0e4=_0x1efd8e;return napCatCore[_0x1cb0e4(0xf4)][_0x1cb0e4(0x110)]()[_0x1cb0e4(0x119)](_0x2b06a9,_0x59ca08,[_0x5bd764],new Map());}static async[_0x1efd8e(0x101)](_0x5b1eba,_0x41925f,_0x98fd84){const _0x55ebaa=_0x1efd8e,_0x5440e1={'UzOri':function(_0x263bee,_0x463754){return _0x263bee(_0x463754);},'htoti':function(_0x16dfa1,_0x144900){return _0x16dfa1!=_0x144900;},'dVoIM':'com.tencent.multimsg','cogQg':function(_0x118b5e,_0x483b1d){return _0x118b5e==_0x483b1d;},'ejIaV':function(_0x8fefa,_0x3a6a63){return _0x8fefa==_0x3a6a63;},'VzieP':function(_0x204d03,_0x3efe46){return _0x204d03(_0x3efe46);},'eMLeO':function(_0x1ad044){return _0x1ad044();}},_0x411f3f=_0x98fd84[_0x55ebaa(0xed)](_0x138dfc=>{const _0xd8d6e1=_0x55ebaa;return{'msgId':_0x138dfc,'senderShowName':selfInfo[_0xd8d6e1(0x102)]};});return new Promise((_0x151df0,_0x7034d7)=>{const _0x25d734=_0x55ebaa,_0x1b5a9d={'cJCVr':function(_0x4c69e9,_0xc9a4fd){return _0x5440e1['htoti'](_0x4c69e9,_0xc9a4fd);},'Qjpyk':_0x5440e1[_0x25d734(0xef)],'bylMR':function(_0x299834,_0x31b4aa){const _0x219f41=_0x25d734;return _0x5440e1[_0x219f41(0x112)](_0x299834,_0x31b4aa);},'oRxRv':function(_0x3eb4df,_0x5d7b21){const _0x4292f3=_0x25d734;return _0x5440e1[_0x4292f3(0x117)](_0x3eb4df,_0x5d7b21);},'vcFhl':function(_0x54b5c0,_0x44386c){const _0x200a49=_0x25d734;return _0x5440e1[_0x200a49(0x114)](_0x54b5c0,_0x44386c);}};let _0x220d54=![];const _0x4606a6=_0x23efe2=>{const _0x30cacc=_0x25d734,_0x10586c=_0x23efe2['elements'][_0x30cacc(0xfd)](_0x2ce77d=>_0x2ce77d[_0x30cacc(0xdb)]);if(!_0x10586c)return;const _0x41f4a5=JSON['parse'](_0x10586c[_0x30cacc(0xdb)][_0x30cacc(0xe8)]);if(_0x1b5a9d[_0x30cacc(0xff)](_0x41f4a5['app'],_0x1b5a9d[_0x30cacc(0xe1)]))return;_0x1b5a9d[_0x30cacc(0xf6)](_0x23efe2['peerUid'],_0x41925f[_0x30cacc(0x10c)])&&_0x1b5a9d[_0x30cacc(0xe4)](_0x23efe2['senderUid'],selfInfo['uid'])&&(_0x220d54=!![],_0x1b5a9d['vcFhl'](_0x151df0,_0x23efe2));};sentMsgTasks[_0x25d734(0x10e)](_0x5440e1[_0x25d734(0xf3)](randomUUID),_0x4606a6),setTimeout(()=>{const _0x3fd20c=_0x25d734;!_0x220d54&&_0x5440e1[_0x3fd20c(0xfb)](_0x7034d7,_0x3fd20c(0xf2));},0x1388),napCatCore[_0x25d734(0xf4)][_0x25d734(0x110)]()[_0x25d734(0xe5)](_0x411f3f,_0x5b1eba,_0x41925f,[],new Map());});}} \ No newline at end of file +const _0x904de2=_0x266b;(function(_0x5b6560,_0x43486b){const _0x29ebb3=_0x266b,_0x264a29=_0x5b6560();while(!![]){try{const _0x53d40b=parseInt(_0x29ebb3(0x1b3))/0x1+-parseInt(_0x29ebb3(0x1cd))/0x2+parseInt(_0x29ebb3(0x1da))/0x3+-parseInt(_0x29ebb3(0x1bf))/0x4*(-parseInt(_0x29ebb3(0x1bc))/0x5)+parseInt(_0x29ebb3(0x1d5))/0x6*(-parseInt(_0x29ebb3(0x1b7))/0x7)+parseInt(_0x29ebb3(0x1c9))/0x8*(parseInt(_0x29ebb3(0x1b1))/0x9)+-parseInt(_0x29ebb3(0x1d6))/0xa;if(_0x53d40b===_0x43486b)break;else _0x264a29['push'](_0x264a29['shift']());}catch(_0x33b07f){_0x264a29['push'](_0x264a29['shift']());}}}(_0x4b8a,0x5417c));import{selfInfo}from'@/core/data';function _0x266b(_0x2647ca,_0x3d9371){const _0x4b8a11=_0x4b8a();return _0x266b=function(_0x266b74,_0x35afac){_0x266b74=_0x266b74-0x19a;let _0x5dd983=_0x4b8a11[_0x266b74];return _0x5dd983;},_0x266b(_0x2647ca,_0x3d9371);}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';function _0x4b8a(){const _0x167473=['forwardMsg','onGroupFileInfoUpdate','146776VWZmAh','VORuw','sendStatus','hrtAf','getMsgsIncludeSelf','762585iXnfDj','recallMsg','ULjXl','8dvstJX','uid','com.tencent.multimsg','CwecE','addListener','getGroupFileList','naCJr','catch','chatType','toString','3847656zIzySn','peerUid','aLPqS','getMsgService','967934ZvmSxv','TDKEq','length','item','multiForwardMsg','sendMsg','KsFod','arkElement','12xaeOkI','10823920SkZCDP','onAddSendMsg','then','delete','1517889ykSSOZ','ZhzoO','siFSF','gWjHj','activateChatAndGetHistory','setEmojiLike','dDCIZ','set','getMsgHistory','senderUid','获取群文件列表超时','kSULh','getMultiMsg','msgId','发送超时','GJidt','转发消息超时','bytesData','lOkxL','nick','JnFFV','map','izJtl','getMsgsBySeqAndCount','setMsgEmojiLikes','find','getMsgsByMsgId','forEach','kkjsC','session','setMsgRead','elements','FBTeq','onMsgInfoListUpdate','9VREshr','YLrMQ','660785ocUhpW','JDtDC'];_0x4b8a=function(){return _0x167473;};return _0x4b8a();}const sendMessagePool={},sendSuccessCBMap={},GroupFileInfoUpdateTasks=new Map(),sentMsgTasks=new Map(),msgListener=new MsgListener();msgListener[_0x904de2(0x1b6)]=_0x374332=>{const _0x65e035=_0x904de2,_0x3c447f={'CwecE':function(_0x54c10e,_0x45b625){return _0x54c10e(_0x45b625);}};for(const [_0x2f5abb,_0x47872b]of GroupFileInfoUpdateTasks){_0x3c447f[_0x65e035(0x1c2)](_0x47872b,_0x374332),GroupFileInfoUpdateTasks[_0x65e035(0x1d9)](_0x2f5abb);}},msgListener[_0x904de2(0x1d7)]=_0x1eed1d=>{const _0x584a6d=_0x904de2,_0x2a38e0={'GgoIm':function(_0x4752e3,_0x16090e){return _0x4752e3(_0x16090e);},'kSULh':function(_0x745ef8,_0x37febc){return _0x745ef8 instanceof _0x37febc;}};for(const [_0x2235a9,_0x1e043a]of sentMsgTasks){_0x2a38e0['GgoIm'](_0x1e043a,_0x1eed1d),sentMsgTasks[_0x584a6d(0x1d9)](_0x2235a9);}if(sendMessagePool[_0x1eed1d[_0x584a6d(0x1ca)]]){const _0x570b41=sendMessagePool[_0x1eed1d[_0x584a6d(0x1ca)]]?.(_0x1eed1d);_0x2a38e0[_0x584a6d(0x19a)](_0x570b41,Promise)&&_0x570b41[_0x584a6d(0x1d8)]()[_0x584a6d(0x1c6)](logError);}},msgListener[_0x904de2(0x1b0)]=_0x19f6fc=>{const _0x30ef21=_0x904de2,_0x4dff27={'naCJr':function(_0x27be07,_0x502ce7){return _0x27be07 instanceof _0x502ce7;},'FBTeq':function(_0x3fb7ab,_0x367a33){return _0x3fb7ab(_0x367a33);}};_0x19f6fc[_0x30ef21(0x1aa)](_0x371f27=>{const _0xa765e=_0x30ef21;new Promise((_0x445fc4,_0x1c1692)=>{const _0x3c5e55=_0x266b;for(const _0x432cd8 in sendSuccessCBMap){const _0x1d812d=sendSuccessCBMap[_0x432cd8],_0x40b406=_0x1d812d(_0x371f27),_0xdcb721=_0x3f6781=>{_0x3f6781&&delete sendSuccessCBMap[_0x432cd8];};_0x4dff27[_0x3c5e55(0x1c5)](_0x40b406,Promise)?_0x40b406[_0x3c5e55(0x1d8)](_0xdcb721):_0x4dff27[_0x3c5e55(0x1af)](_0xdcb721,_0x40b406);}})[_0xa765e(0x1d8)]()[_0xa765e(0x1c6)](log);});},setTimeout(()=>{napCatCore['onLoginSuccess'](()=>{const _0x38eb80=_0x266b;napCatCore[_0x38eb80(0x1c3)](msgListener);});},0x64);export class NTQQMsgApi{static async[_0x904de2(0x1df)](_0x3dc4a9,_0x526d97,_0x4e96ab,_0x4eec25=!![]){const _0x16354b=_0x904de2,_0xab2c3a={'JDtDC':function(_0x3b755d,_0x5d16f8){return _0x3b755d>_0x5d16f8;}};return _0x4e96ab=_0x4e96ab[_0x16354b(0x1c8)](),napCatCore[_0x16354b(0x1ac)][_0x16354b(0x1cc)]()[_0x16354b(0x1a7)](_0x3dc4a9,_0x526d97,_0x4e96ab,_0xab2c3a[_0x16354b(0x1b4)](_0x4e96ab[_0x16354b(0x1cf)],0x3)?'2':'1',_0x4eec25);}static async[_0x904de2(0x19b)](_0x20bc7f,_0x3a5ba7,_0x450f45){const _0x1c77cb=_0x904de2;return napCatCore[_0x1c77cb(0x1ac)]['getMsgService']()[_0x1c77cb(0x19b)](_0x20bc7f,_0x3a5ba7,_0x450f45);}static async[_0x904de2(0x1a9)](_0x45a095,_0x432043){const _0xd7d38a=_0x904de2;return await napCatCore[_0xd7d38a(0x1ac)][_0xd7d38a(0x1cc)]()[_0xd7d38a(0x1a9)](_0x45a095,_0x432043);}static async[_0x904de2(0x1a6)](_0x2d62c6,_0x18619a,_0x2af844,_0x3dd4c0,_0x1d717a){const _0x4df933=_0x904de2;return await napCatCore[_0x4df933(0x1ac)]['getMsgService']()[_0x4df933(0x1a6)](_0x2d62c6,_0x18619a,_0x2af844,_0x3dd4c0,_0x1d717a);}static async['activateChat'](_0x3d9146){}static async[_0x904de2(0x1de)](_0x5156b7){}static async[_0x904de2(0x1ad)](_0x2dd594){const _0x34cfd7=_0x904de2;return napCatCore[_0x34cfd7(0x1ac)]['getMsgService']()[_0x34cfd7(0x1ad)](_0x2dd594);}static async[_0x904de2(0x1c4)](_0x588ddc,_0x5ed4fb){const _0x4d7c34=_0x904de2,_0x1b386e={'BTmbc':function(_0x2ce345,_0x348a89){return _0x2ce345(_0x348a89);},'kkjsC':_0x4d7c34(0x1e4),'KsFod':function(_0x441e7d,_0x567a90){return _0x441e7d(_0x567a90);},'GJidt':function(_0x50809){return _0x50809();}};return new Promise(async(_0x11d45b,_0x9ca292)=>{const _0x2bda4d=_0x4d7c34;let _0x19e7f8=![];setTimeout(()=>{const _0x4f0243=_0x266b;!_0x19e7f8&&_0x1b386e['BTmbc'](_0x9ca292,_0x1b386e[_0x4f0243(0x1ab)]);},0x1388);const _0x16d8cd=_0x4713ca=>{const _0x17e5af=_0x266b;_0x19e7f8=!![],_0x1b386e[_0x17e5af(0x1d3)](_0x11d45b,_0x4713ca[_0x17e5af(0x1d0)]);};GroupFileInfoUpdateTasks[_0x2bda4d(0x1e1)](_0x1b386e[_0x2bda4d(0x19e)](randomUUID),_0x16d8cd),await napCatCore[_0x2bda4d(0x1ac)]['getRichMediaService']()[_0x2bda4d(0x1c4)](_0x588ddc,_0x5ed4fb);});}static async[_0x904de2(0x1e2)](_0x4cf360,_0x9093e4,_0x146aef){const _0x2462fb=_0x904de2;return napCatCore[_0x2462fb(0x1ac)][_0x2462fb(0x1cc)]()[_0x2462fb(0x1bb)](_0x4cf360,_0x9093e4,_0x146aef,!![]);}static async['fetchRecentContact'](){}static async[_0x904de2(0x1bd)](_0x45b3f5,_0x408949){const _0x3726bb=_0x904de2;await napCatCore[_0x3726bb(0x1ac)]['getMsgService']()[_0x3726bb(0x1bd)]({'chatType':_0x45b3f5[_0x3726bb(0x1c7)],'peerUid':_0x45b3f5['peerUid']},_0x408949);}static async[_0x904de2(0x1d2)](_0x4ade0b,_0x41dc81,_0x24c2cc=!![],_0x15cf76=0x2710){const _0x3a8502=_0x904de2,_0x2d2c09={'gWjHj':_0x3a8502(0x19d),'VORuw':function(_0x27e9b6,_0x354df0){return _0x27e9b6(_0x354df0);},'hrtAf':function(_0x27f8db){return _0x27f8db();},'JnFFV':function(_0x39db4f,_0x1174ea){return _0x39db4f(_0x1174ea);},'izJtl':function(_0x2d2065,_0x157527,_0x30cf5e){return _0x2d2065(_0x157527,_0x30cf5e);}},_0x35ead9=_0x4ade0b[_0x3a8502(0x1ca)];let _0x102a7c=0x0;const _0x5ba3ec=async()=>{const _0x5df7a9=_0x3a8502;if(_0x102a7c>_0x15cf76)throw _0x2d2c09[_0x5df7a9(0x1dd)];const _0x5d8e24=sendMessagePool[_0x4ade0b[_0x5df7a9(0x1ca)]];if(_0x5d8e24)return await _0x2d2c09[_0x5df7a9(0x1b8)](sleep,0x1f4),_0x102a7c+=0x1f4,await _0x2d2c09[_0x5df7a9(0x1ba)](_0x5ba3ec);else return;};return await _0x5ba3ec(),new Promise((_0x4dea62,_0xbd3db3)=>{const _0x155839=_0x3a8502,_0x59cf30={'fJOzD':function(_0x37aeb6,_0xa67978){const _0x47a840=_0x266b;return _0x2d2c09[_0x47a840(0x1a3)](_0x37aeb6,_0xa67978);},'TDKEq':_0x2d2c09[_0x155839(0x1dd)]};let _0x33c750=![],_0x2dd766=null;const _0x2bb5b0=_0x2d2c09[_0x155839(0x1ba)](randomUUID);sendSuccessCBMap[_0x2bb5b0]=_0x458631=>{const _0xf4ead5=_0x155839;if(_0x458631[_0xf4ead5(0x19c)]===_0x2dd766?.[_0xf4ead5(0x19c)]){if(_0x458631[_0xf4ead5(0x1b9)]===0x2)return delete sendSuccessCBMap[_0x2bb5b0],_0x33c750=!![],_0x59cf30['fJOzD'](_0x4dea62,_0x458631),!![];return![];}return![];},sendMessagePool[_0x35ead9]=async _0x204724=>{delete sendMessagePool[_0x35ead9],_0x2dd766=_0x204724;},_0x2d2c09[_0x155839(0x1a5)](setTimeout,()=>{const _0xdfb8bc=_0x155839;if(_0x33c750)return;delete sendMessagePool[_0x35ead9],delete sendSuccessCBMap[_0x2bb5b0],_0xbd3db3(_0x59cf30[_0xdfb8bc(0x1ce)]);},_0x15cf76);const _0x2a9f3f=napCatCore[_0x155839(0x1ac)][_0x155839(0x1cc)]()['sendMsg']('0',_0x4ade0b,_0x41dc81,new Map());});}static async[_0x904de2(0x1b5)](_0x25cd06,_0x1bd172,_0x7c2d7a){const _0x347ac7=_0x904de2;return napCatCore[_0x347ac7(0x1ac)][_0x347ac7(0x1cc)]()[_0x347ac7(0x1b5)](_0x7c2d7a,_0x25cd06,[_0x1bd172],new Map());}static async[_0x904de2(0x1d1)](_0x13885e,_0x2ff246,_0x105072){const _0x1b12c8=_0x904de2,_0x57d884={'lOkxL':function(_0x38e747,_0x502200){return _0x38e747!=_0x502200;},'ZhzoO':_0x1b12c8(0x1c1),'aLPqS':function(_0x41e5cf,_0x234bae){return _0x41e5cf==_0x234bae;},'ULjXl':function(_0x140ecc,_0x573cc9){return _0x140ecc(_0x573cc9);},'KxJaR':function(_0x4ac994,_0x5d92be){return _0x4ac994(_0x5d92be);},'siFSF':_0x1b12c8(0x19f),'MuMmx':function(_0x3cb02e){return _0x3cb02e();}},_0x2c399d=_0x105072[_0x1b12c8(0x1a4)](_0x27f700=>{const _0x276bcc=_0x1b12c8;return{'msgId':_0x27f700,'senderShowName':selfInfo[_0x276bcc(0x1a2)]};});return new Promise((_0x59f8ca,_0x310d09)=>{const _0x3cf800=_0x1b12c8,_0x3b67b7={'dDCIZ':function(_0x2633f4,_0xd7bd54){return _0x57d884['KxJaR'](_0x2633f4,_0xd7bd54);},'YLrMQ':_0x57d884[_0x3cf800(0x1dc)]};let _0xc864e9=![];const _0x176af1=_0x12639f=>{const _0x282eb4=_0x3cf800,_0x3292f3=_0x12639f[_0x282eb4(0x1ae)][_0x282eb4(0x1a8)](_0x54d329=>_0x54d329[_0x282eb4(0x1d4)]);if(!_0x3292f3)return;const _0x45235d=JSON['parse'](_0x3292f3['arkElement'][_0x282eb4(0x1a0)]);if(_0x57d884[_0x282eb4(0x1a1)](_0x45235d['app'],_0x57d884[_0x282eb4(0x1db)]))return;_0x57d884[_0x282eb4(0x1cb)](_0x12639f[_0x282eb4(0x1ca)],_0x2ff246[_0x282eb4(0x1ca)])&&_0x12639f[_0x282eb4(0x1e3)]==selfInfo[_0x282eb4(0x1c0)]&&(_0xc864e9=!![],_0x57d884[_0x282eb4(0x1be)](_0x59f8ca,_0x12639f));};sentMsgTasks[_0x3cf800(0x1e1)](_0x57d884['MuMmx'](randomUUID),_0x176af1),setTimeout(()=>{const _0x537395=_0x3cf800;!_0xc864e9&&_0x3b67b7[_0x537395(0x1e0)](_0x310d09,_0x3b67b7[_0x537395(0x1b2)]);},0x1388),napCatCore[_0x3cf800(0x1ac)][_0x3cf800(0x1cc)]()['multiForwardMsgWithComment'](_0x2c399d,_0x13885e,_0x2ff246,[],new Map());});}} \ 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 f31cef14..722bf4e8 100644 --- a/src/core.lib/src/apis/sign.js +++ b/src/core.lib/src/apis/sign.js @@ -1 +1 @@ -(function(_0x49f020,_0x393991){const _0x3d925f=_0x4ecc,_0x5cb184=_0x49f020();while(!![]){try{const _0x47797b=parseInt(_0x3d925f(0x1a2))/0x1+parseInt(_0x3d925f(0x1a7))/0x2*(parseInt(_0x3d925f(0x1a5))/0x3)+parseInt(_0x3d925f(0x19f))/0x4*(parseInt(_0x3d925f(0x1a8))/0x5)+-parseInt(_0x3d925f(0x194))/0x6*(parseInt(_0x3d925f(0x197))/0x7)+-parseInt(_0x3d925f(0x1ad))/0x8*(-parseInt(_0x3d925f(0x1b8))/0x9)+-parseInt(_0x3d925f(0x191))/0xa*(-parseInt(_0x3d925f(0x19e))/0xb)+parseInt(_0x3d925f(0x1a9))/0xc*(-parseInt(_0x3d925f(0x1aa))/0xd);if(_0x47797b===_0x393991)break;else _0x5cb184['push'](_0x5cb184['shift']());}catch(_0xe953f7){_0x5cb184['push'](_0x5cb184['shift']());}}}(_0x38b6,0x4284d));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x38b6(){const _0x4b5a3a=['166415jthWjj','tagIcon','getSkey','75zBpkyA','stringify','15560nOnpiH','5BwxTDn','48JlihVM','4188665RUntkl','cjxRl','oysrS','32TylZAO','p_skey','skey','title','source','CRWcd','normal','com.tencent.miniapp.lua','replace','MiniApp\x20JSON\x20消息生成失败','HttpGetJson','1167633lKOAwM','OFoUq','tag',';\x20skey=','signed_ark','prompt','preview','iKNTe','30YNlHBu','WrExs','miniapp','1851780Rlmlfd','sourcelogo','p_skey=','7VqXrCL','&ark=','jAUqA','GET',';\x20p_uin=o','imnuP','GSLYH','1973059WBcNtP','1807764nWqueD','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','\x5c/\x5c/'];_0x38b6=function(){return _0x4b5a3a;};return _0x38b6();}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';function _0x4ecc(_0x662f63,_0x919f5){const _0x38b6f6=_0x38b6();return _0x4ecc=function(_0x4ecc92,_0x1e15ae){_0x4ecc92=_0x4ecc92-0x18d;let _0x42fe17=_0x38b6f6[_0x4ecc92];return _0x42fe17;},_0x4ecc(_0x662f63,_0x919f5);}export async function SignMiniApp(_0x23d49d){const _0x22860a=_0x4ecc,_0x19ea4d={'vGgCA':'tianxuan.imgJumpArk','ieetQ':_0x22860a(0x193),'GSLYH':'\x5c/\x5c/','OFoUq':function(_0x1b3350,_0x52646a){return _0x1b3350+_0x52646a;},'iKNTe':_0x22860a(0x196),'esDMQ':_0x22860a(0x1bb),'imnuP':_0x22860a(0x19b),'cjxRl':_0x22860a(0x198),'CRWcd':function(_0x96acd7,_0x390307){return _0x96acd7(_0x390307);},'jAUqA':_0x22860a(0x19a),'WrExs':function(_0x4b65b1,_0x177981,_0x2292e1){return _0x4b65b1(_0x177981,_0x2292e1);},'oysrS':_0x22860a(0x1b6)};let _0x5808e6={'app':_0x22860a(0x1b4),'bizsrc':_0x19ea4d['vGgCA'],'view':_0x19ea4d['ieetQ'],'prompt':_0x23d49d[_0x22860a(0x18e)],'config':{'type':_0x22860a(0x1b3),'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x23d49d[_0x22860a(0x1b0)],'preview':_0x23d49d[_0x22860a(0x18f)][_0x22860a(0x1b5)](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'jumpUrl':_0x23d49d['jumpUrl']['replace'](/\\/g,_0x19ea4d[_0x22860a(0x19d)]),'tag':_0x23d49d[_0x22860a(0x1ba)],'tagIcon':_0x23d49d[_0x22860a(0x1a3)][_0x22860a(0x1b5)](/\\/g,_0x22860a(0x1a1)),'source':_0x23d49d[_0x22860a(0x1b1)],'sourcelogo':_0x23d49d[_0x22860a(0x195)]['replace'](/\\/g,_0x22860a(0x1a1))}}};const _0x4ead04=await NTQQUserApi[_0x22860a(0x1a4)]();let _0x64fc90=await NTQQUserApi['getQzoneCookies']();const _0x46c782=WebApi['genBkn'](_0x64fc90[_0x22860a(0x1ae)]),_0x42e9e8=_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d[_0x22860a(0x1b9)](_0x19ea4d['OFoUq'](_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x190)]+_0x64fc90['p_skey']+_0x19ea4d['esDMQ'],_0x64fc90[_0x22860a(0x1af)]),_0x19ea4d[_0x22860a(0x19c)]),selfInfo['uin']),';\x20uin=o'),selfInfo['uin']);let _0x27627e=_0x19ea4d['OFoUq'](_0x19ea4d[_0x22860a(0x1b9)](_0x22860a(0x1a0)+_0x46c782,_0x19ea4d[_0x22860a(0x1ab)]),_0x19ea4d[_0x22860a(0x1b2)](encodeURIComponent,JSON[_0x22860a(0x1a6)](_0x5808e6))),_0x36e4de='';try{let _0x58d599=await RequestUtil[_0x22860a(0x1b7)](_0x27627e,_0x19ea4d[_0x22860a(0x199)],undefined,{'Cookie':_0x42e9e8});_0x36e4de=_0x58d599['data'][_0x22860a(0x18d)];}catch(_0x2ccfbe){_0x19ea4d[_0x22860a(0x192)](logDebug,_0x19ea4d[_0x22860a(0x1ac)],_0x2ccfbe);}return _0x36e4de;} \ No newline at end of file +function _0x477f(){const _0x4fcd67=['252rXePaN','\x5c/\x5c/','preview','56ktLkUY',';\x20skey=','uin','mOfMa','miniapp','tagIcon','signed_ark','com.tencent.miniapp.lua','ZBoiN','IQFae','YmvMo','41694EIzlfL','DRZpu','2686401aZDhFo',';\x20p_uin=o','source',';\x20uin=o','sourcelogo','title','jumpUrl','skey','49705OWAEfN','p_skey=','172755eiuaRG','stringify','spJKs','VeHYd','MiniApp\x20JSON\x20消息生成失败','tag','&ark=','data','nTMqz','jdXxJ','https://h5.qzone.qq.com/v2/vip/tx/trpc/ark-share/GenNewSignedArk?g_tk=','replace','581910JupUhW','p_skey','VmMcq','BgXhr','187320ekXpoA','WlBBZ','1002032xzkhYk'];_0x477f=function(){return _0x4fcd67;};return _0x477f();}(function(_0x2bc87a,_0x1e41aa){const _0x3c1ef9=_0x1ff0,_0x1bd9e0=_0x2bc87a();while(!![]){try{const _0x543351=-parseInt(_0x3c1ef9(0x141))/0x1+-parseInt(_0x3c1ef9(0x120))/0x2+-parseInt(_0x3c1ef9(0x135))/0x3*(parseInt(_0x3c1ef9(0x12a))/0x4)+parseInt(_0x3c1ef9(0x13f))/0x5*(parseInt(_0x3c1ef9(0x127))/0x6)+parseInt(_0x3c1ef9(0x124))/0x7+parseInt(_0x3c1ef9(0x126))/0x8+parseInt(_0x3c1ef9(0x137))/0x9;if(_0x543351===_0x1e41aa)break;else _0x1bd9e0['push'](_0x1bd9e0['shift']());}catch(_0x3d1967){_0x1bd9e0['push'](_0x1bd9e0['shift']());}}}(_0x477f,0x3334f));import{logDebug}from'@/common/utils/log';import{NTQQUserApi}from'./user';function _0x1ff0(_0x4bec11,_0x15bb3b){const _0x477f97=_0x477f();return _0x1ff0=function(_0x1ff038,_0x3fb424){_0x1ff038=_0x1ff038-0x11c;let _0x1ebeb7=_0x477f97[_0x1ff038];return _0x1ebeb7;},_0x1ff0(_0x4bec11,_0x15bb3b);}import{selfInfo}from'../data';import{RequestUtil}from'@/common/utils/request';import{WebApi}from'./webapi';export async function SignMiniApp(_0x586f25){const _0x4e86c2=_0x1ff0,_0x582a22={'DRZpu':_0x4e86c2(0x131),'BgXhr':'tianxuan.imgJumpArk','SebVs':_0x4e86c2(0x12e),'mOfMa':'normal','ZBoiN':_0x4e86c2(0x128),'nTMqz':function(_0x22cf76,_0x59fea2){return _0x22cf76+_0x59fea2;},'jdXxJ':_0x4e86c2(0x12b),'VmMcq':_0x4e86c2(0x138),'YmvMo':_0x4e86c2(0x13a),'spJKs':function(_0x1c44e0,_0x571053){return _0x1c44e0+_0x571053;},'WlBBZ':_0x4e86c2(0x11e),'IQFae':_0x4e86c2(0x147),'VeHYd':'GET','ZOcrU':function(_0x3307f0,_0x1f2a77,_0x393fea){return _0x3307f0(_0x1f2a77,_0x393fea);}};let _0xe7b77e={'app':_0x582a22[_0x4e86c2(0x136)],'bizsrc':_0x582a22[_0x4e86c2(0x123)],'view':_0x582a22['SebVs'],'prompt':_0x586f25['prompt'],'config':{'type':_0x582a22[_0x4e86c2(0x12d)],'forward':0x1,'autosize':0x0},'meta':{'miniapp':{'title':_0x586f25[_0x4e86c2(0x13c)],'preview':_0x586f25[_0x4e86c2(0x129)]['replace'](/\\/g,_0x582a22[_0x4e86c2(0x132)]),'jumpUrl':_0x586f25[_0x4e86c2(0x13d)][_0x4e86c2(0x11f)](/\\/g,_0x582a22['ZBoiN']),'tag':_0x586f25[_0x4e86c2(0x146)],'tagIcon':_0x586f25[_0x4e86c2(0x12f)][_0x4e86c2(0x11f)](/\\/g,_0x4e86c2(0x128)),'source':_0x586f25[_0x4e86c2(0x139)],'sourcelogo':_0x586f25[_0x4e86c2(0x13b)][_0x4e86c2(0x11f)](/\\/g,_0x582a22[_0x4e86c2(0x132)])}}},_0x5e465b=await NTQQUserApi['getQzoneCookies']();const _0x50918d=WebApi['genBkn'](_0x5e465b['p_skey']),_0x24098e=_0x582a22[_0x4e86c2(0x11c)](_0x582a22[_0x4e86c2(0x11c)](_0x582a22[_0x4e86c2(0x11c)](_0x582a22['nTMqz'](_0x582a22[_0x4e86c2(0x11c)](_0x4e86c2(0x140),_0x5e465b[_0x4e86c2(0x121)])+_0x582a22[_0x4e86c2(0x11d)],_0x5e465b[_0x4e86c2(0x13e)]),_0x582a22[_0x4e86c2(0x122)]),selfInfo[_0x4e86c2(0x12c)])+_0x582a22[_0x4e86c2(0x134)],selfInfo['uin']);let _0x4b16dd=_0x582a22[_0x4e86c2(0x143)](_0x582a22[_0x4e86c2(0x125)]+_0x50918d+_0x582a22[_0x4e86c2(0x133)],encodeURIComponent(JSON[_0x4e86c2(0x142)](_0xe7b77e))),_0xfc2b67='';try{let _0x7c28b0=await RequestUtil['HttpGetJson'](_0x4b16dd,_0x582a22[_0x4e86c2(0x144)],undefined,{'Cookie':_0x24098e});_0xfc2b67=_0x7c28b0[_0x4e86c2(0x148)][_0x4e86c2(0x130)];}catch(_0x2e2fdf){_0x582a22['ZOcrU'](logDebug,_0x4e86c2(0x145),_0x2e2fdf);}return _0xfc2b67;} \ No newline at end of file diff --git a/src/core.lib/src/apis/system.d.ts b/src/core.lib/src/apis/system.d.ts index f63b2ee1..4f95c87c 100644 --- a/src/core.lib/src/apis/system.d.ts +++ b/src/core.lib/src/apis/system.d.ts @@ -9,4 +9,5 @@ export declare class NTQQSystemApi { static getArkJsonCollection(cid: string): Promise; + static BootMiniApp(appfile: string, params: string): Promise; } diff --git a/src/core.lib/src/apis/system.js b/src/core.lib/src/apis/system.js index 6b24462e..e71a837b 100644 --- a/src/core.lib/src/apis/system.js +++ b/src/core.lib/src/apis/system.js @@ -1 +1 @@ -const _0x155ab2=_0x5adb;(function(_0x4e21ef,_0x353977){const _0x4d8c45=_0x5adb,_0x13ba08=_0x4e21ef();while(!![]){try{const _0x339059=parseInt(_0x4d8c45(0xe6))/0x1+-parseInt(_0x4d8c45(0xd9))/0x2+-parseInt(_0x4d8c45(0xdf))/0x3*(parseInt(_0x4d8c45(0xe2))/0x4)+parseInt(_0x4d8c45(0xe0))/0x5*(-parseInt(_0x4d8c45(0xe5))/0x6)+-parseInt(_0x4d8c45(0xdd))/0x7*(-parseInt(_0x4d8c45(0xda))/0x8)+parseInt(_0x4d8c45(0xd7))/0x9*(parseInt(_0x4d8c45(0xdb))/0xa)+-parseInt(_0x4d8c45(0xe3))/0xb;if(_0x339059===_0x353977)break;else _0x13ba08['push'](_0x13ba08['shift']());}catch(_0x147c6e){_0x13ba08['push'](_0x13ba08['shift']());}}}(_0x2192,0x4c4f5));function _0x5adb(_0x198b62,_0x42d8b5){const _0x219264=_0x2192();return _0x5adb=function(_0x5adbb7,_0x2db35a){_0x5adbb7=_0x5adbb7-0xd5;let _0x562124=_0x219264[_0x5adbb7];return _0x562124;},_0x5adb(_0x198b62,_0x42d8b5);}import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2192(){const _0x56bb94=['1717662698058','translateEnWordToZn','hasOtherRunningQQProcess','NodeIKernelCollectionService/collectionArkShare','getOnLineDev','2133774IEvQal','getOnlineDev','196420jwxJYN','4675912BlWOZp','10pKvvsp','ORCImage','7zDtmYQ','CallNoListenerEvent','12795COvfuk','1915BEfeFm','wantWinScreenOCR','112XxtCbO','2363141tceIZY','session','6324SBFcMg','327133OwmYjV','getMsgService'];_0x2192=function(){return _0x56bb94;};return _0x2192();}import{napCatCore}from'@/core';export class NTQQSystemApi{static async[_0x155ab2(0xea)](){return napCatCore['util']['hasOtherRunningQQProcess']();}static async[_0x155ab2(0xdc)](_0x2ea266){const _0x31662e=_0x155ab2;return napCatCore[_0x31662e(0xe4)]['getNodeMiscService']()[_0x31662e(0xe1)](_0x2ea266);}static async['translateEnWordToZn'](_0x143393){const _0x30e5b2=_0x155ab2;return napCatCore[_0x30e5b2(0xe4)]['getRichMediaService']()[_0x30e5b2(0xe9)](_0x143393);}static async[_0x155ab2(0xd8)](){const _0x24d884=_0x155ab2;return napCatCore[_0x24d884(0xe4)][_0x24d884(0xe7)]()[_0x24d884(0xd6)]();}static async['getArkJsonCollection'](_0x5eee27){const _0x5ccd30=_0x155ab2,_0x275cd2={'yKNXB':_0x5ccd30(0xd5),'IWKNN':_0x5ccd30(0xe8)};let _0x2d2f7c=await NTEventDispatch[_0x5ccd30(0xde)](_0x275cd2['yKNXB'],0x1388,_0x275cd2['IWKNN']);return _0x2d2f7c;}} \ No newline at end of file +const _0x490294=_0x2c5f;(function(_0x142313,_0xcc3203){const _0x56674a=_0x2c5f,_0x364e51=_0x142313();while(!![]){try{const _0xd2cfd2=parseInt(_0x56674a(0xbc))/0x1*(-parseInt(_0x56674a(0xb2))/0x2)+parseInt(_0x56674a(0xa5))/0x3*(parseInt(_0x56674a(0xb9))/0x4)+-parseInt(_0x56674a(0xac))/0x5+parseInt(_0x56674a(0xa9))/0x6*(-parseInt(_0x56674a(0xa1))/0x7)+-parseInt(_0x56674a(0xb8))/0x8+-parseInt(_0x56674a(0xb5))/0x9+parseInt(_0x56674a(0xa2))/0xa*(parseInt(_0x56674a(0xae))/0xb);if(_0xd2cfd2===_0xcc3203)break;else _0x364e51['push'](_0x364e51['shift']());}catch(_0x44a842){_0x364e51['push'](_0x364e51['shift']());}}}(_0xb42d,0x90580));import{NTEventDispatch}from'@/common/utils/EventTask';function _0x2c5f(_0x35f37e,_0xf18b67){const _0xb42d6=_0xb42d();return _0x2c5f=function(_0x2c5f59,_0x2a5bc9){_0x2c5f59=_0x2c5f59-0xa0;let _0x312b94=_0xb42d6[_0x2c5f59];return _0x312b94;},_0x2c5f(_0x35f37e,_0xf18b67);}import{napCatCore}from'@/core';function _0xb42d(){const _0xcf575e=['4741710SUOgRM','getRichMediaService','CallNoListenerEvent','249015vPcdBO','RPxzd','22mEwXSr','getMiniAppPath','ntmEW','NodeIKernelCollectionService/collectionArkShare','265544xODvRJ','setMiniAppVersion','BootMiniApp','8367507ypArdm','translateEnWordToZn','wantWinScreenOCR','3969048qjUrqj','16CNfmkV','2.16.4','getMsgService','5lJltCm','hasOtherRunningQQProcess','7LFTlxb','14967490vagxgu','util','getNodeMiscService','395652igMIQv','getOnlineDev','log','session'];_0xb42d=function(){return _0xcf575e;};return _0xb42d();}export class NTQQSystemApi{static async[_0x490294(0xa0)](){const _0x3f5bf0=_0x490294;return napCatCore[_0x3f5bf0(0xa3)][_0x3f5bf0(0xa0)]();}static async['ORCImage'](_0x2cce8f){const _0x1ad3ac=_0x490294;return napCatCore['session'][_0x1ad3ac(0xa4)]()[_0x1ad3ac(0xb7)](_0x2cce8f);}static async[_0x490294(0xb6)](_0x21ccb3){const _0x39cf4d=_0x490294;return napCatCore['session'][_0x39cf4d(0xaa)]()[_0x39cf4d(0xb6)](_0x21ccb3);}static async[_0x490294(0xa6)](){const _0x2ff995=_0x490294;return napCatCore[_0x2ff995(0xa8)][_0x2ff995(0xbb)]()['getOnLineDev']();}static async['getArkJsonCollection'](_0x2ef663){const _0x337d3a=_0x490294,_0x57d968={'ntmEW':_0x337d3a(0xb1)};let _0x12e489=await NTEventDispatch[_0x337d3a(0xab)](_0x57d968[_0x337d3a(0xb0)],0x1388,'1717662698058');return _0x12e489;}static async[_0x490294(0xb4)](_0x50b214,_0xf9603e){const _0x1067f4=_0x490294,_0x17ca94={'RPxzd':_0x1067f4(0xba)};await napCatCore[_0x1067f4(0xa8)]['getNodeMiscService']()[_0x1067f4(0xb3)](_0x17ca94[_0x1067f4(0xad)]);let _0x568609=await napCatCore['session']['getNodeMiscService']()[_0x1067f4(0xaf)]();return console[_0x1067f4(0xa7)](_0x568609),napCatCore[_0x1067f4(0xa8)][_0x1067f4(0xa4)]()['startNewMiniApp'](_0x50b214,_0xf9603e);}} \ No newline at end of file diff --git a/src/core.lib/src/apis/user.d.ts b/src/core.lib/src/apis/user.d.ts index 46834278..6fef55dc 100644 --- a/src/core.lib/src/apis/user.d.ts +++ b/src/core.lib/src/apis/user.d.ts @@ -17,15 +17,19 @@ export declare class NTQQUserApi { static getUserInfo(uid: string): Promise; static getUserDetailInfo(uid: string): Promise; static modifySelfProfile(param: ModifyProfileParams): Promise; - static getPSkey(domainList: string[], cached?: boolean): Promise<{ + static getCookies(domain: string): Promise<{ [key: string]: string; }>; + static getPSkey(domainList: string[]): Promise; + }>; static getRobotUinRange(): Promise>; static getQzoneCookies(): Promise<{ [key: string]: string; }>; - static getSkey(cached?: boolean): Promise; + static getSkey(): Promise; static getUidByUin(Uin: string): Promise; static getUinByUid(Uid: string | undefined): Promise; static getUserDetailInfoByUin(Uin: string): Promise; + static forceFetchClientKey(): Promise; } diff --git a/src/core.lib/src/apis/user.js b/src/core.lib/src/apis/user.js index 8205dfee..eeaf9f5f 100644 --- a/src/core.lib/src/apis/user.js +++ b/src/core.lib/src/apis/user.js @@ -1 +1 @@ -const _0x5a6461=_0x5f81;(function(_0x26f270,_0x2b78d1){const _0x27a8c3=_0x5f81,_0x57b6f7=_0x26f270();while(!![]){try{const _0x34e4cd=parseInt(_0x27a8c3(0x14e))/0x1*(-parseInt(_0x27a8c3(0x10a))/0x2)+parseInt(_0x27a8c3(0x144))/0x3+parseInt(_0x27a8c3(0x104))/0x4+parseInt(_0x27a8c3(0x149))/0x5+parseInt(_0x27a8c3(0x142))/0x6*(parseInt(_0x27a8c3(0x11a))/0x7)+parseInt(_0x27a8c3(0x155))/0x8+-parseInt(_0x27a8c3(0xfa))/0x9;if(_0x34e4cd===_0x2b78d1)break;else _0x57b6f7['push'](_0x57b6f7['shift']());}catch(_0x2a36dd){_0x57b6f7['push'](_0x57b6f7['shift']());}}}(_0x4930,0x2315e));import{Credentials,selfInfo}from'@/core/data';import{napCatCore}from'@/core';import{ProfileListener}from'@/core/listeners';import{randomUUID}from'crypto';import{RequestUtil}from'@/common/utils/request';import{logDebug,logError}from'@/common/utils/log';import{NTEventDispatch}from'@/common/utils/EventTask';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0x5a6461(0xf7)]=_0x3e0781=>{const _0x613eb1=_0x5a6461;userInfoCache[_0x3e0781[_0x613eb1(0x131)]]=_0x3e0781,userDetailHandlers[_0x613eb1(0x150)](_0x58b4eb=>_0x58b4eb(_0x3e0781));},setTimeout(()=>{const _0x4024fe=_0x5a6461;napCatCore[_0x4024fe(0x13f)](()=>{const _0x5301e1=_0x4024fe;napCatCore[_0x5301e1(0x153)](profileListener);});},0x64);export class NTQQUserApi{static async[_0x5a6461(0x145)](_0x3bf402){const _0x6a1f7e=_0x5a6461;return napCatCore[_0x6a1f7e(0x10d)][_0x6a1f7e(0x11d)]()[_0x6a1f7e(0x145)](_0x3bf402);}static async[_0x5a6461(0x133)](_0x1d4889,_0x40f3e9,_0x5420b6){const _0x17e117=_0x5a6461;return napCatCore[_0x17e117(0x10d)][_0x17e117(0x151)]()[_0x17e117(0x11b)]({'status':_0x1d4889,'extStatus':_0x40f3e9,'batteryStatus':_0x5420b6});}static async['getBuddyRecommendContactArkJson'](_0x5a6fb5,_0x32eb94=''){const _0x5700f5=_0x5a6461;return napCatCore[_0x5700f5(0x10d)][_0x5700f5(0x14c)]()[_0x5700f5(0x100)](_0x5a6fb5,_0x32eb94);}static async[_0x5a6461(0x126)](_0x330524,_0x4760bf=0x1){const _0x18bc05=_0x5a6461;return napCatCore[_0x18bc05(0x10d)][_0x18bc05(0x140)]()[_0x18bc05(0x12d)]({'friendUid':_0x330524,'sourceId':0x47,'doLikeCount':_0x4760bf,'doLikeTollCount':0x0});}static async[_0x5a6461(0x13e)](_0x4faa3b){const _0x1c6a11=_0x5a6461,_0x1b05ce=await napCatCore[_0x1c6a11(0x10d)]['getProfileService']()[_0x1c6a11(0x124)](_0x4faa3b);return{'result':_0x1b05ce?.['result'],'errMsg':_0x1b05ce?.['errMsg']};}static async['getSelfInfo'](){}static async[_0x5a6461(0xf8)](_0x3337b1){}static async[_0x5a6461(0xf5)](_0x3bb3a9){const _0x59665b=_0x5a6461,_0x5adfcd={'PiNmA':function(_0x527ebf,_0x126e7b){return _0x527ebf(_0x126e7b);},'PINsI':_0x59665b(0x14b),'jJNkT':function(_0x16b9de,_0x59f8fa){return _0x16b9de===_0x59f8fa;},'caUhC':function(_0x92d49f){return _0x92d49f();},'blQIY':function(_0x510a6e,_0x3339f9,_0x4fcd96){return _0x510a6e(_0x3339f9,_0x4fcd96);}},_0x54ce3f=napCatCore['session'][_0x59665b(0x11d)]();return new Promise((_0x967784,_0x342a18)=>{const _0x404f33=_0x59665b,_0x1070f6={'VqMWh':function(_0x1151af,_0x9efe59){return _0x5adfcd['PiNmA'](_0x1151af,_0x9efe59);},'sYvKu':_0x5adfcd[_0x404f33(0x136)],'gFCNn':function(_0x1098d5,_0x1186b9){return _0x5adfcd['jJNkT'](_0x1098d5,_0x1186b9);},'AwoFK':function(_0x3ff0c1,_0x3e8223){return _0x3ff0c1(_0x3e8223);}},_0x2f0601=_0x5adfcd['caUhC'](randomUUID);let _0x5923ed=![],_0x4ffb10=undefined,_0x57a96d=!![];_0x5adfcd['blQIY'](setTimeout,()=>{const _0x38c7e1=_0x404f33;!_0x5923ed&&(_0x4ffb10?_0x1070f6[_0x38c7e1(0x12a)](_0x967784,_0x4ffb10):_0x1070f6[_0x38c7e1(0x12a)](_0x342a18,_0x1070f6['sYvKu'])),userDetailHandlers[_0x38c7e1(0x154)](_0x2f0601);},0x1388),userDetailHandlers[_0x404f33(0x10b)](_0x2f0601,_0x49c7a4=>{const _0x4535b7=_0x404f33;_0x1070f6[_0x4535b7(0x14d)](_0x49c7a4[_0x4535b7(0x131)],_0x3bb3a9)&&(_0x57a96d?(_0x4ffb10=_0x49c7a4,_0x57a96d=![]):(_0x5923ed=!![],_0x1070f6[_0x4535b7(0x111)](_0x967784,_0x49c7a4)));}),_0x54ce3f[_0x404f33(0x118)](_0x3bb3a9,[0x0])[_0x404f33(0xf9)](_0x5ac670=>{});});}static async[_0x5a6461(0x116)](_0x449a6d){const _0xa56316=_0x5a6461;return napCatCore[_0xa56316(0x10d)][_0xa56316(0x11d)]()[_0xa56316(0x105)](_0x449a6d);}static async[_0x5a6461(0xf6)](_0x17c80a,_0x5470d1=!![]){const _0xc31713=_0x5a6461,_0x55ccb1={'FVwlC':function(_0x43303d,_0x39a4c3){return _0x43303d>_0x39a4c3;},'JGkzI':function(_0x4804cf,_0x62f86b){return _0x4804cf-_0x62f86b;},'drzbk':function(_0xee42a1,_0xca726c){return _0xee42a1*_0xca726c;},'kgSew':function(_0x1fe58a,_0x4634fa){return _0x1fe58a===_0x4634fa;},'cuohP':function(_0x3f637b,_0xeaef67,_0xf14a09){return _0x3f637b(_0xeaef67,_0xf14a09);},'PYLKS':_0xc31713(0x129)},_0x35da4f=[],_0x44918f={};for(const _0x114b5d in _0x17c80a){const _0x1714a6=Credentials[_0xc31713(0x12b)][_0xc31713(0x143)](_0x17c80a[_0x114b5d]),_0x303e59=Credentials['PskeyTime']['get'](_0x17c80a[_0x114b5d]);!_0x1714a6||!_0x303e59||_0x55ccb1[_0xc31713(0x156)](_0x55ccb1[_0xc31713(0x119)](Date['now'](),_0x303e59),_0x55ccb1[_0xc31713(0x102)](0x708,0x3e8))||!_0x5470d1?_0x35da4f[_0xc31713(0x110)](_0x17c80a[_0x114b5d]):_0x44918f[_0x17c80a[_0x114b5d]]=_0x1714a6;}let _0x117c7a={'result':0x0,'errMsg':'','domainPskeyMap':new Map()};_0x55ccb1[_0xc31713(0x156)](_0x35da4f['length'],0x0)&&(_0x117c7a=await napCatCore[_0xc31713(0x10d)][_0xc31713(0x148)]()['getPskey'](_0x35da4f,!![]));const _0x20203b=_0x117c7a[_0xc31713(0x125)];for(const _0x48e7c9 of _0x20203b['entries']()){Credentials[_0xc31713(0x12b)]['set'](_0x48e7c9[0x0],_0x48e7c9[0x1]),Credentials[_0xc31713(0x13d)][_0xc31713(0x10b)](_0x48e7c9[0x0],Date[_0xc31713(0x101)]());}const _0x4c87f7=Object[_0xc31713(0x121)](Object[_0xc31713(0x128)](_0x20203b),_0x44918f);if(_0x55ccb1[_0xc31713(0x138)](_0x117c7a[_0xc31713(0xfd)],0x0))return _0x4c87f7;else _0x55ccb1[_0xc31713(0x10c)](logError,_0x55ccb1['PYLKS'],_0x117c7a[_0xc31713(0x115)]);return{};}static async[_0x5a6461(0xfb)](){const _0x1c3f4c=_0x5a6461,_0x87ec04=await napCatCore['session'][_0x1c3f4c(0x135)]()['getRobotUinRange']({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0x87ec04?.[_0x1c3f4c(0x103)]?.[_0x1c3f4c(0x117)];}static async[_0x5a6461(0xfe)](){const _0x7a54a1=_0x5a6461,_0x516562={'sCnyv':function(_0x3e6a9e,_0x3f373d){return _0x3e6a9e+_0x3f373d;},'DIRFX':function(_0x5afd2c,_0x2c7ce1){return _0x5afd2c+_0x2c7ce1;},'mfAuL':_0x7a54a1(0x137),'SxaXr':_0x7a54a1(0x127),'mLizj':_0x7a54a1(0x107),'RopcW':function(_0x3562c3,_0xd1be83,_0xf46f92){return _0x3562c3(_0xd1be83,_0xf46f92);},'QHimw':_0x7a54a1(0x13c)},_0x3337ae=_0x516562[_0x7a54a1(0x13a)](_0x516562[_0x7a54a1(0x13a)](_0x516562['DIRFX'](_0x516562[_0x7a54a1(0x120)](_0x516562[_0x7a54a1(0x120)](_0x516562[_0x7a54a1(0x10e)]+selfInfo[_0x7a54a1(0x146)],_0x7a54a1(0x108)),Credentials['ClientKey']),_0x516562[_0x7a54a1(0x11e)]),selfInfo[_0x7a54a1(0x146)]),_0x516562[_0x7a54a1(0x109)]);let _0x1f90aa={};try{_0x1f90aa=await RequestUtil['HttpsGetCookies'](_0x3337ae);}catch(_0x27dc25){_0x516562[_0x7a54a1(0x10f)](logDebug,_0x516562['QHimw'],_0x27dc25),_0x1f90aa={};}return _0x1f90aa;}static async['getSkey'](_0x3662a0=!![]){const _0x388711=_0x5a6461,_0x52196b={'iVQdq':function(_0x126eae,_0x449a49){return _0x126eae>_0x449a49;},'JdMGR':function(_0x127bce,_0x5e657f){return _0x127bce-_0x5e657f;},'POAGS':function(_0x309e54,_0x4330a9){return _0x309e54*_0x4330a9;},'ypdEm':function(_0x4d2128,_0x150ca1){return _0x4d2128!==_0x150ca1;},'WEdWF':function(_0x490157,_0x9bea30){return _0x490157+_0x9bea30;},'KnXkq':_0x388711(0x137),'ZjDUS':_0x388711(0x108),'IBZQO':_0x388711(0x13b),'twuhJ':'请求获取Skey时失败','VlCGH':_0x388711(0x147)};try{if(Credentials[_0x388711(0x14a)]==0x0||_0x52196b[_0x388711(0x12f)](_0x52196b[_0x388711(0x141)](Date[_0x388711(0x101)](),Credentials[_0x388711(0x14a)]),_0x52196b[_0x388711(0x139)](0x3e8,0xe10))||!_0x3662a0){const _0xa84521=await napCatCore[_0x388711(0x10d)][_0x388711(0x152)]()['forceFetchClientKey']('');if(_0x52196b[_0x388711(0x106)](_0xa84521[_0x388711(0xfd)],0x0))return'';const _0xc93a87=_0xa84521[_0x388711(0x134)],_0x510041=_0xa84521['keyIndex'],_0x2e1fdf=_0x52196b[_0x388711(0x130)](_0x52196b[_0x388711(0x123)]+selfInfo[_0x388711(0x146)]+_0x52196b['ZjDUS']+_0xc93a87,_0x52196b[_0x388711(0x132)])+_0x510041;let _0x3f090a={};try{_0x3f090a=await RequestUtil[_0x388711(0x14f)](_0x2e1fdf);}catch(_0x16bcc6){logDebug(_0x52196b[_0x388711(0x122)],_0x16bcc6),_0x3f090a={};}const _0x935847=_0x3f090a[_0x52196b[_0x388711(0xfc)]];if(!_0x935847)return'';return Credentials[_0x388711(0x12c)]=_0xc93a87,Credentials[_0x388711(0x112)]=_0x510041,Credentials[_0x388711(0x14a)]=Date[_0x388711(0x101)](),Credentials['Skey']=_0x935847,_0x935847;}return Credentials['Skey'];}catch(_0xd739c2){}return undefined;}static async['getUidByUin'](_0x2a6de3){const _0x5c8dd6=_0x5a6461,_0x1d346b={'dfnWn':_0x5c8dd6(0x11f)};let _0x291864=await NTEventDispatch[_0x5c8dd6(0xff)](_0x1d346b[_0x5c8dd6(0x12e)],0x1388,[_0x2a6de3]);return _0x291864['uidInfo'][_0x5c8dd6(0x143)](_0x2a6de3);}static async['getUinByUid'](_0x3fe548){const _0x1ee15d=_0x5a6461;if(!_0x3fe548)return'';let _0x1f824b=await NTEventDispatch[_0x1ee15d(0xff)]('NodeIKernelUixConvertService/getUin',0x1388,[_0x3fe548]);return _0x1f824b[_0x1ee15d(0x11c)][_0x1ee15d(0x143)](_0x3fe548);}static async[_0x5a6461(0x113)](_0x31b0fd){const _0x2ab69e=_0x5a6461,_0x5ba3cf={'lYVZU':_0x2ab69e(0x114)};return NTEventDispatch[_0x2ab69e(0xff)](_0x5ba3cf['lYVZU'],0x1388,_0x31b0fd);}}function _0x5f81(_0x58fed5,_0x59d7cc){const _0x4930f0=_0x4930();return _0x5f81=function(_0x5f815f,_0x437713){_0x5f815f=_0x5f815f-0xf5;let _0x3c2f5a=_0x4930f0[_0x5f815f];return _0x3c2f5a;},_0x5f81(_0x58fed5,_0x59d7cc);}function _0x4930(){const _0x34a62f=['PINsI','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','kgSew','POAGS','sCnyv','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=','请求获取Cookies时失败','PskeyTime','setQQAvatar','onLoginSuccess','getProfileLikeService','JdMGR','1614InJyiq','get','47898BHZlPu','setLongNick','uin','skey','getTipOffService','623600UQdcEI','CreatTime','getUserDetailInfo\x20timeout','getBuddyService','gFCNn','1gysYgO','HttpsGetCookies','forEach','getMsgService','getTicketService','addListener','delete','2108448AYHIjp','FVwlC','getUserDetailInfo','getPSkey','onProfileDetailInfoChanged','getUserInfo','then','1961118zAWwLo','getRobotUinRange','VlCGH','result','getQzoneCookies','CallNoListenerEvent','getBuddyRecommendContactArkJson','now','drzbk','response','322996BDFSHk','modifyDesktopMiniProfile','ypdEm','%2Finfocenter&keyindex=19%27','&clientkey=','mLizj','270430PLSpWv','set','cuohP','session','mfAuL','RopcW','push','AwoFK','KeyIndex','getUserDetailInfoByUin','NodeIKernelProfileService/getUserDetailInfoByUin','errMsg','modifySelfProfile','robotUinRanges','getUserDetailInfoWithBizInfo','JGkzI','308WqPLxh','setStatus','uinInfo','getProfileService','SxaXr','NodeIKernelUixConvertService/getUid','DIRFX','assign','twuhJ','KnXkq','setHeader','domainPskeyMap','like','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','fromEntries','获取Pskey失败','VqMWh','PskeyData','ClientKey','setBuddyProfileLike','dfnWn','iVQdq','WEdWF','uid','IBZQO','setSelfOnlineStatus','clientKey','getRobotService'];_0x4930=function(){return _0x34a62f;};return _0x4930();} \ No newline at end of file +const _0x16554a=_0x2fb1;(function(_0x3933be,_0x5115ea){const _0x286676=_0x2fb1,_0x26d66d=_0x3933be();while(!![]){try{const _0x540bfa=parseInt(_0x286676(0x188))/0x1+parseInt(_0x286676(0x16d))/0x2*(-parseInt(_0x286676(0x1ba))/0x3)+-parseInt(_0x286676(0x1ad))/0x4*(parseInt(_0x286676(0x193))/0x5)+-parseInt(_0x286676(0x1af))/0x6*(parseInt(_0x286676(0x1b5))/0x7)+parseInt(_0x286676(0x1c1))/0x8*(-parseInt(_0x286676(0x190))/0x9)+parseInt(_0x286676(0x178))/0xa+parseInt(_0x286676(0x1c9))/0xb;if(_0x540bfa===_0x5115ea)break;else _0x26d66d['push'](_0x26d66d['shift']());}catch(_0x43d789){_0x26d66d['push'](_0x26d66d['shift']());}}}(_0x2b3e,0x28919));var __decorate=this&&this['__decorate']||function(_0xc205ce,_0x3de706,_0x209977,_0x5c3686){const _0x52aada=_0x2fb1,_0xb36caa={'zLeOM':function(_0x5b47ce,_0x535bbc){return _0x5b47ce<_0x535bbc;},'aLETj':function(_0x34e1b1,_0xd75436){return _0x34e1b1===_0xd75436;},'ZvdAu':function(_0x3842b4,_0x3bbd3e){return _0x3842b4===_0x3bbd3e;},'sTRZu':_0x52aada(0x176),'dnFLo':function(_0x1d4970,_0x14265a){return _0x1d4970-_0x14265a;},'KoeYz':function(_0x492111,_0xf99592){return _0x492111>=_0xf99592;},'bxiYs':function(_0x5c1708,_0xb52218,_0x4693c3,_0x5cd8db){return _0x5c1708(_0xb52218,_0x4693c3,_0x5cd8db);},'dDyEd':function(_0x44d8df,_0x5e7b40,_0x3d1877){return _0x44d8df(_0x5e7b40,_0x3d1877);},'UoZYz':function(_0x5c6d66,_0x5ae11c){return _0x5c6d66>_0x5ae11c;}};var _0x46a327=arguments[_0x52aada(0x183)],_0x94a5d1=_0xb36caa[_0x52aada(0x19c)](_0x46a327,0x3)?_0x3de706:_0xb36caa[_0x52aada(0x1a0)](_0x5c3686,null)?_0x5c3686=Object[_0x52aada(0x1a8)](_0x3de706,_0x209977):_0x5c3686,_0x2dd218;if(_0xb36caa[_0x52aada(0x180)](typeof Reflect,_0xb36caa[_0x52aada(0x17a)])&&_0xb36caa[_0x52aada(0x180)](typeof Reflect[_0x52aada(0x187)],_0x52aada(0x19a)))_0x94a5d1=Reflect[_0x52aada(0x187)](_0xc205ce,_0x3de706,_0x209977,_0x5c3686);else{for(var _0x49bb2d=_0xb36caa[_0x52aada(0x182)](_0xc205ce['length'],0x1);_0xb36caa[_0x52aada(0x18b)](_0x49bb2d,0x0);_0x49bb2d--)if(_0x2dd218=_0xc205ce[_0x49bb2d])_0x94a5d1=(_0xb36caa[_0x52aada(0x19c)](_0x46a327,0x3)?_0x2dd218(_0x94a5d1):_0x46a327>0x3?_0xb36caa[_0x52aada(0x18f)](_0x2dd218,_0x3de706,_0x209977,_0x94a5d1):_0xb36caa[_0x52aada(0x17e)](_0x2dd218,_0x3de706,_0x209977))||_0x94a5d1;}return _0xb36caa[_0x52aada(0x181)](_0x46a327,0x3)&&_0x94a5d1&&Object['defineProperty'](_0x3de706,_0x209977,_0x94a5d1),_0x94a5d1;};function _0x2fb1(_0x350b95,_0x4d8167){const _0x2b3e7f=_0x2b3e();return _0x2fb1=function(_0x2fb107,_0xbaf04e){_0x2fb107=_0x2fb107-0x16a;let _0x503977=_0x2b3e7f[_0x2fb107];return _0x503977;},_0x2fb1(_0x350b95,_0x4d8167);}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';const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();function _0x2b3e(){const _0x2e0ef5=['getPskey','iBxXQ','LkoGt','object','getRobotUinRange','1853750XzGjcj','ThLwz','sTRZu','set','hNCyQ','NodeIKernelProfileService/getUserDetailInfoByUin','dDyEd','&u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=19%27','ZvdAu','UoZYz','dnFLo','length','skey','rcxIf','setSelfOnlineStatus','decorate','308063jHpSBk','&clientkey=','setBuddyProfileLike','KoeYz','result','%2F','getMsgService','bxiYs','2129526UmgKAf','uinInfo','&u1=https%3A%2F%2Fuser.qzone.qq.com%2F','188690VVNFjr','GEsYr','getUserDetailInfoWithBizInfo','forEach','uid','getUserDetailInfo\x20timeout','get','function','VlfzH','zLeOM','getTipOffService','请求获取Cookies时失败','setStatus','aLETj','getPSkey','getUidByUin','eklBL','jMcJr','getProfileService','onLoginSuccess','errMsg','getOwnPropertyDescriptor','ClientKey','keyIndex','ocTvQ','getQzoneCookies','28stlnOV','getBuddyRecommendContactArkJson','378078fCxeLD','LZEnp','session','like','vIbMb','uidInfo','14cdyETr','robotUinRanges','%2Finfocenter&keyindex=19%27','KdtjE','HttpsGetCookies','303357wSpmtd','uin','getTicketService','TiZOb','getCookies','delete','addListener','8XEWWfB','forceFetchClientKey','getUserDetailInfo','hNYfB','FNBDB','MWmOy','getSelfInfo','bgAeT','5519525uNziRV','https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','CallNoListenerEvent','请求获取Skey时失败','clientKey','4umqLTC','then','getSkey','tiyJe','KYpRr','setQQAvatar'];_0x2b3e=function(){return _0x2e0ef5;};return _0x2b3e();}profileListener['onProfileDetailInfoChanged']=_0xa93e2d=>{const _0x34440a=_0x2fb1;userInfoCache[_0xa93e2d[_0x34440a(0x197)]]=_0xa93e2d,userDetailHandlers[_0x34440a(0x196)](_0x29d9af=>_0x29d9af(_0xa93e2d));},setTimeout(()=>{const _0x32ed34=_0x2fb1;napCatCore[_0x32ed34(0x1a6)](()=>{const _0x13370d=_0x32ed34;napCatCore[_0x13370d(0x1c0)](profileListener);});},0x64);export class NTQQUserApi{static async['setLongNick'](_0x10510d){const _0x12caf0=_0x2fb1;return napCatCore[_0x12caf0(0x1b1)][_0x12caf0(0x1a5)]()['setLongNick'](_0x10510d);}static async[_0x16554a(0x186)](_0x3c7d7d,_0x445df8,_0x386930){const _0x5ea882=_0x16554a;return napCatCore[_0x5ea882(0x1b1)][_0x5ea882(0x18e)]()[_0x5ea882(0x19f)]({'status':_0x3c7d7d,'extStatus':_0x445df8,'batteryStatus':_0x386930});}static async[_0x16554a(0x1ae)](_0x27d34c,_0x2e9dd5=''){const _0xd10e03=_0x16554a;return napCatCore[_0xd10e03(0x1b1)]['getBuddyService']()[_0xd10e03(0x1ae)](_0x27d34c,_0x2e9dd5);}static async[_0x16554a(0x1b2)](_0x13ab1a,_0xcd1723=0x1){const _0x51a029=_0x16554a;return napCatCore['session']['getProfileLikeService']()[_0x51a029(0x18a)]({'friendUid':_0x13ab1a,'sourceId':0x47,'doLikeCount':_0xcd1723,'doLikeTollCount':0x0});}static async[_0x16554a(0x172)](_0x273fe8){const _0x1dd838=_0x16554a,_0x46ab22=await napCatCore[_0x1dd838(0x1b1)][_0x1dd838(0x1a5)]()['setHeader'](_0x273fe8);return{'result':_0x46ab22?.[_0x1dd838(0x18c)],'errMsg':_0x46ab22?.[_0x1dd838(0x1a7)]};}static async[_0x16554a(0x1c7)](){}static async['getUserInfo'](_0x2c1689){}static async[_0x16554a(0x1c3)](_0x1ac3c1){const _0x2cb542=_0x16554a,_0xc87ec3={'jMcJr':function(_0x3cd6ee,_0x529256){return _0x3cd6ee(_0x529256);},'eklBL':function(_0x6f26d1,_0x216200){return _0x6f26d1(_0x216200);},'VlfzH':function(_0x66b14){return _0x66b14();}},_0x3260e1=napCatCore[_0x2cb542(0x1b1)]['getProfileService']();return new Promise((_0x448854,_0x212250)=>{const _0x252bc3=_0x2cb542,_0x2eb97c={'vIbMb':function(_0x157c99,_0x35fef7){const _0x15a8e5=_0x2fb1;return _0xc87ec3[_0x15a8e5(0x1a3)](_0x157c99,_0x35fef7);}},_0x1ea829=_0xc87ec3[_0x252bc3(0x19b)](randomUUID);let _0x1799fb=![],_0x184429=undefined,_0x2b37b4=!![];setTimeout(()=>{const _0xc999b0=_0x252bc3;!_0x1799fb&&(_0x184429?_0xc87ec3[_0xc999b0(0x1a4)](_0x448854,_0x184429):_0xc87ec3[_0xc999b0(0x1a4)](_0x212250,_0xc999b0(0x198))),userDetailHandlers[_0xc999b0(0x1bf)](_0x1ea829);},0x1388),userDetailHandlers[_0x252bc3(0x17b)](_0x1ea829,_0x11262f=>{const _0x197d96=_0x252bc3;_0x11262f[_0x197d96(0x197)]===_0x1ac3c1&&(_0x2b37b4?(_0x184429=_0x11262f,_0x2b37b4=![]):(_0x1799fb=!![],_0x2eb97c[_0x197d96(0x1b3)](_0x448854,_0x11262f)));}),_0x3260e1[_0x252bc3(0x195)](_0x1ac3c1,[0x0])[_0x252bc3(0x16e)](_0x53c29e=>{});});}static async['modifySelfProfile'](_0xecbfdb){const _0x3d172f=_0x16554a;return napCatCore[_0x3d172f(0x1b1)][_0x3d172f(0x1a5)]()['modifyDesktopMiniProfile'](_0xecbfdb);}static async[_0x16554a(0x1be)](_0x2a0c69){const _0x551dd3=_0x16554a,_0x47eab7={'LkoGt':function(_0x4d9d7c,_0x179f5d){return _0x4d9d7c+_0x179f5d;},'KdtjE':function(_0x144ea5,_0x1d754d){return _0x144ea5+_0x1d754d;},'ThLwz':function(_0xfd585,_0x18574f){return _0xfd585+_0x18574f;},'njOUj':_0x551dd3(0x1ca),'FNBDB':_0x551dd3(0x189),'VendX':'&u1=https%3A%2F%2F','iBxXQ':_0x551dd3(0x18d),'ocTvQ':function(_0x99a2ad,_0x2adb08,_0x5e624f){return _0x99a2ad(_0x2adb08,_0x5e624f);},'tdQge':_0x551dd3(0x19e)},_0x2ab8e7=await NTQQUserApi[_0x551dd3(0x1c2)](),_0x231dd0=_0x47eab7[_0x551dd3(0x175)](_0x47eab7[_0x551dd3(0x175)](_0x47eab7[_0x551dd3(0x1b8)](_0x47eab7[_0x551dd3(0x179)](_0x47eab7['LkoGt'](_0x47eab7['KdtjE'](_0x47eab7['njOUj'],selfInfo[_0x551dd3(0x1bb)]),_0x47eab7[_0x551dd3(0x1c5)]),_0x2ab8e7['clientKey']),_0x47eab7['VendX'])+_0x2a0c69,_0x47eab7[_0x551dd3(0x174)])+selfInfo[_0x551dd3(0x1bb)],_0x551dd3(0x1b7));let _0x132535={};try{_0x132535=await RequestUtil['HttpsGetCookies'](_0x231dd0);}catch(_0x1272a5){_0x47eab7[_0x551dd3(0x1ab)](logDebug,_0x47eab7['tdQge'],_0x1272a5),_0x132535={};}return _0x132535;}static async[_0x16554a(0x1a1)](_0x55c675){const _0x25b32d=_0x16554a;return await napCatCore[_0x25b32d(0x1b1)][_0x25b32d(0x19d)]()[_0x25b32d(0x173)](_0x55c675,!![]);}static async[_0x16554a(0x177)](){const _0x5e5c58=_0x16554a,_0xb3200c=await napCatCore['session']['getRobotService']()[_0x5e5c58(0x177)]({'justFetchMsgConfig':'1','type':0x1,'version':0x0,'aioKeywordVersion':0x0});return _0xb3200c?.['response']?.[_0x5e5c58(0x1b6)];}static async[_0x16554a(0x1ac)](){const _0x551ea8=_0x16554a,_0x4c59ad={'jomzI':function(_0x583a6f,_0x2026dd){return _0x583a6f+_0x2026dd;},'GEsYr':function(_0x3dfe86,_0x15f564){return _0x3dfe86+_0x15f564;},'hNYfB':'https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=','bgAeT':'&clientkey=','uQlRt':_0x551ea8(0x192),'TiZOb':_0x551ea8(0x1b7),'MWmOy':function(_0x41edbf,_0x10cb54,_0x4d0fe5){return _0x41edbf(_0x10cb54,_0x4d0fe5);},'KYpRr':_0x551ea8(0x19e)},_0x57fd49=await NTQQUserApi[_0x551ea8(0x1c2)](),_0x20937b=_0x4c59ad['jomzI'](_0x4c59ad['jomzI'](_0x4c59ad[_0x551ea8(0x194)](_0x4c59ad[_0x551ea8(0x194)](_0x4c59ad[_0x551ea8(0x1c4)]+selfInfo['uin']+_0x4c59ad[_0x551ea8(0x1c8)],_0x57fd49[_0x551ea8(0x16c)]),_0x4c59ad['uQlRt']),selfInfo['uin']),_0x4c59ad[_0x551ea8(0x1bd)]);let _0x3ffb10={};try{_0x3ffb10=await RequestUtil[_0x551ea8(0x1b9)](_0x20937b);}catch(_0x6ae46){_0x4c59ad[_0x551ea8(0x1c6)](logDebug,_0x4c59ad[_0x551ea8(0x171)],_0x6ae46),_0x3ffb10={};}return _0x3ffb10;}static async[_0x16554a(0x16f)](){const _0x1b7311=_0x16554a,_0x33d0ca={'tiyJe':function(_0x428606,_0x5ea03a){return _0x428606!==_0x5ea03a;},'KZaUv':function(_0x5721ef,_0x4631e8){return _0x5721ef+_0x4631e8;},'rcxIf':function(_0x355c31,_0x462718){return _0x355c31+_0x462718;},'DoUEQ':_0x1b7311(0x189),'hNCyQ':_0x1b7311(0x17f),'pVDnt':function(_0x123d51,_0x90cd73,_0x5802e7){return _0x123d51(_0x90cd73,_0x5802e7);},'JwIRH':_0x1b7311(0x16b)};try{const _0x30acf3=await NTQQUserApi[_0x1b7311(0x1c2)]();if(_0x33d0ca[_0x1b7311(0x170)](_0x30acf3[_0x1b7311(0x18c)],0x0))return'';const _0x4f19c1=_0x30acf3[_0x1b7311(0x16c)],_0x587131=_0x30acf3[_0x1b7311(0x1aa)],_0x3f694a=_0x33d0ca['KZaUv'](_0x33d0ca[_0x1b7311(0x185)](_0x1b7311(0x1ca)+selfInfo[_0x1b7311(0x1bb)]+_0x33d0ca['DoUEQ'],_0x4f19c1),_0x33d0ca[_0x1b7311(0x17c)]);let _0x315024={};try{_0x315024=await RequestUtil[_0x1b7311(0x1b9)](_0x3f694a);}catch(_0x438378){_0x33d0ca['pVDnt'](logDebug,_0x33d0ca['JwIRH'],_0x438378),_0x315024={};}const _0x45d693=_0x315024[_0x1b7311(0x184)];if(!_0x45d693)return'';return _0x45d693;}catch(_0x20d24b){}return undefined;}static async[_0x16554a(0x1a2)](_0x5caa77){const _0x4d67f2=_0x16554a;let _0x569436=await NTEventDispatch[_0x4d67f2(0x16a)]('NodeIKernelUixConvertService/getUid',0x1388,[_0x5caa77]);return _0x569436[_0x4d67f2(0x1b4)][_0x4d67f2(0x199)](_0x5caa77);}static async['getUinByUid'](_0x1dfd4d){const _0x57d8f4=_0x16554a,_0x2da660={'LZEnp':'NodeIKernelUixConvertService/getUin'};if(!_0x1dfd4d)return'';let _0x1314f0=await NTEventDispatch[_0x57d8f4(0x16a)](_0x2da660[_0x57d8f4(0x1b0)],0x1388,[_0x1dfd4d]);return _0x1314f0[_0x57d8f4(0x191)][_0x57d8f4(0x199)](_0x1dfd4d);}static async['getUserDetailInfoByUin'](_0x34876b){const _0x3d9773=_0x16554a,_0x2c618e={'VHOkK':_0x3d9773(0x17d)};return NTEventDispatch['CallNoListenerEvent'](_0x2c618e['VHOkK'],0x1388,_0x34876b);}static async[_0x16554a(0x1c2)](){const _0x9c343=_0x16554a;return await napCatCore[_0x9c343(0x1b1)][_0x9c343(0x1bc)]()[_0x9c343(0x1c2)]('');}}__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x16554a(0x1a1),null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,'getQzoneCookies',null),__decorate([CacheClassFuncAsync(0x708*0x3e8)],NTQQUserApi,_0x16554a(0x16f),null),__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x16554a(0x1a9))],NTQQUserApi,'forceFetchClientKey',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 3bb784b2..f0653fe8 100644 --- a/src/core.lib/src/apis/webapi.js +++ b/src/core.lib/src/apis/webapi.js @@ -1 +1 @@ -const _0x26b2df=_0x30cf;function _0x8639(){const _0x41d1ff=['HhOrB','ceil','TALKACTIVE','850461NugNOu','mATxr','3GVWmRp','zgtLl','获取当前群荣耀失败','HttpGetText','5fQTSeh','QibzU','emotion','Qvdpd','Plqao','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','THCbP','HttpGetJson','strong_newbie','XCaDK','GET','&type=','push','Jyksm','OqQLR','xijYz','genBkn','toString','&page_limit=20','GroupData','VLurz','STORONGE_NEWBI','VELeQ','oajrP','trim','FELwN','EMOTION','talkative','TaMwe','owFFf','performer_list','ALL','KlYaN','hlOeE','ITwCF','qun.qq.com','getGroupEssenceMsg','description','all','DeUja','3|4|2|5|1|0','yXDXa','errcode','actorList','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','JXwKT','qMQtY','3323610rZYYFx','&sort=1&gc=','XrSsA','nEKuP','AWsYq','bDZEk','aMoxX','iBMaf','aJdGq','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=','IXWzR','&bkn=','p_skey=','xGoJs','gbmIY','zsyVm','20175694BoWEhB','smogj','tOHVB','FKMCb','&text=','ZeTpY','koROm','strong_newbie_list','mQDWM','&qid=','aAgJX','count','current_talkative','get','获取龙王信息失败','mems','FGUos','split','parse','avatar','VwWEz','sXRcG','rIuoT','KIcQH','7273089PTrDoX','BByqB','talkative_list','IaDQR','https://qun.qq.com/interactive/honorlist?gc=','545834ixVatY','IauEk','match','setGroupNotice','JKJFv','name','qFdMA','nmdLI','now','qid=','ytwiQ','&group_code=','GroupTime','获取快乐源泉失败','set','ispZP','performer','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','pUNyj','XeavN','TKYAK','uin','SNOrs','4592vgcwgf','vStVT',';\x20skey=','获取群聊炽焰失败','&end=','1731468ewEoZq','获取群聊之火失败','RWcUH','KoHzD',';\x20p_uin=o','4TFbWhQ','emotion_list','legend','&page_start=',';\x20uin=o','POST','yutqB','getPSkey','BfbqH','legend_list','talkativeList','GSiHB','getSkey','vmXZq','FSPMd','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','PERFROMER','Qmmtc','4704QGrMrp','QVkEH','desc','Arjxx','bsWMi','XKEfw','GkcZq','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','pZmFR','pmgrV'];_0x8639=function(){return _0x41d1ff;};return _0x8639();}(function(_0x2fc837,_0x567c02){const _0x249444=_0x30cf,_0x4bfb23=_0x2fc837();while(!![]){try{const _0xc21705=-parseInt(_0x249444(0x1fb))/0x1*(-parseInt(_0x249444(0x1b9))/0x2)+parseInt(_0x249444(0x1f9))/0x3*(-parseInt(_0x249444(0x1da))/0x4)+-parseInt(_0x249444(0x1ff))/0x5*(-parseInt(_0x249444(0x1d5))/0x6)+-parseInt(_0x249444(0x1ec))/0x7*(-parseInt(_0x249444(0x1d0))/0x8)+parseInt(_0x249444(0x1b4))/0x9+parseInt(_0x249444(0x18c))/0xa+-parseInt(_0x249444(0x19c))/0xb;if(_0xc21705===_0x567c02)break;else _0x4bfb23['push'](_0x4bfb23['shift']());}catch(_0xe2de50){_0x4bfb23['push'](_0x4bfb23['shift']());}}}(_0x8639,0x7df3a));import{WebGroupData,selfInfo}from'@/core/data';import{logDebug}from'@/common/utils/log';function _0x30cf(_0x302469,_0x325f03){const _0x8639da=_0x8639();return _0x30cf=function(_0x30cff1,_0x19bb89){_0x30cff1=_0x30cff1-0x172;let _0x2ca46e=_0x8639da[_0x30cff1];return _0x2ca46e;},_0x30cf(_0x302469,_0x325f03);}import{NTQQUserApi}from'./user';import{RequestUtil}from'@/common/utils/request';export var WebHonorType;(function(_0x4e1b2b){const _0xb355c2=_0x30cf,_0x34b02f={'QibzU':'EMOTION','YjJYJ':_0xb355c2(0x172),'nmdLI':'PERFROMER','Jyksm':_0xb355c2(0x1c9),'TaMwe':_0xb355c2(0x17c),'BByqB':_0xb355c2(0x183),'SNOrs':_0xb355c2(0x1f8),'zsyVm':'LEGEND','FKMCb':_0xb355c2(0x1dc)},_0x1ccb9f=_0xb355c2(0x185)[_0xb355c2(0x1ad)]('|');let _0x95d766=0x0;while(!![]){switch(_0x1ccb9f[_0x95d766++]){case'0':_0x4e1b2b[_0x34b02f[_0xb355c2(0x200)]]=_0xb355c2(0x201);continue;case'1':_0x4e1b2b[_0x34b02f['YjJYJ']]=_0xb355c2(0x207);continue;case'2':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1c0)]]=_0x34b02f[_0xb355c2(0x20c)];continue;case'3':_0x4e1b2b[_0x34b02f[_0xb355c2(0x179)]]=_0x34b02f[_0xb355c2(0x1b5)];continue;case'4':_0x4e1b2b[_0x34b02f[_0xb355c2(0x1cf)]]=_0xb355c2(0x178);continue;case'5':_0x4e1b2b[_0x34b02f[_0xb355c2(0x19b)]]=_0x34b02f[_0xb355c2(0x19f)];continue;}break;}}(WebHonorType||(WebHonorType={})));export class WebApi{static async[_0x26b2df(0x181)](_0x37fbee,_0x5ab9ca){const _0x2a8fea=_0x26b2df,_0x3c0688={'AWsYq':_0x2a8fea(0x180),'QVkEH':function(_0x5e5ed1,_0x29433b){return _0x5e5ed1+_0x29433b;},'VLurz':function(_0x59c336,_0x22de03){return _0x59c336+_0x22de03;},'VDikb':function(_0x229538,_0x3e8787){return _0x229538+_0x3e8787;},'IauEk':'p_skey=','rdFyu':_0x2a8fea(0x1d2),'aAgJX':function(_0x358cff,_0x6ff29b){return _0x358cff||_0x6ff29b;},'xGoJs':function(_0x5e73ed,_0x56d1ee){return _0x5e73ed+_0x56d1ee;},'oroxq':function(_0x19679a,_0x2f3164){return _0x19679a+_0x2f3164;},'HhOrB':function(_0x7c5956,_0x526053){return _0x7c5956+_0x526053;},'Plqao':function(_0xc06dc9,_0x57482f){return _0xc06dc9+_0x57482f;},'XKEfw':_0x2a8fea(0x1dd),'FGUos':_0x2a8fea(0x211),'UyuBS':_0x2a8fea(0x209),'Arjxx':function(_0x2332f8,_0x17b352){return _0x2332f8!==_0x17b352;}},_0x24a355=(await NTQQUserApi['getPSkey']([_0x3c0688[_0x2a8fea(0x190)]]))[_0x3c0688[_0x2a8fea(0x190)]],_0x48e72c=await NTQQUserApi['getSkey'](),_0x3bb505=_0x3c0688[_0x2a8fea(0x1ed)](_0x3c0688[_0x2a8fea(0x1ed)](_0x3c0688[_0x2a8fea(0x213)](_0x3c0688['VDikb'](_0x3c0688[_0x2a8fea(0x1ba)],_0x24a355)+_0x3c0688['rdFyu'],_0x48e72c)+_0x2a8fea(0x1d9),selfInfo[_0x2a8fea(0x1ce)])+_0x2a8fea(0x1de),selfInfo[_0x2a8fea(0x1ce)]);if(_0x3c0688[_0x2a8fea(0x1a6)](!_0x48e72c,!_0x24a355))return undefined;const _0x356e96=WebApi[_0x2a8fea(0x20f)](_0x48e72c),_0x4b0c8e=_0x3c0688[_0x2a8fea(0x199)](_0x3c0688['oroxq'](_0x3c0688[_0x2a8fea(0x1f6)](_0x3c0688['oroxq'](_0x3c0688[_0x2a8fea(0x203)](_0x2a8fea(0x204),_0x356e96),_0x2a8fea(0x1c4)),_0x37fbee),_0x3c0688[_0x2a8fea(0x1f1)]),_0x5ab9ca)+_0x3c0688[_0x2a8fea(0x1ac)];let _0x10b32e;try{_0x10b32e=await RequestUtil['HttpGetJson'](_0x4b0c8e,_0x3c0688['UyuBS'],'',{'Cookie':_0x3bb505});}catch{return undefined;}if(_0x3c0688[_0x2a8fea(0x1ef)](_0x10b32e['retcode'],0x0))return undefined;return _0x10b32e;}static async['getGroupMembers'](_0x374e90,_0x408bed=!![]){const _0x10bfcb=_0x26b2df,_0x1098fc={'yXDXa':function(_0x95f5eb,_0x27cf3f){return _0x95f5eb>_0x27cf3f;},'OqQLR':_0x10bfcb(0x180),'bsWMi':function(_0x39ab38,_0x4e999e){return _0x39ab38+_0x4e999e;},'pmgrV':function(_0x2802c9,_0x3fd470){return _0x2802c9+_0x3fd470;},'DvQyD':_0x10bfcb(0x198),'dwqWd':_0x10bfcb(0x1d2),'bDZEk':';\x20p_uin=o','rTqzt':function(_0x407438,_0x5714e9){return _0x407438||_0x5714e9;},'oajrP':function(_0x14a4c3,_0x28c9cb){return _0x14a4c3+_0x28c9cb;},'wJvOi':function(_0x20efa0,_0x23a6fa){return _0x20efa0/_0x23a6fa;},'Qmmtc':function(_0x2d02b7,_0x832cac){return _0x2d02b7<=_0x832cac;},'VELeQ':function(_0xedb899,_0x2fff94){return _0xedb899+_0x2fff94;},'GcfpZ':function(_0x320dcd,_0x16cfbe){return _0x320dcd+_0x16cfbe;},'gbmIY':function(_0x5e4309,_0x3039dc){return _0x5e4309+_0x3039dc;},'iBMaf':function(_0x5d25a0,_0x4612c7){return _0x5d25a0+_0x4612c7;},'mATxr':_0x10bfcb(0x189),'sXRcG':function(_0x2b461c,_0x5034f2){return _0x2b461c*_0x5034f2;},'owFFf':_0x10bfcb(0x1d4),'ytwiQ':_0x10bfcb(0x197),'GSiHB':_0x10bfcb(0x1df),'rIuoT':function(_0xfc6724,_0x2effe3){return _0xfc6724<=_0x2effe3;},'JXwKT':function(_0x568f15,_0x18e13){return _0x568f15!==_0x18e13;}};let _0x4693d1=new Array();try{let _0x39661d=WebGroupData[_0x10bfcb(0x212)]['get'](_0x374e90),_0x58f598=WebGroupData[_0x10bfcb(0x1c5)][_0x10bfcb(0x1a9)](_0x374e90);if(!_0x58f598||_0x1098fc[_0x10bfcb(0x186)](Date[_0x10bfcb(0x1c1)]()-_0x58f598,0x708*0x3e8)||!_0x408bed){const _0x13fd18=(await NTQQUserApi['getPSkey']([_0x1098fc[_0x10bfcb(0x20d)]]))[_0x1098fc[_0x10bfcb(0x20d)]],_0x255118=await NTQQUserApi[_0x10bfcb(0x1e6)](),_0xfd83de=_0x1098fc[_0x10bfcb(0x1f0)](_0x1098fc[_0x10bfcb(0x1f0)](_0x1098fc[_0x10bfcb(0x1f5)](_0x1098fc['DvQyD']+_0x13fd18+_0x1098fc['dwqWd'],_0x255118),_0x1098fc[_0x10bfcb(0x191)]),selfInfo[_0x10bfcb(0x1ce)]);if(_0x1098fc['rTqzt'](!_0x255118,!_0x13fd18))return _0x4693d1;const _0x59dde7=WebApi[_0x10bfcb(0x20f)](_0x255118),_0x458ff5=[],_0x2d3418=await RequestUtil[_0x10bfcb(0x206)](_0x1098fc[_0x10bfcb(0x174)](_0x1098fc[_0x10bfcb(0x1f5)](_0x10bfcb(0x1ca)+_0x374e90,'&bkn='),_0x59dde7),'POST','',{'Cookie':_0xfd83de});if(!_0x2d3418?.[_0x10bfcb(0x1a7)]||_0x2d3418?.[_0x10bfcb(0x187)]!==0x0||!_0x2d3418?.[_0x10bfcb(0x1ab)])return[];else for(const _0x223a2c in _0x2d3418['mems']){_0x4693d1[_0x10bfcb(0x20b)](_0x2d3418[_0x10bfcb(0x1ab)][_0x223a2c]);}const _0x451feb=Math[_0x10bfcb(0x1f7)](_0x1098fc['wJvOi'](_0x2d3418[_0x10bfcb(0x1a7)],0x28));for(let _0x410ee7=0x2;_0x1098fc[_0x10bfcb(0x1eb)](_0x410ee7,_0x451feb);_0x410ee7++){const _0xbdf08a=RequestUtil[_0x10bfcb(0x206)](_0x1098fc[_0x10bfcb(0x173)](_0x1098fc['GcfpZ'](_0x1098fc[_0x10bfcb(0x1f5)](_0x1098fc[_0x10bfcb(0x19a)](_0x1098fc[_0x10bfcb(0x193)](_0x1098fc['VELeQ'](_0x1098fc[_0x10bfcb(0x1fa)],_0x1098fc[_0x10bfcb(0x1b1)](_0x410ee7-0x1,0x28)),_0x1098fc[_0x10bfcb(0x17a)])+_0x1098fc[_0x10bfcb(0x1b1)](_0x410ee7,0x28),_0x10bfcb(0x18d)),_0x374e90),_0x1098fc[_0x10bfcb(0x1c3)]),_0x59dde7),_0x1098fc[_0x10bfcb(0x1e5)],'',{'Cookie':_0xfd83de});_0x458ff5['push'](_0xbdf08a);}for(let _0x22bade=0x1;_0x1098fc[_0x10bfcb(0x1b2)](_0x22bade,_0x451feb);_0x22bade++){const _0x22f77a=await _0x458ff5[_0x22bade];if(!_0x22f77a?.[_0x10bfcb(0x1a7)]||_0x1098fc[_0x10bfcb(0x18a)](_0x22f77a?.['errcode'],0x0)||!_0x22f77a?.[_0x10bfcb(0x1ab)])continue;for(const _0x15f260 in _0x22f77a['mems']){_0x4693d1[_0x10bfcb(0x20b)](_0x22f77a[_0x10bfcb(0x1ab)][_0x15f260]);}}WebGroupData[_0x10bfcb(0x212)][_0x10bfcb(0x1c7)](_0x374e90,_0x4693d1),WebGroupData[_0x10bfcb(0x1c5)][_0x10bfcb(0x1c7)](_0x374e90,Date[_0x10bfcb(0x1c1)]());}else _0x4693d1=_0x39661d;}catch{return _0x4693d1;}return _0x4693d1;}static async[_0x26b2df(0x1bc)](_0x5ecf72,_0x4e7a50=''){const _0x1bd412=_0x26b2df,_0x2c3728={'aJdGq':_0x1bd412(0x180),'ZeTpY':function(_0x2750f,_0x3b9a22){return _0x2750f+_0x3b9a22;},'zgtLl':function(_0x4e6ce6,_0x2b1a94){return _0x4e6ce6+_0x2b1a94;},'DeUja':_0x1bd412(0x198),'pUNyj':_0x1bd412(0x1d2),'xIZKj':';\x20p_uin=o','Nwifp':function(_0x50c9e1,_0x104ec3){return _0x50c9e1+_0x104ec3;},'smogj':function(_0x1485b7,_0x164238){return _0x1485b7+_0x164238;},'KIcQH':function(_0x2bfa43,_0x4b629d){return _0x2bfa43+_0x4b629d;},'GxSJS':_0x1bd412(0x1c2),'GuQSA':_0x1bd412(0x197),'XeavN':_0x1bd412(0x1e9),'hlOeE':_0x1bd412(0x1f3)},_0x32ccf6=(await NTQQUserApi[_0x1bd412(0x1e1)]([_0x2c3728[_0x1bd412(0x194)]]))[_0x2c3728['aJdGq']],_0x1afd83=await NTQQUserApi['getSkey'](),_0x5c720d=_0x2c3728['ZeTpY'](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x1a1)](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x1fc)](_0x2c3728[_0x1bd412(0x184)],_0x32ccf6),_0x2c3728[_0x1bd412(0x1cb)]),_0x1afd83),_0x2c3728['xIZKj']),selfInfo[_0x1bd412(0x1ce)]);let _0x5a24e9=undefined;if(!_0x1afd83||!_0x32ccf6)return undefined;const _0x1655b4=WebApi[_0x1bd412(0x20f)](_0x1afd83),_0x45fecb=_0x2c3728['ZeTpY'](_0x2c3728['Nwifp'](_0x2c3728[_0x1bd412(0x19d)](_0x2c3728[_0x1bd412(0x1b3)](_0x2c3728['GxSJS']+_0x5ecf72+_0x2c3728['GuQSA'],_0x1655b4),_0x1bd412(0x1a0)),_0x4e7a50),_0x2c3728[_0x1bd412(0x1cc)]),_0x225962=_0x2c3728['zgtLl'](_0x2c3728[_0x1bd412(0x17e)],_0x1655b4);try{return _0x5a24e9=await RequestUtil[_0x1bd412(0x206)](_0x225962,_0x1bd412(0x209),'',{'Cookie':_0x5c720d}),_0x5a24e9;}catch(_0x6b5c83){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3e93b5){const _0x25d7b6=_0x26b2df,_0x384391={'qFdMA':_0x25d7b6(0x180),'yutqB':function(_0x7f39b8,_0xe79709){return _0x7f39b8+_0xe79709;},'THCbP':_0x25d7b6(0x198),'FAZMM':_0x25d7b6(0x1d9),'VwWEz':function(_0x417d23,_0x229267){return _0x417d23||_0x229267;},'koROm':function(_0x4e3a1b,_0x28ff69){return _0x4e3a1b+_0x28ff69;},'FSPMd':function(_0x1ffcc9,_0x30e561){return _0x1ffcc9+_0x30e561;},'SIquF':_0x25d7b6(0x195),'BfbqH':_0x25d7b6(0x209),'KoHzD':function(_0x24da4b,_0x22a7c2){return _0x24da4b!==_0x22a7c2;}},_0x892a56=(await NTQQUserApi['getPSkey']([_0x384391[_0x25d7b6(0x1bf)]]))[_0x384391['qFdMA']],_0x213a92=await NTQQUserApi['getSkey'](),_0x5c50a0=_0x384391[_0x25d7b6(0x1e0)](_0x384391[_0x25d7b6(0x1e0)](_0x384391['yutqB'](_0x384391[_0x25d7b6(0x205)],_0x892a56)+_0x25d7b6(0x1d2)+_0x213a92,_0x384391['FAZMM']),selfInfo[_0x25d7b6(0x1ce)]);let _0x3d5ae8=undefined;if(_0x384391[_0x25d7b6(0x1b0)](!_0x213a92,!_0x892a56))return undefined;const _0x7a80b3=WebApi['genBkn'](_0x213a92),_0x87e0f8=_0x384391[_0x25d7b6(0x1a2)](_0x384391[_0x25d7b6(0x1a2)](_0x384391['koROm'](_0x384391[_0x25d7b6(0x1e8)](_0x384391['SIquF'],_0x7a80b3),_0x25d7b6(0x1a5)),_0x3e93b5),'&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20');try{_0x3d5ae8=await RequestUtil['HttpGetJson'](_0x87e0f8,_0x384391[_0x25d7b6(0x1e2)],'',{'Cookie':_0x5c50a0});if(_0x384391[_0x25d7b6(0x1d8)](_0x3d5ae8?.['ec'],0x0))return undefined;return _0x3d5ae8;}catch(_0x553e52){return undefined;}return undefined;}static[_0x26b2df(0x20f)](_0x5a57f0){const _0x5e47e6=_0x26b2df,_0x262c2a={'IaDQR':function(_0x20d5d9,_0x1fe6e4){return _0x20d5d9||_0x1fe6e4;},'KlYaN':function(_0x2a40ba,_0x153085){return _0x2a40ba<_0x153085;},'GkcZq':function(_0x5c1a43,_0xdeb99f){return _0x5c1a43+_0xdeb99f;},'vStVT':function(_0x44c56b,_0x1972cc){return _0x44c56b<<_0x1972cc;},'tOHVB':function(_0x309f7b,_0x5c282e){return _0x309f7b&_0x5c282e;}};_0x5a57f0=_0x262c2a[_0x5e47e6(0x1b7)](_0x5a57f0,'');let _0x2b4533=0x1505;for(let _0x2aaa8c=0x0;_0x262c2a[_0x5e47e6(0x17d)](_0x2aaa8c,_0x5a57f0['length']);_0x2aaa8c++){const _0xc5a8a4=_0x5a57f0['charCodeAt'](_0x2aaa8c);_0x2b4533=_0x262c2a[_0x5e47e6(0x1f2)](_0x262c2a[_0x5e47e6(0x1f2)](_0x2b4533,_0x262c2a[_0x5e47e6(0x1d1)](_0x2b4533,0x5)),_0xc5a8a4);}return _0x262c2a[_0x5e47e6(0x19e)](_0x2b4533,0x7fffffff)[_0x5e47e6(0x210)]();}static async['getGroupHonorInfo'](_0x3fa88d,_0x4f9771){const _0x2f0fba=_0x26b2df,_0x3dcdbf={'QvAXa':function(_0x4c6b3d,_0x136c18){return _0x4c6b3d+_0x136c18;},'JKJFv':_0x2f0fba(0x1b8),'MKzhg':_0x2f0fba(0x20a),'mQDWM':function(_0x3cad0c,_0x40e8f5){return _0x3cad0c===_0x40e8f5;},'PKmRO':_0x2f0fba(0x1fd),'IXWzR':_0x2f0fba(0x180),'FXlzm':function(_0x49ecc5,_0x3c4c6c){return _0x49ecc5||_0x3c4c6c;},'MXHpW':function(_0x263cf5,_0x4d9c74){return _0x263cf5+_0x4d9c74;},'nEKuP':function(_0x41989c,_0xddc6a8){return _0x41989c+_0xddc6a8;},'TKYAK':function(_0x5b1ecb,_0x3eb0c2){return _0x5b1ecb+_0x3eb0c2;},'qMQtY':function(_0x511bb4,_0x331274){return _0x511bb4+_0x331274;},'xijYz':'p_skey=','RWcUH':_0x2f0fba(0x1d2),'XCaDK':_0x2f0fba(0x1d9),'pZmFR':_0x2f0fba(0x1de),'ispZP':function(_0x258fd0,_0x259407){return _0x258fd0===_0x259407;},'ITwCF':function(_0x57f3cf,_0x4ab78a,_0x26fc58){return _0x57f3cf(_0x4ab78a,_0x26fc58);},'XrSsA':function(_0x11e8ab,_0x541d56){return _0x11e8ab(_0x541d56);},'aMoxX':function(_0x1efc1a,_0x40a04e){return _0x1efc1a===_0x40a04e;},'vmXZq':function(_0x25158c,_0x32da02){return _0x25158c===_0x32da02;},'FELwN':function(_0x5d32aa,_0x431e7b,_0x509022){return _0x5d32aa(_0x431e7b,_0x509022);},'FblpQ':_0x2f0fba(0x1d3),'Qvdpd':_0x2f0fba(0x1c6)},_0x183240=(await NTQQUserApi[_0x2f0fba(0x1e1)]([_0x3dcdbf[_0x2f0fba(0x196)]]))[_0x3dcdbf['IXWzR']],_0x44f7fa=await NTQQUserApi['getSkey']();if(_0x3dcdbf['FXlzm'](!_0x44f7fa,!_0x183240))return undefined;async function _0x50262e(_0x40e061,_0x5da768){const _0x40a8ec=_0x2f0fba;let _0x908ef0=_0x3dcdbf['QvAXa'](_0x3dcdbf[_0x40a8ec(0x1bd)]+_0x40e061+_0x3dcdbf['MKzhg'],_0x5da768[_0x40a8ec(0x210)]()),_0x4dd1f9='',_0x58e103;try{_0x4dd1f9=await RequestUtil[_0x40a8ec(0x1fe)](_0x908ef0,_0x40a8ec(0x209),'',{'Cookie':_0x3e3cc8});const _0x57f014=_0x4dd1f9[_0x40a8ec(0x1bb)](/window\.__INITIAL_STATE__=(.*?);/);return _0x57f014&&(_0x58e103=JSON[_0x40a8ec(0x1ae)](_0x57f014[0x1][_0x40a8ec(0x175)]())),_0x3dcdbf[_0x40a8ec(0x1a4)](_0x5da768,0x1)?_0x58e103?.[_0x40a8ec(0x1e4)]:_0x58e103?.[_0x40a8ec(0x188)];}catch(_0x1820ae){logDebug(_0x3dcdbf['PKmRO'],_0x908ef0,_0x1820ae);}return undefined;}let _0x3cc484={'group_id':_0x3fa88d};const _0x3e3cc8=_0x3dcdbf['MXHpW'](_0x3dcdbf[_0x2f0fba(0x18f)](_0x3dcdbf[_0x2f0fba(0x1cd)](_0x3dcdbf[_0x2f0fba(0x18b)](_0x3dcdbf[_0x2f0fba(0x20e)]+_0x183240,_0x3dcdbf[_0x2f0fba(0x1d7)]),_0x44f7fa),_0x3dcdbf[_0x2f0fba(0x208)])+selfInfo['uin']+_0x3dcdbf[_0x2f0fba(0x1f4)],selfInfo[_0x2f0fba(0x1ce)]);if(_0x3dcdbf[_0x2f0fba(0x1c8)](_0x4f9771,WebHonorType[_0x2f0fba(0x1f8)])||_0x3dcdbf[_0x2f0fba(0x1a4)](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))try{let _0x42d825=await _0x3dcdbf[_0x2f0fba(0x17f)](_0x50262e,_0x3fa88d,0x1);if(!_0x42d825)throw new Error(_0x2f0fba(0x1aa));_0x3cc484[_0x2f0fba(0x1a8)]={'user_id':_0x42d825[0x0]?.[_0x2f0fba(0x1ce)],'avatar':_0x42d825[0x0]?.[_0x2f0fba(0x1af)],'nickname':_0x42d825[0x0]?.[_0x2f0fba(0x1be)],'day_count':0x0,'description':_0x42d825[0x0]?.['desc']},_0x3cc484[_0x2f0fba(0x1b6)]=[];for(const _0x20b78a of _0x42d825){_0x3cc484['talkative_list'][_0x2f0fba(0x20b)]({'user_id':_0x20b78a?.[_0x2f0fba(0x1ce)],'avatar':_0x20b78a?.[_0x2f0fba(0x1af)],'description':_0x20b78a?.[_0x2f0fba(0x1ee)],'day_count':0x0,'nickname':_0x20b78a?.[_0x2f0fba(0x1be)]});}}catch(_0x292648){logDebug(_0x292648);}if(_0x4f9771===WebHonorType[_0x2f0fba(0x1ea)]||_0x3dcdbf['mQDWM'](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))try{let _0xd17c8b=await _0x3dcdbf[_0x2f0fba(0x17f)](_0x50262e,_0x3fa88d,0x2);if(!_0xd17c8b)throw new Error(_0x2f0fba(0x1d6));_0x3cc484['performer_list']=[];for(const _0x53c22c of _0xd17c8b){_0x3cc484[_0x2f0fba(0x17b)][_0x2f0fba(0x20b)]({'user_id':_0x53c22c?.['uin'],'nickname':_0x53c22c?.[_0x2f0fba(0x1be)],'avatar':_0x53c22c?.['avatar'],'description':_0x53c22c?.[_0x2f0fba(0x1ee)]});}}catch(_0x562bcb){_0x3dcdbf[_0x2f0fba(0x18e)](logDebug,_0x562bcb);}if(_0x3dcdbf[_0x2f0fba(0x192)](_0x4f9771,WebHonorType[_0x2f0fba(0x1ea)])||_0x3dcdbf[_0x2f0fba(0x1e7)](_0x4f9771,WebHonorType['ALL']))try{let _0x156838=await _0x3dcdbf[_0x2f0fba(0x176)](_0x50262e,_0x3fa88d,0x3);if(!_0x156838)throw new Error(_0x3dcdbf['FblpQ']);_0x3cc484[_0x2f0fba(0x1e3)]=[];for(const _0x5ce466 of _0x156838){_0x3cc484[_0x2f0fba(0x1e3)][_0x2f0fba(0x20b)]({'user_id':_0x5ce466?.['uin'],'nickname':_0x5ce466?.[_0x2f0fba(0x1be)],'avatar':_0x5ce466?.[_0x2f0fba(0x1af)],'desc':_0x5ce466?.[_0x2f0fba(0x182)]});}}catch(_0x2e9b63){_0x3dcdbf[_0x2f0fba(0x176)](logDebug,_0x3dcdbf['FblpQ'],_0x2e9b63);}if(_0x3dcdbf['ispZP'](_0x4f9771,WebHonorType[_0x2f0fba(0x177)])||_0x4f9771===WebHonorType[_0x2f0fba(0x17c)])try{let _0x13f030=await _0x3dcdbf['FELwN'](_0x50262e,_0x3fa88d,0x6);if(!_0x13f030)throw new Error(_0x3dcdbf[_0x2f0fba(0x202)]);_0x3cc484['emotion_list']=[];for(const _0x5084f0 of _0x13f030){_0x3cc484[_0x2f0fba(0x1db)][_0x2f0fba(0x20b)]({'user_id':_0x5084f0?.[_0x2f0fba(0x1ce)],'nickname':_0x5084f0?.[_0x2f0fba(0x1be)],'avatar':_0x5084f0?.[_0x2f0fba(0x1af)],'desc':_0x5084f0?.[_0x2f0fba(0x182)]});}}catch(_0x5599a7){logDebug(_0x2f0fba(0x1c6),_0x5599a7);}return(_0x3dcdbf[_0x2f0fba(0x1c8)](_0x4f9771,WebHonorType[_0x2f0fba(0x177)])||_0x3dcdbf[_0x2f0fba(0x1a4)](_0x4f9771,WebHonorType[_0x2f0fba(0x17c)]))&&(_0x3cc484[_0x2f0fba(0x1a3)]=[]),_0x3cc484;}} \ No newline at end of file +const _0x5d645a=_0x45fe;(function(_0x25717d,_0x3449f6){const _0x4d2bbc=_0x45fe,_0x24158f=_0x25717d();while(!![]){try{const _0x4e23d1=-parseInt(_0x4d2bbc(0x28f))/0x1+parseInt(_0x4d2bbc(0x24a))/0x2+parseInt(_0x4d2bbc(0x238))/0x3*(-parseInt(_0x4d2bbc(0x206))/0x4)+parseInt(_0x4d2bbc(0x217))/0x5*(parseInt(_0x4d2bbc(0x253))/0x6)+-parseInt(_0x4d2bbc(0x21e))/0x7*(-parseInt(_0x4d2bbc(0x23f))/0x8)+-parseInt(_0x4d2bbc(0x203))/0x9+parseInt(_0x4d2bbc(0x228))/0xa*(-parseInt(_0x4d2bbc(0x212))/0xb);if(_0x4e23d1===_0x3449f6)break;else _0x24158f['push'](_0x24158f['shift']());}catch(_0x5bdbec){_0x24158f['push'](_0x24158f['shift']());}}}(_0xbabb,0x851c1));var __decorate=this&&this[_0x5d645a(0x25d)]||function(_0x1aba53,_0x1b97a7,_0x230a19,_0x25ee49){const _0x109826=_0x5d645a,_0x480285={'kyWJR':function(_0x28366a,_0x1f1cfb){return _0x28366a<_0x1f1cfb;},'eKSgA':function(_0x35956f,_0x355652){return _0x35956f===_0x355652;},'ySAAa':_0x109826(0x232),'UZjdr':function(_0x5a3ce4,_0x390da8){return _0x5a3ce4===_0x390da8;},'nimkJ':_0x109826(0x1fd),'PgXom':function(_0x477fbb,_0x1f355e){return _0x477fbb-_0x1f355e;},'PCAUp':function(_0x47f53c,_0xa4e90b){return _0x47f53c>=_0xa4e90b;},'eOLHQ':function(_0x4e1c60,_0x2e212d){return _0x4e1c60(_0x2e212d);},'sERsI':function(_0x39a7e3,_0xa87f52){return _0x39a7e3>_0xa87f52;},'obVZz':function(_0x3c4e77,_0x261efb,_0x4c9cc1,_0x2cad8b){return _0x3c4e77(_0x261efb,_0x4c9cc1,_0x2cad8b);}};var _0x34e191=arguments['length'],_0x3058ed=_0x480285['kyWJR'](_0x34e191,0x3)?_0x1b97a7:_0x480285['eKSgA'](_0x25ee49,null)?_0x25ee49=Object[_0x109826(0x1ec)](_0x1b97a7,_0x230a19):_0x25ee49,_0x330bcc;if(_0x480285[_0x109826(0x205)](typeof Reflect,_0x480285[_0x109826(0x268)])&&_0x480285['UZjdr'](typeof Reflect[_0x109826(0x27e)],_0x480285[_0x109826(0x246)]))_0x3058ed=Reflect['decorate'](_0x1aba53,_0x1b97a7,_0x230a19,_0x25ee49);else{for(var _0x5c1c81=_0x480285[_0x109826(0x237)](_0x1aba53[_0x109826(0x249)],0x1);_0x480285[_0x109826(0x1ee)](_0x5c1c81,0x0);_0x5c1c81--)if(_0x330bcc=_0x1aba53[_0x5c1c81])_0x3058ed=(_0x34e191<0x3?_0x480285['eOLHQ'](_0x330bcc,_0x3058ed):_0x480285[_0x109826(0x270)](_0x34e191,0x3)?_0x480285['obVZz'](_0x330bcc,_0x1b97a7,_0x230a19,_0x3058ed):_0x330bcc(_0x1b97a7,_0x230a19))||_0x3058ed;}return _0x480285[_0x109826(0x270)](_0x34e191,0x3)&&_0x3058ed&&Object[_0x109826(0x26c)](_0x1b97a7,_0x230a19,_0x3058ed),_0x3058ed;};import{WebGroupData,selfInfo}from'@/core/data';function _0xbabb(){const _0x2dc67b=['&type=','PFRdf','qmoVD','wuOnJ','EMOTION','qazYR','retcode','ZHsDf','all','ijbnQ','FWEBW','decorate','getGroupHonorInfo','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=','获取快乐源泉失败','SHpWX','PERFROMER','xKzOv','getPSkey','errcode','获取龙王信息失败','HttpGetText','getSkey','STORONGE_NEWBI','&page_start=','https://web.qun.qq.com/cgi-bin/announce/get_t_list?bkn=',';\x20skey=','HBiLv','392268fAoGBn','Rzldq','HttpGetJson','FYeZv',';\x20p_uin=o','https://qun.qq.com/cgi-bin/qun_mgr/search_group_members?st=0&end=40&sort=1&gc=','bqRBH','GET','getOwnPropertyDescriptor','&sort=1&gc=','PCAUp','bSMBN',';\x20uin=o','kPbYB','uJsYq','actorList','set','now','ALL','HCgLv','mems','charCodeAt','LNKHV','&pinned=0&type=1&settings={\x22is_show_edit_card\x22:1,\x22tip_window_type\x22:1,\x22confirm_required\x22:1}','&bkn=','function','qid=','desc','aaiiS','RkXcr','VgMTV','752886DLfsRK','legend_list','eKSgA','73384CWAVUO','&end=','XEZXu','gtpTT','toString','dScRm','strong_newbie','srJQq','name','mlrnD','sFDXy','RxYgo','187RzefFD','emotion_list','rsEDH','MXhFM','zHbGK','5ZjtGKy','RiveS','XvGAH','talkativeList','performer_list','LEGEND','get','854nqZPrD','https://web.qun.qq.com/cgi-bin/announce/add_qun_notice?bkn=','&ft=23&ni=1&n=1&i=1&log_read=1&platform=1&s=-1&n=20','ZBaMm','qun.qq.com','ODuYQ','https://qun.qq.com/cgi-bin/group_digest/digest_list?bkn=','strong_newbie_list','MDbPH','p_skey=','476490GAahNw','TALKACTIVE','UkDQS','UJKCs','vPoGs','cBGdc','QSgDP','wxYmd','DFVaq','KeZvG','object','push','nwvqq','TjSHB','talkative_list','PgXom','84dmhmtt','domainPskeyMap','UysOT','jFpTK','lzxHu','Qxtqr','trim','64168GraUPa','getGroupEssenceMsg','DAuEE','https://qun.qq.com/interactive/honorlist?gc=','lzHkr','genBkn','inUlX','nimkJ','WXCbK','fmRmj','length','1010490rDKaAw','gaIPV','RWrKZ','GroupHonorInfo','liFSi','ZQJIK','URBet','QpJtW','CSEtT','5166318iKnzEu','hwzqT','description','xPKbg','uvRQe','bIUPF','uin','suDVK','setGroupNotice','获取当前群荣耀失败','__decorate','match','YorsK','emotion','GroupData','lkGCp','NdIDi','QgqkL','AemSw','yJZSt','count','ySAAa','avatar','gTRnD','talkative','defineProperty','&qid=','POST','TfZsM','sERsI','GroupTime','&group_code='];_0xbabb=function(){return _0x2dc67b;};return _0xbabb();}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(_0x445b6d){const _0x524226=_0x5d645a,_0x442847={'Rzldq':'ALL','RWrKZ':_0x524226(0x27b),'jmGQF':_0x524226(0x26b),'bIUPF':_0x524226(0x283),'DFVaq':'performer','gTRnD':_0x524226(0x21c),'fmRmj':_0x524226(0x28a),'uvRQe':_0x524226(0x20c),'nQZnL':_0x524226(0x277),'XEZXu':_0x524226(0x260)};_0x445b6d[_0x442847[_0x524226(0x290)]]=_0x442847[_0x524226(0x24c)],_0x445b6d[_0x524226(0x229)]=_0x442847['jmGQF'],_0x445b6d[_0x442847[_0x524226(0x258)]]=_0x442847[_0x524226(0x230)],_0x445b6d[_0x442847[_0x524226(0x26a)]]='legend',_0x445b6d[_0x442847[_0x524226(0x248)]]=_0x442847[_0x524226(0x257)],_0x445b6d[_0x442847['nQZnL']]=_0x442847[_0x524226(0x208)];}(WebHonorType||(WebHonorType={})));function _0x45fe(_0x35352c,_0x45b6d2){const _0xbabb11=_0xbabb();return _0x45fe=function(_0x45fe7d,_0x50a81d){_0x45fe7d=_0x45fe7d-0x1ec;let _0x4dcf3b=_0xbabb11[_0x45fe7d];return _0x4dcf3b;},_0x45fe(_0x35352c,_0x45b6d2);}export class WebApi{static async[_0x5d645a(0x240)](_0x31ffe6,_0x3af426){const _0x5b2b4c=_0x5d645a,_0x169fcc={'GyJnj':_0x5b2b4c(0x222),'UJKCs':function(_0x196339,_0x1b3478){return _0x196339+_0x1b3478;},'AemSw':function(_0x5a8788,_0x1e9083){return _0x5a8788+_0x1e9083;},'inUlX':_0x5b2b4c(0x227),'eSAfR':_0x5b2b4c(0x28d),'qazYR':_0x5b2b4c(0x293),'MDbPH':_0x5b2b4c(0x1f0),'yJZSt':function(_0x2787d8,_0x5360a7){return _0x2787d8||_0x5360a7;},'KeZvG':function(_0x284f,_0x18abf0){return _0x284f+_0x18abf0;},'kPbYB':_0x5b2b4c(0x224),'MXhFM':_0x5b2b4c(0x272),'ijbnQ':_0x5b2b4c(0x28b),'RxYgo':function(_0x104374,_0x1ce14e){return _0x104374!==_0x1ce14e;}},_0x591fd9=(await NTQQUserApi['getPSkey']([_0x169fcc['GyJnj']]))['domainPskeyMap'][_0x5b2b4c(0x21d)](_0x169fcc['GyJnj']),_0x3f7df8=await NTQQUserApi[_0x5b2b4c(0x289)](),_0x3b2e4b=_0x169fcc[_0x5b2b4c(0x22b)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x265)](_0x169fcc[_0x5b2b4c(0x245)]+_0x591fd9+_0x169fcc['eSAfR'],_0x3f7df8)+_0x169fcc[_0x5b2b4c(0x278)],selfInfo[_0x5b2b4c(0x259)]),_0x169fcc[_0x5b2b4c(0x226)]),selfInfo[_0x5b2b4c(0x259)]);if(_0x169fcc[_0x5b2b4c(0x266)](!_0x3f7df8,!_0x591fd9))return undefined;const _0xcfc4cb=WebApi[_0x5b2b4c(0x244)](_0x3f7df8),_0x38ab8a=_0x169fcc[_0x5b2b4c(0x231)](_0x169fcc[_0x5b2b4c(0x231)](_0x169fcc['UJKCs'](_0x169fcc[_0x5b2b4c(0x22b)](_0x169fcc['UJKCs'](_0x169fcc[_0x5b2b4c(0x1f1)],_0xcfc4cb),_0x169fcc[_0x5b2b4c(0x215)]),_0x31ffe6),_0x169fcc[_0x5b2b4c(0x27c)]),_0x3af426)+'&page_limit=20';let _0x234986;try{_0x234986=await RequestUtil[_0x5b2b4c(0x291)](_0x38ab8a,_0x5b2b4c(0x296),'',{'Cookie':_0x3b2e4b});}catch{return undefined;}if(_0x169fcc[_0x5b2b4c(0x211)](_0x234986[_0x5b2b4c(0x279)],0x0))return undefined;return _0x234986;}static async['getGroupMembers'](_0x2407d9,_0x49e0b9=!![]){const _0x387504=_0x5d645a,_0x8ad22d={'liFSi':function(_0x819592,_0x23f589){return _0x819592*_0x23f589;},'FWEBW':_0x387504(0x222),'lkGCp':function(_0x570b6c,_0x1f30d0){return _0x570b6c+_0x1f30d0;},'ZQJIK':function(_0xc694bb,_0x3b4fc6){return _0xc694bb+_0x3b4fc6;},'WXCbK':'p_skey=','vsxtJ':function(_0x14b787,_0x18728a){return _0x14b787||_0x18728a;},'bqRBH':function(_0x1e54bb,_0x3bcf2e){return _0x1e54bb+_0x3bcf2e;},'cNjpi':function(_0x3ff53b,_0x3307d1){return _0x3ff53b+_0x3307d1;},'LNKHV':function(_0x358f9d,_0x2465f8){return _0x358f9d+_0x2465f8;},'FYeZv':_0x387504(0x294),'UkDQS':_0x387504(0x1fc),'TfZsM':_0x387504(0x26e),'dScRm':function(_0x5dfd77,_0x29abaf){return _0x5dfd77!==_0x29abaf;},'CSEtT':function(_0x4c31a8,_0x382804){return _0x4c31a8/_0x382804;},'QgqkL':function(_0x17c384,_0x505277){return _0x17c384<=_0x505277;},'lXTuN':function(_0x101223,_0x1a5f91){return _0x101223+_0x1a5f91;},'sFDXy':function(_0xe86482,_0x4f812f){return _0xe86482+_0x4f812f;},'EBmpd':function(_0x2fbeac,_0x242631){return _0x2fbeac-_0x242631;},'cBGdc':_0x387504(0x207),'WrhvB':function(_0x497239,_0x214d17){return _0x497239*_0x214d17;}};let _0x20ddfc=new Array();try{let _0x412ce7=WebGroupData['GroupData'][_0x387504(0x21d)](_0x2407d9),_0x3fcb96=WebGroupData[_0x387504(0x271)]['get'](_0x2407d9);if(!_0x3fcb96||Date['now']()-_0x3fcb96>_0x8ad22d[_0x387504(0x24e)](0x708,0x3e8)||!_0x49e0b9){const _0x425d28=(await NTQQUserApi[_0x387504(0x285)]([_0x8ad22d[_0x387504(0x27d)]]))[_0x387504(0x239)][_0x387504(0x21d)](_0x8ad22d['FWEBW']),_0x135356=await NTQQUserApi[_0x387504(0x289)](),_0x57d5e3=_0x8ad22d[_0x387504(0x262)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d['ZQJIK'](_0x8ad22d[_0x387504(0x247)],_0x425d28),_0x387504(0x28d)),_0x135356),_0x387504(0x293)),selfInfo[_0x387504(0x259)]);if(_0x8ad22d['vsxtJ'](!_0x135356,!_0x425d28))return _0x20ddfc;const _0x1ca278=WebApi[_0x387504(0x244)](_0x135356),_0x3cf833=[],_0x2f34a7=await RequestUtil[_0x387504(0x291)](_0x8ad22d[_0x387504(0x295)](_0x8ad22d['cNjpi'](_0x8ad22d[_0x387504(0x1fa)](_0x8ad22d[_0x387504(0x292)],_0x2407d9),_0x8ad22d[_0x387504(0x22a)]),_0x1ca278),_0x8ad22d[_0x387504(0x26f)],'',{'Cookie':_0x57d5e3});if(!_0x2f34a7?.[_0x387504(0x267)]||_0x8ad22d[_0x387504(0x20b)](_0x2f34a7?.['errcode'],0x0)||!_0x2f34a7?.['mems'])return[];else for(const _0x13eada in _0x2f34a7['mems']){_0x20ddfc[_0x387504(0x233)](_0x2f34a7[_0x387504(0x1f8)][_0x13eada]);}const _0x1e1d63=Math['ceil'](_0x8ad22d[_0x387504(0x252)](_0x2f34a7[_0x387504(0x267)],0x28));for(let _0x282672=0x2;_0x8ad22d[_0x387504(0x264)](_0x282672,_0x1e1d63);_0x282672++){const _0x35a1d9=RequestUtil[_0x387504(0x291)](_0x8ad22d[_0x387504(0x24f)](_0x8ad22d['lXTuN'](_0x8ad22d[_0x387504(0x210)](_0x8ad22d[_0x387504(0x295)](_0x8ad22d[_0x387504(0x210)](_0x387504(0x280),_0x8ad22d['liFSi'](_0x8ad22d['EBmpd'](_0x282672,0x1),0x28)),_0x8ad22d[_0x387504(0x22d)]),_0x8ad22d['WrhvB'](_0x282672,0x28)),_0x387504(0x1ed))+_0x2407d9,'&bkn=')+_0x1ca278,_0x8ad22d[_0x387504(0x26f)],'',{'Cookie':_0x57d5e3});_0x3cf833['push'](_0x35a1d9);}for(let _0x1f7eff=0x1;_0x1f7eff<=_0x1e1d63;_0x1f7eff++){const _0xc1d0f0=await _0x3cf833[_0x1f7eff];if(!_0xc1d0f0?.[_0x387504(0x267)]||_0x8ad22d[_0x387504(0x20b)](_0xc1d0f0?.[_0x387504(0x286)],0x0)||!_0xc1d0f0?.[_0x387504(0x1f8)])continue;for(const _0x555552 in _0xc1d0f0[_0x387504(0x1f8)]){_0x20ddfc[_0x387504(0x233)](_0xc1d0f0[_0x387504(0x1f8)][_0x555552]);}}WebGroupData[_0x387504(0x261)][_0x387504(0x1f4)](_0x2407d9,_0x20ddfc),WebGroupData['GroupTime'][_0x387504(0x1f4)](_0x2407d9,Date[_0x387504(0x1f5)]());}else _0x20ddfc=_0x412ce7;}catch{return _0x20ddfc;}return _0x20ddfc;}static async[_0x5d645a(0x25b)](_0x3f84bd,_0x149e2b=''){const _0x35670e=_0x5d645a,_0x5e09b0={'YorsK':_0x35670e(0x222),'DAuEE':function(_0x3ee10b,_0x215f57){return _0x3ee10b+_0x215f57;},'PFRdf':function(_0x59fb80,_0x5e58b7){return _0x59fb80+_0x5e58b7;},'tMXPU':_0x35670e(0x227),'PTsUk':_0x35670e(0x28d),'aaiiS':_0x35670e(0x293),'rsEDH':function(_0x3c59cb,_0x54cb45){return _0x3c59cb||_0x54cb45;},'vQSpw':function(_0x23c7e4,_0xc95490){return _0x23c7e4+_0xc95490;},'bSMBN':_0x35670e(0x1fe),'qmoVD':'&text=','XvGAH':_0x35670e(0x1fb),'hwzqT':'GET'},_0x34d5c2=(await NTQQUserApi[_0x35670e(0x285)]([_0x5e09b0[_0x35670e(0x25f)]]))[_0x35670e(0x239)][_0x35670e(0x21d)](_0x35670e(0x222)),_0x746c1f=await NTQQUserApi[_0x35670e(0x289)](),_0x16debb=_0x5e09b0[_0x35670e(0x241)](_0x5e09b0[_0x35670e(0x274)](_0x5e09b0['DAuEE'](_0x5e09b0['tMXPU'],_0x34d5c2)+_0x5e09b0['PTsUk']+_0x746c1f,_0x5e09b0[_0x35670e(0x200)]),selfInfo[_0x35670e(0x259)]);let _0x1ff6fc=undefined;if(_0x5e09b0[_0x35670e(0x214)](!_0x746c1f,!_0x34d5c2))return undefined;const _0x5e74a2=WebApi[_0x35670e(0x244)](_0x746c1f),_0x6c3c5c=_0x5e09b0[_0x35670e(0x274)](_0x5e09b0['vQSpw'](_0x5e09b0['vQSpw'](_0x5e09b0['PFRdf'](_0x5e09b0[_0x35670e(0x1ef)],_0x3f84bd),_0x35670e(0x1fc)),_0x5e74a2),_0x5e09b0[_0x35670e(0x275)])+_0x149e2b+_0x5e09b0[_0x35670e(0x219)],_0x3af987=_0x5e09b0[_0x35670e(0x241)](_0x35670e(0x21f),_0x5e74a2);try{return _0x1ff6fc=await RequestUtil[_0x35670e(0x291)](_0x3af987,_0x5e09b0[_0x35670e(0x254)],'',{'Cookie':_0x16debb}),_0x1ff6fc;}catch(_0x1940b6){return undefined;}return undefined;}static async['getGrouptNotice'](_0x3bfde5){const _0x35386e=_0x5d645a,_0x4b5177={'ZBaMm':_0x35386e(0x222),'QSgDP':function(_0x43a8a6,_0x5a638b){return _0x43a8a6+_0x5a638b;},'lzxHu':function(_0x452abb,_0x1d49bc){return _0x452abb+_0x1d49bc;},'nwvqq':_0x35386e(0x28d),'evgcn':';\x20p_uin=o','gaIPV':function(_0x3b7dab,_0x59b975){return _0x3b7dab+_0x59b975;},'xPKbg':function(_0x15a5f3,_0x6ad6ba){return _0x15a5f3+_0x6ad6ba;},'ODuYQ':_0x35386e(0x28c),'QMcaM':_0x35386e(0x26d),'ANWaA':_0x35386e(0x220),'jFpTK':function(_0x4aa293,_0x7c81fb){return _0x4aa293!==_0x7c81fb;}},_0x36b2e1=(await NTQQUserApi[_0x35386e(0x285)]([_0x4b5177[_0x35386e(0x221)]]))[_0x35386e(0x239)][_0x35386e(0x21d)](_0x4b5177[_0x35386e(0x221)]),_0x2bc480=await NTQQUserApi[_0x35386e(0x289)](),_0x2302e8=_0x4b5177[_0x35386e(0x22e)](_0x4b5177[_0x35386e(0x23c)](_0x4b5177[_0x35386e(0x22e)](_0x4b5177[_0x35386e(0x22e)](_0x35386e(0x227),_0x36b2e1)+_0x4b5177[_0x35386e(0x234)],_0x2bc480),_0x4b5177['evgcn']),selfInfo[_0x35386e(0x259)]);let _0x32856b=undefined;if(!_0x2bc480||!_0x36b2e1)return undefined;const _0x2ca4ce=WebApi[_0x35386e(0x244)](_0x2bc480),_0x32bdd6=_0x4b5177[_0x35386e(0x23c)](_0x4b5177[_0x35386e(0x24b)](_0x4b5177[_0x35386e(0x256)](_0x4b5177[_0x35386e(0x223)]+_0x2ca4ce,_0x4b5177['QMcaM']),_0x3bfde5),_0x4b5177['ANWaA']);try{_0x32856b=await RequestUtil[_0x35386e(0x291)](_0x32bdd6,_0x35386e(0x296),'',{'Cookie':_0x2302e8});if(_0x4b5177[_0x35386e(0x23b)](_0x32856b?.['ec'],0x0))return undefined;return _0x32856b;}catch(_0x297e1e){return undefined;}return undefined;}static[_0x5d645a(0x244)](_0x5cacc5){const _0x14ea2c=_0x5d645a,_0x3d4f61={'jZRbo':function(_0x5099ac,_0x47e729){return _0x5099ac||_0x47e729;},'RkXcr':function(_0xaadc1b,_0x4ac1d3){return _0xaadc1b<_0x4ac1d3;},'mlrnD':function(_0x5cb82c,_0x43fbb2){return _0x5cb82c+_0x43fbb2;},'ZHsDf':function(_0x1c1a68,_0x21c463){return _0x1c1a68<<_0x21c463;}};_0x5cacc5=_0x3d4f61['jZRbo'](_0x5cacc5,'');let _0xad2cb5=0x1505;for(let _0x15658b=0x0;_0x3d4f61[_0x14ea2c(0x201)](_0x15658b,_0x5cacc5[_0x14ea2c(0x249)]);_0x15658b++){const _0x43761e=_0x5cacc5[_0x14ea2c(0x1f9)](_0x15658b);_0xad2cb5=_0x3d4f61['mlrnD'](_0x3d4f61[_0x14ea2c(0x20f)](_0xad2cb5,_0x3d4f61[_0x14ea2c(0x27a)](_0xad2cb5,0x5)),_0x43761e);}return(_0xad2cb5&0x7fffffff)[_0x14ea2c(0x20a)]();}static async[_0x5d645a(0x27f)](_0x319593,_0x30e66d){const _0x4627d9=_0x5d645a,_0x18aa3d={'SHpWX':function(_0x62b8e8,_0x19b794){return _0x62b8e8+_0x19b794;},'suDVK':function(_0x9c7d54,_0x23e3ee){return _0x9c7d54+_0x23e3ee;},'UysOT':_0x4627d9(0x273),'HCgLv':function(_0x3517f2,_0x5a601b,_0x1c1901,_0x4dc609){return _0x3517f2(_0x5a601b,_0x1c1901,_0x4dc609);},'uJsYq':_0x4627d9(0x25c),'wxYmd':_0x4627d9(0x222),'xKzOv':function(_0x371e56,_0x5b7d82){return _0x371e56+_0x5b7d82;},'URBet':function(_0x46ad62,_0x4356c0){return _0x46ad62+_0x4356c0;},'RiveS':function(_0x4f61af,_0x413317){return _0x4f61af+_0x413317;},'NdIDi':function(_0x4af7e7,_0x5c594e){return _0x4af7e7+_0x5c594e;},'Qxtqr':'p_skey=','wuOnJ':_0x4627d9(0x1f0),'gtpTT':function(_0x460848,_0x288410){return _0x460848===_0x288410;},'lzHkr':_0x4627d9(0x287),'VgMTV':function(_0x3addbe,_0x4192a9){return _0x3addbe(_0x4192a9);},'DRCqy':function(_0x40a690,_0x28043b){return _0x40a690===_0x28043b;},'TjSHB':function(_0x310b56,_0x3e5a65,_0x4e0030){return _0x310b56(_0x3e5a65,_0x4e0030);},'HBiLv':'获取群聊之火失败','zHbGK':function(_0x2b9a1b,_0x170ccd){return _0x2b9a1b===_0x170ccd;},'srJQq':'获取群聊炽焰失败','QpJtW':function(_0x51bbaf,_0x11796e,_0x4e27c0){return _0x51bbaf(_0x11796e,_0x4e27c0);},'vPoGs':_0x4627d9(0x281)},_0x3200e6=(await NTQQUserApi[_0x4627d9(0x285)]([_0x18aa3d['wxYmd']]))[_0x4627d9(0x239)][_0x4627d9(0x21d)](_0x18aa3d[_0x4627d9(0x22f)]),_0x3b81f5=await NTQQUserApi[_0x4627d9(0x289)]();if(!_0x3b81f5||!_0x3200e6)return undefined;async function _0x2cfd10(_0x3efe58,_0xe3f600){const _0x17aa3c=_0x4627d9;let _0x4b88df=_0x18aa3d[_0x17aa3c(0x282)](_0x18aa3d[_0x17aa3c(0x25a)](_0x17aa3c(0x242),_0x3efe58),_0x18aa3d[_0x17aa3c(0x23a)])+_0xe3f600['toString'](),_0x495acd='',_0x25cb0d;try{_0x495acd=await RequestUtil[_0x17aa3c(0x288)](_0x4b88df,_0x17aa3c(0x296),'',{'Cookie':_0x5984e0});const _0x4cbbec=_0x495acd[_0x17aa3c(0x25e)](/window\.__INITIAL_STATE__=(.*?);/);return _0x4cbbec&&(_0x25cb0d=JSON['parse'](_0x4cbbec[0x1][_0x17aa3c(0x23e)]())),_0xe3f600===0x1?_0x25cb0d?.[_0x17aa3c(0x21a)]:_0x25cb0d?.[_0x17aa3c(0x1f3)];}catch(_0x4de329){_0x18aa3d[_0x17aa3c(0x1f7)](logDebug,_0x18aa3d[_0x17aa3c(0x1f2)],_0x4b88df,_0x4de329);}return undefined;}let _0x4405ea={'group_id':_0x319593};const _0x5984e0=_0x18aa3d['suDVK'](_0x18aa3d[_0x4627d9(0x284)](_0x18aa3d[_0x4627d9(0x25a)](_0x18aa3d[_0x4627d9(0x250)](_0x18aa3d[_0x4627d9(0x218)](_0x18aa3d[_0x4627d9(0x263)](_0x18aa3d[_0x4627d9(0x23d)],_0x3200e6),_0x4627d9(0x28d)),_0x3b81f5),_0x4627d9(0x293)),selfInfo[_0x4627d9(0x259)]),_0x18aa3d[_0x4627d9(0x276)])+selfInfo[_0x4627d9(0x259)];if(_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType[_0x4627d9(0x229)])||_0x30e66d===WebHonorType[_0x4627d9(0x1f6)])try{let _0x4dd567=await _0x2cfd10(_0x319593,0x1);if(!_0x4dd567)throw new Error(_0x18aa3d[_0x4627d9(0x243)]);_0x4405ea['current_talkative']={'user_id':_0x4dd567[0x0]?.[_0x4627d9(0x259)],'avatar':_0x4dd567[0x0]?.[_0x4627d9(0x269)],'nickname':_0x4dd567[0x0]?.['name'],'day_count':0x0,'description':_0x4dd567[0x0]?.['desc']},_0x4405ea[_0x4627d9(0x236)]=[];for(const _0x949b7b of _0x4dd567){_0x4405ea[_0x4627d9(0x236)][_0x4627d9(0x233)]({'user_id':_0x949b7b?.[_0x4627d9(0x259)],'avatar':_0x949b7b?.[_0x4627d9(0x269)],'description':_0x949b7b?.['desc'],'day_count':0x0,'nickname':_0x949b7b?.[_0x4627d9(0x20e)]});}}catch(_0x56b754){_0x18aa3d[_0x4627d9(0x202)](logDebug,_0x56b754);}if(_0x18aa3d['gtpTT'](_0x30e66d,WebHonorType[_0x4627d9(0x283)])||_0x18aa3d['DRCqy'](_0x30e66d,WebHonorType['ALL']))try{let _0x34115f=await _0x18aa3d[_0x4627d9(0x235)](_0x2cfd10,_0x319593,0x2);if(!_0x34115f)throw new Error(_0x18aa3d[_0x4627d9(0x28e)]);_0x4405ea[_0x4627d9(0x21b)]=[];for(const _0x1c9ce4 of _0x34115f){_0x4405ea[_0x4627d9(0x21b)][_0x4627d9(0x233)]({'user_id':_0x1c9ce4?.['uin'],'nickname':_0x1c9ce4?.['name'],'avatar':_0x1c9ce4?.[_0x4627d9(0x269)],'description':_0x1c9ce4?.[_0x4627d9(0x1ff)]});}}catch(_0x4cf1d3){_0x18aa3d[_0x4627d9(0x202)](logDebug,_0x4cf1d3);}if(_0x30e66d===WebHonorType[_0x4627d9(0x283)]||_0x18aa3d[_0x4627d9(0x216)](_0x30e66d,WebHonorType[_0x4627d9(0x1f6)]))try{let _0x4e0557=await _0x2cfd10(_0x319593,0x3);if(!_0x4e0557)throw new Error(_0x18aa3d[_0x4627d9(0x20d)]);_0x4405ea[_0x4627d9(0x204)]=[];for(const _0x13d985 of _0x4e0557){_0x4405ea['legend_list'][_0x4627d9(0x233)]({'user_id':_0x13d985?.['uin'],'nickname':_0x13d985?.[_0x4627d9(0x20e)],'avatar':_0x13d985?.[_0x4627d9(0x269)],'desc':_0x13d985?.[_0x4627d9(0x255)]});}}catch(_0x52af50){logDebug('获取群聊炽焰失败',_0x52af50);}if(_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType[_0x4627d9(0x277)])||_0x18aa3d[_0x4627d9(0x209)](_0x30e66d,WebHonorType['ALL']))try{let _0x5b37ae=await _0x18aa3d[_0x4627d9(0x251)](_0x2cfd10,_0x319593,0x6);if(!_0x5b37ae)throw new Error(_0x18aa3d[_0x4627d9(0x22c)]);_0x4405ea['emotion_list']=[];for(const _0x5b2525 of _0x5b37ae){_0x4405ea[_0x4627d9(0x213)][_0x4627d9(0x233)]({'user_id':_0x5b2525?.[_0x4627d9(0x259)],'nickname':_0x5b2525?.[_0x4627d9(0x20e)],'avatar':_0x5b2525?.[_0x4627d9(0x269)],'desc':_0x5b2525?.['description']});}}catch(_0x1d5c7c){_0x18aa3d[_0x4627d9(0x235)](logDebug,_0x18aa3d['vPoGs'],_0x1d5c7c);}return(_0x18aa3d['gtpTT'](_0x30e66d,WebHonorType[_0x4627d9(0x277)])||_0x30e66d===WebHonorType[_0x4627d9(0x1f6)])&&(_0x4405ea[_0x4627d9(0x225)]=[]),_0x4405ea;}}__decorate([CacheClassFuncAsync(0xe10*0x3e8,_0x5d645a(0x24d))],WebApi,_0x5d645a(0x27f),null); \ No newline at end of file diff --git a/src/core.lib/src/core.js b/src/core.lib/src/core.js index a87844e6..0d29d31d 100644 --- a/src/core.lib/src/core.js +++ b/src/core.lib/src/core.js @@ -1 +1 @@ -const _0x2a4fc4=_0x3e0d;(function(_0x35c048,_0x3e85e9){const _0x2d3c6a=_0x3e0d,_0x197b0f=_0x35c048();while(!![]){try{const _0x4c0696=parseInt(_0x2d3c6a(0x163))/0x1+parseInt(_0x2d3c6a(0x166))/0x2+-parseInt(_0x2d3c6a(0x107))/0x3*(parseInt(_0x2d3c6a(0x18d))/0x4)+-parseInt(_0x2d3c6a(0x153))/0x5+-parseInt(_0x2d3c6a(0xfd))/0x6+-parseInt(_0x2d3c6a(0x18f))/0x7*(parseInt(_0x2d3c6a(0x124))/0x8)+-parseInt(_0x2d3c6a(0x13b))/0x9*(-parseInt(_0x2d3c6a(0x16b))/0xa);if(_0x4c0696===_0x3e85e9)break;else _0x197b0f['push'](_0x197b0f['shift']());}catch(_0x20dfd3){_0x197b0f['push'](_0x197b0f['shift']());}}}(_0x55ff,0x3eeec));import _0x4cc405 from'@/core/wrapper';function _0x3e0d(_0x1c00c5,_0xefb20f){const _0x55ffb6=_0x55ff();return _0x3e0d=function(_0x3e0d16,_0x1c7034){_0x3e0d16=_0x3e0d16-0xef;let _0x274653=_0x55ffb6[_0x3e0d16];return _0x274653;},_0x3e0d(_0x1c00c5,_0xefb20f);}import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5db999 from'node:path';import _0x15c18e from'node:os';import _0x48d252 from'node:fs';import{appid,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemVersion}from'@/common/utils/system';import{genSessionConfig}from'@/core/sessionConfig';import{dbUtil}from'@/common/utils/db';import{sleep}from'@/common/utils/helper';import _0x37de2d 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';function _0x55ff(){const _0x14dc53=['117814CgiTRH','ZqsUe','onMemberListChange','onGroupListUpdate','onRecvSysMsg','10lJfTmv','createHash','./nt_qq/global','quickLogin','getNextMemberList','dataPathGlobal','Stfry','Iyfvy','catch','GroupListener','loginErrorInfo','addKernelBuddyListener','split','NodeIKernelProfileListener','forEach','set','util','NgwTp','NndlO','V1_WIN_NQ_','hex','init','onQRCodeSessionFailed','DXApI','constructor','NiJES','undefined','floor','addKernelProfileListener','assign','140022008','update','seqps','ProfileListener','2284bJMWqN','session','843395kWFDCU','NodeIKernelGroupListener','NodeIQQNTWrapperSession','addListener','VEIvV','quickLoginWithUin','NodeIKernelMsgListener','length','CBXlU','MVgKV','initDataListener','delete','curVersion','packet_received','CneAf','isDelete','addKernelGroupListener','dataPath','tipsDesc','init\x20failed\x20','message_received','frxKL','Windows\x2010\x20Pro','onSelfStatusChanged','devUid','result','uin','getMsgService','mBchk','快速登录不可用','BhMdR','onQRCodeLoginSucceed','NodeIKernelLoginListener','pngBase64QrcodeData','onBuddyListChange','digest','GNoUj','DyzOq','KAwzu','2436744ujuTPy','onAddSendMsg','onUserLoggedIn','NodeIKernelBuddyListener','数据库初始化失败','stringify','qrcodeUrl','initWithDeskTopConfig','BuddyListener','getQuickLoginList','1359aDkqxx','goSZy','createMemberListScene','NeWFH','NodeIKernelLoginService','has','getBuddyService','getLoginList','\x20has\x20no\x20method\x20','NodeIDispatcherAdapter','addKernelLoginListener','NodeIKernelSessionListener','KLPJX','loginListener','getProfileService','replace','uid','KDByZ','qrLogin','emnMi','onLoginFailed','moTwJ','aSgLz','map','niQxJ','nvoLH','base64','GSXFe','groupCode','8wyghwg','iziqo','wWJli','sWGSH','loginService','PHJUi','onProfileDetailInfoChanged','onMemberInfoChange','getGroupService','vgUGZ','xuwfE','NodeIGlobalAdapter','sceneId','consoleLog','sTxUO','fReGv','./NapCat/data','memberCount','gUAfm','from','then','NOivQ','resolve','8892981TdYTqB','本账号数据/缓存目录:','-v2.db','push','errMsg','./.config/QQ',')\x20在线状态变更','KvmrQ','MsgListener','[KickedOffLine]\x20[','mkAqA','data:image/png;base64,','clientType','buddyList','getBuddyList','JAKWz','fileLog','fileLogLevel','message_sent','eStOT','登录失败(onLoginFailed)','ZtRDK','get','onQRCodeGetPicture','1363695mcGWDj','name',')已登录,无法重复登录','mkdirSync','JxPqW','proxyHandler','gIMQa','initSession','NfxGe','md5','startNT','NodeIDependsAdapter','packet_sent','BYcNc','find','账号设备(','268767dApfKm','启动失败:\x20','initSession\x20failed'];_0x55ff=function(){return _0x14dc53;};return _0x55ff();}export class NapCatCore{[_0x2a4fc4(0x18e)];['util'];['engine'];[_0x2a4fc4(0x114)];[_0x2a4fc4(0x128)];['onLoginSuccessFuncList']=[];['proxyHandler']={'get'(target,prop,receiver){const _0x359ac4=_0x2a4fc4,ubSzEH={'GNoUj':function(x,y){return x===y;},'sTxUO':_0x359ac4(0x185)};if(ubSzEH[_0x359ac4(0xfa)](typeof target[prop],ubSzEH[_0x359ac4(0x132)]))return(...args)=>{const _0x5882f1=_0x359ac4;logDebug(target[_0x5882f1(0x183)][_0x5882f1(0x154)]+_0x5882f1(0x10f)+prop);};return Reflect[_0x359ac4(0x151)](target,prop,receiver);}};constructor(){const _0x371348=_0x2a4fc4,_0x220aa2={'nvoLH':function(_0x29d557,_0x181c28){return _0x29d557(_0x181c28);},'Stfry':function(_0x419908,_0x42e639){return _0x419908+_0x42e639;},'OCAno':'当前账号(','CBXlU':function(_0x4fc786,_0x26020f,_0x6de4da){return _0x4fc786(_0x26020f,_0x6de4da);},'GSXFe':_0x371348(0x165),'wAiXb':function(_0x2ed5c1,_0xa855df){return _0x2ed5c1(_0xa855df);},'XCQoY':function(_0x46eb61,_0x23e321){return _0x46eb61==_0x23e321;},'VEIvV':function(_0x1f1031,_0x1b6af6){return _0x1f1031==_0x1b6af6;},'KvmrQ':function(_0xe90c8,_0x3568c1,_0x5878ab){return _0xe90c8(_0x3568c1,_0x5878ab);},'KAwzu':_0x371348(0x14f)};this['engine']=new _0x4cc405['NodeIQQNTWrapperEngine'](),this[_0x371348(0x17b)]=new _0x4cc405['NodeQQNTWrapperUtil'](),this[_0x371348(0x128)]=new _0x4cc405[(_0x371348(0x10b))](),this['session']=new _0x4cc405[(_0x371348(0x191))](),this[_0x371348(0x114)]=new LoginListener(),this['loginListener'][_0x371348(0xff)]=_0x56345f=>{const _0x425f73=_0x371348;_0x220aa2[_0x425f73(0x120)](logError,_0x220aa2[_0x425f73(0x171)](_0x220aa2['OCAno'],_0x56345f)+_0x425f73(0x155));},this['initConfig'](),this[_0x371348(0x114)][_0x371348(0xf5)]=_0x309979=>{const _0xd9dff7=_0x371348,_0x12842b={'DyzOq':function(_0x47cfc2,_0x903b47,_0x414ddc){const _0xd34911=_0x3e0d;return _0x220aa2[_0xd34911(0x197)](_0x47cfc2,_0x903b47,_0x414ddc);},'seqps':function(_0x552282,_0xed241a){return _0x552282(_0xed241a);},'xxqAQ':function(_0xe68a93,_0x32f7c8){return _0x220aa2['wAiXb'](_0xe68a93,_0x32f7c8);},'orWOF':_0xd9dff7(0x134),'CneAf':function(_0x5421de,_0xfddfac,_0x1801fc){const _0x3aaeec=_0xd9dff7;return _0x220aa2[_0x3aaeec(0x197)](_0x5421de,_0xfddfac,_0x1801fc);},'PHJUi':_0xd9dff7(0x13c)};this[_0xd9dff7(0x15a)](_0x309979['uin'],_0x309979[_0xd9dff7(0x117)])[_0xd9dff7(0x138)](_0x3454ae=>{const _0xa87294=_0xd9dff7,_0x927c88={'NfxGe':function(_0x565823,_0x4e247c){return _0x565823 instanceof _0x4e247c;},'RrFDV':function(_0x5d4d8f,_0x39b369,_0x482b63){return _0x12842b['DyzOq'](_0x5d4d8f,_0x39b369,_0x482b63);}};selfInfo[_0xa87294(0xf0)]=_0x309979[_0xa87294(0xf0)],selfInfo[_0xa87294(0x117)]=_0x309979[_0xa87294(0x117)],napCatConfig['read'](),_0x12842b[_0xa87294(0xfb)](setLogLevel,napCatConfig[_0xa87294(0x14c)],napCatConfig['consoleLogLevel']),_0x12842b[_0xa87294(0x18b)](enableFileLog,napCatConfig[_0xa87294(0x14b)]),_0x12842b[_0xa87294(0x18b)](enableConsoleLog,napCatConfig[_0xa87294(0x131)]),_0x12842b['xxqAQ'](setLogSelfInfo,selfInfo);const _0x3dd778=_0x5db999[_0xa87294(0x13a)](this[_0xa87294(0x1a0)],_0x12842b['orWOF']);_0x48d252[_0xa87294(0x156)](_0x3dd778,{'recursive':!![]}),_0x12842b[_0xa87294(0x19d)](logDebug,_0x12842b[_0xa87294(0x129)],_0x3dd778),dbUtil[_0xa87294(0x180)](_0x5db999[_0xa87294(0x13a)](_0x3dd778,'./'+_0x309979[_0xa87294(0xf0)]+_0xa87294(0x13d)))[_0xa87294(0x138)](()=>{const _0x352da0=_0xa87294,_0x2547ad={'DXApI':function(_0x42efd1,_0x3ea927,_0x2a9679){return _0x42efd1(_0x3ea927,_0x2a9679);},'gUAfm':function(_0x50c038,_0x4f1cd2){const _0x333df3=_0x3e0d;return _0x927c88[_0x333df3(0x15b)](_0x50c038,_0x4f1cd2);}};this[_0x352da0(0x199)](),this['onLoginSuccessFuncList'][_0x352da0(0x11e)](_0x3f2ad3=>{const _0x47b120=_0x352da0;new Promise((_0xbef1bb,_0x1e9019)=>{const _0x372c8d=_0x3e0d,_0x4aef0c=_0x2547ad[_0x372c8d(0x182)](_0x3f2ad3,_0x309979[_0x372c8d(0xf0)],_0x309979[_0x372c8d(0x117)]);_0x2547ad[_0x372c8d(0x136)](_0x4aef0c,Promise)&&_0x4aef0c['then'](_0xbef1bb)[_0x372c8d(0x173)](_0x1e9019);})[_0x47b120(0x138)]();});})['catch'](_0x385430=>{const _0x20114b=_0xa87294;_0x927c88['RrFDV'](logError,_0x20114b(0x101),_0x385430);});})['catch'](_0x598605=>{const _0x4f6fd0=_0xd9dff7;_0x220aa2[_0x4f6fd0(0x197)](logError,_0x220aa2[_0x4f6fd0(0x122)],_0x598605);throw new Error(_0x4f6fd0(0x164)+JSON[_0x4f6fd0(0x102)](_0x598605));});},this[_0x371348(0x114)][_0x371348(0x181)]=(_0x274681,_0xcd548f,_0x488150)=>{const _0x359d9c=_0x371348;logError('登录失败(onQRCodeSessionFailed)',_0x488150),_0x220aa2['XCQoY'](_0x274681,0x1)&&_0x220aa2[_0x359d9c(0x193)](_0xcd548f,0x3)&&this['loginService']['getQRCodePicture']();},this[_0x371348(0x114)][_0x371348(0x11b)]=_0x2b712c=>{const _0x54e698=_0x371348;_0x220aa2[_0x54e698(0x142)](logError,_0x220aa2[_0x54e698(0xfc)],_0x2b712c);},this[_0x371348(0x114)]=new Proxy(this[_0x371348(0x114)],this[_0x371348(0x158)]),this['loginService'][_0x371348(0x111)](new _0x4cc405[(_0x371348(0xf6))](this['loginListener']));}get[_0x2a4fc4(0x1a0)](){const _0x3f783b=_0x2a4fc4,_0x24947a={'goSZy':_0x3f783b(0x140)};let _0x4d5c2c=this[_0x3f783b(0x17b)]['getNTUserDataInfoConfig']();return!_0x4d5c2c&&(_0x4d5c2c=_0x5db999[_0x3f783b(0x13a)](_0x15c18e['homedir'](),_0x24947a[_0x3f783b(0x108)]),_0x48d252['mkdirSync'](_0x4d5c2c,{'recursive':!![]})),_0x4d5c2c;}get[_0x2a4fc4(0x170)](){const _0x4c29fd=_0x2a4fc4;return _0x5db999[_0x4c29fd(0x13a)](this[_0x4c29fd(0x1a0)],_0x4c29fd(0x16d));}['initConfig'](){const _0x31137c=_0x2a4fc4;this['engine'][_0x31137c(0x104)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo[_0x31137c(0x19b)],'os_version':_0x31137c(0x1a5),'use_xlog':!![],'qua':_0x31137c(0x17e)+qqVersionConfigInfo[_0x31137c(0x19b)][_0x31137c(0x116)]('-','_')+'_GW_B','global_path_config':{'desktopGlobalPath':this[_0x31137c(0x170)]},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x4cc405[(_0x31137c(0x12f))](new GlobalAdapter())),this[_0x31137c(0x128)]['initConfig']({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x31137c(0x170)],'clientVer':qqVersionConfigInfo['curVersion'],'hostName':hostname});}['initSession'](_0x2366fa,_0xdcdc67){const _0x59166d={'KQvWV':function(_0x412d6e,_0x2b4a06){return _0x412d6e===_0x2b4a06;},'NndlO':function(_0x421fcf,_0x553fe9){return _0x421fcf(_0x553fe9);},'NgwTp':function(_0x4ab08a,_0xc816ad,_0x40d6aa,_0x1b9c69){return _0x4ab08a(_0xc816ad,_0x40d6aa,_0x1b9c69);},'Iyfvy':function(_0x492131,_0x10d59c){return _0x492131+_0x10d59c;}};return new Promise(async(_0x438f9b,_0x192b39)=>{const _0x29c325=_0x3e0d,_0x4a8969={'VIAjb':function(_0x47ba9c,_0x90a886){return _0x59166d['KQvWV'](_0x47ba9c,_0x90a886);},'BYcNc':function(_0xa2b67c,_0x4d5174){const _0x3c9a12=_0x3e0d;return _0x59166d[_0x3c9a12(0x17d)](_0xa2b67c,_0x4d5174);}},_0x1166bd=await _0x59166d[_0x29c325(0x17c)](genSessionConfig,_0x2366fa,_0xdcdc67,this['dataPath']),_0x559033=new SessionListener();_0x559033['onSessionInitComplete']=_0x1f9ec0=>{const _0x2d90f1=_0x29c325;if(_0x4a8969['VIAjb'](_0x1f9ec0,0x0))return _0x4a8969[_0x2d90f1(0x160)](_0x438f9b,0x0);_0x4a8969['BYcNc'](_0x192b39,_0x1f9ec0);},this['session'][_0x29c325(0x180)](_0x1166bd,new _0x4cc405[(_0x29c325(0x15e))](new DependsAdapter()),new _0x4cc405[(_0x29c325(0x110))](new DispatcherAdapter()),new _0x4cc405[(_0x29c325(0x112))](_0x559033));try{this[_0x29c325(0x18e)][_0x29c325(0x15d)](0x0);}catch(_0x4a6418){try{this[_0x29c325(0x18e)][_0x29c325(0x15d)]();}catch(_0x2bdc1f){_0x59166d[_0x29c325(0x17d)](_0x192b39,_0x59166d[_0x29c325(0x172)](_0x29c325(0x1a2),_0x2bdc1f));}}});}['initDataListener'](){const _0x5811df=_0x2a4fc4,_0xd5f88e={'JAKWz':function(_0x52138a,_0x5a28f5){return _0x52138a(_0x5a28f5);},'fReGv':_0x5811df(0x162),'vgUGZ':_0x5811df(0x141),'ZqsUe':function(_0x2ea8c1,_0x1a22a4){return _0x2ea8c1+_0x1a22a4;},'NiJES':function(_0x34a6fe,_0x38e80f){return _0x34a6fe+_0x38e80f;},'wWJli':_0x5811df(0x144),'NeWFH':function(_0x4458ee,_0x3041db){return _0x4458ee/_0x3041db;},'KDByZ':function(_0x5dc75c,_0x5ad008){return _0x5dc75c===_0x5ad008;},'ZtRDK':'groupMemberList_MainWindow','KLPJX':function(_0x3b9184,_0x85d3f7,_0x23b00f){return _0x3b9184(_0x85d3f7,_0x23b00f);}},_0x267c59=new MsgListener();_0x267c59['onLineDev']=_0x20cccb=>{const _0x55b1f0=_0x5811df;_0x20cccb[_0x55b1f0(0x11e)](_0x3ff41c=>{const _0x3e2f12=_0x55b1f0;_0x3ff41c[_0x3e2f12(0x147)]===0x2&&_0xd5f88e[_0x3e2f12(0x14a)](log,_0xd5f88e[_0x3e2f12(0x133)]+_0x3ff41c[_0x3e2f12(0x1a7)]+_0xd5f88e[_0x3e2f12(0x12d)]);});},_0x267c59['onKickedOffLine']=_0x4d529d=>{const _0xd3aa34=_0x5811df;_0xd5f88e['JAKWz'](log,_0xd5f88e[_0xd3aa34(0x167)](_0xd5f88e[_0xd3aa34(0x184)](_0xd5f88e[_0xd3aa34(0x126)],_0x4d529d['tipsTitle'])+']\x20',_0x4d529d[_0xd3aa34(0x1a1)]));},_0x267c59[_0x5811df(0xfe)]=_0x5b4a29=>{const _0x351622=_0x5811df;stat[_0x351622(0x15f)]+=0x1,stat[_0x351622(0x14d)]+=0x1,stat['last_message_time']=Math[_0x351622(0x186)](_0xd5f88e[_0x351622(0x10a)](Date['now'](),0x3e8));},_0x267c59['onRecvMsg']=_0x772f8d=>{const _0x489443=_0x5811df;stat[_0x489443(0x19c)]+=0x1,stat[_0x489443(0x1a3)]+=_0x772f8d[_0x489443(0x196)],stat['last_message_time']=Math[_0x489443(0x186)](_0xd5f88e[_0x489443(0x10a)](Date['now'](),0x3e8));},_0x267c59[_0x5811df(0x16a)]=(..._0xbfce0f)=>{const _0x168146=_0x5811df;stat[_0x168146(0x19c)]+=0x1;},this[_0x5811df(0x192)](_0x267c59);const _0x517a29=new BuddyListener();_0x517a29[_0x5811df(0xf8)]=_0xfec09f=>{const _0x3915d2=_0x5811df;rawFriends['length']=0x0,rawFriends[_0x3915d2(0x13e)](..._0xfec09f);for(const _0x53a5d2 of _0xfec09f){for(const _0x483511 of _0x53a5d2[_0x3915d2(0x148)]){const _0x2a84ab=friends['get'](_0x483511[_0x3915d2(0x117)]);_0x2a84ab?Object[_0x3915d2(0x188)](_0x2a84ab,_0x483511):friends[_0x3915d2(0x17a)](_0x483511[_0x3915d2(0x117)],_0x483511);}}},this[_0x5811df(0x192)](_0x517a29),this['session'][_0x5811df(0x10d)]()[_0x5811df(0x149)](!![])['then'](_0x34fad6=>{});const _0x105c88=new ProfileListener();_0x105c88[_0x5811df(0x12a)]=_0x49346e=>{const _0x3b04bd=_0x5811df;_0xd5f88e[_0x3b04bd(0x118)](_0x49346e[_0x3b04bd(0x117)],selfInfo[_0x3b04bd(0x117)])&&Object[_0x3b04bd(0x188)](selfInfo,_0x49346e);},_0x105c88[_0x5811df(0x1a6)]=_0x109215=>{},this[_0x5811df(0x192)](_0x105c88);const _0x13a008=new GroupListener();_0x13a008[_0x5811df(0x169)]=(_0x56c47b,_0x48979b)=>{const _0x2e2de9=_0x5811df;_0x48979b[_0x2e2de9(0x11e)](_0x425638=>{const _0x3555be=_0x2e2de9,_0x205ca2=groups[_0x3555be(0x151)](_0x425638['groupCode']);_0x205ca2&&_0xd5f88e[_0x3555be(0x118)](_0x425638[_0x3555be(0x135)],_0x205ca2[_0x3555be(0x135)])?Object['assign'](_0x205ca2,_0x425638):groups[_0x3555be(0x17a)](_0x425638[_0x3555be(0x123)],_0x425638);const _0x45a5e5=this[_0x3555be(0x18e)][_0x3555be(0x12c)]()[_0x3555be(0x109)](_0x425638[_0x3555be(0x123)],_0xd5f88e[_0x3555be(0x150)]);this['session'][_0x3555be(0x12c)]()[_0x3555be(0x16f)](_0x45a5e5,undefined,0xbb8)[_0x3555be(0x138)](_0x28b080=>{});});},_0x13a008[_0x5811df(0x168)]=_0x58ce64=>{const _0x3bd5ca=_0x5811df,_0xcb9fa4=_0x58ce64[_0x3bd5ca(0x130)][_0x3bd5ca(0x177)]('_')[0x0];if(groupMembers[_0x3bd5ca(0x10c)](_0xcb9fa4)){const _0x35c3aa=groupMembers[_0x3bd5ca(0x151)](_0xcb9fa4);_0x58ce64['infos'][_0x3bd5ca(0x179)]((_0x79185d,_0x4fa6db)=>{const _0x1612d7=_0x3bd5ca,_0x23150f=_0x35c3aa[_0x1612d7(0x151)](_0x4fa6db);_0x23150f?Object[_0x1612d7(0x188)](_0x23150f,_0x79185d):_0x35c3aa[_0x1612d7(0x17a)](_0x4fa6db,_0x79185d);});}else groupMembers['set'](_0xcb9fa4,_0x58ce64['infos']);},_0x13a008[_0x5811df(0x12b)]=(_0x1dba23,_0x2764bd,_0x3c6b86)=>{const _0x4c55a7=_0x5811df;_0x2764bd===0x0&&_0x3c6b86[_0x4c55a7(0x151)](selfInfo[_0x4c55a7(0x117)])&&_0x3c6b86[_0x4c55a7(0x151)](selfInfo[_0x4c55a7(0x117)])?.[_0x4c55a7(0x19e)]&&_0xd5f88e[_0x4c55a7(0x113)](setTimeout,()=>{const _0x2f397b=_0x4c55a7;groups[_0x2f397b(0x19a)](_0x1dba23);},0x1388);const _0x33c108=groupMembers['get'](_0x1dba23);_0x33c108?_0x3c6b86[_0x4c55a7(0x179)]((_0x3f9ed4,_0x48fa48)=>{const _0x3902af=_0x4c55a7,_0x3a8744=_0x33c108[_0x3902af(0x151)](_0x48fa48);_0x3a8744?Object['assign'](_0x3a8744,_0x3f9ed4):_0x33c108['set'](_0x48fa48,_0x3f9ed4);}):groupMembers['set'](_0x1dba23,_0x3c6b86);},this[_0x5811df(0x192)](_0x13a008);}[_0x2a4fc4(0x192)](_0x368a9d){const _0x1edc97=_0x2a4fc4,_0x47805c={'iziqo':_0x1edc97(0x105),'mBchk':_0x1edc97(0x174),'sWGSH':_0x1edc97(0x18c)};_0x368a9d=new Proxy(_0x368a9d,this[_0x1edc97(0x158)]);switch(_0x368a9d[_0x1edc97(0x183)][_0x1edc97(0x154)]){case _0x47805c[_0x1edc97(0x125)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x10d)]()[_0x1edc97(0x176)](new _0x4cc405[(_0x1edc97(0x100))](_0x368a9d));}case _0x47805c[_0x1edc97(0xf2)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x12c)]()[_0x1edc97(0x19f)](new _0x4cc405[(_0x1edc97(0x190))](_0x368a9d));}case _0x1edc97(0x143):{return this[_0x1edc97(0x18e)][_0x1edc97(0xf1)]()['addKernelMsgListener'](new _0x4cc405[(_0x1edc97(0x195))](_0x368a9d));}case _0x47805c[_0x1edc97(0x127)]:{return this[_0x1edc97(0x18e)][_0x1edc97(0x115)]()[_0x1edc97(0x187)](new _0x4cc405[(_0x1edc97(0x178))](_0x368a9d));}default:return-0x1;}}['onLoginSuccess'](_0x1c41a3){const _0x1b6201=_0x2a4fc4;NTEventDispatch[_0x1b6201(0x180)]({'ListenerMap':_0x4cc405,'WrapperSession':this[_0x1b6201(0x18e)]}),this['onLoginSuccessFuncList'][_0x1b6201(0x13e)](_0x1c41a3);}async[_0x2a4fc4(0x16e)](_0x52984a){const _0x553b82=_0x2a4fc4,_0x44c217={'gIMQa':function(_0x47ae62,_0x314a20){return _0x47ae62!==_0x314a20;},'NOivQ':'没有可快速登录的QQ号','eStOT':function(_0x5742f1,_0x4c5fde){return _0x5742f1(_0x4c5fde);},'niQxJ':'快速登录失败\x20'},_0x1a596c=await this[_0x553b82(0x128)][_0x553b82(0x10e)]();if(_0x44c217[_0x553b82(0x159)](_0x1a596c[_0x553b82(0xef)],0x0))throw new Error(_0x44c217[_0x553b82(0x139)]);const _0x10c95a=_0x1a596c['LocalLoginInfoList'][_0x553b82(0x161)](_0x2fdfd9=>_0x2fdfd9[_0x553b82(0xf0)]===_0x52984a);if(!_0x10c95a||!_0x10c95a?.['isQuickLogin'])throw new Error(_0x52984a+_0x553b82(0xf3));await _0x44c217[_0x553b82(0x14e)](sleep,0x3e8);const _0x2585dd=await this[_0x553b82(0x128)][_0x553b82(0x194)](_0x52984a);if(!_0x2585dd[_0x553b82(0xef)])throw new Error(_0x44c217[_0x553b82(0x11f)]+_0x2585dd[_0x553b82(0x175)][_0x553b82(0x13f)]);return _0x2585dd;}async[_0x2a4fc4(0x119)](_0x30730b){const _0x45a11e=_0x2a4fc4,_0x59c41f={'frxKL':_0x45a11e(0x146),'moTwJ':_0x45a11e(0x121)};return new Promise((_0x2d8871,_0x26d287)=>{const _0x56eacb=_0x45a11e,_0x55d8f9={'KckkK':_0x59c41f[_0x56eacb(0x1a4)],'MVgKV':_0x59c41f[_0x56eacb(0x11c)]};this[_0x56eacb(0x114)][_0x56eacb(0x152)]=_0x5b7b21=>{const _0x363d1=_0x56eacb,_0x3b666c=_0x5b7b21[_0x363d1(0xf7)]['split'](_0x55d8f9['KckkK'])[0x1],_0x344ebd=Buffer[_0x363d1(0x137)](_0x3b666c,_0x55d8f9[_0x363d1(0x198)]);_0x30730b(_0x5b7b21[_0x363d1(0x103)],_0x5b7b21[_0x363d1(0xf7)],_0x344ebd);},this['loginService']['getQRCodePicture']();});}async['passwordLogin'](_0x1190ae,_0x15f8a8,_0x1e61b6,_0xd307d1,_0xcba735){const _0x384dae=_0x2a4fc4,_0x129076={'JxPqW':_0x384dae(0x15c),'emnMi':function(_0x12f83f,_0xd38a22){return _0x12f83f&&_0xd38a22;},'BhMdR':function(_0x37cf28,_0x47e80e){return _0x37cf28||_0x47e80e;},'aSgLz':function(_0x25769c,_0x41ba13){return _0x25769c||_0x41ba13;},'mkAqA':_0x384dae(0x189),'xuwfE':'140022013'},_0x5c07cb=_0x37de2d[_0x384dae(0x16c)](_0x129076[_0x384dae(0x157)])[_0x384dae(0x18a)](_0x15f8a8)[_0x384dae(0xf9)](_0x384dae(0x17f)),_0x2f4670={'uin':_0x1190ae,'passwordMd5':_0x5c07cb,'step':_0x129076[_0x384dae(0x11a)](_0x1e61b6,_0xd307d1)&&_0xcba735?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0x129076[_0x384dae(0xf4)](_0x1e61b6,''),'proofWaterRand':_0x129076['BhMdR'](_0xd307d1,''),'proofWaterSid':_0x129076[_0x384dae(0x11d)](_0xcba735,'')};await this['loginService'][_0x384dae(0x10e)](),await sleep(0x3e8);const _0x425c97=await this[_0x384dae(0x128)]['passwordLogin'](_0x2f4670);switch(_0x425c97['result']){case'0':{break;}case _0x129076[_0x384dae(0x145)]:{break;}case'4':case _0x129076[_0x384dae(0x12e)]:default:}}async[_0x2a4fc4(0x106)](){const _0x515900=_0x2a4fc4,_0xb7a85b=await this[_0x515900(0x128)]['getLoginList']();return _0xb7a85b;}}export const napCatCore=new NapCatCore(); \ No newline at end of file +const _0x2263d0=_0x3ceb;(function(_0x14bb8f,_0x10ae19){const _0x3bc10f=_0x3ceb,_0x358fee=_0x14bb8f();while(!![]){try{const _0x55c055=parseInt(_0x3bc10f(0x191))/0x1+-parseInt(_0x3bc10f(0x11e))/0x2*(parseInt(_0x3bc10f(0x1ab))/0x3)+parseInt(_0x3bc10f(0x11a))/0x4+parseInt(_0x3bc10f(0x17c))/0x5+parseInt(_0x3bc10f(0x1b5))/0x6+-parseInt(_0x3bc10f(0x15a))/0x7*(parseInt(_0x3bc10f(0x18c))/0x8)+-parseInt(_0x3bc10f(0x175))/0x9*(parseInt(_0x3bc10f(0x16d))/0xa);if(_0x55c055===_0x10ae19)break;else _0x358fee['push'](_0x358fee['shift']());}catch(_0x5e8619){_0x358fee['push'](_0x358fee['shift']());}}}(_0x12f3,0x7bd2f));import _0x3cd8a9 from'@/core/wrapper';import{BuddyListener,GroupListener,LoginListener,MsgListener,ProfileListener,SessionListener}from'@/core/listeners';import{DependsAdapter,DispatcherAdapter,GlobalAdapter}from'@/core/adapters';import _0x5e2c3d from'node:path';import _0x56a68b from'node:os';import _0x2be878 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 _0x12f3(){const _0x857e02=['登录失败(onQRCodeSessionFailed)','LocalLoginInfoList','map','onMemberInfoChange','2850516DnZFsi','onQRCodeSessionFailed','onQRCodeLoginSucceed','getMsgService','46jcJXVK','last_message_time','dataPathGlobal','mlrRZ','addKernelGroupListener','loginErrorInfo','resolve','onSelfStatusChanged','undefined','push',')已登录,无法重复登录','onGroupListUpdate','WCvkq','./.config/QQ','getLoginList','PbiiP','onSessionInitComplete','没有可快速登录的QQ号','onBuddyListChange','addKernelLoginListener','addListener','sSNkB','assign','delete','ulDJC','./NapCat/data','message_received','账号设备(','[KickedOffLine]\x20[','constructor','gRBcH','find','Pnzrg','packet_sent','rbpps','aTIiN','当前账号(','NodeIKernelMsgListener','uqiZr','tipsTitle','initWithDeskTopConfig','CSeKh','stringify','hGjsq','uin','md5','fzhLD','exrau','init\x20failed\x20','vMYyM','IKFat','NodeIQQNTWrapperEngine','initConfig','NodeIKernelLoginService','vAXCI','NodeIDependsAdapter','result','dataPath','onRecvMsg','groupCode','37331OtlOBw','KURSw','onMemberListChange','isDelete','NodeIKernelGroupListener','loginListener','buddyList','GroupListener','isQuickLogin','catch','getQRCodePicture','peBLS','initSession\x20failed','NodeQQNTWrapperUtil','packet_received','V1_WIN_NQ_','get','memberCount','homedir','190zRnRFq','split','登录失败(onLoginFailed)','FtoZZ','uid','groupMemberList_MainWindow','devUid','VHOOc','181044RAJlWV','quickLoginWithUin','qrLogin','ZOOKG','set','onQRCodeGetPicture','passwordLogin','2952370Tpjwqq','onLoginSuccessFuncList','has','mkdirSync','onRecvSysMsg','replace','curVersion','getNextMemberList','onProfileDetailInfoChanged','digest','floor','IsuOr','\x20has\x20no\x20method\x20','quickLogin','startNT','initDataListener','1400FdmGaR','base64','session','GwIMC','loginService','8400BsOPzP','HICzJ','soZQP','message_sent','pngBase64QrcodeData','pSkGh','consoleLogLevel','onLoginFailed','addKernelMsgListener','NodeIDispatcherAdapter','poifh','MbFUW','cBSRB','iTIZC','TTGwu','from','infos','KtBzo','now','lIKXD','DtNuS','./nt_qq/global','then','本账号数据/缓存目录:','getBuddyService','length','22863CeNJaW','uURdw','proxyHandler','engine','NodeIKernelProfileListener','consoleLog','KQsHr','oCtDp','140022008','dXmWe','4118652OQugGb','GraYI','NodeIKernelSessionListener','NodeIQQNTWrapperSession','onLineDev','addKernelBuddyListener','init','forEach','UqOMJ','qrcodeUrl','fileLogLevel','YvyuQ','-v2.db','util','getQuickLoginList','uxvHM','clientType','JZxxh','createHash','name','140022013','快速登录失败\x20','快速登录不可用','hex','getProfileService','_GW_B','read','BuddyListener','FcYJq','getGroupService','getBuddyList'];_0x12f3=function(){return _0x857e02;};return _0x12f3();}import{sleep}from'@/common/utils/helper';import _0x4f05e3 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{[_0x2263d0(0x18e)];[_0x2263d0(0x1c2)];[_0x2263d0(0x1ae)];[_0x2263d0(0x15f)];[_0x2263d0(0x190)];[_0x2263d0(0x17d)]=[];[_0x2263d0(0x1ad)]={'get'(target,prop,receiver){const _0x2cfd4b=_0x2263d0,MhSWXM={'JZxxh':function(x,y){return x===y;},'VHOOc':_0x2cfd4b(0x126)};if(MhSWXM[_0x2cfd4b(0x1c6)](typeof target[prop],MhSWXM[_0x2cfd4b(0x174)]))return(...args)=>{const _0xb7608d=_0x2cfd4b;logDebug(target[_0xb7608d(0x13b)][_0xb7608d(0x1c8)]+_0xb7608d(0x188)+prop);};return Reflect['get'](target,prop,receiver);}};constructor(){const _0x4665b9=_0x2263d0,_0x55f819={'lIKXD':function(_0x4517ff,_0x5a6fd1){return _0x4517ff+_0x5a6fd1;},'IsuOr':_0x4665b9(0x142),'soZQP':_0x4665b9(0x128),'TjBQf':function(_0x22e232,_0x3681e5){return _0x22e232(_0x3681e5);},'peBLS':function(_0x59b5ae,_0x324144){return _0x59b5ae(_0x324144);},'TJuWJ':function(_0xf5cb80,_0x54a8de,_0x56e555){return _0xf5cb80(_0x54a8de,_0x56e555);},'Pnzrg':_0x4665b9(0x1a8),'vAXCI':function(_0x593519,_0x3d2ba3,_0x2942df){return _0x593519(_0x3d2ba3,_0x2942df);},'GwMWR':_0x4665b9(0x166),'YvyuQ':_0x4665b9(0x1d4),'gvdqB':function(_0x58f252,_0x4dcbb5){return _0x58f252==_0x4dcbb5;}};this[_0x4665b9(0x1ae)]=new _0x3cd8a9[(_0x4665b9(0x151))](),this[_0x4665b9(0x1c2)]=new _0x3cd8a9[(_0x4665b9(0x167))](),this[_0x4665b9(0x190)]=new _0x3cd8a9[(_0x4665b9(0x153))](),this[_0x4665b9(0x18e)]=new _0x3cd8a9[(_0x4665b9(0x1b8))](),this[_0x4665b9(0x15f)]=new LoginListener(),this[_0x4665b9(0x15f)]['onUserLoggedIn']=_0x4e1a42=>{const _0x525b7b=_0x4665b9;logError(_0x55f819[_0x525b7b(0x1a4)](_0x55f819[_0x525b7b(0x187)],_0x4e1a42)+_0x55f819[_0x525b7b(0x193)]);},this['initConfig'](),this[_0x4665b9(0x15f)][_0x4665b9(0x11c)]=_0x4a2a7d=>{const _0x420095=_0x4665b9,_0x11607a={'MbFUW':function(_0x57817c,_0xad8025,_0x276fd2){return _0x57817c(_0xad8025,_0x276fd2);},'uURdw':function(_0x23d4dd,_0x472980,_0x39e8df){return _0x23d4dd(_0x472980,_0x39e8df);},'IKFat':function(_0x1a24f2,_0x9c2bea){return _0x55f819['TjBQf'](_0x1a24f2,_0x9c2bea);},'GraYI':function(_0x36aeb4,_0x1aee2d){const _0x2a2a36=_0x3ceb;return _0x55f819[_0x2a2a36(0x165)](_0x36aeb4,_0x1aee2d);},'dXmWe':function(_0x22ad5e,_0x13d90e,_0x3828a5){return _0x55f819['TJuWJ'](_0x22ad5e,_0x13d90e,_0x3828a5);},'exrau':_0x55f819[_0x420095(0x13e)],'vteWi':function(_0x34b91f,_0x58b7e3,_0x5db3a5){return _0x55f819['vAXCI'](_0x34b91f,_0x58b7e3,_0x5db3a5);},'LXlSI':_0x55f819['GwMWR']};this['initSession'](_0x4a2a7d[_0x420095(0x14a)],_0x4a2a7d[_0x420095(0x171)])['then'](_0x484465=>{const _0x379ae3=_0x420095,_0x120bc6={'vMYyM':function(_0x3d29d6,_0x426bbc,_0x59faed){const _0x4433d2=_0x3ceb;return _0x11607a[_0x4433d2(0x19c)](_0x3d29d6,_0x426bbc,_0x59faed);},'qumcO':'数据库初始化失败'};selfInfo[_0x379ae3(0x14a)]=_0x4a2a7d['uin'],selfInfo['uid']=_0x4a2a7d[_0x379ae3(0x171)],napCatConfig[_0x379ae3(0x1cf)](),_0x11607a[_0x379ae3(0x1ac)](setLogLevel,napCatConfig[_0x379ae3(0x1bf)],napCatConfig[_0x379ae3(0x197)]),enableFileLog(napCatConfig['fileLog']),_0x11607a[_0x379ae3(0x150)](enableConsoleLog,napCatConfig[_0x379ae3(0x1b0)]),_0x11607a[_0x379ae3(0x1b6)](setLogSelfInfo,selfInfo);const _0x87fc9f=_0x5e2c3d['resolve'](this[_0x379ae3(0x157)],_0x379ae3(0x137));_0x2be878[_0x379ae3(0x17f)](_0x87fc9f,{'recursive':!![]}),_0x11607a[_0x379ae3(0x1b4)](logDebug,_0x11607a[_0x379ae3(0x14d)],_0x87fc9f),dbUtil['init'](_0x5e2c3d[_0x379ae3(0x124)](_0x87fc9f,'./'+_0x4a2a7d['uin']+_0x379ae3(0x1c1)))[_0x379ae3(0x1a7)](()=>{const _0x57b4ef=_0x379ae3;this[_0x57b4ef(0x18b)](),this[_0x57b4ef(0x17d)]['map'](_0x445ca8=>{const _0x4b2d9d=_0x57b4ef;new Promise((_0x37b25f,_0x4ea29d)=>{const _0xe1df42=_0x3ceb,_0x137539=_0x445ca8(_0x4a2a7d[_0xe1df42(0x14a)],_0x4a2a7d[_0xe1df42(0x171)]);_0x137539 instanceof Promise&&_0x137539['then'](_0x37b25f)[_0xe1df42(0x163)](_0x4ea29d);})[_0x4b2d9d(0x1a7)]();});})[_0x379ae3(0x163)](_0x33ff12=>{const _0x160a54=_0x379ae3;_0x120bc6[_0x160a54(0x14f)](logError,_0x120bc6['qumcO'],_0x33ff12);});})['catch'](_0x50cfeb=>{const _0x5192d4=_0x420095;_0x11607a['vteWi'](logError,_0x11607a['LXlSI'],_0x50cfeb);throw new Error('启动失败:\x20'+JSON[_0x5192d4(0x148)](_0x50cfeb));});},this['loginListener'][_0x4665b9(0x11b)]=(_0x46be09,_0x3e0868,_0x11cb09)=>{const _0x352b62=_0x4665b9;_0x55f819['TJuWJ'](logError,_0x55f819[_0x352b62(0x1c0)],_0x11cb09),_0x46be09==0x1&&_0x55f819['gvdqB'](_0x3e0868,0x3)&&this[_0x352b62(0x190)][_0x352b62(0x164)]();},this['loginListener'][_0x4665b9(0x198)]=_0x40f7e8=>{const _0x27324b=_0x4665b9;_0x55f819[_0x27324b(0x154)](logError,_0x27324b(0x16f),_0x40f7e8);},this[_0x4665b9(0x15f)]=new Proxy(this[_0x4665b9(0x15f)],this['proxyHandler']),this[_0x4665b9(0x190)][_0x4665b9(0x131)](new _0x3cd8a9['NodeIKernelLoginListener'](this[_0x4665b9(0x15f)]));}get[_0x2263d0(0x157)](){const _0x3df437=_0x2263d0,_0x3c8ac9={'poifh':_0x3df437(0x12b)};let _0x40254d=this[_0x3df437(0x1c2)]['getNTUserDataInfoConfig']();return!_0x40254d&&(_0x40254d=_0x5e2c3d[_0x3df437(0x124)](_0x56a68b[_0x3df437(0x16c)](),_0x3c8ac9[_0x3df437(0x19b)]),_0x2be878[_0x3df437(0x17f)](_0x40254d,{'recursive':!![]})),_0x40254d;}get[_0x2263d0(0x120)](){const _0x4fb054=_0x2263d0,_0x3506c7={'UqOMJ':_0x4fb054(0x1a6)};return _0x5e2c3d[_0x4fb054(0x124)](this[_0x4fb054(0x157)],_0x3506c7[_0x4fb054(0x1bd)]);}[_0x2263d0(0x152)](){const _0x55af89=_0x2263d0;this['engine'][_0x55af89(0x146)]({'base_path_prefix':'','platform_type':0x3,'app_type':0x4,'app_version':qqVersionConfigInfo['curVersion'],'os_version':'Windows\x2010\x20Pro','use_xlog':!![],'qua':_0x55af89(0x169)+qqVersionConfigInfo['curVersion'][_0x55af89(0x181)]('-','_')+_0x55af89(0x1ce),'global_path_config':{'desktopGlobalPath':this['dataPathGlobal']},'thumb_config':{'maxSide':0x144,'minSide':0x30,'longLimit':0x6,'density':0x2}},new _0x3cd8a9['NodeIGlobalAdapter'](new GlobalAdapter())),this[_0x55af89(0x190)][_0x55af89(0x152)]({'machineId':'','appid':appid,'platVer':systemVersion,'commonPath':this[_0x55af89(0x120)],'clientVer':qqVersionConfigInfo[_0x55af89(0x182)],'hostName':hostname});}['initSession'](_0x549432,_0x27ee9a){const _0x33ce76=_0x2263d0,_0x3cc39e={'oCtDp':function(_0x4830f,_0x1a7816){return _0x4830f===_0x1a7816;},'DtNuS':function(_0x1fcf0f,_0x19d573){return _0x1fcf0f(_0x19d573);},'PbiiP':function(_0x3989f8,_0x2647ff){return _0x3989f8(_0x2647ff);},'ZOOKG':function(_0x51a2c3,_0x3f82ab,_0x260301,_0x17d3ad){return _0x51a2c3(_0x3f82ab,_0x260301,_0x17d3ad);},'fzhLD':function(_0x4282a8,_0x458885){return _0x4282a8(_0x458885);},'aTIiN':function(_0x3714f9,_0x56a5e2){return _0x3714f9+_0x56a5e2;},'CNzbK':_0x33ce76(0x14e)};return new Promise(async(_0x4c5fd4,_0x1d969c)=>{const _0x316709=_0x33ce76,_0x11abed=await _0x3cc39e[_0x316709(0x178)](genSessionConfig,_0x549432,_0x27ee9a,this['dataPath']),_0x45878e=new SessionListener();_0x45878e[_0x316709(0x12e)]=_0x3ce336=>{const _0x53c433=_0x316709;if(_0x3cc39e[_0x53c433(0x1b2)](_0x3ce336,0x0))return _0x3cc39e[_0x53c433(0x1a5)](_0x4c5fd4,0x0);_0x3cc39e[_0x53c433(0x12d)](_0x1d969c,_0x3ce336);},this['session'][_0x316709(0x1bb)](_0x11abed,new _0x3cd8a9[(_0x316709(0x155))](new DependsAdapter()),new _0x3cd8a9[(_0x316709(0x19a))](new DispatcherAdapter()),new _0x3cd8a9[(_0x316709(0x1b7))](_0x45878e));try{this[_0x316709(0x18e)]['startNT'](0x0);}catch(_0x5813b6){try{this['session'][_0x316709(0x18a)]();}catch(_0x5a5c77){_0x3cc39e[_0x316709(0x14c)](_0x1d969c,_0x3cc39e[_0x316709(0x141)](_0x3cc39e['CNzbK'],_0x5a5c77));}}});}[_0x2263d0(0x18b)](){const _0x34ea9a=_0x2263d0,_0x4c66fa={'HICzJ':function(_0x1bffc5,_0x3c3be3){return _0x1bffc5===_0x3c3be3;},'NCTWD':function(_0x42ad7c,_0x30c631){return _0x42ad7c(_0x30c631);},'KURSw':function(_0x5bf655,_0x156756){return _0x5bf655+_0x156756;},'KtBzo':_0x34ea9a(0x139),'GwIMC':function(_0x57a25c,_0x536e24){return _0x57a25c+_0x536e24;},'pSkGh':_0x34ea9a(0x13a),'ulDJC':function(_0x187609,_0x277a05){return _0x187609/_0x277a05;},'FcYJq':function(_0x19510e,_0x48c732){return _0x19510e/_0x48c732;},'iTIZC':_0x34ea9a(0x172),'WCvkq':function(_0x481f9a,_0x3d3e2e){return _0x481f9a===_0x3d3e2e;}},_0x54c700=new MsgListener();_0x54c700[_0x34ea9a(0x1b9)]=_0x6ee7b7=>{_0x6ee7b7['map'](_0xb9e5cb=>{const _0x233eb3=_0x3ceb;_0x4c66fa['HICzJ'](_0xb9e5cb[_0x233eb3(0x1c5)],0x2)&&_0x4c66fa['NCTWD'](log,_0x4c66fa[_0x233eb3(0x15b)](_0x4c66fa[_0x233eb3(0x1a2)]+_0xb9e5cb[_0x233eb3(0x173)],')\x20在线状态变更'));});},_0x54c700['onKickedOffLine']=_0x43c2e2=>{const _0x1672f4=_0x34ea9a;log(_0x4c66fa['KURSw'](_0x4c66fa[_0x1672f4(0x18f)](_0x4c66fa[_0x1672f4(0x15b)](_0x4c66fa[_0x1672f4(0x196)],_0x43c2e2[_0x1672f4(0x145)]),']\x20'),_0x43c2e2['tipsDesc']));},_0x54c700['onAddSendMsg']=_0x5bf4f7=>{const _0x19e149=_0x34ea9a;stat[_0x19e149(0x13f)]+=0x1,stat[_0x19e149(0x194)]+=0x1,stat[_0x19e149(0x11f)]=Math['floor'](_0x4c66fa[_0x19e149(0x136)](Date['now'](),0x3e8));},_0x54c700[_0x34ea9a(0x158)]=_0xe47309=>{const _0x5dce2d=_0x34ea9a;stat['packet_received']+=0x1,stat[_0x5dce2d(0x138)]+=_0xe47309['length'],stat['last_message_time']=Math[_0x5dce2d(0x186)](_0x4c66fa[_0x5dce2d(0x1d1)](Date[_0x5dce2d(0x1a3)](),0x3e8));},_0x54c700[_0x34ea9a(0x180)]=(..._0x473f12)=>{const _0x130d9f=_0x34ea9a;stat[_0x130d9f(0x168)]+=0x1;},this[_0x34ea9a(0x132)](_0x54c700);const _0x5d1696=new BuddyListener();_0x5d1696[_0x34ea9a(0x130)]=_0x55223d=>{const _0x4852d8=_0x34ea9a;rawFriends[_0x4852d8(0x1aa)]=0x0,rawFriends['push'](..._0x55223d);for(const _0xeeef3c of _0x55223d){for(const _0x45c52d of _0xeeef3c[_0x4852d8(0x160)]){const _0x79b42d=friends[_0x4852d8(0x16a)](_0x45c52d[_0x4852d8(0x171)]);_0x79b42d?Object[_0x4852d8(0x134)](_0x79b42d,_0x45c52d):friends[_0x4852d8(0x179)](_0x45c52d['uid'],_0x45c52d);}}},this[_0x34ea9a(0x132)](_0x5d1696),this[_0x34ea9a(0x18e)][_0x34ea9a(0x1a9)]()[_0x34ea9a(0x1d3)](!![])['then'](_0x565933=>{});const _0x53388a=new ProfileListener();_0x53388a[_0x34ea9a(0x184)]=_0x3ece49=>{const _0x12f805=_0x34ea9a;_0x3ece49[_0x12f805(0x171)]===selfInfo[_0x12f805(0x171)]&&Object[_0x12f805(0x134)](selfInfo,_0x3ece49);},_0x53388a[_0x34ea9a(0x125)]=_0x685c4=>{},this[_0x34ea9a(0x132)](_0x53388a);const _0x937e3=new GroupListener();_0x937e3[_0x34ea9a(0x129)]=(_0x300c80,_0x474126)=>{const _0x438da4=_0x34ea9a;_0x474126[_0x438da4(0x1d6)](_0x43dc4e=>{const _0x2dd19a=_0x438da4,_0x2f9610=groups[_0x2dd19a(0x16a)](_0x43dc4e[_0x2dd19a(0x159)]);_0x2f9610&&_0x4c66fa[_0x2dd19a(0x192)](_0x43dc4e[_0x2dd19a(0x16b)],_0x2f9610[_0x2dd19a(0x16b)])?Object[_0x2dd19a(0x134)](_0x2f9610,_0x43dc4e):groups[_0x2dd19a(0x179)](_0x43dc4e[_0x2dd19a(0x159)],_0x43dc4e);const _0x4bca07=this[_0x2dd19a(0x18e)][_0x2dd19a(0x1d2)]()['createMemberListScene'](_0x43dc4e[_0x2dd19a(0x159)],_0x4c66fa[_0x2dd19a(0x19e)]);this[_0x2dd19a(0x18e)]['getGroupService']()[_0x2dd19a(0x183)](_0x4bca07,undefined,0xbb8)[_0x2dd19a(0x1a7)](_0x2c4aa9=>{});});},_0x937e3[_0x34ea9a(0x15c)]=_0x5eef8e=>{const _0x538392=_0x34ea9a,_0x3e0a39=_0x5eef8e['sceneId'][_0x538392(0x16e)]('_')[0x0];if(groupMembers[_0x538392(0x17e)](_0x3e0a39)){const _0x5af4bb=groupMembers[_0x538392(0x16a)](_0x3e0a39);_0x5eef8e[_0x538392(0x1a1)][_0x538392(0x1bc)]((_0x5a5692,_0x1782e4)=>{const _0x4c8ba3=_0x538392,_0x2e001d=_0x5af4bb[_0x4c8ba3(0x16a)](_0x1782e4);_0x2e001d?Object[_0x4c8ba3(0x134)](_0x2e001d,_0x5a5692):_0x5af4bb[_0x4c8ba3(0x179)](_0x1782e4,_0x5a5692);});}else groupMembers[_0x538392(0x179)](_0x3e0a39,_0x5eef8e[_0x538392(0x1a1)]);},_0x937e3[_0x34ea9a(0x1d7)]=(_0x39f86e,_0x5c7002,_0x656fc7)=>{const _0x241224=_0x34ea9a;_0x4c66fa[_0x241224(0x12a)](_0x5c7002,0x0)&&_0x656fc7[_0x241224(0x16a)](selfInfo[_0x241224(0x171)])&&_0x656fc7['get'](selfInfo[_0x241224(0x171)])?.[_0x241224(0x15d)]&&setTimeout(()=>{const _0x9fda7c=_0x241224;groups[_0x9fda7c(0x135)](_0x39f86e);},0x1388);const _0x245072=groupMembers['get'](_0x39f86e);_0x245072?_0x656fc7[_0x241224(0x1bc)]((_0x130224,_0x5cdea5)=>{const _0x383a05=_0x241224,_0x4903fa=_0x245072[_0x383a05(0x16a)](_0x5cdea5);_0x4903fa?Object['assign'](_0x4903fa,_0x130224):_0x245072[_0x383a05(0x179)](_0x5cdea5,_0x130224);}):groupMembers['set'](_0x39f86e,_0x656fc7);},this[_0x34ea9a(0x132)](_0x937e3);}[_0x2263d0(0x132)](_0x54d223){const _0x1e8289=_0x2263d0,_0x523548={'KQsHr':_0x1e8289(0x161),'uqiZr':'MsgListener','uxvHM':'ProfileListener'};_0x54d223=new Proxy(_0x54d223,this[_0x1e8289(0x1ad)]);switch(_0x54d223[_0x1e8289(0x13b)]['name']){case _0x1e8289(0x1d0):{return this[_0x1e8289(0x18e)][_0x1e8289(0x1a9)]()[_0x1e8289(0x1ba)](new _0x3cd8a9['NodeIKernelBuddyListener'](_0x54d223));}case _0x523548[_0x1e8289(0x1b1)]:{return this['session'][_0x1e8289(0x1d2)]()[_0x1e8289(0x122)](new _0x3cd8a9[(_0x1e8289(0x15e))](_0x54d223));}case _0x523548[_0x1e8289(0x144)]:{return this[_0x1e8289(0x18e)][_0x1e8289(0x11d)]()[_0x1e8289(0x199)](new _0x3cd8a9[(_0x1e8289(0x143))](_0x54d223));}case _0x523548[_0x1e8289(0x1c4)]:{return this[_0x1e8289(0x18e)][_0x1e8289(0x1cd)]()['addKernelProfileListener'](new _0x3cd8a9[(_0x1e8289(0x1af))](_0x54d223));}default:return-0x1;}}['onLoginSuccess'](_0x370782){const _0x1f96fe=_0x2263d0;NTEventDispatch[_0x1f96fe(0x1bb)]({'ListenerMap':_0x3cd8a9,'WrapperSession':this[_0x1f96fe(0x18e)]}),this['onLoginSuccessFuncList'][_0x1f96fe(0x127)](_0x370782);}async[_0x2263d0(0x189)](_0x3194a2){const _0x87dc32=_0x2263d0,_0x95142f={'sSNkB':function(_0x55db73,_0x4b6573){return _0x55db73!==_0x4b6573;},'hGjsq':_0x87dc32(0x1ca)},_0x589c80=await this[_0x87dc32(0x190)][_0x87dc32(0x12c)]();if(_0x95142f[_0x87dc32(0x133)](_0x589c80['result'],0x0))throw new Error(_0x87dc32(0x12f));const _0x46b6a1=_0x589c80[_0x87dc32(0x1d5)][_0x87dc32(0x13d)](_0x57ffc0=>_0x57ffc0['uin']===_0x3194a2);if(!_0x46b6a1||!_0x46b6a1?.[_0x87dc32(0x162)])throw new Error(_0x3194a2+_0x87dc32(0x1cb));await sleep(0x3e8);const _0x11f47e=await this[_0x87dc32(0x190)][_0x87dc32(0x176)](_0x3194a2);if(!_0x11f47e[_0x87dc32(0x156)])throw new Error(_0x95142f[_0x87dc32(0x149)]+_0x11f47e[_0x87dc32(0x123)]['errMsg']);return _0x11f47e;}async[_0x2263d0(0x177)](_0x160a3a){const _0x34b94e=_0x2263d0,_0xe282dc={'TTGwu':'data:image/png;base64,','gRBcH':_0x34b94e(0x18d),'FtoZZ':function(_0x4f3983,_0x467686,_0x1d594c,_0x12beea){return _0x4f3983(_0x467686,_0x1d594c,_0x12beea);}};return new Promise((_0x4c4355,_0x1c577a)=>{const _0xe0e48b=_0x34b94e;this['loginListener'][_0xe0e48b(0x17a)]=_0x3a424f=>{const _0x674f10=_0xe0e48b,_0x25ba40=_0x3a424f['pngBase64QrcodeData'][_0x674f10(0x16e)](_0xe282dc[_0x674f10(0x19f)])[0x1],_0x46bacd=Buffer[_0x674f10(0x1a0)](_0x25ba40,_0xe282dc[_0x674f10(0x13c)]);_0xe282dc[_0x674f10(0x170)](_0x160a3a,_0x3a424f[_0x674f10(0x1be)],_0x3a424f[_0x674f10(0x195)],_0x46bacd);},this[_0xe0e48b(0x190)][_0xe0e48b(0x164)]();});}async[_0x2263d0(0x17b)](_0x76348b,_0x422a54,_0xeaf2cf,_0x3fc346,_0xa40a32){const _0x147efb=_0x2263d0,_0xa72003={'mlrRZ':_0x147efb(0x14b),'IWKEO':_0x147efb(0x1cc),'CSeKh':function(_0x240ffc,_0x217b96){return _0x240ffc||_0x217b96;},'bzrtp':function(_0x40cc89,_0x378715){return _0x40cc89(_0x378715);},'cBSRB':_0x147efb(0x1b3),'rbpps':_0x147efb(0x1c9)},_0x8c9544=_0x4f05e3[_0x147efb(0x1c7)](_0xa72003[_0x147efb(0x121)])['update'](_0x422a54)[_0x147efb(0x185)](_0xa72003['IWKEO']),_0x14e7f8={'uin':_0x76348b,'passwordMd5':_0x8c9544,'step':_0xeaf2cf&&_0x3fc346&&_0xa40a32?0x1:0x0,'newDeviceLoginSig':'','proofWaterSig':_0xa72003[_0x147efb(0x147)](_0xeaf2cf,''),'proofWaterRand':_0xa72003[_0x147efb(0x147)](_0x3fc346,''),'proofWaterSid':_0xa72003[_0x147efb(0x147)](_0xa40a32,'')};await this[_0x147efb(0x190)][_0x147efb(0x12c)](),await _0xa72003['bzrtp'](sleep,0x3e8);const _0x587626=await this[_0x147efb(0x190)]['passwordLogin'](_0x14e7f8);switch(_0x587626[_0x147efb(0x156)]){case'0':{break;}case _0xa72003[_0x147efb(0x19d)]:{break;}case'4':case _0xa72003[_0x147efb(0x140)]:default:}}async[_0x2263d0(0x1c3)](){const _0x1795d8=_0x2263d0,_0x18df5a=await this[_0x1795d8(0x190)][_0x1795d8(0x12c)]();return _0x18df5a;}}function _0x3ceb(_0x599d78,_0x22eff2){const _0x12f3aa=_0x12f3();return _0x3ceb=function(_0x3ceb01,_0x398712){_0x3ceb01=_0x3ceb01-0x11a;let _0xbc77e9=_0x12f3aa[_0x3ceb01];return _0xbc77e9;},_0x3ceb(_0x599d78,_0x22eff2);}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 33878e75..8ccc0c78 100644 --- a/src/core.lib/src/data.js +++ b/src/core.lib/src/data.js @@ -1 +1 @@ -(function(_0x33edcd,_0x59f747){const _0x564bf5=_0x3317,_0x47eb43=_0x33edcd();while(!![]){try{const _0x594c49=parseInt(_0x564bf5(0xc1))/0x1*(parseInt(_0x564bf5(0xb7))/0x2)+parseInt(_0x564bf5(0xbf))/0x3*(-parseInt(_0x564bf5(0xb2))/0x4)+parseInt(_0x564bf5(0xbe))/0x5+-parseInt(_0x564bf5(0xae))/0x6*(-parseInt(_0x564bf5(0xb5))/0x7)+-parseInt(_0x564bf5(0xb1))/0x8*(parseInt(_0x564bf5(0xbc))/0x9)+parseInt(_0x564bf5(0xac))/0xa*(-parseInt(_0x564bf5(0xb8))/0xb)+-parseInt(_0x564bf5(0xad))/0xc;if(_0x594c49===_0x59f747)break;else _0x47eb43['push'](_0x47eb43['shift']());}catch(_0x4c50b4){_0x47eb43['push'](_0x47eb43['shift']());}}}(_0x1e65,0x64b0b));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();function _0x3317(_0x5624d,_0x169f19){const _0x1e65bc=_0x1e65();return _0x3317=function(_0x331702,_0x127910){_0x331702=_0x331702-0xab;let _0x26db76=_0x1e65bc[_0x331702];return _0x26db76;},_0x3317(_0x5624d,_0x169f19);}export function deleteGroup(_0x34ec55){const _0x355fb1=_0x3317;groups[_0x355fb1(0xbb)](_0x34ec55),groupMembers[_0x355fb1(0xbb)](_0x34ec55);}export const groupMembers=new Map();export const friends=new Map();function _0x1e65(){const _0x81485d=['delete','9NEuGnV','getGroupMembers','1325195dbbExy','7893qOXhEp','toString','17177OMjzYL','get','from','310130kLtpia','5797044YVCHEd','126pxQjBM','groupCode','find','457904IysSoc','4bgvDSm','uin','oznTv','2359hztGXr','AsILF','94DfZXxp','44WLXfRS','set','values'];_0x1e65=function(){return _0x81485d;};return _0x1e65();}export const groupNotifies={};export async function getGroup(_0x4dbc87){const _0x3d3418=_0x3317;let _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]());if(!_0x1dc7e8)try{const _0x133c9e=await NTQQGroupApi['getGroups']();_0x133c9e['length']&&_0x133c9e['forEach'](_0x12bf92=>{const _0x5c7dcf=_0x3d3418;groups[_0x5c7dcf(0xb9)](_0x12bf92[_0x5c7dcf(0xaf)],_0x12bf92);});}catch(_0x1991dd){return undefined;}return _0x1dc7e8=groups[_0x3d3418(0xc2)](_0x4dbc87[_0x3d3418(0xc0)]()),_0x1dc7e8;}export async function getGroupMember(_0x520a47,_0x22097e){const _0x36558e=_0x3317,_0x5da2da={'AsILF':function(_0x2272fe,_0x2f93e3){return _0x2272fe(_0x2f93e3);},'oznTv':function(_0x3d4bc8){return _0x3d4bc8();}};_0x520a47=_0x520a47['toString'](),_0x22097e=_0x22097e[_0x36558e(0xc0)]();let _0x20ad89=groupMembers[_0x36558e(0xc2)](_0x520a47);if(!_0x20ad89)try{_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),groupMembers[_0x36558e(0xb9)](_0x520a47,_0x20ad89);}catch(_0x34e000){return null;}const _0x18e1d8=()=>{const _0x31329c=_0x36558e;let _0x91912a=undefined;return _0x5da2da[_0x31329c(0xb6)](isNumeric,_0x22097e)?_0x91912a=Array[_0x31329c(0xab)](_0x20ad89[_0x31329c(0xba)]())[_0x31329c(0xb0)](_0x8b699b=>_0x8b699b[_0x31329c(0xb3)]===_0x22097e):_0x91912a=_0x20ad89[_0x31329c(0xc2)](_0x22097e),_0x91912a;};let _0x4faf63=_0x5da2da['oznTv'](_0x18e1d8);return!_0x4faf63&&(_0x20ad89=await NTQQGroupApi[_0x36558e(0xbd)](_0x520a47),_0x4faf63=_0x5da2da[_0x36558e(0xb4)](_0x18e1d8)),_0x4faf63;}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file +(function(_0x3c126f,_0x360ed5){const _0x5245f3=_0x4ad1,_0x3fd776=_0x3c126f();while(!![]){try{const _0xe94e9=-parseInt(_0x5245f3(0x14f))/0x1*(-parseInt(_0x5245f3(0x157))/0x2)+-parseInt(_0x5245f3(0x15a))/0x3+-parseInt(_0x5245f3(0x158))/0x4+parseInt(_0x5245f3(0x159))/0x5+-parseInt(_0x5245f3(0x156))/0x6+parseInt(_0x5245f3(0x151))/0x7*(parseInt(_0x5245f3(0x15d))/0x8)+parseInt(_0x5245f3(0x152))/0x9;if(_0xe94e9===_0x360ed5)break;else _0x3fd776['push'](_0x3fd776['shift']());}catch(_0x471ad0){_0x3fd776['push'](_0x3fd776['shift']());}}}(_0x518d,0x65abc));import{isNumeric}from'@/common/utils/helper';import{NTQQGroupApi}from'@/core/apis';export const Credentials={'Skey':'','CreatTime':0x0,'Cookies':new Map(),'ClientKey':'','KeyIndex':'','PskeyData':new Map(),'PskeyTime':new Map()};export const WebGroupData={'GroupData':new Map(),'GroupTime':new Map()};export const selfInfo={'uid':'','uin':'','nick':'','online':!![]};export const groups=new Map();export function deleteGroup(_0xe77c04){const _0x3504d6=_0x4ad1;groups[_0x3504d6(0x14d)](_0xe77c04),groupMembers[_0x3504d6(0x14d)](_0xe77c04);}export const groupMembers=new Map();export const friends=new Map();export const groupNotifies={};export async function getGroup(_0x9c99b5){const _0x27dc48=_0x4ad1;let _0x4f4fc8=groups['get'](_0x9c99b5[_0x27dc48(0x15c)]());if(!_0x4f4fc8)try{const _0x2450d2=await NTQQGroupApi[_0x27dc48(0x154)]();_0x2450d2[_0x27dc48(0x153)]&&_0x2450d2['forEach'](_0x377a22=>{const _0x5b0939=_0x27dc48;groups['set'](_0x377a22[_0x5b0939(0x150)],_0x377a22);});}catch(_0x42b6f6){return undefined;}return _0x4f4fc8=groups[_0x27dc48(0x14e)](_0x9c99b5[_0x27dc48(0x15c)]()),_0x4f4fc8;}function _0x518d(){const _0x2e68e1=['2449569OfOPso','from','toString','6634160tcaHxY','uin','yKeCz','MvdHn','delete','get','8sMXwdy','groupCode','7zFmomS','4199553GmjuEL','length','getGroups','getGroupMembers','1133190wENIqX','107990WMKtPP','1659968CfiiHf','544885afMDrm'];_0x518d=function(){return _0x2e68e1;};return _0x518d();}export async function getGroupMember(_0xaef6e5,_0x15b773){const _0x52058f=_0x4ad1,_0x454165={'yKeCz':function(_0x413291,_0x31ab1c){return _0x413291(_0x31ab1c);},'MvdHn':function(_0x9043f5){return _0x9043f5();}};_0xaef6e5=_0xaef6e5[_0x52058f(0x15c)](),_0x15b773=_0x15b773['toString']();let _0x237f16=groupMembers[_0x52058f(0x14e)](_0xaef6e5);if(!_0x237f16)try{_0x237f16=await NTQQGroupApi[_0x52058f(0x155)](_0xaef6e5),groupMembers['set'](_0xaef6e5,_0x237f16);}catch(_0xcaa62d){return null;}const _0x8df5c=()=>{const _0x176da9=_0x52058f;let _0x3a4fb3=undefined;return _0x454165[_0x176da9(0x14b)](isNumeric,_0x15b773)?_0x3a4fb3=Array[_0x176da9(0x15b)](_0x237f16['values']())['find'](_0x3c73fe=>_0x3c73fe[_0x176da9(0x14a)]===_0x15b773):_0x3a4fb3=_0x237f16[_0x176da9(0x14e)](_0x15b773),_0x3a4fb3;};let _0x61a17d=_0x454165['MvdHn'](_0x8df5c);return!_0x61a17d&&(_0x237f16=await NTQQGroupApi[_0x52058f(0x155)](_0xaef6e5),_0x61a17d=_0x454165[_0x52058f(0x14c)](_0x8df5c)),_0x61a17d;}function _0x4ad1(_0x4afab6,_0x33fef6){const _0x518dca=_0x518d();return _0x4ad1=function(_0x4ad108,_0x37b402){_0x4ad108=_0x4ad108-0x14a;let _0x407907=_0x518dca[_0x4ad108];return _0x407907;},_0x4ad1(_0x4afab6,_0x33fef6);}export const tempGroupCodeMap={};export const rawFriends=[];export const stat={'packet_received':0x0,'packet_sent':0x0,'message_received':0x0,'message_sent':0x0,'last_message_time':0x0,'disconnect_times':0x0,'lost_times':0x0,'packet_lost':0x0}; \ No newline at end of file diff --git a/src/core.lib/src/entities/cache.js b/src/core.lib/src/entities/cache.js index f8529165..fbea4aae 100644 --- a/src/core.lib/src/entities/cache.js +++ b/src/core.lib/src/entities/cache.js @@ -1 +1 @@ -(function(_0x8c32a6,_0x1f8dc1){var _0x31c6bc=_0x5b94,_0x14550f=_0x8c32a6();while(!![]){try{var _0x26cfb0=parseInt(_0x31c6bc(0xce))/0x1*(-parseInt(_0x31c6bc(0xcd))/0x2)+parseInt(_0x31c6bc(0xd6))/0x3*(-parseInt(_0x31c6bc(0xdf))/0x4)+-parseInt(_0x31c6bc(0xdd))/0x5*(-parseInt(_0x31c6bc(0xdb))/0x6)+parseInt(_0x31c6bc(0xd4))/0x7+parseInt(_0x31c6bc(0xd1))/0x8*(-parseInt(_0x31c6bc(0xcc))/0x9)+parseInt(_0x31c6bc(0xc9))/0xa*(-parseInt(_0x31c6bc(0xd9))/0xb)+parseInt(_0x31c6bc(0xd5))/0xc;if(_0x26cfb0===_0x1f8dc1)break;else _0x14550f['push'](_0x14550f['shift']());}catch(_0x9e07f6){_0x14550f['push'](_0x14550f['shift']());}}}(_0x2783,0xdb844));;export var CacheFileType;(function(_0x1feadb){var _0x3b011b=_0x5b94,_0x22fb04={'QwrTm':_0x3b011b(0xda),'khNJK':_0x3b011b(0xd0),'RKBKP':_0x3b011b(0xde),'zowbv':_0x3b011b(0xca),'LdwST':'VIDEO','DxToE':'AUDIO'},_0x1e60b0=_0x22fb04[_0x3b011b(0xd8)][_0x3b011b(0xcf)]('|'),_0x5595d7=0x0;while(!![]){switch(_0x1e60b0[_0x5595d7++]){case'0':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xdc)]]=0x0]=_0x22fb04['khNJK'];continue;case'1':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd2)]]=0x4]=_0x22fb04[_0x3b011b(0xd2)];continue;case'2':_0x1feadb[_0x1feadb[_0x3b011b(0xca)]=0x3]=_0x22fb04[_0x3b011b(0xcb)];continue;case'3':_0x1feadb[_0x1feadb[_0x22fb04['LdwST']]=0x1]=_0x22fb04[_0x3b011b(0xd3)];continue;case'4':_0x1feadb[_0x1feadb[_0x22fb04[_0x3b011b(0xd7)]]=0x2]=_0x22fb04['DxToE'];continue;}break;}}(CacheFileType||(CacheFileType={})));function _0x5b94(_0x24b76c,_0x1f89eb){var _0x27837a=_0x2783();return _0x5b94=function(_0x5b94d4,_0x5b297b){_0x5b94d4=_0x5b94d4-0xc9;var _0x5d606c=_0x27837a[_0x5b94d4];return _0x5d606c;},_0x5b94(_0x24b76c,_0x1f89eb);}function _0x2783(){var _0x4872ee=['15419657LtnlPs','0|3|4|2|1','2607828TSqXIl','khNJK','5Eqonwq','OTHER','3388VuooNg','10cvimVU','DOCUMENT','zowbv','12573BdHvAs','10lNhXwo','66821QcotDK','split','IMAGE','2696JauVps','RKBKP','LdwST','6278832KSbQYH','29716440Nbfcfv','2487iqGGlf','DxToE','QwrTm'];_0x2783=function(){return _0x4872ee;};return _0x2783();} \ No newline at end of file +(function(_0x5a621d,_0x36ae58){var _0x42149e=_0x4a52,_0x44c174=_0x5a621d();while(!![]){try{var _0x5469f0=parseInt(_0x42149e(0xac))/0x1+parseInt(_0x42149e(0xa1))/0x2*(-parseInt(_0x42149e(0xae))/0x3)+parseInt(_0x42149e(0xa4))/0x4*(parseInt(_0x42149e(0xab))/0x5)+-parseInt(_0x42149e(0xaa))/0x6*(-parseInt(_0x42149e(0xb0))/0x7)+-parseInt(_0x42149e(0xa0))/0x8+-parseInt(_0x42149e(0xa3))/0x9*(parseInt(_0x42149e(0xaf))/0xa)+parseInt(_0x42149e(0xa6))/0xb;if(_0x5469f0===_0x36ae58)break;else _0x44c174['push'](_0x44c174['shift']());}catch(_0x3e9ca7){_0x44c174['push'](_0x44c174['shift']());}}}(_0x3e8f,0x8896d));function _0x4a52(_0xdcbf4,_0x606f78){var _0x3e8fd5=_0x3e8f();return _0x4a52=function(_0x4a523d,_0x445771){_0x4a523d=_0x4a523d-0xa0;var _0x26d728=_0x3e8fd5[_0x4a523d];return _0x26d728;},_0x4a52(_0xdcbf4,_0x606f78);}function _0x3e8f(){var _0x2aa672=['EQBSb','ynAPI','Dvciw','2808sLBxlg','125HNRrpT','321095mLvvHq','AUDIO','18nbzdtf','30HSERLr','14959GjylxY','VIDEO','KVDVK','7379000fDzwlP','60748ykGDKb','DOCUMENT','1317843ONLtIb','22864timePA','OTHER','7031838lvAzvp'];_0x3e8f=function(){return _0x2aa672;};return _0x3e8f();};export var CacheFileType;(function(_0x576eee){var _0x477ac2=_0x4a52,_0x4a600b={'EQBSb':'IMAGE','ynAPI':'VIDEO','AiqSP':_0x477ac2(0xad),'KVDVK':_0x477ac2(0xa2),'Dvciw':_0x477ac2(0xa5)};_0x576eee[_0x576eee[_0x4a600b[_0x477ac2(0xa7)]]=0x0]=_0x4a600b[_0x477ac2(0xa7)],_0x576eee[_0x576eee[_0x477ac2(0xb1)]=0x1]=_0x4a600b[_0x477ac2(0xa8)],_0x576eee[_0x576eee[_0x4a600b['AiqSP']]=0x2]=_0x4a600b['AiqSP'],_0x576eee[_0x576eee[_0x477ac2(0xa2)]=0x3]=_0x4a600b[_0x477ac2(0xb2)],_0x576eee[_0x576eee[_0x4a600b['Dvciw']]=0x4]=_0x4a600b[_0x477ac2(0xa9)];}(CacheFileType||(CacheFileType={}))); \ No newline at end of file diff --git a/src/core.lib/src/entities/constructor.js b/src/core.lib/src/entities/constructor.js index b0cd5f23..460ac97e 100644 --- a/src/core.lib/src/entities/constructor.js +++ b/src/core.lib/src/entities/constructor.js @@ -1 +1 @@ -const _0x113586=_0x2538;(function(_0x1ef21d,_0x58e444){const _0x140acb=_0x2538,_0x43718a=_0x1ef21d();while(!![]){try{const _0x186bed=parseInt(_0x140acb(0xed))/0x1+parseInt(_0x140acb(0xde))/0x2*(parseInt(_0x140acb(0xfa))/0x3)+parseInt(_0x140acb(0xbd))/0x4+parseInt(_0x140acb(0xca))/0x5+parseInt(_0x140acb(0xba))/0x6+-parseInt(_0x140acb(0xd7))/0x7*(-parseInt(_0x140acb(0xf0))/0x8)+-parseInt(_0x140acb(0xee))/0x9;if(_0x186bed===_0x58e444)break;else _0x43718a['push'](_0x43718a['shift']());}catch(_0x1e3c14){_0x43718a['push'](_0x43718a['shift']());}}}(_0x1d6d,0x1930d));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x7655ef}from'node:fs';function _0x2538(_0x12af52,_0x41a37e){const _0x1d6dc1=_0x1d6d();return _0x2538=function(_0x2538f8,_0x1fce52){_0x2538f8=_0x2538f8-0xb2;let _0x1533f0=_0x1d6dc1[_0x2538f8];return _0x1533f0;},_0x2538(_0x12af52,_0x41a37e);}import _0x665fc2 from'fluent-ffmpeg';function _0x1d6d(){const _0x1958f0=['nQlox','HFkLq','egSFp','dirname','toString','文件异常,大小为0','Bot\x20Test','WNWTv','36195WUFWTs','urYEC','text','VIDEO','size','mface','oNSsw','语音转换失败,\x20请检查语音文件是否正常','NNBsY','Brrli','error','_0.png','markdown','kUMxw','JThRZ','FILE','sep','then','pJSUn','height','miniapp','icGvr','xDLny','[骰子]','writeFile','获取视频封面失败,使用默认封面','sysface','pic','width','video','EnkHa','PcaTb','1105728BQMOli','uMxNz','JcFUT','44764FrjjsE','AniStickerType','uploadFile','FACE','[包剪锤]','uSaGO','fpPgi','jpg','PTT','notAt','catch','TEXT','获取视频信息失败','800195ZBobZl','QSid','MARKDOWN','set','PIC','time','xhRMc','face','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','copyFile','EusMA','REPLY','Thumb','28fvQTFO','lpsdk','dice','mhCVH','mp4','stat','ARK','14rtACHf','QDes','AniStickerId','emoji','replace','skIOi','reply','unlink','AniStickerPackId','string','YlFuK','vfFRG','sNbnO','UpEBn','screenshots','172045KnqZli','5305725KUauEC','XnhAQ','161376jCYnSn','paMAT'];_0x1d6d=function(){return _0x1958f0;};return _0x1d6d();}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 _0x49f245 from'./face_config.json';import*as _0x50305b from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static[_0x113586(0xfc)](_0x5e8667){const _0x571cd0=_0x113586;return{'elementType':ElementType[_0x571cd0(0xc8)],'elementId':'','textElement':{'content':_0x5e8667,'atType':AtType[_0x571cd0(0xc6)],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x2b3067,_0x111b1a,_0x3ce0f8,_0x558933){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x558933,'atType':_0x3ce0f8,'atUid':_0x2b3067,'atTinyId':'','atNtUid':_0x111b1a}};}static[_0x113586(0xe4)](_0x9dd171,_0x6209c1,_0x3f1389,_0x1f62a9){const _0x54afd2=_0x113586;return{'elementType':ElementType[_0x54afd2(0xd5)],'elementId':'','replyElement':{'replayMsgSeq':_0x9dd171,'replayMsgId':_0x6209c1,'senderUin':_0x3f1389,'senderUinStr':_0x1f62a9}};}static async[_0x113586(0xb5)](_0x49194c,_0x3bc817='',_0x195fc7=0x0){const _0x407c55=_0x113586,_0x301216={'paMAT':function(_0x27cd2b,_0x479719){return _0x27cd2b===_0x479719;},'vfFRG':function(_0x5ad510,_0x249a38){return _0x5ad510(_0x249a38);}},{md5:_0xa05117,fileName:_0x1de2c4,path:_0x484b9d,fileSize:_0x47d59c}=await NTQQFileApi[_0x407c55(0xbf)](_0x49194c,ElementType[_0x407c55(0xce)],_0x195fc7);if(_0x301216[_0x407c55(0xf1)](_0x47d59c,0x0))throw _0x407c55(0xf7);const _0x3b71fd=await NTQQFileApi['getImageSize'](_0x49194c),_0x5f263c={'md5HexStr':_0xa05117,'fileSize':_0x47d59c[_0x407c55(0xf6)](),'picWidth':_0x3b71fd?.[_0x407c55(0xb6)],'picHeight':_0x3b71fd?.[_0x407c55(0x10d)],'fileName':_0x1de2c4,'sourcePath':_0x484b9d,'original':!![],'picType':_0x301216[_0x407c55(0xe9)](isGIF,_0x49194c)?PicType['gif']:PicType[_0x407c55(0xc4)],'picSubType':_0x195fc7,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x3bc817};return{'elementType':ElementType[_0x407c55(0xce)],'elementId':'','picElement':_0x5f263c};}static async['file'](_0x1de1bc,_0x3c0f5b='',_0x3507db=''){const _0x2bdca1=_0x113586,_0xefa635={'fpPgi':function(_0x594dda,_0x495609){return _0x594dda===_0x495609;},'JcFUT':_0x2bdca1(0xf7)},{md5:_0x406722,fileName:_0x1f85de,path:_0x38f9fd,fileSize:_0x366467}=await NTQQFileApi['uploadFile'](_0x1de1bc,ElementType['FILE']);if(_0xefa635[_0x2bdca1(0xc3)](_0x366467,0x0))throw _0xefa635[_0x2bdca1(0xbc)];const _0x594d59={'elementType':ElementType[_0x2bdca1(0x109)],'elementId':'','fileElement':{'fileName':_0x3c0f5b||_0x1f85de,'folderId':_0x3507db,'filePath':_0x38f9fd,'fileSize':_0x366467[_0x2bdca1(0xf6)]()}};return _0x594d59;}static async[_0x113586(0xb7)](_0x8b99fc,_0x20b2f9='',_0x5203b8=''){const _0x294fa1=_0x113586,_0x461066={'EusMA':function(_0x463678,_0x265da6){return _0x463678(_0x265da6);},'WNWTv':function(_0x3fa185,_0x6d1893,_0x721714){return _0x3fa185(_0x6d1893,_0x721714);},'egSFp':function(_0x11bcc4,_0x154c5d){return _0x11bcc4(_0x154c5d);},'uMxNz':'end','xDLny':function(_0x1072c0,_0x4c69fc){return _0x1072c0+_0x4c69fc;},'YlFuK':function(_0x410ede,_0xeb0c29){return _0x410ede===_0xeb0c29;},'mhCVH':'文件异常,大小为0','IFAtm':_0x294fa1(0xdb),'xhRMc':function(_0x984d5f,_0xcd4b18){return _0x984d5f(_0xcd4b18);},'JThRZ':function(_0x5d4caf,_0x23a2eb){return _0x5d4caf||_0x23a2eb;},'XnhAQ':function(_0x624fbb,_0x358bf7){return _0x624fbb+_0x358bf7;}},{fileName:_0x1fd7c9,path:_0x4a10d6,fileSize:_0x41b606,md5:_0x453768}=await NTQQFileApi[_0x294fa1(0xbf)](_0x8b99fc,ElementType[_0x294fa1(0xfd)]);if(_0x461066[_0x294fa1(0xe8)](_0x41b606,0x0))throw _0x461066[_0x294fa1(0xda)];let _0x1cb422=_0x4a10d6[_0x294fa1(0xe2)](_0x50305b[_0x294fa1(0x10a)]+'Ori'+_0x50305b[_0x294fa1(0x10a)],_0x50305b[_0x294fa1(0x10a)]+_0x294fa1(0xd6)+_0x50305b[_0x294fa1(0x10a)]);_0x1cb422=_0x50305b[_0x294fa1(0xf5)](_0x1cb422);let _0x1acd60={'width':0x780,'height':0x438,'time':0xf,'format':_0x461066['IFAtm'],'size':_0x41b606,'filePath':_0x8b99fc};try{_0x1acd60=await _0x461066[_0x294fa1(0xf4)](getVideoInfo,_0x4a10d6);}catch(_0x256fcf){_0x461066[_0x294fa1(0xf9)](logError,_0x294fa1(0xc9),_0x256fcf);}const _0x261bb6=new Promise((_0x85e00,_0x5956c1)=>{const _0x53cb84=_0x294fa1,_0x4cac8e={'uSaGO':function(_0x5063c8,_0x3f0491){const _0x522da8=_0x2538;return _0x461066[_0x522da8(0xd4)](_0x5063c8,_0x3f0491);},'oNSsw':function(_0x29a0a0,_0x1cf195,_0x28add0){const _0x10c4fa=_0x2538;return _0x461066[_0x10c4fa(0xf9)](_0x29a0a0,_0x1cf195,_0x28add0);}},_0xf66e25=_0x453768+_0x53cb84(0x105),_0x11f422=_0x50305b['join'](_0x1cb422,_0xf66e25);_0x461066[_0x53cb84(0xf4)](_0x665fc2,_0x8b99fc)['on'](_0x461066[_0x53cb84(0xbb)],()=>{})['on'](_0x53cb84(0x104),_0x378239=>{const _0xbdd9a8=_0x53cb84;_0x4cac8e[_0xbdd9a8(0x100)](logDebug,_0xbdd9a8(0xb3),_0x378239),_0x5203b8?_0x7655ef[_0xbdd9a8(0xd3)](_0x5203b8,_0x11f422)[_0xbdd9a8(0x10b)](()=>{const _0x3156a6=_0xbdd9a8;_0x4cac8e[_0x3156a6(0xc2)](_0x85e00,_0x11f422);})[_0xbdd9a8(0xc7)](_0x5956c1):_0x7655ef[_0xbdd9a8(0xb2)](_0x11f422,defaultVideoThumb)[_0xbdd9a8(0x10b)](()=>{_0x85e00(_0x11f422);})[_0xbdd9a8(0xc7)](_0x5956c1);})[_0x53cb84(0xec)]({'timestamps':[0x0],'filename':_0xf66e25,'folder':_0x1cb422,'size':_0x461066[_0x53cb84(0x110)](_0x1acd60['width']+'x',_0x1acd60[_0x53cb84(0x10d)])})['on'](_0x461066[_0x53cb84(0xbb)],()=>{const _0x5e047b=_0x53cb84;_0x461066[_0x5e047b(0xd4)](_0x85e00,_0x11f422);});}),_0x354ec1=new Map(),_0xf9daac=await _0x261bb6,_0x1f1d36=(await _0x7655ef[_0x294fa1(0xdc)](_0xf9daac))[_0x294fa1(0xfe)];_0x354ec1[_0x294fa1(0xcd)](0x0,_0xf9daac);const _0x559db9=await _0x461066[_0x294fa1(0xd0)](calculateFileMD5,_0xf9daac),_0x236c4c={'elementType':ElementType[_0x294fa1(0xfd)],'elementId':'','videoElement':{'fileName':_0x461066[_0x294fa1(0x108)](_0x20b2f9,_0x1fd7c9),'filePath':_0x4a10d6,'videoMd5':_0x453768,'thumbMd5':_0x559db9,'fileTime':_0x1acd60[_0x294fa1(0xcf)],'thumbPath':_0x354ec1,'thumbSize':_0x1f1d36,'thumbWidth':_0x1acd60[_0x294fa1(0xb6)],'thumbHeight':_0x1acd60[_0x294fa1(0x10d)],'fileSize':_0x461066[_0x294fa1(0xef)]('',_0x41b606)}};return _0x236c4c;}static async['ptt'](_0x4f9245){const _0x5cc60c=_0x113586,_0x58b38f={'nQlox':function(_0x253fa1,_0x26f39b){return _0x253fa1(_0x26f39b);},'kUMxw':_0x5cc60c(0x101),'LpFQb':function(_0x192e17,_0x586115){return _0x192e17===_0x586115;},'Brrli':_0x5cc60c(0xf7),'skIOi':function(_0x4d8c47,_0xf232dc){return _0x4d8c47||_0xf232dc;}},{converted:_0x17d468,path:_0x52be3e,duration:_0x4bc0af}=await _0x58b38f[_0x5cc60c(0xf2)](encodeSilk,_0x4f9245);if(!_0x52be3e)throw _0x58b38f[_0x5cc60c(0x107)];const {md5:_0x52edc1,fileName:_0x203bb3,path:_0x3ae1df,fileSize:_0x45da6e}=await NTQQFileApi[_0x5cc60c(0xbf)](_0x52be3e,ElementType['PTT']);if(_0x58b38f['LpFQb'](_0x45da6e,0x0))throw _0x58b38f[_0x5cc60c(0x103)];return _0x17d468&&_0x7655ef[_0x5cc60c(0xe5)](_0x52be3e)[_0x5cc60c(0x10b)](),{'elementType':ElementType[_0x5cc60c(0xc5)],'elementId':'','pttElement':{'fileName':_0x203bb3,'filePath':_0x3ae1df,'md5HexStr':_0x52edc1,'fileSize':_0x45da6e,'duration':_0x58b38f[_0x5cc60c(0xe3)](_0x4bc0af,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[_0x113586(0xd1)](_0x27d1ba){const _0x198ca0=_0x113586,_0x9c8a5a={'HFkLq':function(_0x2572b0,_0x30d740){return _0x2572b0(_0x30d740);}},_0x275238=_0x49f245[_0x198ca0(0xb4)],_0x4c26d8=_0x49f245[_0x198ca0(0xe1)],_0x13c0b5=_0x275238['find'](_0x58f4b7=>_0x58f4b7[_0x198ca0(0xcb)]===_0x27d1ba[_0x198ca0(0xf6)]());_0x27d1ba=_0x9c8a5a[_0x198ca0(0xf3)](parseInt,_0x27d1ba[_0x198ca0(0xf6)]());let _0x3f2e9e=0x1;return _0x27d1ba>=0xde&&(_0x3f2e9e=0x2),_0x13c0b5[_0x198ca0(0xbe)]&&(_0x3f2e9e=0x3),{'elementType':ElementType[_0x198ca0(0xc0)],'elementId':'','faceElement':{'faceIndex':_0x27d1ba,'faceType':_0x3f2e9e,'faceText':_0x13c0b5[_0x198ca0(0xdf)],'stickerId':_0x13c0b5[_0x198ca0(0xe0)],'stickerType':_0x13c0b5[_0x198ca0(0xbe)],'packId':_0x13c0b5[_0x198ca0(0xe6)],'sourceType':0x1}};}static[_0x113586(0xff)](_0x48120f,_0x314538,_0x3baf2a,_0x1785c2){const _0x574b3d=_0x113586,_0x2f8235={'PcaTb':'[商城表情]'};return{'elementType':ElementType['MFACE'],'marketFaceElement':{'emojiPackageId':_0x48120f,'emojiId':_0x314538,'key':_0x3baf2a,'faceName':_0x1785c2||mFaceCache['get'](_0x314538)||_0x2f8235[_0x574b3d(0xb9)]}};}static['dice'](_0x3f49e3){const _0x18c46b=_0x113586,_0x4db9ba={'EnkHa':_0x18c46b(0x111)};return{'elementType':ElementType[_0x18c46b(0xc0)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x18c46b(0xd9)],'faceType':FaceType[_0x18c46b(0xd9)],'faceText':_0x4db9ba[_0x18c46b(0xb8)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x35a68e){const _0x2ad9fc=_0x113586,_0x29689={'sNbnO':_0x2ad9fc(0xc1)};return{'elementType':ElementType['FACE'],'elementId':'','faceElement':{'faceIndex':FaceIndex['RPS'],'faceText':_0x29689[_0x2ad9fc(0xea)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x25972f){const _0x4bd4a2=_0x113586,_0x483c26={'icGvr':function(_0x2f564e,_0x33511d){return _0x2f564e!==_0x33511d;},'Majta':_0x4bd4a2(0xe7)};return _0x483c26[_0x4bd4a2(0x10f)](typeof _0x25972f,_0x483c26['Majta'])&&(_0x25972f=JSON['stringify'](_0x25972f)),{'elementType':ElementType[_0x4bd4a2(0xdd)],'elementId':'','arkElement':{'bytesData':_0x25972f,'linkInfo':null,'subElementType':null}};}static[_0x113586(0x106)](_0x360d92){const _0x4072de=_0x113586;return{'elementType':ElementType[_0x4072de(0xcc)],'elementId':'','markdownElement':{'content':_0x360d92}};}static async[_0x113586(0x10e)](){const _0x55c9cc=_0x113586,_0xee638a={'NNBsY':function(_0x1c89dc,_0x23c690){return _0x1c89dc(_0x23c690);},'UpEBn':_0x55c9cc(0xf8),'lpsdk':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','urYEC':'https://www.bilibili.com/','pJSUn':_0x55c9cc(0xd2)};let _0x421f82=await _0xee638a[_0x55c9cc(0x102)](SignMiniApp,{'prompt':_0xee638a[_0x55c9cc(0xeb)],'title':_0x55c9cc(0xf8),'preview':_0xee638a[_0x55c9cc(0xd8)],'jumpUrl':_0xee638a[_0x55c9cc(0xfb)],'tag':_0xee638a[_0x55c9cc(0xeb)],'tagIcon':_0xee638a[_0x55c9cc(0x10c)],'source':_0xee638a['UpEBn'],'sourcelogo':_0x55c9cc(0xd2)});return{'elementType':ElementType[_0x55c9cc(0xdd)],'elementId':'','arkElement':{'bytesData':_0x421f82,'linkInfo':null,'subElementType':null}};}} \ No newline at end of file +const _0x3139ba=_0x2665;(function(_0x5d5eb4,_0x4def2d){const _0x30db90=_0x2665,_0x4adc7b=_0x5d5eb4();while(!![]){try{const _0x4619a1=-parseInt(_0x30db90(0x13a))/0x1+-parseInt(_0x30db90(0x12d))/0x2+-parseInt(_0x30db90(0x10c))/0x3*(parseInt(_0x30db90(0xfc))/0x4)+parseInt(_0x30db90(0x115))/0x5*(parseInt(_0x30db90(0x148))/0x6)+parseInt(_0x30db90(0x13f))/0x7*(parseInt(_0x30db90(0x10a))/0x8)+parseInt(_0x30db90(0x122))/0x9*(parseInt(_0x30db90(0x133))/0xa)+-parseInt(_0x30db90(0x143))/0xb*(-parseInt(_0x30db90(0x106))/0xc);if(_0x4619a1===_0x4def2d)break;else _0x4adc7b['push'](_0x4adc7b['shift']());}catch(_0x51818e){_0x4adc7b['push'](_0x4adc7b['shift']());}}}(_0x49ed,0x617fa));import{AtType,ElementType,FaceIndex,FaceType,PicType}from'./index';import{promises as _0x5b50c0}from'node:fs';import _0x1987a3 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';function _0x2665(_0x3b504e,_0x59286c){const _0x49ede3=_0x49ed();return _0x2665=function(_0x2665de,_0x2168c5){_0x2665de=_0x2665de-0xed;let _0x8a080d=_0x49ede3[_0x2665de];return _0x8a080d;},_0x2665(_0x3b504e,_0x59286c);}import{encodeSilk}from'@/common/utils/audio';import _0x49eeac from'./face_config.json';function _0x49ed(){const _0x3d32e9=['end','file','emoji','564026xpbLoR','[骰子]','sysface','TEXT','RPS','518GaVjcv','Bot\x20Test','jpg','MFACE','902jKraZT','TgjLB','find','height','sep','2892NZhYcI','saWWs','replace','ptt','FPOMY','video','miniapp','FILE','size','join','asWmZ','dirname','nTksU','WCokw','markdown','amBna','getImageSize','hoSUC','136RGIsZX','error','HzLKA','screenshots','string','face','jAvKp','dice','bvyCp','gyQGq','184596aMDgTv','stat','PIC','set','392HWoKLW','[包剪锤]','31197SEqAFf','mface','lWqMJ','Ori','https://tianquan.gtimg.cn/shoal/qqAIAgent/3e9d70c9-d98c-45b8-80b4-79d82971b514.png','_0.png','unlink','width','rTMBQ','2260WGdZsw','stringify','VIDEO','REPLY','reply','get','语音转换失败,\x20请检查语音文件是否正常','dLLVu','REPid','writeFile','FACE','https://www.bilibili.com/','toString','45Wvanyc','mHptD','gif','QSid','[商城表情]','catch','wpSfx','获取视频信息失败','pic','AniStickerType','文件异常,大小为0','1523010fbOCxA','then','uploadFile','QDes','LmwTs','mp4','1191110srAWnK','Thumb','copyFile','bRIDs'];_0x49ed=function(){return _0x3d32e9;};return _0x49ed();}import*as _0x393019 from'node:path';import{SignMiniApp}from'../apis';export const mFaceCache=new Map();export class SendMsgElementConstructor{static['text'](_0x555c6e){const _0x53c0f1=_0x2665;return{'elementType':ElementType[_0x53c0f1(0x13d)],'elementId':'','textElement':{'content':_0x555c6e,'atType':AtType['notAt'],'atUid':'','atTinyId':'','atNtUid':''}};}static['at'](_0x4ca4cd,_0x378810,_0x29543b,_0x261830){return{'elementType':ElementType['TEXT'],'elementId':'','textElement':{'content':'@'+_0x261830,'atType':_0x29543b,'atUid':_0x4ca4cd,'atTinyId':'','atNtUid':_0x378810}};}static[_0x3139ba(0x119)](_0x30f436,_0x19411c,_0xd2d2df,_0xfcd2d9){const _0x1647ae=_0x3139ba;return{'elementType':ElementType[_0x1647ae(0x118)],'elementId':'','replyElement':{'replayMsgSeq':_0x30f436,'replayMsgId':_0x19411c,'senderUin':_0xd2d2df,'senderUinStr':_0xfcd2d9}};}static async[_0x3139ba(0x12a)](_0x120f1b,_0x41e389='',_0x28c3e2=0x0){const _0x5c53b7=_0x3139ba,_0x4023b9={'FKnew':function(_0x1b44ab,_0x225cb4){return _0x1b44ab===_0x225cb4;},'nTksU':'文件异常,大小为0','WCokw':function(_0x63ee76,_0x55be9d){return _0x63ee76(_0x55be9d);}},{md5:_0x199fdc,fileName:_0x3f2c15,path:_0x406467,fileSize:_0x90c209}=await NTQQFileApi[_0x5c53b7(0x12f)](_0x120f1b,ElementType[_0x5c53b7(0x108)],_0x28c3e2);if(_0x4023b9['FKnew'](_0x90c209,0x0))throw _0x4023b9[_0x5c53b7(0xf6)];const _0x34a085=await NTQQFileApi[_0x5c53b7(0xfa)](_0x120f1b),_0x325f7f={'md5HexStr':_0x199fdc,'fileSize':_0x90c209[_0x5c53b7(0x121)](),'picWidth':_0x34a085?.['width'],'picHeight':_0x34a085?.[_0x5c53b7(0x146)],'fileName':_0x3f2c15,'sourcePath':_0x406467,'original':!![],'picType':_0x4023b9[_0x5c53b7(0xf7)](isGIF,_0x120f1b)?PicType[_0x5c53b7(0x124)]:PicType[_0x5c53b7(0x141)],'picSubType':_0x28c3e2,'fileUuid':'','fileSubId':'','thumbFileSize':0x0,'summary':_0x41e389};return{'elementType':ElementType[_0x5c53b7(0x108)],'elementId':'','picElement':_0x325f7f};}static async[_0x3139ba(0x138)](_0x386845,_0x2f33b9='',_0x6c8e32=''){const _0x48d784=_0x3139ba,_0x2dc242={'asWmZ':function(_0x360835,_0x464048){return _0x360835===_0x464048;},'sKnqB':_0x48d784(0x12c),'lWqMJ':function(_0x329537,_0x59a271){return _0x329537||_0x59a271;}},{md5:_0x4b18cc,fileName:_0x19e413,path:_0x59954e,fileSize:_0x18d6d2}=await NTQQFileApi[_0x48d784(0x12f)](_0x386845,ElementType[_0x48d784(0xf1)]);if(_0x2dc242[_0x48d784(0xf4)](_0x18d6d2,0x0))throw _0x2dc242['sKnqB'];const _0x29da2a={'elementType':ElementType[_0x48d784(0xf1)],'elementId':'','fileElement':{'fileName':_0x2dc242[_0x48d784(0x10e)](_0x2f33b9,_0x19e413),'folderId':_0x6c8e32,'filePath':_0x59954e,'fileSize':_0x18d6d2[_0x48d784(0x121)]()}};return _0x29da2a;}static async[_0x3139ba(0xef)](_0x2274b8,_0x2d1c7b='',_0x10f5f6=''){const _0x282a83=_0x3139ba,_0x54ce83={'TgjLB':function(_0x1e6263,_0x1b02c9,_0x46bdb9){return _0x1e6263(_0x1b02c9,_0x46bdb9);},'amBna':'获取视频封面失败,使用默认封面','mHptD':function(_0x8f6d47,_0x5beabd){return _0x8f6d47(_0x5beabd);},'hwZtA':function(_0x4587ad,_0x446c20){return _0x4587ad(_0x446c20);},'REPid':_0x282a83(0x137),'bvyCp':function(_0x49713b,_0x18715a){return _0x49713b+_0x18715a;},'KGNMR':function(_0x98270d,_0x598163){return _0x98270d===_0x598163;},'jAvKp':_0x282a83(0x132),'xSrnO':function(_0x50861a,_0x315767){return _0x50861a(_0x315767);},'dLLVu':_0x282a83(0x129),'FrQbv':function(_0x42a019,_0x215406){return _0x42a019||_0x215406;}},{fileName:_0x1b80cb,path:_0x2bcb97,fileSize:_0x3d84a4,md5:_0x426354}=await NTQQFileApi['uploadFile'](_0x2274b8,ElementType[_0x282a83(0x117)]);if(_0x54ce83['KGNMR'](_0x3d84a4,0x0))throw _0x282a83(0x12c);let _0x26d60a=_0x2bcb97[_0x282a83(0x14a)](_0x393019[_0x282a83(0x147)]+_0x282a83(0x10f)+_0x393019[_0x282a83(0x147)],_0x393019[_0x282a83(0x147)]+_0x282a83(0x134)+_0x393019[_0x282a83(0x147)]);_0x26d60a=_0x393019[_0x282a83(0xf5)](_0x26d60a);let _0x34f17e={'width':0x780,'height':0x438,'time':0xf,'format':_0x54ce83[_0x282a83(0x102)],'size':_0x3d84a4,'filePath':_0x2274b8};try{_0x34f17e=await _0x54ce83['xSrnO'](getVideoInfo,_0x2bcb97);}catch(_0x4d798a){_0x54ce83['TgjLB'](logError,_0x54ce83[_0x282a83(0x11c)],_0x4d798a);}const _0x196ba8=new Promise((_0x4637f2,_0x2b88d8)=>{const _0x4a4789=_0x282a83,_0xde9402={'adIMd':function(_0x174025,_0x49f24e){const _0x32e56e=_0x2665;return _0x54ce83[_0x32e56e(0x123)](_0x174025,_0x49f24e);}},_0x528509=_0x426354+_0x4a4789(0x111),_0x53d9d1=_0x393019[_0x4a4789(0xf3)](_0x26d60a,_0x528509);_0x54ce83['hwZtA'](_0x1987a3,_0x2274b8)['on'](_0x54ce83[_0x4a4789(0x11d)],()=>{})['on'](_0x4a4789(0xfd),_0x4011ab=>{const _0x45950a=_0x4a4789;_0x54ce83[_0x45950a(0x144)](logDebug,_0x54ce83[_0x45950a(0xf9)],_0x4011ab),_0x10f5f6?_0x5b50c0[_0x45950a(0x135)](_0x10f5f6,_0x53d9d1)[_0x45950a(0x12e)](()=>{_0x4637f2(_0x53d9d1);})[_0x45950a(0x127)](_0x2b88d8):_0x5b50c0[_0x45950a(0x11e)](_0x53d9d1,defaultVideoThumb)[_0x45950a(0x12e)](()=>{_0x4637f2(_0x53d9d1);})[_0x45950a(0x127)](_0x2b88d8);})[_0x4a4789(0xff)]({'timestamps':[0x0],'filename':_0x528509,'folder':_0x26d60a,'size':_0x54ce83[_0x4a4789(0x104)](_0x34f17e[_0x4a4789(0x113)]+'x',_0x34f17e['height'])})['on'](_0x54ce83[_0x4a4789(0x11d)],()=>{_0xde9402['adIMd'](_0x4637f2,_0x53d9d1);});}),_0x915a71=new Map(),_0x353869=await _0x196ba8,_0x31691b=(await _0x5b50c0[_0x282a83(0x107)](_0x353869))[_0x282a83(0xf2)];_0x915a71[_0x282a83(0x109)](0x0,_0x353869);const _0x58e969=await calculateFileMD5(_0x353869),_0x375144={'elementType':ElementType[_0x282a83(0x117)],'elementId':'','videoElement':{'fileName':_0x54ce83['FrQbv'](_0x2d1c7b,_0x1b80cb),'filePath':_0x2bcb97,'videoMd5':_0x426354,'thumbMd5':_0x58e969,'fileTime':_0x34f17e['time'],'thumbPath':_0x915a71,'thumbSize':_0x31691b,'thumbWidth':_0x34f17e['width'],'thumbHeight':_0x34f17e[_0x282a83(0x146)],'fileSize':_0x54ce83[_0x282a83(0x104)]('',_0x3d84a4)}};return _0x375144;}static async[_0x3139ba(0xed)](_0x1bb877){const _0x339c0c=_0x3139ba,_0x3e3bb3={'saWWs':function(_0x2852ad,_0x39c717){return _0x2852ad(_0x39c717);},'wpSfx':_0x339c0c(0x11b),'hoSUC':function(_0xeb99f6,_0x366d65){return _0xeb99f6===_0x366d65;},'eoEsT':function(_0x36def8,_0x2f3583){return _0x36def8||_0x2f3583;}},{converted:_0x7edb47,path:_0x3fd88e,duration:_0x2880d6}=await _0x3e3bb3[_0x339c0c(0x149)](encodeSilk,_0x1bb877);if(!_0x3fd88e)throw _0x3e3bb3[_0x339c0c(0x128)];const {md5:_0x48de22,fileName:_0x3981a2,path:_0x5d3e3f,fileSize:_0x417d65}=await NTQQFileApi['uploadFile'](_0x3fd88e,ElementType['PTT']);if(_0x3e3bb3[_0x339c0c(0xfb)](_0x417d65,0x0))throw _0x339c0c(0x12c);return _0x7edb47&&_0x5b50c0[_0x339c0c(0x112)](_0x3fd88e)[_0x339c0c(0x12e)](),{'elementType':ElementType['PTT'],'elementId':'','pttElement':{'fileName':_0x3981a2,'filePath':_0x5d3e3f,'md5HexStr':_0x48de22,'fileSize':_0x417d65,'duration':_0x3e3bb3['eoEsT'](_0x2880d6,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[_0x3139ba(0x101)](_0x13d8ea){const _0x4e6bb7=_0x3139ba,_0x44f959={'rTMBQ':function(_0xd59ff8,_0x41389e){return _0xd59ff8>=_0x41389e;}},_0xc69f60=_0x49eeac[_0x4e6bb7(0x13c)],_0x3b15b9=_0x49eeac[_0x4e6bb7(0x139)],_0x54f0fa=_0xc69f60[_0x4e6bb7(0x145)](_0x4c355a=>_0x4c355a[_0x4e6bb7(0x125)]===_0x13d8ea[_0x4e6bb7(0x121)]());_0x13d8ea=parseInt(_0x13d8ea[_0x4e6bb7(0x121)]());let _0x2189e7=0x1;return _0x44f959[_0x4e6bb7(0x114)](_0x13d8ea,0xde)&&(_0x2189e7=0x2),_0x54f0fa[_0x4e6bb7(0x12b)]&&(_0x2189e7=0x3),{'elementType':ElementType[_0x4e6bb7(0x11f)],'elementId':'','faceElement':{'faceIndex':_0x13d8ea,'faceType':_0x2189e7,'faceText':_0x54f0fa[_0x4e6bb7(0x130)],'stickerId':_0x54f0fa['AniStickerId'],'stickerType':_0x54f0fa['AniStickerType'],'packId':_0x54f0fa['AniStickerPackId'],'sourceType':0x1}};}static[_0x3139ba(0x10d)](_0x92fc18,_0x1f9199,_0x5875ef,_0x4dcac2){const _0x4ac3b4=_0x3139ba;return{'elementType':ElementType[_0x4ac3b4(0x142)],'marketFaceElement':{'emojiPackageId':_0x92fc18,'emojiId':_0x1f9199,'key':_0x5875ef,'faceName':_0x4dcac2||mFaceCache[_0x4ac3b4(0x11a)](_0x1f9199)||_0x4ac3b4(0x126)}};}static['dice'](_0xcccadc){const _0x57fd63=_0x3139ba,_0x2cbd46={'HzLKA':_0x57fd63(0x13b)};return{'elementType':ElementType[_0x57fd63(0x11f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x57fd63(0x103)],'faceType':FaceType[_0x57fd63(0x103)],'faceText':_0x2cbd46[_0x57fd63(0xfe)],'packId':'1','stickerId':'33','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['rps'](_0x505b49){const _0x37df76=_0x3139ba,_0x14a655={'LmwTs':_0x37df76(0x10b)};return{'elementType':ElementType[_0x37df76(0x11f)],'elementId':'','faceElement':{'faceIndex':FaceIndex[_0x37df76(0x13e)],'faceText':_0x14a655[_0x37df76(0x131)],'faceType':0x3,'packId':'1','stickerId':'34','sourceType':0x1,'stickerType':0x2,'surpriseId':''}};}static['ark'](_0x2b70e6){const _0x3bf686=_0x3139ba,_0x22aca1={'FPOMY':function(_0x2e55eb,_0x2263ae){return _0x2e55eb!==_0x2263ae;}};return _0x22aca1[_0x3bf686(0xee)](typeof _0x2b70e6,_0x3bf686(0x100))&&(_0x2b70e6=JSON[_0x3bf686(0x116)](_0x2b70e6)),{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0x2b70e6,'linkInfo':null,'subElementType':null}};}static[_0x3139ba(0xf8)](_0xbdc69c){return{'elementType':ElementType['MARKDOWN'],'elementId':'','markdownElement':{'content':_0xbdc69c}};}static async[_0x3139ba(0xf0)](){const _0x224d62=_0x3139ba,_0x55792a={'dscvi':function(_0x527118,_0x55d9ea){return _0x527118(_0x55d9ea);},'gyQGq':_0x224d62(0x140),'Lkaje':'https://tianquan.gtimg.cn/qqAIAgent/item/7/square.png','bRIDs':_0x224d62(0x120)};let _0xd36444=await _0x55792a['dscvi'](SignMiniApp,{'prompt':_0x224d62(0x140),'title':_0x55792a['gyQGq'],'preview':_0x55792a['Lkaje'],'jumpUrl':_0x55792a[_0x224d62(0x136)],'tag':_0x55792a[_0x224d62(0x105)],'tagIcon':_0x224d62(0x110),'source':_0x55792a[_0x224d62(0x105)],'sourcelogo':_0x224d62(0x110)});return{'elementType':ElementType['ARK'],'elementId':'','arkElement':{'bytesData':_0xd36444,'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 2851e3a0..01b85d8e 100644 --- a/src/core.lib/src/entities/group.js +++ b/src/core.lib/src/entities/group.js @@ -1 +1 @@ -(function(_0x417175,_0x4de361){var _0x2789b3=_0x25ef,_0xfa313f=_0x417175();while(!![]){try{var _0x2c87cb=parseInt(_0x2789b3(0x1c9))/0x1*(parseInt(_0x2789b3(0x1c2))/0x2)+parseInt(_0x2789b3(0x1bf))/0x3*(-parseInt(_0x2789b3(0x1c6))/0x4)+-parseInt(_0x2789b3(0x1c8))/0x5*(parseInt(_0x2789b3(0x1c1))/0x6)+-parseInt(_0x2789b3(0x1bd))/0x7+parseInt(_0x2789b3(0x1c5))/0x8+-parseInt(_0x2789b3(0x1cd))/0x9*(-parseInt(_0x2789b3(0x1c0))/0xa)+-parseInt(_0x2789b3(0x1be))/0xb*(-parseInt(_0x2789b3(0x1cc))/0xc);if(_0x2c87cb===_0x4de361)break;else _0xfa313f['push'](_0xfa313f['shift']());}catch(_0x5b1e8d){_0xfa313f['push'](_0xfa313f['shift']());}}}(_0x2288,0x1e2ee));export var GroupMemberRole;function _0x2288(){var _0x56c90e=['yRnRZ','admin','182640KrHgtm','727488harMFm','1705928tzIZoG','143QJzuMy','3XNnqvf','30ARKrkY','41058tKXGjG','390GVaLNp','spGFL','fVJYL','64408VKXxGU','975724TvJokB','owner','45UsgBRE','1151vfugZN'];_0x2288=function(){return _0x56c90e;};return _0x2288();}function _0x25ef(_0x10d875,_0x3f2b99){var _0x228851=_0x2288();return _0x25ef=function(_0x25efc6,_0x30e83c){_0x25efc6=_0x25efc6-0x1bd;var _0x5d0b00=_0x228851[_0x25efc6];return _0x5d0b00;},_0x25ef(_0x10d875,_0x3f2b99);}(function(_0x38b478){var _0xc76f08=_0x25ef,_0x13610f={'yRnRZ':'normal','fVJYL':_0xc76f08(0x1cb),'spGFL':_0xc76f08(0x1c7)};_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1ca)]]=0x2]=_0x13610f[_0xc76f08(0x1ca)],_0x38b478[_0x38b478[_0xc76f08(0x1cb)]=0x3]=_0x13610f[_0xc76f08(0x1c4)],_0x38b478[_0x38b478[_0x13610f[_0xc76f08(0x1c3)]]=0x4]=_0x13610f[_0xc76f08(0x1c3)];}(GroupMemberRole||(GroupMemberRole={}))); \ No newline at end of file +(function(_0x7c1763,_0xfe9aad){var _0x3fcfa4=_0x53e6,_0x44ba28=_0x7c1763();while(!![]){try{var _0x47da07=-parseInt(_0x3fcfa4(0x1d2))/0x1+-parseInt(_0x3fcfa4(0x1d1))/0x2*(parseInt(_0x3fcfa4(0x1d0))/0x3)+parseInt(_0x3fcfa4(0x1d7))/0x4+parseInt(_0x3fcfa4(0x1d6))/0x5+parseInt(_0x3fcfa4(0x1cc))/0x6*(-parseInt(_0x3fcfa4(0x1d8))/0x7)+parseInt(_0x3fcfa4(0x1ce))/0x8+-parseInt(_0x3fcfa4(0x1cf))/0x9;if(_0x47da07===_0xfe9aad)break;else _0x44ba28['push'](_0x44ba28['shift']());}catch(_0x28c791){_0x44ba28['push'](_0x44ba28['shift']());}}}(_0x4b79,0x7277b));function _0x53e6(_0x253eed,_0x235928){var _0x4b7916=_0x4b79();return _0x53e6=function(_0x53e60e,_0x4b2b82){_0x53e60e=_0x53e60e-0x1cb;var _0xa6e563=_0x4b7916[_0x53e60e];return _0xa6e563;},_0x53e6(_0x253eed,_0x235928);}export var GroupMemberRole;(function(_0x247720){var _0x10bbf4=_0x53e6,_0x21c439={'KrzTl':_0x10bbf4(0x1cd),'nGiqc':_0x10bbf4(0x1d5),'CqXPv':_0x10bbf4(0x1cb)};_0x247720[_0x247720[_0x10bbf4(0x1cd)]=0x2]=_0x21c439['KrzTl'],_0x247720[_0x247720[_0x10bbf4(0x1d5)]=0x3]=_0x21c439[_0x10bbf4(0x1d4)],_0x247720[_0x247720[_0x21c439[_0x10bbf4(0x1d3)]]=0x4]=_0x21c439[_0x10bbf4(0x1d3)];}(GroupMemberRole||(GroupMemberRole={})));function _0x4b79(){var _0x340188=['nGiqc','admin','2715480RJeDQv','2781904rhYPDW','476vyTuVf','owner','21468UbIEVN','normal','7205616LuwdRA','8781174AgNIeq','3ZxygKc','574172ETcfGq','164339DWgodH','CqXPv'];_0x4b79=function(){return _0x340188;};return _0x4b79();} \ 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 9d3823b9..85cc2c6d 100644 --- a/src/core.lib/src/entities/index.js +++ b/src/core.lib/src/entities/index.js @@ -1 +1 @@ -(function(_0x41e49a,_0x2ebb61){var _0x18c2ba=_0x5930,_0x3b6bbf=_0x41e49a();while(!![]){try{var _0x4a74c0=parseInt(_0x18c2ba(0xda))/0x1*(parseInt(_0x18c2ba(0xd8))/0x2)+-parseInt(_0x18c2ba(0xd9))/0x3*(parseInt(_0x18c2ba(0xd3))/0x4)+-parseInt(_0x18c2ba(0xd7))/0x5*(parseInt(_0x18c2ba(0xd5))/0x6)+parseInt(_0x18c2ba(0xd4))/0x7+-parseInt(_0x18c2ba(0xd1))/0x8+-parseInt(_0x18c2ba(0xd2))/0x9+parseInt(_0x18c2ba(0xd6))/0xa;if(_0x4a74c0===_0x2ebb61)break;else _0x3b6bbf['push'](_0x3b6bbf['shift']());}catch(_0x2092ac){_0x3b6bbf['push'](_0x3b6bbf['shift']());}}}(_0x538c,0x922f2));export*from'./user';export*from'./group';export*from'./msg';function _0x5930(_0x5458e5,_0x4c794c){var _0x538cfe=_0x538c();return _0x5930=function(_0x59309f,_0x351741){_0x59309f=_0x59309f-0xd1;var _0x49f8c1=_0x538cfe[_0x59309f];return _0x49f8c1;},_0x5930(_0x5458e5,_0x4c794c);}export*from'./notify';export*from'./cache';export*from'./constructor';function _0x538c(){var _0x433aab=['50kySWEX','801483kjNMMY','12515LjOXLl','4219976DXPovH','5212116scoMjm','8mMDyuM','3609529dHuMHa','3368454QeNpvL','19726000hhaLjx','5EuLLce'];_0x538c=function(){return _0x433aab;};return _0x538c();} \ No newline at end of file +(function(_0x4adfed,_0xbf96e6){var _0x27c3cd=_0x108a,_0x15a959=_0x4adfed();while(!![]){try{var _0x87d737=parseInt(_0x27c3cd(0x8a))/0x1*(parseInt(_0x27c3cd(0x8c))/0x2)+parseInt(_0x27c3cd(0x8e))/0x3*(parseInt(_0x27c3cd(0x85))/0x4)+parseInt(_0x27c3cd(0x8b))/0x5+-parseInt(_0x27c3cd(0x87))/0x6*(parseInt(_0x27c3cd(0x84))/0x7)+parseInt(_0x27c3cd(0x89))/0x8+parseInt(_0x27c3cd(0x88))/0x9*(-parseInt(_0x27c3cd(0x86))/0xa)+-parseInt(_0x27c3cd(0x8d))/0xb;if(_0x87d737===_0xbf96e6)break;else _0x15a959['push'](_0x15a959['shift']());}catch(_0x1af82a){_0x15a959['push'](_0x15a959['shift']());}}}(_0x55d4,0x337f5));export*from'./user';export*from'./group';export*from'./msg';function _0x108a(_0x5d74d2,_0x56c658){var _0x55d457=_0x55d4();return _0x108a=function(_0x108a36,_0xde80fb){_0x108a36=_0x108a36-0x84;var _0x28e827=_0x55d457[_0x108a36];return _0x28e827;},_0x108a(_0x5d74d2,_0x56c658);}function _0x55d4(){var _0x1b978a=['2mRVHHp','2053730uNNpMF','207346ICmmrB','2192157HNSyUZ','39jFsrGP','991459dLDzZw','45332yBHObM','40mzYHyB','12UqwLnO','578457utWpui','1481320bZJvEQ'];_0x55d4=function(){return _0x1b978a;};return _0x55d4();}export*from'./notify';export*from'./cache';export*from'./constructor'; \ No newline at end of file diff --git a/src/core.lib/src/entities/msg.js b/src/core.lib/src/entities/msg.js index a7ecf5c3..c5482014 100644 --- a/src/core.lib/src/entities/msg.js +++ b/src/core.lib/src/entities/msg.js @@ -1 +1 @@ -var _0x5b180d=_0x39b5;(function(_0x49c2c6,_0x33cdf4){var _0xa6ee2d=_0x39b5,_0xa8fb15=_0x49c2c6();while(!![]){try{var _0x392c37=-parseInt(_0xa6ee2d(0x19e))/0x1*(parseInt(_0xa6ee2d(0x1bf))/0x2)+parseInt(_0xa6ee2d(0x161))/0x3*(parseInt(_0xa6ee2d(0x163))/0x4)+parseInt(_0xa6ee2d(0x17e))/0x5*(parseInt(_0xa6ee2d(0x1a9))/0x6)+parseInt(_0xa6ee2d(0x179))/0x7+parseInt(_0xa6ee2d(0x1be))/0x8+parseInt(_0xa6ee2d(0x196))/0x9+parseInt(_0xa6ee2d(0x185))/0xa*(-parseInt(_0xa6ee2d(0x19d))/0xb);if(_0x392c37===_0x33cdf4)break;else _0xa8fb15['push'](_0xa8fb15['shift']());}catch(_0x35deaf){_0xa8fb15['push'](_0xa8fb15['shift']());}}}(_0x4346,0xdfeff));export var ElementType;(function(_0x4acd93){var _0x46ace1=_0x39b5,_0x2934d3={'JbWXk':_0x46ace1(0x13b),'ThsCa':'PTT','oUvzC':_0x46ace1(0x13e),'eaaGt':_0x46ace1(0x133),'QTitE':_0x46ace1(0x1a4),'zhFOV':'FACE','TeRDx':_0x46ace1(0x1b3),'JGCMj':_0x46ace1(0x193),'eHPIP':'PIC','rTAei':'MARKDOWN'},_0x6581cc=_0x46ace1(0x153)['split']('|'),_0x26d15f=0x0;while(!![]){switch(_0x6581cc[_0x26d15f++]){case'0':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1ac)]]=0x1]=_0x2934d3[_0x46ace1(0x1ac)];continue;case'1':_0x4acd93[_0x4acd93[_0x2934d3['ThsCa']]=0x4]='PTT';continue;case'2':_0x4acd93[_0x4acd93[_0x2934d3['oUvzC']]=0xb]=_0x2934d3[_0x46ace1(0x147)];continue;case'3':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x139)]]=0xa]=_0x2934d3[_0x46ace1(0x139)];continue;case'4':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x150)]]=0x5]=_0x46ace1(0x1a4);continue;case'5':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x186)]]=0x6]=_0x2934d3['zhFOV'];continue;case'6':_0x4acd93[_0x4acd93[_0x46ace1(0x1b3)]=0x7]=_0x2934d3[_0x46ace1(0x1ba)];continue;case'7':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b4)]]=0x3]=_0x46ace1(0x193);continue;case'8':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x1b9)]]=0x2]=_0x2934d3[_0x46ace1(0x1b9)];continue;case'9':_0x4acd93[_0x4acd93[_0x2934d3[_0x46ace1(0x14e)]]=0xe]=_0x2934d3[_0x46ace1(0x14e)];continue;}break;}}(ElementType||(ElementType={})));function _0x39b5(_0x33d041,_0x882b26){var _0x43467e=_0x4346();return _0x39b5=function(_0x39b5c7,_0x9ef23e){_0x39b5c7=_0x39b5c7-0x132;var _0x16c59e=_0x43467e[_0x39b5c7];return _0x16c59e;},_0x39b5(_0x33d041,_0x882b26);}export var PicType;(function(_0x2475f1){var _0x1aa6f8=_0x39b5,_0x47ae78={'casdX':_0x1aa6f8(0x158),'QaZYS':_0x1aa6f8(0x187)};_0x2475f1[_0x2475f1[_0x1aa6f8(0x158)]=0x7d0]=_0x47ae78[_0x1aa6f8(0x166)],_0x2475f1[_0x2475f1[_0x47ae78['QaZYS']]=0x3e8]=_0x47ae78[_0x1aa6f8(0x1c8)];}(PicType||(PicType={})));export var PicSubType;(function(_0x51bb37){var _0x2bcfd2=_0x39b5,_0x2e23ad={'krLDN':_0x2bcfd2(0x1ad),'UFZNs':_0x2bcfd2(0x177)};_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x1a6)]]=0x0]=_0x2bcfd2(0x1ad),_0x51bb37[_0x51bb37[_0x2e23ad[_0x2bcfd2(0x15b)]]=0x1]=_0x2bcfd2(0x177);}(PicSubType||(PicSubType={})));export var AtType;(function(_0x40bf92){var _0x3d27f2=_0x39b5,_0x181721={'Wfkla':'notAt','SjgPy':_0x3d27f2(0x195),'PyhrX':'atUser'};_0x40bf92[_0x40bf92[_0x3d27f2(0x159)]=0x0]=_0x181721[_0x3d27f2(0x1c7)],_0x40bf92[_0x40bf92[_0x181721[_0x3d27f2(0x165)]]=0x1]=_0x181721[_0x3d27f2(0x165)],_0x40bf92[_0x40bf92[_0x3d27f2(0x16e)]=0x2]=_0x181721[_0x3d27f2(0x13a)];}(AtType||(AtType={})));export var ChatType;(function(_0x4bfbdd){var _0x1c75f5=_0x39b5,_0xc4f77e={'kLoMk':_0x1c75f5(0x18d),'meDHF':_0x1c75f5(0x17d),'HxwUt':_0x1c75f5(0x17c),'rIZKI':_0x1c75f5(0x1c0)};_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x19c)]]=0x1]=_0xc4f77e['kLoMk'],_0x4bfbdd[_0x4bfbdd[_0xc4f77e[_0x1c75f5(0x16f)]]=0x2]=_0xc4f77e[_0x1c75f5(0x16f)],_0x4bfbdd[_0x4bfbdd[_0xc4f77e['HxwUt']]=0x8]=_0xc4f77e['HxwUt'],_0x4bfbdd[_0x4bfbdd['temp']=0x64]=_0xc4f77e[_0x1c75f5(0x168)];}(ChatType||(ChatType={})));export var ChatType2;(function(_0x374a86){var _0x2cb323=_0x39b5,_0x591275={'iTgkW':_0x2cb323(0x14b),'RrEdW':_0x2cb323(0x173),'SBuZN':'KCHATTYPEQQNOTIFY','ZjMmm':_0x2cb323(0x16c),'LqNlW':_0x2cb323(0x191),'aCsZg':_0x2cb323(0x18e),'ramVA':_0x2cb323(0x164),'BxcHI':_0x2cb323(0x18a),'gMcby':_0x2cb323(0x180),'XwHui':_0x2cb323(0x1c6),'cQCwc':_0x2cb323(0x1b8),'wkbNN':_0x2cb323(0x1bb),'KeUZu':'KCHATTYPEUNKNOWN','GZTjh':_0x2cb323(0x15d),'IQglN':_0x2cb323(0x199),'qPIbk':'KCHATTYPEBUDDYNOTIFY','IYqfc':_0x2cb323(0x138),'sxzcM':_0x2cb323(0x1bd),'KvxWz':_0x2cb323(0x16b),'ymKJq':_0x2cb323(0x157),'gsHOj':_0x2cb323(0x18c),'EhyfV':'KCHATTYPETEMPPUBLICACCOUNT','abcdl':_0x2cb323(0x188),'cOdDG':_0x2cb323(0x13d),'BUnPa':'KCHATTYPETEMPC2CFROMUNKNOWN','bbMDW':'KCHATTYPEGROUP','SGRyP':'KCHATTYPEMATCHFRIEND','ukwbB':_0x2cb323(0x1a7),'dRMWv':_0x2cb323(0x156),'qKVEg':_0x2cb323(0x160),'swrod':_0x2cb323(0x1b6),'ZPBnT':_0x2cb323(0x1af),'NSeiA':_0x2cb323(0x134),'LfSwQ':_0x2cb323(0x171),'SQefa':_0x2cb323(0x141),'vHLCx':_0x2cb323(0x1a2),'gnqLm':_0x2cb323(0x149),'VdyeE':_0x2cb323(0x198),'XdXLe':'KCHATTYPENEARBYASSISTANT'},_0x4bd200=_0x591275[_0x2cb323(0x144)]['split']('|'),_0x3bb4ee=0x0;while(!![]){switch(_0x4bd200[_0x3bb4ee++]){case'0':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x13f)]]=0x74]=_0x591275[_0x2cb323(0x13f)];continue;case'1':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x169)]]=0x84]='KCHATTYPEQQNOTIFY';continue;case'2':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x190)]]=0x86]=_0x591275[_0x2cb323(0x190)];continue;case'3':_0x374a86[_0x374a86[_0x2cb323(0x191)]=0x6]=_0x591275[_0x2cb323(0x14f)];continue;case'4':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x14a)]]=0xc9]=_0x591275[_0x2cb323(0x14a)];continue;case'5':_0x374a86[_0x374a86[_0x591275['ramVA']]=0x71]='KCHATTYPECIRCLE';continue;case'6':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x140)]]=0x65]=_0x591275[_0x2cb323(0x140)];continue;case'7':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15e)]]=0x83]=_0x591275[_0x2cb323(0x15e)];continue;case'8':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x18b)]]=0x70]=_0x591275[_0x2cb323(0x18b)];continue;case'9':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x19b)]]=0x66]=_0x591275[_0x2cb323(0x19b)];continue;case'10':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1c3)]]=0x1e]=_0x591275[_0x2cb323(0x1c3)];continue;case'11':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1b1)]]=0x0]='KCHATTYPEUNKNOWN';continue;case'12':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x19a)]]=0x69]=_0x591275['GZTjh'];continue;case'13':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x194)]]=0x29]=_0x591275[_0x2cb323(0x194)];continue;case'14':_0x374a86[_0x374a86[_0x591275['qPIbk']]=0x5]=_0x591275['qPIbk'];continue;case'15':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x146)]]=0x2a]=_0x591275[_0x2cb323(0x146)];continue;case'16':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15c)]]=0x6e]=_0x591275['sxzcM'];continue;case'17':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x148)]]=0x28]=_0x591275['KvxWz'];continue;case'18':_0x374a86[_0x374a86[_0x2cb323(0x157)]=0x76]=_0x591275['ymKJq'];continue;case'19':_0x374a86[_0x374a86[_0x2cb323(0x18c)]=0x6f]=_0x591275['gsHOj'];continue;case'20':_0x374a86[_0x374a86[_0x2cb323(0x136)]=0x67]=_0x591275[_0x2cb323(0x1bc)];continue;case'21':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x13c)]]=0x3]=_0x591275[_0x2cb323(0x13c)];continue;case'22':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x172)]]=0x10]=_0x591275[_0x2cb323(0x172)];continue;case'23':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x137)]]=0x63]=_0x2cb323(0x178);continue;case'24':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15a)]]=0x2]=_0x591275[_0x2cb323(0x15a)];continue;case'25':_0x374a86[_0x374a86['KCHATTYPEMATCHFRIEND']=0x68]=_0x591275[_0x2cb323(0x162)];continue;case'26':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x197)]]=0x85]=_0x2cb323(0x1a7);continue;case'27':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x15f)]]=0x1]=_0x2cb323(0x156);continue;case'28':_0x374a86[_0x374a86[_0x2cb323(0x160)]=0x75]=_0x591275[_0x2cb323(0x167)];continue;case'29':_0x374a86[_0x374a86[_0x2cb323(0x1aa)]=0x73]=_0x2cb323(0x1aa);continue;case'30':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x143)]]=0x64]=_0x2cb323(0x1b6);continue;case'31':_0x374a86[_0x374a86[_0x591275['ZPBnT']]=0x6a]=_0x591275[_0x2cb323(0x17a)];continue;case'32':_0x374a86[_0x374a86[_0x2cb323(0x17b)]=0x8]=_0x2cb323(0x17b);continue;case'33':_0x374a86[_0x374a86[_0x591275['NSeiA']]=0x9]=_0x591275[_0x2cb323(0x17f)];continue;case'34':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x181)]]=0x4]=_0x591275['LfSwQ'];continue;case'35':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1a8)]]=0x6c]=_0x591275[_0x2cb323(0x1a8)];continue;case'36':_0x374a86[_0x374a86[_0x2cb323(0x1a2)]=0x6d]=_0x591275[_0x2cb323(0x154)];continue;case'37':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x151)]]=0x77]=_0x591275['gnqLm'];continue;case'38':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1b5)]]=0x7]=_0x2cb323(0x198);continue;case'39':_0x374a86[_0x374a86[_0x591275[_0x2cb323(0x1a0)]]=0x6b]=_0x591275['XdXLe'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST=_0x5b180d(0x155);function _0x4346(){var _0x59577f=['TEXT','abcdl','KCHATTYPEGUILDMETA','MFACE','RrEdW','BxcHI','KCHATTYPENEARBYINTERACT','ban','swrod','iTgkW','AOnUp','IYqfc','oUvzC','KvxWz','KCHATTYPETEMPNEARBYPRO','aCsZg','15|14|27|5|32|2|21|13|12|0|24|26|33|38|3|34|22|25|36|31|39|16|8|35|1|7|18|4|29|10|19|9|30|23|6|37|20|28|11|17','NSnNA','SvPBt','rTAei','LqNlW','QTitE','gnqLm','dice','0|8|7|1|4|5|6|3|2|9','vHLCx','https://gchat.qpic.cn','KCHATTYPEC2C','KCHATTYPESERVICEASSISTANT','gif','notAt','bbMDW','UFZNs','sxzcM','KCHATTYPEGAMEMESSAGE','gMcby','dRMWv','KCHATTYPETEMPWPA','136533rsuyQj','SGRyP','52WFgeqO','KCHATTYPECIRCLE','SjgPy','casdX','qKVEg','rIZKI','SBuZN','ylIww','KCHATTYPEWEIYUN','KCHATTYPEDATALINEMQQ','Wedwp','atUser','meDHF','VIDEO_FORMAT_MTS','KCHATTYPEGUILD','cOdDG','KCHATTYPEGAMEMESSAGEFOLDER','ZAnVo','VIDEO_FORMAT_MOV','VIDEO_FORMAT_RMVB','face','KCHATTYPETEMPC2CFROMUNKNOWN','11656701AzmsCF','ZPBnT','KCHATTYPEDATALINE','chatDevice','group','8430JjNAyX','NSeiA','KCHATTYPERELATEACCOUNT','LfSwQ','BLYAc','memberIncrease','IxXam','10IUxdjH','zhFOV','jpg','KCHATTYPEDISC','VdsQI','KCHATTYPETEMPFRIENDVERIFY','XwHui','KCHATTYPETEMPADDRESSBOOK','friend','KCHATTYPESERVICEASSISTANTSUB','VIDEO_FORMAT_RM','ZjMmm','KCHATTYPEGROUPNOTIFY','ajVfl','FILE','IQglN','atAll','10854900TPwqWa','ukwbB','KCHATTYPEGROUPHELPER','KCHATTYPEFAV','GZTjh','cQCwc','kLoMk','37721519CBDhwP','1aWeBxi','VIDEO_FORMAT_AVI','XdXLe','RPS','KCHATTYPEMATCHFRIENDFOLDER','PdNgB','VIDEO','INVITE_NEW_MEMBER','krLDN','KCHATTYPEGROUPBLESS','SQefa','4518rfZybK','KCHATTYPESQUAREPUBLIC','split','JbWXk','normal','kicked','KCHATTYPENEARBY','GjRRY','KeUZu','cqRFM','REPLY','JGCMj','VdyeE','KCHATTYPETEMPC2CFROMGROUP','VIDEO_FORMAT_WMV','KCHATTYPETEMPBUSSINESSCRM','eHPIP','TeRDx','KCHATTYPESUBSCRIBEFOLDER','EhyfV','KCHATTYPENEARBYFOLDER','5138760Yxdjxi','2056826ZhCOIN','temp','wXzul','MEMBER_NEW_TITLE','wkbNN','KnZvZ','normal2','KCHATTYPENEARBYHELLOFOLDER','Wfkla','QaZYS','VIDEO_FORMAT_MP4','ARK','KCHATTYPEGROUPGUILD','sjhIZ','KCHATTYPETEMPPUBLICACCOUNT','BUnPa','KCHATTYPEADELIE','eaaGt','PyhrX'];_0x4346=function(){return _0x59577f;};return _0x4346();}export const IMAGE_HTTP_HOST_NT='https://multimedia.nt.qq.com.cn';export var GrayTipElementSubType;(function(_0x42ad79){var _0x2360ab=_0x5b180d,_0x2e3003={'KnZvZ':_0x2360ab(0x1a5),'ZAnVo':_0x2360ab(0x1c2)};_0x42ad79[_0x42ad79[_0x2e3003['KnZvZ']]=0xc]=_0x2e3003[_0x2360ab(0x1c4)],_0x42ad79[_0x42ad79[_0x2e3003[_0x2360ab(0x174)]]=0x11]=_0x2360ab(0x1c2);}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0x77e6f5){var _0x56daa9=_0x5b180d,_0x3c7968={'PdNgB':'normal','ZrjPw':_0x56daa9(0x1c5),'ylIww':_0x56daa9(0x152)};_0x77e6f5[_0x77e6f5[_0x3c7968['PdNgB']]=0x1]=_0x3c7968[_0x56daa9(0x1a3)],_0x77e6f5[_0x77e6f5[_0x56daa9(0x1c5)]=0x2]=_0x3c7968['ZrjPw'],_0x77e6f5[_0x77e6f5[_0x3c7968[_0x56daa9(0x16a)]]=0x3]=_0x3c7968['ylIww'];}(FaceType||(FaceType={})));export var FaceIndex;(function(_0xa51ca6){var _0x4f52db=_0x5b180d,_0x5d8331={'lLBzq':_0x4f52db(0x152),'GjRRY':'RPS'};_0xa51ca6[_0xa51ca6[_0x5d8331['lLBzq']]=0x166]=_0x4f52db(0x152),_0xa51ca6[_0xa51ca6[_0x5d8331[_0x4f52db(0x1b0)]]=0x167]=_0x4f52db(0x1a1);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x49d0a2){var _0x42f784=_0x5b180d,_0x136a5e={'IxXam':'4|5|1|7|3|6|8|10|0|9|2','Wedwp':_0x42f784(0x176),'kdzCR':'VIDEO_FORMAT_MKV','NSnNA':_0x42f784(0x1b7),'wXzul':_0x42f784(0x175),'ajVfl':'VIDEO_FORMAT_AFS','cqRFM':_0x42f784(0x19f),'AOnUp':_0x42f784(0x132),'sjhIZ':'VIDEO_FORMAT_MOD','BLYAc':_0x42f784(0x170),'bKVZK':'VIDEO_FORMAT_TS'},_0x3d600b=_0x136a5e[_0x42f784(0x184)][_0x42f784(0x1ab)]('|'),_0xb35f6c=0x0;while(!![]){switch(_0x3d600b[_0xb35f6c++]){case'0':_0x49d0a2[_0x49d0a2['VIDEO_FORMAT_RMVB']=0x5]=_0x136a5e[_0x42f784(0x16d)];continue;case'1':_0x49d0a2[_0x49d0a2[_0x136a5e['kdzCR']]=0x4]=_0x136a5e['kdzCR'];continue;case'2':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x14c)]]=0x3]=_0x136a5e[_0x42f784(0x14c)];continue;case'3':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x1c1)]]=0x8]=_0x136a5e[_0x42f784(0x1c1)];continue;case'4':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x192)]]=0x7]=_0x136a5e[_0x42f784(0x192)];continue;case'5':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x1b2)]]=0x1]=_0x42f784(0x19f);continue;case'6':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x145)]]=0x2]=_0x136a5e[_0x42f784(0x145)];continue;case'7':_0x49d0a2[_0x49d0a2[_0x136a5e['sjhIZ']]=0x9]=_0x136a5e[_0x42f784(0x135)];continue;case'8':_0x49d0a2[_0x49d0a2[_0x136a5e[_0x42f784(0x182)]]=0xb]=_0x136a5e['BLYAc'];continue;case'9':_0x49d0a2[_0x49d0a2['VIDEO_FORMAT_TS']=0xa]=_0x136a5e['bKVZK'];continue;case'10':_0x49d0a2[_0x49d0a2[_0x42f784(0x18f)]=0x6]='VIDEO_FORMAT_RM';continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x4e444b){var _0x3176f9=_0x5b180d,_0x3a7044={'pVtWM':_0x3176f9(0x183),'SvPBt':_0x3176f9(0x1ae),'VdsQI':_0x3176f9(0x142)};_0x4e444b[_0x4e444b[_0x3176f9(0x183)]=0x1]=_0x3a7044['pVtWM'],_0x4e444b[_0x4e444b[_0x3a7044[_0x3176f9(0x14d)]]=0x3]=_0x3176f9(0x1ae),_0x4e444b[_0x4e444b[_0x3176f9(0x142)]=0x8]=_0x3a7044[_0x3176f9(0x189)];}(TipGroupElementType||(TipGroupElementType={}))); \ No newline at end of file +var _0x294efa=_0x49fb;(function(_0x4d2d67,_0x38b6e9){var _0xab569b=_0x49fb,_0xaccddb=_0x4d2d67();while(!![]){try{var _0x40282d=parseInt(_0xab569b(0x1e2))/0x1+-parseInt(_0xab569b(0x204))/0x2+parseInt(_0xab569b(0x1f2))/0x3+parseInt(_0xab569b(0x20f))/0x4+-parseInt(_0xab569b(0x237))/0x5*(-parseInt(_0xab569b(0x264))/0x6)+parseInt(_0xab569b(0x1db))/0x7*(parseInt(_0xab569b(0x1d7))/0x8)+parseInt(_0xab569b(0x229))/0x9*(-parseInt(_0xab569b(0x25e))/0xa);if(_0x40282d===_0x38b6e9)break;else _0xaccddb['push'](_0xaccddb['shift']());}catch(_0x54fba8){_0xaccddb['push'](_0xaccddb['shift']());}}}(_0x2712,0xa60b7));export var ElementType;(function(_0x2f3721){var _0x225c44=_0x49fb,_0x2cf984={'MNUHf':_0x225c44(0x1de),'dsERv':_0x225c44(0x219),'PFNbd':_0x225c44(0x1f8),'nCVNb':'FILE','mTrpi':_0x225c44(0x223),'fKnvM':'ARK','WRFct':_0x225c44(0x257),'yLGti':_0x225c44(0x1e1),'tnHbM':_0x225c44(0x250),'dsZCo':_0x225c44(0x20e),'Kyyfy':_0x225c44(0x230)},_0x21d2da=_0x2cf984['MNUHf'][_0x225c44(0x25a)]('|'),_0x24f1a9=0x0;while(!![]){switch(_0x21d2da[_0x24f1a9++]){case'0':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x1d6)]]=0x2]=_0x2cf984[_0x225c44(0x1d6)];continue;case'1':_0x2f3721[_0x2f3721[_0x2cf984['PFNbd']]=0xe]=_0x2cf984[_0x225c44(0x1e5)];continue;case'2':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x243)]]=0x3]=_0x225c44(0x212);continue;case'3':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x253)]]=0x1]=_0x2cf984[_0x225c44(0x253)];continue;case'4':_0x2f3721[_0x2f3721[_0x2cf984['fKnvM']]=0xa]=_0x225c44(0x200);continue;case'5':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x239)]]=0x5]=_0x2cf984['WRFct'];continue;case'6':_0x2f3721[_0x2f3721[_0x2cf984['yLGti']]=0x7]=_0x2cf984['yLGti'];continue;case'7':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x206)]]=0x4]=_0x2cf984[_0x225c44(0x206)];continue;case'8':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x252)]]=0x6]=_0x2cf984[_0x225c44(0x252)];continue;case'9':_0x2f3721[_0x2f3721[_0x2cf984[_0x225c44(0x23f)]]=0xb]=_0x2cf984[_0x225c44(0x23f)];continue;}break;}}(ElementType||(ElementType={})));export var PicType;(function(_0x5a1203){var _0x380472=_0x49fb,_0x2b4d2e={'kbeYY':_0x380472(0x1e8),'JOucA':_0x380472(0x244)};_0x5a1203[_0x5a1203[_0x2b4d2e[_0x380472(0x1da)]]=0x7d0]=_0x2b4d2e['kbeYY'],_0x5a1203[_0x5a1203['jpg']=0x3e8]=_0x2b4d2e['JOucA'];}(PicType||(PicType={})));export var PicSubType;(function(_0x393838){var _0x58ed97=_0x49fb,_0x179ea5={'XUUCD':_0x58ed97(0x1dd),'LSXhy':_0x58ed97(0x23a)};_0x393838[_0x393838[_0x179ea5['XUUCD']]=0x0]=_0x179ea5['XUUCD'],_0x393838[_0x393838[_0x58ed97(0x23a)]=0x1]=_0x179ea5[_0x58ed97(0x208)];}(PicSubType||(PicSubType={})));export var AtType;(function(_0x385497){var _0x2bd7c9=_0x49fb,_0x4592e3={'dprSK':_0x2bd7c9(0x1ff),'ZMYlb':_0x2bd7c9(0x24a)};_0x385497[_0x385497[_0x4592e3[_0x2bd7c9(0x1f0)]]=0x0]=_0x4592e3['dprSK'],_0x385497[_0x385497[_0x2bd7c9(0x22d)]=0x1]='atAll',_0x385497[_0x385497[_0x2bd7c9(0x24a)]=0x2]=_0x4592e3[_0x2bd7c9(0x1d9)];}(AtType||(AtType={})));function _0x2712(){var _0x226bf5=['KCHATTYPEC2C','KCHATTYPEGUILD','qDLOz','KCHATTYPEGROUPBLESS','WzByP','MARKDOWN','KCHATTYPEDATALINE','chatDevice','XxzaC','KCHATTYPEGAMEMESSAGEFOLDER','KCHATTYPENEARBYINTERACT','tBCLo','notAt','ARK','KCHATTYPESUBSCRIBEFOLDER','EcrDG','hjVpe','1892250EJDerg','pHHXU','tnHbM','oHzNG','LSXhy','eoAgK','KCHATTYPESERVICEASSISTANT','FtvXX','YGbnS','KCHATTYPEGROUPGUILD','FACE','4508336coJNQM','KCHATTYPENEARBY','qzfuM','FILE','KCHATTYPECIRCLE','KCHATTYPEGROUP','KCHATTYPETEMPC2CFROMUNKNOWN','ecIlm','VIDEO_FORMAT_MOV','VIDEO_FORMAT_MOD','PIC','uQWvl','HRlvY','VIDEO_FORMAT_MKV','KCHATTYPEGAMEMESSAGE','KCHATTYPETEMPC2CFROMGROUP','KCHATTYPEDATALINEMQQ','VIDEO_FORMAT_RMVB','VIDEO_FORMAT_TS','rVKbB','TEXT','normal2','KCHATTYPETEMPPUBLICACCOUNT','kxyYr','friend','KCHATTYPENEARBYFOLDER','49158MiVvfq','LgCzF','QqLQc','KCHATTYPETEMPADDRESSBOOK','atAll','zGdei','KCHATTYPEMATCHFRIEND','MFACE','VxpjI','VIDEO_FORMAT_MTS','DYpue','JyaWb','vRWNp','RPS','1636525ORXRBb','KCHATTYPETEMPBUSSINESSCRM','WRFct','face','KCHATTYPEGROUPHELPER','vHwHO','KCHATTYPENEARBYASSISTANT','dlqMK','Kyyfy','MGdrZ','MEMBER_NEW_TITLE','KCHATTYPEBUDDYNOTIFY','nCVNb','jpg','mxLGt','4|0|5|7|9|3|10|6|1|8|2','KCHATTYPETEMPWPA','https://multimedia.nt.qq.com.cn','KCHATTYPEFAV','atUser','WAmUD','fYggR','zJSbU','VIDEO_FORMAT_AVI','nHJwP','PTT','saUIT','dsZCo','mTrpi','LnZav','KCHATTYPEGUILDMETA','VIDEO_FORMAT_WMV','VIDEO','VBDdd','jVHVf','split','VIDEO_FORMAT_MP4','enSLP','GpMQC','4520VmfMpG','axutE','KCHATTYPEUNKNOWN','KCHATTYPEDISC','KCHATTYPETEMPNEARBYPRO','KCHATTYPEADELIE','6JrLbiP','KCHATTYPESQUAREPUBLIC','KCHATTYPETEMPFRIENDVERIFY','KCHATTYPERELATEACCOUNT','dsERv','72fzEaJo','temp','ZMYlb','kbeYY','1017709AKUApy','dice','normal','3|0|2|7|5|8|6|4|9|1','VIDEO_FORMAT_RM','gWgvm','REPLY','848001lumcvn','eIkUJ','XElZL','PFNbd','pmDdn','EFJRI','gif','kicked','KCHATTYPEGROUPNOTIFY','OjESk','fXzBB','ImZJp','KCHATTYPENEARBYHELLOFOLDER','KCHATTYPEWEIYUN','dprSK','group','1452585xXTWDo'];_0x2712=function(){return _0x226bf5;};return _0x2712();}export var ChatType;(function(_0x1fb754){var _0x159a96=_0x49fb,_0x50fdbd={'VBDdd':_0x159a96(0x227),'EcrDG':_0x159a96(0x1f1),'cCRfQ':'chatDevice','rEFUX':_0x159a96(0x1d8)};_0x1fb754[_0x1fb754[_0x50fdbd[_0x159a96(0x258)]]=0x1]=_0x50fdbd['VBDdd'],_0x1fb754[_0x1fb754[_0x50fdbd[_0x159a96(0x202)]]=0x2]=_0x50fdbd[_0x159a96(0x202)],_0x1fb754[_0x1fb754[_0x159a96(0x1fa)]=0x8]=_0x50fdbd['cCRfQ'],_0x1fb754[_0x1fb754[_0x50fdbd['rEFUX']]=0x64]=_0x159a96(0x1d8);}(ChatType||(ChatType={})));export var ChatType2;function _0x49fb(_0x29a752,_0x3fd5c9){var _0x271298=_0x2712();return _0x49fb=function(_0x49fb9d,_0x43e425){_0x49fb9d=_0x49fb9d-0x1d5;var _0x26b793=_0x271298[_0x49fb9d];return _0x26b793;},_0x49fb(_0x29a752,_0x3fd5c9);}(function(_0x27df51){var _0x56e728=_0x49fb,_0x35da68={'LnZav':'35|34|12|29|14|24|15|7|19|32|31|22|26|20|28|23|13|1|33|6|25|0|21|16|8|27|4|3|18|30|11|36|38|9|10|2|5|37|39|17','zGdei':_0x56e728(0x228),'ZSmku':_0x56e728(0x22f),'qzfuM':_0x56e728(0x262),'QqLQc':'KCHATTYPESERVICEASSISTANTSUB','VxpjI':_0x56e728(0x20a),'enSLP':_0x56e728(0x225),'xyMZJ':_0x56e728(0x210),'saUIT':_0x56e728(0x249),'OjESk':'KCHATTYPEQQNOTIFY','nHJwP':_0x56e728(0x215),'kWSQH':_0x56e728(0x266),'kxyYr':_0x56e728(0x22c),'dlqMK':_0x56e728(0x1f3),'fYggR':_0x56e728(0x255),'lbPjy':'KCHATTYPEDATALINE','JyaWb':'KCHATTYPEDISC','HkPtW':_0x56e728(0x1fd),'pmDdn':'KCHATTYPEWEIYUN','PoTcI':_0x56e728(0x265),'eoAgK':_0x56e728(0x21d),'XElZL':_0x56e728(0x23b),'WAmUD':_0x56e728(0x1ee),'TjDVQ':_0x56e728(0x1f6),'qDLOz':_0x56e728(0x1f4),'MGdrZ':_0x56e728(0x21f),'jVHVf':_0x56e728(0x23d),'rVKbB':_0x56e728(0x20d),'GpMQC':_0x56e728(0x1d5),'tBCLo':_0x56e728(0x1ea),'QrWUH':_0x56e728(0x213),'eIkUJ':_0x56e728(0x214),'EFJRI':_0x56e728(0x1fc),'pHHXU':'KCHATTYPEMATCHFRIENDFOLDER','nVBfv':_0x56e728(0x242),'YGbnS':_0x56e728(0x263),'LgCzF':_0x56e728(0x238),'zJSbU':'KCHATTYPETEMPWPA','gWgvm':_0x56e728(0x21e),'loBJX':_0x56e728(0x260)},_0x159029=_0x35da68[_0x56e728(0x254)][_0x56e728(0x25a)]('|'),_0x1b61c9=0x0;while(!![]){switch(_0x159029[_0x1b61c9++]){case'0':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x22e)]]=0x6e]=_0x35da68[_0x56e728(0x22e)];continue;case'1':_0x27df51[_0x27df51[_0x35da68['ZSmku']]=0x68]=_0x56e728(0x22f);continue;case'2':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x211)]]=0x77]=_0x56e728(0x262);continue;case'3':_0x27df51[_0x27df51[_0x35da68['QqLQc']]=0xc9]=_0x35da68[_0x56e728(0x22b)];continue;case'4':_0x27df51[_0x27df51[_0x35da68['VxpjI']]=0x76]=_0x35da68[_0x56e728(0x231)];continue;case'5':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x25c)]]=0x67]=_0x35da68[_0x56e728(0x25c)];continue;case'6':_0x27df51[_0x27df51[_0x35da68['xyMZJ']]=0x6a]=_0x35da68['xyMZJ'];continue;case'7':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x251)]]=0x29]=_0x35da68[_0x56e728(0x251)];continue;case'8':_0x27df51[_0x27df51[_0x35da68['OjESk']]=0x84]=_0x35da68[_0x56e728(0x1eb)];continue;case'9':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x24f)]]=0x63]='KCHATTYPETEMPC2CFROMUNKNOWN';continue;case'10':_0x27df51[_0x27df51[_0x35da68['kWSQH']]=0x65]='KCHATTYPETEMPFRIENDVERIFY';continue;case'11':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x226)]]=0x6f]=_0x56e728(0x22c);continue;case'12':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x23e)]]=0x1]=_0x56e728(0x1f3);continue;case'13':_0x27df51[_0x27df51[_0x35da68['fYggR']]=0x10]=_0x35da68[_0x56e728(0x24c)];continue;case'14':_0x27df51[_0x27df51[_0x56e728(0x1f9)]=0x8]=_0x35da68['lbPjy'];continue;case'15':_0x27df51[_0x27df51[_0x56e728(0x261)]=0x3]=_0x35da68[_0x56e728(0x234)];continue;case'16':_0x27df51[_0x27df51[_0x56e728(0x1fd)]=0x6c]=_0x35da68['HkPtW'];continue;case'17':_0x27df51[_0x27df51[_0x56e728(0x1ef)]=0x28]=_0x35da68[_0x56e728(0x1e6)];continue;case'18':_0x27df51[_0x27df51[_0x35da68['PoTcI']]=0x73]=_0x35da68['PoTcI'];continue;case'19':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x209)]]=0x69]=_0x35da68[_0x56e728(0x209)];continue;case'20':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x1e4)]]=0x7]=_0x35da68[_0x56e728(0x1e4)];continue;case'21':_0x27df51[_0x27df51[_0x35da68['WAmUD']]=0x70]=_0x35da68[_0x56e728(0x24b)];continue;case'22':_0x27df51[_0x27df51[_0x56e728(0x1f6)]=0x85]=_0x35da68['TjDVQ'];continue;case'23':_0x27df51[_0x27df51[_0x56e728(0x1f4)]=0x4]=_0x35da68[_0x56e728(0x1f5)];continue;case'24':_0x27df51[_0x27df51['KCHATTYPEDATALINEMQQ']=0x86]=_0x35da68[_0x56e728(0x240)];continue;case'25':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x259)]]=0x6b]=_0x35da68[_0x56e728(0x259)];continue;case'26':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x222)]]=0x9]=_0x35da68['rVKbB'];continue;case'27':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x25d)]]=0x83]=_0x35da68[_0x56e728(0x25d)];continue;case'28':_0x27df51[_0x27df51[_0x56e728(0x1ea)]=0x6]=_0x35da68[_0x56e728(0x1fe)];continue;case'29':_0x27df51[_0x27df51[_0x35da68['QrWUH']]=0x71]=_0x56e728(0x213);continue;case'30':_0x27df51[_0x27df51[_0x56e728(0x201)]=0x1e]=_0x56e728(0x201);continue;case'31':_0x27df51[_0x27df51[_0x56e728(0x214)]=0x2]=_0x35da68[_0x56e728(0x1e3)];continue;case'32':_0x27df51[_0x27df51[_0x35da68['EFJRI']]=0x74]=_0x35da68[_0x56e728(0x1e7)];continue;case'33':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x205)]]=0x6d]=_0x35da68[_0x56e728(0x205)];continue;case'34':_0x27df51[_0x27df51[_0x35da68['nVBfv']]=0x5]=_0x35da68['nVBfv'];continue;case'35':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x20c)]]=0x2a]=_0x35da68['YGbnS'];continue;case'36':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x22a)]]=0x66]=_0x35da68[_0x56e728(0x22a)];continue;case'37':_0x27df51[_0x27df51[_0x56e728(0x247)]=0x75]=_0x35da68[_0x56e728(0x24d)];continue;case'38':_0x27df51[_0x27df51[_0x35da68[_0x56e728(0x1e0)]]=0x64]=_0x35da68[_0x56e728(0x1e0)];continue;case'39':_0x27df51[_0x27df51[_0x35da68['loBJX']]=0x0]=_0x35da68['loBJX'];continue;}break;}}(ChatType2||(ChatType2={})));export const IMAGE_HTTP_HOST='https://gchat.qpic.cn';export const IMAGE_HTTP_HOST_NT=_0x294efa(0x248);export var GrayTipElementSubType;(function(_0x52cec4){var _0x8af371=_0x294efa,_0x35b1b8={'mxLGt':'INVITE_NEW_MEMBER','WzByP':_0x8af371(0x241)};_0x52cec4[_0x52cec4[_0x35b1b8[_0x8af371(0x245)]]=0xc]=_0x35b1b8['mxLGt'],_0x52cec4[_0x52cec4[_0x35b1b8['WzByP']]=0x11]=_0x35b1b8[_0x8af371(0x1f7)];}(GrayTipElementSubType||(GrayTipElementSubType={})));export var FaceType;(function(_0xd21680){var _0x30ce08=_0x294efa,_0xb5be8d={'HRlvY':_0x30ce08(0x1dd),'hjVpe':_0x30ce08(0x224)};_0xd21680[_0xd21680[_0xb5be8d[_0x30ce08(0x21b)]]=0x1]=_0x30ce08(0x1dd),_0xd21680[_0xd21680[_0xb5be8d[_0x30ce08(0x203)]]=0x2]=_0x30ce08(0x224),_0xd21680[_0xd21680[_0x30ce08(0x1dc)]=0x3]=_0x30ce08(0x1dc);}(FaceType||(FaceType={})));export var FaceIndex;(function(_0x58abc7){var _0xcf4332=_0x294efa,_0x1ee5ff={'Bfidv':_0xcf4332(0x236)};_0x58abc7[_0x58abc7[_0xcf4332(0x1dc)]=0x166]=_0xcf4332(0x1dc),_0x58abc7[_0x58abc7[_0x1ee5ff['Bfidv']]=0x167]=_0xcf4332(0x236);}(FaceIndex||(FaceIndex={})));export var viedo_type;(function(_0x10b95a){var _0x3b6046=_0x294efa,_0x3850f7={'ImZJp':_0x3b6046(0x246),'XxzaC':_0x3b6046(0x24e),'vRWNp':_0x3b6046(0x220),'fXzBB':_0x3b6046(0x256),'uQWvl':_0x3b6046(0x25b),'oHzNG':'VIDEO_FORMAT_AFS','ecIlm':_0x3b6046(0x21c),'URjGF':_0x3b6046(0x1df),'DYpue':_0x3b6046(0x218),'CnkUm':_0x3b6046(0x221),'WmglM':_0x3b6046(0x217),'axutE':_0x3b6046(0x232)},_0x58239b=_0x3850f7[_0x3b6046(0x1ed)][_0x3b6046(0x25a)]('|'),_0x510517=0x0;while(!![]){switch(_0x58239b[_0x510517++]){case'0':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x1fb)]]=0x1]=_0x3850f7[_0x3b6046(0x1fb)];continue;case'1':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x235)]]=0x5]=_0x3850f7[_0x3b6046(0x235)];continue;case'2':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x1ec)]]=0x3]=_0x3850f7[_0x3b6046(0x1ec)];continue;case'3':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x21a)]]=0x2]=_0x3850f7[_0x3b6046(0x21a)];continue;case'4':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x207)]]=0x7]=_0x3850f7[_0x3b6046(0x207)];continue;case'5':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x216)]]=0x4]=_0x3850f7[_0x3b6046(0x216)];continue;case'6':_0x10b95a[_0x10b95a[_0x3b6046(0x1df)]=0x6]=_0x3850f7['URjGF'];continue;case'7':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x233)]]=0x9]=_0x3850f7['DYpue'];continue;case'8':_0x10b95a[_0x10b95a[_0x3b6046(0x221)]=0xa]=_0x3850f7['CnkUm'];continue;case'9':_0x10b95a[_0x10b95a[_0x3850f7['WmglM']]=0x8]='VIDEO_FORMAT_MOV';continue;case'10':_0x10b95a[_0x10b95a[_0x3850f7[_0x3b6046(0x25f)]]=0xb]=_0x3b6046(0x232);continue;}break;}}(viedo_type||(viedo_type={})));export var TipGroupElementType;(function(_0x439341){var _0x4808ff=_0x294efa,_0x2e9551={'vHwHO':'memberIncrease','dlBvI':_0x4808ff(0x1e9),'FtvXX':'ban'};_0x439341[_0x439341[_0x2e9551[_0x4808ff(0x23c)]]=0x1]=_0x2e9551[_0x4808ff(0x23c)],_0x439341[_0x439341[_0x2e9551['dlBvI']]=0x3]=_0x2e9551['dlBvI'],_0x439341[_0x439341[_0x2e9551['FtvXX']]=0x8]=_0x2e9551[_0x4808ff(0x20b)];}(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 f106cb7f..be4766fb 100644 --- a/src/core.lib/src/entities/notify.js +++ b/src/core.lib/src/entities/notify.js @@ -1 +1 @@ -(function(_0x191e65,_0x5b51cc){var _0x206cc7=_0x1899,_0x3847e2=_0x191e65();while(!![]){try{var _0x12efa8=-parseInt(_0x206cc7(0xda))/0x1+parseInt(_0x206cc7(0xb2))/0x2*(-parseInt(_0x206cc7(0xe1))/0x3)+parseInt(_0x206cc7(0xc2))/0x4*(-parseInt(_0x206cc7(0xd4))/0x5)+parseInt(_0x206cc7(0xcf))/0x6*(parseInt(_0x206cc7(0xc4))/0x7)+-parseInt(_0x206cc7(0xc5))/0x8*(parseInt(_0x206cc7(0xdf))/0x9)+parseInt(_0x206cc7(0xb4))/0xa+parseInt(_0x206cc7(0xcc))/0xb*(parseInt(_0x206cc7(0xd2))/0xc);if(_0x12efa8===_0x5b51cc)break;else _0x3847e2['push'](_0x3847e2['shift']());}catch(_0x341d56){_0x3847e2['push'](_0x3847e2['shift']());}}}(_0x2f24,0x316db));export var GroupNotifyTypes;(function(_0x36bde1){var _0xe1412f=_0x1899,_0x13652d={'cTVkQ':_0xe1412f(0xb7),'grqXY':_0xe1412f(0xb6),'dzPJK':'ADMIN_SET','TLQEJ':_0xe1412f(0xb0),'oJVbB':'ADMIN_UNSET','TMxqd':_0xe1412f(0xab),'lDXqk':_0xe1412f(0xcb),'qfOYk':'INVITED_JOIN','lBYPz':_0xe1412f(0xbb)},_0x19880d=_0x13652d[_0xe1412f(0xe3)][_0xe1412f(0xbf)]('|'),_0x4ca9dd=0x0;while(!![]){switch(_0x19880d[_0x4ca9dd++]){case'0':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xa9)]]=0x7]=_0x13652d[_0xe1412f(0xa9)];continue;case'1':_0x36bde1[_0x36bde1[_0x13652d['dzPJK']]=0x8]=_0x13652d[_0xe1412f(0xe2)];continue;case'2':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xe4)]]=0x1]=_0x13652d[_0xe1412f(0xe4)];continue;case'3':_0x36bde1[_0x36bde1[_0xe1412f(0xa6)]=0xc]=_0x13652d[_0xe1412f(0xca)];continue;case'4':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xae)]]=0x9]=_0x13652d['TMxqd'];continue;case'5':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xad)]]=0xd]=_0x13652d[_0xe1412f(0xad)];continue;case'6':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xd6)]]=0x4]=_0x13652d[_0xe1412f(0xd6)];continue;case'7':_0x36bde1[_0x36bde1[_0x13652d[_0xe1412f(0xcd)]]=0xb]=_0x13652d[_0xe1412f(0xcd)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));function _0x2f24(){var _0x575b37=['4278fzCscZ','wvYDV','1840270SsVwQw','nQlYN','JOIN_REQUEST','2|6|0|1|4|7|3|5','WAIT_HANDLE','KMEAGREED','KMEREFUSED','MEMBER_EXIT','IoabX','NEWGROUPTYPE','KMESETQUESTION','split','CRYpS','KPEERINITIATOR','530804mUGzxP','KMEAGREEDANDADDED','7YJfNEv','70264HvaXfW','APPROVE','zaswZ','rJZQG','TMcyB','oJVbB','ADMIN_UNSET_OTHER','2410628NWefGr','lBYPz','GKRcW','1095888qASTff','KMEINITIATORWAITPEERCONFIRM','reject','36NrnQEn','KVVys','5RvzXwD','YrYJO','qfOYk','KMEAGREEANDADDFAILED','nzruw','zFhJh','212119OrMpsk','UcaRf','KMSGINFO','KMEIGNORED','NZcqo','333EoziWB','DEFAULTTYPE','213mkFXmq','dzPJK','cTVkQ','TLQEJ','KMEINITIATOR','zHEWj','ADMIN_UNSET','dJQcL','uxSHj','grqXY','KPEERAGREED','KICK_MEMBER','REJECT','lDXqk','TMxqd','IGNORE','INVITE_ME','KPEERAGREEDANDADDED'];_0x2f24=function(){return _0x575b37;};return _0x2f24();}export var GroupNotifyStatus;(function(_0x59c30b){var _0x3ac41c=_0x1899,_0x5db5d8={'CRYpS':_0x3ac41c(0xaf),'wvYDV':_0x3ac41c(0xac)};_0x59c30b[_0x59c30b[_0x5db5d8[_0x3ac41c(0xc0)]]=0x0]=_0x5db5d8['CRYpS'],_0x59c30b[_0x59c30b[_0x3ac41c(0xb8)]=0x1]=_0x3ac41c(0xb8),_0x59c30b[_0x59c30b['APPROVE']=0x2]=_0x3ac41c(0xc6),_0x59c30b[_0x59c30b[_0x3ac41c(0xac)]=0x3]=_0x5db5d8[_0x3ac41c(0xb3)];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;function _0x1899(_0x599ebc,_0x28c2e0){var _0x2f24d5=_0x2f24();return _0x1899=function(_0x1899b5,_0x3bf2c3){_0x1899b5=_0x1899b5-0xa6;var _0x817b6a=_0x2f24d5[_0x1899b5];return _0x817b6a;},_0x1899(_0x599ebc,_0x28c2e0);}(function(_0x1adf98){var _0x52286e=_0x1899,_0x1db6c6={'NZcqo':'approve','dJQcL':_0x52286e(0xd1)};_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xde)]]=0x1]=_0x1db6c6['NZcqo'],_0x1adf98[_0x1adf98[_0x1db6c6[_0x52286e(0xa7)]]=0x2]=_0x1db6c6[_0x52286e(0xa7)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x5839b9){var _0x2f5e79=_0x1899,_0x17b4fb={'YrYJO':_0x2f5e79(0xe5),'zaswZ':_0x2f5e79(0xc1),'TMcyB':_0x2f5e79(0xb9),'nQlYN':_0x2f5e79(0xaa),'uxSHj':_0x2f5e79(0xb1),'nzruw':'KPEERREFUSED','wfPJG':_0x2f5e79(0xba),'GKRcW':_0x2f5e79(0xdd),'zHEWj':'KMEAGREEANYONE','zFhJh':_0x2f5e79(0xbe),'zWTla':_0x2f5e79(0xd7),'UcaRf':_0x2f5e79(0xdc),'KmVpQ':'KMEINITIATORWAITPEERCONFIRM'};_0x5839b9[_0x5839b9['KMEINITIATOR']=0x0]=_0x17b4fb[_0x2f5e79(0xd5)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xc7)]]=0x1]=_0x2f5e79(0xc1),_0x5839b9[_0x5839b9[_0x2f5e79(0xb9)]=0x2]=_0x17b4fb[_0x2f5e79(0xc9)],_0x5839b9[_0x5839b9[_0x2f5e79(0xc3)]=0x3]='KMEAGREEDANDADDED',_0x5839b9[_0x5839b9['KPEERAGREED']=0x4]=_0x17b4fb[_0x2f5e79(0xb5)],_0x5839b9[_0x5839b9[_0x17b4fb['uxSHj']]=0x5]=_0x17b4fb[_0x2f5e79(0xa8)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd8)]]=0x6]=_0x17b4fb[_0x2f5e79(0xd8)],_0x5839b9[_0x5839b9[_0x17b4fb['wfPJG']]=0x7]=_0x17b4fb['wfPJG'],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xce)]]=0x8]=_0x17b4fb[_0x2f5e79(0xce)],_0x5839b9[_0x5839b9['KMEAGREEANYONE']=0x9]=_0x17b4fb[_0x2f5e79(0xe6)],_0x5839b9[_0x5839b9[_0x17b4fb[_0x2f5e79(0xd9)]]=0xa]=_0x17b4fb['zFhJh'],_0x5839b9[_0x5839b9[_0x2f5e79(0xd7)]=0xb]=_0x17b4fb['zWTla'],_0x5839b9[_0x5839b9[_0x2f5e79(0xdc)]=0xc]=_0x17b4fb[_0x2f5e79(0xdb)],_0x5839b9[_0x5839b9[_0x17b4fb['KmVpQ']]=0xd]=_0x2f5e79(0xd0);}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x6bd5c9){var _0x2827dc=_0x1899,_0x591207={'KVVys':_0x2827dc(0xe0),'rJZQG':'TITLETYPE','IoabX':_0x2827dc(0xbd)};_0x6bd5c9[_0x6bd5c9[_0x591207[_0x2827dc(0xd3)]]=0x0]=_0x2827dc(0xe0),_0x6bd5c9[_0x6bd5c9[_0x591207['rJZQG']]=0x1]=_0x591207[_0x2827dc(0xc8)],_0x6bd5c9[_0x6bd5c9[_0x591207[_0x2827dc(0xbc)]]=0x2]=_0x2827dc(0xbd);}(MemberExtSourceType||(MemberExtSourceType={}))); \ No newline at end of file +(function(_0x1b983c,_0x128708){var _0x50db59=_0x80b5,_0x3ca44f=_0x1b983c();while(!![]){try{var _0x592b1b=parseInt(_0x50db59(0x1bb))/0x1+-parseInt(_0x50db59(0x1e4))/0x2+-parseInt(_0x50db59(0x1d0))/0x3*(parseInt(_0x50db59(0x1e8))/0x4)+parseInt(_0x50db59(0x1c2))/0x5+parseInt(_0x50db59(0x1de))/0x6*(parseInt(_0x50db59(0x1d9))/0x7)+-parseInt(_0x50db59(0x1eb))/0x8*(-parseInt(_0x50db59(0x1d4))/0x9)+parseInt(_0x50db59(0x1d3))/0xa;if(_0x592b1b===_0x128708)break;else _0x3ca44f['push'](_0x3ca44f['shift']());}catch(_0x7f796f){_0x3ca44f['push'](_0x3ca44f['shift']());}}}(_0x136a,0x1fee4));function _0x136a(){var _0x51acbd=['xsCLx','663712npOGPC','VjWtq','KPEERINITIATOR','rOYKZ','split','vSauE','pLllY','INVITE_ME','PPxgh','KMSGINFO','rhNQv','ajYVF','REJECT','kqKEC','APPROVE','1|4|6|2|7|5|3|0','LNtiT','OPMzN','9|5|1|7|6|0|8|13|3|11|10|4|2|12','64703FlzENl','ADMIN_SET','ICOdM','flHHb','approve','DMdAq','ntdIF','229180gwVMQe','TITLETYPE','reject','MEMBER_EXIT','ADMIN_UNSET_OTHER','ADMIN_UNSET','KMEAGREED','KPEERREFUSED','JOIN_REQUEST','IGNORE','KMEIGNORED','KMEINITIATOR','oGirF','KMEREFUSED','9JUAiYk','OUpkO','INVITED_JOIN','245420ofNqqO','18dnpWKb','UEKVa','mnfcO','DYqVW','VoSTj','14oXSryJ','WAIT_HANDLE','KICK_MEMBER','vXajw','KMESETQUESTION','15342EnBRib','NEWGROUPTYPE','GtMVH','KMEAGREEDANDADDED','KMEAGREEANYONE','KMEINITIATORWAITPEERCONFIRM','227952PeNAog','nTZDI','uAqtq','drQRm','81812VTmIHL','KMEAGREEANDADDFAILED'];_0x136a=function(){return _0x51acbd;};return _0x136a();}export var GroupNotifyTypes;(function(_0x126b5e){var _0x131df3=_0x80b5,_0x3da7e6={'ntdIF':_0x131df3(0x1b7),'BTVMQ':_0x131df3(0x1c6),'UEKVa':_0x131df3(0x1af),'mnfcO':_0x131df3(0x1bc),'VoSTj':_0x131df3(0x1c7),'DMdAq':_0x131df3(0x1d2),'vSauE':_0x131df3(0x1c5),'VjWtq':_0x131df3(0x1ca),'oLuqD':_0x131df3(0x1db)},_0x13f121=_0x3da7e6[_0x131df3(0x1c1)][_0x131df3(0x1ef)]('|'),_0x55b885=0x0;while(!![]){switch(_0x13f121[_0x55b885++]){case'0':_0x126b5e[_0x126b5e[_0x3da7e6['BTVMQ']]=0xd]=_0x131df3(0x1c6);continue;case'1':_0x126b5e[_0x126b5e[_0x131df3(0x1af)]=0x1]=_0x3da7e6[_0x131df3(0x1d5)];continue;case'2':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1d6)]]=0x8]='ADMIN_SET';continue;case'3':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1d8)]]=0xc]=_0x3da7e6['VoSTj'];continue;case'4':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1c0)]]=0x4]=_0x3da7e6['DMdAq'];continue;case'5':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1ad)]]=0xb]='MEMBER_EXIT';continue;case'6':_0x126b5e[_0x126b5e[_0x3da7e6[_0x131df3(0x1ec)]]=0x7]=_0x3da7e6[_0x131df3(0x1ec)];continue;case'7':_0x126b5e[_0x126b5e[_0x3da7e6['oLuqD']]=0x9]='KICK_MEMBER';continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x2c050e){var _0x1d8500=_0x80b5,_0x159edd={'anWgP':_0x1d8500(0x1cb),'lcxtY':_0x1d8500(0x1da),'nTZDI':_0x1d8500(0x1b6),'kqKEC':_0x1d8500(0x1b4)};_0x2c050e[_0x2c050e[_0x1d8500(0x1cb)]=0x0]=_0x159edd['anWgP'],_0x2c050e[_0x2c050e[_0x159edd['lcxtY']]=0x1]=_0x159edd['lcxtY'],_0x2c050e[_0x2c050e[_0x1d8500(0x1b6)]=0x2]=_0x159edd[_0x1d8500(0x1e5)],_0x2c050e[_0x2c050e[_0x159edd[_0x1d8500(0x1b5)]]=0x3]=_0x159edd['kqKEC'];}(GroupNotifyStatus||(GroupNotifyStatus={})));function _0x80b5(_0xe667b6,_0x3488e4){var _0x136a9f=_0x136a();return _0x80b5=function(_0x80b5c4,_0x2c6c28){_0x80b5c4=_0x80b5c4-0x1ad;var _0x159f68=_0x136a9f[_0x80b5c4];return _0x159f68;},_0x80b5(_0xe667b6,_0x3488e4);}export var GroupRequestOperateTypes;(function(_0x242349){var _0x9776b3=_0x80b5,_0x1a05fe={'drQRm':_0x9776b3(0x1bf),'DYqVW':_0x9776b3(0x1c4)};_0x242349[_0x242349[_0x1a05fe[_0x9776b3(0x1e7)]]=0x1]=_0x1a05fe[_0x9776b3(0x1e7)],_0x242349[_0x242349[_0x1a05fe[_0x9776b3(0x1d7)]]=0x2]=_0x9776b3(0x1c4);}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));export var BuddyReqType;(function(_0x22f807){var _0x533add=_0x80b5,_0x5dc447={'Vthpq':_0x533add(0x1ba),'ICOdM':'KPEERAGREEDANDADDED','uAqtq':_0x533add(0x1c8),'rhNQv':_0x533add(0x1b1),'flHHb':_0x533add(0x1cc),'GtMVH':_0x533add(0x1e9),'ajYVF':_0x533add(0x1ed),'vXajw':'KPEERAGREED','PPxgh':_0x533add(0x1e1),'oGirF':_0x533add(0x1c9),'OUpkO':_0x533add(0x1cd),'rOYKZ':_0x533add(0x1e2),'OPMzN':_0x533add(0x1cf)},_0x134393=_0x5dc447['Vthpq'][_0x533add(0x1ef)]('|'),_0x125104=0x0;while(!![]){switch(_0x134393[_0x125104++]){case'0':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1bd)]]=0x5]=_0x5dc447[_0x533add(0x1bd)];continue;case'1':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1e6)]]=0x2]=_0x5dc447[_0x533add(0x1e6)];continue;case'2':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1b2)]]=0xc]=_0x533add(0x1b1);continue;case'3':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1be)]]=0x8]=_0x5dc447[_0x533add(0x1be)];continue;case'4':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1e0)]]=0xb]=_0x5dc447['GtMVH'];continue;case'5':_0x22f807[_0x22f807[_0x5dc447['ajYVF']]=0x1]=_0x5dc447[_0x533add(0x1b3)];continue;case'6':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1dc)]]=0x4]=_0x5dc447[_0x533add(0x1dc)];continue;case'7':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1b0)]]=0x3]=_0x533add(0x1e1);continue;case'8':_0x22f807[_0x22f807[_0x5dc447['oGirF']]=0x6]=_0x5dc447[_0x533add(0x1ce)];continue;case'9':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1d1)]]=0x0]=_0x533add(0x1cd);continue;case'10':_0x22f807[_0x22f807[_0x533add(0x1dd)]=0xa]='KMESETQUESTION';continue;case'11':_0x22f807[_0x22f807[_0x5dc447[_0x533add(0x1ee)]]=0x9]=_0x5dc447['rOYKZ'];continue;case'12':_0x22f807[_0x22f807[_0x533add(0x1e3)]=0xd]=_0x533add(0x1e3);continue;case'13':_0x22f807[_0x22f807[_0x533add(0x1cf)]=0x7]=_0x5dc447[_0x533add(0x1b9)];continue;}break;}}(BuddyReqType||(BuddyReqType={})));export var MemberExtSourceType;(function(_0x5519f0){var _0x5fa0a0=_0x80b5,_0x49ea34={'xsCLx':'DEFAULTTYPE','LNtiT':_0x5fa0a0(0x1c3),'pLllY':_0x5fa0a0(0x1df)};_0x5519f0[_0x5519f0[_0x49ea34['xsCLx']]=0x0]=_0x49ea34[_0x5fa0a0(0x1ea)],_0x5519f0[_0x5519f0[_0x49ea34[_0x5fa0a0(0x1b8)]]=0x1]=_0x49ea34['LNtiT'],_0x5519f0[_0x5519f0[_0x49ea34[_0x5fa0a0(0x1ae)]]=0x2]=_0x49ea34[_0x5fa0a0(0x1ae)];}(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 b7852ffd..8515e18a 100644 --- a/src/core.lib/src/entities/user.js +++ b/src/core.lib/src/entities/user.js @@ -1 +1 @@ -function _0x1486(_0x328b06,_0x117286){var _0x3c6035=_0x3c60();return _0x1486=function(_0x1486a1,_0x3a35dc){_0x1486a1=_0x1486a1-0x1b4;var _0x5ef6be=_0x3c6035[_0x1486a1];return _0x5ef6be;},_0x1486(_0x328b06,_0x117286);}(function(_0x12c93a,_0x54cab3){var _0x37fbfd=_0x1486,_0x558b1d=_0x12c93a();while(!![]){try{var _0x4acca0=parseInt(_0x37fbfd(0x1b8))/0x1+-parseInt(_0x37fbfd(0x1bd))/0x2*(parseInt(_0x37fbfd(0x1b9))/0x3)+parseInt(_0x37fbfd(0x1c4))/0x4+-parseInt(_0x37fbfd(0x1c0))/0x5+parseInt(_0x37fbfd(0x1c3))/0x6*(parseInt(_0x37fbfd(0x1b4))/0x7)+-parseInt(_0x37fbfd(0x1bb))/0x8*(-parseInt(_0x37fbfd(0x1c1))/0x9)+parseInt(_0x37fbfd(0x1b6))/0xa*(-parseInt(_0x37fbfd(0x1c2))/0xb);if(_0x4acca0===_0x54cab3)break;else _0x558b1d['push'](_0x558b1d['shift']());}catch(_0x499218){_0x558b1d['push'](_0x558b1d['shift']());}}}(_0x3c60,0xe9f23));export var Sex;(function(_0x4debb2){var _0x3c1549=_0x1486,_0x5a32c8={'bZrDj':'male','lHsCo':_0x3c1549(0x1bf),'rVSeb':_0x3c1549(0x1b7)};_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1bc)]]=0x1]=_0x5a32c8[_0x3c1549(0x1bc)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c6)]]=0x2]=_0x5a32c8[_0x3c1549(0x1c6)],_0x4debb2[_0x4debb2[_0x5a32c8[_0x3c1549(0x1c5)]]=0xff]=_0x5a32c8[_0x3c1549(0x1c5)];}(Sex||(Sex={})));function _0x3c60(){var _0x2bb498=['1276807nuCQsN','CZvMn','10qTzIjk','unknown','1473897wGReGY','1305177ywbCIB','KPHOTOWALL','8QJpRwl','bZrDj','2Aintpo','NgVPa','female','3581255kgtxZf','2893626fxOpQu','37059638PWKWCU','60SqXFKm','7436760YvxCeV','rVSeb','lHsCo'];_0x3c60=function(){return _0x2bb498;};return _0x3c60();}export var BizKey;(function(_0x1d0b54){var _0x4645b9=_0x1486,_0x56379a={'NgVPa':'KPRIVILEGEICON','CZvMn':_0x4645b9(0x1ba)};_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1be)]]=0x0]=_0x56379a['NgVPa'],_0x1d0b54[_0x1d0b54[_0x56379a[_0x4645b9(0x1b5)]]=0x1]=_0x56379a[_0x4645b9(0x1b5)];}(BizKey||(BizKey={}))); \ No newline at end of file +(function(_0x34871a,_0x494743){var _0x51a366=_0x4ea6,_0x263a6c=_0x34871a();while(!![]){try{var _0x419954=-parseInt(_0x51a366(0x13a))/0x1+-parseInt(_0x51a366(0x138))/0x2*(-parseInt(_0x51a366(0x137))/0x3)+parseInt(_0x51a366(0x12b))/0x4+parseInt(_0x51a366(0x136))/0x5+-parseInt(_0x51a366(0x132))/0x6*(parseInt(_0x51a366(0x13c))/0x7)+parseInt(_0x51a366(0x12c))/0x8+-parseInt(_0x51a366(0x12d))/0x9*(parseInt(_0x51a366(0x139))/0xa);if(_0x419954===_0x494743)break;else _0x263a6c['push'](_0x263a6c['shift']());}catch(_0x5e8d22){_0x263a6c['push'](_0x263a6c['shift']());}}}(_0x2aa4,0xd9ec4));function _0x4ea6(_0x4e9973,_0x3b787e){var _0x2aa41c=_0x2aa4();return _0x4ea6=function(_0x4ea631,_0x3b3c2d){_0x4ea631=_0x4ea631-0x12b;var _0x462926=_0x2aa41c[_0x4ea631];return _0x462926;},_0x4ea6(_0x4e9973,_0x3b787e);}export var Sex;(function(_0x3ac6e0){var _0x58f707=_0x4ea6,_0x2d4ece={'LrLDs':_0x58f707(0x12f),'akEXe':_0x58f707(0x13b),'lPWPy':_0x58f707(0x134)};_0x3ac6e0[_0x3ac6e0[_0x58f707(0x12f)]=0x1]=_0x2d4ece['LrLDs'],_0x3ac6e0[_0x3ac6e0[_0x2d4ece[_0x58f707(0x131)]]=0x2]='female',_0x3ac6e0[_0x3ac6e0[_0x2d4ece[_0x58f707(0x12e)]]=0xff]=_0x2d4ece[_0x58f707(0x12e)];}(Sex||(Sex={})));export var BizKey;(function(_0x5cf1c2){var _0x3a98a4=_0x4ea6,_0x741eb8={'CSWFe':_0x3a98a4(0x130),'SLuLd':'KPHOTOWALL'};_0x5cf1c2[_0x5cf1c2[_0x741eb8[_0x3a98a4(0x133)]]=0x0]=_0x3a98a4(0x130),_0x5cf1c2[_0x5cf1c2[_0x741eb8[_0x3a98a4(0x135)]]=0x1]='KPHOTOWALL';}(BizKey||(BizKey={})));function _0x2aa4(){var _0x180bc4=['5264392PhBhcy','9IslWoS','lPWPy','male','KPRIVILEGEICON','akEXe','362676nMLbqH','CSWFe','unknown','SLuLd','3962495goChIJ','3PhCmCC','455558yEBiMe','11062120gAxxdp','571153LyembR','female','35gzxFDF','4775520eIpTnz'];_0x2aa4=function(){return _0x180bc4;};return _0x2aa4();} \ No newline at end of file diff --git a/src/core.lib/src/index.js b/src/core.lib/src/index.js index d70c541d..b23eca6e 100644 --- a/src/core.lib/src/index.js +++ b/src/core.lib/src/index.js @@ -1 +1 @@ -(function(_0x5a88d9,_0x5ab068){var _0x4173ab=_0x1a06,_0x3036a7=_0x5a88d9();while(!![]){try{var _0x289715=parseInt(_0x4173ab(0x118))/0x1+parseInt(_0x4173ab(0x116))/0x2+-parseInt(_0x4173ab(0x115))/0x3+parseInt(_0x4173ab(0x113))/0x4*(parseInt(_0x4173ab(0x117))/0x5)+-parseInt(_0x4173ab(0x119))/0x6+parseInt(_0x4173ab(0x11a))/0x7*(parseInt(_0x4173ab(0x11b))/0x8)+-parseInt(_0x4173ab(0x114))/0x9;if(_0x289715===_0x5ab068)break;else _0x3036a7['push'](_0x3036a7['shift']());}catch(_0x3977a0){_0x3036a7['push'](_0x3036a7['shift']());}}}(_0x2005,0xed49d));import _0x982f22 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x982f22 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core';function _0x1a06(_0x49759a,_0x315aa0){var _0x2005fe=_0x2005();return _0x1a06=function(_0x1a064f,_0x283c48){_0x1a064f=_0x1a064f-0x113;var _0x46e9af=_0x2005fe[_0x1a064f];return _0x46e9af;},_0x1a06(_0x49759a,_0x315aa0);}function _0x2005(){var _0x307347=['2986272hbeAEX','155953buaIdy','552ljIjTz','4jEWJhM','23346801GELwep','250023udeCqm','1325890IjnUQP','2914430RWFPoS','1363993GtoguH'];_0x2005=function(){return _0x307347;};return _0x2005();} \ No newline at end of file +(function(_0xe5c35e,_0x3e7e90){var _0x47c632=_0x24b5,_0x581c24=_0xe5c35e();while(!![]){try{var _0x2b2072=parseInt(_0x47c632(0x82))/0x1+-parseInt(_0x47c632(0x7d))/0x2+-parseInt(_0x47c632(0x81))/0x3+-parseInt(_0x47c632(0x83))/0x4+-parseInt(_0x47c632(0x84))/0x5*(parseInt(_0x47c632(0x7c))/0x6)+parseInt(_0x47c632(0x7f))/0x7+parseInt(_0x47c632(0x80))/0x8*(parseInt(_0x47c632(0x7e))/0x9);if(_0x2b2072===_0x3e7e90)break;else _0x581c24['push'](_0x581c24['shift']());}catch(_0x23f57f){_0x581c24['push'](_0x581c24['shift']());}}}(_0x2282,0xc67e0));import _0x332b61 from'./wrapper';export*from'./adapters';export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x332b61 as Wrapper};function _0x24b5(_0x124679,_0x2dafa2){var _0x2282ff=_0x2282();return _0x24b5=function(_0x24b5f6,_0xaaa19){_0x24b5f6=_0x24b5f6-0x7c;var _0x2197a4=_0x2282ff[_0x24b5f6];return _0x2197a4;},_0x24b5(_0x124679,_0x2dafa2);}export*as WrapperInterface from'./wrapper';function _0x2282(){var _0x16a9d5=['2082411hdrjIi','1268699UCTFwT','1205452zkwLIO','3620HXiGPc','7746hFiCqL','1886332gyCFyn','8928wlJldq','7285453nLndrV','11104FbrOJn'];_0x2282=function(){return _0x16a9d5;};return _0x2282();}export*as SessionConfig from'./sessionConfig';export{napCatCore}from'./core'; \ No newline at end of file diff --git a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js index c2e2d125..8bbdecec 100644 --- a/src/core.lib/src/listeners/NodeIKernelBuddyListener.js +++ b/src/core.lib/src/listeners/NodeIKernelBuddyListener.js @@ -1 +1 @@ -function _0x3fab(){var _0x4d46a2=['273666uuvvYm','7990873CmIdaT','636447FZHmfW','8eqkubd','9WCntbC','onDelBatchBuddyInfos','1614780zkQLyc','20rKtiRl','onCheckBuddySettingResult','4MRFzAJ','onBuddyReqChange','onBuddyRemarkUpdated','onSpacePermissionInfos','264249PuBBOl','985236hsRowp','onBlockChanged','onDoubtBuddyReqUnreadNumChange','onNickUpdated','onAvatarUrlUpdated','onSmartInfos','onBuddyInfoChange','onBuddyReqUnreadCntChange','onDoubtBuddyReqChange','337715WMEKMj','onAddMeSettingChanged'];_0x3fab=function(){return _0x4d46a2;};return _0x3fab();}var _0x88adf8=_0x3d4c;(function(_0x3b1c8a,_0x1e1cb4){var _0x3169fc=_0x3d4c,_0x31dcfd=_0x3b1c8a();while(!![]){try{var _0x19ba97=-parseInt(_0x3169fc(0xf0))/0x1+-parseInt(_0x3169fc(0x105))/0x2*(parseInt(_0x3169fc(0xfc))/0x3)+-parseInt(_0x3169fc(0x103))/0x4*(parseInt(_0x3169fc(0xfa))/0x5)+parseInt(_0x3169fc(0xf1))/0x6+-parseInt(_0x3169fc(0xfe))/0x7*(parseInt(_0x3169fc(0xff))/0x8)+parseInt(_0x3169fc(0x100))/0x9*(parseInt(_0x3169fc(0x102))/0xa)+parseInt(_0x3169fc(0xfd))/0xb;if(_0x19ba97===_0x1e1cb4)break;else _0x31dcfd['push'](_0x31dcfd['shift']());}catch(_0x510daa){_0x31dcfd['push'](_0x31dcfd['shift']());}}}(_0x3fab,0x2b29e));function _0x3d4c(_0x576b67,_0x5694aa){var _0x3fabf5=_0x3fab();return _0x3d4c=function(_0x3d4c89,_0x33ac90){_0x3d4c89=_0x3d4c89-0xef;var _0x57106f=_0x3fabf5[_0x3d4c89];return _0x57106f;},_0x3d4c(_0x576b67,_0x5694aa);}export class BuddyListener{['onAddBuddyNeedVerify'](_0x35afa2){}[_0x88adf8(0xfb)](_0x160262){}[_0x88adf8(0xf5)](_0x301847){}[_0x88adf8(0xf2)](_0x5c2bd8){}['onBuddyDetailInfoChange'](_0x795f7b){}[_0x88adf8(0xf7)](_0x5d18c7){}['onBuddyListChange'](_0x109f89){}[_0x88adf8(0x107)](_0x55561d){}[_0x88adf8(0x106)](_0x58d4af){}[_0x88adf8(0xf8)](_0x37ab64){}[_0x88adf8(0x104)](_0x1a03df){}[_0x88adf8(0x101)](_0x57d3e3){}[_0x88adf8(0xf9)](_0x3b45a7){}[_0x88adf8(0xf3)](_0x2eab18){}[_0x88adf8(0xf4)](_0x2a6633){}[_0x88adf8(0xf6)](_0x487cf0){}[_0x88adf8(0xef)](_0x30c7f6){}} \ No newline at end of file +var _0x5820ae=_0x345e;function _0x345e(_0x15472d,_0x1c4f61){var _0x23fee3=_0x23fe();return _0x345e=function(_0x345efa,_0x37c191){_0x345efa=_0x345efa-0x1db;var _0x20deb8=_0x23fee3[_0x345efa];return _0x20deb8;},_0x345e(_0x15472d,_0x1c4f61);}function _0x23fe(){var _0x238d0e=['10952sNslGZ','964790acaHUj','onBuddyDetailInfoChange','onSmartInfos','785871kKuNvh','77rKotqw','4030569SPByIC','4643215taSpQU','20NsBDfX','onBuddyInfoChange','onBuddyReqUnreadCntChange','onSpacePermissionInfos','368536arZhoK','5663yqeNum','onBuddyReqChange','6ufMeFH','1907020yKPiYy','onCheckBuddySettingResult','onBuddyRemarkUpdated','onAddMeSettingChanged','onBuddyListChange','onAvatarUrlUpdated','onAddBuddyNeedVerify'];_0x23fe=function(){return _0x238d0e;};return _0x23fe();}(function(_0x33dada,_0x2ce6f7){var _0x548da9=_0x345e,_0x37a49=_0x33dada();while(!![]){try{var _0x109491=parseInt(_0x548da9(0x1e7))/0x1+-parseInt(_0x548da9(0x1eb))/0x2+parseInt(_0x548da9(0x1df))/0x3*(parseInt(_0x548da9(0x1e3))/0x4)+parseInt(_0x548da9(0x1e2))/0x5*(-parseInt(_0x548da9(0x1ea))/0x6)+parseInt(_0x548da9(0x1e8))/0x7*(parseInt(_0x548da9(0x1db))/0x8)+parseInt(_0x548da9(0x1e1))/0x9+-parseInt(_0x548da9(0x1dc))/0xa*(parseInt(_0x548da9(0x1e0))/0xb);if(_0x109491===_0x2ce6f7)break;else _0x37a49['push'](_0x37a49['shift']());}catch(_0x5d4cb6){_0x37a49['push'](_0x37a49['shift']());}}}(_0x23fe,0xa5151));export class BuddyListener{[_0x5820ae(0x1f1)](_0x2c9826){}[_0x5820ae(0x1ee)](_0x251400){}[_0x5820ae(0x1f0)](_0x6dc9eb){}['onBlockChanged'](_0x1143a5){}[_0x5820ae(0x1dd)](_0x168d0e){}[_0x5820ae(0x1e4)](_0x1e2d50){}[_0x5820ae(0x1ef)](_0x3aeb84){}[_0x5820ae(0x1ed)](_0x47e756){}[_0x5820ae(0x1e9)](_0x1497a4){}[_0x5820ae(0x1e5)](_0x153b2a){}[_0x5820ae(0x1ec)](_0x47db2e){}['onDelBatchBuddyInfos'](_0x42cd9a){}['onDoubtBuddyReqChange'](_0x47d516){}['onDoubtBuddyReqUnreadNumChange'](_0x4ee743){}['onNickUpdated'](_0x48d675){}[_0x5820ae(0x1de)](_0x4503be){}[_0x5820ae(0x1e6)](_0x139640){}} \ 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 c64e24a9..2b1878c7 100644 --- a/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js +++ b/src/core.lib/src/listeners/NodeIKernelFileAssistantListener.js @@ -1 +1 @@ -var _0x5457b1=_0x22fa;(function(_0x8f7c2d,_0x41452c){var _0x5c4950=_0x22fa,_0x52f638=_0x8f7c2d();while(!![]){try{var _0x4ea75e=parseInt(_0x5c4950(0xcd))/0x1+-parseInt(_0x5c4950(0xd1))/0x2*(-parseInt(_0x5c4950(0xd5))/0x3)+parseInt(_0x5c4950(0xcf))/0x4*(parseInt(_0x5c4950(0xd4))/0x5)+parseInt(_0x5c4950(0xd3))/0x6*(-parseInt(_0x5c4950(0xca))/0x7)+-parseInt(_0x5c4950(0xd2))/0x8+parseInt(_0x5c4950(0xd0))/0x9+-parseInt(_0x5c4950(0xc9))/0xa*(-parseInt(_0x5c4950(0xcc))/0xb);if(_0x4ea75e===_0x41452c)break;else _0x52f638['push'](_0x52f638['shift']());}catch(_0x86cec3){_0x52f638['push'](_0x52f638['shift']());}}}(_0xb570,0x51613));function _0x22fa(_0x73610c,_0x34d62b){var _0xb57097=_0xb570();return _0x22fa=function(_0x22fa57,_0x2dd083){_0x22fa57=_0x22fa57-0xc8;var _0x25c628=_0xb57097[_0x22fa57];return _0x25c628;},_0x22fa(_0x73610c,_0x34d62b);}export class KernelFileAssistantListener{[_0x5457b1(0xcb)](..._0x41e433){}['onSessionListChanged'](..._0x3829a9){}[_0x5457b1(0xce)](..._0x1acf9c){}['onFileListChanged'](..._0x2e851c){}[_0x5457b1(0xc8)](..._0xdd1f57){}}function _0xb570(){var _0x26737c=['176TRVIQU','639334cAezJC','onSessionChanged','92MNvEmx','1980171XiUnTR','187406cJjWdE','3990816AChBSo','22566vXTdRJ','78395uaKILN','3adVkYa','onFileSearch','42260gHnCNC','1022tWmkLI','onFileStatusChanged'];_0xb570=function(){return _0x26737c;};return _0xb570();} \ No newline at end of file +var _0x5cc46e=_0x12ff;(function(_0x134349,_0x137905){var _0x45518c=_0x12ff,_0x8d13bd=_0x134349();while(!![]){try{var _0x11b0f5=parseInt(_0x45518c(0x133))/0x1+parseInt(_0x45518c(0x130))/0x2+-parseInt(_0x45518c(0x132))/0x3+-parseInt(_0x45518c(0x136))/0x4*(-parseInt(_0x45518c(0x135))/0x5)+parseInt(_0x45518c(0x13a))/0x6+parseInt(_0x45518c(0x137))/0x7+-parseInt(_0x45518c(0x138))/0x8;if(_0x11b0f5===_0x137905)break;else _0x8d13bd['push'](_0x8d13bd['shift']());}catch(_0x366682){_0x8d13bd['push'](_0x8d13bd['shift']());}}}(_0x3ac8,0xa222d));function _0x12ff(_0x2d5205,_0x440851){var _0x3ac8e3=_0x3ac8();return _0x12ff=function(_0x12ffcd,_0x20c801){_0x12ffcd=_0x12ffcd-0x130;var _0x25af2d=_0x3ac8e3[_0x12ffcd];return _0x25af2d;},_0x12ff(_0x2d5205,_0x440851);}function _0x3ac8(){var _0x5ccbdc=['2247171AjrxFR','502310glImQE','onFileSearch','5665tsBhBz','3316pVCHry','1030120arVYHB','3998824qBUrdR','onFileListChanged','682998JkiFYG','420918aYFqvz','onFileStatusChanged'];_0x3ac8=function(){return _0x5ccbdc;};return _0x3ac8();}export class KernelFileAssistantListener{[_0x5cc46e(0x131)](..._0x5e46ce){}['onSessionListChanged'](..._0x576884){}['onSessionChanged'](..._0x4cdb9b){}[_0x5cc46e(0x139)](..._0x511c0b){}[_0x5cc46e(0x134)](..._0x14361e){}} \ 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 88f0b3ba..7b0139d9 100644 --- a/src/core.lib/src/listeners/NodeIKernelGroupListener.js +++ b/src/core.lib/src/listeners/NodeIKernelGroupListener.js @@ -1 +1 @@ -function _0xf92b(){var _0x40307b=['zsXeZ','140034pIDJrv','onGroupsMsgMaskResult:','onGroupMemberLevelInfoChange','20nfBJHL','onGroupsMsgMaskResult','UhBCu','FvytJ','onGroupBulletinChange','onMemberInfoChange:','9943116sJVQuP','onGroupSingleScreenNotifies','onGroupSingleScreenNotifies:','onGroupNotifiesUpdated:','3176fqjbrY','onJoinGroupNoVerifyFlag','onGroupConfMemberChange','1229371udLHwo','onShutUpMemberListChanged','miWTJ','onGroupFirstBulletinNotify:','xfCRT','GNOCf','1352250qtBIFB','BsKuM','onGroupArkInviteStateResult','ZEJAJ','onGroupBulletinRichMediaDownloadComplete','onMemberListChange','onGroupNotifiesUpdated','onJoinGroupNotify:','onGroupAllInfoChange:','onGroupListUpdate:','onGroupExtListUpdate:','rJDjx','onGroupDetailInfoChange','onGroupAllInfoChange','30kqXMCG','onMemberListChange:','1161OSPBen','onJoinGroupNoVerifyFlag:','onGroupNotifiesUnreadCountUpdated:','onGroupListUpdate','FuErh','onGroupArkInviteStateResult:','15127mpAILN','onGroupFirstBulletinNotify','onGroupNotifiesUnreadCountUpdated','onGetGroupBulletinListResult','2hfVgfk','onGroupBulletinRichMediaProgressUpdate','log','onGroupBulletinChange:','iLxjW','onMemberInfoChange','onGroupBulletinRichMediaDownloadComplete:','eOoAP','onGetGroupBulletinListResult:','HMWrr','onGroupStatisticInfoChange:','onSearchMemberChange','672RKiuAz','onGroupExtListUpdate','88156bKWAnF','onGroupBulletinRemindNotify'];_0xf92b=function(){return _0x40307b;};return _0xf92b();}var _0x32a6aa=_0x8080;(function(_0xe869b3,_0x3135bb){var _0x32458e=_0x8080,_0x1b3c72=_0xe869b3();while(!![]){try{var _0x13d355=parseInt(_0x32458e(0x214))/0x1*(-parseInt(_0x32458e(0x225))/0x2)+-parseInt(_0x32458e(0x208))/0x3*(parseInt(_0x32458e(0x222))/0x4)+parseInt(_0x32458e(0x1fa))/0x5+-parseInt(_0x32458e(0x220))/0x6*(parseInt(_0x32458e(0x210))/0x7)+parseInt(_0x32458e(0x1f1))/0x8*(-parseInt(_0x32458e(0x20a))/0x9)+-parseInt(_0x32458e(0x228))/0xa*(parseInt(_0x32458e(0x1f4))/0xb)+parseInt(_0x32458e(0x1ed))/0xc;if(_0x13d355===_0x3135bb)break;else _0x1b3c72['push'](_0x1b3c72['shift']());}catch(_0x52bd1b){_0x1b3c72['push'](_0x1b3c72['shift']());}}}(_0xf92b,0x3629c));export class GroupListener{[_0x32a6aa(0x227)](..._0x2ced88){}[_0x32a6aa(0x213)](..._0x502bfb){}[_0x32a6aa(0x207)](..._0x2c1f48){}[_0x32a6aa(0x1eb)](..._0x4c2555){}['onGroupBulletinRemindNotify'](..._0x400a11){}['onGroupArkInviteStateResult'](..._0x52dc14){}['onGroupBulletinRichMediaDownloadComplete'](..._0x53b0cd){}[_0x32a6aa(0x1f3)](..._0x14022e){}[_0x32a6aa(0x206)](..._0x72a7b8){}[_0x32a6aa(0x221)](..._0xb82c30){}[_0x32a6aa(0x211)](..._0x136140){}[_0x32a6aa(0x20d)](_0x35f217,_0x53db40){}[_0x32a6aa(0x200)](_0x3eea99,_0x38872d){}['onGroupBulletinRichMediaProgressUpdate'](..._0x25c726){}[_0x32a6aa(0x212)](..._0x1f89cc){}[_0x32a6aa(0x1ee)](_0x1581aa,_0x545fba,_0x2b1033){}[_0x32a6aa(0x229)](..._0x19ad37){}['onGroupStatisticInfoChange'](..._0x5d850b){}['onJoinGroupNotify'](..._0x4164b7){}[_0x32a6aa(0x1f2)](..._0x37b129){}[_0x32a6aa(0x219)](_0x4984e1,_0x48c173,_0x50db3e){}['onMemberListChange'](_0x2a452d){}[_0x32a6aa(0x21f)](..._0x109422){}[_0x32a6aa(0x1f5)](..._0x38a130){}}function _0x8080(_0x389ae2,_0x205284){var _0xf92b41=_0xf92b();return _0x8080=function(_0x8080d0,_0xd2f9ad){_0x8080d0=_0x8080d0-0x1e9;var _0xe11035=_0xf92b41[_0x8080d0];return _0xe11035;},_0x8080(_0x389ae2,_0x205284);}export class DebugGroupListener{[_0x32a6aa(0x227)](..._0x5bc645){var _0x233fd3=_0x32a6aa,_0x3c77ce={'FuErh':'onGroupMemberLevelInfoChange:'};console[_0x233fd3(0x216)](_0x3c77ce[_0x233fd3(0x20e)],..._0x5bc645);}['onGetGroupBulletinListResult'](..._0x107f26){var _0x3072ea=_0x32a6aa,_0x221522={'HMWrr':_0x3072ea(0x21c)};console[_0x3072ea(0x216)](_0x221522[_0x3072ea(0x21d)],..._0x107f26);}[_0x32a6aa(0x207)](..._0x44d96d){var _0x5d6b69=_0x32a6aa,_0x356240={'miWTJ':_0x5d6b69(0x202)};console[_0x5d6b69(0x216)](_0x356240[_0x5d6b69(0x1f6)],..._0x44d96d);}[_0x32a6aa(0x1eb)](..._0x22f8e2){var _0x1518b7=_0x32a6aa;console[_0x1518b7(0x216)](_0x1518b7(0x217),..._0x22f8e2);}[_0x32a6aa(0x223)](..._0x430141){var _0x76d15d=_0x32a6aa,_0xedfd20={'rJDjx':'onGroupBulletinRemindNotify:'};console[_0x76d15d(0x216)](_0xedfd20[_0x76d15d(0x205)],..._0x430141);}[_0x32a6aa(0x1fc)](..._0x330ef2){var _0x214715=_0x32a6aa,_0x4566dd={'GNOCf':_0x214715(0x20f)};console[_0x214715(0x216)](_0x4566dd[_0x214715(0x1f9)],..._0x330ef2);}[_0x32a6aa(0x1fe)](..._0x300192){var _0xc2004a=_0x32a6aa,_0x16a921={'zsXeZ':_0xc2004a(0x21a)};console[_0xc2004a(0x216)](_0x16a921[_0xc2004a(0x224)],..._0x300192);}[_0x32a6aa(0x1f3)](..._0x574260){console['log']('onGroupConfMemberChange:',..._0x574260);}[_0x32a6aa(0x206)](..._0x48f666){var _0x89b8cc={'hjffa':'onGroupDetailInfoChange:'};console['log'](_0x89b8cc['hjffa'],..._0x48f666);}[_0x32a6aa(0x221)](..._0xc3beb5){var _0x44bb72=_0x32a6aa,_0x4e56fe={'QbbkD':_0x44bb72(0x204)};console[_0x44bb72(0x216)](_0x4e56fe['QbbkD'],..._0xc3beb5);}[_0x32a6aa(0x211)](..._0x359540){var _0x21ec92=_0x32a6aa,_0x416429={'xfCRT':_0x21ec92(0x1f7)};console[_0x21ec92(0x216)](_0x416429[_0x21ec92(0x1f8)],..._0x359540);}[_0x32a6aa(0x20d)](..._0x3f80c4){var _0x4cb296=_0x32a6aa;console[_0x4cb296(0x216)](_0x4cb296(0x203),..._0x3f80c4);}[_0x32a6aa(0x200)](..._0x41a61e){var _0x6bdf2f=_0x32a6aa,_0x5d61ca={'iLxjW':_0x6bdf2f(0x1f0)};console['log'](_0x5d61ca[_0x6bdf2f(0x218)],..._0x41a61e);}[_0x32a6aa(0x215)](..._0x2cf5a2){var _0x2ac05b=_0x32a6aa;console[_0x2ac05b(0x216)]('onGroupBulletinRichMediaProgressUpdate:',..._0x2cf5a2);}['onGroupNotifiesUnreadCountUpdated'](..._0x737c7b){var _0x5e78a3=_0x32a6aa,_0x1f94cd={'ZEJAJ':_0x5e78a3(0x20c)};console[_0x5e78a3(0x216)](_0x1f94cd[_0x5e78a3(0x1fd)],..._0x737c7b);}[_0x32a6aa(0x1ee)](_0x4c86e1,_0x3cd101,_0x1b35bc){var _0x340e99=_0x32a6aa;console[_0x340e99(0x216)](_0x340e99(0x1ef));}['onGroupsMsgMaskResult'](..._0x2a6784){var _0x380af8=_0x32a6aa,_0x316f7e={'bcfKN':_0x380af8(0x226)};console['log'](_0x316f7e['bcfKN'],..._0x2a6784);}['onGroupStatisticInfoChange'](..._0x51760b){var _0x537e41=_0x32a6aa,_0x155e48={'FvytJ':_0x537e41(0x21e)};console[_0x537e41(0x216)](_0x155e48[_0x537e41(0x1ea)],..._0x51760b);}['onJoinGroupNotify'](..._0x5d6a6d){var _0x4bf3af=_0x32a6aa,_0x49b198={'eOoAP':_0x4bf3af(0x201)};console['log'](_0x49b198[_0x4bf3af(0x21b)],..._0x5d6a6d);}[_0x32a6aa(0x1f2)](..._0x13f596){var _0xfafd8c=_0x32a6aa,_0x9a0d93={'cFrTZ':_0xfafd8c(0x20b)};console[_0xfafd8c(0x216)](_0x9a0d93['cFrTZ'],..._0x13f596);}[_0x32a6aa(0x219)](_0x5f3646,_0xf8e03a,_0x4de7f5){var _0xf20601=_0x32a6aa,_0x31ba50={'BsKuM':_0xf20601(0x1ec)};console[_0xf20601(0x216)](_0x31ba50[_0xf20601(0x1fb)],_0x5f3646,_0xf8e03a,_0x4de7f5);}[_0x32a6aa(0x1ff)](..._0xd0e60e){var _0x38317c=_0x32a6aa;console[_0x38317c(0x216)](_0x38317c(0x209),..._0xd0e60e);}[_0x32a6aa(0x21f)](..._0x17f88e){var _0x3d58d6=_0x32a6aa;console[_0x3d58d6(0x216)]('onSearchMemberChange:',..._0x17f88e);}[_0x32a6aa(0x1f5)](..._0x58bd3e){var _0x4230c1=_0x32a6aa,_0x347346={'UhBCu':'onShutUpMemberListChanged:'};console[_0x4230c1(0x216)](_0x347346[_0x4230c1(0x1e9)],..._0x58bd3e);}} \ No newline at end of file +function _0x58dd(_0x1d00c1,_0x1eddb8){var _0x280479=_0x2804();return _0x58dd=function(_0x58dd61,_0x1691b9){_0x58dd61=_0x58dd61-0xf8;var _0x3922aa=_0x280479[_0x58dd61];return _0x3922aa;},_0x58dd(_0x1d00c1,_0x1eddb8);}function _0x2804(){var _0x2c4a35=['onMemberInfoChange','YHpbF','onGroupNotifiesUpdated','onGetGroupBulletinListResult','9ATGIXj','onGroupBulletinRichMediaProgressUpdate:','1622424oaKIBk','onGroupConfMemberChange:','onJoinGroupNoVerifyFlag','onJoinGroupNoVerifyFlag:','QoFpf','dYIzR','294IWxYpb','onSearchMemberChange','onGroupMemberLevelInfoChange:','onMemberInfoChange:','log','onMemberListChange','onGroupExtListUpdate','430rNbzyT','571RbLoWF','CYCDo','onShutUpMemberListChanged','onJoinGroupNotify:','YBZhh','onGroupAllInfoChange','onGroupSingleScreenNotifies:','onGroupBulletinRemindNotify','onGroupFirstBulletinNotify','onGetGroupBulletinListResult:','2636vLpXXx','onGroupNotifiesUnreadCountUpdated:','onGroupMemberLevelInfoChange','iQBvM','KAOlH','siACk','onGroupConfMemberChange','onGroupListUpdate','onSearchMemberChange:','onGroupBulletinRichMediaDownloadComplete:','1756190QapHMQ','onGroupArkInviteStateResult','onGroupBulletinRichMediaDownloadComplete','onGroupDetailInfoChange','onGroupNotifiesUnreadCountUpdated','444033IXLyGn','Pnbae','onGroupsMsgMaskResult','usyDa','1760099yURXcb','onGroupNotifiesUpdated:','onGroupStatisticInfoChange:','onGroupArkInviteStateResult:','bTZDX','15547RMbKtn','onGroupBulletinChange','onGroupListUpdate:','qABJY','onGroupBulletinRichMediaProgressUpdate','onGroupStatisticInfoChange','304aYqPWV','oSkcI','UhKzv'];_0x2804=function(){return _0x2c4a35;};return _0x2804();}var _0x329fcd=_0x58dd;(function(_0x4af057,_0x51a2db){var _0x5a0285=_0x58dd,_0x29b6eb=_0x4af057();while(!![]){try{var _0x364ea0=-parseInt(_0x5a0285(0x12a))/0x1*(-parseInt(_0x5a0285(0x113))/0x2)+-parseInt(_0x5a0285(0x104))/0x3+-parseInt(_0x5a0285(0x134))/0x4*(-parseInt(_0x5a0285(0x129))/0x5)+parseInt(_0x5a0285(0x122))/0x6*(-parseInt(_0x5a0285(0x10d))/0x7)+-parseInt(_0x5a0285(0x11c))/0x8*(-parseInt(_0x5a0285(0x11a))/0x9)+parseInt(_0x5a0285(0xff))/0xa+-parseInt(_0x5a0285(0x108))/0xb;if(_0x364ea0===_0x51a2db)break;else _0x29b6eb['push'](_0x29b6eb['shift']());}catch(_0x3e07b5){_0x29b6eb['push'](_0x29b6eb['shift']());}}}(_0x2804,0x19a4f));export class GroupListener{[_0x329fcd(0x136)](..._0x39f855){}[_0x329fcd(0x119)](..._0x23f55d){}[_0x329fcd(0x12f)](..._0xd97520){}['onGroupBulletinChange'](..._0x503805){}[_0x329fcd(0x131)](..._0x1a3186){}[_0x329fcd(0x100)](..._0x296882){}['onGroupBulletinRichMediaDownloadComplete'](..._0x61b3c8){}[_0x329fcd(0xfb)](..._0x558f07){}[_0x329fcd(0x102)](..._0x13552d){}[_0x329fcd(0x128)](..._0x12752c){}[_0x329fcd(0x132)](..._0xb83305){}[_0x329fcd(0xfc)](_0x20cef4,_0x5b0bb7){}[_0x329fcd(0x118)](_0x2988bd,_0x38e80a){}['onGroupBulletinRichMediaProgressUpdate'](..._0x135026){}['onGroupNotifiesUnreadCountUpdated'](..._0x13d863){}['onGroupSingleScreenNotifies'](_0xbd1371,_0x573527,_0x4b7939){}[_0x329fcd(0x106)](..._0x5f151e){}[_0x329fcd(0x112)](..._0xa06834){}['onJoinGroupNotify'](..._0x2668e6){}[_0x329fcd(0x11e)](..._0x2e2962){}[_0x329fcd(0x116)](_0x196fc9,_0x947e65,_0x37bbb8){}['onMemberListChange'](_0xd55199){}[_0x329fcd(0x123)](..._0x306fba){}[_0x329fcd(0x12c)](..._0x8c749c){}}export class DebugGroupListener{[_0x329fcd(0x136)](..._0x439c2c){var _0x1f7f42=_0x329fcd;console[_0x1f7f42(0x126)](_0x1f7f42(0x124),..._0x439c2c);}[_0x329fcd(0x119)](..._0xd109f9){var _0x31373d=_0x329fcd,_0x794f1a={'bTZDX':_0x31373d(0x133)};console[_0x31373d(0x126)](_0x794f1a[_0x31373d(0x10c)],..._0xd109f9);}['onGroupAllInfoChange'](..._0x5ec29c){var _0x1e9d87=_0x329fcd;console[_0x1e9d87(0x126)]('onGroupAllInfoChange:',..._0x5ec29c);}[_0x329fcd(0x10e)](..._0x3a0b7d){console['log']('onGroupBulletinChange:',..._0x3a0b7d);}[_0x329fcd(0x131)](..._0x9b4012){var _0x5e1456=_0x329fcd,_0x49bf2c={'siACk':'onGroupBulletinRemindNotify:'};console[_0x5e1456(0x126)](_0x49bf2c[_0x5e1456(0xfa)],..._0x9b4012);}[_0x329fcd(0x100)](..._0x160dbc){var _0x50736f=_0x329fcd;console['log'](_0x50736f(0x10b),..._0x160dbc);}[_0x329fcd(0x101)](..._0xafa57e){var _0x49418a=_0x329fcd;console[_0x49418a(0x126)](_0x49418a(0xfe),..._0xafa57e);}[_0x329fcd(0xfb)](..._0x5d504b){var _0x10fa92=_0x329fcd;console[_0x10fa92(0x126)](_0x10fa92(0x11d),..._0x5d504b);}['onGroupDetailInfoChange'](..._0x24601a){var _0x5138ac=_0x329fcd,_0xf658bd={'Pnbae':'onGroupDetailInfoChange:'};console[_0x5138ac(0x126)](_0xf658bd[_0x5138ac(0x105)],..._0x24601a);}[_0x329fcd(0x128)](..._0x18552e){var _0xbd5de7=_0x329fcd,_0x5a5c96={'usyDa':'onGroupExtListUpdate:'};console[_0xbd5de7(0x126)](_0x5a5c96[_0xbd5de7(0x107)],..._0x18552e);}[_0x329fcd(0x132)](..._0x478b34){var _0xc1de2a=_0x329fcd,_0x47ab33={'CYCDo':'onGroupFirstBulletinNotify:'};console[_0xc1de2a(0x126)](_0x47ab33[_0xc1de2a(0x12b)],..._0x478b34);}[_0x329fcd(0xfc)](..._0x3343db){var _0x415f35=_0x329fcd,_0x3b6d61={'UhKzv':_0x415f35(0x10f)};console[_0x415f35(0x126)](_0x3b6d61[_0x415f35(0x115)],..._0x3343db);}[_0x329fcd(0x118)](..._0x4c7b29){var _0x2dfd2f=_0x329fcd,_0x2f9301={'QoFpf':_0x2dfd2f(0x109)};console['log'](_0x2f9301[_0x2dfd2f(0x120)],..._0x4c7b29);}[_0x329fcd(0x111)](..._0xc41ca9){var _0x5ee10f=_0x329fcd,_0x42daf5={'dYIzR':_0x5ee10f(0x11b)};console[_0x5ee10f(0x126)](_0x42daf5[_0x5ee10f(0x121)],..._0xc41ca9);}[_0x329fcd(0x103)](..._0x1ec268){var _0x531e5e=_0x329fcd,_0x305155={'qABJY':_0x531e5e(0x135)};console[_0x531e5e(0x126)](_0x305155[_0x531e5e(0x110)],..._0x1ec268);}['onGroupSingleScreenNotifies'](_0x138788,_0x5a2518,_0x6b84c8){var _0x3cc9fb=_0x329fcd,_0x43dcf4={'iQBvM':_0x3cc9fb(0x130)};console[_0x3cc9fb(0x126)](_0x43dcf4[_0x3cc9fb(0xf8)]);}[_0x329fcd(0x106)](..._0x2cb65e){var _0x487cd3=_0x329fcd,_0x5ea778={'oSkcI':'onGroupsMsgMaskResult:'};console[_0x487cd3(0x126)](_0x5ea778[_0x487cd3(0x114)],..._0x2cb65e);}[_0x329fcd(0x112)](..._0x371447){var _0x4395bc=_0x329fcd,_0x44952a={'KAOlH':_0x4395bc(0x10a)};console[_0x4395bc(0x126)](_0x44952a[_0x4395bc(0xf9)],..._0x371447);}['onJoinGroupNotify'](..._0x4f12fb){var _0x599c46=_0x329fcd,_0x10e90f={'YBZhh':_0x599c46(0x12d)};console[_0x599c46(0x126)](_0x10e90f[_0x599c46(0x12e)],..._0x4f12fb);}[_0x329fcd(0x11e)](..._0x54d89d){var _0x1e3532=_0x329fcd;console[_0x1e3532(0x126)](_0x1e3532(0x11f),..._0x54d89d);}[_0x329fcd(0x116)](_0xfce2c8,_0x3c6d5c,_0xce2fd6){var _0x27795f=_0x329fcd,_0x1c44bc={'xyzTs':_0x27795f(0x125)};console[_0x27795f(0x126)](_0x1c44bc['xyzTs'],_0xfce2c8,_0x3c6d5c,_0xce2fd6);}[_0x329fcd(0x127)](..._0x4a8243){console['log']('onMemberListChange:',..._0x4a8243);}[_0x329fcd(0x123)](..._0x26e167){var _0x55558f=_0x329fcd;console['log'](_0x55558f(0xfd),..._0x26e167);}[_0x329fcd(0x12c)](..._0x4cb2fb){var _0x575b24=_0x329fcd,_0xe8c438={'YHpbF':'onShutUpMemberListChanged:'};console['log'](_0xe8c438[_0x575b24(0x117)],..._0x4cb2fb);}} \ 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 f5cde736..afae62ac 100644 --- a/src/core.lib/src/listeners/NodeIKernelLoginListener.js +++ b/src/core.lib/src/listeners/NodeIKernelLoginListener.js @@ -1 +1 @@ -function _0x10b5(_0x3f73e6,_0xf3f67d){var _0x36b56a=_0x36b5();return _0x10b5=function(_0x10b5b1,_0xdceef7){_0x10b5b1=_0x10b5b1-0xf9;var _0x426467=_0x36b56a[_0x10b5b1];return _0x426467;},_0x10b5(_0x3f73e6,_0xf3f67d);}var _0x19eaf9=_0x10b5;(function(_0x46a75b,_0x30f01a){var _0x1bad46=_0x10b5,_0xd0b89c=_0x46a75b();while(!![]){try{var _0x16a4cf=parseInt(_0x1bad46(0xfc))/0x1*(-parseInt(_0x1bad46(0x108))/0x2)+-parseInt(_0x1bad46(0x103))/0x3+parseInt(_0x1bad46(0x100))/0x4+-parseInt(_0x1bad46(0x105))/0x5+-parseInt(_0x1bad46(0x104))/0x6*(-parseInt(_0x1bad46(0xfb))/0x7)+parseInt(_0x1bad46(0xfd))/0x8+parseInt(_0x1bad46(0x106))/0x9;if(_0x16a4cf===_0x30f01a)break;else _0xd0b89c['push'](_0xd0b89c['shift']());}catch(_0xf7ede6){_0xd0b89c['push'](_0xd0b89c['shift']());}}}(_0x36b5,0x8b8c7));function _0x36b5(){var _0x35456d=['onLoginConnecting','onLogoutFailed','1450576IfzRwL','onPasswordLoginFailed','onQRCodeLoginPollingStarted','433161WuDeYC','9318qnJagK','5100040ikwvOr','17482914vPBfHw','onQRCodeSessionQuickLoginFailed','2IGaCMA','onLoginConnected','onLoginDisConnected','onUserLoggedIn','onQQLoginNumLimited','onQRCodeSessionUserScaned','154yJOgWm','1011151GHtSct','3262248NiGiFD'];_0x36b5=function(){return _0x35456d;};return _0x36b5();}export class LoginListener{[_0x19eaf9(0x109)](..._0x4d129d){}[_0x19eaf9(0x10a)](..._0x48a257){}[_0x19eaf9(0xfe)](..._0x1739a6){}['onQRCodeGetPicture'](_0x41de67){}[_0x19eaf9(0x102)](..._0x4ee5bc){}[_0x19eaf9(0xfa)](..._0x54b299){}['onQRCodeLoginSucceed'](_0x4a8e73){}['onQRCodeSessionFailed'](..._0x5f4e9b){}['onLoginFailed'](..._0x381f3e){}['onLogoutSucceed'](..._0x3ea443){}[_0x19eaf9(0xff)](..._0x57291c){}[_0x19eaf9(0x10b)](..._0xb56e09){}[_0x19eaf9(0x107)](..._0x3ed9f5){}[_0x19eaf9(0x101)](..._0x5ef97f){}['OnConfirmUnusualDeviceFailed'](..._0x566cbc){}[_0x19eaf9(0xf9)](..._0x37c9ab){}['onLoginState'](..._0x5e89b0){}} \ No newline at end of file +function _0x2cb9(_0x9104e7,_0x480616){var _0x17e2bb=_0x17e2();return _0x2cb9=function(_0x2cb9cf,_0x43715c){_0x2cb9cf=_0x2cb9cf-0x17d;var _0x51babf=_0x17e2bb[_0x2cb9cf];return _0x51babf;},_0x2cb9(_0x9104e7,_0x480616);}var _0x43ac47=_0x2cb9;(function(_0x3aee9f,_0xfac91){var _0x74cbd8=_0x2cb9,_0x2c5ad0=_0x3aee9f();while(!![]){try{var _0x5772f5=-parseInt(_0x74cbd8(0x191))/0x1*(parseInt(_0x74cbd8(0x195))/0x2)+parseInt(_0x74cbd8(0x18b))/0x3*(parseInt(_0x74cbd8(0x180))/0x4)+-parseInt(_0x74cbd8(0x181))/0x5+parseInt(_0x74cbd8(0x190))/0x6+parseInt(_0x74cbd8(0x183))/0x7*(-parseInt(_0x74cbd8(0x18e))/0x8)+parseInt(_0x74cbd8(0x18f))/0x9*(parseInt(_0x74cbd8(0x188))/0xa)+parseInt(_0x74cbd8(0x194))/0xb*(parseInt(_0x74cbd8(0x182))/0xc);if(_0x5772f5===_0xfac91)break;else _0x2c5ad0['push'](_0x2c5ad0['shift']());}catch(_0x52dfe5){_0x2c5ad0['push'](_0x2c5ad0['shift']());}}}(_0x17e2,0x5dbb5));export class LoginListener{[_0x43ac47(0x189)](..._0x4f4b92){}[_0x43ac47(0x18a)](..._0x1408d8){}[_0x43ac47(0x184)](..._0x1bbae8){}[_0x43ac47(0x186)](_0x4bc1fd){}[_0x43ac47(0x17e)](..._0x153885){}['onQRCodeSessionUserScaned'](..._0xbc0c60){}[_0x43ac47(0x187)](_0x1787bf){}[_0x43ac47(0x185)](..._0x43afbe){}[_0x43ac47(0x17f)](..._0xd1d8ba){}['onLogoutSucceed'](..._0x11e662){}[_0x43ac47(0x196)](..._0xae76d0){}[_0x43ac47(0x192)](..._0xad6031){}['onQRCodeSessionQuickLoginFailed'](..._0xe2d904){}[_0x43ac47(0x18c)](..._0x5c960a){}[_0x43ac47(0x18d)](..._0xc208a){}[_0x43ac47(0x17d)](..._0xc9b151){}[_0x43ac47(0x193)](..._0xe4e79d){}}function _0x17e2(){var _0x25377e=['4SSAaVD','1622590vJxLUx','133788VbrcQZ','3619mStzFf','onLoginConnecting','onQRCodeSessionFailed','onQRCodeGetPicture','onQRCodeLoginSucceed','503190iofyNS','onLoginConnected','onLoginDisConnected','1001469YSSbwa','onPasswordLoginFailed','OnConfirmUnusualDeviceFailed','1704EKuhRW','99UprqiB','696390ZzWXWf','44EiTSRb','onUserLoggedIn','onLoginState','121GYpaiZ','13976mMbpfD','onLogoutFailed','onQQLoginNumLimited','onQRCodeLoginPollingStarted','onLoginFailed'];_0x17e2=function(){return _0x25377e;};return _0x17e2();} \ 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 c80c7bac..f9184289 100644 --- a/src/core.lib/src/listeners/NodeIKernelMsgListener.js +++ b/src/core.lib/src/listeners/NodeIKernelMsgListener.js @@ -1 +1 @@ -var _0x2c2352=_0xbf6e;(function(_0x2b6b21,_0x5793fa){var _0x5f8068=_0xbf6e,_0x48c901=_0x2b6b21();while(!![]){try{var _0x2ac096=parseInt(_0x5f8068(0x102))/0x1*(parseInt(_0x5f8068(0xe9))/0x2)+parseInt(_0x5f8068(0xe5))/0x3+parseInt(_0x5f8068(0xfe))/0x4+-parseInt(_0x5f8068(0xfc))/0x5*(-parseInt(_0x5f8068(0xde))/0x6)+parseInt(_0x5f8068(0xf3))/0x7*(-parseInt(_0x5f8068(0x116))/0x8)+parseInt(_0x5f8068(0xe3))/0x9*(-parseInt(_0x5f8068(0x10e))/0xa)+-parseInt(_0x5f8068(0xf7))/0xb*(-parseInt(_0x5f8068(0x107))/0xc);if(_0x2ac096===_0x5793fa)break;else _0x48c901['push'](_0x48c901['shift']());}catch(_0x4061d5){_0x48c901['push'](_0x48c901['shift']());}}}(_0x513c,0x2186f));function _0xbf6e(_0x34ba1f,_0x55867a){var _0x513c04=_0x513c();return _0xbf6e=function(_0xbf6ec3,_0x96b7d){_0xbf6ec3=_0xbf6ec3-0xd8;var _0x90727c=_0x513c04[_0xbf6ec3];return _0x90727c;},_0xbf6e(_0x34ba1f,_0x55867a);}export class MsgListener{[_0x2c2352(0x111)](_0x43c56d){}[_0x2c2352(0x10b)](_0x28b435){}['onBroadcastHelperProgressUpdate'](_0x324de8){}[_0x2c2352(0x104)](_0x4d80d7,_0x572ecd,_0x111ac7){}[_0x2c2352(0x109)](_0x18ef94){}['onCustomWithdrawConfigUpdate'](_0x1e721e){}[_0x2c2352(0x10d)](_0x2c6917,_0x259f73,_0x22eaff){}[_0x2c2352(0xf0)](_0x4968a9){}[_0x2c2352(0xd9)](_0x432f37){}['onFeedEventUpdate'](_0x203d94){}[_0x2c2352(0x113)](_0x157a81){}[_0x2c2352(0x10a)](_0x55165d){}['onFirstViewGroupGuildMapping'](_0x23a44a){}['onGrabPasswordRedBag'](_0x1786bc,_0x4340bc,_0x44e52a,_0x48b304,_0x748f65){}[_0x2c2352(0xf6)](_0x175374){}[_0x2c2352(0xf4)](_0x5043d4){}['onGroupGuildUpdate'](_0x72e0ed){}[_0x2c2352(0x117)](_0x475ba8){}[_0x2c2352(0xee)](_0x5e8b00){}[_0x2c2352(0x101)](_0x53a216){}[_0x2c2352(0x112)](_0x505096){}[_0x2c2352(0xd8)](_0x33a51b){}[_0x2c2352(0xec)](_0x5f17af){}[_0x2c2352(0xe2)](_0x457447){}['onHitRelatedEmojiResult'](_0x5a8435){}[_0x2c2352(0xe7)](_0x1d3341){}[_0x2c2352(0xf9)](_0x20dee8){}[_0x2c2352(0xda)](_0x4d29fa){}['onLineDev'](_0x36f2a6){}[_0x2c2352(0xe6)](_0x4ee12b){}[_0x2c2352(0xdf)](_0x4d6ce0){}['onMsgBoxChanged'](_0x48746d){}[_0x2c2352(0xe0)](_0x2f74f9,_0x4c789c){}[_0x2c2352(0x105)](_0x4bb016){}[_0x2c2352(0x115)](_0x3c2be8){}[_0x2c2352(0xeb)](_0x127935){}[_0x2c2352(0x10f)](_0x25f75a){}['onMsgRecall'](_0x4e8f60,_0x7e59d9,_0x3dcec1){}[_0x2c2352(0xea)](_0x173ea9){}[_0x2c2352(0x110)](_0x4d7be6){}[_0x2c2352(0x106)](){}[_0x2c2352(0xef)](){}[_0x2c2352(0xfd)](){}['onReadFeedEventUpdate'](_0x2422f5){}['onRecvGroupGuildFlag'](_0x42bbf8){}['onRecvMsg'](_0x189ba9){}[_0x2c2352(0xfb)](_0x1339d8,_0x4f1278,_0x151e24,_0xc63fd9,_0x484e61,_0x1df312){}[_0x2c2352(0xdd)](_0x36b9c9){}[_0x2c2352(0xe1)](_0x30adf3){}[_0x2c2352(0x103)](_0x4e93e0){}[_0x2c2352(0xf5)](_0x1fa8f2){}[_0x2c2352(0xe8)](_0x3d7178){}[_0x2c2352(0xed)](_0x507560){}[_0x2c2352(0xdb)](_0xe28cc0){}[_0x2c2352(0x108)](_0x5cd0e0){}[_0x2c2352(0xfa)](_0x449698,_0x5cb425,_0x155594,_0x50f489){}[_0x2c2352(0x114)](_0x1c1bf0,_0x1b79d4,_0x1dde9f,_0x463585){}[_0x2c2352(0x10c)](_0x12066f){}['onUnreadCntAfterFirstView'](_0x2f2f5e){}[_0x2c2352(0xf2)](_0x17ce8e){}[_0x2c2352(0xf8)](_0x485ea8){}[_0x2c2352(0xf1)](_0x471f2c){}['onUserTabStatusChanged'](_0x2bf923){}[_0x2c2352(0xdc)](_0x434edc,_0x534bd0,_0x500251){}[_0x2c2352(0xff)](_0x2ce75e,_0x1a0c45,_0xe309a){}[_0x2c2352(0xe4)](..._0x10a93f){}['onMsgWithRichLinkInfoUpdate'](..._0x1cfc11){}['onRedTouchChanged'](..._0x4a6641){}[_0x2c2352(0x100)](..._0x415784){}}function _0x513c(){var _0xeea6ae=['onMsgInfoListUpdate','onHitCsRelatedEmojiResult','onRichMediaProgerssUpdate','onGroupTransferInfoUpdate','onNtMsgSyncEnd','onEmojiDownloadComplete','onUserOnlineStatusChanged','onUnreadCntUpdate','70yhdLxY','onGroupFileInfoUpdate','onRecvUDCFlag','onGroupFileInfoAdd','187bJimZv','onUserChannelTabStatusChanged','onInputStatusPush','onSendMsgError','onRecvMsgSvrRspTransInfo','10tXhELD','onNtMsgSyncStart','950668zlMsMt','onlineStatusSmallIconDownloadPush','onBroadcastHelperProgerssUpdate','onGuildInteractiveUpdate','1CXvviK','onRecvSysMsg','onChannelFreqLimitInfoUpdate','onMsgEventListUpdate','onNtFirstViewMsgSyncEnd','96216ZEjmmp','onSearchGroupFileInfoUpdate','onContactUnreadCntUpdate','onFirstViewDirectMsgUpdate','onBroadcastHelperDownloadComplete','onTempChatInfoUpdate','onDraftUpdate','2314930KUtdBf','onMsgQRCodeStatusChanged','onMsgSettingUpdate','onAddSendMsg','onGuildMsgAbFlagChanged','onFileMsgCome','onSysMsgNotification','onMsgInfoListAdd','164240MKfMBe','onGroupTransferInfoAdd','onGuildNotificationAbstractUpdate','onEmojiResourceUpdate','onKickedOffLine','onRichMediaUploadComplete','onlineStatusBigIconDownloadPush','onRecvOnlineFileMsg','192876pDHgJD','onMsgAbstractUpdate','onMsgDelete','onRecvS2CMsg','onHitEmojiKeywordResult','9ZWqUey','onUserSecQualityChanged','391785ojcDON','onLogLevelChanged','onImportOldDbProgressUpdate','onRichMediaDownloadComplete','10520ZHwTQf','onMsgSecurityNotify'];_0x513c=function(){return _0xeea6ae;};return _0x513c();} \ No newline at end of file +function _0x419c(_0x3a9c44,_0x5df866){var _0xee852e=_0xee85();return _0x419c=function(_0x419c93,_0x4aaf2e){_0x419c93=_0x419c93-0x8d;var _0x47f948=_0xee852e[_0x419c93];return _0x47f948;},_0x419c(_0x3a9c44,_0x5df866);}function _0xee85(){var _0xd4ec2f=['onCustomWithdrawConfigUpdate','onSearchGroupFileInfoUpdate','onMsgSecurityNotify','onReadFeedEventUpdate','onGroupGuildUpdate','onSendMsgError','2288997AukraQ','onRecvUDCFlag','onSysMsgNotification','onImportOldDbProgressUpdate','205yGHfWW','onFileMsgCome','52943ZRwLdM','1375350hdoSCO','onGuildMsgAbFlagChanged','7767uLsedG','onAddSendMsg','onRichMediaUploadComplete','onMsgAbstractUpdate','onRecvS2CMsg','onRichMediaProgerssUpdate','onBroadcastHelperProgerssUpdate','onUserSecQualityChanged','onHitCsRelatedEmojiResult','onEmojiDownloadComplete','onHitRelatedEmojiResult','onUserOnlineStatusChanged','onNtMsgSyncStart','onFeedEventUpdate','4501uhmpbN','onRecvSysMsg','onMsgBoxChanged','6906mbwmeS','onMsgRecall','onMsgDelete','onBroadcastHelperProgressUpdate','onLogLevelChanged','onFirstViewDirectMsgUpdate','onMsgQRCodeStatusChanged','onUnreadCntUpdate','383125Wzripk','62468hVVYmS','onGrabPasswordRedBag','1952xhCeso','onUserChannelTabStatusChanged','1310igWchF','onMsgInfoListAdd','onUserTabStatusChanged','onGroupTransferInfoAdd','onKickedOffLine','onNtFirstViewMsgSyncEnd','onBroadcastHelperDownloadComplete','onUnreadCntAfterFirstView','onGroupFileInfoAdd','onlineStatusSmallIconDownloadPush','onTempChatInfoUpdate','onGuildInteractiveUpdate','onRecvGroupGuildFlag','onNtMsgSyncEnd','onGuildNotificationAbstractUpdate','onGroupFileInfoUpdate','onGroupTransferInfoUpdate'];_0xee85=function(){return _0xd4ec2f;};return _0xee85();}var _0x418578=_0x419c;(function(_0x1c6929,_0x312718){var _0x1f9460=_0x419c,_0x17be30=_0x1c6929();while(!![]){try{var _0xca6bf9=-parseInt(_0x1f9460(0xa9))/0x1+parseInt(_0x1f9460(0x8e))/0x2+-parseInt(_0x1f9460(0xc5))/0x3+parseInt(_0x1f9460(0xaa))/0x4*(-parseInt(_0x1f9460(0xc9))/0x5)+-parseInt(_0x1f9460(0xa1))/0x6*(-parseInt(_0x1f9460(0x9e))/0x7)+parseInt(_0x1f9460(0xac))/0x8*(parseInt(_0x1f9460(0x90))/0x9)+parseInt(_0x1f9460(0xae))/0xa*(parseInt(_0x1f9460(0x8d))/0xb);if(_0xca6bf9===_0x312718)break;else _0x17be30['push'](_0x17be30['shift']());}catch(_0x47de61){_0x17be30['push'](_0x17be30['shift']());}}}(_0xee85,0x75c76));export class MsgListener{[_0x418578(0x91)](_0x427cc8){}[_0x418578(0xb4)](_0x5f436f){}[_0x418578(0xa4)](_0x1de9b2){}['onChannelFreqLimitInfoUpdate'](_0x9ce371,_0x2413d8,_0x34fa4f){}['onContactUnreadCntUpdate'](_0x256dd8){}[_0x418578(0xbf)](_0x1dee72){}['onDraftUpdate'](_0xfc7a2a,_0x410b21,_0x3a0b86){}[_0x418578(0x99)](_0x5cb1c0){}['onEmojiResourceUpdate'](_0x20feb8){}[_0x418578(0x9d)](_0x2e27f4){}[_0x418578(0xca)](_0x2f5f11){}[_0x418578(0xa6)](_0x240c12){}['onFirstViewGroupGuildMapping'](_0x17421a){}[_0x418578(0xab)](_0x3a8d7f,_0x1474bf,_0x3e4a37,_0x513232,_0x533ca9){}[_0x418578(0xb6)](_0x21be31){}[_0x418578(0xbd)](_0x4ee845){}[_0x418578(0xc3)](_0x10ceef){}[_0x418578(0xb1)](_0x2624d3){}[_0x418578(0xbe)](_0xd5230d){}[_0x418578(0xb9)](_0x3b3011){}[_0x418578(0x8f)](_0x4bc771){}[_0x418578(0xbc)](_0x5bb1ab){}[_0x418578(0x98)](_0x579390){}['onHitEmojiKeywordResult'](_0x6dbfab){}[_0x418578(0x9a)](_0x56c86f){}[_0x418578(0xc8)](_0x1850ac){}['onInputStatusPush'](_0x1bfeaa){}[_0x418578(0xb2)](_0x179e46){}['onLineDev'](_0x16e47c){}[_0x418578(0xa5)](_0x5eed64){}[_0x418578(0x93)](_0x4e7379){}[_0x418578(0xa0)](_0x2d28c6){}[_0x418578(0xa3)](_0x22a545,_0x1c3193){}['onMsgEventListUpdate'](_0x2c9d38){}[_0x418578(0xaf)](_0x1296df){}['onMsgInfoListUpdate'](_0x511086){}[_0x418578(0xa7)](_0x2ad06e){}[_0x418578(0xa2)](_0x4eecf2,_0x488516,_0x2b9e62){}[_0x418578(0xc1)](_0x864ed0){}['onMsgSettingUpdate'](_0x1fe8f7){}[_0x418578(0xb3)](){}[_0x418578(0xbb)](){}[_0x418578(0x9c)](){}[_0x418578(0xc2)](_0x1dc278){}[_0x418578(0xba)](_0x12d96f){}['onRecvMsg'](_0x54d87a){}['onRecvMsgSvrRspTransInfo'](_0x2569fb,_0xfcce93,_0x2e4654,_0x16c58a,_0x29728,_0x5d393c){}['onRecvOnlineFileMsg'](_0x1c02b2){}[_0x418578(0x94)](_0x4eff47){}[_0x418578(0x9f)](_0x2a982a){}[_0x418578(0xc6)](_0x4cbbaf){}['onRichMediaDownloadComplete'](_0x233690){}[_0x418578(0x95)](_0x2834d8){}[_0x418578(0x92)](_0x4fe412){}[_0x418578(0xc0)](_0x452698){}[_0x418578(0xc4)](_0x2a950e,_0x366c4b,_0x6408e8,_0x1407fa){}[_0x418578(0xc7)](_0x2938b2,_0xa9bb7b,_0xa7a132,_0x18292c){}[_0x418578(0xb8)](_0x107f9e){}[_0x418578(0xb5)](_0x5db6c6){}[_0x418578(0xa8)](_0x4f54b9){}[_0x418578(0xad)](_0x3a5c9d){}[_0x418578(0x9b)](_0x2340e8){}[_0x418578(0xb0)](_0x185ffa){}['onlineStatusBigIconDownloadPush'](_0x4b4d0d,_0x59d32d,_0x48afc9){}[_0x418578(0xb7)](_0x417f9c,_0xe42668,_0x11757c){}[_0x418578(0x97)](..._0x1233d8){}['onMsgWithRichLinkInfoUpdate'](..._0x32ede5){}['onRedTouchChanged'](..._0x6f9e65){}[_0x418578(0x96)](..._0x4e742f){}} \ 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 ce6e6aff..73f720d6 100644 --- a/src/core.lib/src/listeners/NodeIKernelProfileListener.js +++ b/src/core.lib/src/listeners/NodeIKernelProfileListener.js @@ -1 +1 @@ -var _0x540e4e=_0x128e;(function(_0x1a1f50,_0x576544){var _0x624bdd=_0x128e,_0x362787=_0x1a1f50();while(!![]){try{var _0x206160=-parseInt(_0x624bdd(0x1a3))/0x1*(-parseInt(_0x624bdd(0x1a5))/0x2)+-parseInt(_0x624bdd(0x1a4))/0x3+parseInt(_0x624bdd(0x1ad))/0x4+parseInt(_0x624bdd(0x1a2))/0x5*(-parseInt(_0x624bdd(0x1a8))/0x6)+-parseInt(_0x624bdd(0x1a9))/0x7+parseInt(_0x624bdd(0x1ab))/0x8*(-parseInt(_0x624bdd(0x1b0))/0x9)+parseInt(_0x624bdd(0x1aa))/0xa*(parseInt(_0x624bdd(0x1ac))/0xb);if(_0x206160===_0x576544)break;else _0x362787['push'](_0x362787['shift']());}catch(_0x4ef38a){_0x362787['push'](_0x362787['shift']());}}}(_0x1aa6,0x5cdba));function _0x128e(_0xebbf8e,_0x2cfddb){var _0x1aa676=_0x1aa6();return _0x128e=function(_0x128e53,_0x353d65){_0x128e53=_0x128e53-0x1a2;var _0x1df795=_0x1aa676[_0x128e53];return _0x1df795;},_0x128e(_0xebbf8e,_0x2cfddb);}export class ProfileListener{[_0x540e4e(0x1a6)](..._0xbe5483){}[_0x540e4e(0x1ae)](_0xd412eb){}['onStatusUpdate'](..._0x5bc4ff){}[_0x540e4e(0x1a7)](..._0x478c82){}[_0x540e4e(0x1af)](..._0x3af599){}}function _0x1aa6(){var _0x46a9d0=['3951UNowpm','5XAJZdE','67IhHwtE','821709LUhOBd','21806EZRTal','onProfileSimpleChanged','onSelfStatusChanged','3299682QXxmRn','213731MsDyQl','20IXLHyJ','10664ugDqcT','3151852thBAst','2065404TvOBLN','onProfileDetailInfoChanged','onStrangerRemarkChanged'];_0x1aa6=function(){return _0x46a9d0;};return _0x1aa6();} \ No newline at end of file +function _0x1811(){var _0x3b9994=['1765chvTVi','551104zMxIwG','1776621FMJLUB','9htZVfP','onSelfStatusChanged','187092RDfpHd','2171659wqqZUn','7962YLbXBW','2072KeqzHQ','153856nYfAqq','228kQOmqw','onProfileSimpleChanged','60gsfpSO'];_0x1811=function(){return _0x3b9994;};return _0x1811();}function _0x4afd(_0x3ffce8,_0xf69177){var _0x1811d0=_0x1811();return _0x4afd=function(_0x4afd99,_0x2c8f23){_0x4afd99=_0x4afd99-0xb6;var _0x48b46b=_0x1811d0[_0x4afd99];return _0x48b46b;},_0x4afd(_0x3ffce8,_0xf69177);}var _0x207e09=_0x4afd;(function(_0x75c175,_0x430c57){var _0x3bba1a=_0x4afd,_0x2f04dc=_0x75c175();while(!![]){try{var _0x15906f=parseInt(_0x3bba1a(0xbe))/0x1+-parseInt(_0x3bba1a(0xbc))/0x2*(parseInt(_0x3bba1a(0xbf))/0x3)+-parseInt(_0x3bba1a(0xbd))/0x4*(parseInt(_0x3bba1a(0xc2))/0x5)+-parseInt(_0x3bba1a(0xba))/0x6+-parseInt(_0x3bba1a(0xbb))/0x7+-parseInt(_0x3bba1a(0xb6))/0x8*(parseInt(_0x3bba1a(0xb8))/0x9)+-parseInt(_0x3bba1a(0xc1))/0xa*(-parseInt(_0x3bba1a(0xb7))/0xb);if(_0x15906f===_0x430c57)break;else _0x2f04dc['push'](_0x2f04dc['shift']());}catch(_0x260904){_0x2f04dc['push'](_0x2f04dc['shift']());}}}(_0x1811,0x37785));export class ProfileListener{[_0x207e09(0xc0)](..._0x58670d){}['onProfileDetailInfoChanged'](_0x31cede){}['onStatusUpdate'](..._0x483e3a){}[_0x207e09(0xb9)](..._0x3ea329){}['onStrangerRemarkChanged'](..._0x50d179){}} \ 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 8ab17edd..83df29fc 100644 --- a/src/core.lib/src/listeners/NodeIKernelRobotListener.js +++ b/src/core.lib/src/listeners/NodeIKernelRobotListener.js @@ -1 +1 @@ -var _0xb24922=_0xf8de;(function(_0x427e1f,_0x352ec1){var _0x3a6665=_0xf8de,_0x239318=_0x427e1f();while(!![]){try{var _0x913184=parseInt(_0x3a6665(0x1bf))/0x1*(parseInt(_0x3a6665(0x1ba))/0x2)+parseInt(_0x3a6665(0x1be))/0x3*(-parseInt(_0x3a6665(0x1bd))/0x4)+parseInt(_0x3a6665(0x1bb))/0x5+-parseInt(_0x3a6665(0x1c6))/0x6+parseInt(_0x3a6665(0x1c3))/0x7*(-parseInt(_0x3a6665(0x1c0))/0x8)+parseInt(_0x3a6665(0x1c4))/0x9+parseInt(_0x3a6665(0x1c1))/0xa;if(_0x913184===_0x352ec1)break;else _0x239318['push'](_0x239318['shift']());}catch(_0x629714){_0x239318['push'](_0x239318['shift']());}}}(_0x290e,0xbbcb8));function _0x290e(){var _0x9c957d=['onRobotFriendListChanged','7ABYKEx','13523706PQDIFg','onRobotProfileChanged','8420052QCLNEL','6ZBhQys','3799685TZrUtm','onRobotListChanged','193352OURTBa','63SAVzMo','426698jtVFDs','8586392lVepiD','7182820gUmKQY'];_0x290e=function(){return _0x9c957d;};return _0x290e();}function _0xf8de(_0x10d489,_0x5b81b0){var _0x290e2c=_0x290e();return _0xf8de=function(_0xf8dec0,_0x513a17){_0xf8dec0=_0xf8dec0-0x1ba;var _0xa3a43d=_0x290e2c[_0xf8dec0];return _0xa3a43d;},_0xf8de(_0x10d489,_0x5b81b0);}export class KernelRobotListener{[_0xb24922(0x1c2)](..._0x265a02){}[_0xb24922(0x1bc)](..._0x3eb528){}[_0xb24922(0x1c5)](..._0x2d1253){}} \ No newline at end of file +function _0x2708(_0x21ff47,_0x4aa4c1){var _0x23c496=_0x23c4();return _0x2708=function(_0x270898,_0x1d76d8){_0x270898=_0x270898-0x110;var _0x2ca8c1=_0x23c496[_0x270898];return _0x2ca8c1;},_0x2708(_0x21ff47,_0x4aa4c1);}function _0x23c4(){var _0x5ded1e=['onRobotProfileChanged','24MveaUD','1681383GVFaKY','512634qxrbcw','1345588hBUPne','5fGSJBD','1790GZyfZZ','708543alZdwZ','onRobotFriendListChanged','1302007tEzudz','6066dvTKyU','onRobotListChanged','4741KypkZX','8729WagTwI'];_0x23c4=function(){return _0x5ded1e;};return _0x23c4();}var _0x1b55fa=_0x2708;(function(_0x32643f,_0xac0a53){var _0x303045=_0x2708,_0x271fc4=_0x32643f();while(!![]){try{var _0x247e5d=parseInt(_0x303045(0x111))/0x1+-parseInt(_0x303045(0x119))/0x2+parseInt(_0x303045(0x118))/0x3+parseInt(_0x303045(0x11a))/0x4*(parseInt(_0x303045(0x11b))/0x5)+-parseInt(_0x303045(0x112))/0x6*(parseInt(_0x303045(0x115))/0x7)+-parseInt(_0x303045(0x117))/0x8*(-parseInt(_0x303045(0x11d))/0x9)+parseInt(_0x303045(0x11c))/0xa*(-parseInt(_0x303045(0x114))/0xb);if(_0x247e5d===_0xac0a53)break;else _0x271fc4['push'](_0x271fc4['shift']());}catch(_0x401fb1){_0x271fc4['push'](_0x271fc4['shift']());}}}(_0x23c4,0xcd49f));export class KernelRobotListener{[_0x1b55fa(0x110)](..._0x26c3f0){}[_0x1b55fa(0x113)](..._0x219349){}[_0x1b55fa(0x116)](..._0x29b43c){}} \ 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 2126de5e..e1820dfd 100644 --- a/src/core.lib/src/listeners/NodeIKernelSessionListener.js +++ b/src/core.lib/src/listeners/NodeIKernelSessionListener.js @@ -1 +1 @@ -var _0x1345f7=_0x45fe;function _0x45fe(_0x278706,_0x5b31d6){var _0x42c3fe=_0x42c3();return _0x45fe=function(_0x45fe9a,_0x5a9658){_0x45fe9a=_0x45fe9a-0xb0;var _0x3be7ab=_0x42c3fe[_0x45fe9a];return _0x3be7ab;},_0x45fe(_0x278706,_0x5b31d6);}(function(_0x2374e5,_0x14a920){var _0x34772b=_0x45fe,_0x2b9064=_0x2374e5();while(!![]){try{var _0x17a407=parseInt(_0x34772b(0xba))/0x1+-parseInt(_0x34772b(0xb5))/0x2*(-parseInt(_0x34772b(0xb2))/0x3)+parseInt(_0x34772b(0xb9))/0x4+-parseInt(_0x34772b(0xb3))/0x5+parseInt(_0x34772b(0xbb))/0x6*(-parseInt(_0x34772b(0xb8))/0x7)+parseInt(_0x34772b(0xbc))/0x8*(parseInt(_0x34772b(0xb6))/0x9)+-parseInt(_0x34772b(0xb4))/0xa;if(_0x17a407===_0x14a920)break;else _0x2b9064['push'](_0x2b9064['shift']());}catch(_0x1cd39c){_0x2b9064['push'](_0x2b9064['shift']());}}}(_0x42c3,0xbb952));export class SessionListener{[_0x1345f7(0xbd)](_0x4c3d94){}[_0x1345f7(0xbe)](_0x1e2d33){}[_0x1345f7(0xb0)](_0x506900){}[_0x1345f7(0xbf)](_0x5e5c0e){}[_0x1345f7(0xb7)](_0x27a564){}[_0x1345f7(0xb1)](_0x1153fe){}}function _0x42c3(){var _0x203786=['6440045FQrMik','4974010hyrcBj','66806VgbYsJ','702PXWbLI','onUserOnlineResult','8256052GiiRZw','4993832RqEVCi','625003jiqmEe','6QCkjMX','111944CbozzB','onNTSessionCreate','onGProSessionCreate','onOpentelemetryInit','onSessionInitComplete','onGetSelfTinyId','69gkugqW'];_0x42c3=function(){return _0x203786;};return _0x42c3();} \ No newline at end of file +function _0x4857(_0x2ea5eb,_0x173757){var _0x4de438=_0x4de4();return _0x4857=function(_0x48572c,_0x2719b5){_0x48572c=_0x48572c-0x163;var _0x4c4d0c=_0x4de438[_0x48572c];return _0x4c4d0c;},_0x4857(_0x2ea5eb,_0x173757);}function _0x4de4(){var _0x25a2e7=['1518DKslAf','734306DUUEJW','6taexHl','onOpentelemetryInit','28yWdUjr','onGProSessionCreate','3878609HbGaEJ','onSessionInitComplete','24570557hPrUQU','onUserOnlineResult','1307168cEiRhj','658685iQXUMC','1007451ZojXgA','onGetSelfTinyId','1443enNNvz','10ySzKcl'];_0x4de4=function(){return _0x25a2e7;};return _0x4de4();}var _0x547b18=_0x4857;(function(_0x410cef,_0x50477c){var _0x434eea=_0x4857,_0x2ba11f=_0x410cef();while(!![]){try{var _0x5b2b06=-parseInt(_0x434eea(0x171))/0x1+parseInt(_0x434eea(0x170))/0x2*(-parseInt(_0x434eea(0x16e))/0x3)+parseInt(_0x434eea(0x164))/0x4*(-parseInt(_0x434eea(0x16b))/0x5)+parseInt(_0x434eea(0x172))/0x6*(parseInt(_0x434eea(0x166))/0x7)+-parseInt(_0x434eea(0x16a))/0x8+-parseInt(_0x434eea(0x16c))/0x9+-parseInt(_0x434eea(0x16f))/0xa*(-parseInt(_0x434eea(0x168))/0xb);if(_0x5b2b06===_0x50477c)break;else _0x2ba11f['push'](_0x2ba11f['shift']());}catch(_0x5659af){_0x2ba11f['push'](_0x2ba11f['shift']());}}}(_0x4de4,0x77d8f));export class SessionListener{['onNTSessionCreate'](_0x3bccc1){}[_0x547b18(0x165)](_0x4f3b4d){}[_0x547b18(0x167)](_0x23aff1){}[_0x547b18(0x163)](_0x536a12){}[_0x547b18(0x169)](_0x17b657){}[_0x547b18(0x16d)](_0x4c6c77){}} \ 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 dd3a9080..c9448f99 100644 --- a/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js +++ b/src/core.lib/src/listeners/NodeIKernelStorageCleanListener.js @@ -1 +1 @@ -var _0x188148=_0x5931;function _0x4853(){var _0x42f083=['2082645dOOiZl','1202NZqpjy','18OzAhlI','1613JqLqvB','onChatCleanDone','onCleanCacheProgressChanged','onScanCacheProgressChanged','137187mHaPBP','22pzByxd','2583045sZPlXT','7702696mtylWC','90KibopI','4lGVqmU','5662080tHSnTq','onFinishScan','2133201yeAICL','onCleanCacheStorageChanged'];_0x4853=function(){return _0x42f083;};return _0x4853();}(function(_0x13296c,_0x30b644){var _0xf9314a=_0x5931,_0x25014c=_0x13296c();while(!![]){try{var _0x5f3310=-parseInt(_0xf9314a(0xdb))/0x1*(-parseInt(_0xf9314a(0xea))/0x2)+-parseInt(_0xf9314a(0xe9))/0x3+-parseInt(_0xf9314a(0xe4))/0x4*(parseInt(_0xf9314a(0xe1))/0x5)+-parseInt(_0xf9314a(0xda))/0x6*(-parseInt(_0xf9314a(0xe7))/0x7)+-parseInt(_0xf9314a(0xe2))/0x8+parseInt(_0xf9314a(0xdf))/0x9*(-parseInt(_0xf9314a(0xe3))/0xa)+parseInt(_0xf9314a(0xe0))/0xb*(parseInt(_0xf9314a(0xe5))/0xc);if(_0x5f3310===_0x30b644)break;else _0x25014c['push'](_0x25014c['shift']());}catch(_0x7d6c7){_0x25014c['push'](_0x25014c['shift']());}}}(_0x4853,0x7e17a));function _0x5931(_0x3a7253,_0xffda67){var _0x48539a=_0x4853();return _0x5931=function(_0x59314c,_0x3bf4cb){_0x59314c=_0x59314c-0xda;var _0x57b80f=_0x48539a[_0x59314c];return _0x57b80f;},_0x5931(_0x3a7253,_0xffda67);}export class StorageCleanListener{[_0x188148(0xdd)](_0x580f50){}[_0x188148(0xde)](_0x228651){}[_0x188148(0xe8)](_0x256d3b){}[_0x188148(0xe6)](_0xcface8){}[_0x188148(0xdc)](_0x1be062){}} \ No newline at end of file +function _0x46bf(){var _0x5294ed=['8hHCFxL','2930DxpjyT','12qNIMge','492LtTJAw','3949652EWfyvt','10uWQMAo','80322gUTjoM','onScanCacheProgressChanged','38952GEpoya','3114534sfSyuP','112323sjaNLg','50948uIFvlQ','7235669vsYKUQ','onChatCleanDone','26OaEWHZ','53DBHivs','onCleanCacheStorageChanged'];_0x46bf=function(){return _0x5294ed;};return _0x46bf();}var _0x40c184=_0x344f;function _0x344f(_0xbab790,_0x28fc6d){var _0x46bf6f=_0x46bf();return _0x344f=function(_0x344fcf,_0x47124d){_0x344fcf=_0x344fcf-0x1d1;var _0x2b9baf=_0x46bf6f[_0x344fcf];return _0x2b9baf;},_0x344f(_0xbab790,_0x28fc6d);}(function(_0x3cd335,_0x295788){var _0x1a77e7=_0x344f,_0x18197c=_0x3cd335();while(!![]){try{var _0x46f673=-parseInt(_0x1a77e7(0x1d7))/0x1*(-parseInt(_0x1a77e7(0x1d3))/0x2)+parseInt(_0x1a77e7(0x1d2))/0x3*(-parseInt(_0x1a77e7(0x1db))/0x4)+-parseInt(_0x1a77e7(0x1de))/0x5*(parseInt(_0x1a77e7(0x1d1))/0x6)+-parseInt(_0x1a77e7(0x1d4))/0x7*(-parseInt(_0x1a77e7(0x1d9))/0x8)+parseInt(_0x1a77e7(0x1e1))/0x9*(-parseInt(_0x1a77e7(0x1da))/0xa)+-parseInt(_0x1a77e7(0x1df))/0xb*(-parseInt(_0x1a77e7(0x1dc))/0xc)+parseInt(_0x1a77e7(0x1d6))/0xd*(parseInt(_0x1a77e7(0x1dd))/0xe);if(_0x46f673===_0x295788)break;else _0x18197c['push'](_0x18197c['shift']());}catch(_0x1aa687){_0x18197c['push'](_0x18197c['shift']());}}}(_0x46bf,0xca582));export class StorageCleanListener{['onCleanCacheProgressChanged'](_0x402b95){}[_0x40c184(0x1e0)](_0x36cb80){}[_0x40c184(0x1d8)](_0x39e9eb){}['onFinishScan'](_0x3bff47){}[_0x40c184(0x1d5)](_0x56904f){}} \ 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 8ba67a58..6b1578ea 100644 --- a/src/core.lib/src/listeners/index.js +++ b/src/core.lib/src/listeners/index.js @@ -1 +1 @@ -(function(_0xa0d897,_0x20e438){var _0x29c1d5=_0x579b,_0x2728dc=_0xa0d897();while(!![]){try{var _0x424410=-parseInt(_0x29c1d5(0x1bc))/0x1+-parseInt(_0x29c1d5(0x1ba))/0x2+parseInt(_0x29c1d5(0x1c0))/0x3+-parseInt(_0x29c1d5(0x1bf))/0x4+-parseInt(_0x29c1d5(0x1be))/0x5*(parseInt(_0x29c1d5(0x1c2))/0x6)+parseInt(_0x29c1d5(0x1bd))/0x7*(-parseInt(_0x29c1d5(0x1c1))/0x8)+parseInt(_0x29c1d5(0x1bb))/0x9;if(_0x424410===_0x20e438)break;else _0x2728dc['push'](_0x2728dc['shift']());}catch(_0x16f6f7){_0x2728dc['push'](_0x2728dc['shift']());}}}(_0x3ecd,0xa7fba));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';function _0x3ecd(){var _0x102ebd=['3780152ICbmOJ','24inaCvP','1236824zehvZx','41122782qMifAE','875827DqWTFc','14kgLLdw','1173135JAweRj','4484064gmbxNL','1852983wjgpeb'];_0x3ecd=function(){return _0x102ebd;};return _0x3ecd();}function _0x579b(_0x2214f6,_0x2b9d73){var _0x3ecdcd=_0x3ecd();return _0x579b=function(_0x579b91,_0x23276f){_0x579b91=_0x579b91-0x1ba;var _0x3be0b=_0x3ecdcd[_0x579b91];return _0x3be0b;},_0x579b(_0x2214f6,_0x2b9d73);}export*from'./NodeIKernelStorageCleanListener';export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file +(function(_0x14333a,_0x39e865){var _0xea8110=_0x1c28,_0x2c8097=_0x14333a();while(!![]){try{var _0x46cf35=-parseInt(_0xea8110(0x7a))/0x1*(parseInt(_0xea8110(0x7c))/0x2)+parseInt(_0xea8110(0x7d))/0x3*(-parseInt(_0xea8110(0x77))/0x4)+parseInt(_0xea8110(0x75))/0x5+-parseInt(_0xea8110(0x78))/0x6*(-parseInt(_0xea8110(0x7b))/0x7)+parseInt(_0xea8110(0x72))/0x8*(-parseInt(_0xea8110(0x76))/0x9)+-parseInt(_0xea8110(0x73))/0xa+parseInt(_0xea8110(0x74))/0xb*(parseInt(_0xea8110(0x79))/0xc);if(_0x46cf35===_0x39e865)break;else _0x2c8097['push'](_0x2c8097['shift']());}catch(_0x5c1924){_0x2c8097['push'](_0x2c8097['shift']());}}}(_0x2c30,0xe861c));export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';function _0x2c30(){var _0x47746b=['21107436rUgDMh','1lmkqiD','1687LZmPGd','3127158sZpZJb','378uVfGAz','8OtLPVi','1708390sSKgNq','11muwIGs','9507380VuMDZL','10933542WJlqPY','4364CoqWgC','9414DkEHXX'];_0x2c30=function(){return _0x47746b;};return _0x2c30();}export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener';export*from'./NodeIKernelRobotListener';export*from'./NodeIKernelTicketListener';export*from'./NodeIKernelStorageCleanListener';function _0x1c28(_0xb6ef0c,_0x349c9f){var _0x2c3023=_0x2c30();return _0x1c28=function(_0x1c28a3,_0x3640fa){_0x1c28a3=_0x1c28a3-0x72;var _0x5b12be=_0x2c3023[_0x1c28a3];return _0x5b12be;},_0x1c28(_0xb6ef0c,_0x349c9f);}export*from'./NodeIKernelFileAssistantListener'; \ No newline at end of file diff --git a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts b/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts index 92a19e81..9b181bcd 100644 --- a/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts +++ b/src/core.lib/src/services/NodeIKernelNodeMiscService.d.ts @@ -1,5 +1,8 @@ import { GeneralCallResult } from "./common"; export interface NodeIKernelNodeMiscService { + getMiniAppPath(): unknown; + setMiniAppVersion(version: string): unknown; wantWinScreenOCR(imagepath: string): Promise; SendMiniAppMsg(arg1: string, arg2: string, arg3: string): unknown; + startNewMiniApp(appfile: string, params: string): unknown; } diff --git a/src/core.lib/src/services/NodeIYellowFaceService.js b/src/core.lib/src/services/NodeIYellowFaceService.js index e436fb0a..a384d212 100644 --- a/src/core.lib/src/services/NodeIYellowFaceService.js +++ b/src/core.lib/src/services/NodeIYellowFaceService.js @@ -1 +1 @@ -'use strict';(function(_0x522b74,_0x3910b8){var _0x5ce351=_0x58ab,_0x44e1fa=_0x522b74();while(!![]){try{var _0x7751be=parseInt(_0x5ce351(0xb7))/0x1+-parseInt(_0x5ce351(0xb8))/0x2*(-parseInt(_0x5ce351(0xb3))/0x3)+-parseInt(_0x5ce351(0xb9))/0x4+parseInt(_0x5ce351(0xb4))/0x5+parseInt(_0x5ce351(0xba))/0x6+parseInt(_0x5ce351(0xb6))/0x7+-parseInt(_0x5ce351(0xb5))/0x8;if(_0x7751be===_0x3910b8)break;else _0x44e1fa['push'](_0x44e1fa['shift']());}catch(_0xc1c7e5){_0x44e1fa['push'](_0x44e1fa['shift']());}}}(_0x3b57,0x89511));function _0x58ab(_0x5087b2,_0x5e120f){var _0x3b5782=_0x3b57();return _0x58ab=function(_0x58ab7b,_0x473954){_0x58ab7b=_0x58ab7b-0xb3;var _0x4b4518=_0x3b5782[_0x58ab7b];return _0x4b4518;},_0x58ab(_0x5087b2,_0x5e120f);}function _0x3b57(){var _0x3cfd7a=['2986460zyCEQe','20107464AhCSCF','4081119ITmMJf','894070ZoddKA','14uthhUt','1241256zwsZZm','5502480WacrFN','169173moFCOA'];_0x3b57=function(){return _0x3cfd7a;};return _0x3b57();} \ No newline at end of file +'use strict';function _0x45f2(_0xc4016c,_0x1e6cd3){var _0x1787c3=_0x1787();return _0x45f2=function(_0x45f213,_0x303e02){_0x45f213=_0x45f213-0x13a;var _0x8e0186=_0x1787c3[_0x45f213];return _0x8e0186;},_0x45f2(_0xc4016c,_0x1e6cd3);}(function(_0x85023d,_0x4fb0c3){var _0x9ce6d0=_0x45f2,_0x3f117b=_0x85023d();while(!![]){try{var _0x56a6f7=parseInt(_0x9ce6d0(0x13f))/0x1+parseInt(_0x9ce6d0(0x141))/0x2*(parseInt(_0x9ce6d0(0x144))/0x3)+parseInt(_0x9ce6d0(0x142))/0x4*(-parseInt(_0x9ce6d0(0x145))/0x5)+parseInt(_0x9ce6d0(0x13d))/0x6*(-parseInt(_0x9ce6d0(0x13a))/0x7)+parseInt(_0x9ce6d0(0x140))/0x8*(parseInt(_0x9ce6d0(0x143))/0x9)+-parseInt(_0x9ce6d0(0x13e))/0xa+parseInt(_0x9ce6d0(0x13b))/0xb*(parseInt(_0x9ce6d0(0x13c))/0xc);if(_0x56a6f7===_0x4fb0c3)break;else _0x3f117b['push'](_0x3f117b['shift']());}catch(_0x53fd40){_0x3f117b['push'](_0x3f117b['shift']());}}}(_0x1787,0x489c9));function _0x1787(){var _0x434110=['66022msTJQO','996afClrC','6mCKMpJ','574340KFhYLY','532926JPOhju','2999368jTmxDf','12652aBOKQi','36TGBSvi','9gCdhrm','51eWtSQb','326865VlNMGv','3992429wfJBep'];_0x1787=function(){return _0x434110;};return _0x1787();} \ 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 1f9966b9..f1d51ea8 100644 --- a/src/core.lib/src/services/common.js +++ b/src/core.lib/src/services/common.js @@ -1 +1 @@ -function _0x4c57(_0x1266e7,_0x49590e){var _0x4c53da=_0x4c53();return _0x4c57=function(_0x4c5765,_0x4811c9){_0x4c5765=_0x4c5765-0x179;var _0x5186b7=_0x4c53da[_0x4c5765];return _0x5186b7;},_0x4c57(_0x1266e7,_0x49590e);}function _0x4c53(){var _0x1d8843=['90030hvDaDj','2484119MTpURe','30GFZpxu','24dyyxer','533HKfuvx','12124260uBuRhE','954iPgBFD','10Qyygfn','560214ypiQyA','16lCNARQ','168807BfizZp','2088695GOeuRx'];_0x4c53=function(){return _0x1d8843;};return _0x4c53();}(function(_0x574633,_0x114446){var _0x5ea47d=_0x4c57,_0x379eae=_0x574633();while(!![]){try{var _0x4b84c3=parseInt(_0x5ea47d(0x182))/0x1*(-parseInt(_0x5ea47d(0x184))/0x2)+-parseInt(_0x5ea47d(0x17c))/0x3*(-parseInt(_0x5ea47d(0x17b))/0x4)+-parseInt(_0x5ea47d(0x180))/0x5*(parseInt(_0x5ea47d(0x17e))/0x6)+-parseInt(_0x5ea47d(0x17d))/0x7+-parseInt(_0x5ea47d(0x181))/0x8*(parseInt(_0x5ea47d(0x17a))/0x9)+parseInt(_0x5ea47d(0x179))/0xa*(-parseInt(_0x5ea47d(0x17f))/0xb)+parseInt(_0x5ea47d(0x183))/0xc;if(_0x4b84c3===_0x114446)break;else _0x379eae['push'](_0x379eae['shift']());}catch(_0x13a54a){_0x379eae['push'](_0x379eae['shift']());}}}(_0x4c53,0x2bff0));export var GeneralCallResultStatus;(function(_0xc5fdd1){_0xc5fdd1[_0xc5fdd1['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={}))); \ No newline at end of file +(function(_0x4f4fc0,_0x439de9){var _0x176f04=_0xea58,_0x489707=_0x4f4fc0();while(!![]){try{var _0x2e3da2=parseInt(_0x176f04(0xc6))/0x1*(parseInt(_0x176f04(0xc5))/0x2)+-parseInt(_0x176f04(0xc3))/0x3*(parseInt(_0x176f04(0xc4))/0x4)+-parseInt(_0x176f04(0xc8))/0x5+parseInt(_0x176f04(0xca))/0x6+parseInt(_0x176f04(0xc9))/0x7+parseInt(_0x176f04(0xc1))/0x8+parseInt(_0x176f04(0xc2))/0x9*(-parseInt(_0x176f04(0xc7))/0xa);if(_0x2e3da2===_0x439de9)break;else _0x489707['push'](_0x489707['shift']());}catch(_0x11d663){_0x489707['push'](_0x489707['shift']());}}}(_0x16ca,0xae356));function _0x16ca(){var _0x23fba8=['8192592grWVav','22042539JinGXm','164649lzZUdj','8gCDDpC','23550GXkTcU','89faiprX','10PeDYIF','2556975mwrfDb','9411003lBmLnE','2204472wYpViV'];_0x16ca=function(){return _0x23fba8;};return _0x16ca();}export var GeneralCallResultStatus;function _0xea58(_0x2a2a21,_0x159204){var _0x16ca0e=_0x16ca();return _0xea58=function(_0xea58c,_0x1bf706){_0xea58c=_0xea58c-0xc1;var _0x2f298a=_0x16ca0e[_0xea58c];return _0x2f298a;},_0xea58(_0x2a2a21,_0x159204);}(function(_0x563647){_0x563647[_0x563647['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 9b6e21f2..a8dd4a26 100644 --- a/src/core.lib/src/services/index.js +++ b/src/core.lib/src/services/index.js @@ -1 +1 @@ -(function(_0x1e289d,_0x12e67a){var _0x1bbdba=_0x3d43,_0x563117=_0x1e289d();while(!![]){try{var _0x4e12b4=-parseInt(_0x1bbdba(0xfd))/0x1+parseInt(_0x1bbdba(0x104))/0x2*(-parseInt(_0x1bbdba(0x100))/0x3)+-parseInt(_0x1bbdba(0x103))/0x4+-parseInt(_0x1bbdba(0x102))/0x5*(-parseInt(_0x1bbdba(0x101))/0x6)+-parseInt(_0x1bbdba(0x106))/0x7+parseInt(_0x1bbdba(0xfe))/0x8*(-parseInt(_0x1bbdba(0xff))/0x9)+parseInt(_0x1bbdba(0x105))/0xa;if(_0x4e12b4===_0x12e67a)break;else _0x563117['push'](_0x563117['shift']());}catch(_0x12f7b3){_0x563117['push'](_0x563117['shift']());}}}(_0x2ac0,0x69c81));export*from'./common';function _0x3d43(_0x49d727,_0x208422){var _0x2ac0d7=_0x2ac0();return _0x3d43=function(_0x3d43d4,_0xf2fd35){_0x3d43d4=_0x3d43d4-0xfd;var _0x3c28d0=_0x2ac0d7[_0x3d43d4];return _0x3c28d0;},_0x3d43(_0x49d727,_0x208422);}export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';export*from'./NodeIKernelStorageCleanService';export*from'./NodeIKernelRobotService';export*from'./NodeIKernelRichMediaService';export*from'./NodeIKernelDbToolsService';function _0x2ac0(){var _0x1f757a=['2619385vRiSYj','3458532CIqyhc','247402SkulDM','22403680NcDMSP','3903473sTePeD','675444mhzXyq','8aymFCK','985923rlExZn','3OIBPOg','6AQJoFy'];_0x2ac0=function(){return _0x1f757a;};return _0x2ac0();}export*from'./NodeIKernelTipOffService'; \ No newline at end of file +(function(_0x16ea10,_0x3130b4){var _0x59255e=_0x4d4c,_0x64b04=_0x16ea10();while(!![]){try{var _0x3c8bcb=parseInt(_0x59255e(0x14f))/0x1*(-parseInt(_0x59255e(0x152))/0x2)+-parseInt(_0x59255e(0x14d))/0x3*(parseInt(_0x59255e(0x14c))/0x4)+-parseInt(_0x59255e(0x151))/0x5+-parseInt(_0x59255e(0x14e))/0x6+-parseInt(_0x59255e(0x154))/0x7*(-parseInt(_0x59255e(0x14b))/0x8)+parseInt(_0x59255e(0x14a))/0x9+parseInt(_0x59255e(0x150))/0xa*(parseInt(_0x59255e(0x153))/0xb);if(_0x3c8bcb===_0x3130b4)break;else _0x64b04['push'](_0x64b04['shift']());}catch(_0x40878b){_0x64b04['push'](_0x64b04['shift']());}}}(_0x19fd,0x3f560));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';function _0x19fd(){var _0xd6c94=['52913NwUsdU','2298708kzrgCt','112xyDpRe','1047284nziDNB','3jDhLkN','2768388fmpEOW','5GfoWjT','1850cQZGSi','1886450mPfkkc','94324dmDmTB','73403drmhTT'];_0x19fd=function(){return _0xd6c94;};return _0x19fd();}export*from'./NodeIKernelGroupService';export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x4d4c(_0x4525d4,_0x2abb8d){var _0x19fda2=_0x19fd();return _0x4d4c=function(_0x4d4c7e,_0x3f6dfe){_0x4d4c7e=_0x4d4c7e-0x14a;var _0x207816=_0x19fda2[_0x4d4c7e];return _0x207816;},_0x4d4c(_0x4525d4,_0x2abb8d);}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 22a62171..3191ece5 100644 --- a/src/core.lib/src/sessionConfig.js +++ b/src/core.lib/src/sessionConfig.js @@ -1 +1 @@ -(function(_0x2334d3,_0x5f12be){var _0x1c8e2a=_0x5eb2,_0x427f90=_0x2334d3();while(!![]){try{var _0x3058ea=parseInt(_0x1c8e2a(0x10d))/0x1*(-parseInt(_0x1c8e2a(0x111))/0x2)+parseInt(_0x1c8e2a(0xf9))/0x3*(parseInt(_0x1c8e2a(0x101))/0x4)+parseInt(_0x1c8e2a(0xe7))/0x5+parseInt(_0x1c8e2a(0xef))/0x6+-parseInt(_0x1c8e2a(0xf3))/0x7*(parseInt(_0x1c8e2a(0x104))/0x8)+parseInt(_0x1c8e2a(0x112))/0x9+parseInt(_0x1c8e2a(0xfa))/0xa;if(_0x3058ea===_0x5f12be)break;else _0x427f90['push'](_0x427f90['shift']());}catch(_0x1f670c){_0x427f90['push'](_0x427f90['shift']());}}}(_0x22be,0xd065b));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';function _0x5eb2(_0x143188,_0x30fcc8){var _0x22be6a=_0x22be();return _0x5eb2=function(_0x5eb2f7,_0x133aeb){_0x5eb2f7=_0x5eb2f7-0xe6;var _0x57935f=_0x22be6a[_0x5eb2f7];return _0x57935f;},_0x5eb2(_0x143188,_0x30fcc8);}import _0x1eaad0 from'node:path';import _0x483736 from'node:fs';import{getMachineId}from'@/common/utils/system';export var PlatformType;function _0x22be(){var _0x4563de=['KPAD','assign','NBbjM','35EGGYfl','fWwTV','KANDROID','KSUPPORTVIVOPUSH','KUNSUPPORTANDROIDPUSH','ddfKW','2143947tpabJH','1816760XBxHte','ZLNkM','join','KSUPPORTTPNS','BnTGt','KMAC','temp','8eMYakt','qTCuO','KSUPPORTHMS','490960IIeGGe','GLoOl','VfkDb','KIOS','MiBgC','yYzks','aXodZ','ZxfOo','NygpS','114iorKBC','0|6|3|4|2|5|1','sgufW','AcXNq','15074drhcVV','573705TYDSgF','mkdirSync','JSwJv','572465qXawqb','split','NapCat','QdRom','version','KUNKNOWN','KSUPPORTGOOGLEPUSH','3|2|0|4|1','1382706xKwvcG'];_0x22be=function(){return _0x4563de;};return _0x22be();}(function(_0x5a1c6c){var _0x2abe7a=_0x5eb2,_0x39e597={'NygpS':_0x2abe7a(0x107),'QdRom':_0x2abe7a(0xff),'MiBgC':'KANDROID','BnTGt':_0x2abe7a(0xec),'yYzks':'KWINDOWS'},_0x58be0b=_0x2abe7a(0xee)[_0x2abe7a(0xe8)]('|'),_0x3a67b6=0x0;while(!![]){switch(_0x58be0b[_0x3a67b6++]){case'0':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0x10c)]]=0x2]=_0x39e597['NygpS'];continue;case'1':_0x5a1c6c[_0x5a1c6c[_0x39e597[_0x2abe7a(0xea)]]=0x4]=_0x39e597['QdRom'];continue;case'2':_0x5a1c6c[_0x5a1c6c[_0x2abe7a(0xf5)]=0x1]=_0x39e597[_0x2abe7a(0x108)];continue;case'3':_0x5a1c6c[_0x5a1c6c[_0x39e597['BnTGt']]=0x0]=_0x39e597[_0x2abe7a(0xfe)];continue;case'4':_0x5a1c6c[_0x5a1c6c[_0x39e597['yYzks']]=0x3]=_0x39e597[_0x2abe7a(0x109)];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x2fa427){var _0x2fbdb6=_0x5eb2,_0x392b67={'qTCuO':'KUNKNOWN','JKYiy':'KPHONE','AcXNq':_0x2fbdb6(0xf0),'fWwTV':'KCOMPUTER'};_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x102)]]=0x0]=_0x392b67[_0x2fbdb6(0x102)],_0x2fa427[_0x2fa427[_0x392b67['JKYiy']]=0x1]='KPHONE',_0x2fa427[_0x2fa427[_0x392b67[_0x2fbdb6(0x110)]]=0x2]=_0x392b67[_0x2fbdb6(0x110)],_0x2fa427[_0x2fa427[_0x392b67['fWwTV']]=0x3]=_0x392b67[_0x2fbdb6(0xf4)];}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x515d1d){var _0x3b313a=_0x5eb2,_0x2148ec={'JSwJv':_0x3b313a(0x10e),'NBbjM':'KNOSETONIOS','RUJcB':_0x3b313a(0xf7),'ddfKW':_0x3b313a(0xfd),'hPGSx':_0x3b313a(0x103),'aXodZ':'KSUPPORTOPPOPUSH','GLoOl':'KSUPPORTVIVOPUSH','ZxfOo':_0x3b313a(0xed)},_0x56f54c=_0x2148ec[_0x3b313a(0xe6)][_0x3b313a(0xe8)]('|'),_0x1c7d3b=0x0;while(!![]){switch(_0x56f54c[_0x1c7d3b++]){case'0':_0x515d1d[_0x515d1d[_0x2148ec['NBbjM']]=0x0]=_0x2148ec[_0x3b313a(0xf2)];continue;case'1':_0x515d1d[_0x515d1d[_0x3b313a(0xf7)]=0x1]=_0x2148ec['RUJcB'];continue;case'2':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0xf8)]]=0x2]=_0x2148ec[_0x3b313a(0xf8)];continue;case'3':_0x515d1d[_0x515d1d[_0x2148ec['hPGSx']]=0x3]=_0x2148ec['hPGSx'];continue;case'4':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10a)]]=0x4]=_0x2148ec['aXodZ'];continue;case'5':_0x515d1d[_0x515d1d[_0x3b313a(0xf6)]=0x5]=_0x2148ec[_0x3b313a(0x105)];continue;case'6':_0x515d1d[_0x515d1d[_0x2148ec[_0x3b313a(0x10b)]]=0x63]=_0x2148ec[_0x3b313a(0x10b)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x4b819f,_0x403ea9,_0x3bb00c){var _0x567087=_0x5eb2,_0x8e08bb={'VfkDb':_0x567087(0xe9),'sgufW':_0x567087(0x100),'ZLNkM':function(_0xfb607d){return _0xfb607d();}};const _0x3ba065=_0x1eaad0[_0x567087(0xfc)](_0x3bb00c,_0x8e08bb[_0x567087(0x106)],_0x8e08bb[_0x567087(0x10f)]);_0x483736[_0x567087(0x113)](_0x3ba065,{'recursive':!![]});let _0x1c113e=await _0x8e08bb[_0x567087(0xfb)](getMachineId);const _0x440c44={'selfUin':_0x4b819f,'selfUid':_0x403ea9,'desktopPathConfig':{'account_path':_0x3bb00c},'clientVer':qqVersionConfigInfo['curVersion'],'a2':'','d2':'','d2Key':'','machineId':'','platform':0x3,'platVer':systemVersion,'appid':appid,'rdeliveryConfig':{'appKey':'','systemId':0x0,'appId':'','logicEnvironment':'','platform':0x3,'language':'','sdkVersion':'','userId':'','appVersion':'','osVersion':'','bundleId':'','serverUrl':'','fixedAfterHitKeys':['']},'defaultFileDownloadPath':_0x3ba065,'deviceInfo':{'guid':_0x1c113e,'buildVer':qqPkgInfo[_0x567087(0xeb)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return Object[_0x567087(0xf1)](sessionConfig,_0x440c44),_0x440c44;} \ No newline at end of file +function _0xc419(_0x3d5e4f,_0x5e8b24){var _0x1852b7=_0x1852();return _0xc419=function(_0xc419c0,_0x5610b2){_0xc419c0=_0xc419c0-0x117;var _0x4d12b4=_0x1852b7[_0xc419c0];return _0x4d12b4;},_0xc419(_0x3d5e4f,_0x5e8b24);}(function(_0x593ea0,_0x2fa36f){var _0x321583=_0xc419,_0x8d5f97=_0x593ea0();while(!![]){try{var _0x387366=parseInt(_0x321583(0x124))/0x1+-parseInt(_0x321583(0x11b))/0x2+parseInt(_0x321583(0x11a))/0x3+parseInt(_0x321583(0x12d))/0x4+parseInt(_0x321583(0x129))/0x5*(-parseInt(_0x321583(0x12f))/0x6)+-parseInt(_0x321583(0x12e))/0x7*(parseInt(_0x321583(0x127))/0x8)+parseInt(_0x321583(0x139))/0x9*(parseInt(_0x321583(0x145))/0xa);if(_0x387366===_0x2fa36f)break;else _0x8d5f97['push'](_0x8d5f97['shift']());}catch(_0x7fb2d9){_0x8d5f97['push'](_0x8d5f97['shift']());}}}(_0x1852,0x90a11));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x2b7e3c from'node:path';import _0x5334ff from'node:fs';function _0x1852(){var _0x2c057a=['KMAC','6707781fZtZTZ','KUNSUPPORTANDROIDPUSH','version','mkdirSync','KSUPPORTGOOGLEPUSH','KPAD','join','SEQdy','KUNKNOWN','fAbbV','KCOMPUTER','NmoUC','10zGKMBZ','WnSMu','vhsTl','UZpXH','NapCat','vEqhG','2164833ljTPOa','1186914bknXeT','KPHONE','GxXtl','KSUPPORTTPNS','yDHnn','dKCJf','KANDROID','temp','QUCxb','1010053aeIaaI','2|1|4|3|0','KSUPPORTHMS','8TzHjRY','split','405JJTWlt','KSUPPORTOPPOPUSH','StLhC','KSUPPORTVIVOPUSH','32636yCtuKE','4549279AtBzwC','48102KNIydk','1|5|6|2|4|3|0','CjiYk','dlYNJ','curVersion','KIOS','{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}','uIvzd','SQiBh'];_0x1852=function(){return _0x2c057a;};return _0x1852();}import{getMachineId}from'@/common/utils/system';export var PlatformType;(function(_0x274089){var _0x22f736=_0xc419,_0x35c705={'vhsTl':_0x22f736(0x138),'yDHnn':_0x22f736(0x121),'SQiBh':'KUNKNOWN','WnSMu':'KWINDOWS','AnZhp':'KIOS'},_0x546dab=_0x22f736(0x125)[_0x22f736(0x128)]('|'),_0x3e0628=0x0;while(!![]){switch(_0x546dab[_0x3e0628++]){case'0':_0x274089[_0x274089[_0x35c705[_0x22f736(0x147)]]=0x4]=_0x22f736(0x138);continue;case'1':_0x274089[_0x274089['KANDROID']=0x1]=_0x35c705[_0x22f736(0x11f)];continue;case'2':_0x274089[_0x274089[_0x35c705[_0x22f736(0x137)]]=0x0]=_0x22f736(0x141);continue;case'3':_0x274089[_0x274089[_0x35c705[_0x22f736(0x146)]]=0x3]=_0x35c705[_0x22f736(0x146)];continue;case'4':_0x274089[_0x274089[_0x22f736(0x134)]=0x2]=_0x35c705['AnZhp'];continue;}break;}}(PlatformType||(PlatformType={})));export var DeviceType;(function(_0x37d8b9){var _0x46c96c=_0xc419,_0x8eb61b={'NmoUC':_0x46c96c(0x141),'GxXtl':_0x46c96c(0x11c),'SEQdy':_0x46c96c(0x13e),'azjUq':_0x46c96c(0x143)};_0x37d8b9[_0x37d8b9[_0x8eb61b[_0x46c96c(0x144)]]=0x0]=_0x8eb61b[_0x46c96c(0x144)],_0x37d8b9[_0x37d8b9[_0x8eb61b[_0x46c96c(0x11d)]]=0x1]=_0x8eb61b[_0x46c96c(0x11d)],_0x37d8b9[_0x37d8b9['KPAD']=0x2]=_0x8eb61b[_0x46c96c(0x140)],_0x37d8b9[_0x37d8b9[_0x8eb61b['azjUq']]=0x3]=_0x46c96c(0x143);}(DeviceType||(DeviceType={})));export var VendorType;(function(_0x3acfe1){var _0x43abc8=_0xc419,_0x1a1192={'fAbbV':_0x43abc8(0x130),'QUCxb':_0x43abc8(0x13a),'CjiYk':'KNOSETONIOS','dlYNJ':_0x43abc8(0x12a),'dKCJf':_0x43abc8(0x12c),'AlMFa':_0x43abc8(0x11e),'vEqhG':_0x43abc8(0x13d),'uIvzd':_0x43abc8(0x126)},_0x2bdfdb=_0x1a1192[_0x43abc8(0x142)][_0x43abc8(0x128)]('|'),_0x2f752c=0x0;while(!![]){switch(_0x2bdfdb[_0x2f752c++]){case'0':_0x3acfe1[_0x3acfe1[_0x1a1192['QUCxb']]=0x1]=_0x1a1192[_0x43abc8(0x123)];continue;case'1':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x131)]]=0x0]=_0x1a1192[_0x43abc8(0x131)];continue;case'2':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x132)]]=0x4]=_0x1a1192['dlYNJ'];continue;case'3':_0x3acfe1[_0x3acfe1[_0x1a1192['dKCJf']]=0x5]=_0x1a1192[_0x43abc8(0x120)];continue;case'4':_0x3acfe1[_0x3acfe1[_0x1a1192['AlMFa']]=0x2]=_0x43abc8(0x11e);continue;case'5':_0x3acfe1[_0x3acfe1[_0x1a1192[_0x43abc8(0x119)]]=0x63]=_0x1a1192[_0x43abc8(0x119)];continue;case'6':_0x3acfe1[_0x3acfe1[_0x43abc8(0x126)]=0x3]=_0x1a1192[_0x43abc8(0x136)];continue;}break;}}(VendorType||(VendorType={})));export const sessionConfig={};export async function genSessionConfig(_0x36710f,_0x943ac9,_0x1d6c80){var _0x3f93f4=_0xc419,_0x5e2350={'modrB':_0x3f93f4(0x118),'StLhC':_0x3f93f4(0x122),'UZpXH':function(_0x1697f5){return _0x1697f5();}};const _0x32de6e=_0x2b7e3c[_0x3f93f4(0x13f)](_0x1d6c80,_0x5e2350['modrB'],_0x5e2350[_0x3f93f4(0x12b)]);_0x5334ff[_0x3f93f4(0x13c)](_0x32de6e,{'recursive':!![]});let _0x173a71=await _0x5e2350[_0x3f93f4(0x117)](getMachineId);const _0x5a44f2={'selfUin':_0x36710f,'selfUid':_0x943ac9,'desktopPathConfig':{'account_path':_0x1d6c80},'clientVer':qqVersionConfigInfo[_0x3f93f4(0x133)],'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':_0x32de6e,'deviceInfo':{'guid':_0x173a71,'buildVer':qqPkgInfo[_0x3f93f4(0x13b)],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':_0x3f93f4(0x135)};return Object['assign'](sessionConfig,_0x5a44f2),_0x5a44f2;} \ 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 3ea26b7e..2b608210 100644 --- a/src/core.lib/src/utils/config.js +++ b/src/core.lib/src/utils/config.js @@ -1 +1 @@ -const _0x162dbf=_0x4f2c;(function(_0x4e97b9,_0x2adc7a){const _0x16e3b9=_0x4f2c,_0xb54d5a=_0x4e97b9();while(!![]){try{const _0x1ba925=-parseInt(_0x16e3b9(0x101))/0x1*(parseInt(_0x16e3b9(0x106))/0x2)+-parseInt(_0x16e3b9(0x100))/0x3*(parseInt(_0x16e3b9(0x103))/0x4)+-parseInt(_0x16e3b9(0x115))/0x5*(parseInt(_0x16e3b9(0x10a))/0x6)+parseInt(_0x16e3b9(0x105))/0x7*(-parseInt(_0x16e3b9(0x10f))/0x8)+parseInt(_0x16e3b9(0x113))/0x9+parseInt(_0x16e3b9(0x111))/0xa+parseInt(_0x16e3b9(0x110))/0xb;if(_0x1ba925===_0x2adc7a)break;else _0xb54d5a['push'](_0xb54d5a['shift']());}catch(_0x354dd3){_0xb54d5a['push'](_0xb54d5a['shift']());}}}(_0x3a5e,0xe7dc3));import _0x3d87c6 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';import{selfInfo}from'@/core/data';function _0x4f2c(_0x50fd92,_0x9a3520){const _0x3a5e12=_0x3a5e();return _0x4f2c=function(_0x4f2c1a,_0x44c25b){_0x4f2c1a=_0x4f2c1a-0x100;let _0x28f422=_0x3a5e12[_0x4f2c1a];return _0x28f422;},_0x4f2c(_0x50fd92,_0x9a3520);}function _0x3a5e(){const _0x544337=['90ZhFPhO','9bwumFS','9ZlZkZu','DEBUG','754456wPXVny','INFO','299481MQycKx','222502QtmDQo','getConfigPath','join','fileLog','142584HHzIKg','consoleLog','uin','napcat_','consoleLogLevel','40LrjZYo','4153710yYCHQu','18969510urWdeT','fileLogLevel','7955154KvfrhZ','.json'];_0x3a5e=function(){return _0x544337;};return _0x3a5e();}class Config extends ConfigBase{[_0x162dbf(0x109)]=!![];[_0x162dbf(0x10b)]=!![];[_0x162dbf(0x112)]=LogLevel[_0x162dbf(0x102)];[_0x162dbf(0x10e)]=LogLevel[_0x162dbf(0x104)];constructor(){super();}[_0x162dbf(0x107)](){const _0x4c9ee9=_0x162dbf;return _0x3d87c6[_0x4c9ee9(0x108)](this['getConfigDir'](),_0x4c9ee9(0x10d)+selfInfo[_0x4c9ee9(0x10c)]+_0x4c9ee9(0x114));}}export const napCatConfig=new Config(); \ No newline at end of file +const _0xc61bff=_0x5e11;function _0x5e11(_0x166f60,_0x29d2ce){const _0x343498=_0x3434();return _0x5e11=function(_0x5e11e4,_0x29317b){_0x5e11e4=_0x5e11e4-0x111;let _0x24c4f1=_0x343498[_0x5e11e4];return _0x24c4f1;},_0x5e11(_0x166f60,_0x29d2ce);}(function(_0x298574,_0x9a04c4){const _0xe52ea=_0x5e11,_0x306973=_0x298574();while(!![]){try{const _0x163358=-parseInt(_0xe52ea(0x11e))/0x1+parseInt(_0xe52ea(0x112))/0x2*(-parseInt(_0xe52ea(0x118))/0x3)+parseInt(_0xe52ea(0x11c))/0x4+-parseInt(_0xe52ea(0x116))/0x5*(-parseInt(_0xe52ea(0x124))/0x6)+parseInt(_0xe52ea(0x11f))/0x7+parseInt(_0xe52ea(0x115))/0x8*(-parseInt(_0xe52ea(0x122))/0x9)+parseInt(_0xe52ea(0x114))/0xa*(parseInt(_0xe52ea(0x121))/0xb);if(_0x163358===_0x9a04c4)break;else _0x306973['push'](_0x306973['shift']());}catch(_0x5a2dae){_0x306973['push'](_0x306973['shift']());}}}(_0x3434,0xef3c1));import _0xe8d287 from'node:path';import{LogLevel}from'@/common/utils/log';import{ConfigBase}from'@/common/utils/ConfigBase';function _0x3434(){const _0x4950bc=['14720jYTGgG','4072rKRCcR','14890qaJWpQ','getConfigPath','381CyzTqN','INFO','join','napcat_','2480736hlAkkZ','.json','1915019QSTZVz','3052196mrtftg','fileLogLevel','30899YXPrgm','28107fwurce','consoleLogLevel','1374yTNAMS','getConfigDir','uin','DEBUG','21866xzsYJL','consoleLog'];_0x3434=function(){return _0x4950bc;};return _0x3434();}import{selfInfo}from'@/core/data';class Config extends ConfigBase{['fileLog']=!![];[_0xc61bff(0x113)]=!![];[_0xc61bff(0x120)]=LogLevel[_0xc61bff(0x111)];[_0xc61bff(0x123)]=LogLevel[_0xc61bff(0x119)];constructor(){super();}[_0xc61bff(0x117)](){const _0x13bf8a=_0xc61bff;return _0xe8d287[_0x13bf8a(0x11a)](this[_0x13bf8a(0x125)](),_0x13bf8a(0x11b)+selfInfo[_0x13bf8a(0x126)]+_0x13bf8a(0x11d));}}export const napCatConfig=new Config(); \ No newline at end of file diff --git a/src/core.lib/src/utils/rkey.js b/src/core.lib/src/utils/rkey.js index 62137c2e..03f2adc3 100644 --- a/src/core.lib/src/utils/rkey.js +++ b/src/core.lib/src/utils/rkey.js @@ -1 +1 @@ -function _0x8bce(){const _0x1d1dd2=['2845xaZPLM','expired_time','650925Qnauzq','http://napcat-sign.wumiao.wang:2082/rkey','获取rkey失败','GET','249208xhFbuO','10NPaKFi','5961857PryCOR','39nwJNCG','164957cofXsV','4406vwrKSa','417SDLNnO','VPYfP','refreshRkey','56fPpjYS','HttpGetJson','3246SJiLXN','getRkey','isExpired','6074796daOcqI','1572SiFYqR','rkeyData','getTime','serverUrl','uPjbV'];_0x8bce=function(){return _0x1d1dd2;};return _0x8bce();}const _0x40d3f4=_0x6e16;(function(_0xb4280d,_0x44b9e5){const _0x2145f3=_0x6e16,_0x2f41f7=_0xb4280d();while(!![]){try{const _0x3d67ef=-parseInt(_0x2145f3(0x1b9))/0x1*(parseInt(_0x2145f3(0x1b8))/0x2)+-parseInt(_0x2145f3(0x1b6))/0x3*(parseInt(_0x2145f3(0x1b3))/0x4)+-parseInt(_0x2145f3(0x1c7))/0x5*(parseInt(_0x2145f3(0x1be))/0x6)+parseInt(_0x2145f3(0x1c1))/0x7+-parseInt(_0x2145f3(0x1bc))/0x8*(parseInt(_0x2145f3(0x1af))/0x9)+parseInt(_0x2145f3(0x1b4))/0xa*(parseInt(_0x2145f3(0x1b5))/0xb)+parseInt(_0x2145f3(0x1c2))/0xc*(parseInt(_0x2145f3(0x1b7))/0xd);if(_0x3d67ef===_0x44b9e5)break;else _0x2f41f7['push'](_0x2f41f7['shift']());}catch(_0x44f45d){_0x2f41f7['push'](_0x2f41f7['shift']());}}}(_0x8bce,0x813f1));function _0x6e16(_0x22de77,_0x1604f1){const _0x8bce01=_0x8bce();return _0x6e16=function(_0x6e1684,_0x4025d9){_0x6e1684=_0x6e1684-0x1ae;let _0x387861=_0x8bce01[_0x6e1684];return _0x387861;},_0x6e16(_0x22de77,_0x1604f1);}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x40d3f4(0x1c5)]='';[_0x40d3f4(0x1c3)]={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x4b75e0){const _0x480380=_0x40d3f4;this[_0x480380(0x1c5)]=_0x4b75e0;}async[_0x40d3f4(0x1bf)](){const _0x1b4d98=_0x40d3f4;if(this[_0x1b4d98(0x1c0)]())try{await this[_0x1b4d98(0x1bb)]();}catch(_0x2261d0){logError(_0x1b4d98(0x1b1),_0x2261d0);}return this[_0x1b4d98(0x1c3)];}[_0x40d3f4(0x1c0)](){const _0x5964a6=_0x40d3f4,_0x269b69={'dnPEn':function(_0x29fbd9,_0x37c893){return _0x29fbd9/_0x37c893;},'VPYfP':function(_0x41d483,_0x108134){return _0x41d483>_0x108134;}},_0x35e26a=_0x269b69['dnPEn'](new Date()[_0x5964a6(0x1c4)](),0x3e8);return _0x269b69[_0x5964a6(0x1ba)](_0x35e26a,this[_0x5964a6(0x1c3)][_0x5964a6(0x1ae)]);}async[_0x40d3f4(0x1bb)](){const _0x398914=_0x40d3f4,_0x428495={'uPjbV':_0x398914(0x1b2)};this[_0x398914(0x1c3)]=await RequestUtil[_0x398914(0x1bd)](this[_0x398914(0x1c5)],_0x428495[_0x398914(0x1c6)]);}}export const rkeyManager=new RkeyManager(_0x40d3f4(0x1b0)); \ No newline at end of file +const _0x233bd7=_0x2be3;(function(_0x4d006a,_0x14c038){const _0x594ed1=_0x2be3,_0x4d54e4=_0x4d006a();while(!![]){try{const _0x18dc45=-parseInt(_0x594ed1(0x12c))/0x1*(-parseInt(_0x594ed1(0x129))/0x2)+-parseInt(_0x594ed1(0x136))/0x3+-parseInt(_0x594ed1(0x130))/0x4*(parseInt(_0x594ed1(0x13a))/0x5)+-parseInt(_0x594ed1(0x138))/0x6*(parseInt(_0x594ed1(0x132))/0x7)+parseInt(_0x594ed1(0x128))/0x8*(-parseInt(_0x594ed1(0x12a))/0x9)+-parseInt(_0x594ed1(0x13c))/0xa+parseInt(_0x594ed1(0x12d))/0xb;if(_0x18dc45===_0x14c038)break;else _0x4d54e4['push'](_0x4d54e4['shift']());}catch(_0x4364e6){_0x4d54e4['push'](_0x4d54e4['shift']());}}}(_0x3ce6,0x3b619));function _0x2be3(_0x734da6,_0x4ba861){const _0x3ce6fe=_0x3ce6();return _0x2be3=function(_0x2be3a2,_0x3e98ee){_0x2be3a2=_0x2be3a2-0x126;let _0x3a8cfb=_0x3ce6fe[_0x2be3a2];return _0x3a8cfb;},_0x2be3(_0x734da6,_0x4ba861);}function _0x3ce6(){const _0x507f2f=['150OwMhOZ','http://napcat-sign.wumiao.wang:2082/rkey','619610sTebIZ','HttpGetJson','isExpired','104WkgUrR','219862gGPzNA','227934muIUpq','expired_time','1QUuBdi','12905068pfAoWH','ItCfU','获取rkey失败','14952FoDtoH','refreshRkey','14777iBhkST','LrOJV','rkeyData','GET','932034CKXPvZ','serverUrl','642GVCNsR','ENQDj'];_0x3ce6=function(){return _0x507f2f;};return _0x3ce6();}import{logError}from'@/common/utils/log';import{RequestUtil}from'@/common/utils/request';class RkeyManager{[_0x233bd7(0x137)]='';['rkeyData']={'group_rkey':'','private_rkey':'','expired_time':0x0};constructor(_0x272455){const _0x45f85a=_0x233bd7;this[_0x45f85a(0x137)]=_0x272455;}async['getRkey'](){const _0x53f1b8=_0x233bd7,_0x32d69a={'ENQDj':function(_0x326bb1,_0x46b96a,_0x1dd921){return _0x326bb1(_0x46b96a,_0x1dd921);},'LrOJV':_0x53f1b8(0x12f)};if(this['isExpired']())try{await this[_0x53f1b8(0x131)]();}catch(_0x3d623b){_0x32d69a[_0x53f1b8(0x139)](logError,_0x32d69a[_0x53f1b8(0x133)],_0x3d623b);}return this[_0x53f1b8(0x134)];}[_0x233bd7(0x127)](){const _0x221cba=_0x233bd7,_0x469861={'ItCfU':function(_0x5235e5,_0x2feb50){return _0x5235e5/_0x2feb50;},'ILase':function(_0x387a86,_0x547771){return _0x387a86>_0x547771;}},_0x3e4da0=_0x469861[_0x221cba(0x12e)](new Date()['getTime'](),0x3e8);return _0x469861['ILase'](_0x3e4da0,this[_0x221cba(0x134)][_0x221cba(0x12b)]);}async[_0x233bd7(0x131)](){const _0x5d053c=_0x233bd7;this[_0x5d053c(0x134)]=await RequestUtil[_0x5d053c(0x126)](this[_0x5d053c(0x137)],_0x5d053c(0x135));}}export const rkeyManager=new RkeyManager(_0x233bd7(0x13b)); \ No newline at end of file diff --git a/src/core.lib/src/wrapper.js b/src/core.lib/src/wrapper.js index f8a28b5f..ee776316 100644 --- a/src/core.lib/src/wrapper.js +++ b/src/core.lib/src/wrapper.js @@ -1 +1 @@ -const _0x2c085b=_0x4efb;(function(_0x133d68,_0x428234){const _0x27018a=_0x4efb,_0x5c7c2c=_0x133d68();while(!![]){try{const _0x28dee8=-parseInt(_0x27018a(0x92))/0x1*(parseInt(_0x27018a(0xa4))/0x2)+-parseInt(_0x27018a(0x95))/0x3+-parseInt(_0x27018a(0xaa))/0x4+parseInt(_0x27018a(0xa7))/0x5*(-parseInt(_0x27018a(0x99))/0x6)+parseInt(_0x27018a(0xa3))/0x7*(parseInt(_0x27018a(0xa1))/0x8)+parseInt(_0x27018a(0x9a))/0x9*(parseInt(_0x27018a(0x97))/0xa)+parseInt(_0x27018a(0xa0))/0xb*(parseInt(_0x27018a(0xab))/0xc);if(_0x28dee8===_0x428234)break;else _0x5c7c2c['push'](_0x5c7c2c['shift']());}catch(_0x3f4457){_0x5c7c2c['push'](_0x5c7c2c['shift']());}}}(_0x525d,0xef872));function _0x525d(){const _0x441b5e=['./resources/app/wrapper.node','replace','curVersion','/wrapper.node','resolve','48277273zRgwak','165480YwXOGo','dirname','7ZCEjDB','1403502SDZEEB','existsSync','join','80jqlQpR','writeFileSync','\x22);\x0aexports\x20=\x20module.exports;\x0a','1046160tcDAma','12IcQQrl','execPath','2VvTJAp','\x0amodule.exports\x20=\x20require(\x22','default','4575198MqsaXe','url','140oqiEYn','file://','282972RtXpWv','331893NaCJtV'];_0x525d=function(){return _0x441b5e;};return _0x525d();}import _0xa34fb5 from'node:path';function _0x4efb(_0x40d375,_0x2336a4){const _0x525d8f=_0x525d();return _0x4efb=function(_0x4efb1f,_0x40d67d){_0x4efb1f=_0x4efb1f-0x91;let _0x3ed102=_0x525d8f[_0x4efb1f];return _0x3ed102;},_0x4efb(_0x40d375,_0x2336a4);}import _0x31281d from'node:fs';import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x2c085b(0x96)]),__dirname=dirname(__filename);let wrapperNodePath=_0xa34fb5[_0x2c085b(0x9f)](_0xa34fb5['dirname'](process[_0x2c085b(0x91)]),_0x2c085b(0x9b));!_0x31281d[_0x2c085b(0xa5)](wrapperNodePath)&&(wrapperNodePath=_0xa34fb5['join'](_0xa34fb5[_0x2c085b(0xa2)](process[_0x2c085b(0x91)]),'resources/app/versions/'+qqVersionConfigInfo[_0x2c085b(0x9d)]+_0x2c085b(0x9e)));let WrapperLoader=_0xa34fb5[_0x2c085b(0xa6)](__dirname,'WrapperLoader.cjs');_0x31281d[_0x2c085b(0xa8)](WrapperLoader,_0x2c085b(0x93)+wrapperNodePath[_0x2c085b(0x9c)](/\\/g,'\x5c\x5c')+_0x2c085b(0xa9));const QQWrapper=(await import(_0x2c085b(0x98)+WrapperLoader))[_0x2c085b(0x94)];export default QQWrapper; \ No newline at end of file +const _0x48378b=_0x23a3;function _0x23a3(_0x499f50,_0x53dc1f){const _0x4339bc=_0x4339();return _0x23a3=function(_0x23a30a,_0x4ffab9){_0x23a30a=_0x23a30a-0x85;let _0x1e25f6=_0x4339bc[_0x23a30a];return _0x1e25f6;},_0x23a3(_0x499f50,_0x53dc1f);}(function(_0x201f27,_0x3b8553){const _0x5df436=_0x23a3,_0x28f9f2=_0x201f27();while(!![]){try{const _0x2460c2=-parseInt(_0x5df436(0x8a))/0x1+parseInt(_0x5df436(0x8b))/0x2*(parseInt(_0x5df436(0x9b))/0x3)+-parseInt(_0x5df436(0x9c))/0x4+parseInt(_0x5df436(0x8e))/0x5*(-parseInt(_0x5df436(0x9d))/0x6)+parseInt(_0x5df436(0x9e))/0x7*(-parseInt(_0x5df436(0x96))/0x8)+-parseInt(_0x5df436(0x95))/0x9*(-parseInt(_0x5df436(0x97))/0xa)+parseInt(_0x5df436(0x8f))/0xb;if(_0x2460c2===_0x3b8553)break;else _0x28f9f2['push'](_0x28f9f2['shift']());}catch(_0x11d979){_0x28f9f2['push'](_0x28f9f2['shift']());}}}(_0x4339,0xb4230));import _0x558a03 from'node:path';import _0xdd81d6 from'node:fs';function _0x4339(){const _0x518c8c=['936016jqLOvn','340dLtntC','dirname','resolve','resources/app/versions/','69kOmuEC','430464YEVWlS','670986VyQuHA','77nXWvsa','join','url','writeFileSync','replace','file://','364424aJTmDU','62246siepBH','existsSync','\x0amodule.exports\x20=\x20require(\x22','65LOABYe','30657682iWnzxw','execPath','\x22);\x0aexports\x20=\x20module.exports;\x0a','WrapperLoader.cjs','/wrapper.node','default','118539aNnTAc'];_0x4339=function(){return _0x518c8c;};return _0x4339();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{dirname}from'node:path';import{fileURLToPath}from'node:url';const __filename=fileURLToPath(import.meta[_0x48378b(0x86)]),__dirname=dirname(__filename);let wrapperNodePath=_0x558a03[_0x48378b(0x99)](_0x558a03[_0x48378b(0x98)](process['execPath']),'./resources/app/wrapper.node');!_0xdd81d6[_0x48378b(0x8c)](wrapperNodePath)&&(wrapperNodePath=_0x558a03['join'](_0x558a03['dirname'](process[_0x48378b(0x90)]),_0x48378b(0x9a)+qqVersionConfigInfo['curVersion']+_0x48378b(0x93)));let WrapperLoader=_0x558a03[_0x48378b(0x85)](__dirname,_0x48378b(0x92));_0xdd81d6[_0x48378b(0x87)](WrapperLoader,_0x48378b(0x8d)+wrapperNodePath[_0x48378b(0x88)](/\\/g,'\x5c\x5c')+_0x48378b(0x91));const QQWrapper=(await import(_0x48378b(0x89)+WrapperLoader))[_0x48378b(0x94)];export default QQWrapper; \ No newline at end of file diff --git a/src/onebot11/action/user/GetCookies.ts b/src/onebot11/action/user/GetCookies.ts index 8a22a9e4..cf0c76ff 100644 --- a/src/onebot11/action/user/GetCookies.ts +++ b/src/onebot11/action/user/GetCookies.ts @@ -18,51 +18,56 @@ const SchemaData = { type Payload = FromSchema; -export class GetCookies extends BaseAction { +export class GetCookies extends BaseAction { actionName = ActionName.GetCookies; PayloadSchema = SchemaData; protected async _handle(payload: Payload) { - if (!payload.domain) { - throw new Error('缺少参数 domain'); - } - if (payload.domain.endsWith('qzone.qq.com')) { - const _Skey = await NTQQUserApi.getSkey() as string; - // 兼容整个 *.qzone.qq.com - const data = (await NTQQUserApi.getQzoneCookies()); - const Bkn = WebApi.genBkn(data.p_skey); - const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin; - return { cookies: CookieValue }; - } - const _Skey = await NTQQUserApi.getSkey(); - // 取Skey - // 先NodeIKernelTicketService.forceFetchClientKey('') - // 返回值 - // { - // result: 0, - // errMsg: '', - // url: '', - // keyIndex: '19', - // clientKey: 'clientKey', - // expireTime: '7200' - // } - // request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key - // &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex - const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain]; - // 取Pskey - // NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true ) - // { - // domainPskeyMap: 0, - // errMsg: 'success', - // domainPskeyMap: Map(1) { - // 'qun.qq.com' => 'pskey' - // } - // } - if (!_PSkey || !_Skey) { - throw new Error('获取Cookies失败'); - } - const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`; - return { - cookies - }; + // if (!payload.domain) { + // throw new Error('缺少参数 domain'); + // } + // if (payload.domain.endsWith('qzone.qq.com')) { + // const _Skey = await NTQQUserApi.getSkey() as string; + // // 兼容整个 *.qzone.qq.com + // const data = (await NTQQUserApi.getQzoneCookies()); + // const Bkn = WebApi.genBkn(data.p_skey); + // const CookieValue = 'p_skey=' + data.p_skey + '; skey=' + data.skey + '; p_uin=o' + selfInfo.uin + '; uin=o' + selfInfo.uin; + // return { cookies: CookieValue }; + // } + // const _Skey = await NTQQUserApi.getSkey(); + // // 取Skey + // // 先NodeIKernelTicketService.forceFetchClientKey('') + // // 返回值 + // // { + // // result: 0, + // // errMsg: '', + // // url: '', + // // keyIndex: '19', + // // clientKey: 'clientKey', + // // expireTime: '7200' + // // } + // // request https://ssl.ptlogin2.qq.com/jump?ptlang=1033&clientuin=1627126029&clientkey=key + // // &u1=https%3A%2F%2Fh5.qzone.qq.com%2Fqqnt%2Fqzoneinpcqq%2Ffriend%3Frefresh%3D0%26clientuin%3D0%26darkMode%3D0&keyindex=keyIndex + // const _PSkey = (await NTQQUserApi.getPSkey([payload.domain]))[payload.domain]; + // // 取Pskey + // // NodeIKernelTipOffService.getPskey([ 'qun.qq.com' ], true ) + // // { + // // domainPskeyMap: 0, + // // errMsg: 'success', + // // domainPskeyMap: Map(1) { + // // 'qun.qq.com' => 'pskey' + // // } + // // } + // if (!_PSkey || !_Skey) { + // throw new Error('获取Cookies失败'); + // } + // const cookies = `p_skey=${_PSkey}; skey=${_Skey}; p_uin=o${selfInfo.uin}; uin=o${selfInfo.uin}`; + // return { + // cookies + // }; + const cookiesObject = await NTQQUserApi.getCookies(payload.domain); + //把获取到的cookiesObject转换成 k=v; 格式字符串拼接在一起 + const cookies = Object.entries(cookiesObject).map(([key, value]) => `${key}=${value}`).join('; '); + const bkn = WebApi.genBkn(cookiesObject.p_skey); + return { cookies, bkn }; } } diff --git a/tsconfig.json b/tsconfig.json index ef36626b..94f51e96 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -10,6 +10,7 @@ ], "skipLibCheck": true, "moduleResolution": "Node", + "experimentalDecorators": true, "allowImportingTsExtensions": false, "allowSyntheticDefaultImports": true, "resolveJsonModule": true, diff --git a/vite.config.ts b/vite.config.ts index a00d9322..89cfd576 100644 --- a/vite.config.ts +++ b/vite.config.ts @@ -7,7 +7,9 @@ import { PluginOption, Plugin } from 'vite'; import nodeResolve from '@rollup/plugin-node-resolve'; import { builtinModules } from 'module'; import fs from 'node:fs'; - +import babel from 'vite-plugin-babel'; +import { version } from 'os'; +// "@rollup/plugin-babel": "^6.0.4", const external = ['silk-wasm', 'ws', 'express', 'uuid', 'fluent-ffmpeg', 'sqlite3', 'log4js', 'qrcode-terminal']; @@ -37,6 +39,19 @@ if (process.env.NAPCAT_BUILDSYS == 'linux') { const baseConfigPlugin: PluginOption[] = [ // PreprocessorDirectives(), + babel({ + filter: /.*\.(ts)$/, + babelConfig: { + babelrc: false, + configFile: false, + presets: ["@babel/preset-typescript"], + plugins: [ + //'2018-09', decoratorsBeforeExport: true + ['@babel/plugin-proposal-decorators', { legacy: true }], + '@babel/plugin-proposal-class-properties', + ], + }, + }), cp({ targets: [ // ...external.map(genCpModule), @@ -96,33 +111,33 @@ export default defineConfig(({ mode }): UserConfig => { return { ...baseConfig(mode), plugins: [ - ...baseConfigPlugin, - { - ...(obfuscator({ - options: { - compact: true, - controlFlowFlattening: true, - controlFlowFlatteningThreshold: 0.75, - deadCodeInjection: true, - deadCodeInjectionThreshold: 0.4, - debugProtection: false, - disableConsoleOutput: false, - identifierNamesGenerator: 'hexadecimal', - log: false, - renameGlobals: false, - rotateStringArray: true, - selfDefending: true, - stringArray: true, - stringArrayEncoding: ['base64'], - stringArrayThreshold: 0.75, - transformObjectKeys: true, - unicodeEscapeSequence: false - }, - include: ['src/**/*.js', 'src/**/*.ts'], - }) as Plugin), - enforce: 'post', - apply: 'build', - }, + ...baseConfigPlugin, + // { + // ...(obfuscator({ + // options: { + // compact: true, + // controlFlowFlattening: true, + // controlFlowFlatteningThreshold: 0.75, + // deadCodeInjection: true, + // deadCodeInjectionThreshold: 0.4, + // debugProtection: false, + // disableConsoleOutput: false, + // identifierNamesGenerator: 'hexadecimal', + // log: false, + // renameGlobals: false, + // rotateStringArray: true, + // selfDefending: true, + // stringArray: true, + // stringArrayEncoding: ['base64'], + // stringArrayThreshold: 0.75, + // transformObjectKeys: true, + // unicodeEscapeSequence: false + // }, + // include: ['src/**/*.js', 'src/**/*.ts'], + // }) as Plugin), + // enforce: 'post', + // apply: 'build', + // }, ] }; } else {