fix: build

This commit is contained in:
手瓜一十雪
2024-04-24 12:19:30 +08:00
parent e9b90079c0
commit a40bb29da3
89 changed files with 106 additions and 16256 deletions

View File

@@ -1,11 +1,11 @@
import { EventEmitter } from 'node:events';
import { NapCatCoreService } from './service';
import { NapCatCoreSession } from './session';
import { NapCatCoreLogin } from './login';
import { NapCatCoreWrapper } from './wrapper';
import { QRCodeLoginSucceedType } from './qqnt/services';
/// <reference types="node" />
import { GlobalAdapter } from './qqnt/adapters';
import { QRCodeLoginSucceedType } from './qqnt/services';
import { NapCatCoreWrapper } from './wrapper';
import { NapCatCoreLogin } from './login';
import { NapCatCoreSession } from './session';
import { NapCatCoreService } from './service';
import { EventEmitter } from 'node:events';
import * as log4js from '@log4js-node/log4js-api';
export interface LoginSuccessCallback {
(): void | Promise<void>;

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@@ -1,9 +1 @@
import { t as i, u as C } from "./BjXmaMVk/index.js";
import "./DUaKd8HF/index.js";
import "node:path";
import "node:fs";
import "node:events";
export {
i as NapCatCore,
C as napCatCore
};
(function(_0x378c8f,_0x1c1a38){var _0xcec434=_0x107b,_0xe8e8f2=_0x378c8f();while(!![]){try{var _0x52ba0d=-parseInt(_0xcec434(0x94))/0x1+parseInt(_0xcec434(0x99))/0x2+-parseInt(_0xcec434(0x97))/0x3*(parseInt(_0xcec434(0x9b))/0x4)+-parseInt(_0xcec434(0x96))/0x5*(-parseInt(_0xcec434(0x98))/0x6)+parseInt(_0xcec434(0x93))/0x7+-parseInt(_0xcec434(0x95))/0x8+parseInt(_0xcec434(0x92))/0x9*(parseInt(_0xcec434(0x9a))/0xa);if(_0x52ba0d===_0x1c1a38)break;else _0xe8e8f2['push'](_0xe8e8f2['shift']());}catch(_0x42137c){_0xe8e8f2['push'](_0xe8e8f2['shift']());}}}(_0x5afe,0x4116a));function _0x107b(_0x2a747e,_0x1e3a21){var _0x5afe06=_0x5afe();return _0x107b=function(_0x107b3c,_0x451d5b){_0x107b3c=_0x107b3c-0x92;var _0x1c4250=_0x5afe06[_0x107b3c];return _0x1c4250;},_0x107b(_0x2a747e,_0x1e3a21);}function _0x5afe(){var _0x2a9a5b=['3315130zTTQvq','459749EjdXTQ','2655304ieczUJ','7910ATQVTO','15Ayqoln','1548pYUrMR','660292tljqgp','30LCewzm','157436MkJRha','129501zExpkW'];_0x5afe=function(){return _0x2a9a5b;};return _0x5afe();}import{t as _0x2a072f,u as _0x40c77b}from'./BjXmaMVk/index.js';import'./DUaKd8HF/index.js';import'node:path';import'node:fs';import'node:events';export{_0x2a072f as NapCatCore,_0x40c77b as napCatCore};

View File

@@ -1,7 +1,6 @@
import { NapCatCore } from '.';
import { LoginInitConfig, NodeIKernelLoginService } from './qqnt/services';
import { LoginListener } from './qqnt/listeners';
import { LoginInitConfig, NodeIKernelLoginService } from './qqnt/services';
import { NapCatCore } from '.';
/**
* NapCat 登录相关核心类
*

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var _0x15ec6c=_0x16af;function _0x29a4(){var _0xe65978=['78432ZhznXu','7990QGjpCX','1167825ArjkKX','88rEuEbn','64696QZeHFa','6114198odwqAQ','2666259cnyTUd','6907AAjVSV','511XWiePN','40wCxRkC','onMSFStatusChange','274OfMKIj','968NCtdlw'];_0x29a4=function(){return _0xe65978;};return _0x29a4();}(function(_0x207260,_0x2cb077){var _0x225065=_0x16af,_0x1fe292=_0x207260();while(!![]){try{var _0x1c3a4d=parseInt(_0x225065(0x1df))/0x1*(-parseInt(_0x225065(0x1e3))/0x2)+-parseInt(_0x225065(0x1da))/0x3+parseInt(_0x225065(0x1e4))/0x4*(parseInt(_0x225065(0x1d9))/0x5)+parseInt(_0x225065(0x1dd))/0x6+-parseInt(_0x225065(0x1e0))/0x7*(parseInt(_0x225065(0x1dc))/0x8)+parseInt(_0x225065(0x1de))/0x9*(parseInt(_0x225065(0x1e1))/0xa)+parseInt(_0x225065(0x1db))/0xb*(-parseInt(_0x225065(0x1d8))/0xc);if(_0x1c3a4d===_0x2cb077)break;else _0x1fe292['push'](_0x1fe292['shift']());}catch(_0x217dca){_0x1fe292['push'](_0x1fe292['shift']());}}}(_0x29a4,0x958e4));function _0x16af(_0x4ef8de,_0xd5dff2){var _0x29a4ae=_0x29a4();return _0x16af=function(_0x16af90,_0x15f39b){_0x16af90=_0x16af90-0x1d8;var _0x548811=_0x29a4ae[_0x16af90];return _0x548811;},_0x16af(_0x4ef8de,_0xd5dff2);}export class DependsAdapter{[_0x15ec6c(0x1e2)](_0x58f76f){}['onMSFSsoError'](_0x12a200){}['getGroupCode'](_0x2105c3){}}

View File

@@ -0,0 +1 @@
function _0x46ca(){var _0x1a36df=['341WqcouM','dispatchCall','792690fGeIAW','1590262aBppDM','100579iClzWR','2065341OVpNzs','40EnzEDN','428616nGUkan','429980rqHkXF','160qZCwTH','391572Vsffxt','28TCmHsF','dispatchCallWithJson'];_0x46ca=function(){return _0x1a36df;};return _0x46ca();}var _0xb6c6d1=_0x5db2;(function(_0x2ab5ac,_0x497b27){var _0x5c1af8=_0x5db2,_0x39ff7=_0x2ab5ac();while(!![]){try{var _0x13c8de=-parseInt(_0x5c1af8(0x1e6))/0x1+parseInt(_0x5c1af8(0x1e5))/0x2+-parseInt(_0x5c1af8(0x1e7))/0x3+-parseInt(_0x5c1af8(0x1e8))/0x4*(parseInt(_0x5c1af8(0x1ea))/0x5)+-parseInt(_0x5c1af8(0x1e9))/0x6*(parseInt(_0x5c1af8(0x1e0))/0x7)+parseInt(_0x5c1af8(0x1de))/0x8*(-parseInt(_0x5c1af8(0x1df))/0x9)+-parseInt(_0x5c1af8(0x1e4))/0xa*(-parseInt(_0x5c1af8(0x1e2))/0xb);if(_0x13c8de===_0x497b27)break;else _0x39ff7['push'](_0x39ff7['shift']());}catch(_0x5afdc9){_0x39ff7['push'](_0x39ff7['shift']());}}}(_0x46ca,0x6d45c));function _0x5db2(_0x28b3f3,_0x4ef10d){var _0x46cadc=_0x46ca();return _0x5db2=function(_0x5db256,_0x4b6fa3){_0x5db256=_0x5db256-0x1de;var _0x50de53=_0x46cadc[_0x5db256];return _0x50de53;},_0x5db2(_0x28b3f3,_0x4ef10d);}export class DispatcherAdapter{['dispatchRequest'](_0x2f85d6){}[_0xb6c6d1(0x1e3)](_0x20a626){}[_0xb6c6d1(0x1e1)](_0x3e4e56){}}

View File

@@ -0,0 +1 @@
var _0x51c8f8=_0x1e13;function _0x379a(){var _0x12f692=['252422SkerAj','404855FrCANj','onUpdateGeneralFlag','2233yqYKaV','328bqnrqS','getAppSetting','onGetSrvCalTime','2601ArAJFu','7046736KSFWSc','30LbXtLL','onShowErrUITips','fixPicImgType','onLog','1761PwBuFu','onInstallFinished','203518zDnXDF','142MzWrrH','12260GMFMQd','8LWITex'];_0x379a=function(){return _0x12f692;};return _0x379a();}function _0x1e13(_0x457255,_0x51e06b){var _0x379a0d=_0x379a();return _0x1e13=function(_0x1e13cc,_0x3421b4){_0x1e13cc=_0x1e13cc-0x177;var _0x29ea94=_0x379a0d[_0x1e13cc];return _0x29ea94;},_0x1e13(_0x457255,_0x51e06b);}(function(_0x35d8a4,_0x5f81e1){var _0x289be1=_0x1e13,_0x306b4d=_0x35d8a4();while(!![]){try{var _0x34593e=parseInt(_0x289be1(0x188))/0x1+-parseInt(_0x289be1(0x185))/0x2*(parseInt(_0x289be1(0x182))/0x3)+parseInt(_0x289be1(0x187))/0x4*(parseInt(_0x289be1(0x189))/0x5)+parseInt(_0x289be1(0x17e))/0x6*(parseInt(_0x289be1(0x184))/0x7)+parseInt(_0x289be1(0x179))/0x8*(-parseInt(_0x289be1(0x17c))/0x9)+parseInt(_0x289be1(0x186))/0xa*(parseInt(_0x289be1(0x178))/0xb)+-parseInt(_0x289be1(0x17d))/0xc;if(_0x34593e===_0x5f81e1)break;else _0x306b4d['push'](_0x306b4d['shift']());}catch(_0x162aed){_0x306b4d['push'](_0x306b4d['shift']());}}}(_0x379a,0x28fb2));export class GlobalAdapter{[_0x51c8f8(0x181)](..._0x1466ec){}[_0x51c8f8(0x17b)](..._0x11cb76){}[_0x51c8f8(0x17f)](..._0x112677){}[_0x51c8f8(0x180)](..._0x1412ad){}[_0x51c8f8(0x17a)](..._0x4b121d){}[_0x51c8f8(0x183)](..._0x176fb5){}[_0x51c8f8(0x177)](..._0x42d61c){}['onGetOfflineMsg'](..._0x612a05){}}

View File

@@ -1,6 +1 @@
import { D as p, a as r, G as s } from "../../index/DUaKd8HF/index.js";
export {
p as DependsAdapter,
r as DispatcherAdapter,
s as GlobalAdapter
};
(function(_0x153d5a,_0x3f4086){var _0x5adae4=_0x2883,_0x858ef9=_0x153d5a();while(!![]){try{var _0xc14cb5=parseInt(_0x5adae4(0xe4))/0x1+-parseInt(_0x5adae4(0xe1))/0x2+-parseInt(_0x5adae4(0xdc))/0x3+parseInt(_0x5adae4(0xe5))/0x4*(parseInt(_0x5adae4(0xe0))/0x5)+-parseInt(_0x5adae4(0xdf))/0x6+parseInt(_0x5adae4(0xe2))/0x7*(-parseInt(_0x5adae4(0xe3))/0x8)+parseInt(_0x5adae4(0xde))/0x9*(parseInt(_0x5adae4(0xdd))/0xa);if(_0xc14cb5===_0x3f4086)break;else _0x858ef9['push'](_0x858ef9['shift']());}catch(_0x1b3434){_0x858ef9['push'](_0x858ef9['shift']());}}}(_0x2848,0x1ba1e));export*from'./NodeIDependsAdapter';function _0x2848(){var _0x3bbecd=['3325jlrkLj','2480wgrGml','200005woPRCC','4HtXnLq','107601yfnZfX','2586110DnodVP','9gHxTCh','741456QOrGmi','201930jWYueb','158254OVGtqc'];_0x2848=function(){return _0x3bbecd;};return _0x2848();}export*from'./NodeIDispatcherAdapter';function _0x2883(_0x3d704b,_0x2cf319){var _0x2848e7=_0x2848();return _0x2883=function(_0x288326,_0x8f0f87){_0x288326=_0x288326-0xdc;var _0x2df72c=_0x2848e7[_0x288326];return _0x2df72c;},_0x2883(_0x3d704b,_0x2cf319);}export*from'./NodeIGlobalAdapter';

View File

@@ -1,7 +1,6 @@
import { ISizeCalculationResult } from 'image-size/dist/types/interface';
import { ChatType, ElementType } from '../entities';
import { ChatType, ElementType } from '@/core/qqnt/entities';
import * as fileType from 'file-type';
import { ISizeCalculationResult } from 'image-size/dist/types/interface';
export declare class NTQQFileApi {
static getFileType(filePath: string): Promise<fileType.FileTypeResult | undefined>;
static copyFile(filePath: string, destPath: string): Promise<void>;

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,4 @@
import { FriendRequest } from '../entities';
import { FriendRequest } from '@/core/qqnt/entities';
export declare class NTQQFriendApi {
static getFriends(forced?: boolean): Promise<void>;
static handleFriendRequest(request: FriendRequest, accept: boolean): Promise<void>;

View File

@@ -0,0 +1 @@
var _0x4bf479=_0x2a8f;function _0x2a8f(_0x1987a8,_0x3e669f){var _0x4f3124=_0x4f31();return _0x2a8f=function(_0x2a8fbc,_0x20bcd6){_0x2a8fbc=_0x2a8fbc-0x17b;var _0x2e1e6f=_0x4f3124[_0x2a8fbc];return _0x2e1e6f;},_0x2a8f(_0x1987a8,_0x3e669f);}(function(_0xda2820,_0x5d9df9){var _0x301565=_0x2a8f,_0x4d81d0=_0xda2820();while(!![]){try{var _0x5558c5=-parseInt(_0x301565(0x189))/0x1+parseInt(_0x301565(0x184))/0x2+-parseInt(_0x301565(0x187))/0x3+-parseInt(_0x301565(0x182))/0x4+parseInt(_0x301565(0x17d))/0x5*(-parseInt(_0x301565(0x186))/0x6)+-parseInt(_0x301565(0x17b))/0x7*(-parseInt(_0x301565(0x180))/0x8)+-parseInt(_0x301565(0x17f))/0x9*(-parseInt(_0x301565(0x188))/0xa);if(_0x5558c5===_0x5d9df9)break;else _0x4d81d0['push'](_0x4d81d0['shift']());}catch(_0x5a1e68){_0x4d81d0['push'](_0x4d81d0['shift']());}}}(_0x4f31,0x1bda3));import{napCatCore}from'@/core';export class NTQQFriendApi{static async['getFriends'](_0x1a0298=![]){}static async[_0x4bf479(0x17e)](_0x5b3230,_0x584e9a){var _0x4c36c4=_0x4bf479;napCatCore[_0x4c36c4(0x18a)][_0x4c36c4(0x183)][_0x4c36c4(0x181)]?.['approvalFriendRequest']({'friendUid':_0x5b3230[_0x4c36c4(0x17c)],'reqTime':_0x5b3230[_0x4c36c4(0x185)],'accept':_0x584e9a});}}function _0x4f31(){var _0x4e3db9=['9847pJKRJN','service','3521SckDDj','friendUid','88525flHzDK','handleFriendRequest','9YFYyGI','2312fmpqvj','kernelService','440468daVufZ','buddy','233976eMiDpa','reqTime','18aNNHrc','409008dvzYOz','1611430GfDeHU'];_0x4f31=function(){return _0x4e3db9;};return _0x4f31();}

View File

@@ -1,5 +1,4 @@
import { GroupMember, GroupRequestOperateTypes, GroupMemberRole, GroupNotify, Group } from '../entities';
export declare class NTQQGroupApi {
static getGroups(forced?: boolean): Promise<Group[]>;
static getGroupMembers(groupQQ: string, num?: number): Promise<void | GroupMember[]>;

View File

@@ -0,0 +1 @@
const _0x49bdcb=_0xfc72;(function(_0x5253a0,_0x33650a){const _0xcc10d6=_0xfc72,_0xe104fb=_0x5253a0();while(!![]){try{const _0x5b06d8=parseInt(_0xcc10d6(0xdf))/0x1+-parseInt(_0xcc10d6(0xe7))/0x2+-parseInt(_0xcc10d6(0xd5))/0x3*(parseInt(_0xcc10d6(0xe9))/0x4)+-parseInt(_0xcc10d6(0xe3))/0x5*(-parseInt(_0xcc10d6(0xda))/0x6)+parseInt(_0xcc10d6(0xcb))/0x7+parseInt(_0xcc10d6(0xe4))/0x8+-parseInt(_0xcc10d6(0xe8))/0x9;if(_0x5b06d8===_0x33650a)break;else _0xe104fb['push'](_0xe104fb['shift']());}catch(_0x5caa80){_0xe104fb['push'](_0xe104fb['shift']());}}}(_0x54cc,0x8d1d8));import{napCatCore}from'@/core';function _0x54cc(){const _0x4c29c9=['293892GgfMgt','type','banGroup','getGroupIgnoreNotifies','739505JFyxiC','5709816qkCdPU','getGroupMembers','setMemberCard','1464032sVdOyL','6026058pOrYRI','9704LqqJex','modifyGroupName','then','service','getGroups','modifyMemberRole','4870796CcrMgs','kernelService','quitGroup','group','getGroupNotifies','onGroupListUpdate','SCfId','kickMember','YnbZU','setMemberShutUp','573NKksfE','FKUTd','handleGroupRequest','VjzgU','publishGroupBulletin','30wEFMTI','operateSysNotify','setGroupTitle','modifyMemberCardName','setMemberRole'];_0x54cc=function(){return _0x4c29c9;};return _0x54cc();}import{GroupListener}from'@/core/qqnt';function _0xfc72(_0x363e11,_0x33b496){const _0x54ccb4=_0x54cc();return _0xfc72=function(_0xfc722a,_0x461792){_0xfc722a=_0xfc722a-0xca;let _0xa7edcb=_0x54ccb4[_0xfc722a];return _0xa7edcb;},_0xfc72(_0x363e11,_0x33b496);}export class NTQQGroupApi{static async[_0x49bdcb(0xed)](_0x5c9c32=![]){const _0x4930dd={'VjzgU':function(_0x5bcd6b,_0x1749d0){return _0x5bcd6b(_0x1749d0);},'FKUTd':function(_0x3d229a,_0x4b5b63,_0x449f99){return _0x3d229a(_0x4b5b63,_0x449f99);}};let _0x181d4a=![];return new Promise((_0x72332e,_0x4abe4b)=>{const _0x78df6=_0xfc72,_0x163140={'YnbZU':function(_0x179f88,_0x26b68d){const _0x380b67=_0xfc72;return _0x4930dd[_0x380b67(0xd8)](_0x179f88,_0x26b68d);},'SCfId':function(_0x3ab225,_0x4142f9){return _0x3ab225(_0x4142f9);}};_0x4930dd[_0x78df6(0xd6)](setTimeout,()=>{const _0x13a3b1=_0x78df6;!_0x181d4a&&(napCatCore[_0x13a3b1(0xec)]['group'][_0x13a3b1(0xcc)]?.['removeKernelGroupListener'](_0x11d110),_0x163140[_0x13a3b1(0xd3)](_0x72332e,[]));},0x2710);const _0x57cf32=new GroupListener();_0x57cf32[_0x78df6(0xd0)]=(_0x3327f6,_0x5cca92)=>{const _0x247f17=_0x78df6;_0x181d4a=!![],_0x163140[_0x247f17(0xd1)](_0x72332e,_0x5cca92),napCatCore['service'][_0x247f17(0xce)][_0x247f17(0xcc)]?.['removeKernelGroupListener'](_0x11d110);};const _0x11d110=napCatCore['service'][_0x78df6(0xce)]['addGroupListener'](_0x57cf32);napCatCore[_0x78df6(0xec)][_0x78df6(0xce)][_0x78df6(0xcc)]?.['getGroupList'](_0x5c9c32)[_0x78df6(0xeb)]();});}static async[_0x49bdcb(0xe5)](_0x40e0a5,_0x4f5a63=0xbb8){}static async[_0x49bdcb(0xcf)](){}static async[_0x49bdcb(0xe2)](){}static async[_0x49bdcb(0xd7)](_0x5531f8,_0x5ce881,_0x1eef52){const _0x372698=_0x49bdcb;return napCatCore[_0x372698(0xec)][_0x372698(0xce)][_0x372698(0xcc)]?.[_0x372698(0xdb)](![],{'operateType':_0x5ce881,'targetMsg':{'seq':_0x5531f8['seq'],'type':_0x5531f8[_0x372698(0xe0)],'groupCode':_0x5531f8[_0x372698(0xce)]['groupCode'],'postscript':_0x1eef52||''}});}static async[_0x49bdcb(0xcd)](_0x2f4d4b){const _0x508f35=_0x49bdcb;return napCatCore['service'][_0x508f35(0xce)]['kernelService']?.[_0x508f35(0xcd)](_0x2f4d4b);}static async[_0x49bdcb(0xd2)](_0xf8af2b,_0x515380,_0x27d9ad=![],_0x2512f0=''){const _0x26ef40=_0x49bdcb;return napCatCore[_0x26ef40(0xec)][_0x26ef40(0xce)][_0x26ef40(0xcc)]?.['kickMember'](_0xf8af2b,_0x515380,_0x27d9ad,_0x2512f0);}static async['banMember'](_0x16a1c2,_0x57454e){const _0x270db9=_0x49bdcb;return napCatCore[_0x270db9(0xec)][_0x270db9(0xce)][_0x270db9(0xcc)]?.[_0x270db9(0xd4)](_0x16a1c2,_0x57454e);}static async[_0x49bdcb(0xe1)](_0x5b563b,_0x537044){const _0x21b048=_0x49bdcb;return napCatCore[_0x21b048(0xec)][_0x21b048(0xce)][_0x21b048(0xcc)]?.['setGroupShutUp'](_0x5b563b,_0x537044);}static async[_0x49bdcb(0xe6)](_0x541904,_0x6d1f09,_0xd8115b){const _0x4097ac=_0x49bdcb;return napCatCore['service'][_0x4097ac(0xce)]['kernelService']?.[_0x4097ac(0xdd)](_0x541904,_0x6d1f09,_0xd8115b);}static async[_0x49bdcb(0xde)](_0x202dd0,_0x2ec445,_0x596ca1){const _0x37f127=_0x49bdcb;return napCatCore[_0x37f127(0xec)][_0x37f127(0xce)]['kernelService']?.[_0x37f127(0xca)](_0x202dd0,_0x2ec445,_0x596ca1);}static async['setGroupName'](_0x280cfd,_0x2f43fa){const _0x4bac2d=_0x49bdcb;return napCatCore['service']['group'][_0x4bac2d(0xcc)]?.[_0x4bac2d(0xea)](_0x280cfd,_0x2f43fa,![]);}static async[_0x49bdcb(0xdc)](_0x208148,_0xdf7af6,_0x41f990){}static[_0x49bdcb(0xd9)](_0x5ee603,_0x5326bd,_0x122118){}}

View File

@@ -1,11 +1 @@
import { N as s, j as p, k as a, l as N, m as A, o as T, n as o, W as e } from "../../index/BjXmaMVk/index.js";
export {
s as NTQQFileApi,
p as NTQQFriendApi,
a as NTQQGroupApi,
N as NTQQMsgApi,
A as NTQQUserApi,
T as NTQQWindowApi,
o as NTQQWindows,
e as WebApi
};
function _0x4e5a(){var _0x1ff948=['729265oXglum','82084yVTZMV','7wwxJSm','9008672NUIgOy','31374990GXXgAf','4973nkdNRI','4791456VltAmz','30fXixRr','48ujKmLf','5409549jDqYQz'];_0x4e5a=function(){return _0x1ff948;};return _0x4e5a();}function _0x2e56(_0x54346b,_0x554f94){var _0x4e5a44=_0x4e5a();return _0x2e56=function(_0x2e56c6,_0xe3b4af){_0x2e56c6=_0x2e56c6-0x137;var _0x53742c=_0x4e5a44[_0x2e56c6];return _0x53742c;},_0x2e56(_0x54346b,_0x554f94);}(function(_0x5555e6,_0x448f95){var _0x1310ab=_0x2e56,_0x1ef039=_0x5555e6();while(!![]){try{var _0x32189e=-parseInt(_0x1310ab(0x13f))/0x1*(-parseInt(_0x1310ab(0x138))/0x2)+-parseInt(_0x1310ab(0x137))/0x3*(parseInt(_0x1310ab(0x13b))/0x4)+parseInt(_0x1310ab(0x13a))/0x5+-parseInt(_0x1310ab(0x140))/0x6+parseInt(_0x1310ab(0x13c))/0x7*(-parseInt(_0x1310ab(0x13d))/0x8)+-parseInt(_0x1310ab(0x139))/0x9+parseInt(_0x1310ab(0x13e))/0xa;if(_0x32189e===_0x448f95)break;else _0x1ef039['push'](_0x1ef039['shift']());}catch(_0x479eac){_0x1ef039['push'](_0x1ef039['shift']());}}}(_0x4e5a,0xa401d));export*from'./file';export*from'./friend';export*from'./group';export*from'./msg';export*from'./user';export*from'./webapi';export*from'./window';

View File

@@ -1,7 +1,6 @@
import { GeneralCallResult } from '../services/common';
import { NapCatCore } from '../..';
import { Peer, RawMessage, SendMessageElement } from '../entities';
import { Peer, RawMessage, SendMessageElement } from '@/core/qqnt/entities';
import { NapCatCore } from '@/core';
import { GeneralCallResult } from '@/core/qqnt/services/common';
export declare class NTQQMsgApi {
static napCatCore: NapCatCore | null;
static getMultiMsg(peer: Peer, rootMsgId: string, parentMsgId: string): Promise<GeneralCallResult & {

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,4 @@
import { User } from '../entities';
import { User } from '@/core/qqnt/entities';
export declare class NTQQUserApi {
static like(uid: string, count?: number): Promise<{
result: number;

View File

@@ -0,0 +1 @@
const _0xd52659=_0x3305;(function(_0x52a6e2,_0x26330b){const _0x5f04ea=_0x3305,_0x2b130c=_0x52a6e2();while(!![]){try{const _0xb56f53=-parseInt(_0x5f04ea(0x146))/0x1*(-parseInt(_0x5f04ea(0x14c))/0x2)+-parseInt(_0x5f04ea(0x15c))/0x3+-parseInt(_0x5f04ea(0x156))/0x4*(parseInt(_0x5f04ea(0x14d))/0x5)+-parseInt(_0x5f04ea(0x14e))/0x6*(-parseInt(_0x5f04ea(0x15d))/0x7)+parseInt(_0x5f04ea(0x149))/0x8+-parseInt(_0x5f04ea(0x148))/0x9+parseInt(_0x5f04ea(0x157))/0xa*(parseInt(_0x5f04ea(0x140))/0xb);if(_0xb56f53===_0x26330b)break;else _0x2b130c['push'](_0x2b130c['shift']());}catch(_0x1dbc5f){_0x2b130c['push'](_0x2b130c['shift']());}}}(_0x2e12,0x9e500));import{napCatCore}from'@/core';import{ProfileListener}from'@/core/qqnt/listeners';import{randomUUID}from'crypto';function _0x3305(_0x2de3fc,_0x2b9ca6){const _0x2e12e4=_0x2e12();return _0x3305=function(_0x330513,_0x5b30cd){_0x330513=_0x330513-0x140;let _0x398d86=_0x2e12e4[_0x330513];return _0x398d86;},_0x3305(_0x2de3fc,_0x2b9ca6);}const userInfoCache={},profileListener=new ProfileListener(),userDetailHandlers=new Map();profileListener[_0xd52659(0x147)]=_0x1ec0f6=>{const _0x1f9045=_0xd52659;userInfoCache[_0x1ec0f6[_0x1f9045(0x145)]]=_0x1ec0f6,userDetailHandlers['forEach'](_0x1abef4=>_0x1abef4(_0x1ec0f6));},setTimeout(()=>{const _0x4d849b=_0xd52659;napCatCore[_0x4d849b(0x155)](()=>{const _0x2fc770=_0x4d849b;napCatCore['service'][_0x2fc770(0x144)]['addProfileListener'](profileListener);});},0x64);export class NTQQUserApi{static async['like'](_0x38cba4,_0x532f5b=0x1){const _0x3c36eb=_0xd52659;return napCatCore[_0x3c36eb(0x15a)]['profileLike'][_0x3c36eb(0x14f)]['setBuddyProfileLike']({'friendUid':_0x38cba4,'sourceId':0x47,'doLikeCount':_0x532f5b,'doLikeTollCount':0x0});}static async[_0xd52659(0x15e)](_0x2f4b8d){const _0x449072=_0xd52659,_0x30a975=napCatCore[_0x449072(0x15a)][_0x449072(0x144)][_0x449072(0x14f)]?.[_0x449072(0x151)](_0x2f4b8d);return{'result':_0x30a975?.[_0x449072(0x154)],'errMsg':_0x30a975?.[_0x449072(0x153)]};}static async[_0xd52659(0x159)](){}static async[_0xd52659(0x14a)](_0x2bcb3c){}static async[_0xd52659(0x143)](_0x313329){const _0xe73646=_0xd52659,_0x416b00={'aKfZa':_0xe73646(0x14b),'Rqsqy':function(_0x29b0bb,_0xf83785){return _0x29b0bb===_0xf83785;},'kHXuC':function(_0x5c34da){return _0x5c34da();}},_0x1cf573=napCatCore['service'][_0xe73646(0x144)][_0xe73646(0x14f)];return new Promise((_0x4e7865,_0x1357ca)=>{const _0x17fd15=_0xe73646,_0x17de1f={'vFdlh':function(_0x1cc013,_0x40e337){return _0x416b00['Rqsqy'](_0x1cc013,_0x40e337);}},_0x15ab34=_0x416b00[_0x17fd15(0x150)](randomUUID);let _0x54466f=![];setTimeout(()=>{const _0x60b183=_0x17fd15;!_0x54466f&&_0x1357ca(_0x416b00[_0x60b183(0x152)]);},0x1388),userDetailHandlers[_0x17fd15(0x15f)](_0x15ab34,_0x554c0e=>{const _0x8fa7e1=_0x17fd15;_0x17de1f['vFdlh'](_0x554c0e[_0x8fa7e1(0x145)],_0x313329)&&(_0x54466f=!![],userDetailHandlers[_0x8fa7e1(0x141)](_0x15ab34),_0x4e7865(_0x554c0e));}),_0x1cf573[_0x17fd15(0x15b)](_0x313329,[0x0])['then'](_0x310eb7=>{});});}static async[_0xd52659(0x142)](){}static async[_0xd52659(0x158)](_0x455fbe,_0x46f95e){}}function _0x2e12(){const _0x1989a1=['1221agWiye','delete','getPSkey','getUserDetailInfo','profile','uid','63dlLUUB','onProfileDetailInfoChanged','3541950vopeSV','5228536QSfvOD','getUserInfo','getUserDetailInfo\x20timeout','34954qPBMwK','751645Agznfo','102qMfyiL','kernelService','kHXuC','setHeader','aKfZa','errMsg','result','addLoginSuccessCallback','32vWRysy','41290tFtqJE','getSkey','getSelfInfo','service','getUserDetailInfoWithBizInfo','1874592iClXaX','270347xIttym','setQQAvatar','set'];_0x2e12=function(){return _0x1989a1;};return _0x2e12();}

View File

@@ -0,0 +1 @@
const _0x57a49f=_0x31a3;function _0x31a3(_0x5bdf86,_0x316604){const _0x5bb92c=_0x5bb9();return _0x31a3=function(_0x31a3cc,_0x32a276){_0x31a3cc=_0x31a3cc-0x1ad;let _0x244123=_0x5bb92c[_0x31a3cc];return _0x244123;},_0x31a3(_0x5bdf86,_0x316604);}(function(_0x1a0df6,_0x6510a4){const _0x982df5=_0x31a3,_0x223342=_0x1a0df6();while(!![]){try{const _0x1ae0dd=-parseInt(_0x982df5(0x1c2))/0x1*(-parseInt(_0x982df5(0x1ba))/0x2)+parseInt(_0x982df5(0x1cf))/0x3+-parseInt(_0x982df5(0x1b0))/0x4*(-parseInt(_0x982df5(0x1b8))/0x5)+parseInt(_0x982df5(0x1d3))/0x6+parseInt(_0x982df5(0x1c1))/0x7*(parseInt(_0x982df5(0x1c0))/0x8)+parseInt(_0x982df5(0x1bb))/0x9*(-parseInt(_0x982df5(0x1af))/0xa)+-parseInt(_0x982df5(0x1b6))/0xb;if(_0x1ae0dd===_0x6510a4)break;else _0x223342['push'](_0x223342['shift']());}catch(_0xcc8e7a){_0x223342['push'](_0x223342['shift']());}}}(_0x5bb9,0xa4a83));function _0x5bb9(){const _0x27cad5=['&bkn=','include','UOPdf','272655qQsTUZ','getGroupDigest','addGroupDigest','gdEtH','773136WirhOG','GET','VmtKL','20UUDzwm','1059672VclmSd','bQxjc','init','json','TLgnT','&msg_random=444021292','25973849wOQRaC','request','20VjzoQF','cookie','34okwjsS','240003TgEDvX','headers','pskey','length','XycVa','16504qRXGUb','3668cmAqMn','42859IeIRkr','defaultHeaders','skey','charCodeAt','QHEav','toString','bkn','genBkn','https://qun.qq.com/cgi-bin/group_digest/digest_list?random=665&X-CROSS-ORIGIN=fetch&group_code=','https://qun.qq.com/cgi-bin/group_digest/cancel_digest?random=665&X-CROSS-ORIGIN=fetch&group_code='];_0x5bb9=function(){return _0x27cad5;};return _0x5bb9();}import{log}from'@/common/utils/log';export class WebApi{static ['bkn'];static [_0x57a49f(0x1c4)];static [_0x57a49f(0x1bd)];static [_0x57a49f(0x1b9)];[_0x57a49f(0x1c3)]={'User-Agent':'QQ/8.9.28.635\x20CFNetwork/1312\x20Darwin/21.0.0'};constructor(){}async[_0x57a49f(0x1d1)](_0x421b2f,_0x13f0bf){const _0x59ceec=_0x57a49f,_0x494615=_0x59ceec(0x1cb)+_0x421b2f+'&msg_seq='+_0x13f0bf+_0x59ceec(0x1b5),_0x3a3b60=await this['request'](_0x494615);return await _0x3a3b60[_0x59ceec(0x1b3)]();}async[_0x57a49f(0x1d0)](_0x212984){const _0x40ff51=_0x57a49f,_0x7489de={'XycVa':function(_0x40f9ae,_0x730e1e){return _0x40f9ae(_0x730e1e);}},_0x20f9d0=_0x40ff51(0x1ca)+_0x212984+'&page_start=0&page_limit=20',_0x2a4008=await this[_0x40ff51(0x1b7)](_0x20f9d0);return _0x7489de[_0x40ff51(0x1bf)](log,_0x2a4008[_0x40ff51(0x1bc)]),await _0x2a4008[_0x40ff51(0x1b3)]();}[_0x57a49f(0x1c9)](_0x4a99e9){const _0x4ef12c=_0x57a49f,_0x108d43={'xspFv':function(_0xc04961,_0x3bfaab){return _0xc04961<_0x3bfaab;},'QHEav':function(_0x4beb45,_0x35a910){return _0x4beb45+_0x35a910;},'gdEtH':function(_0x34f52d,_0x2d5975){return _0x34f52d+_0x2d5975;},'UOPdf':function(_0x3ecbd8,_0x5f456c){return _0x3ecbd8<<_0x5f456c;}};_0x4a99e9=_0x4a99e9||'';let _0xd3c00c=0x1505;for(let _0x13d724=0x0;_0x108d43['xspFv'](_0x13d724,_0x4a99e9[_0x4ef12c(0x1be)]);_0x13d724++){const _0x19c0be=_0x4a99e9[_0x4ef12c(0x1c5)](_0x13d724);_0xd3c00c=_0x108d43[_0x4ef12c(0x1c6)](_0x108d43[_0x4ef12c(0x1d2)](_0xd3c00c,_0x108d43[_0x4ef12c(0x1ce)](_0xd3c00c,0x5)),_0x19c0be);}return(_0xd3c00c&0x7fffffff)[_0x4ef12c(0x1c7)]();}async['init'](){const _0x4d7c28=_0x57a49f;if(!WebApi[_0x4d7c28(0x1c8)]){}}async[_0x57a49f(0x1b7)](_0x5211ab,_0x168596=_0x57a49f(0x1ad),_0x5dc257={}){const _0x5c6879=_0x57a49f,_0xf4cf={'TLgnT':function(_0x1740c0,_0x5279a9){return _0x1740c0+_0x5279a9;},'AzenZ':_0x5c6879(0x1cc),'VmtKL':function(_0x251e65,_0x2f319f,_0x574c5f,_0x426e26){return _0x251e65(_0x2f319f,_0x574c5f,_0x426e26);},'bQxjc':function(_0x282b25,_0x194d5a,_0x54a9f6){return _0x282b25(_0x194d5a,_0x54a9f6);}};await this[_0x5c6879(0x1b2)](),_0x5211ab+=_0xf4cf[_0x5c6879(0x1b4)](_0xf4cf['AzenZ'],WebApi[_0x5c6879(0x1c8)]);const _0x4f5f76={...this[_0x5c6879(0x1c3)],..._0x5dc257,'Cookie':WebApi['cookie'],'credentials':_0x5c6879(0x1cd)};_0xf4cf[_0x5c6879(0x1ae)](log,_0x5c6879(0x1b7),_0x5211ab,_0x4f5f76);const _0x30556e={'method':_0x168596,'headers':_0x4f5f76};return _0xf4cf[_0x5c6879(0x1b1)](fetch,_0x5211ab,_0x30556e);}}

View File

@@ -0,0 +1 @@
function _0xceeb(_0x1b33fb,_0x2ebb86){var _0x4c58a8=_0x4c58();return _0xceeb=function(_0xceebed,_0x4817d6){_0xceebed=_0xceebed-0x121;var _0x418337=_0x4c58a8[_0xceebed];return _0x418337;},_0xceeb(_0x1b33fb,_0x2ebb86);}var _0x15c0a0=_0xceeb;(function(_0x519955,_0x48166b){var _0x4805e5=_0xceeb,_0x5613e2=_0x519955();while(!![]){try{var _0x5a9d55=-parseInt(_0x4805e5(0x125))/0x1+-parseInt(_0x4805e5(0x122))/0x2*(parseInt(_0x4805e5(0x126))/0x3)+-parseInt(_0x4805e5(0x12d))/0x4+-parseInt(_0x4805e5(0x12c))/0x5+parseInt(_0x4805e5(0x128))/0x6+-parseInt(_0x4805e5(0x127))/0x7+parseInt(_0x4805e5(0x121))/0x8;if(_0x5a9d55===_0x48166b)break;else _0x5613e2['push'](_0x5613e2['shift']());}catch(_0x552ca8){_0x5613e2['push'](_0x5613e2['shift']());}}}(_0x4c58,0xb3a2c));function _0x4c58(){var _0x3d88ac=['#/group-notify-filter','#/group-home-work','963725hzvkIG','3rlVesQ','6437207lvtIQv','7243572XpSIDg','GroupHomeWorkWindow','GroupNotifyFilterWindow','GroupEssenceWindow','813260AwLMAi','4762900bGQeTV','30444512NxrmCi','2080670odKPWn'];_0x4c58=function(){return _0x3d88ac;};return _0x4c58();}export class NTQQWindows{static [_0x15c0a0(0x129)]={'windowName':_0x15c0a0(0x129),'windowUrlHash':_0x15c0a0(0x124)};static [_0x15c0a0(0x12a)]={'windowName':_0x15c0a0(0x12a),'windowUrlHash':_0x15c0a0(0x123)};static ['GroupEssenceWindow']={'windowName':_0x15c0a0(0x12b),'windowUrlHash':'#/group-essence'};}export class NTQQWindowApi{}

View File

@@ -1,5 +1,4 @@
import { ChatType } from './msg';
export interface CacheScanResult {
result: number;
size: [

View File

@@ -0,0 +1 @@
function _0x1bcc(_0x322967,_0x352591){var _0x28e9ef=_0x28e9();return _0x1bcc=function(_0x1bcc2e,_0x302f94){_0x1bcc2e=_0x1bcc2e-0x114;var _0x5be780=_0x28e9ef[_0x1bcc2e];return _0x5be780;},_0x1bcc(_0x322967,_0x352591);}function _0x28e9(){var _0x56c6d2=['790706uIRcvX','5375178rCstUg','lZZYX','1|3|0|2|4','935JOkMdg','DOCUMENT','LuPZH','EghCt','211110tnMtON','ulctl','8164mQMdcK','3363696gwjMBa','3346224lsFzDp','IMAGE','eoGjL','12ZEfdNp','split','32019651JHpIRW'];_0x28e9=function(){return _0x56c6d2;};return _0x28e9();}(function(_0x4812b9,_0x4d9d8c){var _0x2e7bf9=_0x1bcc,_0x286acb=_0x4812b9();while(!![]){try{var _0x5e39a9=-parseInt(_0x2e7bf9(0x125))/0x1+parseInt(_0x2e7bf9(0x122))/0x2*(-parseInt(_0x2e7bf9(0x11b))/0x3)+parseInt(_0x2e7bf9(0x11d))/0x4*(parseInt(_0x2e7bf9(0x117))/0x5)+-parseInt(_0x2e7bf9(0x114))/0x6+-parseInt(_0x2e7bf9(0x11f))/0x7+-parseInt(_0x2e7bf9(0x11e))/0x8+parseInt(_0x2e7bf9(0x124))/0x9;if(_0x5e39a9===_0x4d9d8c)break;else _0x286acb['push'](_0x286acb['shift']());}catch(_0x453837){_0x286acb['push'](_0x286acb['shift']());}}}(_0x28e9,0xe391b));export var CacheFileType;(function(_0xfbabd8){var _0x4652b4=_0x1bcc,_0x118ccd={'lZZYX':_0x4652b4(0x116),'kihaj':'AUDIO','EghCt':_0x4652b4(0x120),'eoGjL':_0x4652b4(0x118),'ulctl':'VIDEO','LuPZH':'OTHER'},_0x31cc0c=_0x118ccd[_0x4652b4(0x115)][_0x4652b4(0x123)]('|'),_0x55da17=0x0;while(!![]){switch(_0x31cc0c[_0x55da17++]){case'0':_0xfbabd8[_0xfbabd8['AUDIO']=0x2]=_0x118ccd['kihaj'];continue;case'1':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x11a)]]=0x0]=_0x118ccd[_0x4652b4(0x11a)];continue;case'2':_0xfbabd8[_0xfbabd8[_0x4652b4(0x118)]=0x3]=_0x118ccd[_0x4652b4(0x121)];continue;case'3':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x11c)]]=0x1]=_0x118ccd[_0x4652b4(0x11c)];continue;case'4':_0xfbabd8[_0xfbabd8[_0x118ccd[_0x4652b4(0x119)]]=0x4]=_0x118ccd[_0x4652b4(0x119)];continue;}break;}}(CacheFileType||(CacheFileType={})));

View File

@@ -1,5 +1,4 @@
import { AtType, SendArkElement, SendFaceElement, SendFileElement, SendMarkdownElement, SendPicElement, SendPttElement, SendReplyElement, SendTextElement, SendVideoElement } from '../entities';
export declare class SendMsgElementConstructor {
static text(content: string): SendTextElement;
static at(atUid: string, atNtUid: string, atType: AtType, atName: string): SendTextElement;

File diff suppressed because one or more lines are too long

View File

@@ -1,5 +1,4 @@
import { QQLevel, Sex } from './user';
export interface Group {
groupCode: string;
maxMember: number;

View File

@@ -0,0 +1 @@
function _0x1de1(_0x860c83,_0x3c5b65){var _0x266784=_0x2667();return _0x1de1=function(_0x1de1bc,_0x324302){_0x1de1bc=_0x1de1bc-0x1be;var _0x277693=_0x266784[_0x1de1bc];return _0x277693;},_0x1de1(_0x860c83,_0x3c5b65);}function _0x2667(){var _0x784f3e=['BJjyv','Orooq','135743Pifyvg','loqMx','6731472xtBdLT','1312930abmosw','12KsANnP','14zsXLtT','1439976eioIKT','18LnrIyn','owner','5dnQGLx','9JrAWyr','1925244TXokwH','470020uZYDlZ','27239663LEqUVH'];_0x2667=function(){return _0x784f3e;};return _0x2667();}(function(_0x15f3fe,_0x4acb4b){var _0x4b742f=_0x1de1,_0x170790=_0x15f3fe();while(!![]){try{var _0x1ad80c=parseInt(_0x4b742f(0x1c7))/0x1+-parseInt(_0x4b742f(0x1c3))/0x2*(parseInt(_0x4b742f(0x1c1))/0x3)+parseInt(_0x4b742f(0x1cd))/0x4*(parseInt(_0x4b742f(0x1c0))/0x5)+-parseInt(_0x4b742f(0x1c2))/0x6*(parseInt(_0x4b742f(0x1cc))/0x7)+-parseInt(_0x4b742f(0x1c9))/0x8+-parseInt(_0x4b742f(0x1be))/0x9*(parseInt(_0x4b742f(0x1ca))/0xa)+-parseInt(_0x4b742f(0x1c4))/0xb*(-parseInt(_0x4b742f(0x1cb))/0xc);if(_0x1ad80c===_0x4acb4b)break;else _0x170790['push'](_0x170790['shift']());}catch(_0x2e5db3){_0x170790['push'](_0x170790['shift']());}}}(_0x2667,0x7f438));export var GroupMemberRole;(function(_0x5c281d){var _0x2dfba9=_0x1de1,_0x296fd1={'Orooq':'normal','BJjyv':'admin','loqMx':_0x2dfba9(0x1bf)};_0x5c281d[_0x5c281d['normal']=0x2]=_0x296fd1[_0x2dfba9(0x1c6)],_0x5c281d[_0x5c281d[_0x296fd1['BJjyv']]=0x3]=_0x296fd1[_0x2dfba9(0x1c5)],_0x5c281d[_0x5c281d[_0x296fd1[_0x2dfba9(0x1c8)]]=0x4]=_0x296fd1[_0x2dfba9(0x1c8)];}(GroupMemberRole||(GroupMemberRole={})));

View File

@@ -1,21 +1 @@
import { A as s, h as T, C as p, E as t, d as y, F as o, c as r, G as u, f as G, e as i, g as S, I as c, b as n, a as E, P as l, i as m, S as P, T as _ } from "../../index/BjXmaMVk/index.js";
export {
s as AtType,
T as CacheFileType,
p as ChatType,
t as ElementType,
y as FaceIndex,
o as FaceType,
r as GrayTipElementSubType,
u as GroupMemberRole,
G as GroupNotifyStatus,
i as GroupNotifyTypes,
S as GroupRequestOperateTypes,
c as IMAGE_HTTP_HOST,
n as IMAGE_HTTP_HOST_NT,
E as PicSubType,
l as PicType,
m as SendMsgElementConstructor,
P as Sex,
_ as TipGroupElementType
};
function _0x2e19(_0x3b5f6d,_0x5a1587){var _0x4c2dd2=_0x4c2d();return _0x2e19=function(_0x2e1992,_0x272396){_0x2e1992=_0x2e1992-0xd1;var _0x353ed4=_0x4c2dd2[_0x2e1992];return _0x353ed4;},_0x2e19(_0x3b5f6d,_0x5a1587);}(function(_0x4d7584,_0x48a915){var _0x37f771=_0x2e19,_0xe4053c=_0x4d7584();while(!![]){try{var _0x5e654b=parseInt(_0x37f771(0xd9))/0x1*(-parseInt(_0x37f771(0xd5))/0x2)+parseInt(_0x37f771(0xd4))/0x3*(-parseInt(_0x37f771(0xd6))/0x4)+parseInt(_0x37f771(0xd1))/0x5+-parseInt(_0x37f771(0xd3))/0x6+-parseInt(_0x37f771(0xd7))/0x7+parseInt(_0x37f771(0xd8))/0x8+-parseInt(_0x37f771(0xd2))/0x9*(-parseInt(_0x37f771(0xda))/0xa);if(_0x5e654b===_0x48a915)break;else _0xe4053c['push'](_0xe4053c['shift']());}catch(_0x288a55){_0xe4053c['push'](_0xe4053c['shift']());}}}(_0x4c2d,0xe41a7));function _0x4c2d(){var _0x53aa95=['665465ZAOiaj','32393565QOfapZ','2610276AfCsJn','4423947ELLWCa','9028HfEwSy','4felEFX','9062417CKRyVa','4802888jxTaHy','43LZlBNd','10sGNSHs'];_0x4c2d=function(){return _0x53aa95;};return _0x4c2d();}export*from'./user';export*from'./group';export*from'./msg';export*from'./notify';export*from'./cache';export*from'./constructor';

View File

@@ -1,5 +1,4 @@
import { GroupMemberRole } from './group';
export interface Peer {
chatType: ChatType;
peerUid: string;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
(function(_0x575f04,_0x4b14ac){var _0x5ce4ca=_0x3467,_0x197fe9=_0x575f04();while(!![]){try{var _0x625559=-parseInt(_0x5ce4ca(0x1f4))/0x1+-parseInt(_0x5ce4ca(0x1ec))/0x2*(parseInt(_0x5ce4ca(0x1f1))/0x3)+-parseInt(_0x5ce4ca(0x200))/0x4*(-parseInt(_0x5ce4ca(0x209))/0x5)+-parseInt(_0x5ce4ca(0x1fe))/0x6+parseInt(_0x5ce4ca(0x1f5))/0x7*(parseInt(_0x5ce4ca(0x1fa))/0x8)+parseInt(_0x5ce4ca(0x20c))/0x9+parseInt(_0x5ce4ca(0x201))/0xa;if(_0x625559===_0x4b14ac)break;else _0x197fe9['push'](_0x197fe9['shift']());}catch(_0x3976a3){_0x197fe9['push'](_0x197fe9['shift']());}}}(_0x2fa4,0x4bfbb));function _0x3467(_0x20ba21,_0x5d1a6c){var _0x2fa4b=_0x2fa4();return _0x3467=function(_0x3467c2,_0x312d46){_0x3467c2=_0x3467c2-0x1ec;var _0x58f2d8=_0x2fa4b[_0x3467c2];return _0x58f2d8;},_0x3467(_0x20ba21,_0x5d1a6c);}function _0x2fa4(){var _0x199107=['KICK_MEMBER','6|3|5|0|2|4|1','5229lGRPYQ','KjRIx','tToVE','577519foXtPX','170653ZuCsaT','IVPWZ','split','INVITED_JOIN','WAIT_HANDLE','88glKHEL','INVITE_ME','pxnwS','SaRji','2049786aWaMiv','wmYkl','81516HtzcDW','10224990uMjppX','psYcb','REJECT','approve','ADMIN_SET','APPROVE','LFtUt','MEMBER_EXIT','15efvDCb','ADMIN_UNSET','NRAzE','1699434zmMZvK','uiZRQ','356muhCnS','mSnqD','JOIN_REQUEST'];_0x2fa4=function(){return _0x199107;};return _0x2fa4();}export var GroupNotifyTypes;(function(_0x5edc6e){var _0x7c1866=_0x3467,_0x2c46c7={'uiZRQ':_0x7c1866(0x205),'LFtUt':_0x7c1866(0x20a),'wmYkl':_0x7c1866(0x1ef),'IVPWZ':_0x7c1866(0x1f8),'KjRIx':'MEMBER_EXIT','NRAzE':_0x7c1866(0x1ee),'SaRji':_0x7c1866(0x1fb)},_0x187b30=_0x7c1866(0x1f0)[_0x7c1866(0x1f7)]('|'),_0x8810db=0x0;while(!![]){switch(_0x187b30[_0x8810db++]){case'0':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x20d)]]=0x8]='ADMIN_SET';continue;case'1':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x207)]]=0xc]=_0x2c46c7['LFtUt'];continue;case'2':_0x5edc6e[_0x5edc6e[_0x2c46c7['wmYkl']]=0x9]=_0x2c46c7[_0x7c1866(0x1ff)];continue;case'3':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x1f6)]]=0x4]=_0x2c46c7['IVPWZ'];continue;case'4':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x1f2)]]=0xb]=_0x7c1866(0x208);continue;case'5':_0x5edc6e[_0x5edc6e[_0x2c46c7[_0x7c1866(0x20b)]]=0x7]=_0x2c46c7[_0x7c1866(0x20b)];continue;case'6':_0x5edc6e[_0x5edc6e['INVITE_ME']=0x1]=_0x2c46c7[_0x7c1866(0x1fd)];continue;}break;}}(GroupNotifyTypes||(GroupNotifyTypes={})));export var GroupNotifyStatus;(function(_0x5b3e2b){var _0x5005e9=_0x3467,_0x558dc4={'pxnwS':'IGNORE','mQQKc':_0x5005e9(0x1f9),'mSnqD':'APPROVE','EfeGr':_0x5005e9(0x203)};_0x5b3e2b[_0x5b3e2b[_0x558dc4[_0x5005e9(0x1fc)]]=0x0]='IGNORE',_0x5b3e2b[_0x5b3e2b[_0x5005e9(0x1f9)]=0x1]=_0x558dc4['mQQKc'],_0x5b3e2b[_0x5b3e2b[_0x558dc4[_0x5005e9(0x1ed)]]=0x2]=_0x5005e9(0x206),_0x5b3e2b[_0x5b3e2b['REJECT']=0x3]=_0x558dc4['EfeGr'];}(GroupNotifyStatus||(GroupNotifyStatus={})));export var GroupRequestOperateTypes;(function(_0x1c63c9){var _0x329ee0=_0x3467,_0x3f934a={'tToVE':_0x329ee0(0x204),'psYcb':'reject'};_0x1c63c9[_0x1c63c9[_0x329ee0(0x204)]=0x1]=_0x3f934a[_0x329ee0(0x1f3)],_0x1c63c9[_0x1c63c9[_0x3f934a[_0x329ee0(0x202)]]=0x2]=_0x3f934a[_0x329ee0(0x202)];}(GroupRequestOperateTypes||(GroupRequestOperateTypes={})));

View File

@@ -0,0 +1 @@
function _0x4d69(){var _0x4f0b17=['231uEHUrc','22BkBQod','1757svvWWg','2044vYVmPS','551338HoyHlE','1990782clDGMA','OrTcv','YYraG','unknown','2HzpGyp','male','192aqGGUz','415850MABUGi','2178324XokaHP','1527680HfcrRE'];_0x4d69=function(){return _0x4f0b17;};return _0x4d69();}(function(_0x159a64,_0x4fa98b){var _0x3d1916=_0xbd52,_0x412fae=_0x159a64();while(!![]){try{var _0x446c5d=parseInt(_0x3d1916(0x1dc))/0x1*(-parseInt(_0x3d1916(0x1e1))/0x2)+parseInt(_0x3d1916(0x1d8))/0x3*(-parseInt(_0x3d1916(0x1db))/0x4)+parseInt(_0x3d1916(0x1d7))/0x5+parseInt(_0x3d1916(0x1dd))/0x6+-parseInt(_0x3d1916(0x1da))/0x7*(parseInt(_0x3d1916(0x1d4))/0x8)+parseInt(_0x3d1916(0x1d6))/0x9+parseInt(_0x3d1916(0x1d5))/0xa*(parseInt(_0x3d1916(0x1d9))/0xb);if(_0x446c5d===_0x4fa98b)break;else _0x412fae['push'](_0x412fae['shift']());}catch(_0x166c89){_0x412fae['push'](_0x412fae['shift']());}}}(_0x4d69,0x59506));export var Sex;function _0xbd52(_0x33d099,_0x2fd0ae){var _0x4d6998=_0x4d69();return _0xbd52=function(_0xbd524a,_0x59101e){_0xbd524a=_0xbd524a-0x1d4;var _0x1fd717=_0x4d6998[_0xbd524a];return _0x1fd717;},_0xbd52(_0x33d099,_0x2fd0ae);}(function(_0xfffbdb){var _0x50f12b=_0xbd52,_0x13d73d={'dAJYl':_0x50f12b(0x1e2),'OrTcv':'female','YYraG':_0x50f12b(0x1e0)};_0xfffbdb[_0xfffbdb[_0x13d73d['dAJYl']]=0x1]=_0x50f12b(0x1e2),_0xfffbdb[_0xfffbdb[_0x13d73d[_0x50f12b(0x1de)]]=0x2]=_0x13d73d['OrTcv'],_0xfffbdb[_0xfffbdb[_0x13d73d[_0x50f12b(0x1df)]]=0xff]=_0x13d73d['YYraG'];}(Sex||(Sex={})));

View File

@@ -0,0 +1 @@
(function(_0x24c0c6,_0x363bab){const _0x57900a=_0x5b39,_0x30923d=_0x24c0c6();while(!![]){try{const _0x40f4e5=-parseInt(_0x57900a(0x12f))/0x1*(parseInt(_0x57900a(0x12c))/0x2)+parseInt(_0x57900a(0x12d))/0x3+parseInt(_0x57900a(0x129))/0x4*(parseInt(_0x57900a(0x12b))/0x5)+-parseInt(_0x57900a(0x126))/0x6+-parseInt(_0x57900a(0x12e))/0x7+parseInt(_0x57900a(0x127))/0x8+-parseInt(_0x57900a(0x128))/0x9*(-parseInt(_0x57900a(0x12a))/0xa);if(_0x40f4e5===_0x363bab)break;else _0x30923d['push'](_0x30923d['shift']());}catch(_0x37efa6){_0x30923d['push'](_0x30923d['shift']());}}}(_0x83d7,0x1ff5c));function _0x83d7(){const _0x3a1235=['1578840pKeUfo','99JJmKLS','3156JdoILz','265570efLUdx','845xWbUcN','512258bnBUPU','589374GYujxw','1346541FZMecI','1krVznp','1439286YZvCrq'];_0x83d7=function(){return _0x3a1235;};return _0x83d7();}const Hook=require('./MoeHook');function _0x5b39(_0x881815,_0x126faa){const _0x83d72=_0x83d7();return _0x5b39=function(_0x5b395d,_0x2648d5){_0x5b395d=_0x5b395d-0x126;let _0x6ba362=_0x83d72[_0x5b395d];return _0x6ba362;},_0x5b39(_0x881815,_0x126faa);}export const rkeyHook=Hook;

View File

@@ -1,5 +1,4 @@
import { default as QQWrapper } from './wrapper';
import QQWrapper from './wrapper';
export * from './adapters';
export * from './apis';
export * from './entities';

View File

@@ -1,51 +1 @@
import { p as a, A as p, h as r, C as i, E as t, q as o, d as T, F as n, c as u, G, f as A, e as l, g as y, I as Q, b as d, N as S, j as N, k as c, l as f, m, o as L, n as E, a as P, P as b, i as g, s as M, S as x, T as C, W as F, Q as I, w as W } from "../index/BjXmaMVk/index.js";
import { i as _, D as h, a as H, G as w } from "../index/DUaKd8HF/index.js";
import { B as R, D as q, G as B, i as j, L as k, M as v, P as U, S as z } from "../index/CUkzVuc1/index.js";
import { G as K, i as V } from "../index/Cw4M1rBn/index.js";
export {
a as APIs,
_ as Adapters,
p as AtType,
R as BuddyListener,
r as CacheFileType,
i as ChatType,
q as DebugGroupListener,
h as DependsAdapter,
H as DispatcherAdapter,
t as ElementType,
o as Entities,
T as FaceIndex,
n as FaceType,
K as GeneralCallResultStatus,
w as GlobalAdapter,
u as GrayTipElementSubType,
B as GroupListener,
G as GroupMemberRole,
A as GroupNotifyStatus,
l as GroupNotifyTypes,
y as GroupRequestOperateTypes,
Q as IMAGE_HTTP_HOST,
d as IMAGE_HTTP_HOST_NT,
j as Listeners,
k as LoginListener,
v as MsgListener,
S as NTQQFileApi,
N as NTQQFriendApi,
c as NTQQGroupApi,
f as NTQQMsgApi,
m as NTQQUserApi,
L as NTQQWindowApi,
E as NTQQWindows,
P as PicSubType,
b as PicType,
U as ProfileListener,
g as SendMsgElementConstructor,
V as Services,
M as SessionConfig,
z as SessionListener,
x as Sex,
C as TipGroupElementType,
F as WebApi,
I as Wrapper,
W as WrapperInterface
};
(function(_0x504c72,_0x53f0d1){var _0x357361=_0x5890,_0x5503f1=_0x504c72();while(!![]){try{var _0x229bfe=-parseInt(_0x357361(0x1e1))/0x1*(parseInt(_0x357361(0x1df))/0x2)+-parseInt(_0x357361(0x1e2))/0x3+parseInt(_0x357361(0x1de))/0x4*(parseInt(_0x357361(0x1e0))/0x5)+parseInt(_0x357361(0x1e3))/0x6+parseInt(_0x357361(0x1db))/0x7+parseInt(_0x357361(0x1dd))/0x8+-parseInt(_0x357361(0x1da))/0x9*(parseInt(_0x357361(0x1dc))/0xa);if(_0x229bfe===_0x53f0d1)break;else _0x5503f1['push'](_0x5503f1['shift']());}catch(_0x3bde97){_0x5503f1['push'](_0x5503f1['shift']());}}}(_0xf9ae,0x66b1b));import _0x122ca4 from'./wrapper';export*from'./adapters';function _0xf9ae(){var _0xa73319=['4vjGmXV','203922uvZgYf','197075dEFvpt','1adJzvg','2333823ARCrjU','1926618cXfCrW','981qwHneE','5589157MGYqeK','10990XuFlMD','2090872LgWXOn'];_0xf9ae=function(){return _0xa73319;};return _0xf9ae();}export*from'./apis';export*from'./entities';export*from'./listeners';export*from'./services';export*as Adapters from'./adapters';export*as APIs from'./apis';function _0x5890(_0x2b4c29,_0x113982){var _0xf9ae1=_0xf9ae();return _0x5890=function(_0x589060,_0x2418df){_0x589060=_0x589060-0x1da;var _0xc9a760=_0xf9ae1[_0x589060];return _0xc9a760;},_0x5890(_0x2b4c29,_0x113982);}export*as Entities from'./entities';export*as Listeners from'./listeners';export*as Services from'./services';export{_0x122ca4 as Wrapper};export*as WrapperInterface from'./wrapper';export*as SessionConfig from'./sessionConfig';

View File

@@ -1,5 +1,4 @@
import { FriendRequestNotify, User } from '../entities';
import { FriendRequestNotify, User } from '@/core/qqnt/entities';
interface IBuddyListener {
onBuddyListChange(arg: {
categoryId: number;

View File

@@ -0,0 +1 @@
function _0x27c1(_0x277c77,_0xd6d071){var _0x5443b0=_0x5443();return _0x27c1=function(_0x27c1c7,_0x4e10ea){_0x27c1c7=_0x27c1c7-0x18c;var _0x1493f1=_0x5443b0[_0x27c1c7];return _0x1493f1;},_0x27c1(_0x277c77,_0xd6d071);}function _0x5443(){var _0x2607ac=['onBuddyDetailInfoChange','10140aVOWfA','onDelBatchBuddyInfos','onBuddyRemarkUpdated','10RQNjso','onNickUpdated','781640wRCRNx','onAddBuddyNeedVerify','onSmartInfos','onAddMeSettingChanged','onCheckBuddySettingResult','1556130LSLCGF','2340459akYmWo','onBuddyListChange','onSpacePermissionInfos','523360BkZwHz','onBuddyReqChange','2250152BSwoTG','49bMrSaa','23715UuXmMa','onBlockChanged','6420006sJtCOj','onBuddyReqUnreadCntChange'];_0x5443=function(){return _0x2607ac;};return _0x5443();}var _0x2c71c3=_0x27c1;(function(_0x255292,_0x3479c5){var _0x10dc79=_0x27c1,_0x5b4ff7=_0x255292();while(!![]){try{var _0x598f8d=parseInt(_0x10dc79(0x199))/0x1+parseInt(_0x10dc79(0x19d))/0x2+-parseInt(_0x10dc79(0x19a))/0x3+-parseInt(_0x10dc79(0x19f))/0x4*(parseInt(_0x10dc79(0x192))/0x5)+-parseInt(_0x10dc79(0x18c))/0x6+-parseInt(_0x10dc79(0x1a0))/0x7*(parseInt(_0x10dc79(0x194))/0x8)+parseInt(_0x10dc79(0x1a1))/0x9*(parseInt(_0x10dc79(0x18f))/0xa);if(_0x598f8d===_0x3479c5)break;else _0x5b4ff7['push'](_0x5b4ff7['shift']());}catch(_0xc98d7c){_0x5b4ff7['push'](_0x5b4ff7['shift']());}}}(_0x5443,0xcac47));export class BuddyListener{[_0x2c71c3(0x195)](_0x58751d){}[_0x2c71c3(0x197)](_0x29c267){}['onAvatarUrlUpdated'](_0x5dae0b){}[_0x2c71c3(0x1a2)](_0x3194f1){}[_0x2c71c3(0x18e)](_0x3b1444){}['onBuddyInfoChange'](_0x4d20d6){}[_0x2c71c3(0x19b)](_0x217d90){}[_0x2c71c3(0x191)](_0x5eb181){}[_0x2c71c3(0x19e)](_0x4bb981){}[_0x2c71c3(0x18d)](_0x1dbaa3){}[_0x2c71c3(0x198)](_0x58fbb5){}[_0x2c71c3(0x190)](_0x5a622a){}['onDoubtBuddyReqChange'](_0x325d1b){}['onDoubtBuddyReqUnreadNumChange'](_0x5e06ff){}[_0x2c71c3(0x193)](_0x2fb5bb){}[_0x2c71c3(0x196)](_0x4fccc1){}[_0x2c71c3(0x19c)](_0x2fc916){}}

View File

@@ -1,5 +1,4 @@
import { Group, GroupMember, GroupNotify } from '../entities';
import { Group, GroupMember, GroupNotify } from '@/core/qqnt/entities';
interface IGroupListener {
onGroupListUpdate(updateType: number, groupList: Group[]): void;
onGroupExtListUpdate(...args: unknown[]): void;

File diff suppressed because one or more lines are too long

View File

@@ -0,0 +1 @@
var _0x46f461=_0x19d8;function _0x50c2(){var _0x136e32=['24LVkQMv','249712FYUTLw','onLogoutFailed','onUserLoggedIn','onQRCodeLoginPollingStarted','OnConfirmUnusualDeviceFailed','onQQLoginNumLimited','3uMCXJj','170414cxobQA','32454YXLWZI','onLoginFailed','6479193EwijxT','108rrmJbi','onQRCodeGetPicture','628612DiHiSu','onLoginConnecting','onQRCodeSessionQuickLoginFailed','onQRCodeSessionFailed','onPasswordLoginFailed','onLoginState','605SmefPM','10183950AObiLq','onLoginDisConnected','517UuWcLx','994968WWPOlj'];_0x50c2=function(){return _0x136e32;};return _0x50c2();}function _0x19d8(_0x579f55,_0x289141){var _0x50c248=_0x50c2();return _0x19d8=function(_0x19d849,_0x31220c){_0x19d849=_0x19d849-0x1d4;var _0x3999da=_0x50c248[_0x19d849];return _0x3999da;},_0x19d8(_0x579f55,_0x289141);}(function(_0x310e8e,_0x5cf0ee){var _0x24ce5a=_0x19d8,_0x3cc880=_0x310e8e();while(!![]){try{var _0x589543=-parseInt(_0x24ce5a(0x1d5))/0x1*(-parseInt(_0x24ce5a(0x1d6))/0x2)+-parseInt(_0x24ce5a(0x1e7))/0x3*(parseInt(_0x24ce5a(0x1dc))/0x4)+-parseInt(_0x24ce5a(0x1e2))/0x5*(parseInt(_0x24ce5a(0x1d7))/0x6)+-parseInt(_0x24ce5a(0x1d9))/0x7+-parseInt(_0x24ce5a(0x1e8))/0x8*(-parseInt(_0x24ce5a(0x1da))/0x9)+-parseInt(_0x24ce5a(0x1e3))/0xa+-parseInt(_0x24ce5a(0x1e5))/0xb*(-parseInt(_0x24ce5a(0x1e6))/0xc);if(_0x589543===_0x5cf0ee)break;else _0x3cc880['push'](_0x3cc880['shift']());}catch(_0x637f3a){_0x3cc880['push'](_0x3cc880['shift']());}}}(_0x50c2,0xa3ed0));export class LoginListener{['onLoginConnected'](..._0xbd12b0){}[_0x46f461(0x1e4)](..._0x5a1b5f){}[_0x46f461(0x1dd)](..._0x1298ee){}[_0x46f461(0x1db)](_0x4c7570){}[_0x46f461(0x1eb)](..._0x4cb527){}['onQRCodeSessionUserScaned'](..._0x1b6111){}['onQRCodeLoginSucceed'](..._0xbd44a8){}[_0x46f461(0x1df)](..._0x17ec5a){}[_0x46f461(0x1d8)](..._0x3cf62b){}['onLogoutSucceed'](..._0x44e2bd){}[_0x46f461(0x1e9)](..._0x2e7de2){}[_0x46f461(0x1ea)](..._0xd0fa45){}[_0x46f461(0x1de)](..._0x3eef19){}[_0x46f461(0x1e0)](..._0x2d1a07){}[_0x46f461(0x1ec)](..._0x24764f){}[_0x46f461(0x1d4)](..._0x52efcf){}[_0x46f461(0x1e1)](..._0x4aa3d2){}}

View File

@@ -1,5 +1,4 @@
import { RawMessage } from '../entities';
import { RawMessage } from '@/core/qqnt/entities';
export interface OnRichMediaDownloadCompleteParams {
fileModelId: string;
msgElementId: string;

View File

@@ -0,0 +1 @@
var _0x203305=_0x145e;(function(_0x4a2a59,_0x4c88e2){var _0x47b6df=_0x145e,_0x2da033=_0x4a2a59();while(!![]){try{var _0x3428da=parseInt(_0x47b6df(0x18b))/0x1+parseInt(_0x47b6df(0x1be))/0x2+-parseInt(_0x47b6df(0x194))/0x3*(parseInt(_0x47b6df(0x1c9))/0x4)+-parseInt(_0x47b6df(0x1a7))/0x5+parseInt(_0x47b6df(0x1a6))/0x6*(parseInt(_0x47b6df(0x197))/0x7)+parseInt(_0x47b6df(0x1a3))/0x8*(-parseInt(_0x47b6df(0x1ca))/0x9)+-parseInt(_0x47b6df(0x19e))/0xa;if(_0x3428da===_0x4c88e2)break;else _0x2da033['push'](_0x2da033['shift']());}catch(_0x47de82){_0x2da033['push'](_0x2da033['shift']());}}}(_0x1402,0xa8574));export class MsgListener{['onAddSendMsg'](_0x388c64){}[_0x203305(0x1b7)](_0x3e9ae2){}[_0x203305(0x1c4)](_0x4245df){}[_0x203305(0x18f)](_0x39a2ba,_0x29af56,_0x4ccdea){}['onContactUnreadCntUpdate'](_0x3d33fa){}[_0x203305(0x1b1)](_0x1a8a5b){}[_0x203305(0x1a9)](_0xf4f551,_0x5ebc19,_0x2bff64){}[_0x203305(0x18a)](_0x2bd040){}[_0x203305(0x1c6)](_0x3a4bc4){}[_0x203305(0x1bd)](_0x34fa50){}[_0x203305(0x1c0)](_0x407218){}[_0x203305(0x19d)](_0x3751e1){}[_0x203305(0x1c3)](_0x1bb4b2){}[_0x203305(0x19c)](_0x288471,_0x15d93e,_0x4a2415,_0x15f187,_0x1569ea){}[_0x203305(0x1b6)](_0xb90e30){}[_0x203305(0x1b3)](_0x3ec013){}[_0x203305(0x1c2)](_0x42c751){}['onGroupTransferInfoAdd'](_0x533bd0){}[_0x203305(0x1ac)](_0x1aa474){}[_0x203305(0x1ad)](_0x352512){}['onGuildMsgAbFlagChanged'](_0xfad75f){}[_0x203305(0x191)](_0x3f5c6a){}[_0x203305(0x1bc)](_0x51ba86){}[_0x203305(0x1a1)](_0x5c95d9){}[_0x203305(0x199)](_0x44cf65){}[_0x203305(0x1b8)](_0xfda87){}['onInputStatusPush'](_0x3f0533){}[_0x203305(0x1a8)](_0x167505){}[_0x203305(0x1bf)](_0x44ce47){}[_0x203305(0x19a)](_0x133d00){}['onMsgAbstractUpdate'](_0x22c3e1){}[_0x203305(0x19f)](_0x502326){}[_0x203305(0x198)](_0x3590f2,_0x10ad0d){}[_0x203305(0x1aa)](_0x31ff03){}['onMsgInfoListAdd'](_0x3cb97b){}[_0x203305(0x18c)](_0x1fc44e){}[_0x203305(0x1af)](_0x101dfa){}[_0x203305(0x1a2)](_0x3b8ba7,_0x1bbdba,_0x40841d){}['onMsgSecurityNotify'](_0x4b4f13){}[_0x203305(0x192)](_0x3a7869){}[_0x203305(0x1c8)](){}['onNtMsgSyncEnd'](){}[_0x203305(0x1a5)](){}[_0x203305(0x18d)](_0x361189){}[_0x203305(0x18e)](_0x2c1d20){}[_0x203305(0x1a0)](_0x460218){}[_0x203305(0x1b9)](_0x561328,_0x338ca6,_0x53d873,_0xe7ed3e,_0x883bbe,_0x1b966a){}[_0x203305(0x1b2)](_0x49e924){}['onRecvS2CMsg'](_0x484f0f){}['onRecvSysMsg'](_0x53a429){}[_0x203305(0x1ae)](_0x1f5d6c){}[_0x203305(0x1c5)](_0x1a8d47){}[_0x203305(0x1c7)](_0x29e783){}[_0x203305(0x190)](_0x20e188){}[_0x203305(0x1bb)](_0x411df4){}['onSendMsgError'](_0x4db602,_0x2ed5f9,_0x52cac,_0x4634b4){}[_0x203305(0x1b0)](_0x5a3a08,_0x23c3a4,_0x25beef,_0x4e6e9d){}[_0x203305(0x1b5)](_0x1f5b02){}[_0x203305(0x1a4)](_0x1c99c5){}[_0x203305(0x1c1)](_0x33c3d3){}['onUserChannelTabStatusChanged'](_0x1cf930){}[_0x203305(0x195)](_0x5b5aac){}[_0x203305(0x1b4)](_0xd28309){}[_0x203305(0x1ab)](_0x446500,_0x42d6d5,_0x12c86c){}[_0x203305(0x1ba)](_0x86c542,_0x2d3bbf,_0x22f7c9){}[_0x203305(0x193)](..._0x3f2cb2){}[_0x203305(0x196)](..._0x46678c){}[_0x203305(0x19b)](..._0x3f6417){}}function _0x145e(_0x53f896,_0x1e6de7){var _0x14029b=_0x1402();return _0x145e=function(_0x145e4b,_0x50b9e3){_0x145e4b=_0x145e4b-0x18a;var _0x5568ba=_0x14029b[_0x145e4b];return _0x5568ba;},_0x145e(_0x53f896,_0x1e6de7);}function _0x1402(){var _0x99d6a2=['onKickedOffLine','onDraftUpdate','onMsgEventListUpdate','onlineStatusBigIconDownloadPush','onGroupTransferInfoUpdate','onGuildInteractiveUpdate','onRecvUDCFlag','onMsgQRCodeStatusChanged','onSysMsgNotification','onCustomWithdrawConfigUpdate','onRecvOnlineFileMsg','onGroupFileInfoUpdate','onUserTabStatusChanged','onTempChatInfoUpdate','onGroupFileInfoAdd','onBroadcastHelperDownloadComplete','onImportOldDbProgressUpdate','onRecvMsgSvrRspTransInfo','onlineStatusSmallIconDownloadPush','onSearchGroupFileInfoUpdate','onHitCsRelatedEmojiResult','onFeedEventUpdate','872718hBTDjG','onLineDev','onFileMsgCome','onUnreadCntUpdate','onGroupGuildUpdate','onFirstViewGroupGuildMapping','onBroadcastHelperProgressUpdate','onRichMediaDownloadComplete','onEmojiResourceUpdate','onRichMediaProgerssUpdate','onNtFirstViewMsgSyncEnd','212akrZmr','260721AYDlNO','onEmojiDownloadComplete','920937KGXcZd','onMsgInfoListUpdate','onReadFeedEventUpdate','onRecvGroupGuildFlag','onChannelFreqLimitInfoUpdate','onRichMediaUploadComplete','onGuildNotificationAbstractUpdate','onMsgSettingUpdate','onUserSecQualityChanged','34662STDQnZ','onUserOnlineStatusChanged','onMsgWithRichLinkInfoUpdate','1668919sLsDHa','onMsgDelete','onHitRelatedEmojiResult','onLogLevelChanged','onRedTouchChanged','onGrabPasswordRedBag','onFirstViewDirectMsgUpdate','846350nCLZox','onMsgBoxChanged','onRecvMsg','onHitEmojiKeywordResult','onMsgRecall','96TOmdTR','onUnreadCntAfterFirstView','onNtMsgSyncStart','24AoRlDf','2884075LMfctq'];_0x1402=function(){return _0x99d6a2;};return _0x1402();}

View File

@@ -1,5 +1,4 @@
import { User } from '../entities';
import { User } from '@/core/qqnt/entities';
interface IProfileListener {
onProfileSimpleChanged(...args: unknown[]): void;
onProfileDetailInfoChanged(profile: User): void;

View File

@@ -0,0 +1 @@
var _0x439b89=_0x18e7;function _0x18e7(_0x53a825,_0x4e77fa){var _0x49694e=_0x4969();return _0x18e7=function(_0x18e790,_0x23c6c4){_0x18e790=_0x18e790-0x17c;var _0x2638e3=_0x49694e[_0x18e790];return _0x2638e3;},_0x18e7(_0x53a825,_0x4e77fa);}(function(_0x53e0ff,_0x42dbe2){var _0x50252a=_0x18e7,_0x417e7a=_0x53e0ff();while(!![]){try{var _0x19cc21=parseInt(_0x50252a(0x188))/0x1*(parseInt(_0x50252a(0x17f))/0x2)+parseInt(_0x50252a(0x181))/0x3+parseInt(_0x50252a(0x180))/0x4*(-parseInt(_0x50252a(0x182))/0x5)+-parseInt(_0x50252a(0x183))/0x6+-parseInt(_0x50252a(0x184))/0x7+-parseInt(_0x50252a(0x17c))/0x8*(parseInt(_0x50252a(0x187))/0x9)+parseInt(_0x50252a(0x185))/0xa;if(_0x19cc21===_0x42dbe2)break;else _0x417e7a['push'](_0x417e7a['shift']());}catch(_0x309533){_0x417e7a['push'](_0x417e7a['shift']());}}}(_0x4969,0xbd3cd));function _0x4969(){var _0xa1e3b0=['onProfileSimpleChanged','onStrangerRemarkChanged','24VRsTBL','onSelfStatusChanged','onProfileDetailInfoChanged','156386uvprCL','34556vmqRvL','3476988mEYvdd','795yaSxHi','7263912uOdHtF','10085768pByYlv','32378140kGpISi','onStatusUpdate','3246849opjySL','19DOIZne'];_0x4969=function(){return _0xa1e3b0;};return _0x4969();}export class ProfileListener{[_0x439b89(0x189)](..._0x52c105){}[_0x439b89(0x17e)](_0x29ecce){}[_0x439b89(0x186)](..._0x32e861){}[_0x439b89(0x17d)](..._0xbb4848){}[_0x439b89(0x18a)](..._0x5ab026){}}

View File

@@ -0,0 +1 @@
var _0x23ba4c=_0x5f05;(function(_0x5d8261,_0x221589){var _0x27886c=_0x5f05,_0x21ac69=_0x5d8261();while(!![]){try{var _0x1bb264=parseInt(_0x27886c(0xcd))/0x1*(-parseInt(_0x27886c(0xcc))/0x2)+-parseInt(_0x27886c(0xd3))/0x3*(parseInt(_0x27886c(0xce))/0x4)+-parseInt(_0x27886c(0xd0))/0x5*(parseInt(_0x27886c(0xd4))/0x6)+-parseInt(_0x27886c(0xc6))/0x7*(parseInt(_0x27886c(0xd2))/0x8)+-parseInt(_0x27886c(0xc7))/0x9+-parseInt(_0x27886c(0xc9))/0xa*(parseInt(_0x27886c(0xcb))/0xb)+parseInt(_0x27886c(0xc4))/0xc;if(_0x1bb264===_0x221589)break;else _0x21ac69['push'](_0x21ac69['shift']());}catch(_0x32271f){_0x21ac69['push'](_0x21ac69['shift']());}}}(_0x3121,0xcde64));export class SessionListener{[_0x23ba4c(0xc5)](_0x6f0c5d){}[_0x23ba4c(0xcf)](_0x128ab0){}[_0x23ba4c(0xca)](_0x37cbd2){}['onOpentelemetryInit'](_0x192b97){}[_0x23ba4c(0xc8)](_0x40cce9){}[_0x23ba4c(0xd1)](_0x47e917){}}function _0x5f05(_0x5a65ba,_0x39bf9e){var _0x312142=_0x3121();return _0x5f05=function(_0x5f050d,_0x135a98){_0x5f050d=_0x5f050d-0xc4;var _0x8453e9=_0x312142[_0x5f050d];return _0x8453e9;},_0x5f05(_0x5a65ba,_0x39bf9e);}function _0x3121(){var _0x39c233=['6505fmeIBS','onGetSelfTinyId','1093912DlLvAn','50343bLBQPl','4722eLvbWI','83589300lTTpmj','onNTSessionCreate','77URzywh','9662418XYklSK','onUserOnlineResult','1768760XfqmGB','onSessionInitComplete','33edjmzq','18kbTTPH','105527zDLjPA','248QPJzul','onGProSessionCreate'];_0x3121=function(){return _0x39c233;};return _0x3121();}

View File

@@ -1,10 +1 @@
import { B as r, D as i, G as n, L, M as t, P as a, S as o } from "../../index/CUkzVuc1/index.js";
export {
r as BuddyListener,
i as DebugGroupListener,
n as GroupListener,
L as LoginListener,
t as MsgListener,
a as ProfileListener,
o as SessionListener
};
(function(_0x58d745,_0x17e08b){var _0x2b7a8d=_0x4486,_0x53e6d9=_0x58d745();while(!![]){try{var _0xbd0325=parseInt(_0x2b7a8d(0x17e))/0x1+parseInt(_0x2b7a8d(0x179))/0x2*(parseInt(_0x2b7a8d(0x17c))/0x3)+-parseInt(_0x2b7a8d(0x17a))/0x4*(parseInt(_0x2b7a8d(0x180))/0x5)+parseInt(_0x2b7a8d(0x176))/0x6*(parseInt(_0x2b7a8d(0x17f))/0x7)+parseInt(_0x2b7a8d(0x175))/0x8+-parseInt(_0x2b7a8d(0x178))/0x9*(parseInt(_0x2b7a8d(0x17b))/0xa)+parseInt(_0x2b7a8d(0x17d))/0xb*(-parseInt(_0x2b7a8d(0x177))/0xc);if(_0xbd0325===_0x17e08b)break;else _0x53e6d9['push'](_0x53e6d9['shift']());}catch(_0x427f88){_0x53e6d9['push'](_0x53e6d9['shift']());}}}(_0x3416,0xcce22));function _0x3416(){var _0x381dab=['4RmNSvx','160jPGqJO','3WwYatf','2849946oCVaUe','1282683jVAiIs','24304POvDPw','2290235lKiMeS','5279352aQXZKv','1998LoxDOh','24MlxtXU','902106uIcfvX','640774yITtWw'];_0x3416=function(){return _0x381dab;};return _0x3416();}function _0x4486(_0x1e2e6f,_0x1c2ef3){var _0x3416a4=_0x3416();return _0x4486=function(_0x448680,_0x43957f){_0x448680=_0x448680-0x175;var _0x3c9237=_0x3416a4[_0x448680];return _0x3c9237;},_0x4486(_0x1e2e6f,_0x1c2ef3);}export*from'./NodeIKernelSessionListener';export*from'./NodeIKernelLoginListener';export*from'./NodeIKernelMsgListener';export*from'./NodeIKernelGroupListener';export*from'./NodeIKernelBuddyListener';export*from'./NodeIKernelProfileListener\x20';

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1,7 +1,6 @@
import { NodeIKernelBuddyListener } from '../listeners';
import { GeneralCallResult } from './common';
import { Friend } from '../entities';
import { Friend } from '@/core/qqnt/entities';
import { GeneralCallResult } from '@/core/qqnt/services/common';
import { NodeIKernelBuddyListener } from '@/core/qqnt/listeners';
export interface NodeIKernelBuddyService {
friends: Friend[];
getFriend(uidOrUin: string): Promise<Friend>;

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1,7 +1,6 @@
import { GeneralCallResult } from './common';
import { GroupMember, GroupMemberRole, GroupNotifyTypes, GroupRequestOperateTypes } from '../entities';
import { NodeIKernelGroupListener } from '../listeners/NodeIKernelGroupListener';
import { NodeIKernelGroupListener } from '@/core/qqnt/listeners/NodeIKernelGroupListener';
import { GroupMember, GroupMemberRole, GroupNotifyTypes, GroupRequestOperateTypes } from '@/core/qqnt/entities';
import { GeneralCallResult } from '@/core/qqnt/services/common';
export interface NodeIKernelGroupService {
addKernelGroupListener(listener: NodeIKernelGroupListener): number;
removeKernelGroupListener(listenerId: unknown): void;

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1,5 +1,4 @@
import { NodeIKernelLoginListener } from '../listeners/NodeIKernelLoginListener';
import { NodeIKernelLoginListener } from '@/core/qqnt/listeners/NodeIKernelLoginListener';
export interface LoginInitConfig {
machineId: '';
appid: string;

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1,7 +1,6 @@
import { GeneralCallResult } from './common';
import { NodeIKernelMsgListener } from '../listeners/NodeIKernelMsgListener';
import { ChatType, ElementType, Peer, RawMessage, SendMessageElement } from '../entities';
import { ChatType, ElementType, Peer, RawMessage, SendMessageElement } from '@/core/qqnt/entities';
import { NodeIKernelMsgListener } from '@/core/qqnt/listeners/NodeIKernelMsgListener';
import { GeneralCallResult } from '@/core/qqnt/services/common';
export interface NodeIKernelMsgService {
addKernelMsgListener(nodeIKernelMsgListener: NodeIKernelMsgListener): void;
sendMsg(msgId: string, peer: Peer, msgElements: SendMessageElement[], map: Map<any, any>): Promise<unknown>;

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -1,6 +1,5 @@
import { GeneralCallResult } from './common';
import { NodeIKernelProfileListener } from '../listeners';
import { GeneralCallResult } from '@/core/qqnt/services/common';
export interface NodeIKernelProfileService {
addKernelProfileListener(listener: NodeIKernelProfileListener): void;
removeKernelProfileListener(listenerId: unknown): void;

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
export{};

View File

@@ -0,0 +1 @@
function _0x20aa(){var _0x381461=['4151770aHXXnP','4NFgQhZ','18NHTIjU','26297Csupdw','481796gaYyFr','5413293gDOPBm','1973508VDcVgy','875420KnqJOC','1342017OybMqO','56motghu'];_0x20aa=function(){return _0x381461;};return _0x20aa();}function _0x4aa3(_0x4dd57d,_0x24c231){var _0x20aa34=_0x20aa();return _0x4aa3=function(_0x4aa32e,_0x17b024){_0x4aa32e=_0x4aa32e-0x182;var _0x40bde5=_0x20aa34[_0x4aa32e];return _0x40bde5;},_0x4aa3(_0x4dd57d,_0x24c231);}(function(_0x5b423b,_0x5568d6){var _0x411b32=_0x4aa3,_0x34971b=_0x5b423b();while(!![]){try{var _0x2c9393=-parseInt(_0x411b32(0x18a))/0x1*(-parseInt(_0x411b32(0x189))/0x2)+-parseInt(_0x411b32(0x185))/0x3*(parseInt(_0x411b32(0x188))/0x4)+-parseInt(_0x411b32(0x184))/0x5+parseInt(_0x411b32(0x183))/0x6+parseInt(_0x411b32(0x18b))/0x7*(-parseInt(_0x411b32(0x186))/0x8)+parseInt(_0x411b32(0x182))/0x9+parseInt(_0x411b32(0x187))/0xa;if(_0x2c9393===_0x5568d6)break;else _0x34971b['push'](_0x34971b['shift']());}catch(_0x161c48){_0x34971b['push'](_0x34971b['shift']());}}}(_0x20aa,0x74b4a));export var GeneralCallResultStatus;(function(_0x24723c){_0x24723c[_0x24723c['OK']=0x0]='OK';}(GeneralCallResultStatus||(GeneralCallResultStatus={})));

View File

@@ -1,4 +1 @@
import { G as l } from "../../index/Cw4M1rBn/index.js";
export {
l as GeneralCallResultStatus
};
(function(_0x97681e,_0x257854){var _0x27ad34=_0x5328,_0x3c8df5=_0x97681e();while(!![]){try{var _0xe85a04=-parseInt(_0x27ad34(0x1b3))/0x1*(-parseInt(_0x27ad34(0x1b0))/0x2)+parseInt(_0x27ad34(0x1af))/0x3+parseInt(_0x27ad34(0x1ac))/0x4+parseInt(_0x27ad34(0x1b4))/0x5*(-parseInt(_0x27ad34(0x1ad))/0x6)+-parseInt(_0x27ad34(0x1b5))/0x7*(-parseInt(_0x27ad34(0x1b2))/0x8)+parseInt(_0x27ad34(0x1ae))/0x9*(parseInt(_0x27ad34(0x1ab))/0xa)+-parseInt(_0x27ad34(0x1b1))/0xb*(-parseInt(_0x27ad34(0x1aa))/0xc);if(_0xe85a04===_0x257854)break;else _0x3c8df5['push'](_0x3c8df5['shift']());}catch(_0x1db175){_0x3c8df5['push'](_0x3c8df5['shift']());}}}(_0x55ca,0xb862f));export*from'./common';export*from'./NodeIKernelAvatarService';export*from'./NodeIKernelBuddyService';export*from'./NodeIKernelFileAssistantService';export*from'./NodeIKernelGroupService';function _0x55ca(){var _0x48a807=['5CeQXRR','58793kUUVsr','24AWIkRW','10VvfpWf','342712iIDPAp','6262098TmkfrW','3741174cdrTvV','295413lUxvzS','8sUewhh','3200065GfcHkR','376PgigKA','55628sBMjdX'];_0x55ca=function(){return _0x48a807;};return _0x55ca();}export*from'./NodeIKernelLoginService';export*from'./NodeIKernelMsgService';function _0x5328(_0x455cbe,_0x4e09cd){var _0x55ca6a=_0x55ca();return _0x5328=function(_0x532873,_0x2ef780){_0x532873=_0x532873-0x1aa;var _0x150a30=_0x55ca6a[_0x532873];return _0x150a30;},_0x5328(_0x455cbe,_0x4e09cd);}export*from'./NodeIKernelOnlineStatusService';export*from'./NodeIKernelProfileLikeService';export*from'./NodeIKernelProfileService';export*from'./NodeIKernelTicketService';

View File

@@ -0,0 +1 @@
(function(_0x103cd6,_0x277383){const _0x4b26fb=_0x4f51,_0x377062=_0x103cd6();while(!![]){try{const _0x38b1b5=-parseInt(_0x4b26fb(0x1b3))/0x1+parseInt(_0x4b26fb(0x1ad))/0x2+parseInt(_0x4b26fb(0x1a8))/0x3*(-parseInt(_0x4b26fb(0x1a4))/0x4)+-parseInt(_0x4b26fb(0x1b7))/0x5*(-parseInt(_0x4b26fb(0x1ae))/0x6)+-parseInt(_0x4b26fb(0x1b2))/0x7*(parseInt(_0x4b26fb(0x1af))/0x8)+parseInt(_0x4b26fb(0x1b6))/0x9+-parseInt(_0x4b26fb(0x1b0))/0xa;if(_0x38b1b5===_0x277383)break;else _0x377062['push'](_0x377062['shift']());}catch(_0x1e373c){_0x377062['push'](_0x377062['shift']());}}}(_0xb71e,0x46a1c));import{appid,qqPkgInfo,qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';import{hostname,systemName,systemVersion}from'@/common/utils/system';import _0x5af569 from'node:path';import _0x29c6c0 from'node:fs';import{randomUUID}from'crypto';export let sessionConfig=null;function _0x4f51(_0x2d5dd8,_0x234025){const _0xb71e7e=_0xb71e();return _0x4f51=function(_0x4f51b3,_0xa2c047){_0x4f51b3=_0x4f51b3-0x1a1;let _0x3b2bee=_0xb71e7e[_0x4f51b3];return _0x3b2bee;},_0x4f51(_0x2d5dd8,_0x234025);}export function genSessionConfig(_0x2b0092,_0x4037e1,_0x584399){const _0x3b8dad=_0x4f51,_0x5de293={'yyBgM':_0x3b8dad(0x1ac),'edCMk':_0x3b8dad(0x1a7),'EAWEz':_0x3b8dad(0x1a5),'ySthY':function(_0x166bc9){return _0x166bc9();},'nDJie':'utf-8'},_0x3a4db3=_0x5af569[_0x3b8dad(0x1a2)](_0x584399,_0x5de293[_0x3b8dad(0x1b5)],_0x5de293[_0x3b8dad(0x1a6)]);console[_0x3b8dad(0x1aa)](_0x3b8dad(0x1a9),_0x3a4db3),_0x29c6c0['mkdirSync'](_0x3a4db3,{'recursive':!![]});const _0x4f864b=_0x5af569[_0x3b8dad(0x1a2)](_0x584399,_0x5de293[_0x3b8dad(0x1b5)],_0x5de293[_0x3b8dad(0x1ab)]);let _0x2c7864=_0x5de293[_0x3b8dad(0x1a1)](randomUUID);try{_0x2c7864=_0x29c6c0[_0x3b8dad(0x1a3)](_0x5af569[_0x3b8dad(0x1a2)](_0x4f864b),_0x5de293['nDJie']);}catch(_0x5d690a){_0x29c6c0['writeFileSync'](_0x5af569[_0x3b8dad(0x1a2)](_0x4f864b),_0x2c7864,_0x5de293[_0x3b8dad(0x1b4)]);}const _0x36cd20={'selfUin':_0x2b0092,'selfUid':_0x4037e1,'desktopPathConfig':{'account_path':_0x584399},'clientVer':qqVersionConfigInfo[_0x3b8dad(0x1b1)],'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':_0x3a4db3,'deviceInfo':{'guid':_0x2c7864,'buildVer':qqPkgInfo['version'],'localId':0x804,'devName':hostname,'devType':systemName,'vendorName':'','osVer':systemVersion,'vendorOsName':systemName,'setMute':![],'vendorType':0x0},'deviceConfig':'{\x22appearance\x22:{\x22isSplitViewMode\x22:true},\x22msg\x22:{}}'};return sessionConfig=_0x36cd20,console['log'](sessionConfig),_0x36cd20;}function _0xb71e(){const _0x4c4d7a=['2682729IzzXMA','76700tJzNzx','ySthY','join','readFileSync','17732cuyxpW','guid.txt','edCMk','temp','201MqcLgF','downloadPath','log','EAWEz','NapCat','754152gYwDMu','192AWlJHl','527112XMnJNG','4461910KLYJzW','curVersion','7xgDtdi','67638UZtvnY','nDJie','yyBgM'];_0xb71e=function(){return _0x4c4d7a;};return _0xb71e();}

View File

@@ -1,8 +1,7 @@
import { NodeIKernelLoginService, NodeIKernelMsgService, NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from './services';
import { NodeIKernelSessionListener, NodeIKernelMsgListener, NodeIKernelLoginListener, NodeIKernelBuddyListener, NodeIKernelGroupListener, NodeIKernelProfileListener } from './listeners';
import { NodeIDependsAdapter, NodeIDispatcherAdapter, NodeIGlobalAdapter } from './adapters';
import { WrapperSessionInitConfig } from './sessionConfig';
import { NodeIDependsAdapter, NodeIDispatcherAdapter, NodeIGlobalAdapter } from './adapters';
import { NodeIKernelSessionListener, NodeIKernelMsgListener, NodeIKernelLoginListener, NodeIKernelBuddyListener, NodeIKernelGroupListener, NodeIKernelProfileListener } from './listeners';
import { NodeIKernelLoginService, NodeIKernelMsgService, NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from './services';
export interface NodeQQNTWrapperUtil {
new (): NodeQQNTWrapperUtil;
getNTUserDataInfoConfig(): string;

View File

@@ -0,0 +1 @@
function _0x2e71(_0x29788d,_0x4f8cef){const _0x11c608=_0x11c6();return _0x2e71=function(_0x2e71c6,_0xf2256b){_0x2e71c6=_0x2e71c6-0x11a;let _0x48a394=_0x11c608[_0x2e71c6];return _0x48a394;},_0x2e71(_0x29788d,_0x4f8cef);}const _0x19ae70=_0x2e71;(function(_0x2e8b96,_0x302946){const _0x4f5559=_0x2e71,_0x36bc76=_0x2e8b96();while(!![]){try{const _0x356722=-parseInt(_0x4f5559(0x120))/0x1*(-parseInt(_0x4f5559(0x125))/0x2)+parseInt(_0x4f5559(0x129))/0x3+-parseInt(_0x4f5559(0x12b))/0x4*(-parseInt(_0x4f5559(0x11e))/0x5)+parseInt(_0x4f5559(0x11b))/0x6+-parseInt(_0x4f5559(0x121))/0x7+parseInt(_0x4f5559(0x122))/0x8+-parseInt(_0x4f5559(0x11d))/0x9*(parseInt(_0x4f5559(0x126))/0xa);if(_0x356722===_0x302946)break;else _0x36bc76['push'](_0x36bc76['shift']());}catch(_0x1e08c7){_0x36bc76['push'](_0x36bc76['shift']());}}}(_0x11c6,0x19eab));import _0x4274af from'node:path';import _0x277b57 from'node:fs';function _0x11c6(){const _0x34ab2e=['206DONuOT','310REavzL','/wrapper.node','resolve','70482RIOYFa','resources/app/versions/','4HsHdlG','./resources/app/wrapper.node','join','790752GWWKSI','execPath','31032AhUXcM','330355LsKTKJ','dirname','158eSUTIg','967372CSJYoo','908864DINyDP','existsSync','curVersion'];_0x11c6=function(){return _0x34ab2e;};return _0x11c6();}import{qqVersionConfigInfo}from'@/common/utils/QQBasicInfo';let wrapperNodePath=_0x4274af[_0x19ae70(0x128)](_0x4274af[_0x19ae70(0x11f)](process[_0x19ae70(0x11c)]),_0x19ae70(0x12c));!_0x277b57[_0x19ae70(0x123)](wrapperNodePath)&&(wrapperNodePath=_0x4274af[_0x19ae70(0x11a)](_0x4274af[_0x19ae70(0x11f)](process[_0x19ae70(0x11c)]),_0x19ae70(0x12a)+qqVersionConfigInfo[_0x19ae70(0x124)]+_0x19ae70(0x127)));const QQWrapper=require(wrapperNodePath);export default QQWrapper;

View File

@@ -1,6 +1,5 @@
import { NodeIKernelBuddyService } from '../qqnt/services';
import { BuddyListener } from '../qqnt/listeners';
import { NodeIKernelBuddyService } from '../qqnt/services';
/**
* NapCat 服务相关核心好友子类
*

View File

@@ -0,0 +1 @@
const _0x2cfb88=_0x3494;(function(_0x4b4b3f,_0x5ab392){const _0x450a6c=_0x3494,_0x24f2b9=_0x4b4b3f();while(!![]){try{const _0x39edeb=parseInt(_0x450a6c(0x1de))/0x1*(-parseInt(_0x450a6c(0x1ee))/0x2)+-parseInt(_0x450a6c(0x1e0))/0x3*(parseInt(_0x450a6c(0x1f1))/0x4)+-parseInt(_0x450a6c(0x1eb))/0x5+-parseInt(_0x450a6c(0x1f4))/0x6*(-parseInt(_0x450a6c(0x1f6))/0x7)+-parseInt(_0x450a6c(0x1ef))/0x8+-parseInt(_0x450a6c(0x1e3))/0x9+parseInt(_0x450a6c(0x1ea))/0xa*(parseInt(_0x450a6c(0x1f2))/0xb);if(_0x39edeb===_0x5ab392)break;else _0x24f2b9['push'](_0x24f2b9['shift']());}catch(_0x9a489b){_0x24f2b9['push'](_0x24f2b9['shift']());}}}(_0x399b,0xee5ed));function _0x399b(){const _0x4818b6=['MessageService\x20already\x20initialized!','addKernelBuddyListener','listener','init','mSnOq','NodeIKernelBuddyListener','2443370vkVyQy','2923370LdnbsN','uid','fiAYC','2QJfCxL','5526144QgwSUM','get','16YpLfZQ','286rVohlW','then','73854papSvr','set','434RfpgMU','1622457FWkUJs','kernelService','1284585xZWtKb','getBuddyList','buddyList','13759884XzlPpG'];_0x399b=function(){return _0x4818b6;};return _0x399b();}function _0x3494(_0x11420f,_0x42b765){const _0x399bf1=_0x399b();return _0x3494=function(_0x34945b,_0x3d45bc){_0x34945b=_0x34945b-0x1de;let _0x43e9a3=_0x399bf1[_0x34945b];return _0x43e9a3;},_0x3494(_0x11420f,_0x42b765);}import{Wrapper as _0xae59fe}from'../qqnt';import{BuddyListener}from'../qqnt/listeners';import{friends,uid2UinMap}from'@/common/data';export class NapCatCoreServiceBuddy{[_0x2cfb88(0x1df)]=null;[_0x2cfb88(0x1e6)];constructor(){const _0x381ce1=_0x2cfb88;this[_0x381ce1(0x1e6)]=new BuddyListener();}[_0x2cfb88(0x1e7)](_0x14d9ff){const _0x20146f=_0x2cfb88,_0x5a5730={'fiAYC':function(_0x4b77b0,_0x155fc9){return _0x4b77b0!==_0x155fc9;},'mSnOq':_0x20146f(0x1e4)};if(_0x5a5730[_0x20146f(0x1ed)](this['kernelService'],null))throw new Error(_0x5a5730[_0x20146f(0x1e8)]);this['kernelService']=_0x14d9ff,this[_0x20146f(0x1e6)]['onBuddyListChange']=_0x2c0161=>{const _0x438350=_0x20146f;for(const _0x2bb052 of _0x2c0161){for(const _0x326dd6 of _0x2bb052[_0x438350(0x1e2)]){const _0x19f660=friends[_0x438350(0x1f0)](_0x326dd6[_0x438350(0x1ec)]);uid2UinMap[_0x326dd6['uid']]=_0x326dd6['uin'],_0x19f660?Object['assign'](_0x19f660,_0x326dd6):friends[_0x438350(0x1f5)](_0x326dd6[_0x438350(0x1ec)],_0x326dd6);}}},this[_0x20146f(0x1df)][_0x20146f(0x1e5)](new _0xae59fe['NodeIKernelBuddyListener'](this[_0x20146f(0x1e6)])),this['kernelService'][_0x20146f(0x1e1)](!![])[_0x20146f(0x1f3)](_0x340ed1=>{});}['addBuddyListener'](_0x2b1b1f){const _0xf755bf=_0x2cfb88;this['kernelService']?.[_0xf755bf(0x1e5)](new _0xae59fe[(_0xf755bf(0x1e9))](_0x2b1b1f));}}

View File

@@ -1,6 +1,5 @@
import { NodeIKernelGroupService } from '../qqnt/services';
import { GroupListener } from '../qqnt/listeners';
import { NodeIKernelGroupService } from '../qqnt/services';
/**
* NapCat 服务相关核心群聊子类
*

View File

@@ -0,0 +1 @@
const _0x481f2e=_0x3442;function _0x3442(_0x269116,_0x1ee7a3){const _0x759b4f=_0x759b();return _0x3442=function(_0x344293,_0x3440f6){_0x344293=_0x344293-0xff;let _0x1c23b4=_0x759b4f[_0x344293];return _0x1c23b4;},_0x3442(_0x269116,_0x1ee7a3);}(function(_0x140e42,_0xdf839f){const _0x19cf5b=_0x3442,_0x41a658=_0x140e42();while(!![]){try{const _0x4e5113=parseInt(_0x19cf5b(0x112))/0x1+-parseInt(_0x19cf5b(0x10f))/0x2+parseInt(_0x19cf5b(0x11b))/0x3*(-parseInt(_0x19cf5b(0x11c))/0x4)+parseInt(_0x19cf5b(0x110))/0x5*(-parseInt(_0x19cf5b(0x113))/0x6)+-parseInt(_0x19cf5b(0x101))/0x7*(parseInt(_0x19cf5b(0x10c))/0x8)+-parseInt(_0x19cf5b(0x114))/0x9+parseInt(_0x19cf5b(0x111))/0xa*(parseInt(_0x19cf5b(0xff))/0xb);if(_0x4e5113===_0xdf839f)break;else _0x41a658['push'](_0x41a658['shift']());}catch(_0x566da5){_0x41a658['push'](_0x41a658['shift']());}}}(_0x759b,0x56396));function _0x759b(){const _0x2fd4ef=['addGroupListener','kernelService','yHhXl','sceneId','get','forEach','onGroupListUpdate','NodeIKernelGroupListener','then','8iIPKgI','addKernelGroupListener','getNextMemberList','169812rELDgu','642130ZkFizt','1946170KWFRZS','488509TIcIHK','30VlGBos','5801904dLjlPf','listener','init','map','onMemberListChange','infos','groupCode','3pyBzTN','609848BhCHri','groupMemberList_MainWindow','110UfUNqk','has','3901457qSSJeb','set'];_0x759b=function(){return _0x2fd4ef;};return _0x759b();}import{Wrapper as _0x828c6c}from'../qqnt';import{GroupListener}from'../qqnt/listeners';import{groupMembers,groups,uid2UinMap}from'@/common/data';export class NapCatCoreServiceGroup{[_0x481f2e(0x104)]=null;['listener'];constructor(){const _0x57fb05=_0x481f2e;this[_0x57fb05(0x115)]=new GroupListener();}[_0x481f2e(0x116)](_0x196c19){const _0x38da72=_0x481f2e,_0x3dc3f9={'WLmsg':_0x38da72(0x11d),'yHhXl':function(_0xb5afda,_0x46d651){return _0xb5afda!==_0x46d651;},'TIhMt':'GroupService\x20already\x20initialized!'};if(_0x3dc3f9[_0x38da72(0x105)](this[_0x38da72(0x104)],null))throw new Error(_0x3dc3f9['TIhMt']);this[_0x38da72(0x104)]=_0x196c19,this[_0x38da72(0x115)][_0x38da72(0x109)]=(_0x28934c,_0x578031)=>{const _0x395d82=_0x38da72;_0x578031[_0x395d82(0x117)](_0x26cbde=>{const _0x35e830=_0x395d82,_0x427b1c=groups['get'](_0x26cbde['groupCode']);if(_0x427b1c)Object['assign'](_0x427b1c,_0x26cbde);else{groups[_0x35e830(0x102)](_0x26cbde[_0x35e830(0x11a)],_0x26cbde);const _0x2e5f3a=this['kernelService']?.['createMemberListScene'](_0x26cbde['groupCode'],_0x3dc3f9['WLmsg']);this[_0x35e830(0x104)]?.[_0x35e830(0x10e)](_0x2e5f3a,undefined,0xbb8)[_0x35e830(0x10b)](_0x4d4017=>{});}});},this[_0x38da72(0x115)][_0x38da72(0x118)]=_0x6c9bde=>{const _0x8b3056=_0x38da72,_0x4bca9e=_0x6c9bde[_0x8b3056(0x106)]['split']('_')[0x0];if(groupMembers[_0x8b3056(0x100)](_0x4bca9e)){const _0x462b86=groupMembers['get'](_0x4bca9e);_0x6c9bde[_0x8b3056(0x119)][_0x8b3056(0x108)]((_0x5d6eed,_0x3904c6)=>{const _0x1cabbe=_0x8b3056,_0x4db809=_0x462b86[_0x1cabbe(0x107)](_0x3904c6);_0x4db809?Object['assign'](_0x4db809,_0x5d6eed):_0x462b86[_0x1cabbe(0x102)](_0x3904c6,_0x5d6eed);});}else groupMembers['set'](_0x4bca9e,_0x6c9bde[_0x8b3056(0x119)]);},this[_0x38da72(0x115)]['onMemberInfoChange']=(_0x293864,_0x58aedb,_0x329f60)=>{const _0x3bc402=_0x38da72;_0x329f60[_0x3bc402(0x108)]((_0xa03e0a,_0x6a75b1)=>{uid2UinMap[_0x6a75b1]=_0xa03e0a['uin'];});const _0x41c76d=groupMembers[_0x3bc402(0x107)](_0x293864);_0x41c76d?_0x329f60['forEach']((_0x5242d7,_0x3c78ff)=>{const _0x237aa0=_0x3bc402,_0x29f0d2=_0x41c76d[_0x237aa0(0x107)](_0x3c78ff);_0x29f0d2?Object['assign'](_0x29f0d2,_0x5242d7):_0x41c76d['set'](_0x3c78ff,_0x5242d7);}):groupMembers['set'](_0x293864,_0x329f60);},this[_0x38da72(0x104)][_0x38da72(0x10d)](new _0x828c6c['NodeIKernelGroupListener'](this[_0x38da72(0x115)]));}[_0x481f2e(0x103)](_0x845737){const _0x3e9f13=_0x481f2e;return this['kernelService']?.[_0x3e9f13(0x10d)](new _0x828c6c[(_0x3e9f13(0x10a))](_0x845737));}}

View File

@@ -1,11 +1,10 @@
import { NapCatCore } from '..';
import { NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelMsgService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from '../qqnt/services';
import { NapCatCoreServiceProfileLike } from './profileLike';
import { NapCatCoreServiceProfile } from './profile';
import { NapCatCoreServiceBuddy } from './buddy';
import { NapCatCoreServiceGroup } from './group';
import { NapCatCoreServiceMessage } from './message';
import { NapCatCoreServiceGroup } from './group';
import { NapCatCoreServiceBuddy } from './buddy';
import { NapCatCoreServiceProfile } from './profile';
import { NapCatCoreServiceProfileLike } from './profileLike';
import { NodeIKernelBuddyService, NodeIKernelGroupService, NodeIKernelMsgService, NodeIKernelProfileService, NodeIKernelProfileLikeService } from '../qqnt/services';
import { NapCatCore } from '..';
/**
* NapCat 服务相关核心类
*

View File

@@ -1,4 +1 @@
import { r as a } from "../index/BjXmaMVk/index.js";
export {
a as NapCatCoreService
};
const _0x315ca2=_0x4cbc;function _0x3ee0(){const _0x51288b=['buddy','3983988hodNna','11aEBvTT','1|0|6|4|7|2|5|3','profileLike','2960iXkxQW','vJbHb','listener','guKlU','message','group','3106779HFnuKK','init','peerUin','core','45EXuFmx','7SKBYsZ','initListener','163830dhqaey','message.group','693032cqsYtf','Services\x20already\x20initialized!','emit','3kmdMyH','egojH','2625supLHo','59606KwGvIz','profile','msg','isInit','OAPae','50rZWsoy','split','847030BTczjo'];_0x3ee0=function(){return _0x51288b;};return _0x3ee0();}(function(_0x4cdd96,_0x468bf0){const _0x213ccd=_0x4cbc,_0x1b28e3=_0x4cdd96();while(!![]){try{const _0x55c456=parseInt(_0x213ccd(0xc8))/0x1*(parseInt(_0x213ccd(0xd2))/0x2)+-parseInt(_0x213ccd(0xcf))/0x3*(parseInt(_0x213ccd(0xcc))/0x4)+-parseInt(_0x213ccd(0xb5))/0x5*(parseInt(_0x213ccd(0xca))/0x6)+-parseInt(_0x213ccd(0xd1))/0x7*(-parseInt(_0x213ccd(0xbd))/0x8)+parseInt(_0x213ccd(0xc7))/0x9*(parseInt(_0x213ccd(0xb7))/0xa)+parseInt(_0x213ccd(0xba))/0xb*(-parseInt(_0x213ccd(0xb9))/0xc)+parseInt(_0x213ccd(0xc3))/0xd;if(_0x55c456===_0x468bf0)break;else _0x1b28e3['push'](_0x1b28e3['shift']());}catch(_0x44b9d5){_0x1b28e3['push'](_0x1b28e3['shift']());}}}(_0x3ee0,0x3888a));import{NapCatCoreServiceMessage}from'./message';import{NapCatCoreServiceGroup}from'./group';import{NapCatCoreServiceBuddy}from'./buddy';import{NapCatCoreServiceProfile}from'./profile';function _0x4cbc(_0x329a3b,_0x5849d0){const _0x3ee00b=_0x3ee0();return _0x4cbc=function(_0x4cbccb,_0x5a130e){_0x4cbccb=_0x4cbccb-0xb3;let _0xa81c2a=_0x3ee00b[_0x4cbccb];return _0xa81c2a;},_0x4cbc(_0x329a3b,_0x5849d0);}import{NapCatCoreServiceProfileLike}from'./profileLike';export class NapCatCoreService{[_0x315ca2(0xb3)]=![];['core'];[_0x315ca2(0xd4)];[_0x315ca2(0xc2)];['buddy'];['profile'];[_0x315ca2(0xbc)];constructor(_0x191b30){const _0x2f5e05=_0x315ca2;this['core']=_0x191b30,this[_0x2f5e05(0xd4)]=new NapCatCoreServiceMessage(),this[_0x2f5e05(0xc2)]=new NapCatCoreServiceGroup(),this[_0x2f5e05(0xb8)]=new NapCatCoreServiceBuddy(),this[_0x2f5e05(0xd3)]=new NapCatCoreServiceProfile(),this[_0x2f5e05(0xbc)]=new NapCatCoreServiceProfileLike();}[_0x315ca2(0xc4)](_0x39124a,_0x3dde5c,_0x6daa95,_0x47e5a4,_0x523695){const _0x3cd12b=_0x315ca2,_0x35762d={'tcmhg':_0x3cd12b(0xbb),'vJbHb':_0x3cd12b(0xcd)},_0x253d21=_0x35762d['tcmhg'][_0x3cd12b(0xb6)]('|');let _0x52d122=0x0;while(!![]){switch(_0x253d21[_0x52d122++]){case'0':this[_0x3cd12b(0xd4)][_0x3cd12b(0xc4)](_0x39124a);continue;case'1':if(this[_0x3cd12b(0xb3)])throw new Error(_0x35762d[_0x3cd12b(0xbe)]);continue;case'2':this[_0x3cd12b(0xbc)][_0x3cd12b(0xc4)](_0x523695);continue;case'3':this[_0x3cd12b(0xb3)]=!![];continue;case'4':this[_0x3cd12b(0xb8)]['init'](_0x6daa95);continue;case'5':this[_0x3cd12b(0xc9)]();continue;case'6':this[_0x3cd12b(0xc2)]['init'](_0x3dde5c);continue;case'7':this[_0x3cd12b(0xd3)]['init'](_0x47e5a4);continue;}break;}}['initListener'](){const _0x32d44e=_0x315ca2,_0x1609d9={'egojH':_0x32d44e(0xc1),'guKlU':function(_0x185cdd,_0xc59f21){return _0x185cdd!==_0xc59f21;},'OAPae':_0x32d44e(0xcb)};this[_0x32d44e(0xd4)][_0x32d44e(0xbf)]['onRecvMsg']=_0x4ec285=>{const _0x4b1912=_0x32d44e;for(const _0x84a423 of _0x4ec285){this[_0x4b1912(0xc6)][_0x4b1912(0xce)](_0x1609d9[_0x4b1912(0xd0)],_0x84a423);if(_0x1609d9[_0x4b1912(0xc0)](_0x84a423[_0x4b1912(0xc5)],_0x84a423['senderUin']))this[_0x4b1912(0xc6)]['emit'](_0x1609d9[_0x4b1912(0xb4)],_0x84a423);else this[_0x4b1912(0xc6)][_0x4b1912(0xce)]('message.private',_0x84a423);}};}}

View File

@@ -1,6 +1,5 @@
import { NodeIKernelMsgService } from '../qqnt/services';
import { MsgListener } from '../qqnt/listeners';
import { NodeIKernelMsgService } from '../qqnt/services';
/**
* NapCat 服务相关核心消息子类
*

View File

@@ -0,0 +1 @@
function _0x9047(){var _0x399ede=['766828eGzKxF','MessageService\x20already\x20initialized!','2512812SgSMPl','2004934dliUCE','6762110PoKhrt','msgId','3413739DAimwr','24wLcVai','3xLfKvf','addKernelMsgListener','9eDhMta','recallTime','YxiYy','kernelService','addMsg','DyriN','12iowjtN','catch','5574816hbzeXG','11gaJliD','onMsgInfoListUpdate','listener','NodeIKernelMsgListener','1870795SBjJcL','init'];_0x9047=function(){return _0x399ede;};return _0x9047();}var _0xe58c3b=_0x3c70;function _0x3c70(_0x18871b,_0x1be00b){var _0x904787=_0x9047();return _0x3c70=function(_0x3c70e3,_0x3a21ff){_0x3c70e3=_0x3c70e3-0xaa;var _0x40f85d=_0x904787[_0x3c70e3];return _0x40f85d;},_0x3c70(_0x18871b,_0x1be00b);}(function(_0x655b89,_0x1e0340){var _0x37666e=_0x3c70,_0x5490e0=_0x655b89();while(!![]){try{var _0x2b0e0a=parseInt(_0x37666e(0xb2))/0x1+parseInt(_0x37666e(0xb5))/0x2*(-parseInt(_0x37666e(0xba))/0x3)+-parseInt(_0x37666e(0xc2))/0x4*(parseInt(_0x37666e(0xb0))/0x5)+parseInt(_0x37666e(0xb4))/0x6+parseInt(_0x37666e(0xb8))/0x7*(parseInt(_0x37666e(0xb9))/0x8)+parseInt(_0x37666e(0xbc))/0x9*(parseInt(_0x37666e(0xb6))/0xa)+parseInt(_0x37666e(0xac))/0xb*(-parseInt(_0x37666e(0xab))/0xc);if(_0x2b0e0a===_0x1e0340)break;else _0x5490e0['push'](_0x5490e0['shift']());}catch(_0x18fe28){_0x5490e0['push'](_0x5490e0['shift']());}}}(_0x9047,0xb3880));import{Wrapper as _0x4cae93}from'../qqnt';import{MsgListener}from'../qqnt/listeners';import{dbUtil}from'@/common/utils/db';export class NapCatCoreServiceMessage{[_0xe58c3b(0xbf)]=null;[_0xe58c3b(0xae)];constructor(){var _0x9de117=_0xe58c3b,_0x45383c={'YxiYy':function(_0x2ed938,_0x250815){return _0x2ed938===_0x250815;}};this[_0x9de117(0xae)]=new MsgListener(),this[_0x9de117(0xae)][_0x9de117(0xad)]=_0x7e5061=>{_0x7e5061['map'](_0x1c0175=>{var _0x745192=_0x3c70;_0x45383c[_0x745192(0xbe)](_0x1c0175[_0x745192(0xbd)],'0')?dbUtil[_0x745192(0xc0)](_0x1c0175)['then']()[_0x745192(0xaa)]():dbUtil['getMsgByLongId'](_0x1c0175[_0x745192(0xb7)])['then'](_0x5c983f=>{var _0x34f473=_0x745192;_0x5c983f&&(_0x5c983f[_0x34f473(0xbd)]=_0x1c0175[_0x34f473(0xbd)],dbUtil['updateMsg'](_0x5c983f)['then']());});});};}[_0xe58c3b(0xb1)](_0x3ee9bb){var _0x5274ee=_0xe58c3b,_0x44b9bb={'DyriN':_0x5274ee(0xb3)};if(this[_0x5274ee(0xbf)]!==null)throw new Error(_0x44b9bb[_0x5274ee(0xc1)]);this[_0x5274ee(0xbf)]=_0x3ee9bb,this[_0x5274ee(0xbf)]['addKernelMsgListener'](new _0x4cae93[(_0x5274ee(0xaf))](this[_0x5274ee(0xae)]));}['addMsgListener'](_0x2298ab){var _0x307202=_0xe58c3b;return this[_0x307202(0xbf)]?.[_0x307202(0xbb)](new _0x4cae93[(_0x307202(0xaf))](_0x2298ab));}}

View File

@@ -1,6 +1,5 @@
import { NodeIKernelProfileService } from '../qqnt/services';
import { ProfileListener } from '../qqnt/listeners';
import { NodeIKernelProfileService } from '../qqnt/services';
export declare class NapCatCoreServiceProfile {
kernelService: NodeIKernelProfileService | null;
readonly listener: ProfileListener;

View File

@@ -0,0 +1 @@
var _0x48bc1b=_0x13f1;(function(_0x558acc,_0x4e11dd){var _0x26c1cb=_0x13f1,_0x4e194a=_0x558acc();while(!![]){try{var _0x36824a=-parseInt(_0x26c1cb(0xea))/0x1*(-parseInt(_0x26c1cb(0xdf))/0x2)+-parseInt(_0x26c1cb(0xe4))/0x3+parseInt(_0x26c1cb(0xdc))/0x4+-parseInt(_0x26c1cb(0xd4))/0x5*(parseInt(_0x26c1cb(0xd9))/0x6)+-parseInt(_0x26c1cb(0xd8))/0x7+-parseInt(_0x26c1cb(0xd6))/0x8*(parseInt(_0x26c1cb(0xdd))/0x9)+parseInt(_0x26c1cb(0xe3))/0xa;if(_0x36824a===_0x4e11dd)break;else _0x4e194a['push'](_0x4e194a['shift']());}catch(_0x46b8f8){_0x4e194a['push'](_0x4e194a['shift']());}}}(_0x5092,0x91aa4));import{Wrapper as _0xfa7cc2}from'../qqnt';import{ProfileListener}from'../qqnt/listeners';function _0x5092(){var _0x2900d5=['37685UemuFR','listener','8BnDJFF','getUserDetailInfoWithBizInfo','7631519XQRNzs','12TeCadp','JdYtn','bAjFp','3333448NWZVSj','9176859QENABb','init','88134MAINzP','uid','ProfileService\x20already\x20initialized!','kernelService','27005020lCTioM','3230040RfvEac','assign','lXSPI','addKernelProfileListener','onProfileDetailInfoChanged','NodeIKernelProfileListener','6sWLWxv'];_0x5092=function(){return _0x2900d5;};return _0x5092();}import{selfInfo}from'@/common/data';function _0x13f1(_0x5f18c0,_0x540775){var _0x509263=_0x5092();return _0x13f1=function(_0x13f164,_0x59f7d0){_0x13f164=_0x13f164-0xd4;var _0x372b3e=_0x509263[_0x13f164];return _0x372b3e;},_0x13f1(_0x5f18c0,_0x540775);}export class NapCatCoreServiceProfile{['kernelService']=null;['listener'];constructor(){var _0xd458d3=_0x13f1,_0xe9c763={'bAjFp':function(_0x5576f6,_0x3190c9){return _0x5576f6===_0x3190c9;}};this[_0xd458d3(0xd5)]=new ProfileListener(),this[_0xd458d3(0xd5)][_0xd458d3(0xe8)]=_0x4cf9f3=>{var _0x3b6a1f=_0xd458d3;_0xe9c763[_0x3b6a1f(0xdb)](_0x4cf9f3['uid'],selfInfo[_0x3b6a1f(0xe0)])&&Object[_0x3b6a1f(0xe5)](selfInfo,_0x4cf9f3);};}[_0x48bc1b(0xde)](_0x7f12ec){var _0x5d1935=_0x48bc1b,_0x470ee2={'JdYtn':function(_0x2a72b8,_0x5dbfbd){return _0x2a72b8!==_0x5dbfbd;},'lXSPI':_0x5d1935(0xe1)};if(_0x470ee2[_0x5d1935(0xda)](this[_0x5d1935(0xe2)],null))throw new Error(_0x470ee2[_0x5d1935(0xe6)]);this[_0x5d1935(0xe2)]=_0x7f12ec,this[_0x5d1935(0xe2)][_0x5d1935(0xe7)](new _0xfa7cc2[(_0x5d1935(0xe9))](this['listener'])),this[_0x5d1935(0xe2)][_0x5d1935(0xd7)](selfInfo[_0x5d1935(0xe0)],[0x1,0x0]);}['addProfileListener'](_0x373751){var _0x4f8139=_0x48bc1b;return this[_0x4f8139(0xe2)]?.[_0x4f8139(0xe7)](new _0xfa7cc2[(_0x4f8139(0xe9))](_0x373751));}}

View File

@@ -1,5 +1,4 @@
import { NodeIKernelProfileLikeService } from '../qqnt/services';
export declare class NapCatCoreServiceProfileLike {
kernelService: NodeIKernelProfileLikeService | null;
init(service: NodeIKernelProfileLikeService): void;

View File

@@ -0,0 +1 @@
function _0x35a7(_0x313b00,_0x4bc25c){var _0x4c8380=_0x4c83();return _0x35a7=function(_0x35a7fa,_0x27e7b9){_0x35a7fa=_0x35a7fa-0x1c6;var _0x219a32=_0x4c8380[_0x35a7fa];return _0x219a32;},_0x35a7(_0x313b00,_0x4bc25c);}function _0x4c83(){var _0x24c194=['2359462kxNBPN','177914ASztny','kernelService','8476240pUfHUf','6XmVTKl','999084SilHif','986060LsHjFG','init','2608085xOlwxW','ProfileLikeService\x20already\x20initialized!','896916qvbSNR'];_0x4c83=function(){return _0x24c194;};return _0x4c83();}var _0x56034e=_0x35a7;(function(_0x9ac874,_0x5658c8){var _0x1c1b57=_0x35a7,_0x1f0944=_0x9ac874();while(!![]){try{var _0x49c78a=parseInt(_0x1c1b57(0x1ce))/0x1+parseInt(_0x1c1b57(0x1c7))/0x2+-parseInt(_0x1c1b57(0x1cc))/0x3+-parseInt(_0x1c1b57(0x1c8))/0x4+parseInt(_0x1c1b57(0x1ca))/0x5*(-parseInt(_0x1c1b57(0x1c6))/0x6)+-parseInt(_0x1c1b57(0x1cd))/0x7+parseInt(_0x1c1b57(0x1d0))/0x8;if(_0x49c78a===_0x5658c8)break;else _0x1f0944['push'](_0x1f0944['shift']());}catch(_0x47f479){_0x1f0944['push'](_0x1f0944['shift']());}}}(_0x4c83,0x51410));export class NapCatCoreServiceProfileLike{[_0x56034e(0x1cf)]=null;[_0x56034e(0x1c9)](_0x2ae73f){var _0x10d8f2=_0x56034e;if(this['kernelService']!==null)throw new Error(_0x10d8f2(0x1cb));this[_0x10d8f2(0x1cf)]=_0x2ae73f;}}

View File

@@ -1,6 +1,5 @@
import { SessionListener } from './qqnt/listeners';
import { NodeIQQNTWrapperSession } from './qqnt/wrapper';
import { SessionListener } from './qqnt/listeners';
/**
* NapCat WrapperSession 相关核心类
*

View File

@@ -0,0 +1 @@
const _0x5058c7=_0x42e4;function _0x42e4(_0xa5745f,_0x4a76a4){const _0x216874=_0x2168();return _0x42e4=function(_0x42e4ea,_0x17633c){_0x42e4ea=_0x42e4ea-0x9c;let _0x2f1da2=_0x216874[_0x42e4ea];return _0x2f1da2;},_0x42e4(_0xa5745f,_0x4a76a4);}(function(_0x5ddc13,_0x1ea65a){const _0x2f3c09=_0x42e4,_0x1aa11f=_0x5ddc13();while(!![]){try{const _0x42e7d6=parseInt(_0x2f3c09(0xa2))/0x1*(parseInt(_0x2f3c09(0xaa))/0x2)+parseInt(_0x2f3c09(0xaf))/0x3*(-parseInt(_0x2f3c09(0xa7))/0x4)+parseInt(_0x2f3c09(0xa6))/0x5+-parseInt(_0x2f3c09(0xa5))/0x6*(parseInt(_0x2f3c09(0xae))/0x7)+-parseInt(_0x2f3c09(0xa0))/0x8+-parseInt(_0x2f3c09(0xad))/0x9+parseInt(_0x2f3c09(0xb4))/0xa*(parseInt(_0x2f3c09(0xab))/0xb);if(_0x42e7d6===_0x1ea65a)break;else _0x1aa11f['push'](_0x1aa11f['shift']());}catch(_0x1f9bed){_0x1aa11f['push'](_0x1aa11f['shift']());}}}(_0x2168,0x524ec));import{Wrapper as _0x248e36}from'./qqnt';import{genSessionConfig}from'./qqnt/sessionConfig';function _0x2168(){const _0x5082b0=['3667176kLRBBU','7nbUcOy','3HraMtU','yuhdf','onSessionInitComplete','init\x20failed','listener','2382770wUzkss','startNT','NodeIDispatcherAdapter','NodeIQQNTWrapperSession','lsJWO','wrapper','1576000wgnoGa','mjSrD','8MZFNOf','init','oyqoD','1427646wqxIUJ','2411690KyfivH','1695116ZXnhAD','error','NodeIKernelSessionListener','161106JKzogB','22iffJei','NodeIDependsAdapter'];_0x2168=function(){return _0x5082b0;};return _0x2168();}import{DependsAdapter,DispatcherAdapter}from'./qqnt/adapters';import{SessionListener}from'./qqnt/listeners';export class NapCatCoreSession{[_0x5058c7(0x9f)];[_0x5058c7(0xb3)];constructor(){const _0x568f2c=_0x5058c7;this[_0x568f2c(0x9f)]=new _0x248e36[(_0x568f2c(0x9d))](),this[_0x568f2c(0xb3)]=new SessionListener();}[_0x5058c7(0xa3)](_0x4e9daa,_0x199e8d,_0x48343d){const _0x1e96e2=_0x5058c7,_0x307a13={'zAKbV':function(_0x1d0b6a,_0x35ea4d){return _0x1d0b6a===_0x35ea4d;},'mjSrD':function(_0x4d7fdb,_0x26ec8f,_0x4570df,_0x5cfd45){return _0x4d7fdb(_0x26ec8f,_0x4570df,_0x5cfd45);},'yuhdf':_0x1e96e2(0xb2)};return new Promise((_0x4ff9bc,_0x3154af)=>{const _0x3f3d4a=_0x1e96e2,_0xc60dad={'oyqoD':function(_0x3aabe8,_0x3e7bab){return _0x307a13['zAKbV'](_0x3aabe8,_0x3e7bab);},'lsJWO':function(_0x3c4ffc,_0x7bf6af){return _0x3c4ffc(_0x7bf6af);}},_0x1b5472=_0x307a13[_0x3f3d4a(0xa1)](genSessionConfig,_0x4e9daa,_0x199e8d,_0x48343d);this[_0x3f3d4a(0xb3)][_0x3f3d4a(0xb1)]=_0x56a9ce=>{const _0x48227f=_0x3f3d4a;if(_0xc60dad[_0x48227f(0xa4)](_0x56a9ce,0x0))return _0x4ff9bc(0x0);_0xc60dad[_0x48227f(0x9e)](_0x3154af,_0x56a9ce);},this[_0x3f3d4a(0x9f)][_0x3f3d4a(0xa3)](_0x1b5472,new _0x248e36[(_0x3f3d4a(0xac))](new DependsAdapter()),new _0x248e36[(_0x3f3d4a(0x9c))](new DispatcherAdapter()),new _0x248e36[(_0x3f3d4a(0xa9))](this[_0x3f3d4a(0xb3)]));try{this[_0x3f3d4a(0x9f)][_0x3f3d4a(0xb5)](0x0);}catch(_0x8540c){try{this['wrapper'][_0x3f3d4a(0xb5)]();}catch(_0x21ed3c){console[_0x3f3d4a(0xa8)](_0x307a13[_0x3f3d4a(0xb0)],_0x21ed3c);}}});}}

View File

@@ -1,6 +1,5 @@
import { NodeIGlobalAdapter } from './qqnt/adapters';
import { NodeIQQNTWrapperEngine, NodeQQNTWrapperUtil, EnginInitDesktopConfig } from './qqnt/wrapper';
import { NodeIGlobalAdapter } from './qqnt/adapters';
/**
* NapCat Wrapper 相关核心类
*

View File

@@ -0,0 +1 @@
const _0x3afff3=_0x4e1f;(function(_0x1cbabe,_0x1dbea3){const _0x7264a=_0x4e1f,_0x5729bf=_0x1cbabe();while(!![]){try{const _0x746bc0=parseInt(_0x7264a(0x1c4))/0x1+parseInt(_0x7264a(0x1cd))/0x2*(parseInt(_0x7264a(0x1c6))/0x3)+-parseInt(_0x7264a(0x1d6))/0x4*(parseInt(_0x7264a(0x1c2))/0x5)+-parseInt(_0x7264a(0x1d4))/0x6*(-parseInt(_0x7264a(0x1ce))/0x7)+parseInt(_0x7264a(0x1c3))/0x8*(parseInt(_0x7264a(0x1d2))/0x9)+parseInt(_0x7264a(0x1cb))/0xa*(parseInt(_0x7264a(0x1d7))/0xb)+-parseInt(_0x7264a(0x1d3))/0xc;if(_0x746bc0===_0x1dbea3)break;else _0x5729bf['push'](_0x5729bf['shift']());}catch(_0x2c0a1c){_0x5729bf['push'](_0x5729bf['shift']());}}}(_0x4665,0x5a16e));import _0x13aee7 from'node:os';function _0x4665(){const _0xc0432f=['71442jPsxYm','engine','dataPathGlobal','NodeQQNTWrapperUtil','resolve','211310NbVuvE','getNTUserDataInfoConfig','54yTvOtN','3087mzejPD','init','initWithDeskTopConfig','util','342423LybvYW','14961300GXbwtl','270ygoiYM','./nt_qq/global','112YYffyP','275KLmQte','homedir','NodeIQQNTWrapperEngine','./.config/QQ','2645wnPsTv','56hCBFSV','173166NnBbHV','dataPath'];_0x4665=function(){return _0xc0432f;};return _0x4665();}import _0xc8cf8f from'node:fs';import _0x3cadeb from'node:path';function _0x4e1f(_0x5988f9,_0x4170d6){const _0x46652a=_0x4665();return _0x4e1f=function(_0x4e1f06,_0x2fcf00){_0x4e1f06=_0x4e1f06-0x1bf;let _0x19b53f=_0x46652a[_0x4e1f06];return _0x19b53f;},_0x4e1f(_0x5988f9,_0x4170d6);}import{Wrapper as _0x49df5e}from'./qqnt';export class NapCatCoreWrapper{[_0x3afff3(0x1c7)];['util'];constructor(){const _0x4b8980=_0x3afff3;this[_0x4b8980(0x1c7)]=new _0x49df5e[(_0x4b8980(0x1c0))](),this['util']=new _0x49df5e[(_0x4b8980(0x1c9))]();}get[_0x3afff3(0x1c5)](){const _0x495f8e=_0x3afff3;let _0x3245c2=this[_0x495f8e(0x1d1)][_0x495f8e(0x1cc)]();return!_0x3245c2&&(_0x3245c2=_0x3cadeb[_0x495f8e(0x1ca)](_0x13aee7[_0x495f8e(0x1bf)](),_0x495f8e(0x1c1)),_0xc8cf8f['mkdirSync'](_0x3245c2,{'recursive':!![]})),_0x3245c2;}get[_0x3afff3(0x1c8)](){const _0x5a9b09=_0x3afff3;return _0x3cadeb['resolve'](this['dataPath'],_0x5a9b09(0x1d5));}[_0x3afff3(0x1cf)](_0x662be2,_0x5f1513){const _0x24824e=_0x3afff3;this['engine'][_0x24824e(0x1d0)](_0x662be2,_0x5f1513);}}