+
+历史日志
+
### 稳定版 v3.5.0
主要更新内容:
@@ -123,10 +158,6 @@
- 优化首页“九宫格”显示(使用内置对话预设、不再依赖后端配置)
- Midjourney 绘图支持 `图生图`、`人脸一致性`、`风格一致性`、`MJ版本`自定义参数等自定义选择。
-
-
-历史日志
-
### 稳定版 v3.3.0
- 重构流式回复逻辑,加入错误反馈并优化用户端等待动画。
diff --git a/dist/app.module.js b/dist/app.module.js
index 23dbb3a..ddc4f88 100644
--- a/dist/app.module.js
+++ b/dist/app.module.js
@@ -50,9 +50,17 @@ AppModule = __decorate([
database_module_1.DatabaseModule,
serve_static_1.ServeStaticModule.forRoot({
rootPath: (0, path_1.join)(__dirname, '..', 'public/admin'),
- serveRoot: '/admin',
+ serveRoot: process.env.ADMIN_SERVE_ROOT || '/admin',
}, {
- rootPath: (0, path_1.join)(__dirname, '..', 'public'),
+ rootPath: (0, path_1.join)(__dirname, '..', 'public/file'),
+ serveRoot: '/file',
+ serveStaticOptions: {
+ setHeaders: (res, path, stat) => {
+ res.set('Access-Control-Allow-Origin', '*');
+ },
+ },
+ }, {
+ rootPath: (0, path_1.join)(__dirname, '..', 'public/chat'),
serveRoot: '/',
}),
user_module_1.UserModule,
diff --git a/dist/common/filters/allExceptions.filter.js b/dist/common/filters/allExceptions.filter.js
index e07b1bd..8dbb526 100644
--- a/dist/common/filters/allExceptions.filter.js
+++ b/dist/common/filters/allExceptions.filter.js
@@ -7,20 +7,31 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AllExceptionsFilter = void 0;
-const common_1 = require("@nestjs/common");
const result_1 = require("../result");
+const common_1 = require("@nestjs/common");
let AllExceptionsFilter = class AllExceptionsFilter {
catch(exception, host) {
const ctx = host.switchToHttp();
const response = ctx.getResponse();
const request = ctx.getRequest();
- const exceptionRes = exception.getResponse() || 'inter server error';
- const message = (exceptionRes === null || exceptionRes === void 0 ? void 0 : exceptionRes.message) ? (Array.isArray(exceptionRes) ? exceptionRes['message'][0] : exceptionRes['message']) : exceptionRes;
- const statusCode = exception.getStatus() || 400;
- const status = exception instanceof common_1.HttpException ? exception.getStatus() : common_1.HttpStatus.INTERNAL_SERVER_ERROR;
- response.status(status);
- response.header('Content-Type', 'application/json; charset=utf-8');
- response.send(result_1.Result.fail(statusCode, Array.isArray(message) ? message[0] : message));
+ const exceptionRes = exception.getResponse() || 'Internal server error';
+ const message = (exceptionRes === null || exceptionRes === void 0 ? void 0 : exceptionRes.message)
+ ? Array.isArray(exceptionRes)
+ ? exceptionRes['message'][0]
+ : exceptionRes['message']
+ : exceptionRes;
+ const status = exception instanceof common_1.HttpException
+ ? exception.getStatus()
+ : common_1.HttpStatus.INTERNAL_SERVER_ERROR;
+ if (status === common_1.HttpStatus.NOT_FOUND) {
+ response.redirect('/');
+ }
+ else {
+ const statusCode = status || 400;
+ response.status(status);
+ response.header('Content-Type', 'application/json; charset=utf-8');
+ response.send(result_1.Result.fail(statusCode, Array.isArray(message) ? message[0] : message));
+ }
}
};
AllExceptionsFilter = __decorate([
diff --git a/dist/common/utils/getTokenCount.js b/dist/common/utils/getTokenCount.js
index 0f309d4..9ceb75f 100644
--- a/dist/common/utils/getTokenCount.js
+++ b/dist/common/utils/getTokenCount.js
@@ -1,7 +1,7 @@
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.getTokenCount = void 0;
-const tiktoken_1 = require("@dqbd/tiktoken");
+const gpt_tokenizer_1 = require("gpt-tokenizer");
const getTokenCount = async (input) => {
let text = '';
if (Array.isArray(input)) {
@@ -25,7 +25,6 @@ const getTokenCount = async (input) => {
text = String(input);
}
text = text.replace(/<\|endoftext\|>/g, '');
- const tokenizer = (0, tiktoken_1.get_encoding)('cl100k_base');
- return tokenizer.encode(text).length;
+ return (0, gpt_tokenizer_1.encode)(text).length;
};
exports.getTokenCount = getTokenCount;
diff --git a/dist/main.js b/dist/main.js
index d114bbc..9ef412b 100644
--- a/dist/main.js
+++ b/dist/main.js
@@ -32,7 +32,12 @@ async function bootstrap() {
app.useLogger(app.get(custom_logger_service_1.CustomLoggerService));
app.use(compression());
app.use(xmlBodyParser());
- app.enableCors();
+ app.enableCors({
+ origin: '*',
+ methods: 'GET,HEAD,PUT,PATCH,POST,DELETE',
+ preflightContinue: false,
+ optionsSuccessStatus: 204,
+ });
app.setGlobalPrefix('/api');
app.useGlobalInterceptors(new transform_interceptor_1.TransformInterceptor());
app.useGlobalFilters(new typeOrmQueryFailed_filter_1.TypeOrmQueryFailedFilter());
diff --git a/dist/modules/ai/lumaVideo.service.js b/dist/modules/ai/lumaVideo.service.js
index 8fd3048..5da1b3e 100644
--- a/dist/modules/ai/lumaVideo.service.js
+++ b/dist/modules/ai/lumaVideo.service.js
@@ -13,9 +13,13 @@ exports.LumaVideoService = void 0;
const common_1 = require("@nestjs/common");
const axios_1 = require("axios");
const chatLog_service_1 = require("../chatLog/chatLog.service");
+const globalConfig_service_1 = require("../globalConfig/globalConfig.service");
+const upload_service_1 = require("../upload/upload.service");
let LumaVideoService = class LumaVideoService {
- constructor(chatLogService) {
+ constructor(chatLogService, globalConfigService, uploadService) {
this.chatLogService = chatLogService;
+ this.globalConfigService = globalConfigService;
+ this.uploadService = uploadService;
}
async lumaVideo(inputs) {
var _a, _b, _c;
@@ -32,12 +36,15 @@ let LumaVideoService = class LumaVideoService {
let payloadJson = {};
const headers = { Authorization: `Bearer ${apiKey}` };
url = `${proxyUrl}/luma/generations/`;
- const aspectRatio = '16:9';
+ const aspectRatio = extraParam.size || '16:9';
payloadJson = {
user_prompt: prompt,
aspect_ratio: aspectRatio,
expand_prompt: true,
};
+ if (fileInfo) {
+ payloadJson['image_url'] = fileInfo;
+ }
common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`, 'LumaService');
try {
response = await axios_1.default.post(url, payloadJson, { headers });
@@ -150,6 +157,25 @@ let LumaVideoService = class LumaVideoService {
result.taskId = responses.id;
result.taskData = JSON.stringify(responses);
result.fileInfo = responses.video.url;
+ try {
+ const localStorageStatus = await this.globalConfigService.getConfigs([
+ 'localStorageStatus',
+ ]);
+ if (Number(localStorageStatus)) {
+ const now = new Date();
+ const year = now.getFullYear();
+ const month = String(now.getMonth() + 1).padStart(2, '0');
+ const day = String(now.getDate()).padStart(2, '0');
+ const currentDate = `${year}${month}/${day}`;
+ result.fileInfo = await this.uploadService.uploadFileFromUrl({
+ url: responses.video.download_url,
+ dir: `video/luma/${currentDate}`,
+ });
+ }
+ }
+ catch (error) {
+ common_1.Logger.error(`上传文件失败: ${error.message}`, 'LumaService');
+ }
result.answer = `提示词: "${responses.prompt}"`;
onSuccess(result);
clearInterval(interval);
@@ -180,6 +206,8 @@ let LumaVideoService = class LumaVideoService {
};
LumaVideoService = __decorate([
(0, common_1.Injectable)(),
- __metadata("design:paramtypes", [chatLog_service_1.ChatLogService])
+ __metadata("design:paramtypes", [chatLog_service_1.ChatLogService,
+ globalConfig_service_1.GlobalConfigService,
+ upload_service_1.UploadService])
], LumaVideoService);
exports.LumaVideoService = LumaVideoService;
diff --git a/dist/modules/ai/midjourneyDraw.service.js b/dist/modules/ai/midjourneyDraw.service.js
index 0aeca54..695ed13 100644
--- a/dist/modules/ai/midjourneyDraw.service.js
+++ b/dist/modules/ai/midjourneyDraw.service.js
@@ -22,8 +22,8 @@ let MidjourneyService = class MidjourneyService {
this.chatLogService = chatLogService;
}
async midjourneyDraw(inputs) {
- var _a, _b;
- const { id, apiKey, proxyUrl, action, drawId, prompt, usePrompt, customId, timeout, assistantLogId, } = inputs;
+ var _a, _b, _c, _d;
+ const { id, apiKey, proxyUrl, action, drawId, prompt, usePrompt, customId, timeout, fileInfo, assistantLogId, } = inputs;
let result = {
text: '',
fileInfo: '',
@@ -34,6 +34,8 @@ let MidjourneyService = class MidjourneyService {
let response;
let retryCount = 0;
let url = '';
+ const headers = { 'mj-api-secret': apiKey };
+ common_1.Logger.debug(`当前任务类型: ${action}`, 'MidjourneyService');
while (retryCount < 3) {
let payloadJson = {};
try {
@@ -41,15 +43,40 @@ let MidjourneyService = class MidjourneyService {
url = `${proxyUrl}/mj/submit/imagine`;
payloadJson = { prompt: usePrompt };
}
+ else if (action === 'DESCRIBE') {
+ url = `${proxyUrl}/mj/submit/describe`;
+ if (fileInfo) {
+ const response = await fetch(fileInfo);
+ const blob = await response.blob();
+ const buffer = Buffer.from(await blob.arrayBuffer());
+ const base64String = buffer.toString('base64');
+ payloadJson = { base64: `data:image/png;base64,${base64String}` };
+ }
+ else {
+ return;
+ }
+ }
+ else if (action === 'PICREADER') {
+ url = `${proxyUrl}/mj/submit/action`;
+ payloadJson = { taskId: drawId, customId: customId };
+ response = await axios_1.default.post(url, payloadJson, { headers });
+ if ((response === null || response === void 0 ? void 0 : response.status) === 200 && ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result)) {
+ url = `${proxyUrl}/mj/submit/modal`;
+ payloadJson = { taskId: (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result };
+ }
+ }
else {
url = `${proxyUrl}/mj/submit/action`;
payloadJson = { taskId: drawId, customId: customId };
}
- const headers = { 'mj-api-secret': apiKey };
common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`, 'MidjourneyService');
response = await axios_1.default.post(url, payloadJson, { headers });
- if ((_a = response === null || response === void 0 ? void 0 : response.data) === null || _a === void 0 ? void 0 : _a.result) {
- result.drawId = (_b = response === null || response === void 0 ? void 0 : response.data) === null || _b === void 0 ? void 0 : _b.result;
+ if ((response === null || response === void 0 ? void 0 : response.status) === 200 && ((_c = response === null || response === void 0 ? void 0 : response.data) === null || _c === void 0 ? void 0 : _c.result)) {
+ common_1.Logger.debug(`收到响应: ${JSON.stringify(response.data)}`, 'MidjourneyService');
+ result.drawId = (_d = response === null || response === void 0 ? void 0 : response.data) === null || _d === void 0 ? void 0 : _d.result;
+ result.state = 2;
+ result.answer = '绘画任务提交成功';
+ common_1.Logger.log(`绘画任务提交成功, 绘画ID: ${response.data.result}`, 'MidjourneyService');
break;
}
else {
@@ -59,6 +86,8 @@ let MidjourneyService = class MidjourneyService {
catch (error) {
retryCount++;
if (retryCount >= 3) {
+ result.answer = '任务提交失败,请检查提示词后重试';
+ result.status = 5;
common_1.Logger.log(`绘画任务提交失败, 请检查后台配置或者稍后重试! ${error}`, 'MidjourneyService');
}
}
@@ -66,7 +95,7 @@ let MidjourneyService = class MidjourneyService {
this.pollMjDrawingResult({
proxyUrl,
apiKey,
- drawId: response.data.result,
+ drawId: result.drawId,
timeout,
prompt,
onSuccess: async (data) => {
@@ -78,7 +107,7 @@ let MidjourneyService = class MidjourneyService {
drawId: data === null || data === void 0 ? void 0 : data.drawId,
customId: data === null || data === void 0 ? void 0 : data.customId,
});
- common_1.Logger.log('绘图成功!');
+ common_1.Logger.log('绘图成功!', 'MidjourneyService');
},
onDrawing: async (data) => {
await this.chatLogService.updateChatLog(assistantLogId, {
@@ -86,19 +115,18 @@ let MidjourneyService = class MidjourneyService {
progress: data === null || data === void 0 ? void 0 : data.progress,
status: 2,
});
- common_1.Logger.log(`绘制中!绘制进度${data === null || data === void 0 ? void 0 : data.progress}`);
+ common_1.Logger.log(`绘制中!绘制进度${data === null || data === void 0 ? void 0 : data.progress}`, 'MidjourneyService');
},
onFailure: async (data) => {
await this.chatLogService.updateChatLog(assistantLogId, {
answer: '绘图失败',
status: data.status,
});
- common_1.Logger.log('绘图失败');
+ common_1.Logger.log('绘图失败', 'MidjourneyService');
},
}).catch((error) => {
common_1.Logger.error('查询绘图结果时发生错误:', error, 'MidjourneyService');
});
- common_1.Logger.log(`绘画任务提交成功, 绘画ID: ${response.data.result}`, 'MidjourneyService');
return result;
}
async pollMjDrawingResult(inputs) {
@@ -108,7 +136,6 @@ let MidjourneyService = class MidjourneyService {
'mjProxyImgUrl',
'mjNotUseProxy',
]);
- let response;
let result = {
fileInfo: '',
drawId: '',
@@ -117,11 +144,9 @@ let MidjourneyService = class MidjourneyService {
progress: 0,
answer: '',
};
- let payloadJson = {};
const startTime = Date.now();
const POLL_INTERVAL = 5000;
let retryCount = 0;
- let pollingCount = 0;
try {
while (Date.now() - startTime < timeout) {
await new Promise((resolve) => setTimeout(resolve, POLL_INTERVAL));
@@ -133,6 +158,7 @@ let MidjourneyService = class MidjourneyService {
const url = `${proxyUrl}/mj/task/${drawId}/fetch`;
const res = await axios_1.default.get(url, { headers });
const responses = res.data;
+ common_1.Logger.debug(`查询结果: ${JSON.stringify(responses)}`, 'MidjourneyService');
if (responses.status === 'SUCCESS') {
common_1.Logger.log(`绘制成功, 获取到的URL: ${responses.imageUrl}`, 'MidjourneyService');
let processedUrl = responses.imageUrl;
@@ -150,7 +176,7 @@ let MidjourneyService = class MidjourneyService {
}
if (mjNotSaveImg !== '1') {
try {
- common_1.Logger.log(`------> 开始上传图片!!!`);
+ common_1.Logger.log(`------> 开始上传图片!!!`, 'MidjourneyService');
const now = new Date();
const year = now.getFullYear();
const month = String(now.getMonth() + 1).padStart(2, '0');
diff --git a/dist/modules/ai/openaiDraw.service.js b/dist/modules/ai/openaiDraw.service.js
index 3e21ad9..490a0a1 100644
--- a/dist/modules/ai/openaiDraw.service.js
+++ b/dist/modules/ai/openaiDraw.service.js
@@ -25,10 +25,34 @@ let OpenAIDrawService = OpenAIDrawService_1 = class OpenAIDrawService {
this.openAIChatService = openAIChatService;
this.logger = new common_1.Logger(OpenAIDrawService_1.name);
}
- async dalleDraw(inputs, messagesHistory) {
+ async dalleDraw(inputs, buildMessageFromParentMessageId) {
var _a, _b, _c, _d;
common_1.Logger.log('开始提交 Dalle 绘图任务 ', 'DrawService');
- const { apiKey, model, proxyUrl, prompt, extraParam, timeout, onSuccess, onFailure, } = inputs;
+ const { apiKey, model, proxyUrl, prompt, extraParam, timeout, onSuccess, onFailure, groupId, } = inputs;
+ const isDalleChat = await this.globalConfigService.getConfigs([
+ 'isDalleChat',
+ ]);
+ let drawPrompt;
+ if (isDalleChat === '1') {
+ try {
+ common_1.Logger.log('已开启连续绘画模式', 'DalleDraw');
+ const { messagesHistory } = await buildMessageFromParentMessageId(`参考上文,结合我的需求,给出绘画描述。我的需求是:${prompt}`, {
+ groupId,
+ systemMessage: '你是一个绘画提示词生成工具,请根据用户的要求,结合上下文,用一段文字,描述用户需要的绘画需求,不用包含任何礼貌性的寒暄,只需要场景的描述,可以适当联想',
+ maxModelTokens: 8000,
+ maxRounds: 5,
+ fileInfo: '',
+ }, this.chatLogService);
+ drawPrompt = await this.openAIChatService.chatFree(prompt, undefined, messagesHistory);
+ }
+ catch (error) {
+ console.error('调用chatFree失败:', error);
+ drawPrompt = prompt;
+ }
+ }
+ else {
+ drawPrompt = prompt;
+ }
const size = (extraParam === null || extraParam === void 0 ? void 0 : extraParam.size) || '1024x1024';
let result = { answer: '', fileInfo: '', status: 2 };
try {
@@ -42,7 +66,7 @@ let OpenAIDrawService = OpenAIDrawService_1 = class OpenAIDrawService {
},
data: {
model: model,
- prompt: prompt,
+ prompt: drawPrompt,
size,
},
};
diff --git a/dist/modules/ai/stableDiffusion.service.js b/dist/modules/ai/stableDiffusion.service.js
index 462662c..35f8ffa 100644
--- a/dist/modules/ai/stableDiffusion.service.js
+++ b/dist/modules/ai/stableDiffusion.service.js
@@ -24,7 +24,7 @@ let StableDiffusionService = StableDiffusionService_1 = class StableDiffusionSer
this.logger = new common_1.Logger(StableDiffusionService_1.name);
}
async sdxl(messagesHistory, inputs) {
- const { onGenerate, onSuccess, onFailure, apiKey, model, proxyUrl, modelName, timeout, chatId, isFileUpload, prompt, } = inputs;
+ const { onSuccess, onFailure, apiKey, model, proxyUrl, modelName, timeout, chatId, prompt, } = inputs;
let result = {
answer: '',
model: model,
@@ -58,12 +58,28 @@ let StableDiffusionService = StableDiffusionService_1 = class StableDiffusionSer
const match = content.match(regex);
if (match && match[1]) {
result.fileInfo = match[1];
+ try {
+ const localStorageStatus = await this.globalConfigService.getConfigs(['localStorageStatus']);
+ if (Number(localStorageStatus)) {
+ const now = new Date();
+ const year = now.getFullYear();
+ const month = String(now.getMonth() + 1).padStart(2, '0');
+ const day = String(now.getDate()).padStart(2, '0');
+ const currentDate = `${year}${month}/${day}`;
+ result.fileInfo = await this.uploadService.uploadFileFromUrl({
+ url: result.fileInfo,
+ dir: `images/stable-diffusion/${currentDate}`,
+ });
+ }
+ }
+ catch (error) {
+ common_1.Logger.error(`上传文件失败: ${error.message}`, 'StableDiffusionService');
+ }
console.log('找到链接', match[1]);
}
else {
console.log('没有找到链接');
}
- let revised_prompt_cn;
result.answer = `${prompt} 绘制成功`;
if (result.fileInfo) {
onSuccess(result);
diff --git a/dist/modules/ai/suno.service.js b/dist/modules/ai/suno.service.js
index 21d18e4..4272df0 100644
--- a/dist/modules/ai/suno.service.js
+++ b/dist/modules/ai/suno.service.js
@@ -13,9 +13,13 @@ exports.SunoService = void 0;
const common_1 = require("@nestjs/common");
const axios_1 = require("axios");
const chatLog_service_1 = require("../chatLog/chatLog.service");
+const globalConfig_service_1 = require("../globalConfig/globalConfig.service");
+const upload_service_1 = require("../upload/upload.service");
let SunoService = class SunoService {
- constructor(chatLogService) {
+ constructor(chatLogService, uploadService, globalConfigService) {
this.chatLogService = chatLogService;
+ this.uploadService = uploadService;
+ this.globalConfigService = globalConfigService;
}
async suno(inputs) {
var _a, _b, _c;
@@ -46,7 +50,7 @@ let SunoService = class SunoService {
throw new Error('taskData格式错误');
}
}
- common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`);
+ common_1.Logger.log(`正在准备发送请求到 ${url},payload: ${JSON.stringify(payloadJson)}, headers: ${JSON.stringify(headers)}`, 'SunoService');
try {
response = await axios_1.default.post(url, payloadJson, { headers });
}
@@ -164,6 +168,7 @@ let SunoService = class SunoService {
try {
const res = await axios_1.default.get(url, { headers });
const responses = res.data.data;
+ common_1.Logger.debug(`轮询结果: ${JSON.stringify(responses)}`, 'SunoService');
if (action === 'LYRICS') {
if (responses.status === 'SUCCESS') {
result.taskId = responses.data.id;
@@ -179,7 +184,6 @@ let SunoService = class SunoService {
}
}
if (action === 'MUSIC') {
- const data = responses.data;
if (responses.data) {
const data = responses.data;
result.taskData = JSON.stringify(data);
@@ -195,30 +199,100 @@ let SunoService = class SunoService {
.filter((url) => url);
const titles = data.map((item) => item.title);
const firstTitle = titles.length > 0 ? titles[0] : '音乐已生成';
- const audioUrls = validAudioUrls.join(',');
- const videoUrls = validVideoUrls.join(',');
- const imageUrls = validImageUrls.join(',');
- result.audioUrl = audioUrls;
- result.videoUrl = videoUrls;
- result.fileInfo = imageUrls;
- if (validAudioUrls.length === 2) {
- result.status = 3;
- result.answer = firstTitle;
+ if (responses.status === 'SUCCESS') {
+ let audioUrls = [];
+ let videoUrls = [];
+ let imageUrls = [];
+ try {
+ const localStorageStatus = await this.globalConfigService.getConfigs([
+ 'localStorageStatus',
+ ]);
+ if (Number(localStorageStatus)) {
+ const now = new Date();
+ const year = now.getFullYear();
+ const month = String(now.getMonth() + 1).padStart(2, '0');
+ const day = String(now.getDate()).padStart(2, '0');
+ const currentDate = `${year}${month}/${day}`;
+ for (const url of validAudioUrls) {
+ try {
+ const uploadedUrl = await this.uploadService.uploadFileFromUrl({
+ url: url,
+ dir: `audio/suno-music/${currentDate}`,
+ });
+ audioUrls.push(uploadedUrl);
+ }
+ catch (error) {
+ common_1.Logger.error(`上传音频文件失败: ${error.message}`, 'SunoService');
+ audioUrls.push(url);
+ }
+ }
+ for (const url of validVideoUrls) {
+ try {
+ const uploadedUrl = await this.uploadService.uploadFileFromUrl({
+ url: url,
+ dir: `video/suno-music/${currentDate}`,
+ });
+ videoUrls.push(uploadedUrl);
+ }
+ catch (error) {
+ common_1.Logger.error(`上传视频文件失败: ${error.message}`, 'SunoService');
+ videoUrls.push(url);
+ }
+ }
+ for (const url of validImageUrls) {
+ try {
+ const uploadedUrl = await this.uploadService.uploadFileFromUrl({
+ url: url,
+ dir: `images/suno-music/${currentDate}`,
+ });
+ imageUrls.push(uploadedUrl);
+ }
+ catch (error) {
+ common_1.Logger.error(`上传图片文件失败: ${error.message}`, 'SunoService');
+ imageUrls.push(url);
+ }
+ }
+ }
+ else {
+ audioUrls = validAudioUrls;
+ videoUrls = validVideoUrls;
+ imageUrls = validImageUrls;
+ }
+ }
+ catch (error) {
+ common_1.Logger.error(`获取配置失败: ${error.message}`, 'LumaService');
+ audioUrls = validAudioUrls;
+ videoUrls = validVideoUrls;
+ imageUrls = validImageUrls;
+ }
+ result.audioUrl = audioUrls.join(',');
+ result.videoUrl = videoUrls.join(',');
+ result.fileInfo = imageUrls.join(',');
+ if (validAudioUrls.length === 2) {
+ result.status = 3;
+ result.answer = firstTitle;
+ }
+ else {
+ result.status = 2;
+ result.progress = responses === null || responses === void 0 ? void 0 : responses.progress;
+ result.answer = `当前生成进度 ${responses === null || responses === void 0 ? void 0 : responses.progress}`;
+ }
+ common_1.Logger.debug(`音乐生成成功: ${JSON.stringify(data)}`, 'SunoService');
+ onSuccess(result);
+ return;
}
else {
+ result.audioUrl = validAudioUrls.join(',');
+ result.videoUrl = validVideoUrls.join(',');
+ result.fileInfo = validImageUrls.join(',');
result.status = 2;
result.progress = responses === null || responses === void 0 ? void 0 : responses.progress;
- result.answer = `当前生成进度 ${responses === null || responses === void 0 ? void 0 : responses.progress}`;
+ result.answer = firstTitle;
+ onAudioSuccess(result);
}
- onAudioSuccess(result);
}
}
- if (responses.status === 'SUCCESS') {
- common_1.Logger.debug(`音乐生成成功: ${JSON.stringify(data)}`, 'SunoService');
- onSuccess(result);
- return;
- }
- if (result.progress && result.status === 2) {
+ if (!result.audioUrl && result.progress && result.status === 2) {
onGenerating(result);
}
}
@@ -242,6 +316,8 @@ let SunoService = class SunoService {
};
SunoService = __decorate([
(0, common_1.Injectable)(),
- __metadata("design:paramtypes", [chatLog_service_1.ChatLogService])
+ __metadata("design:paramtypes", [chatLog_service_1.ChatLogService,
+ upload_service_1.UploadService,
+ globalConfig_service_1.GlobalConfigService])
], SunoService);
exports.SunoService = SunoService;
diff --git a/dist/modules/app/app.service.js b/dist/modules/app/app.service.js
index 4e8cdb7..dc46768 100644
--- a/dist/modules/app/app.service.js
+++ b/dist/modules/app/app.service.js
@@ -300,7 +300,6 @@ let AppService = class AppService {
}
async updateSystemApp(body) {
const { id, name } = body;
- common_1.Logger.log(`尝试更新应用: ${name} (ID: ${id})`);
const existingApp = await this.appEntity.findOne({
where: { name, id: (0, typeorm_2.Not)(id) },
});
@@ -310,7 +309,6 @@ let AppService = class AppService {
}
const res = await this.appEntity.update({ id }, body);
if (res.affected > 0) {
- common_1.Logger.log(`修改系统应用信息成功: ${name}`);
return '修改系统应用信息成功';
}
common_1.Logger.error(`修改系统应用信息失败:${name}`);
diff --git a/dist/modules/auth/auth.controller.js b/dist/modules/auth/auth.controller.js
index edf6906..af2c7d3 100644
--- a/dist/modules/auth/auth.controller.js
+++ b/dist/modules/auth/auth.controller.js
@@ -43,9 +43,6 @@ let AuthController = class AuthController {
async getInfo(req) {
return this.authService.getInfo(req);
}
- async captcha(parmas) {
- return this.authService.captcha(parmas);
- }
async sendCode(parmas) {
return this.authService.sendCode(parmas);
}
@@ -109,14 +106,6 @@ __decorate([
__metadata("design:paramtypes", [Object]),
__metadata("design:returntype", Promise)
], AuthController.prototype, "getInfo", null);
-__decorate([
- (0, common_1.Post)('captcha'),
- (0, swagger_1.ApiOperation)({ summary: '获取一个图形验证码' }),
- __param(0, (0, common_1.Body)()),
- __metadata("design:type", Function),
- __metadata("design:paramtypes", [Object]),
- __metadata("design:returntype", Promise)
-], AuthController.prototype, "captcha", null);
__decorate([
(0, common_1.Post)('sendCode'),
(0, swagger_1.ApiOperation)({ summary: '发送验证码' }),
diff --git a/dist/modules/auth/auth.service.js b/dist/modules/auth/auth.service.js
index 6c72db4..93214b9 100644
--- a/dist/modules/auth/auth.service.js
+++ b/dist/modules/auth/auth.service.js
@@ -21,7 +21,6 @@ const jwt_1 = require("@nestjs/jwt");
const typeorm_1 = require("@nestjs/typeorm");
const bcrypt = require("bcryptjs");
const os = require("os");
-const svgCaptcha = require("svg-captcha");
const typeorm_2 = require("typeorm");
const config_entity_1 = require("../globalConfig/config.entity");
const mailer_service_1 = require("../mailer/mailer.service");
@@ -44,7 +43,6 @@ let AuthService = class AuthService {
this.getIp();
}
async register(body, req) {
- await this.verificationService.verifyCaptcha(body);
const { password, contact, code, invitedBy } = body;
let email = '', phone = '';
const isEmail = /\S+@\S+\.\S+/.test(contact);
@@ -99,11 +97,11 @@ let AuthService = class AuthService {
throw new common_1.HttpException('请输入验证码', common_1.HttpStatus.BAD_REQUEST);
}
if (!redisCode) {
- common_1.Logger.log(`验证码过期: ${contact}`);
+ common_1.Logger.log(`验证码过期: ${contact}`, 'authService');
throw new common_1.HttpException('验证码已过期,请重新发送!', common_1.HttpStatus.BAD_REQUEST);
}
if (code !== redisCode) {
- common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`);
+ common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`, 'authService');
throw new common_1.HttpException('验证码填写错误,请重新输入!', common_1.HttpStatus.BAD_REQUEST);
}
}
@@ -197,11 +195,11 @@ let AuthService = class AuthService {
const key = `${nameSpace}:CODE:${contact}`;
const redisCode = await this.redisCacheService.get({ key });
if (!redisCode) {
- common_1.Logger.log(`验证码过期: ${contact}`);
+ common_1.Logger.log(`验证码过期: ${contact}`, 'authService');
throw new common_1.HttpException('验证码已过期,请重新发送!', common_1.HttpStatus.BAD_REQUEST);
}
if (code !== redisCode) {
- common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`);
+ common_1.Logger.log(`验证码错误: ${contact} 输入的验证码: ${code}, 期望的验证码: ${redisCode}`, 'authService');
throw new common_1.HttpException('验证码填写错误,请重新输入!', common_1.HttpStatus.BAD_REQUEST);
}
let u;
@@ -292,28 +290,6 @@ let AuthService = class AuthService {
});
this.ipAddress = ipAddress;
}
- async captcha(parmas) {
- const nameSpace = await this.globalConfigService.getNamespace();
- const { color = '#fff' } = parmas;
- const captcha = svgCaptcha.create({
- size: 4,
- ignoreChars: '0o1i',
- noise: 4,
- color: true,
- background: color,
- height: 35,
- width: 120,
- charPreset: 'abcdefghijklmnopqrstuvwxyz',
- });
- const text = captcha.text;
- const randomId = Math.random().toString(36).substr(2, 9);
- const key = `${nameSpace}:CAPTCHA:${randomId}`;
- await this.redisCacheService.set({ key, val: text }, 5 * 60);
- return {
- svgCode: captcha.data,
- code: randomId,
- };
- }
async sendCode(body) {
const { contact, isLogin } = body;
let email = '', phone = '';
@@ -324,7 +300,6 @@ let AuthService = class AuthService {
throw new common_1.HttpException('请提供有效的邮箱地址或手机号码。', common_1.HttpStatus.BAD_REQUEST);
}
if (!isLogin) {
- await this.verificationService.verifyCaptcha(body);
if (isEmail) {
email = contact;
const isAvailable = await this.userService.verifyUserRegister({
diff --git a/dist/modules/auth/dto/authRegister.dto.js b/dist/modules/auth/dto/authRegister.dto.js
index de6b859..b344018 100644
--- a/dist/modules/auth/dto/authRegister.dto.js
+++ b/dist/modules/auth/dto/authRegister.dto.js
@@ -29,16 +29,6 @@ __decorate([
(0, swagger_1.ApiProperty)({ example: 'ai@aiweb.com', description: '用户邮箱' }),
__metadata("design:type", String)
], UserRegisterDto.prototype, "email", void 0);
-__decorate([
- (0, swagger_1.ApiProperty)({ example: '5k3n', description: '图形验证码' }),
- (0, class_validator_1.IsNotEmpty)({ message: '验证码为空!' }),
- __metadata("design:type", String)
-], UserRegisterDto.prototype, "captchaCode", void 0);
-__decorate([
- (0, swagger_1.ApiProperty)({ example: '2313ko423ko', description: '图形验证码KEY' }),
- (0, class_validator_1.IsNotEmpty)({ message: '验证ID不能为空!' }),
- __metadata("design:type", String)
-], UserRegisterDto.prototype, "captchaId", void 0);
__decorate([
(0, swagger_1.ApiProperty)({
example: 'FRJDLJHFNV',
diff --git a/dist/modules/auth/dto/userRegisterByPhone.dto.js b/dist/modules/auth/dto/userRegisterByPhone.dto.js
index f737d11..d26fd48 100644
--- a/dist/modules/auth/dto/userRegisterByPhone.dto.js
+++ b/dist/modules/auth/dto/userRegisterByPhone.dto.js
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.UserRegisterByPhoneDto = void 0;
-const class_validator_1 = require("class-validator");
const swagger_1 = require("@nestjs/swagger");
+const class_validator_1 = require("class-validator");
class UserRegisterByPhoneDto {
}
__decorate([
diff --git a/dist/modules/autoreply/autoreply.controller.js b/dist/modules/autoreply/autoreply.controller.js
index 7cd631e..52eb4a9 100644
--- a/dist/modules/autoreply/autoreply.controller.js
+++ b/dist/modules/autoreply/autoreply.controller.js
@@ -13,15 +13,15 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AutoreplyController = void 0;
-const autoreply_service_1 = require("./autoreply.service");
-const common_1 = require("@nestjs/common");
-const swagger_1 = require("@nestjs/swagger");
-const queryAutoReply_dto_1 = require("./dto/queryAutoReply.dto");
-const addAutoReply_dto_1 = require("./dto/addAutoReply.dto");
-const updateAutoReply_dto_1 = require("./dto/updateAutoReply.dto");
-const delBadWords_dto_1 = require("./dto/delBadWords.dto");
const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard");
const superAuth_guard_1 = require("../../common/auth/superAuth.guard");
+const common_1 = require("@nestjs/common");
+const swagger_1 = require("@nestjs/swagger");
+const autoreply_service_1 = require("./autoreply.service");
+const addAutoReply_dto_1 = require("./dto/addAutoReply.dto");
+const delBadWords_dto_1 = require("./dto/delBadWords.dto");
+const queryAutoReply_dto_1 = require("./dto/queryAutoReply.dto");
+const updateAutoReply_dto_1 = require("./dto/updateAutoReply.dto");
let AutoreplyController = class AutoreplyController {
constructor(autoreplyService) {
this.autoreplyService = autoreplyService;
@@ -66,7 +66,7 @@ __decorate([
(0, swagger_1.ApiBearerAuth)(),
__param(0, (0, common_1.Body)()),
__metadata("design:type", Function),
- __metadata("design:paramtypes", [updateAutoReply_dto_1.UpdateAutpReplyDto]),
+ __metadata("design:paramtypes", [updateAutoReply_dto_1.UpdateAutoReplyDto]),
__metadata("design:returntype", void 0)
], AutoreplyController.prototype, "updateAutoreply", null);
__decorate([
diff --git a/dist/modules/autoreply/autoreplay.entity.js b/dist/modules/autoreply/autoreply.entity.js
similarity index 89%
rename from dist/modules/autoreply/autoreplay.entity.js
rename to dist/modules/autoreply/autoreply.entity.js
index a4ffaa9..2831d34 100644
--- a/dist/modules/autoreply/autoreplay.entity.js
+++ b/dist/modules/autoreply/autoreply.entity.js
@@ -10,8 +10,8 @@ var __metadata = (this && this.__metadata) || function (k, v) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.AutoReplyEntity = void 0;
-const typeorm_1 = require("typeorm");
const baseEntity_1 = require("../../common/entity/baseEntity");
+const typeorm_1 = require("typeorm");
let AutoReplyEntity = class AutoReplyEntity extends baseEntity_1.BaseEntity {
};
__decorate([
@@ -22,6 +22,10 @@ __decorate([
(0, typeorm_1.Column)({ comment: '定义的答案', type: 'text' }),
__metadata("design:type", String)
], AutoReplyEntity.prototype, "answer", void 0);
+__decorate([
+ (0, typeorm_1.Column)({ default: 1, comment: '是否开启AI回复,0:关闭 1:启用' }),
+ __metadata("design:type", Number)
+], AutoReplyEntity.prototype, "isAIReplyEnabled", void 0);
__decorate([
(0, typeorm_1.Column)({ default: 1, comment: '启用当前自动回复状态, 0:关闭 1:启用' }),
__metadata("design:type", Number)
diff --git a/dist/modules/autoreply/autoreply.module.js b/dist/modules/autoreply/autoreply.module.js
index ce59137..1c84706 100644
--- a/dist/modules/autoreply/autoreply.module.js
+++ b/dist/modules/autoreply/autoreply.module.js
@@ -8,16 +8,16 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
Object.defineProperty(exports, "__esModule", { value: true });
exports.AutoreplyModule = void 0;
const common_1 = require("@nestjs/common");
-const autoreply_controller_1 = require("./autoreply.controller");
-const autoreply_service_1 = require("./autoreply.service");
const typeorm_1 = require("@nestjs/typeorm");
-const autoreplay_entity_1 = require("./autoreplay.entity");
+const autoreply_controller_1 = require("./autoreply.controller");
+const autoreply_entity_1 = require("./autoreply.entity");
+const autoreply_service_1 = require("./autoreply.service");
let AutoreplyModule = class AutoreplyModule {
};
AutoreplyModule = __decorate([
(0, common_1.Global)(),
(0, common_1.Module)({
- imports: [typeorm_1.TypeOrmModule.forFeature([autoreplay_entity_1.AutoReplyEntity])],
+ imports: [typeorm_1.TypeOrmModule.forFeature([autoreply_entity_1.AutoReplyEntity])],
controllers: [autoreply_controller_1.AutoreplyController],
providers: [autoreply_service_1.AutoreplyService],
exports: [autoreply_service_1.AutoreplyService],
diff --git a/dist/modules/autoreply/autoreply.service.js b/dist/modules/autoreply/autoreply.service.js
index 247dfc5..67bb951 100644
--- a/dist/modules/autoreply/autoreply.service.js
+++ b/dist/modules/autoreply/autoreply.service.js
@@ -16,7 +16,7 @@ exports.AutoreplyService = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const typeorm_2 = require("typeorm");
-const autoreplay_entity_1 = require("./autoreplay.entity");
+const autoreply_entity_1 = require("./autoreply.entity");
let AutoreplyService = class AutoreplyService {
constructor(autoReplyEntity) {
this.autoReplyEntity = autoReplyEntity;
@@ -25,20 +25,57 @@ let AutoreplyService = class AutoreplyService {
this.autoReplyFuzzyMatch = true;
}
async onModuleInit() {
- this.loadAutoReplyList();
+ await this.loadAutoReplyList();
}
async loadAutoReplyList() {
- const res = await this.autoReplyEntity.find({ where: { status: 1 }, select: ['prompt', 'answer'] });
+ const res = await this.autoReplyEntity.find({
+ where: { status: 1 },
+ select: ['prompt', 'answer', 'isAIReplyEnabled'],
+ });
this.autoReplyMap = {};
- res.forEach((t) => (this.autoReplyMap[t.prompt] = t.answer));
- this.autoReplyKes = Object.keys(this.autoReplyMap);
+ this.autoReplyKes = [];
+ res.forEach((t) => {
+ this.autoReplyMap[t.prompt] = {
+ answer: t.answer,
+ isAIReplyEnabled: t.isAIReplyEnabled,
+ };
+ const keywords = t.prompt.split(' ').map((k) => k.trim());
+ this.autoReplyKes.push({ prompt: t.prompt, keywords });
+ });
}
async checkAutoReply(prompt) {
- let question = prompt;
+ let answers = [];
+ let isAIReplyEnabled = 0;
+ const seenGroups = new Set();
if (this.autoReplyFuzzyMatch) {
- question = this.autoReplyKes.find((item) => item.includes(prompt));
+ for (const item of this.autoReplyKes) {
+ if (item.keywords.some((keyword) => prompt.includes(keyword))) {
+ if (!seenGroups.has(item.prompt)) {
+ answers.push(this.autoReplyMap[item.prompt].answer);
+ seenGroups.add(item.prompt);
+ if (this.autoReplyMap[item.prompt].isAIReplyEnabled === 1) {
+ isAIReplyEnabled = 1;
+ }
+ }
+ }
+ }
}
- return question ? this.autoReplyMap[question] : '';
+ else {
+ const matches = this.autoReplyKes.filter((item) => item.prompt === prompt);
+ for (const match of matches) {
+ if (!seenGroups.has(match.prompt)) {
+ answers.push(this.autoReplyMap[match.prompt].answer);
+ seenGroups.add(match.prompt);
+ if (this.autoReplyMap[match.prompt].isAIReplyEnabled === 1) {
+ isAIReplyEnabled = 1;
+ }
+ }
+ }
+ }
+ return {
+ answer: answers.join('\n'),
+ isAIReplyEnabled,
+ };
}
async queryAutoreply(query) {
const { page = 1, size = 10, prompt, status } = query;
@@ -54,11 +91,6 @@ let AutoreplyService = class AutoreplyService {
return { rows, count };
}
async addAutoreply(body) {
- const { prompt } = body;
- const a = await this.autoReplyEntity.findOne({ where: { prompt } });
- if (a) {
- throw new common_1.HttpException('该问题已存在,请检查您的提交信息', common_1.HttpStatus.BAD_REQUEST);
- }
await this.autoReplyEntity.save(body);
await this.loadAutoReplyList();
return '添加问题成功!';
@@ -88,7 +120,7 @@ let AutoreplyService = class AutoreplyService {
};
AutoreplyService = __decorate([
(0, common_1.Injectable)(),
- __param(0, (0, typeorm_1.InjectRepository)(autoreplay_entity_1.AutoReplyEntity)),
+ __param(0, (0, typeorm_1.InjectRepository)(autoreply_entity_1.AutoReplyEntity)),
__metadata("design:paramtypes", [typeorm_2.Repository])
], AutoreplyService);
exports.AutoreplyService = AutoreplyService;
diff --git a/dist/modules/autoreply/dto/updateAutoReply.dto.js b/dist/modules/autoreply/dto/updateAutoReply.dto.js
index ebceec2..84d9de2 100644
--- a/dist/modules/autoreply/dto/updateAutoReply.dto.js
+++ b/dist/modules/autoreply/dto/updateAutoReply.dto.js
@@ -9,29 +9,33 @@ var __metadata = (this && this.__metadata) || function (k, v) {
if (typeof Reflect === "object" && typeof Reflect.metadata === "function") return Reflect.metadata(k, v);
};
Object.defineProperty(exports, "__esModule", { value: true });
-exports.UpdateAutpReplyDto = void 0;
-const class_validator_1 = require("class-validator");
+exports.UpdateAutoReplyDto = void 0;
const swagger_1 = require("@nestjs/swagger");
-class UpdateAutpReplyDto {
+const class_validator_1 = require("class-validator");
+class UpdateAutoReplyDto {
}
__decorate([
(0, swagger_1.ApiProperty)({ example: 1, description: '自动回复id', required: true }),
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Number)
-], UpdateAutpReplyDto.prototype, "id", void 0);
+], UpdateAutoReplyDto.prototype, "id", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ example: '你可以干嘛', description: '问题', required: false }),
(0, class_validator_1.IsOptional)(),
__metadata("design:type", String)
-], UpdateAutpReplyDto.prototype, "prompt", void 0);
+], UpdateAutoReplyDto.prototype, "prompt", void 0);
__decorate([
- (0, swagger_1.ApiProperty)({ example: '我可以干很多事情.......', description: '答案', required: false }),
+ (0, swagger_1.ApiProperty)({
+ example: '我可以干很多事情.......',
+ description: '答案',
+ required: false,
+ }),
(0, class_validator_1.IsOptional)(),
__metadata("design:type", String)
-], UpdateAutpReplyDto.prototype, "answer", void 0);
+], UpdateAutoReplyDto.prototype, "answer", void 0);
__decorate([
(0, swagger_1.ApiProperty)({ example: 0, description: '状态', required: false }),
(0, class_validator_1.IsOptional)(),
__metadata("design:type", Number)
-], UpdateAutpReplyDto.prototype, "status", void 0);
-exports.UpdateAutpReplyDto = UpdateAutpReplyDto;
+], UpdateAutoReplyDto.prototype, "status", void 0);
+exports.UpdateAutoReplyDto = UpdateAutoReplyDto;
diff --git a/dist/modules/chat/chat.service.js b/dist/modules/chat/chat.service.js
index c99aa82..b45fa3c 100644
--- a/dist/modules/chat/chat.service.js
+++ b/dist/modules/chat/chat.service.js
@@ -13,13 +13,11 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChatService = void 0;
-const errorMessage_constant_1 = require("../../common/constants/errorMessage.constant");
const utils_1 = require("../../common/utils");
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const axios_1 = require("axios");
const typeorm_2 = require("typeorm");
-const uuid = require("uuid");
const lumaVideo_service_1 = require("../ai/lumaVideo.service");
const midjourneyDraw_service_1 = require("../ai/midjourneyDraw.service");
const openaiChat_service_1 = require("../ai/openaiChat.service");
@@ -60,7 +58,6 @@ let ChatService = class ChatService {
this.lumaVideoService = lumaVideoService;
}
async chatProcess(body, req, res) {
- var _a, _b, _c;
const { options = {}, usingPluginId, appId = null, specialModel, prompt, fileInfo, modelType, extraParam, model, drawId, customId, action, modelName, modelAvatar, } = body;
let appInfo;
if (specialModel) {
@@ -77,15 +74,15 @@ let ChatService = class ChatService {
}
}
const { groupId, fileParsing } = options;
- const { openaiTimeout, openaiBaseUrl, openaiBaseKey, systemPreMessage, isMjTranslate, mjTranslatePrompt, isDalleChat, openaiTemperature, } = await this.globalConfigService.getConfigs([
+ const { openaiTimeout, openaiBaseUrl, openaiBaseKey, systemPreMessage, isMjTranslate, mjTranslatePrompt, openaiTemperature, openaiBaseModel, } = await this.globalConfigService.getConfigs([
'openaiTimeout',
'openaiBaseUrl',
'openaiBaseKey',
'systemPreMessage',
'isMjTranslate',
'mjTranslatePrompt',
- 'isDalleChat',
'openaiTemperature',
+ 'openaiBaseModel',
]);
await this.userService.checkUserStatus(req.user);
res &&
@@ -97,9 +94,7 @@ let ChatService = class ChatService {
res && res.status(200);
let response = null;
const curIp = (0, utils_1.getClientIp)(req);
- let isStop = true;
let usePrompt;
- let isSuccess = false;
let useModelAvatar = '';
let usingPlugin;
if (usingPluginId) {
@@ -114,14 +109,12 @@ let ChatService = class ChatService {
if (isGPTs) {
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo('gpts');
- await this.chatLogService.checkModelLimits(req.user, 'gpts');
currentRequestModelKey.model = `gpt-4-gizmo-${gizmoID}`;
}
else if (!isGPTs && isFixedModel && appModel) {
appInfo.preset && (setSystemMessage = appInfo.preset);
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo(appModel);
- await this.chatLogService.checkModelLimits(req.user, appModel);
currentRequestModelKey.model = appModel;
if (fileParsing) {
setSystemMessage = `${setSystemMessage}以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`;
@@ -132,7 +125,6 @@ let ChatService = class ChatService {
appInfo.preset && (setSystemMessage = appInfo.preset);
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo(model);
- await this.chatLogService.checkModelLimits(req.user, model);
if (fileParsing) {
setSystemMessage = `${setSystemMessage}以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`;
}
@@ -153,14 +145,12 @@ let ChatService = class ChatService {
setSystemMessage = pluginPrompt;
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo(model);
- await this.chatLogService.checkModelLimits(req.user, model);
common_1.Logger.log(`使用插件预设: ${setSystemMessage}`, 'ChatService');
}
else if (fileParsing) {
setSystemMessage = `以下是我提供给你的知识库:【${fileParsing}】,在回答问题之前,先检索知识库内有没有相关的内容,尽量使用知识库中获取到的信息来回答我的问题,以知识库中的为准。`;
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo(model);
- await this.chatLogService.checkModelLimits(req.user, model);
common_1.Logger.log(`使用文件解析: ${setSystemMessage}`, 'ChatService');
}
else {
@@ -168,17 +158,54 @@ let ChatService = class ChatService {
setSystemMessage = systemPreMessage + `\n Current date: ${currentDate}`;
currentRequestModelKey =
await this.modelsService.getCurrentModelKeyInfo(model);
- await this.chatLogService.checkModelLimits(req.user, model);
common_1.Logger.log(`使用全局预设: ${setSystemMessage}`, 'ChatService');
}
}
+ if (!currentRequestModelKey) {
+ common_1.Logger.debug('未找到当前模型key,切换至全局模型', 'ChatService');
+ currentRequestModelKey = await this.modelsService.getCurrentModelKeyInfo(openaiBaseModel);
+ const groupInfo = await this.chatGroupService.getGroupInfoFromId(groupId);
+ let updatedConfig = groupInfo.config;
+ try {
+ const parsedConfig = JSON.parse(groupInfo.config);
+ if (parsedConfig.modelInfo) {
+ parsedConfig.modelInfo.modelName = currentRequestModelKey.modelName;
+ parsedConfig.modelInfo.model = currentRequestModelKey.model;
+ updatedConfig = JSON.stringify(parsedConfig);
+ }
+ }
+ catch (error) {
+ common_1.Logger.debug('模型切换错误,请检查全局模型配置!', 'ChatService');
+ throw new common_1.HttpException('配置解析错误!', common_1.HttpStatus.BAD_REQUEST);
+ }
+ await this.chatGroupService.update({
+ groupId,
+ title: groupInfo.title,
+ isSticky: false,
+ config: updatedConfig,
+ }, req);
+ }
const { deduct, isTokenBased, tokenFeeRatio, deductType, key, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, isFileUpload, } = currentRequestModelKey;
- if (isMjTranslate === '1' && mjTranslatePrompt && model === 'midjourney') {
- const translatePrompt = await this.openAIChatService.chatFree(prompt, mjTranslatePrompt);
- usePrompt =
- isFileUpload === '1' && fileInfo
- ? fileInfo + ' ' + translatePrompt
- : translatePrompt;
+ if (await this.chatLogService.checkModelLimits(req.user, useModel)) {
+ throw new common_1.HttpException('1 小时内对话次数过多,请切换模型或稍后再试!', common_1.HttpStatus.TOO_MANY_REQUESTS);
+ }
+ common_1.Logger.debug(`原始用户提问: ${prompt}, 是否翻译: ${isMjTranslate}, 翻译提示: ${mjTranslatePrompt}, 模型: ${model}, 是否文件上传: ${isFileUpload}, 文件信息: ${fileInfo}`);
+ if (isMjTranslate === '1' &&
+ action === 'IMAGINE' &&
+ model === 'midjourney') {
+ const [beforeArgs, afterArgs] = prompt.split(/(?= --)/);
+ const urlPattern = /(https?:\/\/[^\s]+)/g;
+ const urls = beforeArgs.match(urlPattern) || [];
+ let textToTranslate = beforeArgs.replace(urlPattern, '').trim();
+ const translatedText = await this.openAIChatService.chatFree(textToTranslate, mjTranslatePrompt ||
+ "Translate any given phrase from any language into English. For instance, when I input '{可爱的熊猫}', you should output '{cute panda}', with no period at the end.");
+ const finalTranslatedPrompt = [...urls, translatedText].join(' ').trim();
+ usePrompt = afterArgs
+ ? `${finalTranslatedPrompt}${afterArgs}`
+ : finalTranslatedPrompt;
+ if (isFileUpload === '1' && fileInfo) {
+ usePrompt = `${fileInfo} ${usePrompt}`;
+ }
}
else {
usePrompt =
@@ -190,32 +217,11 @@ let ChatService = class ChatService {
const modelKey = key || openaiBaseKey;
const modelTimeout = (timeout || openaiTimeout || 300) * 1000;
const temperature = Number(openaiTemperature) || 1;
- common_1.Logger.log(`\n` +
- `超时设置: ${modelTimeout / 1000} s\n` +
- `请求地址: ${proxyResUrl}\n` +
- `使用的模型名称: ${useModeName}\n` +
- `使用的模型: ${useModel}`, 'ChatService');
- if (!currentRequestModelKey) {
- throw new common_1.HttpException('当前流程所需要的模型已被管理员下架、请联系管理员上架专属模型!', common_1.HttpStatus.BAD_REQUEST);
- }
if (groupId) {
const groupInfo = await this.chatGroupService.getGroupInfoFromId(groupId);
this.updateChatTitle(groupId, groupInfo, modelType, prompt, req);
await this.chatGroupService.updateTime(groupId);
}
- const { messagesHistory } = await this.buildMessageFromParentMessageId(prompt, {
- groupId,
- systemMessage: setSystemMessage,
- maxModelTokens,
- maxRounds: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'net-search' ||
- (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) === 'mind-map' ||
- useModel.includes('suno')
- ? 0
- : maxRounds,
- fileInfo: fileInfo,
- model: useModel,
- isFileUpload,
- }, this.chatLogService);
const userSaveLog = await this.chatLogService.saveChatLog({
appId: appId,
curIp,
@@ -251,31 +257,23 @@ let ChatService = class ChatService {
groupId: groupId ? groupId : null,
status: 2,
modelAvatar: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.pluginImg) || useModelAvatar || modelAvatar || '',
- pluginParam: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters) ? usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters : null,
+ pluginParam: (usingPlugin === null || usingPlugin === void 0 ? void 0 : usingPlugin.parameters)
+ ? usingPlugin.parameters
+ : modelType === 2
+ ? useModel
+ : null,
});
- common_1.Logger.log('开始处理对话!', 'ChatService');
const userLogId = userSaveLog.id;
const assistantLogId = assistantSaveLog.id;
- const autoReplyRes = await this.autoreplyService.checkAutoReply(prompt);
- if (autoReplyRes && res) {
- const msg = { text: autoReplyRes };
- const chars = autoReplyRes.split('');
- const sendCharByChar = (index) => {
- if (index < chars.length) {
- const msg = { text: chars[index] };
- res.write(`${JSON.stringify(msg)}\n`);
- setTimeout(() => sendCharByChar(index + 1), 10);
- }
- else {
- res.end();
- }
- };
- sendCharByChar(0);
- await this.chatLogService.updateChatLog(assistantLogId, {
- answer: autoReplyRes,
- });
- return;
- }
+ const { messagesHistory } = await this.buildMessageFromParentMessageId(prompt, {
+ groupId,
+ systemMessage: setSystemMessage,
+ maxModelTokens,
+ maxRounds: maxRounds,
+ fileInfo: fileInfo,
+ model: useModel,
+ isFileUpload,
+ }, this.chatLogService);
let charge = action !== 'UPSCALE' && useModel === 'midjourney' ? deduct * 4 : deduct;
const abortController = new AbortController();
try {
@@ -292,36 +290,15 @@ let ChatService = class ChatService {
useModel === 'luma-video' ||
useModel.includes('stable-diffusion')) {
if (useModel === 'dall-e-3') {
- let drawPrompt;
- if (isDalleChat === '1') {
- try {
- common_1.Logger.log('已开启连续绘画模式', 'DalleDraw');
- const { messagesHistory } = await this.buildMessageFromParentMessageId(`参考上文,结合我的需求,给出绘画描述。我的需求是:${prompt}`, {
- groupId,
- systemMessage: '你是一个绘画提示词生成工具,请根据用户的要求,结合上下文,用一段文字,描述用户需要的绘画需求,不用包含任何礼貌性的寒暄,只需要场景的描述,可以适当联想',
- maxModelTokens: 8000,
- maxRounds: 5,
- fileInfo: '',
- isFileUpload,
- }, this.chatLogService);
- drawPrompt = await this.openAIChatService.chatFree(prompt, undefined, messagesHistory);
- }
- catch (error) {
- console.error('调用chatFree失败:', error);
- drawPrompt = prompt;
- }
- }
- else {
- drawPrompt = prompt;
- }
response = this.openAIDrawService.dalleDraw({
- prompt: drawPrompt,
+ prompt: prompt,
extraParam: extraParam,
apiKey: modelKey,
proxyUrl: proxyResUrl,
model: useModel,
timeout: modelTimeout,
modelName: useModeName,
+ groupId: groupId,
onSuccess: async (data) => {
await this.chatLogService.updateChatLog(assistantLogId, {
fileInfo: data === null || data === void 0 ? void 0 : data.fileInfo,
@@ -329,16 +306,14 @@ let ChatService = class ChatService {
progress: '100%',
status: data.status,
});
- common_1.Logger.log('绘图成功! ', 'DalleDraw');
},
onFailure: async (data) => {
await this.chatLogService.updateChatLog(assistantLogId, {
answer: '绘图失败',
status: data.status,
});
- common_1.Logger.log('绘图失败', 'DalleDraw');
},
- }, messagesHistory);
+ }, this.buildMessageFromParentMessageId);
await this.chatLogService.updateChatLog(assistantLogId, {
answer: '绘制中',
});
@@ -383,7 +358,6 @@ let ChatService = class ChatService {
progress: '100%',
status: 3,
});
- common_1.Logger.log('视频生成成功', 'LumaVideo');
},
onFailure: async (data) => {
await this.chatLogService.updateChatLog(assistantLogId, {
@@ -429,7 +403,7 @@ let ChatService = class ChatService {
});
}
else {
- response = this.midjourneyService.midjourneyDraw({
+ response = await this.midjourneyService.midjourneyDraw({
usePrompt: usePrompt,
prompt: prompt,
apiKey: modelKey,
@@ -439,21 +413,26 @@ let ChatService = class ChatService {
drawId,
customId,
action,
+ fileInfo,
timeout: modelTimeout,
assistantLogId,
});
await this.chatLogService.updateChatLog(assistantLogId, {
- answer: '绘制中',
+ answer: response.answer,
+ status: response.status,
});
}
- await this.modelsService.saveUseLog(keyId, 1);
- await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge);
+ if (response.status !== 5) {
+ await this.modelsService.saveUseLog(keyId, 1);
+ await this.userBalanceService.deductFromBalance(req.user.id, deductType, charge);
+ }
+ else {
+ common_1.Logger.log('任务提交失败,不执行扣费', 'ChatService');
+ }
const userBalance = await this.userBalanceService.queryUserBalance(req.user.id);
response.userBalance = Object.assign({}, userBalance);
- response.text = '提交成功';
- isStop = false;
- isSuccess = true;
- response.status = 2;
+ response.text = response.answer;
+ response.status = response.status || 2;
response.model = model;
response.modelName = modelName;
return res.write(`\n${JSON.stringify(response)}`);
@@ -488,8 +467,6 @@ let ChatService = class ChatService {
abortController,
});
if (response.errMsg) {
- isStop = false;
- isSuccess = true;
common_1.Logger.error(`用户ID: ${req.user.id} 模型名称: ${useModeName} 模型: ${model} 回复出错,本次不扣除积分`, 'ChatService');
return res.write(`\n${JSON.stringify(response)}`);
}
@@ -522,8 +499,6 @@ let ChatService = class ChatService {
common_1.Logger.log(`用户ID: ${req.user.id} 模型名称: ${useModeName} 模型: ${model} 消耗token: ${promptTokens + completionTokens}, 消耗积分: ${charge}`, 'ChatService');
const userBalance = await this.userBalanceService.queryUserBalance(req.user.id);
response.userBalance = Object.assign({}, userBalance);
- isStop = false;
- isSuccess = true;
return res.write(`\n${JSON.stringify(response)}`);
}
}
@@ -533,7 +508,6 @@ let ChatService = class ChatService {
status: 5,
});
response = { error: '处理请求时发生错误' };
- isStop = false;
}
}
else {
@@ -558,68 +532,11 @@ let ChatService = class ChatService {
}
catch (error) {
common_1.Logger.error('chat-error <----------------------------------------->', modelKey, error);
- const code = (error === null || error === void 0 ? void 0 : error.statusCode) || 400;
- const status = ((_a = error === null || error === void 0 ? void 0 : error.response) === null || _a === void 0 ? void 0 : _a.status) || (error === null || error === void 0 ? void 0 : error.statusCode) || 400;
- common_1.Logger.error('chat-error-detail <----------------------------------------->', 'code: ', code, 'message', error === null || error === void 0 ? void 0 : error.message, 'statusText:', (_b = error === null || error === void 0 ? void 0 : error.response) === null || _b === void 0 ? void 0 : _b.statusText, 'status', (_c = error === null || error === void 0 ? void 0 : error.response) === null || _c === void 0 ? void 0 : _c.status);
- if (error.status && error.status === 402) {
- const errMsg = { message: `Catch Error ${error.message}`, code: 402 };
- if (res) {
- return res.write(JSON.stringify(errMsg));
- }
- else {
- throw new common_1.HttpException(error.message, common_1.HttpStatus.PAYMENT_REQUIRED);
- }
- }
- if (!status) {
- if (res) {
- return res.write(JSON.stringify({ message: error.message, code: 500 }));
- }
- else {
- throw new common_1.HttpException(error.message, common_1.HttpStatus.BAD_REQUEST);
- }
- }
- let message = errorMessage_constant_1.OpenAiErrorCodeMessage[status]
- ? errorMessage_constant_1.OpenAiErrorCodeMessage[status]
- : '服务异常、请重新试试吧!!!';
- if ((error === null || error === void 0 ? void 0 : error.message.includes('The OpenAI account associated with this API key has been deactivated.')) &&
- Number(modelType) === 1) {
- await this.modelsService.lockKey(keyId, '当前模型key已被封禁、已冻结当前调用Key、尝试重新对话试试吧!', -1);
- message = '当前模型key已被封禁';
- }
- if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 &&
- error.message.includes('billing') &&
- Number(modelType) === 1) {
- await this.modelsService.lockKey(keyId, '当前模型key余额已耗尽、已冻结当前调用Key、尝试重新对话试试吧!', -3);
- message = '当前模型key余额已耗尽';
- }
- if ((error === null || error === void 0 ? void 0 : error.statusCode) === 429 &&
- (error === null || error === void 0 ? void 0 : error.statusText) === 'Too Many Requests') {
- message = '当前模型调用过于频繁、请重新试试吧!';
- }
- if ((error === null || error === void 0 ? void 0 : error.statusCode) === 401 &&
- error.message.includes('Incorrect API key provided') &&
- Number(modelType) === 1) {
- await this.modelsService.lockKey(keyId, '提供了错误的模型秘钥', -2);
- message = '提供了错误的模型秘钥、已冻结当前调用Key、请重新尝试对话!';
- }
- if ((error === null || error === void 0 ? void 0 : error.statusCode) === 404 &&
- error.message.includes('This is not a chat model and thus not supported') &&
- Number(modelType) === 1) {
- await this.modelsService.lockKey(keyId, '当前模型不是聊天模型', -4);
- message = '当前模型不是聊天模型、已冻结当前调用Key、请重新尝试对话!';
- }
- if (code === 400) {
- common_1.Logger.error('400 error', error, error.message);
- }
- const errMsg = {
- message: message || 'Please check the back-end console',
- code: code === 401 ? 400 : code || 500,
- };
if (res) {
- return res.write(JSON.stringify(errMsg));
+ return res.write('发生未知错误,请稍后再试');
}
else {
- throw new common_1.HttpException(errMsg.message, common_1.HttpStatus.BAD_REQUEST);
+ throw new common_1.HttpException('发生未知错误,请稍后再试', common_1.HttpStatus.BAD_REQUEST);
}
}
finally {
@@ -660,7 +577,7 @@ let ChatService = class ChatService {
try {
chatTitle = await this.openAIChatService.chatFree(`根据用户提问{${prompt}},给这个对话取一个名字,不超过10个字`);
if (chatTitle.length > 15) {
- chatTitle = chatTitle.slice(0, 15);
+ chatTitle = chatTitle.slice(0, 15);
}
}
catch (error) {
@@ -684,6 +601,10 @@ let ChatService = class ChatService {
}
async buildMessageFromParentMessageId(text, options, chatLogService) {
let { systemMessage = '', fileInfo, groupId, maxRounds = 5, maxModelTokens = 8000, isFileUpload = 0, } = options;
+ if (systemMessage.length > maxModelTokens) {
+ common_1.Logger.log('系统消息超过最大长度,将被截断', 'ChatService');
+ systemMessage = systemMessage.slice(0, maxModelTokens);
+ }
let messages = [];
if (systemMessage) {
messages.push({ role: 'system', content: systemMessage });
@@ -694,7 +615,9 @@ let ChatService = class ChatService {
history.forEach((record) => {
try {
let content;
- if (isFileUpload === 2 && record.fileInfo && record.role === 'user') {
+ if ((isFileUpload === 2 || isFileUpload === 3) &&
+ record.fileInfo &&
+ record.role === 'user') {
content = [
{ type: 'text', text: record.text },
{ type: 'image_url', image_url: { url: record.fileInfo } },
@@ -728,7 +651,7 @@ let ChatService = class ChatService {
});
}
let currentMessageContent;
- if (isFileUpload === 2 && fileInfo) {
+ if ((isFileUpload === 2 || isFileUpload === 3) && fileInfo) {
currentMessageContent = [
{ type: 'text', text },
{ type: 'image_url', image_url: { url: fileInfo } },
@@ -816,15 +739,12 @@ let ChatService = class ChatService {
const response = await (0, axios_1.default)(options);
common_1.Logger.log('TTS 请求获取成功', 'TTSService');
const buffer = Buffer.from(response.data);
- const filename = `${uuid.v4().slice(0, 10)}.mp3`;
const now = new Date();
const year = now.getFullYear();
const month = String(now.getMonth() + 1).padStart(2, '0');
const day = String(now.getDate()).padStart(2, '0');
const currentDate = `${year}${month}/${day}`;
- common_1.Logger.log('开始上传语音', 'TTSService');
- const ttsUrl = await this.uploadService.uploadFile({ filename, buffer }, `audio/openai/${currentDate}`);
- common_1.Logger.log(`文件上传成功,URL: ${ttsUrl}`, 'TTSService');
+ const ttsUrl = await this.uploadService.uploadFile({ buffer, mimetype: 'audio/mpeg' }, `audio/openai/${currentDate}`);
await Promise.all([
this.chatLogService.updateChatLog(chatId, { ttsUrl }),
this.userBalanceService.deductFromBalance(req.user.id, deductType, deduct),
diff --git a/dist/modules/chatGroup/chatGroup.service.js b/dist/modules/chatGroup/chatGroup.service.js
index 5ff1b15..5d57d27 100644
--- a/dist/modules/chatGroup/chatGroup.service.js
+++ b/dist/modules/chatGroup/chatGroup.service.js
@@ -28,7 +28,7 @@ let ChatGroupService = class ChatGroupService {
async create(body, req) {
const { id } = req.user;
const { appId, modelConfig: bodyModelConfig } = body;
- let modelConfig = bodyModelConfig || await this.modelsService.getBaseConfig(appId);
+ let modelConfig = bodyModelConfig || (await this.modelsService.getBaseConfig());
if (!modelConfig) {
throw new common_1.HttpException('管理员未配置任何AI模型、请先联系管理员开通聊天模型配置!', common_1.HttpStatus.BAD_REQUEST);
}
@@ -44,7 +44,7 @@ let ChatGroupService = class ChatGroupService {
isGPTs,
isFixedModel,
modelAvatar: coverImg,
- modelName: name
+ modelName: name,
});
if (isGPTs === 1 || isFixedModel === 1) {
const appModelKey = await this.modelsService.getCurrentModelKeyInfo(isFixedModel === 1 ? appModel : 'gpts');
@@ -52,7 +52,7 @@ let ChatGroupService = class ChatGroupService {
deductType: appModelKey.deductType,
deduct: appModelKey.deduct,
model: appModel,
- isFileUpload: appModelKey.isFileUpload
+ isFileUpload: appModelKey.isFileUpload,
});
}
if (![1, 3, 4, 5].includes(status)) {
@@ -69,13 +69,16 @@ let ChatGroupService = class ChatGroupService {
try {
const { id } = req.user;
const params = { userId: id, isDelete: false };
- const res = await this.chatGroupEntity.find({ where: params, order: { isSticky: 'DESC', updatedAt: 'DESC' } });
+ const res = await this.chatGroupEntity.find({
+ where: params,
+ order: { isSticky: 'DESC', updatedAt: 'DESC' },
+ });
return res;
- const appIds = res.filter(t => t.appId).map(t => t.appId);
+ const appIds = res.filter((t) => t.appId).map((t) => t.appId);
const appInfos = await this.appEntity.find({ where: { id: (0, typeorm_2.In)(appIds) } });
return res.map((item) => {
var _a;
- item.appLogo = (_a = appInfos.find(t => t.id === item.appId)) === null || _a === void 0 ? void 0 : _a.coverImg;
+ item.appLogo = (_a = appInfos.find((t) => t.id === item.appId)) === null || _a === void 0 ? void 0 : _a.coverImg;
return item;
});
}
@@ -86,7 +89,9 @@ let ChatGroupService = class ChatGroupService {
async update(body, req) {
const { title, isSticky, groupId, config } = body;
const { id } = req.user;
- const g = await this.chatGroupEntity.findOne({ where: { id: groupId, userId: id } });
+ const g = await this.chatGroupEntity.findOne({
+ where: { id: groupId, userId: id },
+ });
if (!g) {
throw new common_1.HttpException('请先选择一个对话或者新加一个对话再操作!', common_1.HttpStatus.BAD_REQUEST);
}
@@ -115,13 +120,15 @@ let ChatGroupService = class ChatGroupService {
}
async updateTime(groupId) {
await this.chatGroupEntity.update(groupId, {
- updatedAt: new Date()
+ updatedAt: new Date(),
});
}
async del(body, req) {
const { groupId } = body;
const { id } = req.user;
- const g = await this.chatGroupEntity.findOne({ where: { id: groupId, userId: id } });
+ const g = await this.chatGroupEntity.findOne({
+ where: { id: groupId, userId: id },
+ });
if (!g) {
throw new common_1.HttpException('非法操作、您在删除一个非法资源!', common_1.HttpStatus.BAD_REQUEST);
}
diff --git a/dist/modules/chatLog/chatLog.controller.js b/dist/modules/chatLog/chatLog.controller.js
index 5c31688..0eff985 100644
--- a/dist/modules/chatLog/chatLog.controller.js
+++ b/dist/modules/chatLog/chatLog.controller.js
@@ -13,21 +13,21 @@ var __param = (this && this.__param) || function (paramIndex, decorator) {
};
Object.defineProperty(exports, "__esModule", { value: true });
exports.ChatLogController = void 0;
+const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard");
+const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard");
+const superAuth_guard_1 = require("../../common/auth/superAuth.guard");
const common_1 = require("@nestjs/common");
const swagger_1 = require("@nestjs/swagger");
-const jwtAuth_guard_1 = require("../../common/auth/jwtAuth.guard");
const chatLog_service_1 = require("./chatLog.service");
-const queryAllDrawLog_dto_1 = require("./dto/queryAllDrawLog.dto");
-const queryAllChatLog_dto_1 = require("./dto/queryAllChatLog.dto");
-const recDrawImg_dto_1 = require("./dto/recDrawImg.dto");
-const superAuth_guard_1 = require("../../common/auth/superAuth.guard");
-const adminAuth_guard_1 = require("../../common/auth/adminAuth.guard");
-const queryMyChatLog_dto_1 = require("./dto/queryMyChatLog.dto");
-const exportExcelChatlog_dto_1 = require("./dto/exportExcelChatlog.dto");
const chatList_dto_1 = require("./dto/chatList.dto");
const del_dto_1 = require("./dto/del.dto");
const delByGroup_dto_1 = require("./dto/delByGroup.dto");
+const exportExcelChatlog_dto_1 = require("./dto/exportExcelChatlog.dto");
+const queryAllChatLog_dto_1 = require("./dto/queryAllChatLog.dto");
+const queryAllDrawLog_dto_1 = require("./dto/queryAllDrawLog.dto");
const queryByAppId_dto_1 = require("./dto/queryByAppId.dto");
+const queryMyChatLog_dto_1 = require("./dto/queryMyChatLog.dto");
+const recDrawImg_dto_1 = require("./dto/recDrawImg.dto");
let ChatLogController = class ChatLogController {
constructor(chatLogService) {
this.chatLogService = chatLogService;
@@ -56,6 +56,9 @@ let ChatLogController = class ChatLogController {
delByGroupId(req, body) {
return this.chatLogService.delByGroupId(req, body);
}
+ deleteChatsAfterId(req, body) {
+ return this.chatLogService.deleteChatsAfterId(req, body);
+ }
byAppId(req, params) {
return this.chatLogService.byAppId(req, params);
}
@@ -143,6 +146,17 @@ __decorate([
__metadata("design:paramtypes", [Object, delByGroup_dto_1.DelByGroupDto]),
__metadata("design:returntype", void 0)
], ChatLogController.prototype, "delByGroupId", null);
+__decorate([
+ (0, common_1.Post)('deleteChatsAfterId'),
+ (0, swagger_1.ApiOperation)({ summary: '删除对话组中某条对话及其后的所有对话' }),
+ (0, swagger_1.ApiBearerAuth)(),
+ (0, common_1.UseGuards)(jwtAuth_guard_1.JwtAuthGuard),
+ __param(0, (0, common_1.Req)()),
+ __param(1, (0, common_1.Body)()),
+ __metadata("design:type", Function),
+ __metadata("design:paramtypes", [Object, Object]),
+ __metadata("design:returntype", void 0)
+], ChatLogController.prototype, "deleteChatsAfterId", null);
__decorate([
(0, common_1.Get)('byAppId'),
(0, swagger_1.ApiOperation)({ summary: '查询某个应用的问答记录' }),
diff --git a/dist/modules/chatLog/chatLog.service.js b/dist/modules/chatLog/chatLog.service.js
index a9af548..2575e9c 100644
--- a/dist/modules/chatLog/chatLog.service.js
+++ b/dist/modules/chatLog/chatLog.service.js
@@ -283,7 +283,6 @@ let ChatLogService = class ChatLogService {
return record;
})
.reverse();
- common_1.Logger.debug('处理后的结果:', JSON.stringify(result, null, 2));
return result;
}
async deleteChatLog(req, body) {
@@ -318,6 +317,22 @@ let ChatLogService = class ChatLogService {
throw new common_1.HttpException('当前页面已经没有东西可以删除了!', common_1.HttpStatus.BAD_REQUEST);
}
}
+ async deleteChatsAfterId(req, body) {
+ const { id } = body;
+ const { id: userId } = req.user;
+ const chatLog = await this.chatLogEntity.findOne({ where: { id, userId } });
+ if (!chatLog) {
+ throw new common_1.HttpException('你删除的对话记录不存在、请检查!', common_1.HttpStatus.BAD_REQUEST);
+ }
+ const { groupId } = chatLog;
+ const result = await this.chatLogEntity.update({ groupId, id: (0, typeorm_2.MoreThanOrEqual)(id) }, { isDelete: true });
+ if (result.affected > 0) {
+ return '删除对话记录成功!';
+ }
+ else {
+ throw new common_1.HttpException('当前页面已经没有东西可以删除了!', common_1.HttpStatus.BAD_REQUEST);
+ }
+ }
async byAppId(req, body) {
const { id } = req.user;
const { appId, page = 1, size = 10 } = body;
@@ -330,8 +345,8 @@ let ChatLogService = class ChatLogService {
return { rows, count };
}
async checkModelLimits(userId, model) {
- const oneHourAgo = new Date(Date.now() - 3600 * 1000);
- let adjustedUsageCount;
+ const ONE_HOUR_IN_MS = 3600 * 1000;
+ const oneHourAgo = new Date(Date.now() - ONE_HOUR_IN_MS);
try {
const usageCount = await this.chatLogEntity.count({
where: {
@@ -340,15 +355,24 @@ let ChatLogService = class ChatLogService {
createdAt: (0, typeorm_2.MoreThan)(oneHourAgo),
},
});
- adjustedUsageCount = Math.ceil(usageCount / 2);
- common_1.Logger.debug(`用户ID: ${userId.id} 模型: ${model} 一小时内已调用: ${adjustedUsageCount} 次`);
+ const adjustedUsageCount = Math.ceil(usageCount / 2);
+ common_1.Logger.log(`用户ID: ${userId.id} 一小时内调用 ${model} 模型 ${adjustedUsageCount + 1} 次`, 'ChatLogService');
+ let modelInfo;
+ if (model.startsWith('gpt-4-gizmo')) {
+ modelInfo = await this.modelsService.getCurrentModelKeyInfo('gpts');
+ }
+ else {
+ modelInfo = await this.modelsService.getCurrentModelKeyInfo(model);
+ }
+ const modelLimits = Number(modelInfo.modelLimits);
+ common_1.Logger.log(`模型 ${model} 的使用次数限制为 ${modelLimits}`, 'ChatLogService');
+ if (adjustedUsageCount > modelLimits) {
+ return true;
+ }
+ return false;
}
catch (error) {
- common_1.Logger.error(`查询数据库出错 - 用户ID: ${userId}, 模型: ${model}, 错误信息: ${error.message}`);
- }
- const modelInfo = await this.modelsService.getCurrentModelKeyInfo(model);
- if (adjustedUsageCount > modelInfo.modelLimits) {
- throw new common_1.HttpException('1 小时内请求次数过多,请稍后再试!', common_1.HttpStatus.TOO_MANY_REQUESTS);
+ common_1.Logger.error(`查询数据库出错 - 用户ID: ${userId.id}, 模型: ${model}, 错误信息: ${error.message}`, error.stack, 'ChatLogService');
}
}
};
diff --git a/dist/modules/database/database.service.js b/dist/modules/database/database.service.js
index 31db882..a183d2e 100644
--- a/dist/modules/database/database.service.js
+++ b/dist/modules/database/database.service.js
@@ -54,7 +54,7 @@ let DatabaseService = class DatabaseService {
const { username, password, status, email, role } = userInfo;
const user = await this.connection.query(`INSERT INTO users (username, password, status, email, role) VALUES ('${username}', '${password}', '${status}', '${email}', '${role}')`);
const userId = user.insertId;
- const balance = await this.connection.query(`INSERT INTO balance (userId, balance, usesLeft, paintCount) VALUES ('${userId}', 0, 1000, 100)`);
+ await this.connection.query(`INSERT INTO balance (userId, balance, usesLeft, paintCount) VALUES ('${userId}', 0, 1000, 100)`);
common_1.Logger.log(`初始化创建${role}用户成功、用户名为[${username}]、初始密码为[${username === 'super' ? 'super' : '123456'}] ==============> 请注意查阅`, 'DatabaseService');
}
catch (error) {
diff --git a/dist/modules/globalConfig/globalConfig.module.js b/dist/modules/globalConfig/globalConfig.module.js
index 2619e13..7ee42ef 100644
--- a/dist/modules/globalConfig/globalConfig.module.js
+++ b/dist/modules/globalConfig/globalConfig.module.js
@@ -8,11 +8,11 @@ var __decorate = (this && this.__decorate) || function (decorators, target, key,
Object.defineProperty(exports, "__esModule", { value: true });
exports.GlobalConfigModule = void 0;
const common_1 = require("@nestjs/common");
+const typeorm_1 = require("@nestjs/typeorm");
+const chatLog_entity_1 = require("../chatLog/chatLog.entity");
+const config_entity_1 = require("./config.entity");
const globalConfig_controller_1 = require("./globalConfig.controller");
const globalConfig_service_1 = require("./globalConfig.service");
-const typeorm_1 = require("@nestjs/typeorm");
-const config_entity_1 = require("./config.entity");
-const chatLog_entity_1 = require("../chatLog/chatLog.entity");
let GlobalConfigModule = class GlobalConfigModule {
};
GlobalConfigModule = __decorate([
diff --git a/dist/modules/globalConfig/globalConfig.service.js b/dist/modules/globalConfig/globalConfig.service.js
index a4c8e97..943b245 100644
--- a/dist/modules/globalConfig/globalConfig.service.js
+++ b/dist/modules/globalConfig/globalConfig.service.js
@@ -188,15 +188,20 @@ let GlobalConfigService = class GlobalConfigService {
'mjHideWorkIn',
'isVerifyEmail',
'isHideSidebar',
+ 'showWatermark',
'isHideTts',
+ 'isHideDefaultPreset',
'isHideModel3Point',
'isHideModel4Point',
'isHideDrawMjPoint',
+ 'isHidePlugin',
'model3Name',
'model4Name',
'drawMjName',
'isModelInherited',
'noVerifyRegister',
+ 'noticeInfo',
+ 'homeHtml',
];
const data = await this.configEntity.find({
where: { configKey: (0, typeorm_2.In)(allowKeys) },
diff --git a/dist/modules/midjourney/midjourney.service.js b/dist/modules/midjourney/midjourney.service.js
index cc4b0af..1612a64 100644
--- a/dist/modules/midjourney/midjourney.service.js
+++ b/dist/modules/midjourney/midjourney.service.js
@@ -68,7 +68,9 @@ let MidjourneyService = class MidjourneyService {
else {
let resultPromise;
if (action === 'MODAL') {
- resultPromise = this.getDrawActionDetail(action, drawId, customId).then((res) => res.drawId);
+ common_1.Logger.debug('customId:', customId);
+ drawInfo.drawId = (await this.getDrawActionDetail(drawId, customId)).drawId;
+ resultPromise = this.sendDrawCommand(drawInfo, modelInfo);
}
else {
resultPromise = this.sendDrawCommand(drawInfo, modelInfo);
@@ -83,7 +85,7 @@ let MidjourneyService = class MidjourneyService {
common_1.Logger.error('Error in other draw operation:', error);
});
}
- common_1.Logger.log(`执行预扣费,扣除费用:${action === 'UPSCALE' ? deduct : deduct * 4}积分。`);
+ common_1.Logger.log(`执行预扣费,扣除费用:${action === 'UPSCALE' ? deduct : deduct * 4}积分。`, 'MidjourneyService');
await this.userBalanceService.deductFromBalance(req.user.id, deductType, action === 'UPSCALE' ? deduct : deduct * 4);
return true;
}
@@ -106,7 +108,7 @@ let MidjourneyService = class MidjourneyService {
}
async addDrawQueue(params) {
try {
- const { prompt, imgUrl = '', extraParam = '', action, userId, customId, drawId, } = params;
+ const { prompt, imgUrl = '', extraParam = '', action, userId, customId, drawId, base64, } = params;
const fullPrompt = imgUrl
? `${imgUrl} ${prompt} ${extraParam}`
: `${prompt} ${extraParam}`;
@@ -120,6 +122,7 @@ let MidjourneyService = class MidjourneyService {
status: midjourney_constant_1.MidjourneyStatusEnum.WAITING,
action,
customId,
+ base64,
};
const res = await this.midjourneyEntity.save(drawInfo);
return res;
@@ -231,6 +234,7 @@ let MidjourneyService = class MidjourneyService {
else if (action === 'MODAL') {
url = `${mjProxyUrl}/mj/submit/modal`;
payloadJson = { maskBase64: base64, taskId: drawId, prompt: prompt };
+ console.log('提交参数', payloadJson);
}
else {
url = `${mjProxyUrl}/mj/submit/action`;
@@ -354,24 +358,22 @@ let MidjourneyService = class MidjourneyService {
throw new common_1.HttpException('获取我得绘制列表失败', common_1.HttpStatus.BAD_REQUEST);
}
}
- async getDrawActionDetail(action, drawId, customId) {
+ async getDrawActionDetail(drawId, customId) {
const modelInfo = await this.modelsService.getSpecialModelKeyInfo('midjourney');
const { openaiBaseUrl, openaiBaseKey } = await this.globalConfigService.getConfigs([
'openaiBaseUrl',
'openaiBaseKey',
]);
- const { deduct, isTokenBased, tokenFeeRatio, deductType, key, modelName, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, } = modelInfo;
+ const { key, id: keyId, maxRounds, proxyUrl, maxModelTokens, timeout, model: useModel, } = modelInfo;
const mjProxyUrl = proxyUrl;
const mjKey = key || openaiBaseKey;
const headers = { 'mj-api-secret': mjKey || openaiBaseUrl };
let resultId;
- if (action === 'MODAL') {
- const payloadJson = { taskId: drawId, customId: customId };
- const url = `${mjProxyUrl}/mj/submit/action`;
- const res = await axios_1.default.post(url, payloadJson, { headers });
- resultId = res.data.result;
- console.log('Received response from action submission:', resultId);
- }
+ const payloadJson = { taskId: drawId, customId: customId };
+ const url = `${mjProxyUrl}/mj/submit/action`;
+ const res = await axios_1.default.post(url, payloadJson, { headers });
+ resultId = res.data.result;
+ console.log('Received response from action submission:', resultId);
return { drawId: resultId };
}
async deleteDraw(id, req) {
diff --git a/dist/modules/models/models.service.js b/dist/modules/models/models.service.js
index f620f77..10a7986 100644
--- a/dist/modules/models/models.service.js
+++ b/dist/modules/models/models.service.js
@@ -72,11 +72,11 @@ let ModelsService = class ModelsService {
this.initCalcKey();
}
async getCurrentModelKeyInfo(model) {
- const modelKeyInfo = await this.modelsEntity.findOne({
+ let modelKeyInfo = await this.modelsEntity.findOne({
where: { model: model },
});
if (!modelKeyInfo) {
- throw new common_1.HttpException('当前调用模型的key未找到,请重新选择模型!', common_1.HttpStatus.BAD_REQUEST);
+ return null;
}
return modelKeyInfo;
}
@@ -92,7 +92,7 @@ let ModelsService = class ModelsService {
const modifiedModel = Object.assign(Object.assign({}, firstMatchModel), { model: modifiedModelName });
return modifiedModel;
}
- async getBaseConfig(appId) {
+ async getBaseConfig() {
if (!this.modelTypes.length || !Object.keys(this.modelMaps).length)
return;
const { keyType, modelName, model, deductType, deduct, isFileUpload, modelAvatar, modelDescription, } = this.modelMaps[1][0];
diff --git a/dist/modules/official/official.service.js b/dist/modules/official/official.service.js
index c4b7b7e..5fc88ce 100644
--- a/dist/modules/official/official.service.js
+++ b/dist/modules/official/official.service.js
@@ -109,13 +109,13 @@ let OfficialService = class OfficialService {
}
async scan(openID, sceneStr) {
try {
- common_1.Logger.log(`Scanning with openID: ${openID}, sceneStr: ${sceneStr}`);
+ common_1.Logger.log(`Scanning with openID: ${openID}, sceneStr: ${sceneStr}`, 'OfficialService');
if (!this.sceneStrMap[sceneStr]) {
common_1.Logger.error(`非法参数: 未找到的 sceneStr ${sceneStr}`);
throw new common_1.HttpException('非法参数', common_1.HttpStatus.BAD_REQUEST);
}
const user = await this.userService.getUserFromOpenId(openID, sceneStr);
- common_1.Logger.log(`User found: ${user ? user.id : 'No user found'}`);
+ common_1.Logger.log(`User found: ${user ? user.id : 'No user found'}`, 'OfficialService');
this.scanedSceneStrMap[sceneStr] = user.id;
}
catch (error) {
diff --git a/dist/modules/pay/pay.service.js b/dist/modules/pay/pay.service.js
index 65235a0..2e7baa3 100644
--- a/dist/modules/pay/pay.service.js
+++ b/dist/modules/pay/pay.service.js
@@ -52,13 +52,17 @@ let PayService = class PayService {
return this.notifyMpay(params);
}
async pay(userId, orderId, payType = 'wxpay') {
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- console.log('本次支付类型: ', order.payPlatform);
+ common_1.Logger.log('本次支付类型: ', order.payPlatform);
try {
if (order.payPlatform == 'wechat') {
return this.payWeChat(userId, orderId, payType);
@@ -77,7 +81,7 @@ let PayService = class PayService {
}
}
catch (error) {
- console.log('支付请求失败: ', error);
+ common_1.Logger.log('支付请求失败: ', error);
throw new common_1.HttpException('支付请求失败!', common_1.HttpStatus.BAD_REQUEST);
}
}
@@ -88,12 +92,16 @@ let PayService = class PayService {
return order;
}
async notifyHupi(params) {
- const payHupiSecret = await this.globalConfigService.getConfigs(['payHupiSecret']);
+ const payHupiSecret = await this.globalConfigService.getConfigs([
+ 'payHupiSecret',
+ ]);
const hash = params['hash'];
delete params['hash'];
if (this.sign(params, payHupiSecret) != hash)
return 'failed';
- const order = await this.orderEntity.findOne({ where: { orderId: params['trade_order_id'], status: 0 } });
+ const order = await this.orderEntity.findOne({
+ where: { orderId: params['trade_order_id'], status: 0 },
+ });
if (!order)
return 'failed';
await this.userBalanceService.addBalanceToOrder(order);
@@ -103,18 +111,22 @@ let PayService = class PayService {
return 'success';
}
async payHupi(userId, orderId, payType = 'wxpay') {
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- const { payHupiAppId, payHupiSecret, payHupiNotifyUrl, payHupiReturnUrl, payHupiGatewayUrl } = await this.globalConfigService.getConfigs([
+ const { payHupiAppId, payHupiSecret, payHupiNotifyUrl, payHupiReturnUrl, payHupiGatewayUrl, } = await this.globalConfigService.getConfigs([
'payHupiAppId',
'payHupiSecret',
'payHupiNotifyUrl',
'payHupiReturnUrl',
- 'payHupiGatewayUrl'
+ 'payHupiGatewayUrl',
]);
const params = {};
params['version'] = '1.1';
@@ -134,7 +146,10 @@ let PayService = class PayService {
return { url_qrcode, url };
}
async queryHupi(orderId) {
- const { payHupiAppId, payHupiSecret } = await this.globalConfigService.getConfigs(['payHupiAppId', 'payHupiSecret']);
+ const { payHupiAppId, payHupiSecret } = await this.globalConfigService.getConfigs([
+ 'payHupiAppId',
+ 'payHupiSecret',
+ ]);
const params = {};
params['version'] = '1.1';
params['appid'] = payHupiAppId;
@@ -151,11 +166,15 @@ let PayService = class PayService {
const sign = params['sign'];
delete params['sign'];
delete params['sign_type'];
- const payEpaySecret = await this.globalConfigService.getConfigs(['payEpaySecret']);
+ const payEpaySecret = await this.globalConfigService.getConfigs([
+ 'payEpaySecret',
+ ]);
if (this.sign(params, payEpaySecret) != sign)
return 'failed';
- console.log('校验签名通过');
- const order = await this.orderEntity.findOne({ where: { orderId: params['out_trade_no'], status: 0 } });
+ common_1.Logger.log('校验签名通过');
+ const order = await this.orderEntity.findOne({
+ where: { orderId: params['out_trade_no'], status: 0 },
+ });
if (!order)
return 'failed';
const status = params['trade_status'] == 'TRADE_SUCCESS' ? 1 : 2;
@@ -168,13 +187,17 @@ let PayService = class PayService {
return 'success';
}
async payEpay(userId, orderId, payType = 'alipay') {
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- const { payEpayPid, payEpaySecret, payEpayNotifyUrl, payEpayReturnUrl, payEpayApiPayUrl } = await this.globalConfigService.getConfigs([
+ const { payEpayPid, payEpaySecret, payEpayNotifyUrl, payEpayReturnUrl, payEpayApiPayUrl, } = await this.globalConfigService.getConfigs([
'payEpayPid',
'payEpaySecret',
'payEpayNotifyUrl',
@@ -204,15 +227,30 @@ let PayService = class PayService {
const queryParams = new URLSearchParams(params).toString();
const apiUrl = `${payEpayApiPayUrl}?${queryParams}`;
if (payEpayApiPayUrl.includes('submit.php')) {
- return { url_qrcode: null, redirectUrl: apiUrl, channel: payType, isRedirect: true };
+ return {
+ url_qrcode: null,
+ redirectUrl: apiUrl,
+ channel: payType,
+ isRedirect: true,
+ };
}
else {
- const res = await axios_1.default.get(payEpayApiPayUrl, { params });
- console.log('epay ---> res: ', res.data);
+ const config = {
+ headers: {
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ },
+ };
+ const res = await axios_1.default.post(payEpayApiPayUrl, params, config);
+ common_1.Logger.log('epay ---> res: ', res.data);
const { data: { code, msg, qrcode: url_qrcode }, } = res;
if (code != 1)
throw new common_1.HttpException(msg, common_1.HttpStatus.BAD_REQUEST);
- return { url_qrcode, redirectUrl: null, channel: payType, isRedirect: false };
+ return {
+ url_qrcode,
+ redirectUrl: null,
+ channel: payType,
+ isRedirect: false,
+ };
}
}
async queryEpay(orderId) {
@@ -235,16 +273,20 @@ let PayService = class PayService {
const sign = params['sign'];
delete params['sign'];
delete params['sign_type'];
- const payMpaySecret = await this.globalConfigService.getConfigs(['payMpaySecret']);
- console.log('校验签名');
+ const payMpaySecret = await this.globalConfigService.getConfigs([
+ 'payMpaySecret',
+ ]);
+ common_1.Logger.log('校验签名');
if (this.sign(params, payMpaySecret) != sign)
return 'failed';
- console.log('校验签名通过');
- const order = await this.orderEntity.findOne({ where: { orderId: params['out_trade_no'], status: 0 } });
+ common_1.Logger.log('校验签名通过');
+ const order = await this.orderEntity.findOne({
+ where: { orderId: params['out_trade_no'], status: 0 },
+ });
if (!order)
return 'failed';
const status = params['trade_status'] == 'TRADE_SUCCESS' ? 1 : 2;
- console.log('status: ', status);
+ common_1.Logger.log('status: ', status);
const result = await this.orderEntity.update({ orderId: params['out_trade_no'] }, { status, paydAt: new Date() });
if (status === 1) {
await this.userBalanceService.addBalanceToOrder(order);
@@ -254,13 +296,17 @@ let PayService = class PayService {
return 'success';
}
async payMpay(userId, orderId, payType = 'wxpay') {
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- const { payMpayPid, payMpaySecret, payMpayNotifyUrl, payMpayReturnUrl, payMpayApiPayUrl } = await this.globalConfigService.getConfigs([
+ const { payMpayPid, payMpaySecret, payMpayNotifyUrl, payMpayReturnUrl, payMpayApiPayUrl, } = await this.globalConfigService.getConfigs([
'payMpayPid',
'payMpaySecret',
'payMpayNotifyUrl',
@@ -279,11 +325,20 @@ let PayService = class PayService {
params['sign_type'] = 'MD5';
const queryParams = new URLSearchParams(params).toString();
const apiUrl = `${payMpayApiPayUrl}?${queryParams}`;
- return { url_qrcode: null, redirectUrl: apiUrl, channel: payType, isRedirect: true };
+ return {
+ url_qrcode: null,
+ redirectUrl: apiUrl,
+ channel: payType,
+ isRedirect: true,
+ };
const res = await axios_1.default.get(payMpayApiPayUrl, { params });
}
async queryMpay(orderId) {
- const { payMpayApiQueryUrl } = await this.globalConfigService.getConfigs(['payMpayPid', 'payMpaySecret', 'payMpayApiQueryUrl']);
+ const { payMpayApiQueryUrl } = await this.globalConfigService.getConfigs([
+ 'payMpayPid',
+ 'payMpaySecret',
+ 'payMpayApiQueryUrl',
+ ]);
const params = {};
params['type'] = 2;
params['order_no'] = orderId;
@@ -293,8 +348,8 @@ let PayService = class PayService {
return result;
}
async notifyWeChat(params) {
- console.log('微信支付通知params: ', params);
- const { payWeChatAppId, payWeChatMchId, payWeChatSecret, payWeChatPublicKey, payWeChatPrivateKey } = await this.globalConfigService.getConfigs([
+ common_1.Logger.log('微信支付通知params: ', params);
+ const { payWeChatAppId, payWeChatMchId, payWeChatSecret, payWeChatPublicKey, payWeChatPrivateKey, } = await this.globalConfigService.getConfigs([
'payWeChatAppId',
'payWeChatMchId',
'payWeChatSecret',
@@ -311,7 +366,9 @@ let PayService = class PayService {
if (params['event_type'] == 'TRANSACTION.SUCCESS') {
const { ciphertext, associated_data, nonce } = params['resource'];
const resource = pay.decipher_gcm(ciphertext, associated_data, nonce, payWeChatSecret);
- const order = await this.orderEntity.findOne({ where: { orderId: resource['out_trade_no'], status: 0 } });
+ const order = await this.orderEntity.findOne({
+ where: { orderId: resource['out_trade_no'], status: 0 },
+ });
if (!order)
return 'failed';
const status = resource['trade_state'] == 'SUCCESS' ? 1 : 2;
@@ -325,28 +382,30 @@ let PayService = class PayService {
return 'success';
}
catch (error) {
- console.log('error: ', error);
- console.log('支付通知验证失败: ', error);
+ common_1.Logger.log('error: ', error);
+ common_1.Logger.log('支付通知验证失败: ', error);
return 'failed';
}
}
async payWeChat(userId, orderId, payType = 'native') {
var _a, _b, _c, _d, _e, _f, _g;
- console.log('payType: ', payType);
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ common_1.Logger.log('payType: ', payType);
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- const { payWeChatAppId, payWeChatMchId, payWeChatPublicKey, payWeChatPrivateKey, payWeChatNotifyUrl, payWeChatH5Name, payWeChatH5Url } = await this.globalConfigService.getConfigs([
+ const { payWeChatAppId, payWeChatMchId, payWeChatPublicKey, payWeChatPrivateKey, payWeChatNotifyUrl, } = await this.globalConfigService.getConfigs([
'payWeChatAppId',
'payWeChatMchId',
'payWeChatPublicKey',
'payWeChatPrivateKey',
'payWeChatNotifyUrl',
- 'payWeChatH5Name',
- 'payWeChatH5Url',
]);
const pay = new this.WxPay({
appid: payWeChatAppId,
@@ -364,17 +423,17 @@ let PayService = class PayService {
total: Math.round(order.total * 100),
},
};
- console.log('wechat-pay: ', params);
+ common_1.Logger.log('wechat-pay: ', params);
if (payType == 'jsapi') {
- console.log(`[WeChat Pay JSAPI] 开始JSAPI支付流程,用户ID: ${userId}, 订单ID: ${orderId}`);
+ common_1.Logger.log(`[WeChat Pay JSAPI] 开始JSAPI支付流程,用户ID: ${userId}, 订单ID: ${orderId}`);
const openid = await this.userService.getOpenIdByUserId(userId);
- console.log(`[WeChat Pay JSAPI] 用户OpenID: ${openid}`);
+ common_1.Logger.log(`[WeChat Pay JSAPI] 用户OpenID: ${openid}`);
params['payer'] = { openid: openid };
- console.log(`[WeChat Pay JSAPI] 发送支付请求参数: `, JSON.stringify(params, null, 2));
+ common_1.Logger.log(`[WeChat Pay JSAPI] 发送支付请求参数: `, JSON.stringify(params, null, 2));
try {
const response = await pay.transactions_jsapi(params);
const result = response.data ? response.data : response;
- console.log(`[WeChat Pay JSAPI] 支付请求成功,返回结果: `, JSON.stringify(result, null, 2));
+ common_1.Logger.log(`[WeChat Pay JSAPI] 支付请求成功,返回结果: `, JSON.stringify(result, null, 2));
return {
status: response.status || 'unknown',
appId: result.appId || ((_a = result.data) === null || _a === void 0 ? void 0 : _a.appId),
@@ -382,7 +441,7 @@ let PayService = class PayService {
nonceStr: result.nonceStr || ((_c = result.data) === null || _c === void 0 ? void 0 : _c.nonceStr),
package: result.package || ((_d = result.data) === null || _d === void 0 ? void 0 : _d.package),
signType: result.signType || ((_e = result.data) === null || _e === void 0 ? void 0 : _e.signType),
- paySign: result.paySign || ((_f = result.data) === null || _f === void 0 ? void 0 : _f.paySign)
+ paySign: result.paySign || ((_f = result.data) === null || _f === void 0 ? void 0 : _f.paySign),
};
}
catch (error) {
@@ -392,16 +451,16 @@ let PayService = class PayService {
}
}
if (payType == 'native') {
- console.log(`开始进行微信Native支付流程,订单ID: ${orderId}, 用户ID: ${userId}`);
+ common_1.Logger.log(`开始进行微信Native支付流程,订单ID: ${orderId}, 用户ID: ${userId}`);
try {
const res = await pay.transactions_native(params);
- console.log(`微信Native支付响应数据: `, JSON.stringify(res, null, 2));
+ common_1.Logger.log(`微信Native支付响应数据: `, JSON.stringify(res, null, 2));
let url_qrcode = res.code_url || ((_g = res.data) === null || _g === void 0 ? void 0 : _g.code_url);
if (!url_qrcode) {
console.error(`微信Native支付请求成功,但未返回code_url,响应数据: `, JSON.stringify(res, null, 2));
}
else {
- console.log(`微信Native支付请求成功,code_url: ${url_qrcode}`);
+ common_1.Logger.log(`微信Native支付请求成功,code_url: ${url_qrcode}`);
}
return { url_qrcode, isRedirect: false };
}
@@ -417,7 +476,12 @@ let PayService = class PayService {
}
}
async queryWeChat(orderId) {
- const { payWeChatAppId, payWeChatMchId, payWeChatPublicKey, payWeChatPrivateKey, payWeChatNotifyUrl, payWeChatH5Name, payWeChatH5Url } = await this.globalConfigService.getConfigs(['payWeChatAppId', 'payWeChatMchId', 'payWeChatPublicKey', 'payWeChatPrivateKey']);
+ const { payWeChatAppId, payWeChatMchId, payWeChatPublicKey, payWeChatPrivateKey, payWeChatNotifyUrl, } = await this.globalConfigService.getConfigs([
+ 'payWeChatAppId',
+ 'payWeChatMchId',
+ 'payWeChatPublicKey',
+ 'payWeChatPrivateKey',
+ ]);
const pay = new this.WxPay({
appid: payWeChatAppId,
mchid: payWeChatMchId,
@@ -438,21 +502,25 @@ let PayService = class PayService {
const paramsArr = Object.keys(params);
paramsArr.sort();
const stringArr = [];
- paramsArr.map(key => {
+ paramsArr.map((key) => {
stringArr.push(key + '=' + params[key]);
});
- stringArr.push("key=" + secret);
+ stringArr.push('key=' + secret);
const str = stringArr.join('&');
return crypto.createHash('md5').update(str).digest('hex').toUpperCase();
}
async payLtzf(userId, orderId, payType = 'wxpay') {
- const order = await this.orderEntity.findOne({ where: { userId, orderId } });
+ const order = await this.orderEntity.findOne({
+ where: { userId, orderId },
+ });
if (!order)
throw new common_1.HttpException('订单不存在!', common_1.HttpStatus.BAD_REQUEST);
- const goods = await this.cramiPackageEntity.findOne({ where: { id: order.goodsId } });
+ const goods = await this.cramiPackageEntity.findOne({
+ where: { id: order.goodsId },
+ });
if (!goods)
throw new common_1.HttpException('套餐不存在!', common_1.HttpStatus.BAD_REQUEST);
- const { payLtzfMchId, payLtzfSecret, payLtzfNotifyUrl, payLtzfReturnUrl, } = await this.globalConfigService.getConfigs([
+ const { payLtzfMchId, payLtzfSecret, payLtzfNotifyUrl, payLtzfReturnUrl } = await this.globalConfigService.getConfigs([
'payLtzfMchId',
'payLtzfSecret',
'payLtzfNotifyUrl',
@@ -468,11 +536,13 @@ let PayService = class PayService {
params['sign'] = this.ltzfSign(params, payLtzfSecret);
params['attach'] = 'ltzf';
params['return_url'] = payLtzfReturnUrl;
- const formBody = Object.keys(params).map(key => encodeURIComponent(key) + '=' + encodeURIComponent(params[key])).join('&');
+ const formBody = Object.keys(params)
+ .map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(params[key]))
+ .join('&');
const config = {
headers: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ },
};
const response = await axios_1.default.post('https://api.ltzf.cn/api/wxpay/jsapi_convenient', formBody, config);
const { code, data, msg } = response.data;
@@ -483,17 +553,22 @@ let PayService = class PayService {
return { url_qrcode, url };
}
async queryLtzf(orderId) {
- const { payLtzfMchId, payLtzfSecret } = await this.globalConfigService.getConfigs(['payLtzfMchId', 'payLtzfSecret']);
+ const { payLtzfMchId, payLtzfSecret } = await this.globalConfigService.getConfigs([
+ 'payLtzfMchId',
+ 'payLtzfSecret',
+ ]);
const params = {};
params['mch_id'] = payLtzfMchId;
params['timestamp'] = (Date.now() / 1000).toFixed(0);
params['out_trade_no'] = orderId;
params['sign'] = this.ltzfSign(params, payLtzfSecret);
- const formBody = Object.keys(params).map(key => encodeURIComponent(key) + '=' + encodeURIComponent(params[key])).join('&');
+ const formBody = Object.keys(params)
+ .map((key) => encodeURIComponent(key) + '=' + encodeURIComponent(params[key]))
+ .join('&');
const config = {
headers: {
- 'Content-Type': 'application/x-www-form-urlencoded'
- }
+ 'Content-Type': 'application/x-www-form-urlencoded',
+ },
};
const { data: { code, msg, data: result }, } = await axios_1.default.post('https://api.ltzf.cn/api/wxpay/get_pay_order', formBody, config);
if (code != 0)
@@ -501,7 +576,9 @@ let PayService = class PayService {
return result;
}
async notifyLtzf(params) {
- const payLtzfSecret = await this.globalConfigService.getConfigs(['payLtzfSecret']);
+ const payLtzfSecret = await this.globalConfigService.getConfigs([
+ 'payLtzfSecret',
+ ]);
const hash = params['sign'];
delete params['sign'];
delete params['pay_channel'];
@@ -511,7 +588,9 @@ let PayService = class PayService {
delete params['openid'];
if (this.ltzfSign(params, payLtzfSecret) != hash)
return 'FAIL';
- const order = await this.orderEntity.findOne({ where: { orderId: params['out_trade_no'], status: 0 } });
+ const order = await this.orderEntity.findOne({
+ where: { orderId: params['out_trade_no'], status: 0 },
+ });
if (!order)
return 'FAIL';
await this.userBalanceService.addBalanceToOrder(order);
diff --git a/dist/modules/plugin/plugin.service.js b/dist/modules/plugin/plugin.service.js
index 1ef7904..075b1aa 100644
--- a/dist/modules/plugin/plugin.service.js
+++ b/dist/modules/plugin/plugin.service.js
@@ -16,19 +16,37 @@ exports.PluginService = void 0;
const common_1 = require("@nestjs/common");
const typeorm_1 = require("@nestjs/typeorm");
const typeorm_2 = require("typeorm");
+const models_service_1 = require("../models/models.service");
const plugin_entity_1 = require("./plugin.entity");
let PluginService = class PluginService {
- constructor(PluginEntity) {
+ constructor(PluginEntity, modelsService) {
this.PluginEntity = PluginEntity;
+ this.modelsService = modelsService;
}
async pluginList(query) {
- const { page = 1, size = 1000 } = query;
+ const { page = 1, size = 100 } = query;
const rows = await this.PluginEntity.find({
order: { sortOrder: 'ASC', id: 'DESC' },
skip: (page - 1) * size,
take: size,
});
- return { rows, count: rows.length };
+ const processedRows = await Promise.all(rows.map(async (plugin) => {
+ if (plugin.isSystemPlugin === 1) {
+ try {
+ const parameters = await this.modelsService.getCurrentModelKeyInfo(plugin.parameters);
+ const deductType = parameters.deductType;
+ return Object.assign(Object.assign({}, plugin), { deductType });
+ }
+ catch (error) {
+ return Object.assign(Object.assign({}, plugin), { deductType: 0 });
+ }
+ }
+ else {
+ return Object.assign(Object.assign({}, plugin), { deductType: 0 });
+ }
+ }));
+ const filteredRows = processedRows.filter((plugin) => plugin !== null);
+ return { rows: filteredRows, count: filteredRows.length };
}
async createPlugin(body) {
const { name, pluginImg, description, isEnabled, isSystemPlugin, parameters, sortOrder, } = body;
@@ -98,6 +116,7 @@ let PluginService = class PluginService {
PluginService = __decorate([
(0, common_1.Injectable)(),
__param(0, (0, typeorm_1.InjectRepository)(plugin_entity_1.PluginEntity)),
- __metadata("design:paramtypes", [typeorm_2.Repository])
+ __metadata("design:paramtypes", [typeorm_2.Repository,
+ models_service_1.ModelsService])
], PluginService);
exports.PluginService = PluginService;
diff --git a/dist/modules/statistic/statistic.service.js b/dist/modules/statistic/statistic.service.js
index 6e8831c..ec32f8f 100644
--- a/dist/modules/statistic/statistic.service.js
+++ b/dist/modules/statistic/statistic.service.js
@@ -220,6 +220,36 @@ let StatisticService = class StatisticService {
}
return dailyData;
}
+ async getNewAccessToken(baiduApiKey, baiduSecretKey, baiduRefreshToken) {
+ const tokenUrl = `http://openapi.baidu.com/oauth/2.0/token?grant_type=refresh_token&refresh_token=${baiduRefreshToken}&client_id=${baiduApiKey}&client_secret=${baiduSecretKey}`;
+ common_1.Logger.log('获取新 accessToken', tokenUrl);
+ try {
+ const tokenRes = await axios_1.default.get(tokenUrl);
+ if (tokenRes.status === 200 && tokenRes.data.access_token) {
+ return {
+ accessToken: tokenRes.data.access_token,
+ refreshToken: tokenRes.data.refresh_token,
+ };
+ }
+ else {
+ throw new Error('Failed to get new access token');
+ }
+ }
+ catch (tokenError) {
+ common_1.Logger.error('获取新 accessToken 失败', {
+ message: tokenError.message,
+ stack: tokenError.stack,
+ response: tokenError.response
+ ? tokenError.response.data
+ : 'No response data',
+ });
+ throw new common_1.HttpException('获取新 accessToken 失败', common_1.HttpStatus.BAD_REQUEST);
+ }
+ }
+ async updateAccessTokenInDatabase(accessToken, refreshToken, configEntity) {
+ await configEntity.update({ configKey: 'baiduToken' }, { configVal: accessToken });
+ await configEntity.update({ configKey: 'baiduRefreshToken' }, { configVal: refreshToken });
+ }
async getBaiduStatistics(days) {
const end_date = (0, date_1.formatDate)(new Date(), 'YYYYMMDD');
const start_date = (0, date_1.formatDate)(new Date(Date.now() - Number(days - 1) * 24 * 60 * 60 * 1000), 'YYYYMMDD');
@@ -232,58 +262,34 @@ let StatisticService = class StatisticService {
'baiduSecretKey',
'baiduRefreshToken',
]);
- if (!baiduApiKey ||
- !baiduToken ||
- !baiduSiteId ||
- !baiduRefreshToken ||
- !baiduSecretKey) {
+ if (!baiduApiKey || !baiduSiteId || !baiduRefreshToken || !baiduSecretKey) {
return [];
}
let accessToken = baiduToken;
- let url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${accessToken}&site_id=${baiduSiteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`;
let res;
- try {
- res = await axios_1.default.get(url);
- }
- catch (error) {
- res = {
- data: {
- error_code: 111,
- message: 'Access token invalid or no longer valid',
- },
- };
- }
- let { error_code, message } = res.data;
- if (error_code === 111) {
- const tokenUrl = `http://openapi.baidu.com/oauth/2.0/token?grant_type=refresh_token&refresh_token=${baiduRefreshToken}&client_id=${baiduApiKey}&client_secret=${baiduSecretKey}`;
- common_1.Logger.log('获取新 accessToken', tokenUrl);
- let tokenRes;
+ let url;
+ const fetchData = async (token) => {
+ url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${token}&site_id=${baiduSiteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`;
try {
- tokenRes = await axios_1.default.get(tokenUrl);
+ return await axios_1.default.get(url);
}
- catch (tokenError) {
- common_1.Logger.error('获取新 accessToken 失败', {
- message: tokenError.message,
- stack: tokenError.stack,
- response: tokenError.response
- ? tokenError.response.data
- : 'No response data',
- });
- throw new common_1.HttpException('获取新 accessToken 失败', common_1.HttpStatus.BAD_REQUEST);
- }
- if (tokenRes.status === 200 && tokenRes.data.access_token) {
- accessToken = tokenRes.data.access_token;
- await this.configEntity.update({ configKey: 'baiduToken' }, {
- configVal: accessToken,
- });
- url = `https://openapi.baidu.com/rest/2.0/tongji/report/getData?access_token=${accessToken}&site_id=${baiduSiteId}&method=${method}&start_date=${start_date}&end_date=${end_date}&metrics=${metrics}`;
- res = await axios_1.default.get(url);
- ({ error_code, message } = res.data);
- }
- else {
- throw new common_1.HttpException('获取新 accessToken 失败', common_1.HttpStatus.BAD_REQUEST);
+ catch (error) {
+ return {
+ data: {
+ error_code: 111,
+ message: 'Access token invalid or no longer valid',
+ },
+ };
}
+ };
+ res = await fetchData(accessToken);
+ if (res.data.error_code === 111 || !baiduToken) {
+ const { accessToken: newAccessToken, refreshToken: newRefreshToken } = await this.getNewAccessToken(baiduApiKey, baiduSecretKey, baiduRefreshToken);
+ accessToken = newAccessToken;
+ await this.updateAccessTokenInDatabase(accessToken, newRefreshToken, this.configEntity);
+ res = await fetchData(accessToken);
}
+ const { error_code, message } = res.data;
if (error_code && error_code !== 200) {
throw new common_1.HttpException(message || '获取百度统计数据失败', common_1.HttpStatus.BAD_REQUEST);
}
diff --git a/dist/modules/upload/upload.service.js b/dist/modules/upload/upload.service.js
index fdec23c..e3df320 100644
--- a/dist/modules/upload/upload.service.js
+++ b/dist/modules/upload/upload.service.js
@@ -16,66 +16,75 @@ const ALIOSS = require("ali-oss");
const axios_1 = require("axios");
const TENCENTCOS = require("cos-nodejs-sdk-v5");
const FormData = require("form-data");
-const fs = require("fs");
-const path_1 = require("path");
+const fs_1 = require("fs");
+const mime = require("mime-types");
+const path = require("path");
const streamToBuffer = require("stream-to-buffer");
const globalConfig_service_1 = require("../globalConfig/globalConfig.service");
+const blacklist = ['exe', 'sh', 'bat', 'js', 'php', 'py'];
let UploadService = class UploadService {
constructor(globalConfigService) {
this.globalConfigService = globalConfigService;
}
onModuleInit() { }
async uploadFile(file, dir = 'others') {
- const { filename: name, originalname, buffer, mimetype, } = file;
- if (process.env.ISDEV) {
+ const { buffer, mimetype } = file;
+ if (process.env.ISDEV === 'TRUE') {
dir = `dev/${dir}`;
}
- common_1.Logger.debug(`准备上传文件: ${dir}`, 'UploadService');
+ const fileExtension = mime.extension(mimetype) || '';
+ if (!fileExtension) {
+ common_1.Logger.error('无法识别文件类型,请检查文件', 'UploadService');
+ }
+ if (blacklist.includes(fileExtension.toLowerCase())) {
+ common_1.Logger.error('不允许上传此类型的文件', 'UploadService');
+ throw new Error('不允许上传此类型的文件');
+ }
const now = new Date();
const timestamp = now.getTime();
const randomString = Math.random().toString(36).substring(2, 6);
- const fileType = mimetype ? mimetype.split('/')[1] : '';
- const filename = `${timestamp}_${randomString}.${fileType}`;
- common_1.Logger.debug(`准备上传文件: ${filename}, 类型: ${fileType}`, 'UploadService');
+ const filename = `${timestamp}_${randomString}.${fileExtension}`;
const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs([
'tencentCosStatus',
'aliOssStatus',
'cheveretoStatus',
]);
- common_1.Logger.debug(`上传配置状态 - 腾讯云: ${tencentCosStatus}, 阿里云: ${aliOssStatus}, Chevereto: ${cheveretoStatus}`, 'UploadService');
+ common_1.Logger.log(`上传配置状态 - 腾讯云: ${tencentCosStatus}, 阿里云: ${aliOssStatus}, Chevereto: ${cheveretoStatus}`, 'UploadService');
if (!Number(tencentCosStatus) &&
!Number(aliOssStatus) &&
!Number(cheveretoStatus)) {
+ common_1.Logger.error('未配置任何上传方式', 'UploadService');
throw new common_1.HttpException('请先前往后台配置上传图片的方式', common_1.HttpStatus.BAD_REQUEST);
}
try {
if (Number(tencentCosStatus)) {
- common_1.Logger.debug(`使用腾讯云COS上传`, 'UploadService');
- return await this.uploadFileByTencentCos({
+ common_1.Logger.log('使用腾讯云 COS 上传文件', 'UploadService');
+ const result = await this.uploadFileByTencentCos({
filename,
buffer,
dir,
- fileType,
});
+ common_1.Logger.log(`文件已上传到腾讯云 COS。访问 URL: ${result}`, 'UploadService');
+ return result;
}
if (Number(aliOssStatus)) {
- common_1.Logger.debug(`使用阿里云OSS上传`, 'UploadService');
- return await this.uploadFileByAliOss({
+ common_1.Logger.log('使用阿里云 OSS 上传文件', 'UploadService');
+ const result = await this.uploadFileByAliOss({
filename,
buffer,
dir,
- fileType,
});
+ common_1.Logger.log(`文件已上传到阿里云 OSS。访问 URL: ${result}`, 'UploadService');
+ return result;
}
if (Number(cheveretoStatus)) {
- common_1.Logger.debug(`使用Chevereto上传`, 'UploadService');
- const { filename, buffer: fromBuffer, dir } = file;
- return await this.uploadFileByChevereto({
+ common_1.Logger.log('使用 Chevereto 上传文件', 'UploadService');
+ const result = await this.uploadFileByChevereto({
filename,
- buffer: fromBuffer.toString('base64'),
- dir,
- fileType,
+ buffer: buffer.toString('base64'),
});
+ common_1.Logger.log(`文件已上传到 Chevereto。访问 URL: ${result}`, 'UploadService');
+ return result;
}
}
catch (error) {
@@ -100,85 +109,13 @@ let UploadService = class UploadService {
}
}
async uploadFileFromUrl({ url, dir = 'others' }) {
- if (process.env.ISDEV) {
+ if (process.env.ISDEV === 'TRUE') {
dir = `dev/${dir}`;
}
- const now = new Date();
- const timestamp = now.getTime();
- const randomString = Math.random().toString(36).substring(2, 6);
- const response = await axios_1.default.head(url);
- const mimeType = response.headers['content-type'];
- let fileExtension = '';
- if (mimeType) {
- const mimeTypeMap = {
- 'image/jpeg': 'jpg',
- 'image/png': 'png',
- 'image/gif': 'gif',
- 'image/webp': 'webp',
- 'image/bmp': 'bmp',
- 'image/svg+xml': 'svg',
- 'image/tiff': 'tiff',
- 'image/x-icon': 'ico',
- 'video/mp4': 'mp4',
- 'video/mpeg': 'mpeg',
- 'video/ogg': 'ogv',
- 'video/webm': 'webm',
- 'video/quicktime': 'mov',
- 'video/x-msvideo': 'avi',
- 'video/x-flv': 'flv',
- 'audio/mpeg': 'mp3',
- 'audio/ogg': 'ogg',
- 'audio/wav': 'wav',
- 'audio/x-wav': 'wav',
- 'audio/webm': 'weba',
- 'application/pdf': 'pdf',
- 'application/msword': 'doc',
- 'application/vnd.openxmlformats-officedocument.wordprocessingml.document': 'docx',
- 'application/vnd.ms-excel': 'xls',
- 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': 'xlsx',
- 'application/vnd.ms-powerpoint': 'ppt',
- 'application/vnd.openxmlformats-officedocument.presentationml.presentation': 'pptx',
- 'application/zip': 'zip',
- 'application/x-rar-compressed': 'rar',
- 'application/x-7z-compressed': '7z',
- 'text/plain': 'txt',
- 'text/html': 'html',
- 'text/css': 'css',
- 'text/javascript': 'js',
- 'application/json': 'json',
- 'application/xml': 'xml',
- 'application/octet-stream': 'bin',
- 'application/vnd.android.package-archive': 'apk',
- 'application/x-sh': 'sh',
- };
- fileExtension = mimeTypeMap[mimeType] || '';
- }
- const filename = fileExtension
- ? `${timestamp}_${randomString}.${fileExtension}`
- : `${timestamp}_${randomString}`;
- common_1.Logger.debug(`准备上传文件: ${filename}, URL: ${url}, 目录: ${dir}`, 'UploadService');
- const { tencentCosStatus = 0, aliOssStatus = 0, cheveretoStatus = 0, } = await this.globalConfigService.getConfigs([
- 'tencentCosStatus',
- 'aliOssStatus',
- 'cheveretoStatus',
- ]);
- if (!Number(tencentCosStatus) &&
- !Number(aliOssStatus) &&
- !Number(cheveretoStatus)) {
- throw new common_1.HttpException('请先前往后台配置上传图片的方式', common_1.HttpStatus.BAD_REQUEST);
- }
- if (Number(tencentCosStatus)) {
- return this.uploadFileByTencentCosFromUrl({ filename, url, dir });
- }
- if (Number(aliOssStatus)) {
- const res = await this.uploadFileByAliOssFromUrl({ filename, url, dir });
- return res;
- }
- if (Number(cheveretoStatus)) {
- return await this.uploadFileByCheveretoFromUrl({ filename, url, dir });
- }
+ const { buffer, mimeType } = await this.getBufferFromUrl(url);
+ return await this.uploadFile({ buffer, mimetype: mimeType }, dir);
}
- async uploadFileByTencentCos({ filename, buffer, dir, fileType }) {
+ async uploadFileByTencentCos({ filename, buffer, dir }) {
const { Bucket, Region, SecretId, SecretKey } = await this.getUploadConfig('tencent');
this.tencentCos = new TENCENTCOS({
SecretId,
@@ -187,11 +124,10 @@ let UploadService = class UploadService {
});
try {
return new Promise(async (resolve, reject) => {
- const type = fileType || 'png';
this.tencentCos.putObject({
Bucket: (0, utils_1.removeSpecialCharacters)(Bucket),
Region: (0, utils_1.removeSpecialCharacters)(Region),
- Key: `${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileType}`}`,
+ Key: `${dir}/${filename}`,
StorageClass: 'STANDARD',
Body: buffer,
}, async (err, data) => {
@@ -214,28 +150,7 @@ let UploadService = class UploadService {
throw new common_1.HttpException('上传图片失败[ten]', common_1.HttpStatus.BAD_REQUEST);
}
}
- async uploadFileByTencentCosFromUrl({ filename, url, dir }) {
- const { Bucket, Region, SecretId, SecretKey } = await this.getUploadConfig('tencent');
- this.tencentCos = new TENCENTCOS({
- SecretId,
- SecretKey,
- FileParallelLimit: 10,
- });
- try {
- const buffer = await this.getBufferFromUrl(url);
- return await this.uploadFileByTencentCos({
- filename,
- buffer,
- dir,
- fileType: '',
- });
- }
- catch (error) {
- console.log('TODO->error: ', error);
- throw new common_1.HttpException('上传图片失败[ten][url]', common_1.HttpStatus.BAD_REQUEST);
- }
- }
- async uploadFileByAliOss({ filename, buffer, dir, fileType = 'png' }) {
+ async uploadFileByAliOss({ filename, buffer, dir }) {
const { region, bucket, accessKeyId, accessKeySecret } = await this.getUploadConfig('ali');
const client = new ALIOSS({
region: (0, utils_1.removeSpecialCharacters)(region),
@@ -247,7 +162,7 @@ let UploadService = class UploadService {
console.log('ali 开始上传');
return new Promise((resolve, reject) => {
client
- .put(`${dir}/${filename || `${(0, utils_1.createRandomUid)()}.${fileType}`}`, buffer)
+ .put(`${dir}/${filename}`, buffer)
.then(async (result) => {
const { acceleratedDomain } = await this.getUploadConfig('ali');
if (acceleratedDomain) {
@@ -265,46 +180,38 @@ let UploadService = class UploadService {
throw new common_1.HttpException('上传图片失败[ali]', common_1.HttpStatus.BAD_REQUEST);
}
}
- async uploadFileToLocalFromUrl({ filename, url, dir }) {
+ async uploadFileToLocal({ filename, buffer, dir = 'others' }) {
+ const normalizedDir = path.normalize(dir).replace(/^(\.\.(\/|\\|$))+/, '');
+ const normalizedFilename = path.basename(filename);
+ const projectRoot = process.cwd();
+ const uploadDir = path.join(projectRoot, 'public', 'file', normalizedDir);
+ const filePath = path.join(uploadDir, normalizedFilename);
+ if (!filePath.startsWith(path.join(projectRoot, 'public', 'file'))) {
+ throw new Error('非法路径,禁止访问目录之外的位置');
+ }
try {
- const buffer = await this.getBufferFromUrl(url);
- return await this.uploadFileToLocal({ filename, buffer, dir });
+ await fs_1.promises.mkdir(uploadDir, { recursive: true });
}
- catch (error) {
- console.log('TODO->error: ', error);
- throw new common_1.HttpException('上传图片失败[ten][url]', common_1.HttpStatus.BAD_REQUEST);
+ catch (err) {
+ common_1.Logger.error(`创建目录失败: ${uploadDir}`, err);
+ throw err;
}
- }
- async uploadFileToLocal({ filename, buffer, dir = 'ai' }) {
- if (!filename || !buffer) {
- throw new Error('必须提供文件名和文件内容');
+ try {
+ await fs_1.promises.writeFile(filePath, buffer, { mode: 0o444 });
}
- const appRoot = require('app-root-path');
- const uploadDir = path_1.default.join(appRoot.path, 'service', 'public', 'file');
- const filePath = path_1.default.join(uploadDir, filename);
- if (!fs.existsSync(uploadDir)) {
- fs.mkdirSync(uploadDir, { recursive: true });
- common_1.Logger.log(`创建目录: ${uploadDir}`);
+ catch (err) {
+ common_1.Logger.error(`文件保存失败: ${filePath}`, err);
+ throw err;
+ }
+ let fileUrl = `file/${normalizedDir}/${normalizedFilename}`;
+ const siteUrl = await this.globalConfigService.getConfigs(['siteUrl']);
+ if (siteUrl) {
+ const url = (0, utils_1.formatUrl)(siteUrl);
+ fileUrl = `${url}/${fileUrl}`;
}
- fs.writeFileSync(filePath, buffer);
- common_1.Logger.log(`文件已保存: ${filePath}`);
- const baseUrl = process.env.BASE_URL || 'http://127.0.0.1:9520';
- const fileUrl = `${baseUrl}/file/${filename}`;
- common_1.Logger.log(`文件可访问于: ${fileUrl}`);
return fileUrl;
}
- async uploadFileByAliOssFromUrl({ filename, url, dir }) {
- const { region, bucket, accessKeyId, accessKeySecret } = await this.getUploadConfig('ali');
- const client = new ALIOSS({ region, accessKeyId, accessKeySecret, bucket });
- try {
- const buffer = await this.getBufferFromUrl(url);
- return await this.uploadFileByAliOss({ filename, buffer, dir });
- }
- catch (error) {
- throw new common_1.HttpException('上传图片失败[ALI][url]', common_1.HttpStatus.BAD_REQUEST);
- }
- }
- async uploadFileByChevereto({ filename = '', buffer, dir = 'ai', fileType = 'png', }) {
+ async uploadFileByChevereto({ filename = '', buffer }) {
var _a;
const { key, uploadPath } = await this.getUploadConfig('chevereto');
let url = uploadPath.endsWith('/') ? uploadPath.slice(0, -1) : uploadPath;
@@ -330,16 +237,6 @@ let UploadService = class UploadService {
throw new common_1.HttpException(`上传图片失败[Chevereto|buffer] --> ${(_a = error.response) === null || _a === void 0 ? void 0 : _a.data.error.message}`, common_1.HttpStatus.BAD_REQUEST);
}
}
- async uploadFileByCheveretoFromUrl({ filename, url, dir }) {
- try {
- const buffer = await this.getBufferFromUrl(url);
- return await this.uploadFileByChevereto({ filename, buffer, dir });
- }
- catch (error) {
- console.log('error: ', error);
- throw new common_1.HttpException(error.response, common_1.HttpStatus.BAD_REQUEST);
- }
- }
async getUploadConfig(type) {
if (type === 'ali') {
const { aliOssRegion: region, aliOssBucket: bucket, aliOssAccessKeyId: accessKeyId, aliOssAccessKeySecret: accessKeySecret, aliOssAcceleratedDomain: acceleratedDomain, } = await this.globalConfigService.getConfigs([
@@ -377,16 +274,18 @@ let UploadService = class UploadService {
}
async getBufferFromUrl(url) {
const response = await axios_1.default.get(url, { responseType: 'stream' });
- return new Promise((resolve, reject) => {
+ const buffer = await new Promise((resolve, reject) => {
streamToBuffer(response.data, (err, buffer) => {
if (err) {
- throw new common_1.HttpException('获取图片资源失败、请重新试试吧!', common_1.HttpStatus.BAD_REQUEST);
+ reject(new common_1.HttpException('获取图片资源失败,请重新试试吧!', common_1.HttpStatus.BAD_REQUEST));
}
else {
resolve(buffer);
}
});
});
+ const mimeType = response.headers['content-type'];
+ return { buffer, mimeType };
}
};
UploadService = __decorate([
diff --git a/dist/modules/user/user.service.js b/dist/modules/user/user.service.js
index 654e0b1..767f8f9 100644
--- a/dist/modules/user/user.service.js
+++ b/dist/modules/user/user.service.js
@@ -207,6 +207,11 @@ let UserService = class UserService {
userInfo.isBindWx = !!(userInfo === null || userInfo === void 0 ? void 0 : userInfo.openId);
delete userInfo.openId;
const userBalance = await this.userBalanceService.queryUserBalance(userId);
+ const processedId = (userId * 123 + 100000000)
+ .toString(36)
+ .toUpperCase()
+ .slice(-6);
+ userInfo.id = processedId;
return { userInfo, userBalance: Object.assign({}, userBalance) };
}
async getUserById(id) {
diff --git a/dist/modules/userBalance/userBalance.service.js b/dist/modules/userBalance/userBalance.service.js
index 3f95a87..21f0b97 100644
--- a/dist/modules/userBalance/userBalance.service.js
+++ b/dist/modules/userBalance/userBalance.service.js
@@ -171,11 +171,11 @@ let UserBalanceService = class UserBalanceService {
: null;
if (b.packageId && b[memberKey] + b[baseKey] < amount) {
if (b[baseKey] < amount) {
- throw new common_1.HttpException(`您的账户余额不足,如果想继续体验服务,请联系管理员或购买专属套餐 !`, common_1.HttpStatus.PAYMENT_REQUIRED);
+ throw new common_1.HttpException(`积分不足,继续体验服务,请按需选购套餐!`, common_1.HttpStatus.PAYMENT_REQUIRED);
}
}
if (!b.packageId && b[baseKey] < amount) {
- throw new common_1.HttpException(`您的账户余额不足,如果想继续体验服务,请联系管理员或购买专属套餐 !`, common_1.HttpStatus.PAYMENT_REQUIRED);
+ throw new common_1.HttpException(`积分不足,继续体验服务,请按需选购套餐!`, common_1.HttpStatus.PAYMENT_REQUIRED);
}
return b;
}
@@ -211,7 +211,7 @@ let UserBalanceService = class UserBalanceService {
};
data[baseKey] = data[baseKey] + amount;
if (data[baseKey] > settings[baseKey]) {
- throw new common_1.HttpException(`今日当前类型免费额度已经使用完毕、建议您注册账户体验更加完整的服务内容!`, common_1.HttpStatus.PAYMENT_REQUIRED);
+ throw new common_1.HttpException(`今日体验额度使用完毕,请注册使用完整服务!`, common_1.HttpStatus.PAYMENT_REQUIRED);
}
else {
await this.fingerprintLogEntity.save(data);
@@ -239,7 +239,7 @@ let UserBalanceService = class UserBalanceService {
data[baseKey] = data[baseKey] + amount;
}
if (data[baseKey] > settings[baseKey]) {
- throw new common_1.HttpException(`今日当前类型免费额度已经使用完毕、建议您注册账户体验更加完整的服务内容!`, common_1.HttpStatus.PAYMENT_REQUIRED);
+ throw new common_1.HttpException(`今日体验额度使用完毕,请注册使用完整服务!`, common_1.HttpStatus.PAYMENT_REQUIRED);
}
else {
await this.fingerprintLogEntity.update({ fingerprint: id }, data);
diff --git a/dist/modules/verification/verification.service.js b/dist/modules/verification/verification.service.js
index e1647d5..a079722 100644
--- a/dist/modules/verification/verification.service.js
+++ b/dist/modules/verification/verification.service.js
@@ -29,8 +29,12 @@ let VerificationService = class VerificationService {
this.redisCacheService = redisCacheService;
}
async createVerification(user, type, expir = 30 * 60) {
- const historyVerify = await this.verifycationEntity.findOne({ where: { userId: user.id, type }, order: { createdAt: 'DESC' } });
- if (historyVerify && historyVerify.createdAt.getTime() + 1 * 60 * 1000 > Date.now()) {
+ const historyVerify = await this.verifycationEntity.findOne({
+ where: { userId: user.id, type },
+ order: { createdAt: 'DESC' },
+ });
+ if (historyVerify &&
+ historyVerify.createdAt.getTime() + 1 * 60 * 1000 > Date.now()) {
const diffS = Math.ceil((historyVerify.createdAt.getTime() + 1 * 60 * 1000 - Date.now()) / 1000);
throw new common_1.HttpException(`${diffS}S内不得重新发送`, common_1.HttpStatus.BAD_REQUEST);
}
@@ -41,7 +45,10 @@ let VerificationService = class VerificationService {
return await this.verifycationEntity.save(verifycation);
}
async verifyCode({ code, id }, type) {
- const v = await this.verifycationEntity.findOne({ where: { id, type }, order: { createdAt: 'DESC' } });
+ const v = await this.verifycationEntity.findOne({
+ where: { id, type },
+ order: { createdAt: 'DESC' },
+ });
if (!v) {
throw new common_1.HttpException('验证码不存在', common_1.HttpStatus.BAD_REQUEST);
}
@@ -60,29 +67,26 @@ let VerificationService = class VerificationService {
}
return v;
}
- async verifyCaptcha(body) {
- const { captchaId, captchaCode } = body;
- const nameSpace = await this.globalConfigService.getNamespace();
- const key = `${nameSpace}:CAPTCHA:${captchaId}`;
- const code = await this.redisCacheService.get({ key });
- await this.redisCacheService.del({ key });
- if (!code) {
- throw new common_1.HttpException('图形验证码已过期、请重新输入!', common_1.HttpStatus.BAD_REQUEST);
- }
- if (!code || code !== captchaCode) {
- throw new common_1.HttpException('图形验证码错误、请检查填写!', common_1.HttpStatus.BAD_REQUEST);
- }
- }
async sendPhoneCode(messageInfo) {
var _a;
const { accessKeyId, accessKeySecret, SignName, TemplateCode } = await this.globalConfigService.getPhoneVerifyConfig();
- console.log("Received messageInfo:", messageInfo);
+ console.log('Received messageInfo:', messageInfo);
const { phone, code } = messageInfo;
if (!phone || !code) {
throw new common_1.HttpException('确实必要参数错误!', common_1.HttpStatus.BAD_REQUEST);
}
- const client = new Core({ accessKeyId, accessKeySecret, endpoint: 'https://dysmsapi.aliyuncs.com', apiVersion: '2017-05-25' });
- const params = { PhoneNumbers: phone, SignName, TemplateCode, TemplateParam: JSON.stringify({ code }) };
+ const client = new Core({
+ accessKeyId,
+ accessKeySecret,
+ endpoint: 'https://dysmsapi.aliyuncs.com',
+ apiVersion: '2017-05-25',
+ });
+ const params = {
+ PhoneNumbers: phone,
+ SignName,
+ TemplateCode,
+ TemplateParam: JSON.stringify({ code }),
+ };
const requestOption = { method: 'POST', formatParams: false };
try {
const response = await client.request('SendSms', params, requestOption);
diff --git a/package.json b/package.json
index 5bd4596..1dd7ff9 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "99ai",
- "version": "3.5.0",
+ "version": "3.7.0",
"description": "",
"author": "vastxie",
"private": true,
@@ -27,30 +27,23 @@
},
"dependencies": {
"@alicloud/pop-core": "^1.7.13",
- "@dqbd/tiktoken": "^1.0.15",
- "@keyv/redis": "^2.8.5",
"@nestjs/bull": "^0.6.3",
"@nestjs/common": "^9.4.3",
- "@nestjs/config": "^3.2.2",
"@nestjs/core": "^9.4.3",
"@nestjs/jwt": "^10.2.0",
"@nestjs/passport": "^9.0.3",
"@nestjs/platform-express": "^9.4.3",
- "@nestjs/platform-socket.io": "^10.3.9",
"@nestjs/schedule": "^2.2.3",
"@nestjs/serve-static": "^4.0.2",
"@nestjs/swagger": "^6.3.0",
"@nestjs/typeorm": "^9.0.1",
"@nestjs/websockets": "^10.3.9",
- "@types/cache-manager-redis-store": "^2.0.4",
"abort-controller": "^3.0.0",
"ali-oss": "^6.20.0",
- "app-root-path": "^3.1.0",
"axios": "^1.7.2",
"bcryptjs": "^2.4.3",
"body-parser": "^1.20.2",
"bull": "^4.14.0",
- "cache-manager-redis-store": "^3.0.1",
"class-transformer": "^0.5.1",
"class-validator": "^0.14.1",
"compression": "^1.7.4",
@@ -58,57 +51,41 @@
"dayjs": "^1.11.11",
"decimal.js": "^10.4.3",
"dotenv": "^16.4.5",
- "eventsource": "^2.0.2",
"exceljs": "^4.4.0",
"express": "^4.19.2",
"express-xml-bodyparser": "^0.3.0",
"form-data": "^4.0.0",
+ "gpt-tokenizer": "^2.2.1",
"guid-typescript": "^1.0.9",
- "handlebars": "^4.7.8",
- "hbs": "^4.2.0",
"image-size": "^1.1.1",
"ioredis": "^5.4.1",
"isomorphic-fetch": "^3.0.0",
"javascript-obfuscator": "^4.1.1",
- "jimp": "^0.22.12",
"jsonwebtoken": "^9.0.2",
- "keyv": "^4.5.4",
"lodash": "^4.17.21",
- "microsoft-cognitiveservices-speech-sdk": "^1.38.0",
+ "mime-types": "^2.1.35",
"mysql2": "^3.10.1",
- "nestjs-config": "^1.4.11",
- "nestjs-rate-limiter": "^3.1.0",
- "nestjs-redis": "^1.3.3",
- "node-fetch": "^3.3.2",
"nodemailer": "^6.9.14",
"passport": "^0.6.0",
"passport-jwt": "^4.0.1",
+ "qs": "^6.12.3",
"redis": "^4.6.14",
"reflect-metadata": "^0.1.14",
"rxjs": "^7.8.1",
"stream-to-buffer": "^0.1.0",
- "svg-captcha": "^1.4.0",
- "swagger-ui-express": "^4.6.3",
"typeorm": "^0.3.20",
"uuid": "^9.0.1",
"wechatpay-node-v3": "^2.2.0"
},
"devDependencies": {
"@nestjs/cli": "^9.5.0",
- "@nestjs/schematics": "^9.2.0",
"@nestjs/testing": "^9.4.3",
"@types/express": "^4.17.21",
- "@types/jest": "29.2.4",
"@types/node": "18.11.18",
- "@types/supertest": "^2.0.16",
"jest": "29.3.1",
"prettier": "^2.8.8",
- "source-map-support": "^0.5.21",
- "supertest": "^6.3.4",
"ts-jest": "29.0.3",
- "ts-loader": "^9.5.1",
"ts-node": "^10.9.2",
- "tsconfig-paths": "4.1.1",
"typescript": "^4.9.5"
},
"jest": {
diff --git a/pm2.conf.json b/pm2.conf.json
index 441518d..1b36007 100644
--- a/pm2.conf.json
+++ b/pm2.conf.json
@@ -3,7 +3,7 @@
"name": "99AI",
"script": "./dist/main.js",
"watch": true,
- "ignore_watch": ["node_modules", "logs"],
+ "ignore_watch": ["node_modules", "logs", "public/file"],
"env": {
"TZ": "Asia/Shanghai"
},
diff --git a/public/admin/assets/HButton-Db3nWqlB.js b/public/admin/assets/HButton-BqWGq2ru.js
similarity index 65%
rename from public/admin/assets/HButton-Db3nWqlB.js
rename to public/admin/assets/HButton-BqWGq2ru.js
index 0f0d223..42204d0 100644
--- a/public/admin/assets/HButton-Db3nWqlB.js
+++ b/public/admin/assets/HButton-BqWGq2ru.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as f}from"./index-DEc4xym2.js";export{f as default};
+import{_ as f}from"./index-CAe0BuuW.js";export{f as default};
diff --git a/public/admin/assets/HCheckList-DLr-yKy6.js b/public/admin/assets/HCheckList-CHru1RVX.js
similarity index 74%
rename from public/admin/assets/HCheckList-DLr-yKy6.js
rename to public/admin/assets/HCheckList-CHru1RVX.js
index c818a73..9e8326f 100644
--- a/public/admin/assets/HCheckList-DLr-yKy6.js
+++ b/public/admin/assets/HCheckList-CHru1RVX.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js";import"./index-DEc4xym2.js";export{m as default};
+import{_ as m}from"./HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js";import"./index-CAe0BuuW.js";export{m as default};
diff --git a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js
similarity index 94%
rename from public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js
rename to public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js
index ab85b33..fb87153 100644
--- a/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js
+++ b/public/admin/assets/HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as u,av as n,aw as m,Z as b,g as a,c as t,F as o,s as p,Q as _,z as g,h,t as v,j as f}from"./index-DEc4xym2.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,s=>{r("change",s)}),(s,x)=>{const c=f;return a(),t("div",k,[(a(!0),t(o,null,p(s.options,e=>(a(),t("button",{key:e.value,disabled:s.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(a(),g(c,{key:0,name:e.icon},null,8,["name"])):(a(),t(o,{key:1},[h(v(e.label),1)],64))],10,y))),128))])}}});export{V as _};
+import{d as u,av as n,aw as m,Z as b,g as a,c as t,F as o,s as p,Q as _,z as g,h,t as v,j as f}from"./index-CAe0BuuW.js";const k={class:"inline-flex select-none items-center justify-center of-hidden rounded-md bg-stone-3 dark-bg-stone-7"},y=["disabled","onClick"],V=u({__name:"HCheckList",props:n({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:n(["change"],["update:modelValue"]),setup(i,{emit:d}){const r=d,l=m(i,"modelValue");return b(l,s=>{r("change",s)}),(s,x)=>{const c=f;return a(),t("div",k,[(a(!0),t(o,null,p(s.options,e=>(a(),t("button",{key:e.value,disabled:s.disabled||e.disabled,class:_(["flex cursor-pointer items-center truncate border-size-0 bg-inherit px-2 py-1.5 text-sm disabled-cursor-not-allowed disabled-opacity-50 hover-not-disabled-bg-ui-primary hover-not-disabled-text-ui-text",{"text-ui-text bg-ui-primary":l.value===e.value}]),onClick:C=>l.value=e.value},[e.icon?(a(),g(c,{key:0,name:e.icon},null,8,["name"])):(a(),t(o,{key:1},[h(v(e.label),1)],64))],10,y))),128))])}}});export{V as _};
diff --git a/public/admin/assets/HDialog-jgtAkYW8.js b/public/admin/assets/HDialog-BSLIfyaj.js
similarity index 74%
rename from public/admin/assets/HDialog-jgtAkYW8.js
rename to public/admin/assets/HDialog-BSLIfyaj.js
index 7a1e43a..fcac4f9 100644
--- a/public/admin/assets/HDialog-jgtAkYW8.js
+++ b/public/admin/assets/HDialog-BSLIfyaj.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js";import"./index-DEc4xym2.js";export{m as default};
+import{_ as m}from"./HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js";import"./index-CAe0BuuW.js";export{m as default};
diff --git a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js
similarity index 97%
rename from public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js
rename to public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js
index 579989f..061441a 100644
--- a/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js
+++ b/public/admin/assets/HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as w,av as i,aw as h,O as b,r as k,p as C,g as p,z as B,w as t,b as s,i as e,ak as d,X as c,e as o,Q as V,al as T,ax as S,h as j,t as F,an as N,P as u,c as $,A as z,ap as M,aq as D,j as O}from"./index-DEc4xym2.js";const P={class:"fixed inset-0 overflow-y-auto"},q={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},A={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},E={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},I=w({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=h(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function r(){l.value=!1,y("close")}return(a,n)=>{const _=O;return p(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:n[0]||(n[0]=G=>!a.preventClose&&r())},{default:t(()=>[s(e(d),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",P,[o("div",q,[s(e(d),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",A,[s(e(S),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[j(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:r})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(p(),$("div",E,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{I as _};
+import{d as w,av as i,aw as h,O as b,r as k,p as C,g as p,z as B,w as t,b as s,i as e,ak as d,X as c,e as o,Q as V,al as T,ax as S,h as j,t as F,an as N,P as u,c as $,A as z,ap as M,aq as D,j as O}from"./index-CAe0BuuW.js";const P={class:"fixed inset-0 overflow-y-auto"},q={class:"min-h-full flex items-end justify-center p-4 text-center lg-items-center"},A={flex:"~ items-center justify-between","px-4":"","py-3":"","border-b":"~ solid stone/15","text-6":""},E={key:0,flex:"~ items-center justify-end","px-4":"","py-3":"","border-t":"~ solid stone/15"},I=w({__name:"HDialog",props:i({appear:{type:Boolean,default:!1},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:i(["close"],["update:modelValue"]),setup(f,{emit:m}){const y=m,l=h(f,"modelValue"),v=b(),g=k({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),x=C(()=>({enter:"ease-out duration-300",enterFrom:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95",enterTo:"opacity-100 translate-y-0 lg-scale-100",leave:"ease-in duration-200",leaveFrom:"opacity-100 translate-y-0 lg-scale-100",leaveTo:"opacity-0 translate-y-4 lg-translate-y-0 lg-scale-95"}));function r(){l.value=!1,y("close")}return(a,n)=>{const _=O;return p(),B(e(D),{as:"template",appear:a.appear,show:l.value},{default:t(()=>[s(e(M),{class:"fixed inset-0 z-2000 flex",onClose:n[0]||(n[0]=G=>!a.preventClose&&r())},{default:t(()=>[s(e(d),c({as:"template",appear:a.appear},e(g)),{default:t(()=>[o("div",{class:V(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":a.overlay}])},null,2)]),_:1},16,["appear"]),o("div",P,[o("div",q,[s(e(d),c({as:"template",appear:a.appear},e(x)),{default:t(()=>[s(e(T),{class:"relative w-full flex flex-col overflow-hidden rounded-xl bg-white text-left shadow-xl lg-my-8 lg-max-w-lg dark-bg-stone-8"},{default:t(()=>[o("div",A,[s(e(S),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:t(()=>[j(F(a.title),1)]),_:1}),s(_,{name:"i-carbon:close","cursor-pointer":"",onClick:r})]),s(e(N),{"m-0":"","overflow-y-auto":"","p-4":""},{default:t(()=>[u(a.$slots,"default")]),_:3}),e(v).footer?(p(),$("div",E,[u(a.$slots,"footer")])):z("",!0)]),_:3})]),_:3},16,["appear"])])])]),_:3})]),_:3},8,["appear","show"])}}});export{I as _};
diff --git a/public/admin/assets/HDropdown-qq12d9mA.js b/public/admin/assets/HDropdown-BtjElhzu.js
similarity index 87%
rename from public/admin/assets/HDropdown-qq12d9mA.js
rename to public/admin/assets/HDropdown-BtjElhzu.js
index 856f9cf..ee6221a 100644
--- a/public/admin/assets/HDropdown-qq12d9mA.js
+++ b/public/admin/assets/HDropdown-BtjElhzu.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{l as t,n,g as a,z as p,w as o,P as r,X as d}from"./index-DEc4xym2.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default};
+import{l as t,n,g as a,z as p,w as o,P as r,X as d}from"./index-CAe0BuuW.js";const l={};function c(e,_){const s=n("VDropdown");return a(),p(s,d({"show-triggers":["hover"],"hide-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover"],delay:200},e.$attrs),{popper:o(()=>[r(e.$slots,"dropdown")]),default:o(()=>[r(e.$slots,"default")]),_:3},16)}const f=t(l,[["render",c]]);export{f as default};
diff --git a/public/admin/assets/HDropdownMenu-Dqvjzvpm.js b/public/admin/assets/HDropdownMenu-geTVfmOY.js
similarity index 74%
rename from public/admin/assets/HDropdownMenu-Dqvjzvpm.js
rename to public/admin/assets/HDropdownMenu-geTVfmOY.js
index 818c6b4..b61d912 100644
--- a/public/admin/assets/HDropdownMenu-Dqvjzvpm.js
+++ b/public/admin/assets/HDropdownMenu-geTVfmOY.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js";import"./index-DEc4xym2.js";export{m as default};
+import{_ as m}from"./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js";import"./index-CAe0BuuW.js";export{m as default};
diff --git a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js
similarity index 94%
rename from public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js
rename to public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js
index ec12a44..7fd8338 100644
--- a/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js
+++ b/public/admin/assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as h,p as g,n as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,X as y,t as x}from"./index-DEc4xym2.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _};
+import{d as h,p as g,n as k,g as t,z as f,w as n,c as s,s as a,i as _,F as l,P as w,X as y,t as x}from"./index-CAe0BuuW.js";const C=["disabled","onClick"],z=h({__name:"HDropdownMenu",props:{items:{}},setup(d){const i=d,p=g(()=>i.items.map(e=>e.filter(o=>!o.hide)).filter(e=>e.length));return(e,o)=>{const c=k("VMenu");return t(),f(c,y({"show-triggers":["hover"],"auto-hide":!1,"popper-triggers":["hover","click"],delay:200},e.$attrs),{popper:n(()=>[(t(!0),s(l,null,a(_(p),(u,b)=>(t(),s("div",{key:b,class:"b-b-stone-2 b-b-solid p-1 last-b-b-size-0 dark-b-b-stone-7"},[(t(!0),s(l,null,a(u,(r,m)=>(t(),s("button",{key:m,disabled:r.disabled,class:"w-full flex cursor-pointer items-center gap-2 border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark disabled-cursor-not-allowed dark-text-white disabled-opacity-50 hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",onClick:r.handle},x(r.label),9,C))),128))]))),128))]),default:n(()=>[w(e.$slots,"default")]),_:3},16)}}});export{z as _};
diff --git a/public/admin/assets/HInput-BzUT1kdG.js b/public/admin/assets/HInput-DPjGv0jU.js
similarity index 74%
rename from public/admin/assets/HInput-BzUT1kdG.js
rename to public/admin/assets/HInput-DPjGv0jU.js
index 3074bdf..27b4b38 100644
--- a/public/admin/assets/HInput-BzUT1kdG.js
+++ b/public/admin/assets/HInput-DPjGv0jU.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js";import"./index-DEc4xym2.js";export{m as default};
+import{_ as m}from"./HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js";import"./index-CAe0BuuW.js";export{m as default};
diff --git a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js
similarity index 93%
rename from public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js
rename to public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js
index 71a5af7..023b24b 100644
--- a/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js
+++ b/public/admin/assets/HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as r,av as n,aw as i,r as u,g as p,c,y as m,am as f,e as g}from"./index-DEc4xym2.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _};
+import{d as r,av as n,aw as i,r as u,g as p,c,y as m,am as f,e as g}from"./index-CAe0BuuW.js";const b={class:"relative w-full lg-w-48"},h=["placeholder","disabled"],w=r({__name:"HInput",props:n({placeholder:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(o,{expose:s}){const e=i(o,"modelValue"),d=u();return s({ref:d}),(l,a)=>(p(),c("div",b,[m(g("input",{"onUpdate:modelValue":a[0]||(a[0]=t=>e.value=t),type:"text",placeholder:l.placeholder,disabled:l.disabled,class:"relative block w-full border-0 rounded-md bg-white px-2.5 py-1.5 text-sm shadow-sm ring-1 ring-stone-2 ring-inset disabled-cursor-not-allowed dark-bg-dark disabled-opacity-50 focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary placeholder-stone-4 dark-placeholder-stone-5"},null,8,h),[[f,e.value]])]))}});export{w as _};
diff --git a/public/admin/assets/HKbd-Dkpr3OfM.js b/public/admin/assets/HKbd-ajmXhnhP.js
similarity index 88%
rename from public/admin/assets/HKbd-Dkpr3OfM.js
rename to public/admin/assets/HKbd-ajmXhnhP.js
index 26c8f16..2a783f9 100644
--- a/public/admin/assets/HKbd-Dkpr3OfM.js
+++ b/public/admin/assets/HKbd-ajmXhnhP.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{l as t,g as n,c as r,P as s}from"./index-DEc4xym2.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default};
+import{l as t,g as n,c as r,P as s}from"./index-CAe0BuuW.js";const o={},a={class:"mr-[4px] h-6 min-w-[24px] inline-flex items-center justify-center rounded bg-stone-1 px-1 text-[12px] text-dark font-medium font-sans ring-1 ring-stone-3 ring-inset last:mr-0 dark-bg-dark-9 dark-text-white dark-ring-stone-7"};function c(e,i){return n(),r("kbd",a,[s(e.$slots,"default")])}const l=t(o,[["render",c]]);export{l as default};
diff --git a/public/admin/assets/HSelect-C6n0PNM1.js b/public/admin/assets/HSelect-BCkm_fJ7.js
similarity index 96%
rename from public/admin/assets/HSelect-C6n0PNM1.js
rename to public/admin/assets/HSelect-BCkm_fJ7.js
index a74cdf1..589b241 100644
--- a/public/admin/assets/HSelect-C6n0PNM1.js
+++ b/public/admin/assets/HSelect-BCkm_fJ7.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as b,av as m,aw as f,p as g,n as v,g as l,z as h,w as r,e as o,c as i,s as _,F as w,t as c,i as k,b as x,X as y,j as V,Q as C}from"./index-DEc4xym2.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const a=t,n=f(t,"modelValue"),d=g({get(){return a.options.find(e=>e.value===n.value)??a.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return l(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[o("div",$,[(l(!0),i(w,null,_(e.options,s=>(l(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":t.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[o("div",B,[o("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[o("span",z,c(k(d).label),1),o("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default};
+import{d as b,av as m,aw as f,p as g,n as v,g as l,z as h,w as r,e as o,c as i,s as _,F as w,t as c,i as k,b as x,X as y,j as V,Q as C}from"./index-CAe0BuuW.js";const B={class:"w-full inline-flex"},M=["disabled"],z={class:"block truncate"},S={class:"pointer-events-none absolute end-0 inset-y-0 flex items-center pe-2.5"},$={class:"max-h-60 w-full scroll-py-1 overflow-y-auto p-1 lg-w-48 focus-outline-none"},F=["disabled","onClick"],E=b({__name:"HSelect",props:m({options:{},disabled:{type:Boolean,default:!1}},{modelValue:{},modelModifiers:{}}),emits:["update:modelValue"],setup(t){const a=t,n=f(t,"modelValue"),d=g({get(){return a.options.find(e=>e.value===n.value)??a.options[0]},set(e){n.value=e.value}});return(e,N)=>{const u=V,p=v("VMenu");return l(),h(p,y({triggers:["click"],"popper-triggers":["click"],delay:0,disabled:e.disabled},e.$attrs),{popper:r(()=>[o("div",$,[(l(!0),i(w,null,_(e.options,s=>(l(),i("button",{key:s.value,disabled:s.disabled,class:C(["w-full cursor-pointer truncate border-size-0 rounded-md bg-inherit px-2 py-1.5 text-left text-sm disabled-cursor-not-allowed hover-not-disabled-bg-stone-1 dark-hover-not-disabled-bg-stone-9",{"font-bold":t.modelValue===s.value}]),onClick:j=>d.value=s},c(s.label),11,F))),128))])]),default:r(()=>[o("div",B,[o("button",{class:"relative block w-full flex cursor-default items-center gap-x-2 border-0 rounded-md bg-white px-2.5 py-1.5 pe-9 text-left text-sm shadow-sm ring-1 ring-stone-2 ring-inset lg-w-48 disabled-cursor-not-allowed dark-bg-dark focus-outline-none focus-ring-2 dark-ring-stone-8 focus-ring-ui-primary",disabled:e.disabled},[o("span",z,c(k(d).label),1),o("span",S,[x(u,{name:"i-carbon:chevron-down",class:"h-5 w-5 flex-shrink-0 text-stone-5"})])],8,M)])]),_:1},16,["disabled"])}}});export{E as default};
diff --git a/public/admin/assets/HSlideover-DOumEMj5.js b/public/admin/assets/HSlideover-D8Tv9jj5.js
similarity index 65%
rename from public/admin/assets/HSlideover-DOumEMj5.js
rename to public/admin/assets/HSlideover-D8Tv9jj5.js
index 5b29743..e5d916b 100644
--- a/public/admin/assets/HSlideover-DOumEMj5.js
+++ b/public/admin/assets/HSlideover-D8Tv9jj5.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{cA as f}from"./index-DEc4xym2.js";export{f as default};
+import{cA as f}from"./index-CAe0BuuW.js";export{f as default};
diff --git a/public/admin/assets/HTabList-Bu0nxnXP.js b/public/admin/assets/HTabList-DhWbaN9B.js
similarity index 62%
rename from public/admin/assets/HTabList-Bu0nxnXP.js
rename to public/admin/assets/HTabList-DhWbaN9B.js
index 1adb94a..586bab2 100644
--- a/public/admin/assets/HTabList-Bu0nxnXP.js
+++ b/public/admin/assets/HTabList-DhWbaN9B.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js";import"./index-DEc4xym2.js";import"./use-resolve-button-type-Cmxb6e8K.js";export{o as default};
+import{_ as o}from"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import"./index-CAe0BuuW.js";import"./use-resolve-button-type-CIWo_h_W.js";export{o as default};
diff --git a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js
similarity index 98%
rename from public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js
rename to public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js
index da7257e..9d4d125 100644
--- a/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js
+++ b/public/admin/assets/HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as $,r as T,a4 as j,cl as Q,cm as Z,p as x,cn as F,a7 as G,a as M,Z as R,cb as J,co as c,cp as V,cq as X,F as U,$ as W,cr as B,cs as Y,S as ee,ct as h,cu as O,cv as te,cw as ae,cx as A,cy as I,av as z,aw as le,g as C,z as L,w as N,b as ne,c as re,s as ue,i as _,e as se,Q as oe,A as ie,h as de,t as ce,j as ve}from"./index-DEc4xym2.js";import{s as pe}from"./use-resolve-button-type-Cmxb6e8K.js";let fe=$({props:{onFocus:{type:Function,required:!0}},setup(e){let v=T(!0);return()=>v.value?j(Z,{as:"button",type:"button",features:Q.Focusable,onFocus(d){d.preventDefault();let p,f=50;function u(){var l;if(f--<=0){p&&cancelAnimationFrame(p);return}if((l=e.onFocus)!=null&&l.call(e)){v.value=!1,cancelAnimationFrame(p);return}p=requestAnimationFrame(u)}p=requestAnimationFrame(u)}}):null}});var me=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(me||{}),be=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(be||{});let H=Symbol("TabsContext");function q(e){let v=W(H,null);if(v===null){let d=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(d,q),d}return v}let K=Symbol("TabsSSRContext"),xe=$({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:v,attrs:d,emit:p}){var f;let u=T((f=e.selectedIndex)!=null?f:e.defaultIndex),l=T([]),n=T([]),y=x(()=>e.selectedIndex!==null),S=x(()=>y.value?e.selectedIndex:u.value);function g(a){var r;let o=F(s.tabs.value,c),t=F(s.panels.value,c),i=o.filter(m=>{var b;return!((b=c(m))!=null&&b.hasAttribute("disabled"))});if(a<0||a>o.length-1){let m=B(u.value===null?0:Math.sign(a-u.value),{[-1]:()=>1,0:()=>B(Math.sign(a),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),b=B(m,{0:()=>o.indexOf(i[0]),1:()=>o.indexOf(i[i.length-1])});b!==-1&&(u.value=b),s.tabs.value=o,s.panels.value=t}else{let m=o.slice(0,a),b=[...o.slice(a),...m].find(D=>i.includes(D));if(!b)return;let w=(r=o.indexOf(b))!=null?r:s.selectedIndex.value;w===-1&&(w=s.selectedIndex.value),u.value=w,s.tabs.value=o,s.panels.value=t}}let s={selectedIndex:x(()=>{var a,r;return(r=(a=u.value)!=null?a:e.defaultIndex)!=null?r:null}),orientation:x(()=>e.vertical?"vertical":"horizontal"),activation:x(()=>e.manual?"manual":"auto"),tabs:l,panels:n,setSelectedIndex(a){S.value!==a&&p("change",a),y.value||g(a)},registerTab(a){var r;if(l.value.includes(a))return;let o=l.value[u.value];if(l.value.push(a),l.value=F(l.value,c),!y.value){let t=(r=l.value.indexOf(o))!=null?r:u.value;t!==-1&&(u.value=t)}},unregisterTab(a){let r=l.value.indexOf(a);r!==-1&&l.value.splice(r,1)},registerPanel(a){n.value.includes(a)||(n.value.push(a),n.value=F(n.value,c))},unregisterPanel(a){let r=n.value.indexOf(a);r!==-1&&n.value.splice(r,1)}};G(H,s);let k=T({tabs:[],panels:[]}),E=T(!1);M(()=>{E.value=!0}),G(K,x(()=>E.value?null:k.value));let P=x(()=>e.selectedIndex);return M(()=>{R([P],()=>{var a;return g((a=e.selectedIndex)!=null?a:e.defaultIndex)},{immediate:!0})}),J(()=>{if(!y.value||S.value==null||s.tabs.value.length<=0)return;let a=F(s.tabs.value,c);a.some((r,o)=>c(s.tabs.value[o])!==c(r))&&s.setSelectedIndex(a.findIndex(r=>c(r)===c(s.tabs.value[S.value])))}),()=>{let a={selectedIndex:u.value};return j(U,[l.value.length<=0&&j(fe,{onFocus:()=>{for(let r of l.value){let o=c(r);if((o==null?void 0:o.tabIndex)===0)return o.focus(),!0}return!1}}),V({theirProps:{...d,...X(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:a,slots:v,attrs:d,name:"TabGroup"})])}}}),ge=$({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:v,slots:d}){let p=q("TabList");return()=>{let f={selectedIndex:p.selectedIndex.value},u={role:"tablist","aria-orientation":p.orientation.value};return V({ourProps:u,theirProps:e,slot:f,attrs:v,slots:d,name:"TabList"})}}}),he=$({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:v,slots:d,expose:p}){var f;let u=(f=e.id)!=null?f:`headlessui-tabs-tab-${Y()}`,l=q("Tab"),n=T(null);p({el:n,$el:n}),M(()=>l.registerTab(n)),ee(()=>l.unregisterTab(n));let y=W(K),S=x(()=>{if(y.value){let t=y.value.tabs.indexOf(u);return t===-1?y.value.tabs.push(u)-1:t}return-1}),g=x(()=>{let t=l.tabs.value.indexOf(n);return t===-1?S.value:t}),s=x(()=>g.value===l.selectedIndex.value);function k(t){var i;let m=t();if(m===O.Success&&l.activation.value==="auto"){let b=(i=ae(n))==null?void 0:i.activeElement,w=l.tabs.value.findIndex(D=>c(D)===b);w!==-1&&l.setSelectedIndex(w)}return m}function E(t){let i=l.tabs.value.map(m=>c(m)).filter(Boolean);if(t.key===h.Space||t.key===h.Enter){t.preventDefault(),t.stopPropagation(),l.setSelectedIndex(g.value);return}switch(t.key){case h.Home:case h.PageUp:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.First));case h.End:case h.PageDown:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.Last))}if(k(()=>B(l.orientation.value,{vertical(){return t.key===h.ArrowUp?A(i,I.Previous|I.WrapAround):t.key===h.ArrowDown?A(i,I.Next|I.WrapAround):O.Error},horizontal(){return t.key===h.ArrowLeft?A(i,I.Previous|I.WrapAround):t.key===h.ArrowRight?A(i,I.Next|I.WrapAround):O.Error}}))===O.Success)return t.preventDefault()}let P=T(!1);function a(){var t;P.value||(P.value=!0,!e.disabled&&((t=c(n))==null||t.focus({preventScroll:!0}),l.setSelectedIndex(g.value),te(()=>{P.value=!1})))}function r(t){t.preventDefault()}let o=pe(x(()=>({as:e.as,type:v.type})),n);return()=>{var t,i;let m={selected:s.value,disabled:(t=e.disabled)!=null?t:!1},{...b}=e,w={ref:n,onKeydown:E,onMousedown:r,onClick:a,id:u,role:"tab",type:o.value,"aria-controls":(i=c(l.panels.value[g.value]))==null?void 0:i.id,"aria-selected":s.value,tabIndex:s.value?0:-1,disabled:e.disabled?!0:void 0};return V({ourProps:w,theirProps:b,slot:m,attrs:v,slots:d,name:"Tab"})}}});const ke=$({__name:"HTabList",props:z({options:{}},{modelValue:{},modelModifiers:{}}),emits:z(["change"],["update:modelValue"]),setup(e,{emit:v}){const d=e,p=v,f=le(e,"modelValue"),u=x({get(){return d.options.findIndex(n=>n.value===f.value)},set(n){f.value=d.options[n].value}});R(f,n=>{n&&p("change",n)});function l(n){f.value=d.options[n].value}return(n,y)=>{const S=ve;return C(),L(_(xe),{"selected-index":_(u),onChange:l},{default:N(()=>[ne(_(ge),{class:"inline-flex select-none items-center justify-center rounded-md bg-stone-1 p-1 ring-1 ring-stone-2 dark-bg-stone-9 dark-ring-stone-8"},{default:N(()=>[(C(!0),re(U,null,ue(n.options,(g,s)=>(C(),L(_(he),{key:s,as:"template"},{default:N(({selected:k})=>[se("button",{class:oe(["w-full inline-flex items-center justify-center gap-1 break-keep border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark ring-stone-2 ring-inset dark-text-white focus-outline-none focus-ring-2 dark-ring-stone-8",{"cursor-default bg-white dark-bg-dark-9":k,"cursor-pointer opacity-50 hover-opacity-100":!k}])},[g.icon?(C(),L(S,{key:0,name:g.icon,class:"flex-shrink-0"},null,8,["name"])):ie("",!0),de(" "+ce(g.label),1)],2)]),_:2},1024))),128))]),_:1})]),_:1},8,["selected-index"])}}});export{ke as _};
+import{d as $,r as T,a4 as j,cl as Q,cm as Z,p as x,cn as F,a7 as G,a as M,Z as R,cb as J,co as c,cp as V,cq as X,F as U,$ as W,cr as B,cs as Y,S as ee,ct as h,cu as O,cv as te,cw as ae,cx as A,cy as I,av as z,aw as le,g as C,z as L,w as N,b as ne,c as re,s as ue,i as _,e as se,Q as oe,A as ie,h as de,t as ce,j as ve}from"./index-CAe0BuuW.js";import{s as pe}from"./use-resolve-button-type-CIWo_h_W.js";let fe=$({props:{onFocus:{type:Function,required:!0}},setup(e){let v=T(!0);return()=>v.value?j(Z,{as:"button",type:"button",features:Q.Focusable,onFocus(d){d.preventDefault();let p,f=50;function u(){var l;if(f--<=0){p&&cancelAnimationFrame(p);return}if((l=e.onFocus)!=null&&l.call(e)){v.value=!1,cancelAnimationFrame(p);return}p=requestAnimationFrame(u)}p=requestAnimationFrame(u)}}):null}});var me=(e=>(e[e.Forwards=0]="Forwards",e[e.Backwards=1]="Backwards",e))(me||{}),be=(e=>(e[e.Less=-1]="Less",e[e.Equal=0]="Equal",e[e.Greater=1]="Greater",e))(be||{});let H=Symbol("TabsContext");function q(e){let v=W(H,null);if(v===null){let d=new Error(`<${e} /> is missing a parent component.`);throw Error.captureStackTrace&&Error.captureStackTrace(d,q),d}return v}let K=Symbol("TabsSSRContext"),xe=$({name:"TabGroup",emits:{change:e=>!0},props:{as:{type:[Object,String],default:"template"},selectedIndex:{type:[Number],default:null},defaultIndex:{type:[Number],default:0},vertical:{type:[Boolean],default:!1},manual:{type:[Boolean],default:!1}},inheritAttrs:!1,setup(e,{slots:v,attrs:d,emit:p}){var f;let u=T((f=e.selectedIndex)!=null?f:e.defaultIndex),l=T([]),n=T([]),y=x(()=>e.selectedIndex!==null),S=x(()=>y.value?e.selectedIndex:u.value);function g(a){var r;let o=F(s.tabs.value,c),t=F(s.panels.value,c),i=o.filter(m=>{var b;return!((b=c(m))!=null&&b.hasAttribute("disabled"))});if(a<0||a>o.length-1){let m=B(u.value===null?0:Math.sign(a-u.value),{[-1]:()=>1,0:()=>B(Math.sign(a),{[-1]:()=>0,0:()=>0,1:()=>1}),1:()=>0}),b=B(m,{0:()=>o.indexOf(i[0]),1:()=>o.indexOf(i[i.length-1])});b!==-1&&(u.value=b),s.tabs.value=o,s.panels.value=t}else{let m=o.slice(0,a),b=[...o.slice(a),...m].find(D=>i.includes(D));if(!b)return;let w=(r=o.indexOf(b))!=null?r:s.selectedIndex.value;w===-1&&(w=s.selectedIndex.value),u.value=w,s.tabs.value=o,s.panels.value=t}}let s={selectedIndex:x(()=>{var a,r;return(r=(a=u.value)!=null?a:e.defaultIndex)!=null?r:null}),orientation:x(()=>e.vertical?"vertical":"horizontal"),activation:x(()=>e.manual?"manual":"auto"),tabs:l,panels:n,setSelectedIndex(a){S.value!==a&&p("change",a),y.value||g(a)},registerTab(a){var r;if(l.value.includes(a))return;let o=l.value[u.value];if(l.value.push(a),l.value=F(l.value,c),!y.value){let t=(r=l.value.indexOf(o))!=null?r:u.value;t!==-1&&(u.value=t)}},unregisterTab(a){let r=l.value.indexOf(a);r!==-1&&l.value.splice(r,1)},registerPanel(a){n.value.includes(a)||(n.value.push(a),n.value=F(n.value,c))},unregisterPanel(a){let r=n.value.indexOf(a);r!==-1&&n.value.splice(r,1)}};G(H,s);let k=T({tabs:[],panels:[]}),E=T(!1);M(()=>{E.value=!0}),G(K,x(()=>E.value?null:k.value));let P=x(()=>e.selectedIndex);return M(()=>{R([P],()=>{var a;return g((a=e.selectedIndex)!=null?a:e.defaultIndex)},{immediate:!0})}),J(()=>{if(!y.value||S.value==null||s.tabs.value.length<=0)return;let a=F(s.tabs.value,c);a.some((r,o)=>c(s.tabs.value[o])!==c(r))&&s.setSelectedIndex(a.findIndex(r=>c(r)===c(s.tabs.value[S.value])))}),()=>{let a={selectedIndex:u.value};return j(U,[l.value.length<=0&&j(fe,{onFocus:()=>{for(let r of l.value){let o=c(r);if((o==null?void 0:o.tabIndex)===0)return o.focus(),!0}return!1}}),V({theirProps:{...d,...X(e,["selectedIndex","defaultIndex","manual","vertical","onChange"])},ourProps:{},slot:a,slots:v,attrs:d,name:"TabGroup"})])}}}),ge=$({name:"TabList",props:{as:{type:[Object,String],default:"div"}},setup(e,{attrs:v,slots:d}){let p=q("TabList");return()=>{let f={selectedIndex:p.selectedIndex.value},u={role:"tablist","aria-orientation":p.orientation.value};return V({ourProps:u,theirProps:e,slot:f,attrs:v,slots:d,name:"TabList"})}}}),he=$({name:"Tab",props:{as:{type:[Object,String],default:"button"},disabled:{type:[Boolean],default:!1},id:{type:String,default:null}},setup(e,{attrs:v,slots:d,expose:p}){var f;let u=(f=e.id)!=null?f:`headlessui-tabs-tab-${Y()}`,l=q("Tab"),n=T(null);p({el:n,$el:n}),M(()=>l.registerTab(n)),ee(()=>l.unregisterTab(n));let y=W(K),S=x(()=>{if(y.value){let t=y.value.tabs.indexOf(u);return t===-1?y.value.tabs.push(u)-1:t}return-1}),g=x(()=>{let t=l.tabs.value.indexOf(n);return t===-1?S.value:t}),s=x(()=>g.value===l.selectedIndex.value);function k(t){var i;let m=t();if(m===O.Success&&l.activation.value==="auto"){let b=(i=ae(n))==null?void 0:i.activeElement,w=l.tabs.value.findIndex(D=>c(D)===b);w!==-1&&l.setSelectedIndex(w)}return m}function E(t){let i=l.tabs.value.map(m=>c(m)).filter(Boolean);if(t.key===h.Space||t.key===h.Enter){t.preventDefault(),t.stopPropagation(),l.setSelectedIndex(g.value);return}switch(t.key){case h.Home:case h.PageUp:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.First));case h.End:case h.PageDown:return t.preventDefault(),t.stopPropagation(),k(()=>A(i,I.Last))}if(k(()=>B(l.orientation.value,{vertical(){return t.key===h.ArrowUp?A(i,I.Previous|I.WrapAround):t.key===h.ArrowDown?A(i,I.Next|I.WrapAround):O.Error},horizontal(){return t.key===h.ArrowLeft?A(i,I.Previous|I.WrapAround):t.key===h.ArrowRight?A(i,I.Next|I.WrapAround):O.Error}}))===O.Success)return t.preventDefault()}let P=T(!1);function a(){var t;P.value||(P.value=!0,!e.disabled&&((t=c(n))==null||t.focus({preventScroll:!0}),l.setSelectedIndex(g.value),te(()=>{P.value=!1})))}function r(t){t.preventDefault()}let o=pe(x(()=>({as:e.as,type:v.type})),n);return()=>{var t,i;let m={selected:s.value,disabled:(t=e.disabled)!=null?t:!1},{...b}=e,w={ref:n,onKeydown:E,onMousedown:r,onClick:a,id:u,role:"tab",type:o.value,"aria-controls":(i=c(l.panels.value[g.value]))==null?void 0:i.id,"aria-selected":s.value,tabIndex:s.value?0:-1,disabled:e.disabled?!0:void 0};return V({ourProps:w,theirProps:b,slot:m,attrs:v,slots:d,name:"Tab"})}}});const ke=$({__name:"HTabList",props:z({options:{}},{modelValue:{},modelModifiers:{}}),emits:z(["change"],["update:modelValue"]),setup(e,{emit:v}){const d=e,p=v,f=le(e,"modelValue"),u=x({get(){return d.options.findIndex(n=>n.value===f.value)},set(n){f.value=d.options[n].value}});R(f,n=>{n&&p("change",n)});function l(n){f.value=d.options[n].value}return(n,y)=>{const S=ve;return C(),L(_(xe),{"selected-index":_(u),onChange:l},{default:N(()=>[ne(_(ge),{class:"inline-flex select-none items-center justify-center rounded-md bg-stone-1 p-1 ring-1 ring-stone-2 dark-bg-stone-9 dark-ring-stone-8"},{default:N(()=>[(C(!0),re(U,null,ue(n.options,(g,s)=>(C(),L(_(he),{key:s,as:"template"},{default:N(({selected:k})=>[se("button",{class:oe(["w-full inline-flex items-center justify-center gap-1 break-keep border-size-0 rounded-md bg-inherit px-2 py-1.5 text-sm text-dark ring-stone-2 ring-inset dark-text-white focus-outline-none focus-ring-2 dark-ring-stone-8",{"cursor-default bg-white dark-bg-dark-9":k,"cursor-pointer opacity-50 hover-opacity-100":!k}])},[g.icon?(C(),L(S,{key:0,name:g.icon,class:"flex-shrink-0"},null,8,["name"])):ie("",!0),de(" "+ce(g.label),1)],2)]),_:2},1024))),128))]),_:1})]),_:1},8,["selected-index"])}}});export{ke as _};
diff --git a/public/admin/assets/HToggle-CbE2U3ML.js b/public/admin/assets/HToggle-CTYtfOdh.js
similarity index 62%
rename from public/admin/assets/HToggle-CbE2U3ML.js
rename to public/admin/assets/HToggle-CTYtfOdh.js
index e898d63..a3efb98 100644
--- a/public/admin/assets/HToggle-CbE2U3ML.js
+++ b/public/admin/assets/HToggle-CTYtfOdh.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js";import"./index-DEc4xym2.js";import"./use-resolve-button-type-Cmxb6e8K.js";export{o as default};
+import{_ as o}from"./HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js";import"./index-CAe0BuuW.js";import"./use-resolve-button-type-CIWo_h_W.js";export{o as default};
diff --git a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js
similarity index 96%
rename from public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js
rename to public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js
index 4782211..d9829fb 100644
--- a/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js
+++ b/public/admin/assets/HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{r as V,p as i,d as x,cs as D,$ as M,co as P,a as U,Z as A,a4 as y,cm as K,cB as L,cl as O,cp as q,cq as z,F,ct as h,av as H,aw as R,g,z as k,w as G,e as w,A as Q,Q as I,i as Z,j as J}from"./index-DEc4xym2.js";import{s as W}from"./use-resolve-button-type-Cmxb6e8K.js";function X(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Y(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=X(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let $=V(null),c=r===null?$:r.switchRef,B=W(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function S(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Y(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{A([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,E={checked:d.value},j={id:C,ref:c,role:"switch",type:B.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:S,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(K,L({features:O.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,q({ourProps:j,theirProps:{...t,...z(b,["modelValue","defaultChecked"])},slot:E,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=J;return g(),k(Z(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _};
+import{r as V,p as i,d as x,cs as D,$ as M,co as P,a as U,Z as A,a4 as y,cm as K,cB as L,cl as O,cp as q,cq as z,F,ct as h,av as H,aw as R,g,z as k,w as G,e as w,A as Q,Q as I,i as Z,j as J}from"./index-CAe0BuuW.js";import{s as W}from"./use-resolve-button-type-CIWo_h_W.js";function X(a,l,t){let o=V(t==null?void 0:t.value),n=i(()=>a.value!==void 0);return[i(()=>n.value?a.value:o.value),function(s){return n.value||(o.value=s),l==null?void 0:l(s)}]}function Y(a){var l,t;let o=(l=a==null?void 0:a.form)!=null?l:a.closest("form");if(o){for(let n of o.elements)if(n!==a&&(n.tagName==="INPUT"&&n.type==="submit"||n.tagName==="BUTTON"&&n.type==="submit"||n.nodeName==="INPUT"&&n.type==="image")){n.click();return}(t=o.requestSubmit)==null||t.call(o)}}let ee=Symbol("GroupContext"),ae=x({name:"Switch",emits:{"update:modelValue":a=>!0},props:{as:{type:[Object,String],default:"button"},modelValue:{type:Boolean,default:void 0},defaultChecked:{type:Boolean,optional:!0},form:{type:String,optional:!0},name:{type:String,optional:!0},value:{type:String,optional:!0},id:{type:String,default:null},disabled:{type:Boolean,default:!1},tabIndex:{type:Number,default:0}},inheritAttrs:!1,setup(a,{emit:l,attrs:t,slots:o,expose:n}){var s;let C=(s=a.id)!=null?s:`headlessui-switch-${D()}`,r=M(ee,null),[d,m]=X(i(()=>a.modelValue),e=>l("update:modelValue",e),i(()=>a.defaultChecked));function p(){m(!d.value)}let $=V(null),c=r===null?$:r.switchRef,B=W(i(()=>({as:a.as,type:t.type})),c);n({el:c,$el:c});function S(e){e.preventDefault(),p()}function N(e){e.key===h.Space?(e.preventDefault(),p()):e.key===h.Enter&&Y(e.currentTarget)}function T(e){e.preventDefault()}let f=i(()=>{var e,u;return(u=(e=P(c))==null?void 0:e.closest)==null?void 0:u.call(e,"form")});return U(()=>{A([f],()=>{if(!f.value||a.defaultChecked===void 0)return;function e(){m(a.defaultChecked)}return f.value.addEventListener("reset",e),()=>{var u;(u=f.value)==null||u.removeEventListener("reset",e)}},{immediate:!0})}),()=>{let{name:e,value:u,form:_,tabIndex:v,...b}=a,E={checked:d.value},j={id:C,ref:c,role:"switch",type:B.value,tabIndex:v===-1?0:v,"aria-checked":d.value,"aria-labelledby":r==null?void 0:r.labelledby.value,"aria-describedby":r==null?void 0:r.describedby.value,onClick:S,onKeyup:N,onKeypress:T};return y(F,[e!=null&&d.value!=null?y(K,L({features:O.Hidden,as:"input",type:"checkbox",hidden:!0,readOnly:!0,checked:d.value,form:_,disabled:b.disabled,name:e,value:u})):null,q({ourProps:j,theirProps:{...t,...z(b,["modelValue","defaultChecked"])},slot:E,attrs:t,slots:o,name:"Switch"})])}}});const le={class:"absolute inset-0 h-full w-full flex items-center justify-center"},oe=x({__name:"HToggle",props:H({disabled:{type:Boolean,default:!1},onIcon:{},offIcon:{}},{modelValue:{type:Boolean},modelModifiers:{}}),emits:["update:modelValue"],setup(a){const l=R(a,"modelValue");return(t,o)=>{const n=J;return g(),k(Z(ae),{modelValue:l.value,"onUpdate:modelValue":o[0]||(o[0]=s=>l.value=s),disabled:t.disabled,class:I(["relative h-5 w-10 inline-flex flex-shrink-0 cursor-pointer border-2 border-transparent rounded-full p-0 vertical-middle disabled-cursor-not-allowed disabled-opacity-50 focus-outline-none focus-visible-ring-2 focus-visible-ring-offset-2 focus-visible-ring-offset-white dark-focus-visible-ring-offset-gray-900",[l.value?"bg-ui-primary":"bg-stone-3 dark-bg-stone-7"]])},{default:G(()=>[w("span",{class:I(["pointer-events-none relative inline-block h-4 w-4 transform rounded-full bg-white shadow ring-0 transition duration-200 ease-in-out dark-bg-dark",[l.value?"translate-x-5":"translate-x-0"]])},[w("span",le,[l.value&&t.onIcon||!l.value&&t.offIcon?(g(),k(n,{key:0,name:l.value?t.onIcon:t.offIcon,class:"h-3 w-3 text-stone-7 dark-text-stone-3"},null,8,["name"])):Q("",!0)])],2)]),_:1},8,["modelValue","disabled","class"])}}});export{oe as _};
diff --git a/public/admin/assets/HTooltip-DqxvMbPq.js b/public/admin/assets/HTooltip-Bxw045P4.js
similarity index 74%
rename from public/admin/assets/HTooltip-DqxvMbPq.js
rename to public/admin/assets/HTooltip-Bxw045P4.js
index 885d51e..aa3a149 100644
--- a/public/admin/assets/HTooltip-DqxvMbPq.js
+++ b/public/admin/assets/HTooltip-Bxw045P4.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";import"./index-DEc4xym2.js";export{m as default};
+import{_ as m}from"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";import"./index-CAe0BuuW.js";export{m as default};
diff --git a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js
similarity index 89%
rename from public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js
rename to public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js
index 4ce80c4..076f377 100644
--- a/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js
+++ b/public/admin/assets/HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as r,n as p,g as o,z as n,w as s,P as t,X as l,c as i,h as d,t as c}from"./index-DEc4xym2.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),n(a,l({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _};
+import{d as r,n as p,g as o,z as n,w as s,P as t,X as l,c as i,h as d,t as c}from"./index-CAe0BuuW.js";const m={key:1},g=r({__name:"HTooltip",props:{text:{default:""},enable:{type:Boolean,default:!0}},setup(u){return(e,f)=>{const a=p("VTooltip");return e.enable?(o(),n(a,l({key:0,"popper-triggers":["hover"]},e.$attrs),{popper:s(()=>[t(e.$slots,"text",{},()=>[d(c(e.text),1)])]),default:s(()=>[t(e.$slots,"default")]),_:3},16)):(o(),i("div",m,[t(e.$slots,"default")]))}}});export{g as _};
diff --git a/public/admin/assets/_...all_-BaYrHne_.js b/public/admin/assets/_...all_-BzKwStpT.js
similarity index 94%
rename from public/admin/assets/_...all_-BaYrHne_.js
rename to public/admin/assets/_...all_-BzKwStpT.js
index 7cd50f7..1fbb555 100644
--- a/public/admin/assets/_...all_-BaYrHne_.js
+++ b/public/admin/assets/_...all_-BzKwStpT.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-DEc4xym2.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default};
+import{d as i,u,r as _,o as f,a as d,c as x,b as o,e as t,w as p,f as m,_ as v,g as w,h as g,t as h,i as k,j as B,k as s}from"./index-CAe0BuuW.js";const N={class:"absolute left-[50%] top-[50%] flex flex-col items-center justify-between lg-flex-row -translate-x-50% -translate-y-50% lg-gap-12"},b={class:"flex flex-col gap-4"},S=t("h1",{class:"m-0 text-6xl font-sans"}," 404 ",-1),y=t("div",{class:"mx-0 text-xl text-stone-5"}," 抱歉,你访问的页面不存在 ",-1),I=i({__name:"[...all]",setup(C){const a=m(),l=u(),e=_({inter:Number.NaN,countdown:5});f(()=>{e.value.inter&&window.clearInterval(e.value.inter)}),d(()=>{e.value.inter=window.setInterval(()=>{e.value.countdown--,e.value.countdown===0&&(e.value.inter&&window.clearInterval(e.value.inter),n())},1e3)});function n(){a.push(l.settings.home.fullPath)}return(V,j)=>{const c=B,r=v;return w(),x("div",N,[o(c,{name:"404",class:"text-[300px] lg-text-[400px]"}),t("div",b,[S,y,t("div",null,[o(r,{onClick:n},{default:p(()=>[g(h(k(e).countdown)+" 秒后,返回首页 ",1)]),_:1})])])])}}});typeof s=="function"&&s(I);export{I as default};
diff --git a/public/admin/assets/accountLog-Cd0BMb3f.js b/public/admin/assets/accountLog-Bv2zJ5xz.js
similarity index 92%
rename from public/admin/assets/accountLog-Cd0BMb3f.js
rename to public/admin/assets/accountLog-Bv2zJ5xz.js
index ecb6555..00e2bae 100644
--- a/public/admin/assets/accountLog-Cd0BMb3f.js
+++ b/public/admin/assets/accountLog-Bv2zJ5xz.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{I as M,d as G,r as _,m as P,a as O,n as r,q as K,g as u,c as h,b as a,w as t,F as R,s as V,i as m,h as d,y as J,z as C,t as b,e as Q,K as W,k as q}from"./index-DEc4xym2.js";import{o as X,p as Z,U as ee,m as ae}from"./index-J5zVJPyL.js";import{u as te}from"./utcformatTime-Bq4gDWNx.js";const le={upgradeBalance:g=>M.post("balance/upgradeBalance",g),queryUserAccountLog:g=>M.get("balance/accountLog",{params:g})},oe=Q("div",{class:"flex items-center gap-4"},"账户明细",-1),re=G({__name:"accountLog",setup(g){const T=_(),A=_(0),f=_(!1),n=P({userId:"",rechargeType:"",packageId:"",page:1,size:15});P({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const U=_(),k=_([]);async function i(){try{f.value=!0;const s=await le.queryUserAccountLog(n),{rows:l,count:w}=s.data;f.value=!1,A.value=w,k.value=l}catch{f.value=!1}}async function D(s){const l=await W.queryAllUser({size:30,keyword:s});U.value=l.data.rows}function B(s){s==null||s.resetFields(),i()}return O(()=>i()),(s,l)=>{const w=H,x=r("el-option"),z=r("el-select"),y=r("el-form-item"),I=r("el-button"),L=r("el-form"),S=F,Y=r("el-avatar"),o=r("el-table-column"),v=r("el-tag"),E=r("el-table"),j=r("el-pagination"),N=r("el-row"),$=K("loading");return u(),h("div",null,[a(w,null,{title:t(()=>[oe]),_:1}),a(S,null,{default:t(()=>[a(L,{ref_key:"formRef",ref:T,inline:!0,model:n},{default:t(()=>[a(y,{label:"用户名称",prop:"userId"},{default:t(()=>[a(z,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:t(()=>[(u(!0),h(R,null,V(U.value,e=>(u(),C(x,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,{label:"充值类型",prop:"rechargeType"},{default:t(()=>[a(z,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:t(()=>[(u(!0),h(R,null,V(m(X),e=>(u(),C(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,null,{default:t(()=>[a(I,{type:"primary",onClick:i},{default:t(()=>[d(" 查询 ")]),_:1}),a(I,{onClick:l[2]||(l[2]=e=>B(T.value))},{default:t(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(S,{style:{width:"100%"}},{default:t(()=>[J((u(),C(E,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:t(()=>[a(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:t(e=>[a(Y,{src:e.row.avatar},null,8,["src"])]),_:1}),a(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),a(o,{prop:"userId",label:"用户ID",width:"80"}),a(o,{prop:"uid",label:"订单ID",width:"130"}),a(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),a(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b((c=e.row)!=null&&c.rechargeType?m(Z)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),a(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),a(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),a(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),a(o,{label:"额度有效期",width:"170",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),a(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[a(v,{type:m(ee)[e.status]},{default:t(()=>[d(b(m(ae)[e.status]),1)]),_:2},1032,["type"])]),_:1}),a(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:t(e=>[d(b(m(te)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[$,f.value]]),a(N,{class:"mt-5 flex justify-end"},{default:t(()=>[a(j,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:A.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof q=="function"&&q(re);export{re as default};
+import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as M,d as G,r as _,m as P,a as O,n as r,q as K,g as u,c as h,b as a,w as t,F as R,s as V,i as m,h as d,y as J,z as C,t as b,e as Q,K as W,k as q}from"./index-CAe0BuuW.js";import{o as X,p as Z,U as ee,m as ae}from"./index-DfBvkKrB.js";import{u as te}from"./utcformatTime-Bq4gDWNx.js";const le={upgradeBalance:g=>M.post("balance/upgradeBalance",g),queryUserAccountLog:g=>M.get("balance/accountLog",{params:g})},oe=Q("div",{class:"flex items-center gap-4"},"账户明细",-1),re=G({__name:"accountLog",setup(g){const T=_(),A=_(0),f=_(!1),n=P({userId:"",rechargeType:"",packageId:"",page:1,size:15});P({model3Count:[{required:!0,message:"请填写赠送基础模型额度",trigger:"blur"}],model4Count:[{required:!0,message:"请填写赠送高级模型额度",trigger:"blur"}],drawMjCount:[{required:!0,message:"请填写赠送绘画积分额度",trigger:"blur"}]});const U=_(),k=_([]);async function i(){try{f.value=!0;const s=await le.queryUserAccountLog(n),{rows:l,count:w}=s.data;f.value=!1,A.value=w,k.value=l}catch{f.value=!1}}async function D(s){const l=await W.queryAllUser({size:30,keyword:s});U.value=l.data.rows}function B(s){s==null||s.resetFields(),i()}return O(()=>i()),(s,l)=>{const w=H,x=r("el-option"),z=r("el-select"),y=r("el-form-item"),I=r("el-button"),L=r("el-form"),S=F,Y=r("el-avatar"),o=r("el-table-column"),v=r("el-tag"),E=r("el-table"),j=r("el-pagination"),N=r("el-row"),$=K("loading");return u(),h("div",null,[a(w,null,{title:t(()=>[oe]),_:1}),a(S,null,{default:t(()=>[a(L,{ref_key:"formRef",ref:T,inline:!0,model:n},{default:t(()=>[a(y,{label:"用户名称",prop:"userId"},{default:t(()=>[a(z,{modelValue:n.userId,"onUpdate:modelValue":l[0]||(l[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"昵称|手机号|邮箱[模糊搜索]","remote-show-suffix":"","remote-method":D,style:{width:"200px"}},{default:t(()=>[(u(!0),h(R,null,V(U.value,e=>(u(),C(x,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,{label:"充值类型",prop:"rechargeType"},{default:t(()=>[a(z,{modelValue:n.rechargeType,"onUpdate:modelValue":l[1]||(l[1]=e=>n.rechargeType=e),placeholder:"请选择充值类型",clearable:"",style:{width:"160px"}},{default:t(()=>[(u(!0),h(R,null,V(m(X),e=>(u(),C(x,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),a(y,null,{default:t(()=>[a(I,{type:"primary",onClick:i},{default:t(()=>[d(" 查询 ")]),_:1}),a(I,{onClick:l[2]||(l[2]=e=>B(T.value))},{default:t(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),a(S,{style:{width:"100%"}},{default:t(()=>[J((u(),C(E,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:t(()=>[a(o,{prop:"avatar",label:"用户头像",width:"120",fixed:""},{default:t(e=>[a(Y,{src:e.row.avatar},null,8,["src"])]),_:1}),a(o,{prop:"username",label:"用户名称",width:"150",fixed:""}),a(o,{prop:"userId",label:"用户ID",width:"80"}),a(o,{prop:"uid",label:"订单ID",width:"130"}),a(o,{prop:"email",label:"用户邮箱",width:"250",align:"left"}),a(o,{prop:"balanceInfo.useModel4Count",label:"充值类型",width:"160",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b((c=e.row)!=null&&c.rechargeType?m(Z)[(p=e.row)==null?void 0:p.rechargeType]:"---"),1)]}),_:2},1024)]),_:1}),a(o,{prop:"model3Count",label:"基础模型额度",width:"120",align:"center"}),a(o,{prop:"model4Count",label:"高级模型额度",width:"120",align:"center"}),a(o,{prop:"drawMjCount",label:"绘画余额额度",width:"120",align:"center"}),a(o,{label:"额度有效期",width:"170",align:"center"},{default:t(e=>[a(v,{type:"success"},{default:t(()=>{var c,p;return[d(b(((c=e.row)==null?void 0:c.days)<=0?"永久时效":`${(p=e.row)==null?void 0:p.days}天`),1)]}),_:2},1024)]),_:1}),a(o,{prop:"status",label:"用户状态",width:"120",align:"center"},{default:t(({row:e})=>[a(v,{type:m(ee)[e.status]},{default:t(()=>[d(b(m(ae)[e.status]),1)]),_:2},1032,["type"])]),_:1}),a(o,{prop:"createdAt",label:"充值时间",width:"200",align:"center"},{default:t(e=>[d(b(m(te)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[$,f.value]]),a(N,{class:"mt-5 flex justify-end"},{default:t(()=>[a(j,{"current-page":n.page,"onUpdate:currentPage":l[3]||(l[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":l[4]||(l[4]=e=>n.size=e),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:A.value,onSizeChange:i,onCurrentChange:i},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof q=="function"&&q(re);export{re as default};
diff --git a/public/admin/assets/ali-6pjHUfm1.js b/public/admin/assets/ali-CthEMzCz.js
similarity index 95%
rename from public/admin/assets/ali-6pjHUfm1.js
rename to public/admin/assets/ali-CthEMzCz.js
index 1e1a604..b1439f8 100644
--- a/public/admin/assets/ali-6pjHUfm1.js
+++ b/public/admin/assets/ali-CthEMzCz.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as B,m as I,r as C,p as R,a as U,n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,E as y,j,_ as q,k as V}from"./index-DEc4xym2.js";import{a as x}from"./config-BQ9gBCXa.js";const E=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default};
+import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as B,m as I,r as C,p as R,a as U,n,g as D,c as N,b as e,w as l,h as p,i as m,e as f,E as y,j,_ as q,k as V}from"./index-CAe0BuuW.js";import{a as x}from"./config-CwtVyG0K.js";const E=f("div",{class:"flex items-center gap-4"},"阿里云OSS参数设置",-1),$=f("div",{class:"text-sm/6"},[f("div",null,[p(" 需前往阿里云申请对象存储服务,更多配置及申请详见"),f("a",{href:"https://oss.console.aliyun.com",target:"_blank"},"阿里云OSS"),p(" 。如果同时开启多个存储服务,腾讯云优先级高于阿里云。 ")])],-1),H=B({__name:"ali",setup(M){const a=I({aliOssStatus:"",aliOssAccessKeyId:"",aliOssAccessKeySecret:"",aliOssRegion:"",aliOssBucket:"",aliOssAcceleratedDomain:""}),_=C();async function O(){const o=await x.queryConfig({keys:["aliOssAccessKeySecret","aliOssRegion","aliOssBucket","aliOssAccessKeyId","aliOssStatus","aliOssAcceleratedDomain"]});Object.assign(a,o.data)}function S(){var o;(o=_.value)==null||o.validate(async s=>{if(s){try{await x.setConfig({settings:b(a)}),y.success("变更配置信息成功")}catch{}O()}else y.error("请填写完整信息")})}function b(o){return Object.keys(o).map(s=>({configKey:s,configVal:o[s]}))}const d=R(()=>[{required:Number(a.aliOssStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return U(()=>{O()}),(o,s)=>{const g=j,A=q,w=h,k=n("el-switch"),c=n("el-form-item"),r=n("el-col"),u=n("el-row"),i=n("el-input"),v=n("el-form"),K=n("el-card");return D(),N("div",null,[e(w,null,{title:l(()=>[E]),content:l(()=>[$]),default:l(()=>[e(A,{outline:"",onClick:S},{default:l(()=>[e(g,{name:"i-ri:file-text-line"}),p(" 保存设置 ")]),_:1})]),_:1}),e(K,{style:{margin:"20px"}},{default:l(()=>[e(v,{ref_key:"formRef",ref:_,model:a,"label-width":"120px"},{default:l(()=>[e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"服务启用状态",prop:"aliOssStatus"},{default:l(()=>[e(k,{modelValue:a.aliOssStatus,"onUpdate:modelValue":s[0]||(s[0]=t=>a.aliOssStatus=t),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"accessKeyId",prop:"aliOssAccessKeyId",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeyId,"onUpdate:modelValue":s[1]||(s[1]=t=>a.aliOssAccessKeyId=t),placeholder:"请填写SecretId",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"keySecret",prop:"aliOssAccessKeySecret",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssAccessKeySecret,"onUpdate:modelValue":s[2]||(s[2]=t=>a.aliOssAccessKeySecret=t),placeholder:"请填写SecretKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"存储桶名称",prop:"aliOssBucket",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssBucket,"onUpdate:modelValue":s[3]||(s[3]=t=>a.aliOssBucket=t),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"所属地域",prop:"aliOssRegion",rules:m(d)},{default:l(()=>[e(i,{modelValue:a.aliOssRegion,"onUpdate:modelValue":s[4]||(s[4]=t=>a.aliOssRegion=t),placeholder:"请填写所属地域(oss-cn-shanghai)",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(r,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(c,{label:"全球加速域名",prop:"aliOssAcceleratedDomain"},{default:l(()=>[e(i,{modelValue:a.aliOssAcceleratedDomain,"onUpdate:modelValue":s[5]||(s[5]=t=>a.aliOssAcceleratedDomain=t),placeholder:"如您是国外服务器可开启全球加速域名得到更快响应速度、同理也会更高计费!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof V=="function"&&V(H);export{H as default};
diff --git a/public/admin/assets/app-Dcfk5dQv.js b/public/admin/assets/app-CXnonH8J.js
similarity index 90%
rename from public/admin/assets/app-Dcfk5dQv.js
rename to public/admin/assets/app-CXnonH8J.js
index 66855cc..10a967c 100644
--- a/public/admin/assets/app-Dcfk5dQv.js
+++ b/public/admin/assets/app-CXnonH8J.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{I as t}from"./index-DEc4xym2.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),querySystemApp:p=>t.get("app/querySystemApp"),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p),updateSystemApp:p=>t.post("app/updateSystemApp",p),auditPassApp:p=>t.post("app/auditPass",p),auditFailApp:p=>t.post("app/auditFail",p)};export{e as A};
+import{I as t}from"./index-CAe0BuuW.js";const e={queryCats:p=>t.get("app/queryAppCats",{params:p}),deleteCats:p=>t.post("app/delAppCats",p),createCats:p=>t.post("app/createAppCats",p),updateCats:p=>t.post("app/updateAppCats",p),queryApp:p=>t.get("app/queryApp",{params:p}),querySystemApp:p=>t.get("app/querySystemApp"),deleteApp:p=>t.post("app/delApp",p),createApp:p=>t.post("app/createApp",p),updateApp:p=>t.post("app/updateApp",p),updateSystemApp:p=>t.post("app/updateSystemApp",p),auditPassApp:p=>t.post("app/auditPass",p),auditFailApp:p=>t.post("app/auditFail",p)};export{e as A};
diff --git a/public/admin/assets/application-BvqlJIC2.js b/public/admin/assets/application-C2I8CIsH.js
similarity index 97%
rename from public/admin/assets/application-BvqlJIC2.js
rename to public/admin/assets/application-C2I8CIsH.js
index 9d70898..3c17c2d 100644
--- a/public/admin/assets/application-BvqlJIC2.js
+++ b/public/admin/assets/application-C2I8CIsH.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as ke}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as he,r as f,m as B,p as Z,a as De,n as i,q as Ce,g as n,c as z,b as l,w as a,h as c,F as R,s as L,i as r,v as Pe,x as Te,y as ze,z as p,t as k,e as V,A as g,B as Ue,C as Me,D as Fe,G as Ge,E as x,H as E,j as qe,_ as $e,k as ee}from"./index-DEc4xym2.js";import{A as h}from"./app-Dcfk5dQv.js";import{u as Ne}from"./utcformatTime-Bq4gDWNx.js";import{Q as Se,M as je}from"./index-J5zVJPyL.js";const Be=V("div",{class:"flex items-center gap-4"},"应用配置",-1),Re=V("div",{class:"text-sm/6"},[V("div",null," 应用一旦创建,可能会被多处使用,请保持规范命名分类,后续尽量变更而不是删除。 "),V("div",null," 可自行选择应用是否固定模型。GPTs 需单独在特殊模型中配置 gpts 模型,并自行搜索填写 gizmoID(例如:g-alKfVrz9K)。 ")],-1),Le={style:{maxWidth:"350px"}},Ke={style:{maxHeight:"50px",cursor:"pointer"}},He={style:{maxWidth:"350px"}},Oe={style:{maxHeight:"50px",cursor:"pointer"}},Ye=["src"],We={class:"mr-5 flex justify-end"},Qe=he({__name:"application",setup(Je){const K=f(),H=f(0),I=f(!1),U=f(!1),_=B({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),O=f(`/api/upload/file?dir=${encodeURIComponent("system/app")}`),G=f(),D=f(0),C=f(!1),Y=f(0),s=B({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),te=B({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),W=f([]),q=f([]),le=Z(()=>D.value?"更新应用":"新增应用"),ae=Z(()=>D.value?"确认更新":"确认新增");async function v(){try{U.value=!0;const o=await h.queryApp(_),{rows:t,count:d}=o.data;U.value=!1,H.value=d,W.value=t.sort((m,w)=>w.order-m.order)}catch{U.value=!1}}async function oe(){const o=await h.queryCats({size:100}),{rows:t}=o.data;q.value=t}function se(o){D.value=o.id,C.value=o.role==="user",Y.value=o.status;const{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$}=o;Ge(()=>{Object.assign(s,{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$})}),I.value=!0}function ne(o){D.value=0,o==null||o.resetFields()}async function re(o){await h.deleteApp({id:o.id}),x.success("删除分类成功"),v()}function de(o){o==null||o.resetFields(),v()}const Q=(o,t)=>{console.log("response: ",o.data),s.coverImg=o.data},ie=o=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(o.type)){if(o.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};async function ue(){if(s.coverImg){const o=await me(s.coverImg);pe(o,Q)}}function pe(o,t){const d=new FormData;d.append("file",o),E.post(O.value,d,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{t(m.data)}).catch(m=>{console.error("上传失败",m)})}async function me(o){const t=await E.get(o,{responseType:"blob"});let d="downloaded_file";const m=t.headers["content-disposition"];if(m){const w=/filename="([^"]+)"/.exec(m);w!=null&&w[1]&&(d=w[1])}else d=ce(o);return new File([t.data],d,{type:t.data.type})}function ce(o){const d=new URL(o).pathname;return d.substring(d.lastIndexOf("/")+1)}function fe(o){o==null||o.validate(async t=>{if(t){if(D.value){const d={id:D.value,...s};C.value&&Object.assign(d,{status:Y.value}),await h.updateApp(d),x({type:"success",message:"更新应用成功!"})}else await h.createApp(s),x({type:"success",message:"创建新的应用成功!"});I.value=!1,v()}})}async function ge(o){const t=await h.auditPassApp({id:o.id});x({type:"success",message:t.data}),v()}async function _e(o){const t=await h.auditFailApp({id:o.id});x({type:"success",message:t.data}),v()}return De(()=>{v(),oe()}),(o,t)=>{const d=qe,m=$e,w=xe,P=i("el-option"),T=i("el-select"),u=i("el-form-item"),y=i("el-input"),b=i("el-button"),M=i("el-form"),F=ke,$=i("el-image"),A=i("el-table-column"),ve=i("el-tag"),J=i("el-tooltip"),N=i("el-popconfirm"),ye=i("el-table"),be=i("el-pagination"),we=i("el-row"),S=i("el-switch"),X=i("el-icon"),Ae=i("el-upload"),Ve=i("el-dialog"),Ie=Ce("loading");return n(),z("div",null,[l(w,null,{title:a(()=>[Be]),content:a(()=>[Re]),default:a(()=>[l(m,{outline:"",onClick:t[0]||(t[0]=e=>I.value=!0)},{default:a(()=>[l(d,{name:"ic:baseline-plus"}),c(" 新增应用 ")]),_:1})]),_:1}),l(F,null,{default:a(()=>[l(M,{ref_key:"formRef",ref:K,inline:!0,model:_},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:_.catId,"onUpdate:modelValue":t[1]||(t[1]=e=>_.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"160px"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:_.name,"onUpdate:modelValue":t[2]||(t[2]=e=>_.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:Pe(Te(v,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(u,null,{default:a(()=>[l(b,{type:"primary",onClick:v},{default:a(()=>[c(" 查询 ")]),_:1}),l(b,{onClick:t[3]||(t[3]=e=>de(r(K)))},{default:a(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(F,{style:{width:"100%"}},{default:a(()=>[ze((n(),p(ye,{border:"",data:r(W),style:{width:"100%"},size:"large"},{default:a(()=>[l(A,{prop:"coverImg",label:"应用封面",width:"100"},{default:a(e=>[l($,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),l(A,{prop:"catName",label:"应用分类",width:"100"}),l(A,{prop:"name",label:"应用名称",width:"120"}),l(A,{prop:"status",label:"应用状态",width:"100"},{default:a(e=>[l(ve,{type:e.row.status===1?"success":"danger"},{default:a(()=>[c(k(r(Se)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),l(A,{prop:"order",label:"排序ID"}),c(" /> "),l(A,{prop:"preset",label:"预设信息",width:"400"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",Le,k(e.row.preset),1)]),default:a(()=>[V("div",Ke,k(e.row.preset),1)]),_:2},1024)]),_:1}),l(A,{prop:"des",label:"描述信息",width:"300"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",He,k(e.row.des),1)]),default:a(()=>[V("div",Oe,k(e.row.des),1)]),_:2},1024)]),_:1}),l(A,{prop:"createdAt",label:"创建时间",width:"120"},{default:a(e=>[c(k(r(Ne)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(A,{label:"操作",width:"200"},{default:a(e=>[e.row.role==="system"||e.row.public?(n(),p(b,{key:0,link:"",type:"primary",size:"small",onClick:j=>se(e.row)},{default:a(()=>[c(" 编辑 ")]),_:2},1032,["onClick"])):g("",!0),e.row.role==="system"?(n(),p(N,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:j=>re(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:2,title:"确认通过审核此应用么?",width:"200","icon-color":"red",onConfirm:j=>ge(e.row)},{reference:a(()=>[l(b,{link:"",type:"success",size:"small"},{default:a(()=>[c(" 通过审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:3,title:"确认拒绝通过此应用共享请求么?",width:"200","icon-color":"red",onConfirm:j=>_e(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 拒绝审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0)]),_:1})]),_:1},8,["data"])),[[Ie,r(U)]]),l(we,{class:"mt-5 flex justify-end"},{default:a(()=>[l(be,{"current-page":_.page,"onUpdate:currentPage":t[4]||(t[4]=e=>_.page=e),"page-size":_.size,"onUpdate:pageSize":t[5]||(t[5]=e=>_.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:r(H),onSizeChange:v,onCurrentChange:v},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(Ve,{modelValue:r(I),"onUpdate:modelValue":t[20]||(t[20]=e=>Fe(I)?I.value=e:null),"close-on-click-modal":!1,title:r(le),width:"570",onClose:t[21]||(t[21]=e=>ne(r(G)))},{footer:a(()=>[V("span",We,[l(b,{onClick:t[18]||(t[18]=e=>I.value=!1)},{default:a(()=>[c("取消")]),_:1}),l(b,{type:"primary",onClick:t[19]||(t[19]=e=>fe(r(G)))},{default:a(()=>[c(k(r(ae)),1)]),_:1})])]),default:a(()=>[l(M,{ref_key:"formPackageRef",ref:G,"label-position":"right","label-width":"100px",model:s,rules:te},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:s.catId,"onUpdate:modelValue":t[6]||(t[6]=e=>s.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:s.name,"onUpdate:modelValue":t[7]||(t[7]=e=>s.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:0,label:"App状态",prop:"status"},{default:a(()=>[l(S,{modelValue:s.status,"onUpdate:modelValue":t[8]||(t[8]=e=>s.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),l(u,{label:"App描述",prop:"des"},{default:a(()=>[l(y,{modelValue:s.des,"onUpdate:modelValue":t[9]||(t[9]=e=>s.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:a(()=>[l(S,{modelValue:s.isGPTs,"onUpdate:modelValue":t[10]||(t[10]=e=>s.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(s.isGPTs)===1?(n(),p(u,{key:2,label:"gizmoID",prop:"gizmoID"},{default:a(()=>[l(y,{modelValue:s.gizmoID,"onUpdate:modelValue":t[11]||(t[11]=e=>s.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isGPTs)!==1?(n(),p(u,{key:3,label:"App预设",prop:"preset"},{default:a(()=>[l(y,{modelValue:s.preset,"onUpdate:modelValue":t[12]||(t[12]=e=>s.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):g("",!0),!r(C)&&Number(s.isGPTs)!==1?(n(),p(u,{key:4,label:"固定模型",prop:"isFixedModel"},{default:a(()=>[l(S,{modelValue:s.isFixedModel,"onUpdate:modelValue":t[13]||(t[13]=e=>s.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isFixedModel)===1&&Number(s.isGPTs)!==1?(n(),p(u,{key:5,label:"使用模型",prop:"appModel"},{default:a(()=>[l(T,{modelValue:s.appModel,"onUpdate:modelValue":t[14]||(t[14]=e=>s.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:a(()=>[(n(!0),z(R,null,L(r(je),e=>(n(),p(P,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):g("",!0),l(u,{label:"示例内容",prop:"demoData"},{default:a(()=>[l(y,{modelValue:s.demoData,"onUpdate:modelValue":t[15]||(t[15]=e=>s.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),l(u,{label:"应用图标",prop:"coverImg"},{default:a(()=>[l(y,{modelValue:s.coverImg,"onUpdate:modelValue":t[16]||(t[16]=e=>s.coverImg=e),placeholder:"请填写或上传应用图标",clearable:""},{append:a(()=>[l(Ae,{class:"avatar-uploader",action:r(O),"show-file-list":!1,"on-success":Q,"before-upload":ie,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[s.coverImg?(n(),z("img",{key:0,src:s.coverImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ye)):(n(),p(X,{key:1,style:{width:"1rem"}},{default:a(()=>[l(r(Ue))]),_:1}))]),_:1},8,["action"]),s.coverImg?(n(),p(X,{key:0,onClick:ue,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[l(r(Me))]),_:1})):g("",!0)]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"排序ID",prop:"order"},{default:a(()=>[l(y,{modelValue:s.order,"onUpdate:modelValue":t[17]||(t[17]=e=>s.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof ee=="function"&&ee(Qe);export{Qe as default};
+import{_ as ke}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as xe}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as he,r as f,m as B,p as Z,a as De,n as i,q as Ce,g as n,c as z,b as l,w as a,h as c,F as R,s as L,i as r,v as Pe,x as Te,y as ze,z as p,t as k,e as V,A as g,B as Ue,C as Me,D as Fe,G as Ge,E as x,H as E,j as qe,_ as $e,k as ee}from"./index-CAe0BuuW.js";import{A as h}from"./app-CXnonH8J.js";import{u as Ne}from"./utcformatTime-Bq4gDWNx.js";import{Q as Se,M as je}from"./index-DfBvkKrB.js";const Be=V("div",{class:"flex items-center gap-4"},"应用配置",-1),Re=V("div",{class:"text-sm/6"},[V("div",null," 应用一旦创建,可能会被多处使用,请保持规范命名分类,后续尽量变更而不是删除。 "),V("div",null," 可自行选择应用是否固定模型。GPTs 需单独在特殊模型中配置 gpts 模型,并自行搜索填写 gizmoID(例如:g-alKfVrz9K)。 ")],-1),Le={style:{maxWidth:"350px"}},Ke={style:{maxHeight:"50px",cursor:"pointer"}},He={style:{maxWidth:"350px"}},Oe={style:{maxHeight:"50px",cursor:"pointer"}},Ye=["src"],We={class:"mr-5 flex justify-end"},Qe=he({__name:"application",setup(Je){const K=f(),H=f(0),I=f(!1),U=f(!1),_=B({catId:"",name:"",status:"",role:"",page:1,size:10,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),O=f(`/api/upload/file?dir=${encodeURIComponent("system/app")}`),G=f(),D=f(0),C=f(!1),Y=f(0),s=B({catId:"",name:"",preset:"",des:"",coverImg:"",demoData:"",order:100,status:0,isGPTs:0,gizmoID:"",isFixedModel:0,appModel:""}),te=B({catId:[{required:!0,message:"请选择App分类",trigger:"change"}],name:[{required:!0,message:"请填写App名称",trigger:"blur"}],preset:[{required:!1,message:"请填写App预设信息",trigger:"blur"}],des:[{required:!0,message:"请填写App描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写App封面图片地址",trigger:"blur"}],demoData:[{required:!1,message:"请填写App演示数据",trigger:"blur"}],isGPTs:[{required:!0,message:"是否GPTs",trigger:"blur"}],gizmoID:[{required:!1,message:"GPTs 的ID",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择App状态",trigger:"change"}],isFixedModel:[{required:!0,message:"请选择App是否固定模型",trigger:"blur"}],appModel:[{required:!1,message:"请选择App使用的模型",trigger:"change"}]}),W=f([]),q=f([]),le=Z(()=>D.value?"更新应用":"新增应用"),ae=Z(()=>D.value?"确认更新":"确认新增");async function v(){try{U.value=!0;const o=await h.queryApp(_),{rows:t,count:d}=o.data;U.value=!1,H.value=d,W.value=t.sort((m,w)=>w.order-m.order)}catch{U.value=!1}}async function oe(){const o=await h.queryCats({size:100}),{rows:t}=o.data;q.value=t}function se(o){D.value=o.id,C.value=o.role==="user",Y.value=o.status;const{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$}=o;Ge(()=>{Object.assign(s,{name:t,status:d,des:m,order:w,coverImg:P,catId:T,preset:u,demoData:y,isGPTs:b,gizmoID:M,isFixedModel:F,appModel:$})}),I.value=!0}function ne(o){D.value=0,o==null||o.resetFields()}async function re(o){await h.deleteApp({id:o.id}),x.success("删除分类成功"),v()}function de(o){o==null||o.resetFields(),v()}const Q=(o,t)=>{console.log("response: ",o.data),s.coverImg=o.data},ie=o=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(o.type)){if(o.size/1024>300)return x.error("当前限制文件最大不超过 300KB!"),!1}else return x.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};async function ue(){if(s.coverImg){const o=await me(s.coverImg);pe(o,Q)}}function pe(o,t){const d=new FormData;d.append("file",o),E.post(O.value,d,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{t(m.data)}).catch(m=>{console.error("上传失败",m)})}async function me(o){const t=await E.get(o,{responseType:"blob"});let d="downloaded_file";const m=t.headers["content-disposition"];if(m){const w=/filename="([^"]+)"/.exec(m);w!=null&&w[1]&&(d=w[1])}else d=ce(o);return new File([t.data],d,{type:t.data.type})}function ce(o){const d=new URL(o).pathname;return d.substring(d.lastIndexOf("/")+1)}function fe(o){o==null||o.validate(async t=>{if(t){if(D.value){const d={id:D.value,...s};C.value&&Object.assign(d,{status:Y.value}),await h.updateApp(d),x({type:"success",message:"更新应用成功!"})}else await h.createApp(s),x({type:"success",message:"创建新的应用成功!"});I.value=!1,v()}})}async function ge(o){const t=await h.auditPassApp({id:o.id});x({type:"success",message:t.data}),v()}async function _e(o){const t=await h.auditFailApp({id:o.id});x({type:"success",message:t.data}),v()}return De(()=>{v(),oe()}),(o,t)=>{const d=qe,m=$e,w=xe,P=i("el-option"),T=i("el-select"),u=i("el-form-item"),y=i("el-input"),b=i("el-button"),M=i("el-form"),F=ke,$=i("el-image"),A=i("el-table-column"),ve=i("el-tag"),J=i("el-tooltip"),N=i("el-popconfirm"),ye=i("el-table"),be=i("el-pagination"),we=i("el-row"),S=i("el-switch"),X=i("el-icon"),Ae=i("el-upload"),Ve=i("el-dialog"),Ie=Ce("loading");return n(),z("div",null,[l(w,null,{title:a(()=>[Be]),content:a(()=>[Re]),default:a(()=>[l(m,{outline:"",onClick:t[0]||(t[0]=e=>I.value=!0)},{default:a(()=>[l(d,{name:"ic:baseline-plus"}),c(" 新增应用 ")]),_:1})]),_:1}),l(F,null,{default:a(()=>[l(M,{ref_key:"formRef",ref:K,inline:!0,model:_},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:_.catId,"onUpdate:modelValue":t[1]||(t[1]=e=>_.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"160px"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:_.name,"onUpdate:modelValue":t[2]||(t[2]=e=>_.name=e),placeholder:"App名称[模糊搜索]",clearable:"",onKeydown:Pe(Te(v,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(u,null,{default:a(()=>[l(b,{type:"primary",onClick:v},{default:a(()=>[c(" 查询 ")]),_:1}),l(b,{onClick:t[3]||(t[3]=e=>de(r(K)))},{default:a(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),l(F,{style:{width:"100%"}},{default:a(()=>[ze((n(),p(ye,{border:"",data:r(W),style:{width:"100%"},size:"large"},{default:a(()=>[l(A,{prop:"coverImg",label:"应用封面",width:"100"},{default:a(e=>[l($,{style:{height:"50px"},src:e.row.coverImg,fit:"fill"},null,8,["src"])]),_:1}),l(A,{prop:"catName",label:"应用分类",width:"100"}),l(A,{prop:"name",label:"应用名称",width:"120"}),l(A,{prop:"status",label:"应用状态",width:"100"},{default:a(e=>[l(ve,{type:e.row.status===1?"success":"danger"},{default:a(()=>[c(k(r(Se)[e.row.status]),1)]),_:2},1032,["type"])]),_:1}),l(A,{prop:"order",label:"排序ID"}),c(" /> "),l(A,{prop:"preset",label:"预设信息",width:"400"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",Le,k(e.row.preset),1)]),default:a(()=>[V("div",Ke,k(e.row.preset),1)]),_:2},1024)]),_:1}),l(A,{prop:"des",label:"描述信息",width:"300"},{default:a(e=>[l(J,{class:"box-item",effect:"dark",placement:"top-start"},{content:a(()=>[V("div",He,k(e.row.des),1)]),default:a(()=>[V("div",Oe,k(e.row.des),1)]),_:2},1024)]),_:1}),l(A,{prop:"createdAt",label:"创建时间",width:"120"},{default:a(e=>[c(k(r(Ne)(e.row.createdAt,"YYYY-MM-DD")),1)]),_:1}),l(A,{label:"操作",width:"200"},{default:a(e=>[e.row.role==="system"||e.row.public?(n(),p(b,{key:0,link:"",type:"primary",size:"small",onClick:j=>se(e.row)},{default:a(()=>[c(" 编辑 ")]),_:2},1032,["onClick"])):g("",!0),e.row.role==="system"?(n(),p(N,{key:1,title:"确认删除此应用么?",width:"200","icon-color":"red",onConfirm:j=>re(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 删除应用 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:2,title:"确认通过审核此应用么?",width:"200","icon-color":"red",onConfirm:j=>ge(e.row)},{reference:a(()=>[l(b,{link:"",type:"success",size:"small"},{default:a(()=>[c(" 通过审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0),e.row.role==="user"&&e.row.status===3?(n(),p(N,{key:3,title:"确认拒绝通过此应用共享请求么?",width:"200","icon-color":"red",onConfirm:j=>_e(e.row)},{reference:a(()=>[l(b,{link:"",type:"danger",size:"small"},{default:a(()=>[c(" 拒绝审核 ")]),_:1})]),_:2},1032,["onConfirm"])):g("",!0)]),_:1})]),_:1},8,["data"])),[[Ie,r(U)]]),l(we,{class:"mt-5 flex justify-end"},{default:a(()=>[l(be,{"current-page":_.page,"onUpdate:currentPage":t[4]||(t[4]=e=>_.page=e),"page-size":_.size,"onUpdate:pageSize":t[5]||(t[5]=e=>_.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:r(H),onSizeChange:v,onCurrentChange:v},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),l(Ve,{modelValue:r(I),"onUpdate:modelValue":t[20]||(t[20]=e=>Fe(I)?I.value=e:null),"close-on-click-modal":!1,title:r(le),width:"570",onClose:t[21]||(t[21]=e=>ne(r(G)))},{footer:a(()=>[V("span",We,[l(b,{onClick:t[18]||(t[18]=e=>I.value=!1)},{default:a(()=>[c("取消")]),_:1}),l(b,{type:"primary",onClick:t[19]||(t[19]=e=>fe(r(G)))},{default:a(()=>[c(k(r(ae)),1)]),_:1})])]),default:a(()=>[l(M,{ref_key:"formPackageRef",ref:G,"label-position":"right","label-width":"100px",model:s,rules:te},{default:a(()=>[l(u,{label:"App分类",prop:"catId"},{default:a(()=>[l(T,{modelValue:s.catId,"onUpdate:modelValue":t[6]||(t[6]=e=>s.catId=e),placeholder:"请选择App分类",clearable:"",style:{width:"100%"}},{default:a(()=>[(n(!0),z(R,null,L(r(q),e=>(n(),p(P,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"App名称",prop:"name"},{default:a(()=>[l(y,{modelValue:s.name,"onUpdate:modelValue":t[7]||(t[7]=e=>s.name=e),placeholder:"请填写App名称"},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:0,label:"App状态",prop:"status"},{default:a(()=>[l(S,{modelValue:s.status,"onUpdate:modelValue":t[8]||(t[8]=e=>s.status=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),l(u,{label:"App描述",prop:"des"},{default:a(()=>[l(y,{modelValue:s.des,"onUpdate:modelValue":t[9]||(t[9]=e=>s.des=e),type:"textarea",placeholder:"请填写App介绍信息、用于对外展示...",rows:4},null,8,["modelValue"])]),_:1}),r(C)?g("",!0):(n(),p(u,{key:1,label:"启用GPTs",prop:"isGPTs"},{default:a(()=>[l(S,{modelValue:s.isGPTs,"onUpdate:modelValue":t[10]||(t[10]=e=>s.isGPTs=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})),Number(s.isGPTs)===1?(n(),p(u,{key:2,label:"gizmoID",prop:"gizmoID"},{default:a(()=>[l(y,{modelValue:s.gizmoID,"onUpdate:modelValue":t[11]||(t[11]=e=>s.gizmoID=e),placeholder:"请填写 GPTs 使用的 gizmoID"},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isGPTs)!==1?(n(),p(u,{key:3,label:"App预设",prop:"preset"},{default:a(()=>[l(y,{modelValue:s.preset,"onUpdate:modelValue":t[12]||(t[12]=e=>s.preset=e),type:"textarea",placeholder:"请填写App预设信息、用于给AI预设身份...",rows:4},null,8,["modelValue"])]),_:1})):g("",!0),!r(C)&&Number(s.isGPTs)!==1?(n(),p(u,{key:4,label:"固定模型",prop:"isFixedModel"},{default:a(()=>[l(S,{modelValue:s.isFixedModel,"onUpdate:modelValue":t[13]||(t[13]=e=>s.isFixedModel=e),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})):g("",!0),Number(s.isFixedModel)===1&&Number(s.isGPTs)!==1?(n(),p(u,{key:5,label:"使用模型",prop:"appModel"},{default:a(()=>[l(T,{modelValue:s.appModel,"onUpdate:modelValue":t[14]||(t[14]=e=>s.appModel=e),filterable:"","allow-create":"",placeholder:"请选择应用使用的模型",clearable:""},{default:a(()=>[(n(!0),z(R,null,L(r(je),e=>(n(),p(P,{key:e,label:e,value:e},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})):g("",!0),l(u,{label:"示例内容",prop:"demoData"},{default:a(()=>[l(y,{modelValue:s.demoData,"onUpdate:modelValue":t[15]||(t[15]=e=>s.demoData=e),type:"textarea",placeholder:"请填写App的demo示例数据、每换行一次表示一个新的示例...",rows:4},null,8,["modelValue"])]),_:1}),l(u,{label:"应用图标",prop:"coverImg"},{default:a(()=>[l(y,{modelValue:s.coverImg,"onUpdate:modelValue":t[16]||(t[16]=e=>s.coverImg=e),placeholder:"请填写或上传应用图标",clearable:""},{append:a(()=>[l(Ae,{class:"avatar-uploader",action:r(O),"show-file-list":!1,"on-success":Q,"before-upload":ie,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[s.coverImg?(n(),z("img",{key:0,src:s.coverImg,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,Ye)):(n(),p(X,{key:1,style:{width:"1rem"}},{default:a(()=>[l(r(Ue))]),_:1}))]),_:1},8,["action"]),s.coverImg?(n(),p(X,{key:0,onClick:ue,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[l(r(Me))]),_:1})):g("",!0)]),_:1},8,["modelValue"])]),_:1}),l(u,{label:"排序ID",prop:"order"},{default:a(()=>[l(y,{modelValue:s.order,"onUpdate:modelValue":t[17]||(t[17]=e=>s.order=e),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof ee=="function"&&ee(Qe);export{Qe as default};
diff --git a/public/admin/assets/autpReply-Bgd0Ar34.js b/public/admin/assets/autpReply-Bgd0Ar34.js
new file mode 100644
index 0000000..c8bd30c
--- /dev/null
+++ b/public/admin/assets/autpReply-Bgd0Ar34.js
@@ -0,0 +1,8 @@
+
+/**
+ * 由 Fantastic-admin 提供技术支持
+ * Powered by Fantastic-admin
+ * https://fantastic-admin.github.io
+ */
+
+import{_ as ae}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as A,d as ne,m as z,r as _,p as se,a as ue,n,q as re,g as R,c as B,b as e,w as a,h as d,v as ie,x as pe,F as de,s as me,i as u,y as ce,z as O,t as j,e as v,D as _e,E as V,G as fe,j as ye,_ as ge,k as F}from"./index-CAe0BuuW.js";import{d as ve,Q as be}from"./index-DfBvkKrB.js";const x={queryAutoReply:i=>A.get("autoreply/query",{params:i}),delAutoReply:i=>A.post("autoreply/del",i),addAutoReply:i=>A.post("autoreply/add",i),updateAutoReply:i=>A.post("autoreply/update",i)},we=v("div",{class:"flex items-center gap-4"},"自定义知识库说明",-1),Ae=v("div",{class:"text-sm/6"},[v("div",null," 自定义知识库会根据用户提问中的关键词匹配知识库的内容作为预设。同一知识库支持多个关键词,多个关键词用空格隔开。 "),v("div",null,"默认开启 AI 回复,关闭后将直接回复预设答案。")],-1),Re={class:"dialog-footer"},Ve=ne({__name:"autpReply",setup(i){const r=z({prompt:"",status:void 0,page:1,size:10}),m=_(!1),b=_(!1),y=_(0),$=_(0),S=_(),k=_(),s=z({status:1,prompt:"",answer:"",isAIReplyEnabled:1}),M=z({status:[{required:!0,message:"请选择开启状态",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}],isAIReplyEnabled:[{required:!0,message:"请选择是否开启AI回复",trigger:"change"}]}),q=_([]);async function p(){try{b.value=!0;const o=await x.queryAutoReply(r),{rows:t,count:g}=o.data;b.value=!1,$.value=g,q.value=t}catch{b.value=!1}}async function P(o){await x.delAutoReply({id:o}),V.success("删除自定义知识库成功"),await p()}function K(o){o==null||o.resetFields(),p()}function Q(o){y.value=o.id;const{status:t,prompt:g,answer:C,isAIReplyEnabled:I}=o;m.value=!0,fe(()=>{Object.assign(s,{status:t,prompt:g,answer:C,isAIReplyEnabled:I})})}const T=se(()=>y.value!==0);function H(o){o==null||o.resetFields(),y.value=0}async function L(o){o==null||o.validate(async t=>{if(!t){V.warning("请按规则填写所有信息!");return}y.value===0?(await x.addAutoReply(s),V.success("添加自定义知识库成功")):(await x.updateAutoReply({id:y.value,...s}),V.success("更新自定义知识库成功")),m.value=!1,p()})}return ue(()=>{p()}),(o,t)=>{const g=ye,C=ge,I=oe,U=n("el-input"),c=n("el-form-item"),G=n("el-option"),E=n("el-select"),f=n("el-button"),h=n("el-form"),D=ae,w=n("el-table-column"),J=n("el-tag"),W=n("el-popconfirm"),X=n("el-table"),Y=n("el-pagination"),Z=n("el-row"),N=n("el-switch"),ee=n("el-dialog"),te=re("loading");return R(),B("div",null,[e(I,null,{title:a(()=>[we]),content:a(()=>[Ae]),default:a(()=>[e(C,{outline:"",onClick:t[0]||(t[0]=l=>m.value=!0)},{default:a(()=>[e(g,{name:"i-ri:file-text-line"}),d(" 添加知识库 ")]),_:1})]),_:1}),e(D,null,{default:a(()=>[e(h,{ref_key:"formRef",ref:S,inline:!0,model:r},{default:a(()=>[e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:r.prompt,"onUpdate:modelValue":t[1]||(t[1]=l=>r.prompt=l),placeholder:"关键词[模糊搜索]",onKeydown:ie(pe(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(c,{label:"启用状态",prop:"status"},{default:a(()=>[e(E,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=l=>r.status=l),placeholder:"请选择启用状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(R(!0),B(de,null,me(u(ve),l=>(R(),O(G,{key:l.value,label:l.label,value:l.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(c,null,{default:a(()=>[e(f,{type:"primary",onClick:p},{default:a(()=>[d(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=l=>K(u(S)))},{default:a(()=>[d(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(D,{style:{width:"100%"}},{default:a(()=>[ce((R(),O(X,{border:"",data:u(q),style:{width:"100%"},size:"large"},{default:a(()=>[e(w,{prop:"prompt",label:"关键词"}),e(w,{prop:"answer",label:"知识库"}),e(w,{prop:"status",label:"状态",width:"120"},{default:a(l=>[e(J,{type:l.row.status===1?"success":"danger"},{default:a(()=>[d(j(u(be)[l.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(w,{fixed:"right",label:"操作",width:"200"},{default:a(l=>[e(f,{link:"",type:"primary",size:"small",onClick:le=>Q(l.row)},{default:a(()=>[d(" 编辑 ")]),_:2},1032,["onClick"]),e(W,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除次条知识库?",onConfirm:le=>P(l.row.id)},{reference:a(()=>[e(f,{link:"",type:"danger",size:"small"},{default:a(()=>[d(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,u(b)]]),e(Z,{class:"mt-5 flex justify-end"},{default:a(()=>[e(Y,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=l=>r.page=l),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=l=>r.size=l),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:u($),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:u(m),"onUpdate:modelValue":t[12]||(t[12]=l=>_e(m)?m.value=l:null),title:`${u(T)?"编辑":"添加"}知识库`,width:"600px",onClose:t[13]||(t[13]=l=>H(u(k)))},{footer:a(()=>[v("span",Re,[e(f,{onClick:t[10]||(t[10]=l=>m.value=!1)},{default:a(()=>[d("取消")]),_:1}),e(f,{type:"primary",onClick:t[11]||(t[11]=l=>L(u(k)))},{default:a(()=>[d(j(`${u(T)?"更新":"新增"}知识库 `),1)]),_:1})])]),default:a(()=>[e(h,{ref_key:"formAutoReplyRef",ref:k,"label-position":"right","label-width":"80px",model:s,rules:M},{default:a(()=>[e(c,{label:"开启状态",prop:"status"},{default:a(()=>[e(N,{modelValue:s.status,"onUpdate:modelValue":t[6]||(t[6]=l=>s.status=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"AI回复",prop:"isAIReplyEnabled"},{default:a(()=>[e(N,{modelValue:s.isAIReplyEnabled,"onUpdate:modelValue":t[7]||(t[7]=l=>s.isAIReplyEnabled=l),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(c,{label:"关键词",prop:"prompt"},{default:a(()=>[e(U,{modelValue:s.prompt,"onUpdate:modelValue":t[8]||(t[8]=l=>s.prompt=l),type:"textarea",rows:5,placeholder:"请填写关键词,多个关键词用空格隔开"},null,8,["modelValue"])]),_:1}),e(c,{label:"知识库",prop:"answer"},{default:a(()=>[e(U,{modelValue:s.answer,"onUpdate:modelValue":t[9]||(t[9]=l=>s.answer=l),type:"textarea",rows:5,placeholder:"请填写匹配的知识库内容"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof F=="function"&&F(Ve);export{Ve as default};
diff --git a/public/admin/assets/autpReply-aBwzoon6.js b/public/admin/assets/autpReply-aBwzoon6.js
deleted file mode 100644
index 0375e76..0000000
--- a/public/admin/assets/autpReply-aBwzoon6.js
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/**
- * 由 Fantastic-admin 提供技术支持
- * Powered by Fantastic-admin
- * https://fantastic-admin.github.io
- */
-
-import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as ne}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{I as b,d as se,m as S,r as c,p as ue,a as re,n,q as ie,g as A,c as Y,b as e,w as a,h as i,v as pe,x as de,F as me,s as ce,i as s,y as _e,z as I,t as V,e as k,D as fe,E as R,G as ye,j as ge,_ as ve,k as N}from"./index-DEc4xym2.js";import{u as B}from"./utcformatTime-Bq4gDWNx.js";import{d as we,Q as be}from"./index-J5zVJPyL.js";const x={queryAutoReply:p=>b.get("autoreply/query",{params:p}),delAutoReply:p=>b.post("autoreply/del",p),addAutoReply:p=>b.post("autoreply/add",p),updateAutoReply:p=>b.post("autoreply/update",p)},Ae=k("div",{class:"flex items-center gap-4"},"自定义回复说明",-1),Ve=k("div",{class:"text-sm/6"},[k("div",null,"当前可设置自定义回复,且可以多种关键词触发回复相同内容。")],-1),Re={class:"dialog-footer"},xe=se({__name:"autpReply",setup(p){const u=S({prompt:"",status:void 0,page:1,size:10}),m=c(!1),w=c(!1),g=c(0),U=c(0),$=c(),C=c(),r=S({status:0,prompt:"",answer:""}),O=S({status:[{required:!0,message:"请选择套餐类型",trigger:"change"}],prompt:[{required:!0,message:"请填写预设问题",trigger:"blur"}],answer:[{required:!0,message:"请填写回复答案",trigger:"blur"}]}),T=c([]);async function d(){try{w.value=!0;const o=await x.queryAutoReply(u),{rows:l,count:v}=o.data;w.value=!1,U.value=v,T.value=l}catch{w.value=!1}}async function j(o){await x.delAutoReply({id:o}),R.success("删除自定义问题成功"),await d()}function F(o){o==null||o.resetFields(),d()}function P(o){g.value=o.id;const{status:l,prompt:v,answer:h}=o;m.value=!0,ye(()=>{Object.assign(r,{status:l,prompt:v,answer:h})})}const D=ue(()=>g.value!==0);function K(o){o==null||o.resetFields(),g.value=0}async function Q(o){o==null||o.validate(async l=>{if(!l){R.warning("请按规则填写所有信息!");return}g.value===0?(await x.addAutoReply(r),R.success("添加自定义问题成功")):(await x.updateAutoReply({id:g.value,...r}),R.success("更新自定义问题成功")),m.value=!1,d()})}return re(()=>{d()}),(o,l)=>{const v=ge,h=ve,H=ne,z=n("el-input"),_=n("el-form-item"),L=n("el-option"),G=n("el-select"),f=n("el-button"),q=n("el-form"),M=oe,y=n("el-table-column"),J=n("el-tag"),W=n("el-popconfirm"),X=n("el-table"),Z=n("el-pagination"),E=n("el-row"),ee=n("el-switch"),te=n("el-dialog"),le=ie("loading");return A(),Y("div",null,[e(H,null,{title:a(()=>[Ae]),content:a(()=>[Ve]),default:a(()=>[e(h,{outline:"",onClick:l[0]||(l[0]=t=>m.value=!0)},{default:a(()=>[e(v,{name:"i-ri:file-text-line"}),i(" 添加新的自动回复 ")]),_:1})]),_:1}),e(M,null,{default:a(()=>[e(q,{ref_key:"formRef",ref:$,inline:!0,model:u},{default:a(()=>[e(_,{label:"自定义问题",prop:"prompt"},{default:a(()=>[e(z,{modelValue:u.prompt,"onUpdate:modelValue":l[1]||(l[1]=t=>u.prompt=t),placeholder:"自定义问题[模糊搜索]",onKeydown:pe(de(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"问题启用状态",prop:"status"},{default:a(()=>[e(G,{modelValue:u.status,"onUpdate:modelValue":l[2]||(l[2]=t=>u.status=t),placeholder:"请选择问题启用状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(A(!0),Y(me,null,ce(s(we),t=>(A(),I(L,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:a(()=>[e(f,{type:"primary",onClick:d},{default:a(()=>[i(" 查询 ")]),_:1}),e(f,{onClick:l[3]||(l[3]=t=>F(s($)))},{default:a(()=>[i(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(M,{style:{width:"100%"}},{default:a(()=>[_e((A(),I(X,{border:"",data:s(T),style:{width:"100%"},size:"large"},{default:a(()=>[e(y,{prop:"prompt",label:"提问关键词"}),e(y,{prop:"answer",label:"回复答案"}),e(y,{prop:"status",label:"问题状态",width:"120"},{default:a(t=>[e(J,{type:t.row.status===1?"success":"danger"},{default:a(()=>[i(V(s(be)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(y,{prop:"createdAt",label:"创建时间",width:"200"},{default:a(t=>[i(V(s(B)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{prop:"updatedAt",label:"最后修改时间",width:"200"},{default:a(t=>[i(V(s(B)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(y,{fixed:"right",label:"操作",width:"200"},{default:a(t=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>P(t.row)},{default:a(()=>[i(" 编辑 ")]),_:2},1032,["onClick"]),e(W,{"confirm-button-text":"确认删除","cancel-button-text":"放弃",type:"danger",width:"230px","icon-color":"red",title:"确定删除本条自动回复问题么?",onConfirm:ae=>j(t.row.id)},{reference:a(()=>[e(f,{link:"",type:"danger",size:"small"},{default:a(()=>[i(" 删除 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[le,s(w)]]),e(E,{class:"mt-5 flex justify-end"},{default:a(()=>[e(Z,{"current-page":u.page,"onUpdate:currentPage":l[4]||(l[4]=t=>u.page=t),"page-size":u.size,"onUpdate:pageSize":l[5]||(l[5]=t=>u.size=t),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s(U),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(te,{modelValue:s(m),"onUpdate:modelValue":l[11]||(l[11]=t=>fe(m)?m.value=t:null),title:`${s(D)?"编辑":"添加"}自动回复问题`,width:"480",onClose:l[12]||(l[12]=t=>K(s(C)))},{footer:a(()=>[k("span",Re,[e(f,{onClick:l[9]||(l[9]=t=>m.value=!1)},{default:a(()=>[i("放弃生成")]),_:1}),e(f,{type:"primary",onClick:l[10]||(l[10]=t=>Q(s(C)))},{default:a(()=>[i(V(`${s(D)?"更新":"新增"}回复 `),1)]),_:1})])]),default:a(()=>[e(q,{ref_key:"formAutoReplyRef",ref:C,"label-position":"right","label-width":"80px",model:r,rules:O},{default:a(()=>[e(_,{label:"开启状态",prop:"status"},{default:a(()=>[e(ee,{modelValue:r.status,"onUpdate:modelValue":l[6]||(l[6]=t=>r.status=t),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"提问问题",prop:"prompt"},{default:a(()=>[e(z,{modelValue:r.prompt,"onUpdate:modelValue":l[7]||(l[7]=t=>r.prompt=t),type:"textarea",rows:5,placeholder:"请填写预设提问问题"},null,8,["modelValue"])]),_:1}),e(_,{label:"回复问题",prop:"answer"},{default:a(()=>[e(z,{modelValue:r.answer,"onUpdate:modelValue":l[8]||(l[8]=t=>r.answer=t),type:"textarea",rows:5,placeholder:"请填写预设回复答案"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof N=="function"&&N(xe);export{xe as default};
diff --git a/public/admin/assets/badWords-CQd8mmw9.js b/public/admin/assets/badWords-Jbq96Z0c.js
similarity index 85%
rename from public/admin/assets/badWords-CQd8mmw9.js
rename to public/admin/assets/badWords-Jbq96Z0c.js
index 3ecc85b..b9b7b70 100644
--- a/public/admin/assets/badWords-CQd8mmw9.js
+++ b/public/admin/assets/badWords-Jbq96Z0c.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{I as o}from"./index-DEc4xym2.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A};
+import{I as o}from"./index-CAe0BuuW.js";const r={queryBadWords:(d={})=>o.get("badwords/query",{params:d}),queryViolation:(d={})=>o.get("badwords/violation",{params:d}),delBadWords:d=>o.post("badwords/del",d),addBadWords:d=>o.post("badwords/add",d),updateBadWords:d=>o.post("badwords/update",d)};export{r as A};
diff --git a/public/admin/assets/baiduSensitive-z59IcEO-.js b/public/admin/assets/baiduSensitive-w44zgPld.js
similarity index 94%
rename from public/admin/assets/baiduSensitive-z59IcEO-.js
rename to public/admin/assets/baiduSensitive-w44zgPld.js
index 65035a3..bb8abca 100644
--- a/public/admin/assets/baiduSensitive-z59IcEO-.js
+++ b/public/admin/assets/baiduSensitive-w44zgPld.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as q,m as B,r as b,a as U,n,g as j,c as E,b as e,w as t,h as d,e as r,E as x,j as I,_ as N,k as g}from"./index-DEc4xym2.js";import{a as y}from"./config-BQ9gBCXa.js";const $=r("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[d(" 当前百度云免费5万条,可查看"),r("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),d(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1),M=q({__name:"baiduSensitive",setup(O){const l=B({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),K=b({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=b();async function m(){const o=await y.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(l,o.data)}function T(){var o;(o=_.value)==null||o.validate(async a=>{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=I,v=N,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),E("div",null,[e(V,null,{title:t(()=>[$]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default};
+import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as q,m as B,r as b,a as U,n,g as j,c as E,b as e,w as t,h as d,e as r,E as x,j as I,_ as N,k as g}from"./index-CAe0BuuW.js";import{a as y}from"./config-CwtVyG0K.js";const $=r("div",{class:"flex items-center gap-4"},"百度文本审核参数设置",-1),H=r("div",{class:"text-sm/6"},[r("div",null,[d(" 当前百度云免费5万条,可查看"),r("a",{href:"https://console.bce.baidu.com/ai/#/ai/antiporn/overview/index",target:"_blank"},"使用文档"),d(",如果百度云敏感词与自定义敏感词都配置的情况,会先检测百度云后检测自定义的敏感词。 ")])],-1),M=q({__name:"baiduSensitive",setup(O){const l=B({baiduTextStatus:"",baiduTextApiKey:"",baiduTextSecretKey:""}),K=b({baiduTextStatus:[{required:!0,trigger:"blur",message:"请选择是否启用百度文本审核"}],baiduTextSecretKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核SecretKey"}],baiduTextApiKey:[{required:!0,trigger:"blur",message:"请填写百度文本审核APIKey"}]}),_=b();async function m(){const o=await y.queryConfig({keys:["baiduTextStatus","baiduTextSecretKey","baiduTextApiKey"]});Object.assign(l,o.data)}function T(){var o;(o=_.value)==null||o.validate(async a=>{if(a){try{await y.setConfig({settings:S(l)}),x.success("变更配置信息成功")}catch{}m()}else x.error("请填写完整信息")})}function S(o){return Object.keys(o).map(a=>({configKey:a,configVal:o[a]}))}return U(()=>{m()}),(o,a)=>{const p=I,v=N,V=C,w=n("el-switch"),A=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),c=n("el-row"),f=n("el-input"),h=n("el-form"),k=n("el-card");return j(),E("div",null,[e(V,null,{title:t(()=>[$]),content:t(()=>[H]),default:t(()=>[e(v,{outline:"",onClick:T},{default:t(()=>[e(p,{name:"i-ri:file-text-line"}),d(" 保存设置 ")]),_:1})]),_:1}),e(k,{style:{margin:"20px"}},{default:t(()=>[e(h,{ref_key:"formRef",ref:_,rules:K.value,model:l,"label-width":"150px"},{default:t(()=>[e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"开启此敏感词设置",prop:"baiduTextStatus"},{default:t(()=>[e(A,{content:"开启将打开敏感词检测、如果同时开启其他敏感词将会通过菜单顺序仅同时开启一个!",placement:"top","show-after":500},{default:t(()=>[e(w,{modelValue:l.baiduTextStatus,"onUpdate:modelValue":a[0]||(a[0]=i=>l.baiduTextStatus=i),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核ApiKey",prop:"baiduTextApiKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextApiKey,"onUpdate:modelValue":a[1]||(a[1]=i=>l.baiduTextApiKey=i),placeholder:"请填写百度文本审核ApiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(c,null,{default:t(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"文本审核SecretKey",prop:"baiduTextSecretKey"},{default:t(()=>[e(f,{modelValue:l.baiduTextSecretKey,"onUpdate:modelValue":a[2]||(a[2]=i=>l.baiduTextSecretKey=i),placeholder:"请填写百度文本审核SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g(M);export{M as default};
diff --git a/public/admin/assets/base-B9aketWE.js b/public/admin/assets/base-B8K1zB5w.js
similarity index 91%
rename from public/admin/assets/base-B9aketWE.js
rename to public/admin/assets/base-B8K1zB5w.js
index 869cb2d..e3e2944 100644
--- a/public/admin/assets/base-B9aketWE.js
+++ b/public/admin/assets/base-B8K1zB5w.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as k,m as M,r as p,a as T,n,g as A,c as q,b as e,w as l,h as D,e as U,E as g,j,_ as E,k as y}from"./index-DEc4xym2.js";import{a as x}from"./config-BQ9gBCXa.js";const N=U("div",{class:"flex items-center gap-4"},"分销系统基础设置",-1),$=k({__name:"base",setup(H){const t=M({salesBaseRatio:10,salesSeniorRatio:30,salesAllowDrawMoney:10,salesBaseTitle:"新秀分销商"}),b=p({salesBaseRatio:[{required:!0,trigger:"blur",message:"请填写默认佣金比例"}],salesSeniorRatio:[{required:!0,trigger:"blur",message:"请填写高级代理默认比例"}],salesBaseTitle:[{required:!0,trigger:"blur",message:"请填写默认用户推介等级名称"}]}),m=p();async function d(){const s=await x.queryConfig({keys:["salesBaseRatio","salesSeniorRatio","salesAllowDrawMoney","salesBaseTitle"]});Object.assign(t,s.data)}function w(){var s;(s=m.value)==null||s.validate(async a=>{if(a){try{await x.setConfig({settings:B(t)}),g.success("变更配置信息成功")}catch{}d()}else g.error("请填写完整信息")})}function B(s){return Object.keys(s).map(a=>({configKey:a,configVal:s[a]}))}return T(()=>{d()}),(s,a)=>{const _=j,V=E,R=C,c=n("el-input-number"),r=n("el-form-item"),i=n("el-col"),u=n("el-row"),f=n("el-input"),S=n("el-form"),v=n("el-card");return A(),q("div",null,[e(R,null,{title:l(()=>[N]),default:l(()=>[e(V,{outline:"",onClick:w},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),D(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:m,model:t,"label-width":"140px",rules:b.value},{default:l(()=>[e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认分销佣金比例",prop:"salesBaseRatio"},{default:l(()=>[e(c,{modelValue:t.salesBaseRatio,"onUpdate:modelValue":a[0]||(a[0]=o=>t.salesBaseRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"高级分销佣金比例",prop:"salesSeniorRatio"},{default:l(()=>[e(c,{modelValue:t.salesSeniorRatio,"onUpdate:modelValue":a[1]||(a[1]=o=>t.salesSeniorRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"允许最低提现金额",prop:"salesAllowDrawMoney"},{default:l(()=>[e(f,{modelValue:t.salesAllowDrawMoney,"onUpdate:modelValue":a[2]||(a[2]=o=>t.salesAllowDrawMoney=o),type:"number","step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认等级分销名称",prop:"salesBaseTitle"},{default:l(()=>[e(f,{modelValue:t.salesBaseTitle,"onUpdate:modelValue":a[3]||(a[3]=o=>t.salesBaseTitle=o),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof y=="function"&&y($);export{$ as default};
+import{_ as C}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as k,m as M,r as p,a as T,n,g as A,c as q,b as e,w as l,h as D,e as U,E as g,j,_ as E,k as y}from"./index-CAe0BuuW.js";import{a as x}from"./config-CwtVyG0K.js";const N=U("div",{class:"flex items-center gap-4"},"分销系统基础设置",-1),$=k({__name:"base",setup(H){const t=M({salesBaseRatio:10,salesSeniorRatio:30,salesAllowDrawMoney:10,salesBaseTitle:"新秀分销商"}),b=p({salesBaseRatio:[{required:!0,trigger:"blur",message:"请填写默认佣金比例"}],salesSeniorRatio:[{required:!0,trigger:"blur",message:"请填写高级代理默认比例"}],salesBaseTitle:[{required:!0,trigger:"blur",message:"请填写默认用户推介等级名称"}]}),m=p();async function d(){const s=await x.queryConfig({keys:["salesBaseRatio","salesSeniorRatio","salesAllowDrawMoney","salesBaseTitle"]});Object.assign(t,s.data)}function w(){var s;(s=m.value)==null||s.validate(async a=>{if(a){try{await x.setConfig({settings:B(t)}),g.success("变更配置信息成功")}catch{}d()}else g.error("请填写完整信息")})}function B(s){return Object.keys(s).map(a=>({configKey:a,configVal:s[a]}))}return T(()=>{d()}),(s,a)=>{const _=j,V=E,R=C,c=n("el-input-number"),r=n("el-form-item"),i=n("el-col"),u=n("el-row"),f=n("el-input"),S=n("el-form"),v=n("el-card");return A(),q("div",null,[e(R,null,{title:l(()=>[N]),default:l(()=>[e(V,{outline:"",onClick:w},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),D(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:m,model:t,"label-width":"140px",rules:b.value},{default:l(()=>[e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认分销佣金比例",prop:"salesBaseRatio"},{default:l(()=>[e(c,{modelValue:t.salesBaseRatio,"onUpdate:modelValue":a[0]||(a[0]=o=>t.salesBaseRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"高级分销佣金比例",prop:"salesSeniorRatio"},{default:l(()=>[e(c,{modelValue:t.salesSeniorRatio,"onUpdate:modelValue":a[1]||(a[1]=o=>t.salesSeniorRatio=o),max:100,min:0,step:5,"step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"允许最低提现金额",prop:"salesAllowDrawMoney"},{default:l(()=>[e(f,{modelValue:t.salesAllowDrawMoney,"onUpdate:modelValue":a[2]||(a[2]=o=>t.salesAllowDrawMoney=o),type:"number","step-strictly":""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"默认等级分销名称",prop:"salesBaseTitle"},{default:l(()=>[e(f,{modelValue:t.salesBaseTitle,"onUpdate:modelValue":a[3]||(a[3]=o=>t.salesBaseTitle=o),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["model","rules"])]),_:1})])}}});typeof y=="function"&&y($);export{$ as default};
diff --git a/public/admin/assets/base-CufmkG0J.js b/public/admin/assets/base-Bp8P0cPO.js
similarity index 93%
rename from public/admin/assets/base-CufmkG0J.js
rename to public/admin/assets/base-Bp8P0cPO.js
index f49bd9d..4fd16f1 100644
--- a/public/admin/assets/base-CufmkG0J.js
+++ b/public/admin/assets/base-Bp8P0cPO.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as I,m as w,r as b,a as A,n as s,g as R,c as U,b as e,w as l,h as m,e as f,E as y,j,_ as B,k}from"./index-DEc4xym2.js";import{a as g}from"./config-BQ9gBCXa.js";const E=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),N=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),$=I({__name:"base",setup(q){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const n=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,n.data)}function V(){var n;(n=c.value)==null||n.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(n){return Object.keys(n).map(a=>({configKey:a,configVal:n[a]}))}return A(()=>{p()}),(n,a)=>{const _=j,C=B,h=v,d=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),S=s("el-form"),T=s("el-card");return R(),U("div",null,[e(h,null,{title:l(()=>[E]),content:l(()=>[N]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(d,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(d,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(d,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(d,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(d,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(d,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k($);export{$ as default};
+import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as I,m as w,r as b,a as A,n as s,g as R,c as U,b as e,w as l,h as m,e as f,E as y,j,_ as B,k}from"./index-CAe0BuuW.js";import{a as g}from"./config-CwtVyG0K.js";const E=f("div",{class:"flex items-center gap-4"},"百度统计设置",-1),N=f("div",{class:"text-sm/6"},[f("div",null,"百度统计主要用于展示,实际的统计数据将在网站首页显示。"),f("div",null,[m(" 为获取更精确的数据分析,请参考"),f("a",{href:"https://tongji.baidu.com/api/manual/Chapter2/openapi.html",target:"_blank"},"百度统计接口说明"),m(",申请专属于您网站的 siteId 、key 以及 token 等信息。 ")]),f("div",null," 百度统计提供的是一项免费服务,如果您选择不使用这项服务,只需将相关设置项留空即可。 ")],-1),$=I({__name:"base",setup(q){const o=w({baiduCode:"",baiduSiteId:"",baiduToken:"",baiduApiKey:"",baiduSecretKey:"",baiduRefreshToken:""}),x=b({}),c=b();async function p(){const n=await g.queryConfig({keys:["baiduCode","baiduSiteId","baiduToken","baiduApiKey","baiduSecretKey","baiduRefreshToken"]});Object.assign(o,n.data)}function V(){var n;(n=c.value)==null||n.validate(async a=>{if(a){try{await g.setConfig({settings:K(o)}),y.success("变更配置信息成功")}catch{}p()}else y.error("请填写完整信息")})}function K(n){return Object.keys(n).map(a=>({configKey:a,configVal:n[a]}))}return A(()=>{p()}),(n,a)=>{const _=j,C=B,h=v,d=s("el-input"),u=s("el-form-item"),i=s("el-col"),r=s("el-row"),S=s("el-form"),T=s("el-card");return R(),U("div",null,[e(h,null,{title:l(()=>[E]),content:l(()=>[N]),default:l(()=>[e(C,{outline:"",onClick:V},{default:l(()=>[e(_,{name:"i-ri:file-text-line"}),m(" 保存设置 ")]),_:1})]),_:1}),e(T,{style:{margin:"20px"}},{default:l(()=>[e(S,{ref_key:"formRef",ref:c,rules:x.value,model:o,"label-width":"120px"},{default:l(()=>[e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"siteId",prop:"baiduSiteId"},{default:l(()=>[e(d,{modelValue:o.baiduSiteId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.baiduSiteId=t),placeholder:"请填写百度site_id",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"ApiKey",prop:"baiduApiKey"},{default:l(()=>[e(d,{modelValue:o.baiduApiKey,"onUpdate:modelValue":a[1]||(a[1]=t=>o.baiduApiKey=t),placeholder:"请填写百度apiKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SecretKey",prop:"baiduSecretKey"},{default:l(()=>[e(d,{modelValue:o.baiduSecretKey,"onUpdate:modelValue":a[2]||(a[2]=t=>o.baiduSecretKey=t),placeholder:"请填写百度 secretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"AccessToken",prop:"baiduToken"},{default:l(()=>[e(d,{modelValue:o.baiduToken,"onUpdate:modelValue":a[3]||(a[3]=t=>o.baiduToken=t),placeholder:"请填写百度 access_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"RefreshToken",prop:"baiduRefreshToken"},{default:l(()=>[e(d,{modelValue:o.baiduRefreshToken,"onUpdate:modelValue":a[4]||(a[4]=t=>o.baiduRefreshToken=t),placeholder:"请填写百度 refresh_token",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(r,null,{default:l(()=>[e(i,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"统计代码",prop:"baiduCode"},{default:l(()=>[e(d,{modelValue:o.baiduCode,"onUpdate:modelValue":a[5]||(a[5]=t=>o.baiduCode=t),placeholder:"填写百度统计代码可统计每日访问量详情,如果没有使用用请查看详细文档!",type:"textarea",rows:12,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof k=="function"&&k($);export{$ as default};
diff --git a/public/admin/assets/baseConfiguration-BP1QaQoF.js b/public/admin/assets/baseConfiguration-BP1QaQoF.js
new file mode 100644
index 0000000..bf1b9ea
--- /dev/null
+++ b/public/admin/assets/baseConfiguration-BP1QaQoF.js
@@ -0,0 +1,8 @@
+
+/**
+ * 由 Fantastic-admin 提供技术支持
+ * Powered by Fantastic-admin
+ * https://fantastic-admin.github.io
+ */
+
+import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as ee,m as ae,r as N,a as le,n as c,g as r,c as h,b as e,w as a,h as S,z as _,i as g,B as A,C as P,A as U,F as te,s as oe,e as F,E as k,j as ne,_ as re,H as O,t as se,k as R}from"./index-CAe0BuuW.js";import{a as T}from"./config-CwtVyG0K.js";const ie=F("div",{class:"flex items-center gap-4"},"网站基础配置",-1),de=F("div",{class:"text-sm/6"},[F("div",null," 网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。 "),F("div",null,"请认真填写各项配置,确保提供给用户的信息准确无误。")],-1),ue=["src"],ce=["src"],me=["src"],fe=["src"],pe=ee({__name:"baseConfiguration",setup(_e){const B=[{label:"欢迎页",path:"/home"},{label:"聊天对话",path:"/chat"},{label:"应用中心",path:"/chatStore"},{label:"专业绘画",path:"/midjourney"},{label:"绘画广场",path:"/market"},{label:"思维导图",path:"/mind"}],l=ae({siteName:"",vxNumber:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:"",clientHomePath:"",copyrightTitle:"",copyrightUrl:"",isHideSidebar:"",homeHtml:""}),G=N({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}],copyrightUrl:[{trigger:"blur",message:"请填写底部版权文字内容"}],copyrightTitle:[{trigger:"blur",message:"请填写点击底部版本跳转的地址"}]}),I=N(),b=N(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);async function L(){const t=await T.queryConfig({keys:["siteName","vxNumber","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","clientHomePath","copyrightUrl","copyrightTitle","siteUrl","isHideSidebar","homeHtml"]});Object.assign(l,t.data)}function $(){var t;(t=I.value)==null||t.validate(async o=>{if(o){try{await T.setConfig({settings:J(l)}),k.success("变更配置信息成功")}catch{}L()}else k.error("请填写完整信息")})}async function v(t){const o=await O.get(t,{responseType:"blob"});let s="downloaded_file";const f=o.headers["content-disposition"];if(f){const y=/filename="([^"]+)"/.exec(f);y!=null&&y[1]&&(s=y[1])}else s=E(t);return new File([o.data],s,{type:o.data.type})}function E(t){const s=new URL(t).pathname;return s.substring(s.lastIndexOf("/")+1)}function x(t,o){const s=new FormData;s.append("file",t),O.post(b.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(f=>{o(f.data)}).catch(f=>{console.error("上传失败",f)})}const C=(t,o)=>{console.log("response: ",t.data),l.clientLogoPath=t.data};async function q(){if(l.clientLogoPath){const t=await v(l.clientLogoPath);x(t,C)}}async function z(){if(l.clientFavoIconPath){const t=await v(l.clientFavoIconPath);x(t,D)}}async function K(){if(l.robotAvatar){const t=await v(l.robotAvatar);x(t,H)}}async function M(){if(l.userDefautlAvatar){const t=await v(l.userDefautlAvatar);x(t,j)}}const D=(t,o)=>{console.log("response: ",t.data),l.clientFavoIconPath=t.data},H=(t,o)=>{console.log("response: ",t.data),l.robotAvatar=t.data},j=(t,o)=>{console.log("response: ",t.data),l.userDefautlAvatar=t.data},w=t=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(t.type)){if(t.size/1024>300)return k.error("当前限制文件最大不超过 300KB!"),!1}else return k.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function J(t){return Object.keys(t).map(o=>({configKey:o,configVal:t[o]}))}return le(()=>{L()}),(t,o)=>{const s=ne,f=re,y=Z,m=c("el-input"),i=c("el-form-item"),d=c("el-col"),u=c("el-row"),p=c("el-icon"),V=c("el-upload"),W=c("el-radio"),Q=c("el-radio-group"),X=c("el-form"),Y=c("el-card");return r(),h("div",null,[e(y,null,{title:a(()=>[ie]),content:a(()=>[de]),default:a(()=>[e(f,{outline:"",onClick:$},{default:a(()=>[e(s,{name:"i-ri:file-text-line"}),S(" 保存设置 ")]),_:1})]),_:1}),e(Y,{style:{margin:"20px"}},{default:a(()=>[e(X,{ref_key:"formRef",ref:I,rules:G.value,model:l,"label-width":"150px"},{default:a(()=>[e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"网站名称",prop:"siteName"},{default:a(()=>[e(m,{modelValue:l.siteName,"onUpdate:modelValue":o[0]||(o[0]=n=>l.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"网站地址",prop:"siteUrl"},{default:a(()=>[e(m,{modelValue:l.siteUrl,"onUpdate:modelValue":o[1]||(o[1]=n=>l.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"公司/组织名称",prop:"companyName"},{default:a(()=>[e(m,{modelValue:l.companyName,"onUpdate:modelValue":o[2]||(o[2]=n=>l.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"网站备案号",prop:"filingNumber"},{default:a(()=>[e(m,{modelValue:l.filingNumber,"onUpdate:modelValue":o[3]||(o[3]=n=>l.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"用户端LOGO",prop:"clientLogoPath"},{default:a(()=>[e(m,{modelValue:l.clientLogoPath,"onUpdate:modelValue":o[4]||(o[4]=n=>l.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:a(()=>[e(V,{class:"avatar-uploader",action:b.value,"show-file-list":!1,"on-success":C,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[l.clientLogoPath?(r(),h("img",{key:0,src:l.clientLogoPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ue)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(A))]),_:1}))]),_:1},8,["action"]),l.clientLogoPath?(r(),_(p,{key:0,onClick:q,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"网站 ico",prop:"clientFavoIconPath"},{default:a(()=>[e(m,{modelValue:l.clientFavoIconPath,"onUpdate:modelValue":o[5]||(o[5]=n=>l.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:a(()=>[e(V,{class:"avatar-uploader",action:b.value,"show-file-list":!1,"on-success":D,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[l.clientFavoIconPath?(r(),h("img",{key:0,src:l.clientFavoIconPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ce)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(A))]),_:1}))]),_:1},8,["action"]),l.clientFavoIconPath?(r(),_(p,{key:0,onClick:z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"AI头像",prop:"robotAvatar"},{default:a(()=>[e(m,{modelValue:l.robotAvatar,"onUpdate:modelValue":o[6]||(o[6]=n=>l.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:a(()=>[e(V,{class:"avatar-uploader",action:b.value,"show-file-list":!1,"on-success":H,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[l.robotAvatar?(r(),h("img",{key:0,src:l.robotAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,me)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(A))]),_:1}))]),_:1},8,["action"]),l.robotAvatar?(r(),_(p,{key:0,onClick:K,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:a(()=>[e(m,{modelValue:l.userDefautlAvatar,"onUpdate:modelValue":o[7]||(o[7]=n=>l.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:a(()=>[e(V,{class:"avatar-uploader",action:b.value,"show-file-list":!1,"on-success":j,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[l.userDefautlAvatar?(r(),h("img",{key:0,src:l.userDefautlAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,fe)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(A))]),_:1}))]),_:1},8,["action"]),l.userDefautlAvatar?(r(),_(p,{key:0,onClick:M,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(P))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(i,{label:"设置指定首页",prop:"clientHomePath"},{default:a(()=>[e(Q,{modelValue:l.clientHomePath,"onUpdate:modelValue":o[8]||(o[8]=n=>l.clientHomePath=n)},{default:a(()=>[(r(),h(te,null,oe(B,n=>e(W,{key:n.path,size:"small",border:"",label:n.path},{default:a(()=>[S(se(n.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(u,null,{default:a(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(i,{label:"自定义首页",prop:"homeHtml"},{default:a(()=>[e(m,{modelValue:l.homeHtml,"onUpdate:modelValue":o[9]||(o[9]=n=>l.homeHtml=n),placeholder:"自定义首页",type:"textarea",rows:10,clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof R=="function"&&R(pe);export{pe as default};
diff --git a/public/admin/assets/baseConfiguration-DH4Ibd3L.js b/public/admin/assets/baseConfiguration-DH4Ibd3L.js
deleted file mode 100644
index bf8995e..0000000
--- a/public/admin/assets/baseConfiguration-DH4Ibd3L.js
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/**
- * 由 Fantastic-admin 提供技术支持
- * Powered by Fantastic-admin
- * https://fantastic-admin.github.io
- */
-
-import{_ as Z}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as ee,m as ae,r as N,a as te,n as i,g as r,c as h,b as e,w as a,h as H,z as _,i as g,B as P,C as V,A as U,F as le,s as oe,e as F,E as k,j as ne,_ as re,H as O,t as se,k as R}from"./index-DEc4xym2.js";import{a as T}from"./config-BQ9gBCXa.js";const ie=F("div",{class:"flex items-center gap-4"},"网站基础配置",-1),ce=F("div",{class:"text-sm/6"},[F("div",null," 网站基础配置支持即时更新网站的主要视觉与功能元素。配置内容包括网站名称、备案号、版权信息、LOGO与ICO、默认AI头像与用户头像,以及首页设置等。 "),F("div",null,"请认真填写各项配置,确保提供给用户的信息准确无误。")],-1),ue=["src"],de=["src"],me=["src"],fe=["src"],pe=ee({__name:"baseConfiguration",setup(_e){const B=[{label:"聊天对话",path:"/chat"},{label:"专业绘画",path:"/midjourney"},{label:"绘画广场",path:"/market"},{label:"思维导图",path:"/mind"},{label:"应用中心",path:"/chatStore"},{label:"不指定首页",path:""}],t=ae({siteName:"",vxNumber:"",robotAvatar:"",userDefautlAvatar:"",filingNumber:"",companyName:"",buyCramiAddress:"",siteUrl:"",isShowAppCatIcon:"",clientFavoIconPath:"",clientLogoPath:"",clientHomePath:"",copyrightTitle:"",copyrightUrl:"",isHideSidebar:""}),G=N({siteName:[{required:!0,trigger:"blur",message:"请填写网站名称"}],copyrightUrl:[{trigger:"blur",message:"请填写底部版权文字内容"}],copyrightTitle:[{trigger:"blur",message:"请填写点击底部版本跳转的地址"}]}),I=N(),y=N(`/api/upload/file?dir=${encodeURIComponent("system/others")}`);async function L(){const l=await T.queryConfig({keys:["siteName","vxNumber","robotAvatar","userDefautlAvatar","filingNumber","companyName","isShowAppCatIcon","clientLogoPath","clientFavoIconPath","clientHomePath","copyrightUrl","copyrightTitle","siteUrl","isHideSidebar"]});Object.assign(t,l.data)}function $(){var l;(l=I.value)==null||l.validate(async o=>{if(o){try{await T.setConfig({settings:J(t)}),k.success("变更配置信息成功")}catch{}L()}else k.error("请填写完整信息")})}async function v(l){const o=await O.get(l,{responseType:"blob"});let s="downloaded_file";const m=o.headers["content-disposition"];if(m){const b=/filename="([^"]+)"/.exec(m);b!=null&&b[1]&&(s=b[1])}else s=E(l);return new File([o.data],s,{type:o.data.type})}function E(l){const s=new URL(l).pathname;return s.substring(s.lastIndexOf("/")+1)}function x(l,o){const s=new FormData;s.append("file",l),O.post(y.value,s,{headers:{"Content-Type":"multipart/form-data"}}).then(m=>{o(m.data)}).catch(m=>{console.error("上传失败",m)})}const C=(l,o)=>{console.log("response: ",l.data),t.clientLogoPath=l.data};async function q(){if(t.clientLogoPath){const l=await v(t.clientLogoPath);x(l,C)}}async function z(){if(t.clientFavoIconPath){const l=await v(t.clientFavoIconPath);x(l,D)}}async function K(){if(t.robotAvatar){const l=await v(t.robotAvatar);x(l,j)}}async function M(){if(t.userDefautlAvatar){const l=await v(t.userDefautlAvatar);x(l,S)}}const D=(l,o)=>{console.log("response: ",l.data),t.clientFavoIconPath=l.data},j=(l,o)=>{console.log("response: ",l.data),t.robotAvatar=l.data},S=(l,o)=>{console.log("response: ",l.data),t.userDefautlAvatar=l.data},w=l=>{if(["image/png","image/jpeg","image/gif","image/webp"].includes(l.type)){if(l.size/1024>300)return k.error("当前限制文件最大不超过 300KB!"),!1}else return k.error("当前系统仅支持 PNG、JPEG、GIF、和 WebP 格式的图片!"),!1};function J(l){return Object.keys(l).map(o=>({configKey:o,configVal:l[o]}))}return te(()=>{L()}),(l,o)=>{const s=ne,m=re,b=Z,f=i("el-input"),c=i("el-form-item"),u=i("el-col"),d=i("el-row"),p=i("el-icon"),A=i("el-upload"),W=i("el-radio"),Q=i("el-radio-group"),X=i("el-form"),Y=i("el-card");return r(),h("div",null,[e(b,null,{title:a(()=>[ie]),content:a(()=>[ce]),default:a(()=>[e(m,{outline:"",onClick:$},{default:a(()=>[e(s,{name:"i-ri:file-text-line"}),H(" 保存设置 ")]),_:1})]),_:1}),e(Y,{style:{margin:"20px"}},{default:a(()=>[e(X,{ref_key:"formRef",ref:I,rules:G.value,model:t,"label-width":"150px"},{default:a(()=>[e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站名称",prop:"siteName"},{default:a(()=>[e(f,{modelValue:t.siteName,"onUpdate:modelValue":o[0]||(o[0]=n=>t.siteName=n),placeholder:"网站名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站地址",prop:"siteUrl"},{default:a(()=>[e(f,{modelValue:t.siteUrl,"onUpdate:modelValue":o[1]||(o[1]=n=>t.siteUrl=n),placeholder:"网站地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"公司/组织名称",prop:"companyName"},{default:a(()=>[e(f,{modelValue:t.companyName,"onUpdate:modelValue":o[2]||(o[2]=n=>t.companyName=n),placeholder:"填入具体的公司或组织名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站备案号",prop:"filingNumber"},{default:a(()=>[e(f,{modelValue:t.filingNumber,"onUpdate:modelValue":o[3]||(o[3]=n=>t.filingNumber=n),placeholder:"填写网站备案信息的备案号",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"用户端LOGO",prop:"clientLogoPath"},{default:a(()=>[e(f,{modelValue:t.clientLogoPath,"onUpdate:modelValue":o[4]||(o[4]=n=>t.clientLogoPath=n),placeholder:"请填写或上传网站 LOGO 图片 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":C,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientLogoPath?(r(),h("img",{key:0,src:t.clientLogoPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,ue)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.clientLogoPath?(r(),_(p,{key:0,onClick:q,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"网站 ico",prop:"clientFavoIconPath"},{default:a(()=>[e(f,{modelValue:t.clientFavoIconPath,"onUpdate:modelValue":o[5]||(o[5]=n=>t.clientFavoIconPath=n),placeholder:"请填写或上传网站 ico URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":D,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.clientFavoIconPath?(r(),h("img",{key:0,src:t.clientFavoIconPath,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,de)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.clientFavoIconPath?(r(),_(p,{key:0,onClick:z,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"AI头像",prop:"robotAvatar"},{default:a(()=>[e(f,{modelValue:t.robotAvatar,"onUpdate:modelValue":o[6]||(o[6]=n=>t.robotAvatar=n),placeholder:"请填写或上传网站 AI 头像 URL、为空将根据模型自动显示",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":j,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.robotAvatar?(r(),h("img",{key:0,src:t.robotAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,me)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.robotAvatar?(r(),_(p,{key:0,onClick:K,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(c,{label:"用户默认头像",prop:"userDefautlAvatar"},{default:a(()=>[e(f,{modelValue:t.userDefautlAvatar,"onUpdate:modelValue":o[7]||(o[7]=n=>t.userDefautlAvatar=n),placeholder:"请填写或上传网站新用户默认的头像 URL",clearable:""},{append:a(()=>[e(A,{class:"avatar-uploader",action:y.value,"show-file-list":!1,"on-success":S,"before-upload":w,style:{display:"flex","align-items":"center","justify-content":"center"}},{default:a(()=>[t.userDefautlAvatar?(r(),h("img",{key:0,src:t.userDefautlAvatar,style:{"max-width":"1.5rem","max-height":"1.5rem",margin:"5px 0","object-fit":"contain"}},null,8,fe)):(r(),_(p,{key:1,style:{width:"1rem"}},{default:a(()=>[e(g(P))]),_:1}))]),_:1},8,["action"]),t.userDefautlAvatar?(r(),_(p,{key:0,onClick:M,style:{"margin-left":"35px",width:"1rem"}},{default:a(()=>[e(g(V))]),_:1})):U("",!0)]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(c,{label:"设置指定首页",prop:"clientHomePath"},{default:a(()=>[e(Q,{modelValue:t.clientHomePath,"onUpdate:modelValue":o[8]||(o[8]=n=>t.clientHomePath=n)},{default:a(()=>[(r(),h(le,null,oe(B,n=>e(W,{key:n.path,size:"small",border:"",label:n.path},{default:a(()=>[H(se(n.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof R=="function"&&R(pe);export{pe as default};
diff --git a/public/admin/assets/chat-CNvkcurJ.js b/public/admin/assets/chat-BAyuGdeQ.js
similarity index 86%
rename from public/admin/assets/chat-CNvkcurJ.js
rename to public/admin/assets/chat-BAyuGdeQ.js
index 7c427f8..6501229 100644
--- a/public/admin/assets/chat-CNvkcurJ.js
+++ b/public/admin/assets/chat-BAyuGdeQ.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{I as t}from"./index-DEc4xym2.js";const a={queryChatAll:r=>t.get("chatLog/chatAll",{params:r}),queryDrawAll:r=>t.get("chatLog/drawAll",{params:r}),recDrawImg:r=>t.post("chatLog/recDrawImg",r),queryMjDrawAll:r=>t.get("midjourney/getList",{params:r}),recMjDrawImg:r=>t.post("midjourney/rec",r),delChatLog:r=>t.post("midjourney/del",r)};export{a as A};
+import{I as t}from"./index-CAe0BuuW.js";const a={queryChatAll:r=>t.get("chatLog/chatAll",{params:r}),queryDrawAll:r=>t.get("chatLog/drawAll",{params:r}),recDrawImg:r=>t.post("chatLog/recDrawImg",r),queryMjDrawAll:r=>t.get("midjourney/getList",{params:r}),recMjDrawImg:r=>t.post("midjourney/rec",r),delChatLog:r=>t.post("midjourney/del",r)};export{a as A};
diff --git a/public/admin/assets/chat-CdVhebVz.js b/public/admin/assets/chat-hU1m0TZ2.js
similarity index 93%
rename from public/admin/assets/chat-CdVhebVz.js
rename to public/admin/assets/chat-hU1m0TZ2.js
index ced155d..954ee6a 100644
--- a/public/admin/assets/chat-CdVhebVz.js
+++ b/public/admin/assets/chat-hU1m0TZ2.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as N,r as d,m as $,a as j,n as a,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-DEc4xym2.js";import{A as Z}from"./chat-CNvkcurJ.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ne=N({__name:"chat",setup(ae){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:n,count:f}=r.data;y.value=f,k.value=n}catch{m.value=!1}}async function U(r){const n=await X.queryAllUser({size:30,username:r});v.value=n.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,n)=>{const f=H,I=a("el-option"),M=a("el-select"),w=a("el-form-item"),L=a("el-input"),z=a("el-button"),S=a("el-form"),x=F,s=a("el-table-column"),q=a("el-popover"),B=a("el-table"),K=a("el-pagination"),R=a("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":n[0]||(n[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":n[1]||(n[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:n[2]||(n[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复"},{default:o(e=>[t(q,{placement:"top",width:400,trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":n[3]||(n[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":n[4]||(n[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ne);export{ne as default};
+import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as N,r as d,m as $,a as j,n as a,q as P,g as c,c as C,b as t,w as o,F as O,s as G,i,v as J,x as Q,h as u,y as W,z as T,t as _,e as h,K as X,k as A}from"./index-CAe0BuuW.js";import{A as Z}from"./chat-BAyuGdeQ.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";import{m as g}from"./marked.esm-8ZxQ78w7.js";const ee=h("div",{class:"flex items-center gap-4"},"对话记录",-1),te={class:"answer"},oe=["innerHTML"],ne=N({__name:"chat",setup(ae){const V=new g.Renderer;g.setOptions({renderer:V,gfm:!0,pedantic:!1});const m=d(!1),v=d(),b=d(),y=d(0),l=$({userId:"",prompt:"",page:1,size:10}),k=d([]);async function p(){m.value=!0;try{const r=await Z.queryChatAll(l);m.value=!1;const{rows:n,count:f}=r.data;y.value=f,k.value=n}catch{m.value=!1}}async function U(r){const n=await X.queryAllUser({size:30,username:r});v.value=n.data.rows}function D(r){r==null||r.resetFields(),p()}return j(()=>{p()}),(r,n)=>{const f=H,I=a("el-option"),M=a("el-select"),w=a("el-form-item"),L=a("el-input"),z=a("el-button"),S=a("el-form"),x=F,s=a("el-table-column"),q=a("el-popover"),B=a("el-table"),K=a("el-pagination"),R=a("el-row"),Y=P("loading");return c(),C("div",null,[t(f,null,{title:o(()=>[ee]),_:1}),t(x,null,{default:o(()=>[t(S,{ref_key:"formRef",ref:b,inline:!0,model:l},{default:o(()=>[t(w,{label:"用户名称",prop:"userId"},{default:o(()=>[t(M,{modelValue:l.userId,"onUpdate:modelValue":n[0]||(n[0]=e=>l.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":U,style:{width:"160px"}},{default:o(()=>[(c(!0),C(O,null,G(i(v),e=>(c(),T(I,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(w,{label:"用户询问的问题",prop:"prompt"},{default:o(()=>[t(L,{modelValue:l.prompt,"onUpdate:modelValue":n[1]||(n[1]=e=>l.prompt=e),placeholder:"提问问题[模糊搜索]",onKeydown:J(Q(p,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),t(w,null,{default:o(()=>[t(z,{type:"primary",onClick:p},{default:o(()=>[u(" 查询 ")]),_:1}),t(z,{onClick:n[2]||(n[2]=e=>D(i(b)))},{default:o(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(x,{style:{width:"100%"}},{default:o(()=>[W((c(),T(B,{border:"",data:i(k),style:{width:"100%"},size:"large","tooltip-options":{}},{default:o(()=>[t(s,{fixed:"",prop:"username",label:"用户名称",width:"150"}),t(s,{prop:"createdAt",label:"角色",width:"80"},{default:o(e=>[u(_(e.row.role==="user"?"用户":"电脑"),1)]),_:1}),t(s,{prop:"email",label:"用户邮箱",width:"200"}),t(s,{prop:"answer",label:"用户询问/AI回复"},{default:o(e=>[t(q,{placement:"top",width:400,trigger:"click"},{reference:o(()=>[h("div",te,_(e.row.role==="user"?e.row.prompt:e.row.answer),1)]),default:o(()=>[h("div",{class:"answer_container",innerHTML:i(g)(e.row.role==="user"?e.row.prompt:e.row.answer||"")},null,8,oe)]),_:2},1024)]),_:1}),t(s,{prop:"completionTokens",label:"提问/回答Token",width:"140",align:"center"},{default:o(e=>[u(_(e.row.role==="user"?e.row.promptTokens:e.row.completionTokens),1)]),_:1}),t(s,{prop:"totalTokens",label:"总计Token",width:"110",align:"center"}),t(s,{prop:"model",label:"模型",width:"200"}),t(s,{prop:"createdAt",label:"提问时间",width:"200"},{default:o(e=>[u(_(i(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[Y,i(m)]]),t(R,{class:"mt-5 flex justify-end"},{default:o(()=>[t(K,{"current-page":l.page,"onUpdate:currentPage":n[3]||(n[3]=e=>l.page=e),"page-size":l.size,"onUpdate:pageSize":n[4]||(n[4]=e=>l.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:i(y),onSizeChange:p,onCurrentChange:p},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof A=="function"&&A(ne);export{ne as default};
diff --git a/public/admin/assets/chevereto-KDePOTPH.js b/public/admin/assets/chevereto-MjauSghI.js
similarity index 92%
rename from public/admin/assets/chevereto-KDePOTPH.js
rename to public/admin/assets/chevereto-MjauSghI.js
index 4622a12..5e1a55b 100644
--- a/public/admin/assets/chevereto-KDePOTPH.js
+++ b/public/admin/assets/chevereto-MjauSghI.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as j,m as B,r as N,p as q,a as A,n,g as E,c as R,b as e,w as t,h as c,e as s,i as g,E as y,j as $,_ as H,k as b}from"./index-DEc4xym2.js";import{a as x}from"./config-BQ9gBCXa.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},T=s("b",null,"chevereto图床参数设置",-1),z=j({__name:"chevereto",setup(D){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=$,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return E(),R("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[T,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(z);export{z as default};
+import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as j,m as B,r as N,p as q,a as A,n,g as E,c as R,b as e,w as t,h as c,e as s,i as g,E as y,j as $,_ as H,k as b}from"./index-CAe0BuuW.js";import{a as x}from"./config-CwtVyG0K.js";const I=s("div",{class:"flex items-center gap-4"},"Chevereto图床设置",-1),M=s("div",{class:"text-sm/6"},[s("div",null,[c(" 详细搭建及配置请参考 "),s("a",{href:"https://v4-docs.chevereto.com/developer/api/api-v1.html",target:"_blank"},"Chevereto图床文档"),c(" 。如果同时开启多个存储服务,腾讯云、阿里云优先级高于 Chevereto 图床。 ")])],-1),O={class:"flex justify-between"},T=s("b",null,"chevereto图床参数设置",-1),z=j({__name:"chevereto",setup(D){const l=B({cheveretoStatus:"",cheveretoUploadPath:"",cheveretoKey:""}),_=N();async function m(){const a=await x.queryConfig({keys:["cheveretoKey","cheveretoUploadPath","cheveretoStatus"]});Object.assign(l,a.data)}function p(){var a;(a=_.value)==null||a.validate(async o=>{if(o){try{await x.setConfig({settings:w(l)}),y.success("变更配置信息成功")}catch{}m()}else y.error("请填写完整信息")})}function w(a){return Object.keys(a).map(o=>({configKey:o,configVal:a[o]}))}const f=q(()=>[{required:Number(l.cheveretoStatus)===1,message:"开启配置后请填写此项",trigger:"change"}]);return A(()=>{m()}),(a,o)=>{const h=$,V=H,C=P,k=n("el-button"),U=n("el-switch"),u=n("el-form-item"),d=n("el-col"),i=n("el-row"),v=n("el-input"),K=n("el-form"),S=n("el-card");return E(),R("div",null,[e(C,null,{title:t(()=>[I]),content:t(()=>[M]),default:t(()=>[e(V,{outline:"",onClick:p},{default:t(()=>[e(h,{name:"i-ri:file-text-line"}),c(" 保存设置 ")]),_:1})]),_:1}),e(S,{style:{margin:"20px"}},{header:t(()=>[s("div",O,[T,e(k,{class:"button",text:"",onClick:p},{default:t(()=>[c(" 保存设置 ")]),_:1})])]),default:t(()=>[e(K,{ref_key:"formRef",ref:_,model:l,"label-width":"100px"},{default:t(()=>[e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"服务启用状态",prop:"cheveretoStatus"},{default:t(()=>[e(U,{modelValue:l.cheveretoStatus,"onUpdate:modelValue":o[0]||(o[0]=r=>l.cheveretoStatus=r),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"上传地址",prop:"cheveretoUploadPath",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoUploadPath,"onUpdate:modelValue":o[1]||(o[1]=r=>l.cheveretoUploadPath=r),placeholder:"请填写您的图床上传地址",clearable:""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1}),e(i,null,{default:t(()=>[e(d,{xs:24,md:20,lg:15,xl:12},{default:t(()=>[e(u,{label:"ApiKey",prop:"cheveretoKey",rules:g(f)},{default:t(()=>[e(v,{modelValue:l.cheveretoKey,"onUpdate:modelValue":o[2]||(o[2]=r=>l.cheveretoKey=r),placeholder:"请填写ApiKey",clearable:"",type:"password","show-password":""},null,8,["modelValue"])]),_:1},8,["rules"])]),_:1})]),_:1})]),_:1},8,["model"])]),_:1})])}}});typeof b=="function"&&b(z);export{z as default};
diff --git a/public/admin/assets/classify-CRtm6uvD.js b/public/admin/assets/classify-D_VHKxxX.js
similarity index 93%
rename from public/admin/assets/classify-CRtm6uvD.js
rename to public/admin/assets/classify-D_VHKxxX.js
index e312189..f246e77 100644
--- a/public/admin/assets/classify-CRtm6uvD.js
+++ b/public/admin/assets/classify-D_VHKxxX.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as le}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as ne,r as p,m as D,p as P,a as se,n,q as re,g as w,c as q,b as e,w as l,h as u,v as ie,x as ue,F as de,s as pe,i as s,y as me,z as B,t as I,e as C,D as ce,G as _e,E as S,j as fe,_ as ge,k as M}from"./index-DEc4xym2.js";import{A as k}from"./app-Dcfk5dQv.js";import{u as ve}from"./utcformatTime-Bq4gDWNx.js";import{E as be,Q as ye}from"./index-J5zVJPyL.js";const we=C("div",{class:"flex items-center gap-4"},"应用分类配置",-1),ke=C("div",{class:"text-sm/6"},[C("div",null,"应用分类可能会被多个用户收藏,一旦创建,不建议删除。")],-1),Ce={class:"mr-5 flex justify-end"},Ve=ne({__name:"classify",setup(xe){const U=p(),$=p(0),m=p(!1),y=p(!1);p("/api/upload/file");const r=D({name:"",status:"",page:1,size:10}),V=p(),c=p(0),i=D({name:"",des:"",coverImg:"",order:100,status:0}),N=D({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!1,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),h=p([]),R=P(()=>c.value?"更新分类":"新增分类"),j=P(()=>c.value?"确认更新":"确认新增");async function d(){try{y.value=!0;const o=await k.queryCats(r),{rows:t,count:v}=o.data;y.value=!1,$.value=v,h.value=t}catch{y.value=!1}}function F(o){c.value=o.id;const{name:t,status:v,des:x,order:z,coverImg:b}=o;_e(()=>{Object.assign(i,{name:t,status:v,des:x,order:z,coverImg:b})}),m.value=!0}function O(o){c.value=0,o==null||o.resetFields()}async function Y(o){await k.deleteCats({id:o.id}),S.success("删除分类成功"),d()}function K(o){o==null||o.resetFields(),d()}function L(o){o==null||o.validate(async t=>{t&&(c.value?(await k.updateCats({id:c.value,...i}),S({type:"success",message:"更新分类成功!"})):(await k.createCats(i),S({type:"success",message:"创建新的分类成功!"})),m.value=!1,d())})}return se(()=>{d()}),(o,t)=>{const v=fe,x=ge,z=oe,b=n("el-input"),_=n("el-form-item"),H=n("el-option"),Q=n("el-select"),f=n("el-button"),T=n("el-form"),A=le,g=n("el-table-column"),G=n("el-tag"),J=n("el-popconfirm"),W=n("el-table"),X=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=re("loading");return w(),q("div",null,[e(z,null,{title:l(()=>[we]),content:l(()=>[ke]),default:l(()=>[e(x,{outline:"",onClick:t[0]||(t[0]=a=>m.value=!0)},{default:l(()=>[e(v,{name:"ic:baseline-plus"}),u(" 新增分类 ")]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(T,{ref_key:"formRef",ref:U,inline:!0,model:r},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:r.name,"onUpdate:modelValue":t[1]||(t[1]=a=>r.name=a),placeholder:"分类名称[模糊搜索]",onKeydown:ie(ue(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(Q,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=a=>r.status=a),placeholder:"请选择分类状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(w(!0),q(de,null,pe(s(be),a=>(w(),B(H,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:l(()=>[e(f,{type:"primary",onClick:d},{default:l(()=>[u(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=a=>K(s(U)))},{default:l(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(A,{style:{width:"100%"}},{default:l(()=>[me((w(),B(W,{border:"",data:s(h),style:{width:"100%"},size:"large"},{default:l(()=>[e(g,{prop:"name",label:"分类名称"}),e(g,{prop:"appCount",label:"应用数量"}),e(g,{prop:"order",label:"排序ID"}),e(g,{prop:"status",label:"分类状态"},{default:l(a=>[e(G,{type:a.row.status===1?"success":"danger"},{default:l(()=>[u(I(s(ye)[a.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(g,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(a=>[u(I(s(ve)(a.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(g,{label:"操作",width:"200"},{default:l(a=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>F(a.row)},{default:l(()=>[u(" 编辑 ")]),_:2},1032,["onClick"]),e(J,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ae=>Y(a.row)},{reference:l(()=>[e(f,{link:"",type:"danger",size:"small"},{default:l(()=>[u(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(y)]]),e(Z,{class:"mt-5 flex justify-end"},{default:l(()=>[e(X,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=a=>r.page=a),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=a=>r.size=a),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s($),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(m),"onUpdate:modelValue":t[11]||(t[11]=a=>ce(m)?m.value=a:null),"close-on-click-modal":!1,title:s(R),width:"570",onClose:t[12]||(t[12]=a=>O(s(V)))},{footer:l(()=>[C("span",Ce,[e(f,{onClick:t[9]||(t[9]=a=>m.value=!1)},{default:l(()=>[u("取消")]),_:1}),e(f,{type:"primary",onClick:t[10]||(t[10]=a=>L(s(V)))},{default:l(()=>[u(I(s(j)),1)]),_:1})])]),default:l(()=>[e(T,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"100px",model:i,rules:N},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:i.name,"onUpdate:modelValue":t[6]||(t[6]=a=>i.name=a),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(E,{modelValue:i.status,"onUpdate:modelValue":t[7]||(t[7]=a=>i.status=a),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"排序ID",prop:"order"},{default:l(()=>[e(b,{modelValue:i.order,"onUpdate:modelValue":t[8]||(t[8]=a=>i.order=a),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Ve);export{Ve as default};
+import{_ as le}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as oe}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as ne,r as p,m as D,p as P,a as se,n,q as re,g as w,c as q,b as e,w as l,h as u,v as ie,x as ue,F as de,s as pe,i as s,y as me,z as B,t as I,e as C,D as ce,G as _e,E as S,j as fe,_ as ge,k as M}from"./index-CAe0BuuW.js";import{A as k}from"./app-CXnonH8J.js";import{u as ve}from"./utcformatTime-Bq4gDWNx.js";import{E as be,Q as ye}from"./index-DfBvkKrB.js";const we=C("div",{class:"flex items-center gap-4"},"应用分类配置",-1),ke=C("div",{class:"text-sm/6"},[C("div",null,"应用分类可能会被多个用户收藏,一旦创建,不建议删除。")],-1),Ce={class:"mr-5 flex justify-end"},Ve=ne({__name:"classify",setup(xe){const U=p(),$=p(0),m=p(!1),y=p(!1);p("/api/upload/file");const r=D({name:"",status:"",page:1,size:10}),V=p(),c=p(0),i=D({name:"",des:"",coverImg:"",order:100,status:0}),N=D({name:[{required:!0,message:"请填写分类名称",trigger:"blur"}],des:[{required:!1,message:"请填写分类描述",trigger:"blur"}],coverImg:[{required:!1,message:"请填写分类封面图片地址",trigger:"blur"}],order:[{required:!1,message:"请填写排序ID",trigger:"blur"}],status:[{required:!0,message:"请选择分类状态",trigger:"change"}]}),h=p([]),R=P(()=>c.value?"更新分类":"新增分类"),j=P(()=>c.value?"确认更新":"确认新增");async function d(){try{y.value=!0;const o=await k.queryCats(r),{rows:t,count:v}=o.data;y.value=!1,$.value=v,h.value=t}catch{y.value=!1}}function F(o){c.value=o.id;const{name:t,status:v,des:x,order:z,coverImg:b}=o;_e(()=>{Object.assign(i,{name:t,status:v,des:x,order:z,coverImg:b})}),m.value=!0}function O(o){c.value=0,o==null||o.resetFields()}async function Y(o){await k.deleteCats({id:o.id}),S.success("删除分类成功"),d()}function K(o){o==null||o.resetFields(),d()}function L(o){o==null||o.validate(async t=>{t&&(c.value?(await k.updateCats({id:c.value,...i}),S({type:"success",message:"更新分类成功!"})):(await k.createCats(i),S({type:"success",message:"创建新的分类成功!"})),m.value=!1,d())})}return se(()=>{d()}),(o,t)=>{const v=fe,x=ge,z=oe,b=n("el-input"),_=n("el-form-item"),H=n("el-option"),Q=n("el-select"),f=n("el-button"),T=n("el-form"),A=le,g=n("el-table-column"),G=n("el-tag"),J=n("el-popconfirm"),W=n("el-table"),X=n("el-pagination"),Z=n("el-row"),E=n("el-switch"),ee=n("el-dialog"),te=re("loading");return w(),q("div",null,[e(z,null,{title:l(()=>[we]),content:l(()=>[ke]),default:l(()=>[e(x,{outline:"",onClick:t[0]||(t[0]=a=>m.value=!0)},{default:l(()=>[e(v,{name:"ic:baseline-plus"}),u(" 新增分类 ")]),_:1})]),_:1}),e(A,null,{default:l(()=>[e(T,{ref_key:"formRef",ref:U,inline:!0,model:r},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:r.name,"onUpdate:modelValue":t[1]||(t[1]=a=>r.name=a),placeholder:"分类名称[模糊搜索]",onKeydown:ie(ue(d,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(Q,{modelValue:r.status,"onUpdate:modelValue":t[2]||(t[2]=a=>r.status=a),placeholder:"请选择分类状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(w(!0),q(de,null,pe(s(be),a=>(w(),B(H,{key:a.value,label:a.label,value:a.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(_,null,{default:l(()=>[e(f,{type:"primary",onClick:d},{default:l(()=>[u(" 查询 ")]),_:1}),e(f,{onClick:t[3]||(t[3]=a=>K(s(U)))},{default:l(()=>[u(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),e(A,{style:{width:"100%"}},{default:l(()=>[me((w(),B(W,{border:"",data:s(h),style:{width:"100%"},size:"large"},{default:l(()=>[e(g,{prop:"name",label:"分类名称"}),e(g,{prop:"appCount",label:"应用数量"}),e(g,{prop:"order",label:"排序ID"}),e(g,{prop:"status",label:"分类状态"},{default:l(a=>[e(G,{type:a.row.status===1?"success":"danger"},{default:l(()=>[u(I(s(ye)[a.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(g,{prop:"createdAt",label:"创建时间",width:"200"},{default:l(a=>[u(I(s(ve)(a.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(g,{label:"操作",width:"200"},{default:l(a=>[e(f,{link:"",type:"primary",size:"small",onClick:ae=>F(a.row)},{default:l(()=>[u(" 编辑 ")]),_:2},1032,["onClick"]),e(J,{title:"确认删除此分类么?",width:"200","icon-color":"red",onConfirm:ae=>Y(a.row)},{reference:l(()=>[e(f,{link:"",type:"danger",size:"small"},{default:l(()=>[u(" 删除分类 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[te,s(y)]]),e(Z,{class:"mt-5 flex justify-end"},{default:l(()=>[e(X,{"current-page":r.page,"onUpdate:currentPage":t[4]||(t[4]=a=>r.page=a),"page-size":r.size,"onUpdate:pageSize":t[5]||(t[5]=a=>r.size=a),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:s($),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),e(ee,{modelValue:s(m),"onUpdate:modelValue":t[11]||(t[11]=a=>ce(m)?m.value=a:null),"close-on-click-modal":!1,title:s(R),width:"570",onClose:t[12]||(t[12]=a=>O(s(V)))},{footer:l(()=>[C("span",Ce,[e(f,{onClick:t[9]||(t[9]=a=>m.value=!1)},{default:l(()=>[u("取消")]),_:1}),e(f,{type:"primary",onClick:t[10]||(t[10]=a=>L(s(V)))},{default:l(()=>[u(I(s(j)),1)]),_:1})])]),default:l(()=>[e(T,{ref_key:"formPackageRef",ref:V,"label-position":"right","label-width":"100px",model:i,rules:N},{default:l(()=>[e(_,{label:"分类名称",prop:"name"},{default:l(()=>[e(b,{modelValue:i.name,"onUpdate:modelValue":t[6]||(t[6]=a=>i.name=a),placeholder:"请填写分类名称"},null,8,["modelValue"])]),_:1}),e(_,{label:"分类状态",prop:"status"},{default:l(()=>[e(E,{modelValue:i.status,"onUpdate:modelValue":t[7]||(t[7]=a=>i.status=a),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1}),e(_,{label:"排序ID",prop:"order"},{default:l(()=>[e(b,{modelValue:i.order,"onUpdate:modelValue":t[8]||(t[8]=a=>i.order=a),modelModifiers:{number:!0},placeholder:"请填写排序ID[数字越大越靠前]"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue","title"])])}}});typeof M=="function"&&M(Ve);export{Ve as default};
diff --git a/public/admin/assets/config-BQ9gBCXa.js b/public/admin/assets/config-CwtVyG0K.js
similarity index 85%
rename from public/admin/assets/config-BQ9gBCXa.js
rename to public/admin/assets/config-CwtVyG0K.js
index 2650047..82cc1ad 100644
--- a/public/admin/assets/config-BQ9gBCXa.js
+++ b/public/admin/assets/config-CwtVyG0K.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{I as o}from"./index-DEc4xym2.js";const g={queryAllConfig:()=>o.get("config/queryAll"),queryGptKeys:()=>o.get("config/queryGptKeys"),setGptKeys:t=>o.post("config/setGptKeys",t),queryConfig:t=>o.post("config/query",t),copyright:()=>o.get("config/copyright"),setConfig:t=>o.post("config/set",t)};export{g as a};
+import{I as o}from"./index-CAe0BuuW.js";const g={queryAllConfig:()=>o.get("config/queryAll"),queryGptKeys:()=>o.get("config/queryGptKeys"),setGptKeys:t=>o.post("config/setGptKeys",t),queryConfig:t=>o.post("config/query",t),copyright:()=>o.get("config/copyright"),setConfig:t=>o.post("config/set",t)};export{g as a};
diff --git a/public/admin/assets/cos-BRNa7REY.js b/public/admin/assets/cos-BkMP671c.js
similarity index 94%
rename from public/admin/assets/cos-BRNa7REY.js
rename to public/admin/assets/cos-BkMP671c.js
index 1991909..cb90f37 100644
--- a/public/admin/assets/cos-BRNa7REY.js
+++ b/public/admin/assets/cos-BkMP671c.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as _}from"./config-BQ9gBCXa.js";import{d as B,m as R,r as p,a as h,n as a,g as v,c as q,b as e,w as l,e as S,h as O,E as g,k as b}from"./index-DEc4xym2.js";const U={class:"flex justify-between"},j=S("b",null,"COS参数设置",-1),E=B({__name:"cos",setup(N){const t=R({cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:""}),y=p({cosSecretKey:[{required:!0,trigger:"blur",message:"请填写SecretKey"}],cosBucket:[{required:!0,trigger:"blur",message:"请填写存储桶名称"}],cosRegion:[{required:!0,trigger:"blur",message:"请填写存储桶所属地域"}],cosSecretId:[{required:!0,trigger:"blur",message:"请填写SecretId"}]}),i=p();async function m(){const r=await _.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId"]});Object.assign(t,r.data)}function x(){var r;(r=i.value)==null||r.validate(async o=>{if(o){try{await _.setConfig({settings:V(t)}),g.success("变更配置信息成功")}catch{}m()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(o=>({configKey:o,configVal:r[o]}))}return h(()=>{m()}),(r,o)=>{const f=a("el-alert"),k=w,C=a("el-button"),s=a("el-input"),n=a("el-form-item"),u=a("el-col"),d=a("el-row"),I=a("el-form"),K=a("el-card");return v(),q("div",null,[e(k,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"COS参数说明",description:"当前默认使用腾讯云COS对象存储、如果您有特殊的对接通道、将为您开放API对接!!",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:l(()=>[S("div",U,[j,e(C,{class:"button",text:"",onClick:x},{default:l(()=>[O(" 保存设置 ")]),_:1})])]),default:l(()=>[e(I,{ref_key:"formRef",ref:i,rules:y.value,model:t,"label-width":"120px"},{default:l(()=>[e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretId",prop:"cosSecretId"},{default:l(()=>[e(s,{modelValue:t.cosSecretId,"onUpdate:modelValue":o[0]||(o[0]=c=>t.cosSecretId=c),placeholder:"请填写SecretId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretKey",prop:"cosSecretKey"},{default:l(()=>[e(s,{modelValue:t.cosSecretKey,"onUpdate:modelValue":o[1]||(o[1]=c=>t.cosSecretKey=c),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"存储桶名称",prop:"cosBucket"},{default:l(()=>[e(s,{modelValue:t.cosBucket,"onUpdate:modelValue":o[2]||(o[2]=c=>t.cosBucket=c),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"所属地域",prop:"cosRegion"},{default:l(()=>[e(s,{modelValue:t.cosRegion,"onUpdate:modelValue":o[3]||(o[3]=c=>t.cosRegion=c),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(E);export{E as default};
+import{_ as w}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as _}from"./config-CwtVyG0K.js";import{d as B,m as R,r as p,a as h,n as a,g as v,c as q,b as e,w as l,e as S,h as O,E as g,k as b}from"./index-CAe0BuuW.js";const U={class:"flex justify-between"},j=S("b",null,"COS参数设置",-1),E=B({__name:"cos",setup(N){const t=R({cosSecretId:"",cosSecretKey:"",cosBucket:"",cosRegion:""}),y=p({cosSecretKey:[{required:!0,trigger:"blur",message:"请填写SecretKey"}],cosBucket:[{required:!0,trigger:"blur",message:"请填写存储桶名称"}],cosRegion:[{required:!0,trigger:"blur",message:"请填写存储桶所属地域"}],cosSecretId:[{required:!0,trigger:"blur",message:"请填写SecretId"}]}),i=p();async function m(){const r=await _.queryConfig({keys:["cosSecretKey","cosBucket","cosRegion","cosSecretId"]});Object.assign(t,r.data)}function x(){var r;(r=i.value)==null||r.validate(async o=>{if(o){try{await _.setConfig({settings:V(t)}),g.success("变更配置信息成功")}catch{}m()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(o=>({configKey:o,configVal:r[o]}))}return h(()=>{m()}),(r,o)=>{const f=a("el-alert"),k=w,C=a("el-button"),s=a("el-input"),n=a("el-form-item"),u=a("el-col"),d=a("el-row"),I=a("el-form"),K=a("el-card");return v(),q("div",null,[e(k,null,{default:l(()=>[e(f,{closable:!1,"show-icon":"",title:"COS参数说明",description:"当前默认使用腾讯云COS对象存储、如果您有特殊的对接通道、将为您开放API对接!!",type:"success"})]),_:1}),e(K,{style:{margin:"20px"}},{header:l(()=>[S("div",U,[j,e(C,{class:"button",text:"",onClick:x},{default:l(()=>[O(" 保存设置 ")]),_:1})])]),default:l(()=>[e(I,{ref_key:"formRef",ref:i,rules:y.value,model:t,"label-width":"120px"},{default:l(()=>[e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretId",prop:"cosSecretId"},{default:l(()=>[e(s,{modelValue:t.cosSecretId,"onUpdate:modelValue":o[0]||(o[0]=c=>t.cosSecretId=c),placeholder:"请填写SecretId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"SecretKey",prop:"cosSecretKey"},{default:l(()=>[e(s,{modelValue:t.cosSecretKey,"onUpdate:modelValue":o[1]||(o[1]=c=>t.cosSecretKey=c),placeholder:"请填写SecretKey",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"存储桶名称",prop:"cosBucket"},{default:l(()=>[e(s,{modelValue:t.cosBucket,"onUpdate:modelValue":o[2]||(o[2]=c=>t.cosBucket=c),placeholder:"请填写存储桶名称",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(n,{label:"所属地域",prop:"cosRegion"},{default:l(()=>[e(s,{modelValue:t.cosRegion,"onUpdate:modelValue":o[3]||(o[3]=c=>t.cosRegion=c),placeholder:"请填写所属地域(ap-guangzhou)",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof b=="function"&&b(E);export{E as default};
diff --git a/public/admin/assets/crami-BJO-Jlp1.js b/public/admin/assets/crami-S-fLJ3WY.js
similarity index 96%
rename from public/admin/assets/crami-BJO-Jlp1.js
rename to public/admin/assets/crami-S-fLJ3WY.js
index 667be91..54e105f 100644
--- a/public/admin/assets/crami-BJO-Jlp1.js
+++ b/public/admin/assets/crami-S-fLJ3WY.js
@@ -5,5 +5,5 @@
* https://fantastic-admin.github.io
*/
-import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as Ce,r as m,m as L,p as we,a as ke,n as u,q as he,g as r,c as w,b as t,w as a,i as n,z as _,h as s,A as V,F as A,s as D,y as Ve,t as M,e as b,D as N,K as xe,E as T,_ as Ue,j as Me,k as X}from"./index-DEc4xym2.js";import{A as $}from"./package-BLH3vi7G.js";import{C as $e}from"./index-J5zVJPyL.js";import{u as Ie}from"./utcformatTime-Bq4gDWNx.js";const ze=b("div",{class:"flex items-center gap-4"},"卡密设置",-1),Ae=b("div",{class:"text-sm/6"},[b("div",null,"可生成套餐类卡密与自定义卡密,套餐类卡密的设置项更多。"),b("div",null," 过期时间表示卡密的过期时间,不是用户充值后的有效期,设置为0表示永不过期。 ")],-1),De=b("div",{style:{float:"right"}},null,-1),je={key:1},qe={class:"dialog-footer"},Se={style:{"max-height":"200px",overflow:"scroll"}},Re={class:"dialog-footer"},Le=Ce({__name:"crami",setup(Ne){const B=m(),P=m(0),k=m(!1),x=m(!1),j=m(),U=m(0),F=m([]),O=m([]),v=m(!1),C=m([]),Y=m([]),d=L({packageId:null,count:1,drawMjCount:0,model3Count:0,model4Count:0}),p=L({useId:"",status:"",page:1,size:15}),Z=L({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),q=m([]);async function g(){try{v.value=!0;const o=await $.queryAllCrami(p),{rows:l,count:y}=o.data;v.value=!1,P.value=y,q.value=l}catch{v.value=!1}}async function E(o){const l=await xe.queryAllUser({size:30,username:o});O.value=l.data.rows}async function ee(){const o=await $.queryAllPackage({size:100});F.value=o.data.rows}function le(){ee(),k.value=!0}async function te(o){o==null||o.validate(async l=>{l&&(await $.createCrami(d),T({type:"success",message:"生成卡密成功!"}),k.value=!1,g())})}function ae(o){o==null||o.resetFields()}function oe(o){o==null||o.resetFields(),g()}async function ne(o){await $.delCrami({id:o.id}),T({type:"success",message:"删除卡密成功!"}),g()}async function re(o){C.value=o}async function ue(){try{v.value=!0,await $.batchDelCrami({ids:C.value.map(o=>o.id)}),v.value=!1,T({type:"success",message:"删除卡密成功!"}),g()}catch{v.value=!1}}function se(){x.value=!0;const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);Y.value=o}function de(o){return o.join(`
+import{_ as be}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as ve}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as Ce,r as m,m as L,p as we,a as ke,n as u,q as he,g as r,c as w,b as t,w as a,i as n,z as _,h as s,A as V,F as A,s as D,y as Ve,t as M,e as b,D as N,K as xe,E as T,_ as Ue,j as Me,k as X}from"./index-CAe0BuuW.js";import{A as $}from"./package-DnQHQQ_C.js";import{C as $e}from"./index-DfBvkKrB.js";import{u as Ie}from"./utcformatTime-Bq4gDWNx.js";const ze=b("div",{class:"flex items-center gap-4"},"卡密设置",-1),Ae=b("div",{class:"text-sm/6"},[b("div",null,"可生成套餐类卡密与自定义卡密,套餐类卡密的设置项更多。"),b("div",null," 过期时间表示卡密的过期时间,不是用户充值后的有效期,设置为0表示永不过期。 ")],-1),De=b("div",{style:{float:"right"}},null,-1),je={key:1},qe={class:"dialog-footer"},Se={style:{"max-height":"200px",overflow:"scroll"}},Re={class:"dialog-footer"},Le=Ce({__name:"crami",setup(Ne){const B=m(),P=m(0),k=m(!1),x=m(!1),j=m(),U=m(0),F=m([]),O=m([]),v=m(!1),C=m([]),Y=m([]),d=L({packageId:null,count:1,drawMjCount:0,model3Count:0,model4Count:0}),p=L({useId:"",status:"",page:1,size:15}),Z=L({packageId:[{required:!0,message:"请选择套餐类型",trigger:"change"}],days:[{required:!0,message:"请填写有效期天数",trigger:"blur"}],count:[{required:!0,message:"请填写想要生成的数量",trigger:"blur"}],drawMjCount:[{required:!0,message:"卡密携带绘画数量",trigger:"blur"}],model3Count:[{required:!0,message:"卡密携带基础模型对话数量",trigger:"blur"}],model4Count:[{required:!0,message:"卡密携带高级模型金额",trigger:"blur"}]}),q=m([]);async function g(){try{v.value=!0;const o=await $.queryAllCrami(p),{rows:l,count:y}=o.data;v.value=!1,P.value=y,q.value=l}catch{v.value=!1}}async function E(o){const l=await xe.queryAllUser({size:30,username:o});O.value=l.data.rows}async function ee(){const o=await $.queryAllPackage({size:100});F.value=o.data.rows}function le(){ee(),k.value=!0}async function te(o){o==null||o.validate(async l=>{l&&(await $.createCrami(d),T({type:"success",message:"生成卡密成功!"}),k.value=!1,g())})}function ae(o){o==null||o.resetFields()}function oe(o){o==null||o.resetFields(),g()}async function ne(o){await $.delCrami({id:o.id}),T({type:"success",message:"删除卡密成功!"}),g()}async function re(o){C.value=o}async function ue(){try{v.value=!0,await $.batchDelCrami({ids:C.value.map(o=>o.id)}),v.value=!1,T({type:"success",message:"删除卡密成功!"}),g()}catch{v.value=!1}}function se(){x.value=!0;const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);Y.value=o}function de(o){return o.join(`
`)}function ie(o,l){const y=de(o),S=new Blob([y],{type:"text/plain"}),I=URL.createObjectURL(S),c=document.createElement("a");c.href=I,c.download=`${l}.txt`,document.body.appendChild(c),c.click(),document.body.removeChild(c),setTimeout(()=>URL.revokeObjectURL(I),0)}function me(){const o=C.value.map(l=>`${l.code}<---->${l.packageName||"自定义套餐"}`);ie(o,"卡密信息")}const pe=we(()=>q.value.some(o=>o.email));return ke(()=>{g()}),(o,l)=>{const y=Ue,S=Me,I=ve,c=u("el-option"),R=u("el-select"),f=u("el-form-item"),h=u("el-button"),H=u("el-form"),K=be,i=u("el-table-column"),G=u("el-tag"),ce=u("el-popconfirm"),fe=u("el-table"),_e=u("el-pagination"),J=u("el-row"),ge=u("el-switch"),z=u("el-input"),Q=u("el-dialog"),ye=he("loading");return r(),w("div",null,[t(I,null,{title:a(()=>[ze]),content:a(()=>[Ae]),default:a(()=>[n(C).length?(r(),_(y,{key:0,outline:"",type:"danger",onClick:se},{default:a(()=>[s(" 显示选中卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:1,outline:"",type:"danger",onClick:ue},{default:a(()=>[s(" 批量删除卡密 ")]),_:1})):V("",!0),n(C).length?(r(),_(y,{key:2,outline:"",type:"primary",onClick:me},{default:a(()=>[s(" 批量导出卡密 ")]),_:1})):V("",!0),t(y,{outline:"",type:"success",onClick:le},{default:a(()=>[t(S,{name:"ic:baseline-plus"}),s(" 批量生成卡密 ")]),_:1})]),_:1}),t(K,null,{default:a(()=>[t(H,{ref_key:"formRef",ref:B,inline:!0,model:p},{default:a(()=>[t(f,{label:"用户名称",prop:"useId"},{default:a(()=>[t(R,{modelValue:p.useId,"onUpdate:modelValue":l[0]||(l[0]=e=>p.useId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":E,style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n(O),e=>(r(),_(c,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"卡密状态",prop:"status"},{default:a(()=>[t(R,{modelValue:p.status,"onUpdate:modelValue":l[1]||(l[1]=e=>p.status=e),placeholder:"请选择卡密状态",clearable:"",style:{width:"160px"}},{default:a(()=>[(r(!0),w(A,null,D(n($e),e=>(r(),_(c,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:a(()=>[t(h,{type:"primary",onClick:g},{default:a(()=>[s(" 查询 ")]),_:1}),t(h,{onClick:l[2]||(l[2]=e=>oe(n(B)))},{default:a(()=>[s(" 重置 ")]),_:1})]),_:1}),De]),_:1},8,["model"])]),_:1}),t(K,{style:{width:"100%"}},{default:a(()=>[Ve((r(),_(fe,{border:"",data:n(q),style:{width:"100%"},size:"large",onSelectionChange:re},{default:a(()=>[t(i,{type:"selection",width:"55"}),t(i,{prop:"code",label:"卡密账号",width:"180"}),t(i,{prop:"packageName",label:"套餐类型",width:"180"},{default:a(e=>[t(G,{type:e.row.packageName?"success":"danger"},{default:a(()=>[s(M(e.row.packageName||"自定义卡密"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"code",label:"卡密状态",width:"180"},{default:a(e=>[t(G,{type:e.row.status?"danger":"success"},{default:a(()=>[s(M(e.row.status?"已使用":"未使用"),1)]),_:2},1032,["type"])]),_:1}),t(i,{prop:"useId",label:"使用人ID",width:"90"}),n(pe)?(r(),_(i,{key:0,prop:"email",label:"使用人邮箱",width:"180"})):V("",!0),t(i,{prop:"model3Count",label:"基础模型额度"}),t(i,{prop:"model4Count",label:"高级模型额度"}),t(i,{prop:"drawMjCount",label:"绘画模型额度"}),t(i,{prop:"days",label:"有效天数"},{default:a(e=>[s(M(e.row.days>0?`${e.row.days}天`:"永久"),1)]),_:1}),t(i,{prop:"createdAt",label:"注册时间",width:"200"},{default:a(e=>[s(M(n(Ie)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(i,{label:"操作"},{default:a(e=>[t(ce,{title:"确认删除此卡密么?",width:"200","icon-color":"red",onConfirm:W=>ne(e.row)},{reference:a(()=>[t(h,{link:"",type:"danger",size:"small"},{default:a(()=>[s(" 删除卡密 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[ye,n(v)]]),t(J,{class:"mt-5 flex justify-end"},{default:a(()=>[t(_e,{"current-page":p.page,"onUpdate:currentPage":l[3]||(l[3]=e=>p.page=e),"page-size":p.size,"onUpdate:pageSize":l[4]||(l[4]=e=>p.size=e),class:"mr-5","page-sizes":[15,50,100,200],layout:"total, sizes, prev, pager, next, jumper",total:n(P),onSizeChange:g,onCurrentChange:g},null,8,["current-page","page-size","total"])]),_:1})]),_:1}),t(Q,{modelValue:n(k),"onUpdate:modelValue":l[13]||(l[13]=e=>N(k)?k.value=e:null),title:"生成卡密",width:"450",onClose:l[14]||(l[14]=e=>ae(n(j)))},{footer:a(()=>[b("span",qe,[t(h,{onClick:l[11]||(l[11]=e=>k.value=!1)},{default:a(()=>[s("放弃生成")]),_:1}),t(h,{type:"primary",onClick:l[12]||(l[12]=e=>te(n(j)))},{default:a(()=>[s(" 确定生成 ")]),_:1})])]),default:a(()=>[t(H,{ref_key:"formCramiRef",ref:j,"label-position":"right","label-width":"100px",model:d,rules:Z},{default:a(()=>[t(J,null,{default:a(()=>[t(f,{label:"是否生成自定义卡密","label-width":"170px"},{default:a(()=>[t(ge,{modelValue:n(U),"onUpdate:modelValue":l[5]||(l[5]=e=>N(U)?U.value=e:null),"active-value":1,"inactive-value":0},null,8,["modelValue"])]),_:1})]),_:1}),n(U)?V("",!0):(r(),_(f,{key:0,label:"套餐类型",prop:"packageId"},{default:a(()=>[t(R,{modelValue:d.packageId,"onUpdate:modelValue":l[6]||(l[6]=e=>d.packageId=e),modelModifiers:{number:!0},placeholder:"请选择套餐类型",clearable:"",style:{width:"100%"}},{default:a(()=>[(r(!0),w(A,null,D(n(F),e=>(r(),_(c,{key:e.id,label:e.name,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1})),n(U)?(r(),w("div",je,[t(f,{label:"基础模型额度",prop:"model3Count"},{default:a(()=>[t(z,{modelValue:d.model3Count,"onUpdate:modelValue":l[7]||(l[7]=e=>d.model3Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带基础模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"高级模型额度",prop:"model4Count"},{default:a(()=>[t(z,{modelValue:d.model4Count,"onUpdate:modelValue":l[8]||(l[8]=e=>d.model4Count=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带高级模型额度"},null,8,["modelValue"])]),_:1}),t(f,{label:"绘画模型额度",prop:"drawMjCount"},{default:a(()=>[t(z,{modelValue:d.drawMjCount,"onUpdate:modelValue":l[9]||(l[9]=e=>d.drawMjCount=e),modelModifiers:{number:!0},type:"number",placeholder:"卡密携带绘画积分额度"},null,8,["modelValue"])]),_:1})])):V("",!0),t(f,{label:"生成数量",prop:"count"},{default:a(()=>[t(z,{modelValue:d.count,"onUpdate:modelValue":l[10]||(l[10]=e=>d.count=e),modelModifiers:{number:!0},type:"number",placeholder:"本次生成的张数"},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1},8,["modelValue"]),t(Q,{modelValue:n(x),"onUpdate:modelValue":l[16]||(l[16]=e=>N(x)?x.value=e:null),title:"卡密列表"},{footer:a(()=>[b("span",Re,[t(h,{onClick:l[15]||(l[15]=e=>x.value=!1)},{default:a(()=>[s("关闭弹窗")]),_:1})])]),default:a(()=>[b("div",Se,[(r(!0),w(A,null,D(n(Y),(e,W)=>(r(),w("div",{key:W},M(e),1))),128))])]),_:1},8,["modelValue"])])}}});typeof X=="function"&&X(Le);export{Le as default};
diff --git a/public/admin/assets/custom-HDg7nfHW.js b/public/admin/assets/custom-DUs2A6em.js
similarity index 89%
rename from public/admin/assets/custom-HDg7nfHW.js
rename to public/admin/assets/custom-DUs2A6em.js
index 8e08a07..e563a29 100644
--- a/public/admin/assets/custom-HDg7nfHW.js
+++ b/public/admin/assets/custom-DUs2A6em.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as M,u as O,r as u,m as P,a as G,n as c,q as H,g as s,c as b,b as l,w as t,i as n,V as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,G as Y,E as R,t as Z,k as S}from"./index-DEc4xym2.js";import{A as g}from"./badWords-CQd8mmw9.js";import{E as ee}from"./index-J5zVJPyL.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),D=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,D.value=v,V.value=a}catch{p.value=!1}}function T(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>T(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default};
+import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as M,u as O,r as u,m as P,a as G,n as c,q as H,g as s,c as b,b as l,w as t,i as n,V as C,v as I,x as j,F as W,s as N,h as m,y as J,z as f,D as Q,e as X,G as Y,E as R,t as Z,k as S}from"./index-CAe0BuuW.js";import{A as g}from"./badWords-Jbq96Z0c.js";import{E as ee}from"./index-DfBvkKrB.js";const te=X("div",{class:"flex items-center gap-4"},"自定义敏感词",-1),ae=M({__name:"custom",setup(le){O();const k=u(),D=u(0),p=u(!1),r=P({word:"",status:"",page:1,size:500}),V=u();async function i(){try{p.value=!0;const o=await g.queryBadWords(r),{rows:a,count:v}=o.data;p.value=!1,D.value=v,V.value=a}catch{p.value=!1}}function T(o){o==null||o.resetFields(),i()}G(()=>{i()});const d=u(""),_=u(!1),B=u();async function z(o){await g.delBadWords({id:o}),R.success("删除敏感词成功"),await i()}function A(){_.value=!0,Y(()=>{B.value.input.focus()})}async function h(){d.value&&(await g.addBadWords({word:d.value}),R.success("添加敏感词成功"),r.status="",await i()),_.value=!1,d.value=""}return(o,a)=>{const v=F,w=c("el-form-item"),K=c("el-option"),L=c("el-select"),y=c("el-button"),U=c("el-form"),x=E,$=c("el-tag"),q=H("loading");return s(),b("div",null,[l(v,null,{title:t(()=>[te]),_:1}),l(x,null,{default:t(()=>[l(U,{ref_key:"formRef",ref:k,inline:!0,model:r},{default:t(()=>[l(w,{label:"敏感词",prop:"word"},{default:t(()=>[l(n(C),{modelValue:r.word,"onUpdate:modelValue":a[0]||(a[0]=e=>r.word=e),placeholder:"敏感词[模糊搜索]",onKeydown:I(j(i,["prevent"]),["enter"])},null,8,["modelValue","onKeydown"])]),_:1}),l(w,{label:"敏感词状态",prop:"status"},{default:t(()=>[l(L,{modelValue:r.status,"onUpdate:modelValue":a[1]||(a[1]=e=>r.status=e),placeholder:"请选择敏感词状态",clearable:"",style:{width:"160px"}},{default:t(()=>[(s(!0),b(W,null,N(n(ee),e=>(s(),f(K,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),l(w,null,{default:t(()=>[l(y,{type:"primary",onClick:i},{default:t(()=>[m(" 查询 ")]),_:1}),l(y,{onClick:a[2]||(a[2]=e=>T(n(k)))},{default:t(()=>[m(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),J((s(),f(x,{style:{width:"100%"}},{default:t(()=>[(s(!0),b(W,null,N(n(V),e=>(s(),f($,{key:e.id,type:"warning",class:"mb-3 mr-3",closable:"",hit:"","disable-transitions":!0,onClose:oe=>z(e.id)},{default:t(()=>[m(Z(e.word),1)]),_:2},1032,["onClose"]))),128)),n(_)?(s(),f(n(C),{key:0,ref_key:"InputRef",ref:B,modelValue:n(d),"onUpdate:modelValue":a[3]||(a[3]=e=>Q(d)?d.value=e:null),class:"ml-1",style:{width:"80px"},size:"small",onKeyup:I(h,["enter"]),onBlur:h},null,8,["modelValue"])):(s(),f(y,{key:1,class:"ml-1",size:"small",onClick:A},{default:t(()=>[m(" + New Word ")]),_:1}))]),_:1})),[[q,n(p)]])])}}});typeof S=="function"&&S(ae);export{ae as default};
diff --git a/public/admin/assets/draw-BnhvwcDa.js b/public/admin/assets/draw-B9oSC571.js
similarity index 59%
rename from public/admin/assets/draw-BnhvwcDa.js
rename to public/admin/assets/draw-B9oSC571.js
index ebb45ff..a53b156 100644
--- a/public/admin/assets/draw-BnhvwcDa.js
+++ b/public/admin/assets/draw-B9oSC571.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{A as K}from"./chat-CNvkcurJ.js";import{d as O,r as p,m as W,a as G,n as o,q as J,g as i,c as g,b as t,w as l,F as U,s as V,i as S,h as c,y as Q,z as w,t as _,e as v,K as X,k as L}from"./index-DEc4xym2.js";import{D as Z}from"./index-J5zVJPyL.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";const ee=v("div",{class:"flex items-center gap-4"},"绘画记录",-1),te={class:"answer"},le={class:"answer_container"},ae=O({__name:"draw",setup(oe){const u=p(!1),b=p(),h=p(0),y=p(),n=W({userId:"",rec:"",model:"",page:1,size:14}),k=p([]);async function d(){u.value=!0;try{const r=await K.queryDrawAll(n),{rows:a,count:m}=r.data;u.value=!1,h.value=m,k.value=a}catch{u.value=!1}}async function q(r){const a=await X.queryAllUser({size:30,username:r});y.value=a.data.rows}function B(r){r==null||r.resetFields(),d()}return G(()=>{d()}),(r,a)=>{const m=H,z=o("el-option"),D=o("el-select"),f=o("el-form-item"),x=o("el-button"),M=o("el-form"),I=P,s=o("el-table-column"),R=o("el-image"),T=o("el-tag"),Y=o("el-popover"),F=o("el-table"),N=o("el-pagination"),$=o("el-row"),j=J("loading");return i(),g("div",null,[t(m,null,{title:l(()=>[ee]),_:1}),t(I,null,{default:l(()=>[t(M,{ref_key:"formRef",ref:b,inline:!0,model:n},{default:l(()=>[t(f,{label:"用户名称",prop:"userId"},{default:l(()=>[t(D,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":q,style:{width:"160px"}},{default:l(()=>[(i(!0),g(U,null,V(y.value,e=>(i(),w(z,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"绘画模型",prop:"model"},{default:l(()=>[t(D,{modelValue:n.model,"onUpdate:modelValue":a[1]||(a[1]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:"",style:{width:"160px"}},{default:l(()=>[(i(!0),g(U,null,V(S(Z),e=>(i(),w(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:l(()=>[t(x,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),t(x,{onClick:a[2]||(a[2]=e=>B(b.value))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{style:{width:"100%"}},{default:l(()=>[Q((i(),w(F,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:l(()=>[t(s,{prop:"id",align:"center",label:"ID",width:"70"}),t(s,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(s,{prop:"userInfo.email",align:"center",label:"用户邮箱",width:"200"}),t(s,{prop:"drawUrl",align:"center",label:"绘图结果",width:"200"},{default:l(e=>{var A,C;return[t(R,{style:{height:"50px"},"preview-teleported":"",fit:"contain","preview-src-list":[(A=e.row)==null?void 0:A.drawUrl],src:(C=e.row)==null?void 0:C.fileInfo,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(s,{prop:"model",label:"种类",width:"180",align:"center"},{default:l(e=>[t(T,{type:"success"},{default:l(()=>[c(_(e.row.model),1)]),_:2},1024)]),_:1}),t(s,{prop:"prompt",label:"绘图指令",align:"center",width:"250"},{default:l(e=>[t(Y,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",te,_(e.row.prompt),1)]),default:l(()=>[v("div",le,_(e.row.prompt),1)]),_:2},1024)]),_:1}),t(s,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(s,{prop:"createdAt",label:"绘图时间",align:"center",width:"200"},{default:l(e=>[c(_(S(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[j,u.value]]),t($,{class:"mt-5 flex justify-end"},{default:l(()=>[t(N,{"current-page":n.page,"onUpdate:currentPage":a[3]||(a[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[4]||(a[4]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:h.value,onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ae);export{ae as default};
+import{_ as P}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as H}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{A as K}from"./chat-BAyuGdeQ.js";import{d as O,r as p,m as W,a as G,n as o,q as J,g as i,c as g,b as t,w as l,F as V,s as U,i as S,h as c,y as Q,z as w,t as _,e as v,K as X,k as L}from"./index-CAe0BuuW.js";import{D as Z}from"./index-DfBvkKrB.js";import{u as E}from"./utcformatTime-Bq4gDWNx.js";const ee=v("div",{class:"flex items-center gap-4"},"绘画记录",-1),te={class:"answer"},le={class:"answer_container"},ae=O({__name:"draw",setup(oe){const u=p(!1),b=p(),h=p(0),y=p(),n=W({userId:"",rec:"",model:"",page:1,size:14}),k=p([]);async function d(){u.value=!0;try{const r=await K.queryDrawAll(n),{rows:a,count:m}=r.data;u.value=!1,h.value=m,k.value=a}catch{u.value=!1}}async function q(r){const a=await X.queryAllUser({size:30,username:r});y.value=a.data.rows}function B(r){r==null||r.resetFields(),d()}return G(()=>{d()}),(r,a)=>{const m=H,z=o("el-option"),D=o("el-select"),f=o("el-form-item"),x=o("el-button"),M=o("el-form"),I=P,s=o("el-table-column"),R=o("el-image"),T=o("el-tag"),Y=o("el-popover"),F=o("el-table"),N=o("el-pagination"),$=o("el-row"),j=J("loading");return i(),g("div",null,[t(m,null,{title:l(()=>[ee]),_:1}),t(I,null,{default:l(()=>[t(M,{ref_key:"formRef",ref:b,inline:!0,model:n},{default:l(()=>[t(f,{label:"用户名称",prop:"userId"},{default:l(()=>[t(D,{modelValue:n.userId,"onUpdate:modelValue":a[0]||(a[0]=e=>n.userId=e),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":q,style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(y.value,e=>(i(),w(z,{key:e.id,label:e.username,value:e.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,{label:"绘画模型",prop:"model"},{default:l(()=>[t(D,{modelValue:n.model,"onUpdate:modelValue":a[1]||(a[1]=e=>n.model=e),placeholder:"请选择绘画模型",clearable:"",style:{width:"160px"}},{default:l(()=>[(i(!0),g(V,null,U(S(Z),e=>(i(),w(z,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(f,null,{default:l(()=>[t(x,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),t(x,{onClick:a[2]||(a[2]=e=>B(b.value))},{default:l(()=>[c(" 重置 ")]),_:1})]),_:1})]),_:1},8,["model"])]),_:1}),t(I,{style:{width:"100%"}},{default:l(()=>[Q((i(),w(F,{border:"",data:k.value,style:{width:"100%"},size:"large"},{default:l(()=>[t(s,{prop:"id",align:"center",label:"ID",width:"70"}),t(s,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(s,{prop:"userInfo.email",align:"center",label:"用户邮箱",width:"200"}),t(s,{prop:"drawUrl",align:"center",label:"绘图结果",width:"200"},{default:l(e=>{var A,C;return[t(R,{style:{height:"50px"},"preview-teleported":"",fit:"contain","preview-src-list":[(A=e.row)==null?void 0:A.fileInfo],src:(C=e.row)==null?void 0:C.fileInfo,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(s,{prop:"model",label:"种类",width:"180",align:"center"},{default:l(e=>[t(T,{type:"success"},{default:l(()=>[c(_(e.row.model),1)]),_:2},1024)]),_:1}),t(s,{prop:"prompt",label:"绘图指令",align:"center",width:"250"},{default:l(e=>[t(Y,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[v("div",te,_(e.row.prompt),1)]),default:l(()=>[v("div",le,_(e.row.prompt),1)]),_:2},1024)]),_:1}),t(s,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(s,{prop:"createdAt",label:"绘图时间",align:"center",width:"200"},{default:l(e=>[c(_(S(E)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1})]),_:1},8,["data"])),[[j,u.value]]),t($,{class:"mt-5 flex justify-end"},{default:l(()=>[t(N,{"current-page":n.page,"onUpdate:currentPage":a[3]||(a[3]=e=>n.page=e),"page-size":n.size,"onUpdate:pageSize":a[4]||(a[4]=e=>n.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:h.value,onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof L=="function"&&L(ae);export{ae as default};
diff --git a/public/admin/assets/draw-DTXEmBi5.js b/public/admin/assets/draw-C4wX6IZ0.js
similarity index 94%
rename from public/admin/assets/draw-DTXEmBi5.js
rename to public/admin/assets/draw-C4wX6IZ0.js
index e94fd46..28685df 100644
--- a/public/admin/assets/draw-DTXEmBi5.js
+++ b/public/admin/assets/draw-C4wX6IZ0.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{A as U}from"./chat-CNvkcurJ.js";import{A as K}from"./mj-CpOHr84c.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";import{b as X,W as Z}from"./index-J5zVJPyL.js";import{d as ee,r as h,m as te,a as le,n as o,q as ae,g as _,c as C,b as t,w as l,F as V,s as $,i as p,h as d,e as b,y as oe,z as I,t as m,E as L,k as N}from"./index-DEc4xym2.js";const ne={style:{float:"right"}},re={class:"answer"},se={class:"answer_container"},ie=["src"],ce=ee({__name:"draw",setup(ue){const k=h(),z=h(0),w=h(!1),s=te({rec:null,status:null,page:1,size:10}),D=h([]);async function c(){try{w.value=!0;const n=await K.queryAdminDrawList(s);w.value=!1;const{rows:a,count:g}=n.data;z.value=g,D.value=a}catch{w.value=!1}}function P(n){n==null||n.resetFields(),c()}async function R(n){const a=await U.recMjDrawImg({id:n});L.success(a.data),c()}async function j(n){const a=await U.delChatLog({id:n});L.success(a.data),c()}return le(()=>{c()}),(n,a)=>{const g=o("el-option"),x=o("el-select"),v=o("el-form-item"),f=o("el-button"),B=o("el-form"),y=G,Y=o("el-alert"),r=o("el-table-column"),q=o("el-image"),F=o("el-tag"),O=o("el-popover"),A=o("el-popconfirm"),W=o("el-table"),E=o("el-pagination"),H=o("el-row"),J=ae("loading");return _(),C("div",null,[t(y,null,{default:l(()=>[t(B,{ref_key:"formRef",ref:k,inline:!0,model:s},{default:l(()=>[t(v,{label:"推荐状态",prop:"rec"},{default:l(()=>[t(x,{modelValue:s.rec,"onUpdate:modelValue":a[0]||(a[0]=e=>s.rec=e),placeholder:"请选择推荐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(X),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"绘制状态",prop:"status"},{default:l(()=>[t(x,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=e=>s.status=e),placeholder:"请选择绘制状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(Z),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:l(()=>[t(f,{type:"primary",onClick:c},{default:l(()=>[d(" 查询 ")]),_:1}),t(f,{onClick:a[2]||(a[2]=e=>P(p(k)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1}),b("span",ne,[t(f,{type:"success",onClick:c},{default:l(()=>[d(" 刷新列表 ")]),_:1})])]),_:1},8,["model"])]),_:1}),t(y,null,{default:l(()=>[t(Y,{"show-icon":"",title:"MJ绘图历史说明",description:"点击推荐的图片将会出现在画廊当中!",type:"success"})]),_:1}),t(y,{style:{width:"100%"}},{default:l(()=>[oe((_(),I(W,{border:"",data:p(D),style:{width:"100%"},size:"large"},{default:l(()=>[t(r,{prop:"id",align:"center",label:"ID",width:"70"}),t(r,{prop:"drawUrl",align:"center",label:"绘图结果"},{default:l(e=>{var i,u;return[t(q,{style:{height:"120px"},"preview-teleported":"",fit:"contain","preview-src-list":[(i=e.row)==null?void 0:i.drawUrl],src:(u=e.row)==null?void 0:u.drawUrl,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(r,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"推荐状态",width:"90"},{default:l(e=>[t(F,{type:e.row.rec===1?"success":"info"},{default:l(()=>[d(m(e.row.rec===1?"已推荐":"未推荐"),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"180",align:"center"}),t(r,{prop:"fullPrompt",label:"绘图指令",align:"center",width:"200"},{default:l(e=>[t(O,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[b("div",re,m(e.row.fullPrompt),1)]),default:l(()=>[b("div",se,m(e.row.fullPrompt),1)]),_:2},1024)]),_:1}),t(r,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"绘图尺寸",width:"120"},{default:l(e=>{var i,u,M,S,T;return[d(m((i=e.row)!=null&&i.fileInfo?`${(M=(u=e.row)==null?void 0:u.fileInfo)==null?void 0:M.width}*${(T=(S=e.row)==null?void 0:S.fileInfo)==null?void 0:T.height}`:"---"),1)]}),_:1}),t(r,{prop:"userInfo.avatar",label:"用户头像",width:"90"},{default:l(e=>{var i,u;return[b("img",{src:(u=(i=e.row)==null?void 0:i.userInfo)==null?void 0:u.avatar,style:{height:"50px"}},null,8,ie)]}),_:1}),t(r,{prop:"createdAt",label:"提问时间",align:"center",width:"200"},{default:l(e=>[d(m(p(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"200",align:"center"},{default:l(e=>[t(A,{title:`确认${e.row.rec===1?"取消推荐":"推荐"}图片吗!`,width:"260","icon-color":"red",onConfirm:i=>R(e.row.id)},{reference:l(()=>[t(f,{link:"",type:e.row.rec===1?"success":"",size:"small"},{default:l(()=>[d(" 推荐图片 ")]),_:2},1032,["type"])]),_:2},1032,["title","onConfirm"]),t(A,{title:"`确认删除此条记录么!",width:"260","icon-color":"red",onConfirm:i=>j(e.row.id)},{reference:l(()=>[t(f,{type:"warning",size:"small"},{default:l(()=>[d(" 删除记录 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[J,p(w)]]),t(H,{class:"mt-5 flex justify-end"},{default:l(()=>[t(E,{"current-page":s.page,"onUpdate:currentPage":a[3]||(a[3]=e=>s.page=e),"page-size":s.size,"onUpdate:pageSize":a[4]||(a[4]=e=>s.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(z),onSizeChange:c,onCurrentChange:c},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ce);export{ce as default};
+import{_ as G}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{A as U}from"./chat-BAyuGdeQ.js";import{A as K}from"./mj-akyFMlB2.js";import{u as Q}from"./utcformatTime-Bq4gDWNx.js";import{b as X,W as Z}from"./index-DfBvkKrB.js";import{d as ee,r as h,m as te,a as le,n as o,q as ae,g as _,c as C,b as t,w as l,F as V,s as $,i as p,h as d,e as b,y as oe,z as I,t as m,E as L,k as N}from"./index-CAe0BuuW.js";const ne={style:{float:"right"}},re={class:"answer"},se={class:"answer_container"},ie=["src"],ce=ee({__name:"draw",setup(ue){const k=h(),z=h(0),w=h(!1),s=te({rec:null,status:null,page:1,size:10}),D=h([]);async function c(){try{w.value=!0;const n=await K.queryAdminDrawList(s);w.value=!1;const{rows:a,count:g}=n.data;z.value=g,D.value=a}catch{w.value=!1}}function P(n){n==null||n.resetFields(),c()}async function R(n){const a=await U.recMjDrawImg({id:n});L.success(a.data),c()}async function j(n){const a=await U.delChatLog({id:n});L.success(a.data),c()}return le(()=>{c()}),(n,a)=>{const g=o("el-option"),x=o("el-select"),v=o("el-form-item"),f=o("el-button"),B=o("el-form"),y=G,Y=o("el-alert"),r=o("el-table-column"),q=o("el-image"),F=o("el-tag"),O=o("el-popover"),A=o("el-popconfirm"),W=o("el-table"),E=o("el-pagination"),H=o("el-row"),J=ae("loading");return _(),C("div",null,[t(y,null,{default:l(()=>[t(B,{ref_key:"formRef",ref:k,inline:!0,model:s},{default:l(()=>[t(v,{label:"推荐状态",prop:"rec"},{default:l(()=>[t(x,{modelValue:s.rec,"onUpdate:modelValue":a[0]||(a[0]=e=>s.rec=e),placeholder:"请选择推荐状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(X),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,{label:"绘制状态",prop:"status"},{default:l(()=>[t(x,{modelValue:s.status,"onUpdate:modelValue":a[1]||(a[1]=e=>s.status=e),placeholder:"请选择绘制状态",clearable:"",style:{width:"160px"}},{default:l(()=>[(_(!0),C(V,null,$(p(Z),e=>(_(),I(g,{key:e.value,label:e.label,value:e.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),t(v,null,{default:l(()=>[t(f,{type:"primary",onClick:c},{default:l(()=>[d(" 查询 ")]),_:1}),t(f,{onClick:a[2]||(a[2]=e=>P(p(k)))},{default:l(()=>[d(" 重置 ")]),_:1})]),_:1}),b("span",ne,[t(f,{type:"success",onClick:c},{default:l(()=>[d(" 刷新列表 ")]),_:1})])]),_:1},8,["model"])]),_:1}),t(y,null,{default:l(()=>[t(Y,{"show-icon":"",title:"MJ绘图历史说明",description:"点击推荐的图片将会出现在画廊当中!",type:"success"})]),_:1}),t(y,{style:{width:"100%"}},{default:l(()=>[oe((_(),I(W,{border:"",data:p(D),style:{width:"100%"},size:"large"},{default:l(()=>[t(r,{prop:"id",align:"center",label:"ID",width:"70"}),t(r,{prop:"drawUrl",align:"center",label:"绘图结果"},{default:l(e=>{var i,u;return[t(q,{style:{height:"120px"},"preview-teleported":"",fit:"contain","preview-src-list":[(i=e.row)==null?void 0:i.drawUrl],src:(u=e.row)==null?void 0:u.drawUrl,lazy:"","hide-on-click-modal":""},null,8,["preview-src-list","src"])]}),_:1}),t(r,{prop:"userInfo.username",align:"center",label:"用户名",width:"120"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"推荐状态",width:"90"},{default:l(e=>[t(F,{type:e.row.rec===1?"success":"info"},{default:l(()=>[d(m(e.row.rec===1?"已推荐":"未推荐"),1)]),_:2},1032,["type"])]),_:1}),t(r,{prop:"userInfo.email",label:"邮箱",width:"180",align:"center"}),t(r,{prop:"fullPrompt",label:"绘图指令",align:"center",width:"200"},{default:l(e=>[t(O,{placement:"top",width:400,trigger:"click"},{reference:l(()=>[b("div",re,m(e.row.fullPrompt),1)]),default:l(()=>[b("div",se,m(e.row.fullPrompt),1)]),_:2},1024)]),_:1}),t(r,{prop:"progress",align:"center",label:"绘图进度",width:"90"}),t(r,{prop:"fileInfo.thumbImg",align:"center",label:"绘图尺寸",width:"120"},{default:l(e=>{var i,u,M,S,T;return[d(m((i=e.row)!=null&&i.fileInfo?`${(M=(u=e.row)==null?void 0:u.fileInfo)==null?void 0:M.width}*${(T=(S=e.row)==null?void 0:S.fileInfo)==null?void 0:T.height}`:"---"),1)]}),_:1}),t(r,{prop:"userInfo.avatar",label:"用户头像",width:"90"},{default:l(e=>{var i,u;return[b("img",{src:(u=(i=e.row)==null?void 0:i.userInfo)==null?void 0:u.avatar,style:{height:"50px"}},null,8,ie)]}),_:1}),t(r,{prop:"createdAt",label:"提问时间",align:"center",width:"200"},{default:l(e=>[d(m(p(Q)(e.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),t(r,{fixed:"right",label:"操作",width:"200",align:"center"},{default:l(e=>[t(A,{title:`确认${e.row.rec===1?"取消推荐":"推荐"}图片吗!`,width:"260","icon-color":"red",onConfirm:i=>R(e.row.id)},{reference:l(()=>[t(f,{link:"",type:e.row.rec===1?"success":"",size:"small"},{default:l(()=>[d(" 推荐图片 ")]),_:2},1032,["type"])]),_:2},1032,["title","onConfirm"]),t(A,{title:"`确认删除此条记录么!",width:"260","icon-color":"red",onConfirm:i=>j(e.row.id)},{reference:l(()=>[t(f,{type:"warning",size:"small"},{default:l(()=>[d(" 删除记录 ")]),_:1})]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[J,p(w)]]),t(H,{class:"mt-5 flex justify-end"},{default:l(()=>[t(E,{"current-page":s.page,"onUpdate:currentPage":a[3]||(a[3]=e=>s.page=e),"page-size":s.size,"onUpdate:pageSize":a[4]||(a[4]=e=>s.size=e),class:"mr-5","page-sizes":[10,20,30,50],layout:"total, sizes, prev, pager, next, jumper",total:p(z),onSizeChange:c,onCurrentChange:c},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ce);export{ce as default};
diff --git a/public/admin/assets/edit.password-uLg52Hrl.js b/public/admin/assets/edit.password-DSZwCxCa.js
similarity index 92%
rename from public/admin/assets/edit.password-uLg52Hrl.js
rename to public/admin/assets/edit.password-DSZwCxCa.js
index 38131ba..74c65e0 100644
--- a/public/admin/assets/edit.password-uLg52Hrl.js
+++ b/public/admin/assets/edit.password-DSZwCxCa.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as b,r as i,a as z,S as B,g as v,c as x,P as M,Q as R,i as n,l as T,N as $,f as L,L as N,n as l,b as e,w as t,h as g,K as A,E as F,k as h}from"./index-DEc4xym2.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{u as Q}from"./useMainPage-qAU7S-kt.js";const j=b({name:"FixedActionBar",__name:"index",setup(y){const p=i(!1);z(()=>{d(),window.addEventListener("scroll",d)}),B(()=>{window.removeEventListener("scroll",d)});function d(){const u=document.documentElement.scrollTop||document.body.scrollTop,r=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;p.value=Math.ceil(u+r)>=o}return(u,r)=>(v(),x("div",{class:R(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!n(p)}]),"data-fixed-calc-width":""},[M(u.$slots,"default",{},void 0,!0)],2))}}),D=T(j,[["__scopeId","data-v-9af45002"]]),G=b({__name:"edit.password",setup(y){const p=$(),d=L(),u=N(),r=i(),o=i({password:"",newpassword:"",checkpassword:""}),k=Q(),V=i({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(m,s,a)=>{s!==o.value.newpassword?a(new Error("两次密码不一致!")):a()}}]});function E(){r.value&&r.value.validate(m=>{if(m){const{password:s,newpassword:a}=o.value;A.passwordEdit({oldPassword:s,password:a}).then(()=>{F({type:"success",message:"修改密码成功,请重新登录"}),u.logout().then(()=>{d.push({name:"login",query:{redirect:p.fullPath}})})})}})}function C(){k.reload()}return(m,s)=>{const a=K,_=l("el-input"),w=l("el-form-item"),H=l("el-form"),S=l("el-col"),U=l("el-row"),P=I,f=l("el-button"),q=D;return v(),x("div",null,[e(a,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(P,null,{default:t(()=>[e(U,null,{default:t(()=>[e(S,{md:24,lg:12},{default:t(()=>[e(H,{ref_key:"formRef",ref:r,model:n(o),rules:n(V),"label-width":"120px"},{default:t(()=>[e(w,{label:"原密码",prop:"password"},{default:t(()=>[e(_,{modelValue:n(o).password,"onUpdate:modelValue":s[0]||(s[0]=c=>n(o).password=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"新密码",prop:"newpassword"},{default:t(()=>[e(_,{modelValue:n(o).newpassword,"onUpdate:modelValue":s[1]||(s[1]=c=>n(o).newpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"确认新密码",prop:"checkpassword"},{default:t(()=>[e(_,{modelValue:n(o).checkpassword,"onUpdate:modelValue":s[2]||(s[2]=c=>n(o).checkpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(q,null,{default:t(()=>[e(f,{type:"primary",size:"large",onClick:E},{default:t(()=>[g(" 提交 ")]),_:1}),e(f,{type:"default",size:"large",onClick:C},{default:t(()=>[g(" 取消 ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(G);export{G as default};
+import{d as b,r as i,a as z,S as B,g as v,c as x,P as M,Q as R,i as n,l as T,N as $,f as L,L as N,n as l,b as e,w as t,h as g,K as A,E as F,k as h}from"./index-CAe0BuuW.js";import{_ as I}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as K}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{u as Q}from"./useMainPage-PJO-ub0s.js";const j=b({name:"FixedActionBar",__name:"index",setup(y){const p=i(!1);z(()=>{d(),window.addEventListener("scroll",d)}),B(()=>{window.removeEventListener("scroll",d)});function d(){const u=document.documentElement.scrollTop||document.body.scrollTop,r=document.documentElement.clientHeight||document.body.clientHeight,o=document.documentElement.scrollHeight||document.body.scrollHeight;p.value=Math.ceil(u+r)>=o}return(u,r)=>(v(),x("div",{class:R(["fixed-action-bar bottom-0 z-4 bg-[var(--g-container-bg)] p-5 text-center transition",{shadow:!n(p)}]),"data-fixed-calc-width":""},[M(u.$slots,"default",{},void 0,!0)],2))}}),D=T(j,[["__scopeId","data-v-9af45002"]]),G=b({__name:"edit.password",setup(y){const p=$(),d=L(),u=N(),r=i(),o=i({password:"",newpassword:"",checkpassword:""}),k=Q(),V=i({password:[{required:!0,message:"请输入原密码",trigger:"blur"}],newpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{min:6,max:18,trigger:"blur",message:"密码长度为6到18位"}],checkpassword:[{required:!0,message:"请输入新密码",trigger:"blur"},{validator:(m,s,a)=>{s!==o.value.newpassword?a(new Error("两次密码不一致!")):a()}}]});function E(){r.value&&r.value.validate(m=>{if(m){const{password:s,newpassword:a}=o.value;A.passwordEdit({oldPassword:s,password:a}).then(()=>{F({type:"success",message:"修改密码成功,请重新登录"}),u.logout().then(()=>{d.push({name:"login",query:{redirect:p.fullPath}})})})}})}function C(){k.reload()}return(m,s)=>{const a=K,_=l("el-input"),w=l("el-form-item"),H=l("el-form"),S=l("el-col"),U=l("el-row"),P=I,f=l("el-button"),q=D;return v(),x("div",null,[e(a,{title:"修改密码",content:"定期修改密码可以提高帐号安全性噢~"}),e(P,null,{default:t(()=>[e(U,null,{default:t(()=>[e(S,{md:24,lg:12},{default:t(()=>[e(H,{ref_key:"formRef",ref:r,model:n(o),rules:n(V),"label-width":"120px"},{default:t(()=>[e(w,{label:"原密码",prop:"password"},{default:t(()=>[e(_,{modelValue:n(o).password,"onUpdate:modelValue":s[0]||(s[0]=c=>n(o).password=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"新密码",prop:"newpassword"},{default:t(()=>[e(_,{modelValue:n(o).newpassword,"onUpdate:modelValue":s[1]||(s[1]=c=>n(o).newpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1}),e(w,{label:"确认新密码",prop:"checkpassword"},{default:t(()=>[e(_,{modelValue:n(o).checkpassword,"onUpdate:modelValue":s[2]||(s[2]=c=>n(o).checkpassword=c),type:"password",placeholder:"请输入原密码","show-password":""},null,8,["modelValue"])]),_:1})]),_:1},8,["model","rules"])]),_:1})]),_:1})]),_:1}),e(q,null,{default:t(()=>[e(f,{type:"primary",size:"large",onClick:E},{default:t(()=>[g(" 提交 ")]),_:1}),e(f,{type:"default",size:"large",onClick:C},{default:t(()=>[g(" 取消 ")]),_:1})]),_:1})])}}});typeof h=="function"&&h(G);export{G as default};
diff --git a/public/admin/assets/email-_1Kpc4yH.js b/public/admin/assets/email-DZS2Vv6k.js
similarity index 96%
rename from public/admin/assets/email-_1Kpc4yH.js
rename to public/admin/assets/email-DZS2Vv6k.js
index 8a587e9..4e1a2cb 100644
--- a/public/admin/assets/email-_1Kpc4yH.js
+++ b/public/admin/assets/email-DZS2Vv6k.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as y,m as C,r as S,a as O,n,g as w,c as k,b as e,w as l,h as E,e as _,E as g,j as H,_ as q,k as M}from"./index-DEc4xym2.js";import{a as L}from"./config-BQ9gBCXa.js";const h=_("div",{class:"flex items-center gap-4"},"邮件登录设置",-1),B=_("div",{class:"text-sm/6"},[_("div",null,"邮件设置主要用于发送注册时的激活邮件。"),_("div",null,"是否开启邮箱登录:决定用户是否可以通过邮箱进行登录。"),_("div",null,"是否开启邮箱注册:决定用户是否可以通过邮箱进行注册。"),_("div",null,"SMTP服务器配置,用于发送邮件的 SMTP 相关配置,需自行测试。")],-1),j=y({__name:"email",setup(N){const o=C({noVerifyRegister:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=S({MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=S();async function f(){const r=await L.queryConfig({keys:["noVerifyRegister","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(o,r.data)}function I(){var r;(r=m.value)==null||r.validate(async t=>{if(t){try{await L.setConfig({settings:V(o)}),g.success("变更配置信息成功")}catch{}f()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return O(()=>{f()}),(r,t)=>{const c=H,x=q,b=U,p=n("el-switch"),R=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),d=n("el-row"),i=n("el-input"),P=n("el-checkbox"),T=n("el-form"),v=n("el-card");return w(),k("div",null,[e(b,null,{title:l(()=>[h]),content:l(()=>[B]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(c,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(T,{ref_key:"formRef",ref:m,rules:A.value,model:o,"label-width":"190px"},{default:l(()=>[e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邮箱注册/登录",prop:"emailLoginStatus"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=a=>o.emailLoginStatus=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"关闭注册验证",prop:"noVerifyRegister"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"打开即为关闭注册校验、注册将直接成功、请谨慎开启!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.noVerifyRegister,"onUpdate:modelValue":t[1]||(t[1]=a=>o.noVerifyRegister=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(i,{modelValue:o.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=a=>o.MAILER_HOST=a),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(i,{modelValue:o.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=a=>o.MAILER_PORT=a),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(i,{modelValue:o.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=a=>o.MAILER_USER=a),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(i,{modelValue:o.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=a=>o.MAILER_PASS=a),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(P,{modelValue:o.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=a=>o.MAILER_SECURE=a),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof M=="function"&&M(j);export{j as default};
+import{_ as U}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as y,m as C,r as S,a as O,n,g as w,c as k,b as e,w as l,h as E,e as _,E as g,j as H,_ as q,k as M}from"./index-CAe0BuuW.js";import{a as L}from"./config-CwtVyG0K.js";const h=_("div",{class:"flex items-center gap-4"},"邮件登录设置",-1),B=_("div",{class:"text-sm/6"},[_("div",null,"邮件设置主要用于发送注册时的激活邮件。"),_("div",null,"是否开启邮箱登录:决定用户是否可以通过邮箱进行登录。"),_("div",null,"是否开启邮箱注册:决定用户是否可以通过邮箱进行注册。"),_("div",null,"SMTP服务器配置,用于发送邮件的 SMTP 相关配置,需自行测试。")],-1),j=y({__name:"email",setup(N){const o=C({noVerifyRegister:"",emailLoginStatus:"",MAILER_HOST:"",MAILER_PORT:"",MAILER_USER:"",MAILER_PASS:"",MAILER_SECURE:""}),A=S({MAILER_HOST:[{required:!0,trigger:"blur",message:"请填写SMTP服务器地址"}],MAILER_PORT:[{required:!0,trigger:"blur",message:"请填写SMTP服务器端口"}],MAILER_USER:[{required:!0,trigger:"blur",message:"请填写SMTP用户名称"}],MAILER_PASS:[{required:!0,trigger:"blur",message:"请填写SMTP用户密码"}],MAILER_SECURE:[{required:!0,trigger:"blur",message:"是否使用SSL"}]}),m=S();async function f(){const r=await L.queryConfig({keys:["noVerifyRegister","emailLoginStatus","MAILER_HOST","MAILER_PORT","MAILER_USER","MAILER_PASS","MAILER_SECURE"]});Object.assign(o,r.data)}function I(){var r;(r=m.value)==null||r.validate(async t=>{if(t){try{await L.setConfig({settings:V(o)}),g.success("变更配置信息成功")}catch{}f()}else g.error("请填写完整信息")})}function V(r){return Object.keys(r).map(t=>({configKey:t,configVal:r[t]}))}return O(()=>{f()}),(r,t)=>{const c=H,x=q,b=U,p=n("el-switch"),R=n("el-tooltip"),u=n("el-form-item"),s=n("el-col"),d=n("el-row"),i=n("el-input"),P=n("el-checkbox"),T=n("el-form"),v=n("el-card");return w(),k("div",null,[e(b,null,{title:l(()=>[h]),content:l(()=>[B]),default:l(()=>[e(x,{text:"",outline:"",onClick:I},{default:l(()=>[e(c,{name:"i-ri:file-text-line"}),E(" 保存设置 ")]),_:1})]),_:1}),e(v,{style:{margin:"20px"}},{default:l(()=>[e(T,{ref_key:"formRef",ref:m,rules:A.value,model:o,"label-width":"190px"},{default:l(()=>[e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"开启邮箱注册/登录",prop:"emailLoginStatus"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"如您启用当前邮箱登录、则用户端可以通过邮箱登录!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.emailLoginStatus,"onUpdate:modelValue":t[0]||(t[0]=a=>o.emailLoginStatus=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"关闭注册验证",prop:"noVerifyRegister"},{default:l(()=>[e(R,{class:"box-item",effect:"dark",content:"打开即为关闭注册校验、注册将直接成功、请谨慎开启!",placement:"right"},{default:l(()=>[e(p,{modelValue:o.noVerifyRegister,"onUpdate:modelValue":t[1]||(t[1]=a=>o.noVerifyRegister=a),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器地址",prop:"MAILER_HOST"},{default:l(()=>[e(i,{modelValue:o.MAILER_HOST,"onUpdate:modelValue":t[2]||(t[2]=a=>o.MAILER_HOST=a),placeholder:"示例: smtp.example.com",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP服务器端口",prop:"MAILER_PORT"},{default:l(()=>[e(i,{modelValue:o.MAILER_PORT,"onUpdate:modelValue":t[3]||(t[3]=a=>o.MAILER_PORT=a),placeholder:"示例: 465",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户名称",prop:"MAILER_USER"},{default:l(()=>[e(i,{modelValue:o.MAILER_USER,"onUpdate:modelValue":t[4]||(t[4]=a=>o.MAILER_USER=a),placeholder:"SMTP认证用户名",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"SMTP用户密码",prop:"MAILER_PASS"},{default:l(()=>[e(i,{modelValue:o.MAILER_PASS,"onUpdate:modelValue":t[5]||(t[5]=a=>o.MAILER_PASS=a),placeholder:"SMTP认证密码",type:"password","show-password":"",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(d,null,{default:l(()=>[e(s,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(u,{label:"邮箱SSL配置",prop:"MAILER_SECURE"},{default:l(()=>[e(P,{modelValue:o.MAILER_SECURE,"onUpdate:modelValue":t[6]||(t[6]=a=>o.MAILER_SECURE=a),"true-label":"1","false-label":"0"},{default:l(()=>[E(" 启用SSL ")]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof M=="function"&&M(j);export{j as default};
diff --git a/public/admin/assets/epay-CxwnO4xc.js b/public/admin/assets/epay-ClQXvGry.js
similarity index 95%
rename from public/admin/assets/epay-CxwnO4xc.js
rename to public/admin/assets/epay-ClQXvGry.js
index 69bc4ad..17ab2e4 100644
--- a/public/admin/assets/epay-CxwnO4xc.js
+++ b/public/admin/assets/epay-ClQXvGry.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as D,m as O,r as E,a as j,n,g,c as b,b as e,w as a,h as x,F as L,s as M,e as i,E as U,j as $,_ as F,t as H,k as V}from"./index-DEc4xym2.js";import{a as v}from"./config-BQ9gBCXa.js";const J=i("div",{class:"flex items-center gap-4"},"易支付设置",-1),z=i("div",{class:"text-sm/6"},[i("div",null,"通用易支付渠道,请按文档配置即可。"),i("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),K=D({__name:"epay",setup(T){const t=O({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),P=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function m(){const o=await v.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=o.data.payEpayChannel?JSON.parse(o.data.payEpayChannel):[];Object.assign(t,o.data,{payEpayChannel:l})}function S(){var o;(o=s.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}m()}else U.error("请填写完整信息")})}function h(o,l){if(["payEpayChannel"].includes(o)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(o){return Object.keys(o).map(l=>({configKey:l,configVal:h(l,o[l])}))}return j(()=>{m()}),(o,l)=>{const c=$,k=F,w=B,f=n("el-switch"),r=n("el-form-item"),u=n("el-col"),y=n("el-row"),d=n("el-input"),_=n("el-divider"),R=n("el-tooltip"),N=n("el-checkbox"),q=n("el-checkbox-group"),I=n("el-form"),Q=n("el-card");return g(),b("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(c,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(Q,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:s,rules:P.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(f,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(f,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(K);export{K as default};
+import{_ as B}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as D,m as O,r as E,a as j,n,g,c as b,b as e,w as a,h as x,F as L,s as M,e as i,E as U,j as $,_ as F,t as H,k as V}from"./index-CAe0BuuW.js";import{a as v}from"./config-CwtVyG0K.js";const J=i("div",{class:"flex items-center gap-4"},"易支付设置",-1),z=i("div",{class:"text-sm/6"},[i("div",null,"通用易支付渠道,请按文档配置即可。"),i("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),K=D({__name:"epay",setup(T){const t=O({payEpayStatus:"",payEpayPid:"",payEpaySecret:"",payEpayNotifyUrl:"",payEpayReturnUrl:"",payEpayApiPayUrl:"",payEpayApiQueryUrl:"",payEpayRedirect:"",payEpayChannel:[]}),P=E({payEpayStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payEpaySecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payEpayPid:[{required:!0,trigger:"blur",message:"请填写商户PID"}],payEpayNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}],payEpayApiPayUrl:[{required:!0,trigger:"blur",message:"请填写平台支付API请求地址"}],payEpayApiQueryUrl:[{required:!0,trigger:"blur",message:"请填写平台API商户查询地址"}]}),s=E(),C=[{label:"微信支付",value:"wxpay"},{label:"支付宝支付",value:"alipay"}];async function m(){const o=await v.queryConfig({keys:["payEpaySecret","payEpayNotifyUrl","payEpayReturnUrl","payEpayPid","payEpayStatus","payEpayApiPayUrl","payEpayApiQueryUrl","payEpayRedirect","payEpayChannel"]}),l=o.data.payEpayChannel?JSON.parse(o.data.payEpayChannel):[];Object.assign(t,o.data,{payEpayChannel:l})}function S(){var o;(o=s.value)==null||o.validate(async l=>{if(l){try{await v.setConfig({settings:A(t)}),U.success("变更配置信息成功")}catch{}m()}else U.error("请填写完整信息")})}function h(o,l){if(["payEpayChannel"].includes(o)){if(!l)return[];if(l)return JSON.stringify(l)}else return l}function A(o){return Object.keys(o).map(l=>({configKey:l,configVal:h(l,o[l])}))}return j(()=>{m()}),(o,l)=>{const c=$,k=F,w=B,f=n("el-switch"),r=n("el-form-item"),u=n("el-col"),y=n("el-row"),d=n("el-input"),_=n("el-divider"),R=n("el-tooltip"),N=n("el-checkbox"),q=n("el-checkbox-group"),I=n("el-form"),Q=n("el-card");return g(),b("div",null,[e(w,null,{title:a(()=>[J]),content:a(()=>[z]),default:a(()=>[e(k,{outline:"",onClick:S},{default:a(()=>[e(c,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(Q,{style:{margin:"20px"}},{default:a(()=>[e(I,{ref_key:"formRef",ref:s,rules:P.value,model:t,"label-width":"120px"},{default:a(()=>[e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"启用当前支付",prop:"payEpayPid"},{default:a(()=>[e(f,{modelValue:t.payEpayStatus,"onUpdate:modelValue":l[0]||(l[0]=p=>t.payEpayStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户PID",prop:"payEpayPid"},{default:a(()=>[e(d,{modelValue:t.payEpayPid,"onUpdate:modelValue":l[1]||(l[1]=p=>t.payEpayPid=p),placeholder:"请填写商户PID",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户秘钥",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpaySecret,"onUpdate:modelValue":l[2]||(l[2]=p=>t.payEpaySecret=p),placeholder:"请填写商户秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付通知地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayNotifyUrl,"onUpdate:modelValue":l[3]||(l[3]=p=>t.payEpayNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付回调地址",prop:"payEpaySecret"},{default:a(()=>[e(d,{modelValue:t.payEpayReturnUrl,"onUpdate:modelValue":l[4]||(l[4]=p=>t.payEpayReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"支付请求地址",prop:"payEpayApiPayUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiPayUrl,"onUpdate:modelValue":l[5]||(l[5]=p=>t.payEpayApiPayUrl=p),placeholder:"请填写平台支付请求地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"商户查询地址",prop:"payEpayApiQueryUrl"},{default:a(()=>[e(d,{modelValue:t.payEpayApiQueryUrl,"onUpdate:modelValue":l[6]||(l[6]=p=>t.payEpayApiQueryUrl=p),placeholder:"请填写平台查询商户地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(_),e(y,null,{default:a(()=>[e(u,{xs:24,md:20,lg:15,xl:12},{default:a(()=>[e(r,{label:"是否开启跳转支付",prop:"payEpayRedirect","label-width":"130px"},{default:a(()=>[e(R,{class:"box-item",effect:"dark",content:"请注意、仅mapi支持不跳转支付、其他都需要为跳转支付、不开启跳转支付表示购买页面显示二维码直接扫码购买、跳转支付表示前往新页面!",placement:"right"},{default:a(()=>[e(f,{modelValue:t.payEpayRedirect,"onUpdate:modelValue":l[7]||(l[7]=p=>t.payEpayRedirect=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1}),e(y,null,{default:a(()=>[e(u,{xs:24,md:24,lg:24,xl:24},{default:a(()=>[e(r,{label:"开启支付渠道",prop:"payEpayChannel"},{default:a(()=>[e(q,{modelValue:t.payEpayChannel,"onUpdate:modelValue":l[8]||(l[8]=p=>t.payEpayChannel=p),size:"small"},{default:a(()=>[(g(),b(L,null,M(C,p=>e(N,{key:p.value,border:"",label:p.value},{default:a(()=>[x(H(p.label),1)]),_:2},1032,["label"])),64))]),_:1},8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof V=="function"&&V(K);export{K as default};
diff --git a/public/admin/assets/github-redirect-Du65IWeK.js b/public/admin/assets/github-redirect-SzGxw1fr.js
similarity index 88%
rename from public/admin/assets/github-redirect-Du65IWeK.js
rename to public/admin/assets/github-redirect-SzGxw1fr.js
index 523b414..bb00ffd 100644
--- a/public/admin/assets/github-redirect-Du65IWeK.js
+++ b/public/admin/assets/github-redirect-SzGxw1fr.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{l as o,g as c,c as n}from"./index-DEc4xym2.js";const s={mounted(){const e=this.decrypt("Z2l0aHViLmNvbS92YXN0eGllLzk5QUk=");if(e){const t=`https://${e}`;window.open(t,"_blank"),this.$router.go(-1)}else console.error("解密失败或无效的地址")},methods:{decrypt(r){try{return atob(r)}catch(e){return console.error("解密失败",e),""}}}};function l(r,e,t,d,p,a){return c(),n("div")}const u=o(s,[["render",l]]);export{u as default};
+import{l as o,g as c,c as n}from"./index-CAe0BuuW.js";const s={mounted(){const e=this.decrypt("Z2l0aHViLmNvbS92YXN0eGllLzk5QUk=");if(e){const t=`https://${e}`;window.open(t,"_blank"),this.$router.go(-1)}else console.error("解密失败或无效的地址")},methods:{decrypt(r){try{return atob(r)}catch(e){return console.error("解密失败",e),""}}}};function l(r,e,t,d,p,a){return c(),n("div")}const u=o(s,[["render",l]]);export{u as default};
diff --git a/public/admin/assets/globalPre-B88RPeeo.js b/public/admin/assets/globalPre-CLwf_0ut.js
similarity index 91%
rename from public/admin/assets/globalPre-B88RPeeo.js
rename to public/admin/assets/globalPre-CLwf_0ut.js
index aaa3212..bf5479b 100644
--- a/public/admin/assets/globalPre-B88RPeeo.js
+++ b/public/admin/assets/globalPre-CLwf_0ut.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as _}from"./config-BQ9gBCXa.js";import{d as V,m as j,r as m,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as i,k as f}from"./index-DEc4xym2.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"globalPre",setup(U){const a=j({systemPreMessage:""}),d=m({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=m();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),i.success("变更配置信息成功")}catch{}r()}else i.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),P=o("el-row"),C=o("el-form"),M=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(M,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(C,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(P,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default};
+import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as _}from"./config-CwtVyG0K.js";import{d as V,m as j,r as m,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as i,k as f}from"./index-CAe0BuuW.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"globalPre",setup(U){const a=j({systemPreMessage:""}),d=m({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=m();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),i.success("变更配置信息成功")}catch{}r()}else i.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),P=o("el-row"),C=o("el-form"),M=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(M,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(C,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(P,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default};
diff --git a/public/admin/assets/hupijiao-BE4XxZbP.js b/public/admin/assets/hupijiao-BqkX94iC.js
similarity index 95%
rename from public/admin/assets/hupijiao-BE4XxZbP.js
rename to public/admin/assets/hupijiao-BqkX94iC.js
index 3defa47..19d4c49 100644
--- a/public/admin/assets/hupijiao-BE4XxZbP.js
+++ b/public/admin/assets/hupijiao-BqkX94iC.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{d as k,m as C,r as _,a as N,n as o,g as q,c as G,b as e,w as l,h as x,e as s,E as y,j as R,_ as j,k as g}from"./index-DEc4xym2.js";import{a as H}from"./config-BQ9gBCXa.js";const B=s("div",{class:"flex items-center gap-4"},"虎皮椒支付设置",-1),E=s("div",{class:"text-sm/6"},[s("div",null,[s("a",{href:"https://www.xunhupay.com/",target:"_blank"},"虎皮椒支付"),x(" 为第三方支付,接入请购买微信渠道。 ")]),s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),$=k({__name:"hupijiao",setup(M){const t=C({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),U=_({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),m=_();async function c(){const u=await H.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,u.data)}function V(){var u;(u=m.value)==null||u.validate(async a=>{if(a){try{await H.setConfig({settings:b(t)}),y.success("变更配置信息成功")}catch{}c()}else y.error("请填写完整信息")})}function b(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return N(()=>{c()}),(u,a)=>{const f=R,w=j,S=h,v=o("el-switch"),r=o("el-form-item"),n=o("el-col"),i=o("el-row"),d=o("el-input"),A=o("el-form"),I=o("el-card");return q(),G("div",null,[e(S,null,{title:l(()=>[B]),content:l(()=>[E]),default:l(()=>[e(w,{outline:"",onClick:V},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:l(()=>[e(A,{ref_key:"formRef",ref:m,rules:U.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(v,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(d,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(d,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g($);export{$ as default};
+import{_ as h}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{d as k,m as C,r as _,a as N,n as o,g as q,c as G,b as e,w as l,h as x,e as s,E as y,j as R,_ as j,k as g}from"./index-CAe0BuuW.js";import{a as H}from"./config-CwtVyG0K.js";const B=s("div",{class:"flex items-center gap-4"},"虎皮椒支付设置",-1),E=s("div",{class:"text-sm/6"},[s("div",null,[s("a",{href:"https://www.xunhupay.com/",target:"_blank"},"虎皮椒支付"),x(" 为第三方支付,接入请购买微信渠道。 ")]),s("div",null,"支付通知地址为: https://您的域名/api/pay/notify。")],-1),$=k({__name:"hupijiao",setup(M){const t=C({payHupiStatus:"",payHupiAppId:"",payHupiSecret:"",payHupiGatewayUrl:"",payHupiNotifyUrl:"",payHupiReturnUrl:""}),U=_({payHupiStatus:[{required:!0,trigger:"change",message:"请选择当前支付开启状态"}],payHupiSecret:[{required:!0,trigger:"blur",message:"请填写支付秘钥"}],payHupiGatewayUrl:[{required:!0,trigger:"blur",message:"请填写网关"}],payHupiAppId:[{required:!0,trigger:"blur",message:"请填写Appid"}],payHupiNotifyUrl:[{required:!0,trigger:"blur",message:"请填写支付通知地址"}]}),m=_();async function c(){const u=await H.queryConfig({keys:["payHupiSecret","payHupiNotifyUrl","payHupiGatewayUrl","payHupiReturnUrl","payHupiAppId","payHupiStatus"]});Object.assign(t,u.data)}function V(){var u;(u=m.value)==null||u.validate(async a=>{if(a){try{await H.setConfig({settings:b(t)}),y.success("变更配置信息成功")}catch{}c()}else y.error("请填写完整信息")})}function b(u){return Object.keys(u).map(a=>({configKey:a,configVal:u[a]}))}return N(()=>{c()}),(u,a)=>{const f=R,w=j,S=h,v=o("el-switch"),r=o("el-form-item"),n=o("el-col"),i=o("el-row"),d=o("el-input"),A=o("el-form"),I=o("el-card");return q(),G("div",null,[e(S,null,{title:l(()=>[B]),content:l(()=>[E]),default:l(()=>[e(w,{outline:"",onClick:V},{default:l(()=>[e(f,{name:"i-ri:file-text-line"}),x(" 保存设置 ")]),_:1})]),_:1}),e(I,{style:{margin:"20px"}},{default:l(()=>[e(A,{ref_key:"formRef",ref:m,rules:U.value,model:t,"label-width":"120px"},{default:l(()=>[e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"启用当前支付",prop:"payHupiAppId"},{default:l(()=>[e(v,{modelValue:t.payHupiStatus,"onUpdate:modelValue":a[0]||(a[0]=p=>t.payHupiStatus=p),"active-value":"1","inactive-value":"0"},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付AppId",prop:"payHupiAppId"},{default:l(()=>[e(d,{modelValue:t.payHupiAppId,"onUpdate:modelValue":a[1]||(a[1]=p=>t.payHupiAppId=p),placeholder:"请填写AppId",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付网关地址",prop:"payHupiGatewayUrl"},{default:l(()=>[e(d,{modelValue:t.payHupiGatewayUrl,"onUpdate:modelValue":a[2]||(a[2]=p=>t.payHupiGatewayUrl=p),placeholder:"请填写支付网关地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"Secret秘钥",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiSecret,"onUpdate:modelValue":a[3]||(a[3]=p=>t.payHupiSecret=p),placeholder:"请填写支付秘钥",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付通知地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiNotifyUrl,"onUpdate:modelValue":a[4]||(a[4]=p=>t.payHupiNotifyUrl=p),placeholder:"请填写支付通知地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1}),e(i,null,{default:l(()=>[e(n,{xs:24,md:20,lg:15,xl:12},{default:l(()=>[e(r,{label:"支付回调地址",prop:"payHupiSecret"},{default:l(()=>[e(d,{modelValue:t.payHupiReturnUrl,"onUpdate:modelValue":a[5]||(a[5]=p=>t.payHupiReturnUrl=p),placeholder:"请填写支付成功后的回跳地址",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof g=="function"&&g($);export{$ as default};
diff --git a/public/admin/assets/index-BtdinBNB.js b/public/admin/assets/index-8is-rwMV.js
similarity index 99%
rename from public/admin/assets/index-BtdinBNB.js
rename to public/admin/assets/index-8is-rwMV.js
index 7f8ef05..a2548ab 100644
--- a/public/admin/assets/index-BtdinBNB.js
+++ b/public/admin/assets/index-8is-rwMV.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{E as a,s as o,t as Q,b as Z,L as _,i as q,c as r,f as l,k as w,a as V}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=o({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=Z.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'#Hp'#HpO,cQYO'#F{OOQV'#El'#ElOOQV'#Em'#EmOOQV'#En'#EnO.YQ_O'#EkO0_Q_O'#EoO2gQWOOO4QQ_O'#FPO7hQWO'#J`OOQV'#FY'#FY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S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$nU%uV'_Q'OSOz&[z{&v{!P&[!P!Q'x!Q;'S&[;'S;=`*s<%lO&[S&aV'OSOz&[z{&v{!P&[!P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!yW'TPOY$nYZ%nZr$nrs&[st#Kctz$nz{+O{!P$n!P!Q,z!Q![#8W![!c$n!c!}#8W!}#O$n#O#P&[#P#R$n#R#S#8W#S#T$n#T#o#8W#o${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nV#Kji'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$nV#Mbj'_Q'OS'TPOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q![#MX![!c$n!c!}#MX!}#O$n#O#P&[#P#R$n#R#S#MX#S#T$n#T#o#MX#o${$n${$|#MX$|4w$n4w5b#MX5b5i$n5i6S#MX6S;'S$n;'S;=`4s<%lO$n_$ ]]wX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$!_a'rX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q!_$n!_!`@O!`#O$n#O#P&[#P#p$n#p#q$#d#q;'S$n;'S;=`4s<%lO$n_$#m]'|X'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n_$$o]vX'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P!Q,z!Q#O$n#O#P&[#P;'S$n;'S;=`4s<%lO$n",tokenizers:[m,u,G,0,1,2,3],topRules:{SourceFile:[0,8]},specialized:[{term:281,get:O=>j[O]||-1}],tokenPrec:15596}),I=_.define({name:"rust",parser:E.configure({props:[q.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),l.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return w;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function N(){return new V(I)}export{N as rust,I as rustLanguage};
+import{E as a,s as o,t as Q,b as Z,L as _,i as q,c as r,f as l,k as w,a as V}from"./notice-CvCJnusr.js";import"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import"./index-CAe0BuuW.js";import"./config-CwtVyG0K.js";const R=1,g=2,b=3,y=4,T=5,s=98,c=101,v=102,t=114,p=69,X=48,W=46,d=43,f=45,Y=35,z=34,x=124,U=60,h=62;function n(O){return O>=48&&O<=57}function e(O){return n(O)||O==95}const G=new a((O,i)=>{if(n(O.next)){let P=!1;do O.advance();while(e(O.next));if(O.next==W){if(P=!0,O.advance(),n(O.next))do O.advance();while(e(O.next));else if(O.next==W||O.next>127||/\w/.test(String.fromCharCode(O.next)))return}if(O.next==c||O.next==p){if(P=!0,O.advance(),(O.next==d||O.next==f)&&O.advance(),!e(O.next))return;do O.advance();while(e(O.next))}if(O.next==v){let $=O.peek(1);if($==X+3&&O.peek(2)==X+2||$==X+6&&O.peek(2)==X+4)O.advance(3),P=!0;else return}P&&O.acceptToken(T)}else if(O.next==s||O.next==t){if(O.next==s&&O.advance(),O.next!=t)return;O.advance();let P=0;for(;O.next==Y;)P++,O.advance();if(O.next!=z)return;O.advance();O:for(;;){if(O.next<0)return;let $=O.next==z;if(O.advance(),$){for(let S=0;S{O.next==x&&O.acceptToken(R,1)}),u=new a(O=>{O.next==U?O.acceptToken(g,1):O.next==h&&O.acceptToken(b,1)}),k=o({"const macro_rules struct union enum type fn impl trait let static":Q.definitionKeyword,"mod use crate":Q.moduleKeyword,"pub unsafe async mut extern default move":Q.modifier,"for if else loop while match continue break return await":Q.controlKeyword,"as in ref":Q.operatorKeyword,"where _ crate super dyn":Q.keyword,self:Q.self,String:Q.string,Char:Q.character,RawString:Q.special(Q.string),Boolean:Q.bool,Identifier:Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),BoundIdentifier:Q.definition(Q.variableName),"FunctionItem/BoundIdentifier":Q.function(Q.definition(Q.variableName)),LoopLabel:Q.labelName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),Lifetime:Q.special(Q.variableName),ScopeIdentifier:Q.namespace,TypeIdentifier:Q.typeName,"MacroInvocation/Identifier MacroInvocation/ScopedIdentifier/Identifier":Q.macroName,"MacroInvocation/TypeIdentifier MacroInvocation/ScopedIdentifier/TypeIdentifier":Q.macroName,'"!"':Q.macroName,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Integer:Q.integer,Float:Q.float,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,"=":Q.definitionOperator,".. ... => ->":Q.punctuation,"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,". DerefOp":Q.derefOperator,"&":Q.operator,", ; ::":Q.separator,"Attribute/...":Q.meta}),j={__proto__:null,self:28,super:32,crate:34,impl:46,true:72,false:72,pub:88,in:92,const:96,unsafe:104,async:108,move:110,if:114,let:118,ref:142,mut:144,_:198,else:200,match:204,as:248,return:252,await:262,break:270,continue:276,while:312,loop:316,for:320,macro_rules:327,mod:334,extern:342,struct:346,where:364,union:379,enum:382,type:390,default:395,fn:396,trait:412,use:420,static:438,dyn:476},E=Z.deserialize({version:14,states:"$2xQ]Q_OOP$wOWOOO&sQWO'#CnO)WQWO'#I`OOQP'#I`'#I`OOQQ'#Ie'#IeO)hO`O'#C}OOQR'#Ih'#IhO)sQWO'#IuOOQO'#Hk'#HkO)xQWO'#DpOOQR'#Iw'#IwO)xQWO'#DpO*ZQWO'#DpOOQO'#Iv'#IvO,SQWO'#J`O,ZQWO'#EiOOQV'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m2s2v3V3u3{3|4R4U4_4e4t5`5d5v6R6Y6p6v6x7c7r8gR0k+ZR0j+ZQ'R!qQ)c%XQ+w&|R4y1PX'Q!q%X&|1PR+y&|R+x&|T/S*S4TT/R*S4TR.o)sR.n)sR){%p",nodeNames:"⚠ | < > RawString Float LineComment BlockComment SourceFile ] InnerAttribute ! [ MetaItem self Metavariable super crate Identifier ScopedIdentifier :: QualifiedScope AbstractType impl SelfType MetaType TypeIdentifier ScopedTypeIdentifier ScopeIdentifier TypeArgList TypeBinding = Lifetime String Escape Char Boolean Integer } { Block ; ConstItem Vis pub ( in ) const BoundIdentifier : UnsafeBlock unsafe AsyncBlock async move IfExpression if LetDeclaration let LiteralPattern ArithOp MetaPattern SelfPattern ScopedIdentifier TuplePattern ScopedTypeIdentifier , StructPattern FieldPatternList FieldPattern ref mut FieldIdentifier .. RefPattern SlicePattern CapturedPattern ReferencePattern & MutPattern RangePattern ... OrPattern MacroPattern ParenthesizedTokens TokenBinding Identifier TokenRepetition ArithOp BitOp LogicOp UpdateOp CompareOp -> => ArithOp BracketedTokens BracedTokens _ else MatchExpression match MatchBlock MatchArm Attribute Guard UnaryExpression ArithOp DerefOp LogicOp ReferenceExpression TryExpression BinaryExpression ArithOp ArithOp BitOp BitOp BitOp BitOp LogicOp LogicOp AssignmentExpression TypeCastExpression as ReturnExpression return RangeExpression CallExpression ArgList AwaitExpression await FieldExpression GenericFunction BreakExpression break LoopLabel ContinueExpression continue IndexExpression ArrayExpression TupleExpression MacroInvocation UnitExpression ClosureExpression ParamList Parameter Parameter ParenthesizedExpression StructExpression FieldInitializerList ShorthandFieldInitializer FieldInitializer BaseFieldInitializer MatchArm WhileExpression while LoopExpression loop ForExpression for MacroInvocation MacroDefinition macro_rules MacroRule EmptyStatement ModItem mod DeclarationList AttributeItem ForeignModItem extern StructItem struct TypeParamList ConstrainedTypeParameter TraitBounds HigherRankedTraitBound RemovedTraitBound OptionalTypeParameter ConstParameter WhereClause where LifetimeClause TypeBoundClause FieldDeclarationList FieldDeclaration OrderedFieldDeclarationList UnionItem union EnumItem enum EnumVariantList EnumVariant TypeItem type FunctionItem default fn ParamList Parameter SelfParameter VariadicParameter VariadicParameter ImplItem TraitItem trait AssociatedType LetDeclaration UseDeclaration use ScopedIdentifier UseAsClause ScopedIdentifier UseList ScopedUseList UseWildcard ExternCrateDeclaration StaticItem static ExpressionStatement ExpressionStatement GenericType FunctionType ForLifetimes ParamList VariadicParameter Parameter VariadicParameter Parameter ReferenceType PointerType TupleType UnitType ArrayType MacroInvocation EmptyType DynamicType dyn BoundedType",maxTerm:359,nodeProps:[["isolate",-4,4,6,7,33,""],["group",-42,4,5,14,15,16,17,18,19,33,35,36,37,40,51,53,56,101,107,111,112,113,122,123,125,127,128,130,132,133,134,137,139,140,141,142,143,144,148,149,155,157,159,"Expression",-16,22,24,25,26,27,222,223,230,231,232,233,234,235,236,237,239,"Type",-20,42,161,162,165,166,169,170,172,188,190,194,196,204,205,207,208,209,217,218,220,"Statement",-17,49,60,62,63,64,65,68,74,75,76,77,78,80,81,83,84,99,"Pattern"],["openedBy",9,"[",38,"{",47,"("],["closedBy",12,"]",39,"}",45,")"]],propSources:[k],skippedNodes:[0,6,7,240],repeatNodeCount:32,tokenData:"$%h_R!XOX$nXY5gYZ6iZ]$n]^5g^p$npq5gqr7Xrs9cst:Rtu;Tuv>vvwAQwxCbxy!+Tyz!,Vz{!-X{|!/_|}!0g}!O!1i!O!P!3v!P!Q!8[!Q!R!Bw!R![!Dr![!]#+q!]!^#-{!^!_#.}!_!`#1b!`!a#3o!a!b#6S!b!c#7U!c!}#8W!}#O#:T#O#P#;V#P#Q#Cb#Q#R#Dd#R#S#8W#S#T$n#T#U#8W#U#V#El#V#f#8W#f#g#Ic#g#o#8W#o#p$ S#p#q$!U#q#r$$f#r${$n${$|#8W$|4w$n4w5b#8W5b5i$n5i6S#8W6S;'S$n;'S;=`4s<%lO$nU$u]'_Q'OSOY$nYZ%nZr$nrs&[sz$nz{+O{!P$n!P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>j[O]||-1}],tokenPrec:15596}),I=_.define({name:"rust",parser:E.configure({props:[q.add({IfExpression:r({except:/^\s*({|else\b)/}),"String BlockComment":()=>null,AttributeItem:O=>O.continue(),"Statement MatchArm":r()}),l.add(O=>{if(/(Block|edTokens|List)$/.test(O.name))return w;if(O.name=="BlockComment")return i=>({from:i.from+2,to:i.to-2})})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:\{|\})$/,closeBrackets:{stringPrefixes:["b","r","br"]}}});function N(){return new V(I)}export{N as rust,I as rustLanguage};
diff --git a/public/admin/assets/index-CuqVCwzF.js b/public/admin/assets/index-ADqn1Xh3.js
similarity index 99%
rename from public/admin/assets/index-CuqVCwzF.js
rename to public/admin/assets/index-ADqn1Xh3.js
index ef91246..5f153ad 100644
--- a/public/admin/assets/index-CuqVCwzF.js
+++ b/public/admin/assets/index-ADqn1Xh3.js
@@ -5,5 +5,5 @@
* https://fantastic-admin.github.io
*/
-import{i as te,c as ae,f as re,s as ne,t as i,L as ie,a as se,E as oe,b as le,d as ce,e as de,g as me}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const ue=36,B=1,fe=2,v=3,S=4,pe=5,ge=6,he=7,_e=8,be=9,ve=10,ye=11,ke=12,Oe=13,xe=14,we=15,Qe=16,Se=17,X=18,Ce=19,$=20,E=21,R=22,Pe=23,qe=24;function P(t){return t>=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function A(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else A(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r=65&&t<=90||t>=97&&t<=122||t>=48&&t<=57}function Te(t){return t>=48&&t<=57||t>=97&&t<=102||t>=65&&t<=70}function p(t,e,r){for(let a=!1;;){if(t.next<0)return;if(t.next==e&&!a){t.advance();return}a=r&&!a&&t.next==92,t.advance()}}function Ue(t){for(;;){if(t.next<0||t.peek(1)<0)return;if(t.next==36&&t.peek(1)==36){t.advance(2);return}t.advance()}}function ze(t,e){let r="[{<(".indexOf(String.fromCharCode(e)),a=r<0?e:"]}>)".charCodeAt(r);for(;;){if(t.next<0)return;if(t.next==a&&t.peek(1)==39){t.advance(2);return}t.advance()}}function A(t,e){for(;!(t.next!=95&&!P(t.next));)e!=null&&(e+=String.fromCharCode(t.next)),t.advance();return e}function Le(t){if(t.next==39||t.next==34||t.next==96){let e=t.next;t.advance(),p(t,e,!1)}else A(t)}function j(t,e){for(;t.next==48||t.next==49;)t.advance();e&&t.next==e&&t.advance()}function D(t,e){for(;;){if(t.next==46){if(e)break;e=!0}else if(t.next<48||t.next>57)break;t.advance()}if(t.next==69||t.next==101)for(t.advance(),(t.next==43||t.next==45)&&t.advance();t.next>=48&&t.next<=57;)t.advance()}function I(t){for(;!(t.next<0||t.next==10);)t.advance()}function f(t,e){for(let r=0;r!=&|~^/",specialVar:"?",identifierQuotes:'"',words:W(h,g)};function Be(t,e,r,a){let n={};for(let s in q)n[s]=(t.hasOwnProperty(s)?t:q)[s];return e&&(n.words=W(e,r||"",a)),n}function K(t){return new oe(e=>{var r;let{next:a}=e;if(e.advance(),f(a,C)){for(;f(e.next,C);)e.advance();e.acceptToken(ue)}else if(a==36&&e.next==36&&t.doubleDollarQuotedStrings)Ue(e),e.acceptToken(v);else if(a==39||a==34&&t.doubleQuotedStrings)p(e,a,t.backslashEscapes),e.acceptToken(v);else if(a==35&&t.hashComments||a==47&&e.next==47&&t.slashComments)I(e),e.acceptToken(B);else if(a==45&&e.next==45&&(!t.spaceAfterDashes||e.peek(1)==32))I(e),e.acceptToken(B);else if(a==47&&e.next==42){e.advance();for(let n=1;;){let s=e.next;if(e.next<0)break;if(e.advance(),s==42&&e.next==47){if(n--,e.advance(),!n)break}else s==47&&e.next==42&&(n++,e.advance())}e.acceptToken(fe)}else if((a==101||a==69)&&e.next==39)e.advance(),p(e,39,!0);else if((a==110||a==78)&&e.next==39&&t.charSetCasts)e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);else if(a==95&&t.charSetCasts)for(let n=0;;n++){if(e.next==39&&n>1){e.advance(),p(e,39,t.backslashEscapes),e.acceptToken(v);break}if(!P(e.next))break;e.advance()}else if(t.plsqlQuotingMechanism&&(a==113||a==81)&&e.next==39&&e.peek(1)>0&&!f(e.peek(1),C)){let n=e.peek(1);e.advance(2),ze(e,n),e.acceptToken(v)}else if(a==40)e.acceptToken(he);else if(a==41)e.acceptToken(_e);else if(a==123)e.acceptToken(be);else if(a==125)e.acceptToken(ve);else if(a==91)e.acceptToken(ye);else if(a==93)e.acceptToken(ke);else if(a==59)e.acceptToken(Oe);else if(t.unquotedBitLiterals&&a==48&&e.next==98)e.advance(),j(e),e.acceptToken(R);else if((a==98||a==66)&&(e.next==39||e.next==34)){const n=e.next;e.advance(),t.treatBitsAsBytes?(p(e,n,t.backslashEscapes),e.acceptToken(Pe)):(j(e,n),e.acceptToken(R))}else if(a==48&&(e.next==120||e.next==88)||(a==120||a==88)&&e.next==39){let n=e.next==39;for(e.advance();Te(e.next);)e.advance();n&&e.next==39&&e.advance(),e.acceptToken(S)}else if(a==46&&e.next>=48&&e.next<=57)D(e,!0),e.acceptToken(S);else if(a==46)e.acceptToken(xe);else if(a>=48&&a<=57)D(e,!1),e.acceptToken(S);else if(f(a,t.operatorChars)){for(;f(e.next,t.operatorChars);)e.advance();e.acceptToken(we)}else if(f(a,t.specialVar))e.next==a&&e.advance(),Le(e),e.acceptToken(Se);else if(f(a,t.identifierQuotes))p(e,a,!1),e.acceptToken(Ce);else if(a==58||a==44)e.acceptToken(Qe);else if(P(a)){let n=A(e,String.fromCharCode(a));e.acceptToken(e.next==46||e.peek(-n.length-1)==46?X:(r=t.words[n.toLowerCase()])!==null&&r!==void 0?r:X)}})}const M=K(q),Xe=le.deserialize({version:14,states:"%vQ]QQOOO#wQRO'#DSO$OQQO'#CwO%eQQO'#CxO%lQQO'#CyO%sQQO'#CzOOQQ'#DS'#DSOOQQ'#C}'#C}O'UQRO'#C{OOQQ'#Cv'#CvOOQQ'#C|'#C|Q]QQOOQOQQOOO'`QQO'#DOO(xQRO,59cO)PQQO,59cO)UQQO'#DSOOQQ,59d,59dO)cQQO,59dOOQQ,59e,59eO)jQQO,59eOOQQ,59f,59fO)qQQO,59fOOQQ-E6{-E6{OOQQ,59b,59bOOQQ-E6z-E6zOOQQ,59j,59jOOQQ-E6|-E6|O+VQRO1G.}O+^QQO,59cOOQQ1G/O1G/OOOQQ1G/P1G/POOQQ1G/Q1G/QP+kQQO'#C}O+rQQO1G.}O)PQQO,59cO,PQQO'#Cw",stateData:",[~OtOSPOSQOS~ORUOSUOTUOUUOVROXSOZTO]XO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O^]ORvXSvXTvXUvXVvXXvXZvX]vX_vX`vXavXbvXcvXdvXevXfvXgvXhvX~OsvX~P!jOa_Ob_Oc_O~ORUOSUOTUOUUOVROXSOZTO^tO_UO`UOa`Ob`Oc`OdUOeUOfUOgUOhUO~OWaO~P$ZOYcO~P$ZO[eO~P$ZORUOSUOTUOUUOVROXSOZTO^QO_UO`UOaPObPOcPOdUOeUOfUOgUOhUO~O]hOsoX~P%zOajObjOcjO~O^]ORkaSkaTkaUkaVkaXkaZka]ka_ka`kaakabkackadkaekafkagkahka~Oska~P'kO^]O~OWvXYvX[vX~P!jOWnO~P$ZOYoO~P$ZO[pO~P$ZO^]ORkiSkiTkiUkiVkiXkiZki]ki_ki`kiakibkickidkiekifkigkihki~Oski~P)xOWkaYka[ka~P'kO]hO~P$ZOWkiYki[ki~P)xOasObsOcsO~O",goto:"#hwPPPPPPPPPPPPPPPPPPPPPPPPPPx||||!Y!^!d!xPPP#[TYOZeUORSTWZbdfqT[OZQZORiZSWOZQbRQdSQfTZgWbdfqQ^PWk^lmrQl_Qm`RrseVORSTWZbdfq",nodeNames:"⚠ LineComment BlockComment String Number Bool Null ( ) { } [ ] ; . Operator Punctuation SpecialVar Identifier QuotedIdentifier Keyword Type Bits Bytes Builtin Script Statement CompositeIdentifier Parens Braces Brackets Statement",maxTerm:38,nodeProps:[["isolate",-4,1,2,3,19,""]],skippedNodes:[0,1,2],repeatNodeCount:3,tokenData:"RORO",tokenizers:[0,M],topRules:{Script:[0,25]},tokenPrec:0});function T(t){let e=t.cursor().moveTo(t.from,-1);for(;/Comment/.test(e.name);)e.moveTo(e.from,-1);return e.node}function y(t,e){let r=t.sliceString(e.from,e.to),a=/^([`'"])(.*)\1$/.exec(r);return a?a[2]:r}function w(t){return t&&(t.name=="Identifier"||t.name=="QuotedIdentifier")}function Re(t,e){if(e.name=="CompositeIdentifier"){let r=[];for(let a=e.firstChild;a;a=a.nextSibling)w(a)&&r.push(y(t,a));return r}return[y(t,e)]}function Z(t,e){for(let r=[];;){if(!e||e.name!=".")return r;let a=T(e);if(!w(a))return r;r.unshift(y(t,a)),e=T(a)}}function je(t,e){let r=me(t).resolveInner(e,-1),a=Ie(t.doc,r);return r.name=="Identifier"||r.name=="QuotedIdentifier"||r.name=="Keyword"?{from:r.from,quoted:r.name=="QuotedIdentifier"?t.doc.sliceString(r.from,r.from+1):null,parents:Z(t.doc,T(r)),aliases:a}:r.name=="."?{from:e,quoted:null,parents:Z(t.doc,r),aliases:a}:{from:e,quoted:null,parents:[],empty:!0,aliases:a}}const De=new Set("where group having order union intersect except all distinct limit offset fetch for".split(" "));function Ie(t,e){let r;for(let n=e;!r;n=n.parent){if(!n)return null;n.name=="Statement"&&(r=n)}let a=null;for(let n=r.firstChild,s=!1,c=null;n;n=n.nextSibling){let l=n.name=="Keyword"?t.sliceString(n.from,n.to).toLowerCase():null,o=null;if(!s)s=l=="from";else if(l=="as"&&c&&w(n.nextSibling))o=y(t,n.nextSibling);else{if(l&&De.has(l))break;c&&w(n)&&(o=y(t,n))}o&&(a||(a=Object.create(null)),a[o]=Re(t,c)),c=/Identifier$/.test(n.name)?n:null}return a}function Ze(t,e){return t?e.map(r=>Object.assign(Object.assign({},r),{label:r.label[0]==t?r.label:t+r.label+t,apply:void 0})):e}const Ne=/^\w*$/,Ve=/^[`'"]?\w*[`'"]?$/;function N(t){return t.self&&typeof t.self.label=="string"}class U{constructor(e){this.idQuote=e,this.list=[],this.children=void 0}child(e){let r=this.children||(this.children=Object.create(null)),a=r[e];return a||(e&&!this.list.some(n=>n.label==e)&&this.list.push(V(e,"type",this.idQuote)),r[e]=new U(this.idQuote))}maybeChild(e){return this.children?this.children[e]:null}addCompletion(e){let r=this.list.findIndex(a=>a.label==e.label);r>-1?this.list[r]=e:this.list.push(e)}addCompletions(e){for(let r of e)this.addCompletion(typeof r=="string"?V(r,"property",this.idQuote):r)}addNamespace(e){Array.isArray(e)?this.addCompletions(e):N(e)?this.addNamespace(e.children):this.addNamespaceObject(e)}addNamespaceObject(e){for(let r of Object.keys(e)){let a=e[r],n=null,s=r.replace(/\\?\./g,l=>l=="."?"\0":l).split("\0"),c=this;N(a)&&(n=a.self,a=a.children);for(let l=0;l{let{parents:b,from:H,quoted:k,empty:J,aliases:O}=je(u.state,u.pos);if(J&&!u.explicit)return null;O&&b.length==1&&(b=O[b[0]]||b);let d=o;for(let x of b){for(;!d.children||!d.children[x];)if(d==o)d=_;else if(d==_&&a)d=d.child(a);else return null;let L=d.maybeChild(x);if(!L)return null;d=L}let ee=k&&u.state.sliceDoc(u.pos,u.pos+1)==k,Q=d.list;return d==o&&O&&(Q=Q.concat(Object.keys(O).map(x=>({label:x,type:"constant"})))),{from:H,to:ee?u.pos+1:void 0,options:Ze(k,Q),validFor:k?Ve:Ne}}}function Ee(t,e){let r=Object.keys(t).map(a=>({label:e?a.toUpperCase():a,type:t[a]==E?"type":t[a]==$?"keyword":"variable",boost:-1}));return ce(["QuotedIdentifier","SpecialVar","String","LineComment","BlockComment","."],de(r))}let Ae=Xe.configure({props:[te.add({Statement:ae()}),re.add({Statement(t){return{from:t.firstChild.to,to:t.to}},BlockComment(t){return{from:t.from+2,to:t.to-2}}}),ne({Keyword:i.keyword,Type:i.typeName,Builtin:i.standard(i.name),Bits:i.number,Bytes:i.string,Bool:i.bool,Null:i.null,Number:i.number,String:i.string,Identifier:i.name,QuotedIdentifier:i.special(i.string),SpecialVar:i.special(i.name),LineComment:i.lineComment,BlockComment:i.blockComment,Operator:i.operator,"Semi Punctuation":i.punctuation,"( )":i.paren,"{ }":i.brace,"[ ]":i.squareBracket})]});class m{constructor(e,r,a){this.dialect=e,this.language=r,this.spec=a}get extension(){return this.language.extension}static define(e){let r=Be(e,e.keywords,e.types,e.builtin),a=ie.define({name:"sql",parser:Ae.configure({tokenizers:[{from:M,to:K(r)}]}),languageData:{commentTokens:{line:"--",block:{open:"/*",close:"*/"}},closeBrackets:{brackets:["(","[","{","'",'"',"`"]}}});return new m(r,a,e)}}function We(t,e=!1){return Ee(t.dialect.words,e)}function Ke(t,e=!1){return t.language.data.of({autocomplete:We(t,e)})}function Me(t){return t.schema?$e(t.schema,t.tables,t.schemas,t.defaultTable,t.defaultSchema,t.dialect||z):()=>null}function Fe(t){return t.schema?(t.dialect||z).language.data.of({autocomplete:Me(t)}):[]}function et(t={}){let e=t.dialect||z;return new se(e.language,[Fe(t),Ke(e,!!t.upperCaseKeywords)])}const z=m.define({}),tt=m.define({charSetCasts:!0,doubleDollarQuotedStrings:!0,operatorChars:"+-*/<>=~!@#%^&|`?",specialVar:"",keywords:h+"a abort abs absent access according ada admin aggregate alias also always analyse analyze array_agg array_max_cardinality asensitive assert assignment asymmetric atomic attach attribute attributes avg backward base64 begin_frame begin_partition bernoulli bit_length blocked bom c cache called cardinality catalog_name ceil ceiling chain char_length character_length character_set_catalog character_set_name character_set_schema characteristics characters checkpoint class class_origin cluster coalesce cobol collation_catalog collation_name collation_schema collect column_name columns command_function command_function_code comment comments committed concurrently condition_number configuration conflict connection_name constant constraint_catalog constraint_name constraint_schema contains content control conversion convert copy corr cost covar_pop covar_samp csv cume_dist current_catalog current_row current_schema cursor_name database datalink datatype datetime_interval_code datetime_interval_precision db debug defaults defined definer degree delimiter delimiters dense_rank depends derived detach detail dictionary disable discard dispatch dlnewcopy dlpreviouscopy dlurlcomplete dlurlcompleteonly dlurlcompletewrite dlurlpath dlurlpathonly dlurlpathwrite dlurlscheme dlurlserver dlvalue document dump dynamic_function dynamic_function_code element elsif empty enable encoding encrypted end_frame end_partition endexec enforced enum errcode error event every exclude excluding exclusive exp explain expression extension extract family file filter final first_value flag floor following force foreach fortran forward frame_row freeze fs functions fusion g generated granted greatest groups handler header hex hierarchy hint id ignore ilike immediately immutable implementation implicit import include including increment indent index indexes info inherit inherits inline insensitive instance instantiable instead integrity intersection invoker isnull k key_member key_type label lag last_value lead leakproof least length library like_regex link listen ln load location lock locked log logged lower m mapping matched materialized max max_cardinality maxvalue member merge message message_length message_octet_length message_text min minvalue mod mode more move multiset mumps name namespace nfc nfd nfkc nfkd nil normalize normalized nothing notice notify notnull nowait nth_value ntile nullable nullif nulls number occurrences_regex octet_length octets off offset oids operator options ordering others over overlay overriding owned owner p parallel parameter_mode parameter_name parameter_ordinal_position parameter_specific_catalog parameter_specific_name parameter_specific_schema parser partition pascal passing passthrough password percent percent_rank percentile_cont percentile_disc perform period permission pg_context pg_datatype_name pg_exception_context pg_exception_detail pg_exception_hint placing plans pli policy portion position position_regex power precedes preceding prepared print_strict_params procedural procedures program publication query quote raise range rank reassign recheck recovery refresh regr_avgx regr_avgy regr_count regr_intercept regr_r2 regr_slope regr_sxx regr_sxy regr_syy reindex rename repeatable replace replica requiring reset respect restart restore result_oid returned_cardinality returned_length returned_octet_length returned_sqlstate returning reverse routine_catalog routine_name routine_schema routines row_count row_number rowtype rule scale schema_name schemas scope scope_catalog scope_name scope_schema security selective self sensitive sequence sequences serializable server server_name setof share show simple skip slice snapshot source specific_name sqlcode sqlerror sqrt stable stacked standalone statement statistics stddev_pop stddev_samp stdin stdout storage strict strip structure style subclass_origin submultiset subscription substring substring_regex succeeds sum symmetric sysid system system_time t table_name tables tablesample tablespace temp template ties token top_level_count transaction_active transactions_committed transactions_rolled_back transform transforms translate translate_regex trigger_catalog trigger_name trigger_schema trim trim_array truncate trusted type types uescape unbounded uncommitted unencrypted unlink unlisten unlogged unnamed untyped upper uri use_column use_variable user_defined_type_catalog user_defined_type_code user_defined_type_name user_defined_type_schema vacuum valid validate validator value_of var_pop var_samp varbinary variable_conflict variadic verbose version versioning views volatile warning whitespace width_bucket window within wrapper xmlagg xmlattributes xmlbinary xmlcast xmlcomment xmlconcat xmldeclaration xmldocument xmlelement xmlexists xmlforest xmliterate xmlnamespaces xmlparse xmlpi xmlquery xmlroot xmlschema xmlserialize xmltable xmltext xmlvalidate yes",types:g+"bigint int8 bigserial serial8 varbit bool box bytea cidr circle precision float8 inet int4 json jsonb line lseg macaddr macaddr8 money numeric pg_lsn point polygon float4 int2 smallserial serial2 serial serial4 text timetz timestamptz tsquery tsvector txid_snapshot uuid xml"}),F="accessible algorithm analyze asensitive authors auto_increment autocommit avg avg_row_length binlog btree cache catalog_name chain change changed checkpoint checksum class_origin client_statistics coalesce code collations columns comment committed completion concurrent consistent contains contributors convert database databases day_hour day_microsecond day_minute day_second delay_key_write delayed delimiter des_key_file dev_pop dev_samp deviance directory disable discard distinctrow div dual dumpfile enable enclosed ends engine engines enum errors escaped even event events every explain extended fast field fields flush force found_rows fulltext grants handler hash high_priority hosts hour_microsecond hour_minute hour_second ignore ignore_server_ids import index index_statistics infile innodb insensitive insert_method install invoker iterate keys kill linear lines list load lock logs low_priority master master_heartbeat_period master_ssl_verify_server_cert masters max max_rows maxvalue message_text middleint migrate min min_rows minute_microsecond minute_second mod mode modify mutex mysql_errno no_write_to_binlog offline offset one online optimize optionally outfile pack_keys parser partition partitions password phase plugin plugins prev processlist profile profiles purge query quick range read_write rebuild recover regexp relaylog remove rename reorganize repair repeatable replace require resume rlike row_format rtree schedule schema_name schemas second_microsecond security sensitive separator serializable server share show slave slow snapshot soname spatial sql_big_result sql_buffer_result sql_cache sql_calc_found_rows sql_no_cache sql_small_result ssl starting starts std stddev stddev_pop stddev_samp storage straight_join subclass_origin sum suspend table_name table_statistics tables tablespace terminated triggers truncate uncommitted uninstall unlock upgrade use use_frm user_resources user_statistics utc_date utc_time utc_timestamp variables views warnings xa xor year_month zerofill",G=g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int1 int2 int3 int4 int8 float4 float8 varbinary varcharacter precision datetime unsigned signed",Y="charset clear edit ego help nopager notee nowarning pager print prompt quit rehash source status system tee",at=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"group_concat "+F,types:G,builtin:Y}),rt=m.define({operatorChars:"*+-%<>!=&|^",charSetCasts:!0,doubleQuotedStrings:!0,unquotedBitLiterals:!0,hashComments:!0,spaceAfterDashes:!0,specialVar:"@?",identifierQuotes:"`",keywords:h+"always generated groupby_concat hard persistent shutdown soft virtual "+F,types:G,builtin:Y}),nt=m.define({keywords:h+"trigger proc view index for add constraint key primary foreign collate clustered nonclustered declare exec go if use index holdlock nolock nowait paglock pivot readcommitted readcommittedlock readpast readuncommitted repeatableread rowlock serializable snapshot tablock tablockx unpivot updlock with",types:g+"bigint smallint smallmoney tinyint money real text nvarchar ntext varbinary image hierarchyid uniqueidentifier sql_variant xml",builtin:"binary_checksum checksum connectionproperty context_info current_request_id error_line error_message error_number error_procedure error_severity error_state formatmessage get_filestream_transaction_context getansinull host_id host_name isnull isnumeric min_active_rowversion newid newsequentialid rowcount_big xact_state object_id",operatorChars:"*+-%<>!=^&|/",specialVar:"@"}),it=m.define({keywords:h+"abort analyze attach autoincrement conflict database detach exclusive fail glob ignore index indexed instead isnull notnull offset plan pragma query raise regexp reindex rename replace temp vacuum virtual",types:g+"bool blob long longblob longtext medium mediumblob mediumint mediumtext tinyblob tinyint tinytext text bigint int2 int8 unsigned signed real",builtin:"auth backup bail changes clone databases dbinfo dump echo eqp explain fullschema headers help import imposter indexes iotrace lint load log mode nullvalue once print prompt quit restore save scanstats separator shell show stats system tables testcase timeout timer trace vfsinfo vfslist vfsname width",operatorChars:"*+-%<>!=&|/~",identifierQuotes:'`"',specialVar:"@:?$"}),st=m.define({keywords:"add all allow alter and any apply as asc authorize batch begin by clustering columnfamily compact consistency count create custom delete desc distinct drop each_quorum exists filtering from grant if in index insert into key keyspace keyspaces level limit local_one local_quorum modify nan norecursive nosuperuser not of on one order password permission permissions primary quorum rename revoke schema select set storage superuser table three to token truncate ttl two type unlogged update use user users using values where with writetime infinity NaN",types:g+"ascii bigint blob counter frozen inet list map static text timeuuid tuple uuid varint",slashComments:!0}),ot=m.define({keywords:h+"abort accept access add all alter and any arraylen as asc assert assign at attributes audit authorization avg base_table begin between binary_integer body by case cast char_base check close cluster clusters colauth column comment commit compress connected constant constraint crash create current currval cursor data_base database dba deallocate debugoff debugon declare default definition delay delete desc digits dispose distinct do drop else elseif elsif enable end entry exception exception_init exchange exclusive exists external fast fetch file for force form from function generic goto grant group having identified if immediate in increment index indexes indicator initial initrans insert interface intersect into is key level library like limited local lock log logging loop master maxextents maxtrans member minextents minus mislabel mode modify multiset new next no noaudit nocompress nologging noparallel not nowait number_base of off offline on online only option or order out package parallel partition pctfree pctincrease pctused pls_integer positive positiven pragma primary prior private privileges procedure public raise range raw rebuild record ref references refresh rename replace resource restrict return returning returns reverse revoke rollback row rowid rowlabel rownum rows run savepoint schema segment select separate set share snapshot some space split sql start statement storage subtype successful synonym tabauth table tables tablespace task terminate then to trigger truncate type union unique unlimited unrecoverable unusable update use using validate value values variable view views when whenever where while with work",builtin:"appinfo arraysize autocommit autoprint autorecovery autotrace blockterminator break btitle cmdsep colsep compatibility compute concat copycommit copytypecheck define echo editfile embedded feedback flagger flush heading headsep instance linesize lno loboffset logsource longchunksize markup native newpage numformat numwidth pagesize pause pno recsep recsepchar repfooter repheader serveroutput shiftinout show showmode spool sqlblanklines sqlcase sqlcode sqlcontinue sqlnumber sqlpluscompatibility sqlprefix sqlprompt sqlterminator suffix tab term termout timing trimout trimspool ttitle underline verify version wrap",types:g+"ascii bfile bfilename bigserial bit blob dec long number nvarchar nvarchar2 serial smallint string text uid varchar2 xml",operatorChars:"*/+-%<>!=~",doubleQuotedStrings:!0,charSetCasts:!0,plsqlQuotingMechanism:!0});export{st as Cassandra,nt as MSSQL,rt as MariaSQL,at as MySQL,ot as PLSQL,tt as PostgreSQL,m as SQLDialect,it as SQLite,z as StandardSQL,Ke as keywordCompletion,We as keywordCompletionSource,Fe as schemaCompletion,Me as schemaCompletionSource,et as sql};
diff --git a/public/admin/assets/index-B-IrUVnq.js b/public/admin/assets/index-B-IrUVnq.js
new file mode 100644
index 0000000..92b14fe
--- /dev/null
+++ b/public/admin/assets/index-B-IrUVnq.js
@@ -0,0 +1,8 @@
+
+/**
+ * 由 Fantastic-admin 提供技术支持
+ * Powered by Fantastic-admin
+ * https://fantastic-admin.github.io
+ */
+
+import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js";import"./HDropdown-BtjElhzu.js";import"./index-CAe0BuuW.js";import"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import"./use-resolve-button-type-CIWo_h_W.js";export{o as default};
diff --git a/public/admin/assets/index-CPCk_-3k.js b/public/admin/assets/index-BCqFFscH.js
similarity index 99%
rename from public/admin/assets/index-CPCk_-3k.js
rename to public/admin/assets/index-BCqFFscH.js
index 8e41da9..6d4e3b4 100644
--- a/public/admin/assets/index-CPCk_-3k.js
+++ b/public/admin/assets/index-BCqFFscH.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{E as Y,s as S,t as Q,b as l,L as o,i as n,c as i,h as s,j as W,f as c,k as f,a as x}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const r=1,Z=2,V=3,u=82,p=76,w=117,q=85,T=97,y=122,z=65,b=90,j=95,a=48,P=34,v=40,U=41,d=32,t=62,_=new Y(O=>{if(O.next==p||O.next==q?O.advance():O.next==w&&(O.advance(),O.next==a+8&&O.advance()),O.next!=u||(O.advance(),O.next!=P))return;O.advance();let e="";for(;O.next!=v;){if(O.next==d||O.next<=13||O.next==U)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(r);if(O.next==U){let $=!0;for(let X=0;$&&X{if(O.next==t)O.peek(1)==t&&O.acceptToken(Z,1);else{let e=!1,$=0;for(;;$++){if(O.next>=z&&O.next<=b)e=!0;else{if(O.next>=T&&O.next<=y)return;if(O.next!=j&&!(O.next>=a&&O.next<=a+9))break}O.advance()}e&&$>1&&O.acceptToken(V)}},{extend:!0}),g=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":Q.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":Q.modifier,"if else switch for while do case default return break continue goto throw try catch":Q.controlKeyword,"co_return co_yield co_await":Q.controlKeyword,"new sizeof delete static_assert":Q.operatorKeyword,"NULL nullptr":Q.null,this:Q.self,"True False":Q.bool,"TypeSize PrimitiveType":Q.standard(Q.typeName),TypeIdentifier:Q.typeName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),"ModuleName/Identifier":Q.namespace,PartitionName:Q.labelName,StatementIdentifier:Q.labelName,"Identifier DestructorName":Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),"CallExpression/ScopedIdentifier/Identifier":Q.function(Q.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":Q.function(Q.definition(Q.variableName)),NamespaceIdentifier:Q.namespace,OperatorName:Q.operator,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,"RawString SystemLibString":Q.special(Q.string),CharLiteral:Q.character,EscapeSequence:Q.escape,"UserDefinedLiteral/Identifier":Q.literal,PreProcArg:Q.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":Q.processingInstruction,MacroName:Q.special(Q.name),"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"< >":Q.angleBracket,". ->":Q.derefOperator,", ;":Q.separator}),R={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},h={__proto__:null,"<":131},k={__proto__:null,">":135},G={__proto__:null,operator:388,new:576,delete:582},E=l.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#LQ'#LQOOQR'#LP'#LPOETQVO'#KQOFxQUO'#LVOGVQUO'#KqOGkQUO'#LVOH]QUO'#LXOOQR'#HU'#HUOOQR'#HV'#HVOOQR'#HW'#HWOOQR'#K|'#K|OOQR'#J_'#J_Q!QQVOOOHkQVO'#FOOIWQUO'#EhOI_QUOOOKZQVO'#HgOKkQUO'#HgONVQUO'#KqONaQUO'#KqOOQQ'#Kq'#KqO!!_QUO'#KqOOQQ'#Jq'#JqO!!lQUO'#HxOOQQ'#KZ'#KZO!&^QUO'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%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#o4Y#o;'S$e;'S;=`(u<%lO$e4e5xd)ZW(pQ'f&j'm.oOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![4Y![!c$e!c!}4Y!}#O$e#O#P&f#P#R$e#R#S4Y#S#T$e#T#X4Y#X#Y7W#Y#o4Y#o;'S$e;'S;=`(u<%lO$e4e7cd)ZW(pQ'f&j'm.oO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o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[_,m,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:O=>R[O]||-1},{term:32,get:O=>h[O]||-1},{term:66,get:O=>k[O]||-1},{term:363,get:O=>G[O]||-1}],tokenPrec:24891}),C=o.define({name:"cpp",parser:E.configure({props:[n.add({IfStatement:i({except:/^\s*({|else\b)/}),TryStatement:i({except:/^\s*({|catch)\b/}),LabeledStatement:s,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:W({closing:"}"}),Statement:i({except:/^{/})}),c.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":f,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function N(){return new x(C)}export{N as cpp,C as cppLanguage};
+import{E as Y,s as S,t as Q,b as l,L as o,i as n,c as i,h as s,j as W,f as c,k as f,a as x}from"./notice-CvCJnusr.js";import"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import"./index-CAe0BuuW.js";import"./config-CwtVyG0K.js";const r=1,Z=2,V=3,u=82,p=76,w=117,q=85,T=97,y=122,z=65,b=90,j=95,a=48,P=34,v=40,U=41,d=32,t=62,_=new Y(O=>{if(O.next==p||O.next==q?O.advance():O.next==w&&(O.advance(),O.next==a+8&&O.advance()),O.next!=u||(O.advance(),O.next!=P))return;O.advance();let e="";for(;O.next!=v;){if(O.next==d||O.next<=13||O.next==U)return;e+=String.fromCharCode(O.next),O.advance()}for(O.advance();;){if(O.next<0)return O.acceptToken(r);if(O.next==U){let $=!0;for(let X=0;$&&X{if(O.next==t)O.peek(1)==t&&O.acceptToken(Z,1);else{let e=!1,$=0;for(;;$++){if(O.next>=z&&O.next<=b)e=!0;else{if(O.next>=T&&O.next<=y)return;if(O.next!=j&&!(O.next>=a&&O.next<=a+9))break}O.advance()}e&&$>1&&O.acceptToken(V)}},{extend:!0}),g=S({"typedef struct union enum class typename decltype auto template operator friend noexcept namespace using requires concept import export module __attribute__ __declspec __based":Q.definitionKeyword,"extern MsCallModifier MsPointerModifier extern static register thread_local inline const volatile restrict _Atomic mutable constexpr constinit consteval virtual explicit VirtualSpecifier Access":Q.modifier,"if else switch for while do case default return break continue goto throw try catch":Q.controlKeyword,"co_return co_yield co_await":Q.controlKeyword,"new sizeof delete static_assert":Q.operatorKeyword,"NULL nullptr":Q.null,this:Q.self,"True False":Q.bool,"TypeSize PrimitiveType":Q.standard(Q.typeName),TypeIdentifier:Q.typeName,FieldIdentifier:Q.propertyName,"CallExpression/FieldExpression/FieldIdentifier":Q.function(Q.propertyName),"ModuleName/Identifier":Q.namespace,PartitionName:Q.labelName,StatementIdentifier:Q.labelName,"Identifier DestructorName":Q.variableName,"CallExpression/Identifier":Q.function(Q.variableName),"CallExpression/ScopedIdentifier/Identifier":Q.function(Q.variableName),"FunctionDeclarator/Identifier FunctionDeclarator/DestructorName":Q.function(Q.definition(Q.variableName)),NamespaceIdentifier:Q.namespace,OperatorName:Q.operator,ArithOp:Q.arithmeticOperator,LogicOp:Q.logicOperator,BitOp:Q.bitwiseOperator,CompareOp:Q.compareOperator,AssignOp:Q.definitionOperator,UpdateOp:Q.updateOperator,LineComment:Q.lineComment,BlockComment:Q.blockComment,Number:Q.number,String:Q.string,"RawString SystemLibString":Q.special(Q.string),CharLiteral:Q.character,EscapeSequence:Q.escape,"UserDefinedLiteral/Identifier":Q.literal,PreProcArg:Q.meta,"PreprocDirectiveName #include #ifdef #ifndef #if #define #else #endif #elif":Q.processingInstruction,MacroName:Q.special(Q.name),"( )":Q.paren,"[ ]":Q.squareBracket,"{ }":Q.brace,"< >":Q.angleBracket,". ->":Q.derefOperator,", ;":Q.separator}),R={__proto__:null,bool:34,char:34,int:34,float:34,double:34,void:34,size_t:34,ssize_t:34,intptr_t:34,uintptr_t:34,charptr_t:34,int8_t:34,int16_t:34,int32_t:34,int64_t:34,uint8_t:34,uint16_t:34,uint32_t:34,uint64_t:34,char8_t:34,char16_t:34,char32_t:34,char64_t:34,const:68,volatile:70,restrict:72,_Atomic:74,mutable:76,constexpr:78,constinit:80,consteval:82,struct:86,__declspec:90,final:148,override:148,public:152,private:152,protected:152,virtual:154,extern:160,static:162,register:164,inline:166,thread_local:168,__attribute__:172,__based:178,__restrict:180,__uptr:180,__sptr:180,_unaligned:180,__unaligned:180,noexcept:194,requires:198,TRUE:784,true:784,FALSE:786,false:786,typename:218,class:220,template:234,throw:248,__cdecl:256,__clrcall:256,__stdcall:256,__fastcall:256,__thiscall:256,__vectorcall:256,try:260,catch:264,export:282,import:286,case:296,default:298,if:308,else:314,switch:318,do:322,while:324,for:330,return:334,break:338,continue:342,goto:346,co_return:350,co_yield:354,using:362,typedef:366,namespace:380,new:398,delete:400,co_await:402,concept:406,enum:410,static_assert:414,friend:422,union:424,explicit:430,operator:444,module:456,signed:518,unsigned:518,long:518,short:518,decltype:528,auto:530,sizeof:566,NULL:572,nullptr:586,this:588},h={__proto__:null,"<":131},k={__proto__:null,">":135},G={__proto__:null,operator:388,new:576,delete:582},E=l.deserialize({version:14,states:"$:|Q!QQVOOP'gOUOOO(XOWO'#CdO,RQUO'#CgO,]QUO'#FjO-sQbO'#CwO.UQUO'#CwO0TQUO'#KZO0[QUO'#CvO0gOpO'#DvO0oQ!dO'#D]OOQR'#JO'#JOO5XQVO'#GUO5fQUO'#JVOOQQ'#JV'#JVO8zQUO'#KmO{QVO'#E^O?]QUO'#E^OOQQ'#Ed'#EdOOQQ'#Ee'#EeO?bQVO'#EfO@XQVO'#EiOBUQUO'#FPOBvQUO'#FhOOQR'#Fj'#FjOB{QUO'#FjOOQR'#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!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&S&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*q*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0h0{1Q1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fU%om%p7QQ&m!`Q(j#]d0P)}/|/}0O0R4}5O5P5S8QR7Q3Tb}Oaewx{!g&S*q&v$i[!W!X!k!n!r!s!v!x#X#Y#[#g#i#l#q#r#s#t#u#v#w#x#y#z#{#}$U$W$Y$e$f$k%]%m&Q&W&b&f&x&y&|'O'P'b'i'j'y(`(b(i)l)r*h*i*l*r*v+W+Y+h+j+k,P,R,n,q,w-]-^-a-g.P.Q.U.}/Q/[/c/l/n/s/u0{1a1b1l1p1z1|2c2f2i2u2z2}3i4O4R4W4a5Y5e5q6_6c6f6h6j6t6v6{7b7j7m8e8g8m8s8t9R9V9]9_9l9o9p9{:O:U:W:]:b:fS%`f0h#d%jgnp|#O$g$|$}%S%d%h%i%w&s't'u(Q*Y*`*b*t+],l,v-_-p-w.f.m.o0]0y0z1O1S2_2j5a6g;W;X;Y;`;a;b;o;p;q;r;v;w;x;y MacroName LineComment BlockComment PreprocDirective #include String EscapeSequence SystemLibString Identifier ArgumentList ( ConditionalExpression AssignmentExpression CallExpression PrimitiveType FieldExpression FieldIdentifier DestructorName TemplateMethod ScopedFieldIdentifier NamespaceIdentifier TemplateType TypeIdentifier ScopedTypeIdentifier ScopedNamespaceIdentifier :: NamespaceIdentifier TypeIdentifier TemplateArgumentList < TypeDescriptor const volatile restrict _Atomic mutable constexpr constinit consteval StructSpecifier struct MsDeclspecModifier __declspec ) Attribute AttributeName Identifier AttributeArgs { } [ ] UpdateOp ArithOp ArithOp ArithOp LogicOp BitOp BitOp BitOp CompareOp CompareOp CompareOp > CompareOp BitOp UpdateOp , Number CharLiteral AttributeArgs VirtualSpecifier BaseClassClause Access virtual FieldDeclarationList FieldDeclaration extern static register inline thread_local AttributeSpecifier __attribute__ PointerDeclarator MsBasedModifier __based MsPointerModifier FunctionDeclarator ParameterList ParameterDeclaration PointerDeclarator FunctionDeclarator Noexcept noexcept RequiresClause requires True False ParenthesizedExpression CommaExpression LambdaExpression LambdaCaptureSpecifier TemplateParameterList OptionalParameterDeclaration TypeParameterDeclaration typename class VariadicParameterDeclaration VariadicDeclarator ReferenceDeclarator OptionalTypeParameterDeclaration VariadicTypeParameterDeclaration TemplateTemplateParameterDeclaration template AbstractFunctionDeclarator AbstractPointerDeclarator AbstractArrayDeclarator AbstractParenthesizedDeclarator AbstractReferenceDeclarator ThrowSpecifier throw TrailingReturnType CompoundStatement FunctionDefinition MsCallModifier TryStatement try CatchClause catch LinkageSpecification Declaration InitDeclarator InitializerList InitializerPair SubscriptDesignator FieldDesignator ExportDeclaration export ImportDeclaration import ModuleName PartitionName HeaderName CaseStatement case default LabeledStatement StatementIdentifier ExpressionStatement IfStatement if ConditionClause Declaration else SwitchStatement switch DoStatement do while WhileStatement ForStatement for ReturnStatement return BreakStatement break ContinueStatement continue GotoStatement goto CoReturnStatement co_return CoYieldStatement co_yield AttributeStatement ForRangeLoop AliasDeclaration using TypeDefinition typedef PointerDeclarator FunctionDeclarator ArrayDeclarator ParenthesizedDeclarator ThrowStatement NamespaceDefinition namespace ScopedIdentifier Identifier OperatorName operator ArithOp BitOp CompareOp LogicOp new delete co_await ConceptDefinition concept UsingDeclaration enum StaticAssertDeclaration static_assert ConcatenatedString TemplateDeclaration FriendDeclaration friend union FunctionDefinition ExplicitFunctionSpecifier explicit FieldInitializerList FieldInitializer DefaultMethodClause DeleteMethodClause FunctionDefinition OperatorCast operator TemplateInstantiation FunctionDefinition FunctionDefinition Declaration ModuleDeclaration module RequiresExpression RequirementList SimpleRequirement TypeRequirement CompoundRequirement ReturnTypeRequirement ConstraintConjuction LogicOp ConstraintDisjunction LogicOp ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator TemplateFunction OperatorName StructuredBindingDeclarator ArrayDeclarator ParenthesizedDeclarator ReferenceDeclarator BitfieldClause FunctionDefinition FunctionDefinition Declaration FunctionDefinition Declaration AccessSpecifier UnionSpecifier ClassSpecifier EnumSpecifier SizedTypeSpecifier TypeSize EnumeratorList Enumerator DependentType Decltype decltype auto PlaceholderTypeSpecifier ParameterPackExpansion ParameterPackExpansion FieldIdentifier PointerExpression SubscriptExpression BinaryExpression ArithOp LogicOp LogicOp BitOp UnaryExpression LogicOp BitOp UpdateExpression CastExpression SizeofExpression sizeof CoAwaitExpression CompoundLiteralExpression NULL NewExpression new NewDeclarator DeleteExpression delete ParameterPackExpansion nullptr this UserDefinedLiteral ParamPack #define PreprocArg #if #ifdef #ifndef #else #endif #elif PreprocDirectiveName Macro Program",maxTerm:425,nodeProps:[["group",-35,1,8,11,14,15,16,18,71,72,100,101,102,104,191,208,229,242,243,270,271,272,277,280,281,282,284,285,286,287,290,292,293,294,295,296,"Expression",-13,17,24,25,26,42,255,256,257,258,262,263,265,266,"Type",-19,126,129,147,150,152,153,158,160,163,164,166,168,170,172,174,176,178,179,188,"Statement"],["isolate",-4,4,5,8,10,""]],propSources:[g],skippedNodes:[0,3,4,5,6,7,10,297,298,299,300,301,302,303,304,305,306,347,348],repeatNodeCount:41,tokenData:"&*r7ZR!UOX$eXY({YZ.gZ]$e]^+P^p$epq({qr.}rs0}st2ktu$euv!7dvw!9bwx!;exy!O{|!?R|}!AV}!O!BQ!O!P!DX!P!Q#+y!Q!R#Az!R![$(x![!]$Ag!]!^$Cc!^!_$D^!_!`%1W!`!a%2X!a!b%5_!b!c$e!c!n%6Y!n!o%7q!o!w%6Y!w!x%7q!x!}%6Y!}#O%:n#O#P%u#Y#]4Y#]#^NZ#^#o4Y#o;'S$e;'S;=`(u<%lO$e4e4eb)ZW(pQ'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O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&(Sc)ZW(pQ'f&jOX$eXY&'yZp$epq&'yqr$ers%^sw$ewx(Ox!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e&y&)jb)ZW(pQdT'f&jOY$eZr$ers%^sw$ewx(Ox!Q$e!Q![&)_![!c$e!c!}&)_!}#O$e#O#P&f#P#R$e#R#S&)_#S#T$e#T#o&)_#o;'S$e;'S;=`(u<%lO$e",tokenizers:[_,m,0,1,2,3,4,5,6,7,8,9],topRules:{Program:[0,307]},dynamicPrecedences:{87:1,94:1,119:1,184:1,187:-10,240:-10,241:1,244:-1,246:-10,247:1,262:-1,267:2,268:2,306:-10,365:3,417:1,418:3,419:1,420:1},specialized:[{term:356,get:O=>R[O]||-1},{term:32,get:O=>h[O]||-1},{term:66,get:O=>k[O]||-1},{term:363,get:O=>G[O]||-1}],tokenPrec:24891}),C=o.define({name:"cpp",parser:E.configure({props:[n.add({IfStatement:i({except:/^\s*({|else\b)/}),TryStatement:i({except:/^\s*({|catch)\b/}),LabeledStatement:s,CaseStatement:O=>O.baseIndent+O.unit,BlockComment:()=>null,CompoundStatement:W({closing:"}"}),Statement:i({except:/^{/})}),c.add({"DeclarationList CompoundStatement EnumeratorList FieldDeclarationList InitializerList":f,BlockComment(O){return{from:O.from+2,to:O.to-2}}})]}),languageData:{commentTokens:{line:"//",block:{open:"/*",close:"*/"}},indentOnInput:/^\s*(?:case |default:|\{|\})$/,closeBrackets:{stringPrefixes:["L","u","U","u8","LR","UR","uR","u8R","R"]}}});function N(){return new x(C)}export{N as cpp,C as cppLanguage};
diff --git a/public/admin/assets/index-BGSS2M6V.js b/public/admin/assets/index-BGSS2M6V.js
new file mode 100644
index 0000000..bd536e6
--- /dev/null
+++ b/public/admin/assets/index-BGSS2M6V.js
@@ -0,0 +1,8 @@
+
+/**
+ * 由 Fantastic-admin 提供技术支持
+ * Powered by Fantastic-admin
+ * https://fantastic-admin.github.io
+ */
+
+import{d as o,u as i,g as r,c as a,e,b as t,y as n,M as m,i as c,l as p}from"./index-CAe0BuuW.js";import{_ as l}from"./leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js";import{_}from"./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js";import"./index-CprVCdi5.js";import"./index-BhXahEts.js";import"./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js";import"./index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js";import"./HDropdown-BtjElhzu.js";import"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import"./use-resolve-button-type-CIWo_h_W.js";import"./index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js";import"./index-Dp-A2VeR.js";import"./index.vue_vue_type_script_setup_true_lang-B135yVzK.js";import"./HKbd-ajmXhnhP.js";import"./index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js";import"./useMainPage-PJO-ub0s.js";const d={class:"toolbar-container flex items-center justify-between"},f={class:"h-full flex items-center of-hidden pl-2 pr-16",style:{"mask-image":"linear-gradient(90deg, #000 0%, #000 calc(100% - 50px), transparent)"}},u={class:"h-full flex items-center px-2"},h=o({name:"Toolbar",__name:"index",setup(x){const s=i();return(g,b)=>(r(),a("div",d,[e("div",f,[t(l)]),n(e("div",u,[t(_)],512),[[m,["side","single"].includes(c(s).settings.menu.menuMode)]])]))}}),z=p(h,[["__scopeId","data-v-6a8fd0ab"]]);export{z as default};
diff --git a/public/admin/assets/index-BsxNmcGU.js b/public/admin/assets/index-BIBJqTOW.js
similarity index 76%
rename from public/admin/assets/index-BsxNmcGU.js
rename to public/admin/assets/index-BIBJqTOW.js
index 05e0cd9..07994e3 100644
--- a/public/admin/assets/index-BsxNmcGU.js
+++ b/public/admin/assets/index-BIBJqTOW.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js";import"./HKbd-Dkpr3OfM.js";import"./index-DEc4xym2.js";export{o as default};
+import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-B135yVzK.js";import"./HKbd-ajmXhnhP.js";import"./index-CAe0BuuW.js";export{o as default};
diff --git a/public/admin/assets/index-O7C3nkUu.js b/public/admin/assets/index-BOGDNEcr.js
similarity index 91%
rename from public/admin/assets/index-O7C3nkUu.js
rename to public/admin/assets/index-BOGDNEcr.js
index ae9dedd..d6de4ef 100644
--- a/public/admin/assets/index-O7C3nkUu.js
+++ b/public/admin/assets/index-BOGDNEcr.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as y,u as k,ab as w,g as a,z as v,w as S,i as t,c as s,b as M,e as r,F as C,s as B,A as c,ad as j,Q as h,t as z,j as N,l as V}from"./index-DEc4xym2.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-BstFZRfU.js";import{u as F}from"./useMenu-C9VPEhUW.js";const I={key:0,class:"main-sidebar-container"},T={class:"menu flex flex-col of-hidden transition-all"},A=["title","onClick"],D={class:"w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]"},E={class:"w-full flex-1 truncate text-center text-sm transition-height transition-opacity transition-width"},L=y({name:"MainSidebar",__name:"index",setup(Q){const i=k(),o=w(),{switchTo:b}=F();return(q,G)=>{const x=N;return a(),v(j,{name:"main-sidebar"},{default:S(()=>[t(i).settings.menu.menuMode==="side"||t(i).mode==="mobile"&&t(i).settings.menu.menuMode!=="single"?(a(),s("div",I,[M($,{"show-title":!1,class:"sidebar-logo"}),r("div",T,[(a(!0),s(C,null,B(t(o).allMenus,(e,n)=>{var l,m,u,d,f,_,g,p;return a(),s("div",{key:n,class:h(["menu-item relative transition-all",{active:n===t(o).actived}])},[e.children&&e.children.length!==0?(a(),s("div",{key:0,class:h(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover-bg-[var(--g-main-sidebar-menu-hover-bg)] hover-text-[var(--g-main-sidebar-menu-hover-color)] px-2!",{"text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!":n===t(o).actived}]),title:typeof((l=e.meta)==null?void 0:l.title)=="function"?(m=e.meta)==null?void 0:m.title():(u=e.meta)==null?void 0:u.title,onClick:H=>t(b)(n)},[r("div",D,[(d=e.meta)!=null&&d.icon?(a(),v(x,{key:0,name:(f=e.meta)==null?void 0:f.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),r("span",E,z(typeof((_=e.meta)==null?void 0:_.title)=="function"?(g=e.meta)==null?void 0:g.title():(p=e.meta)==null?void 0:p.title),1)])],10,A)):c("",!0)],2)}),128))])])):c("",!0)]),_:1})}}}),P=V(L,[["__scopeId","data-v-74880cce"]]);export{P as default};
+import{d as y,u as k,ab as w,g as a,z as v,w as S,i as t,c as s,b as M,e as r,F as C,s as B,A as c,ad as j,Q as h,t as z,j as N,l as V}from"./index-CAe0BuuW.js";import{_ as $}from"./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js";import{u as F}from"./useMenu-BBkTa_-z.js";const I={key:0,class:"main-sidebar-container"},T={class:"menu flex flex-col of-hidden transition-all"},A=["title","onClick"],D={class:"w-full inline-flex flex-1 flex-col items-center justify-center gap-[2px]"},E={class:"w-full flex-1 truncate text-center text-sm transition-height transition-opacity transition-width"},L=y({name:"MainSidebar",__name:"index",setup(Q){const i=k(),o=w(),{switchTo:b}=F();return(q,G)=>{const x=N;return a(),v(j,{name:"main-sidebar"},{default:S(()=>[t(i).settings.menu.menuMode==="side"||t(i).mode==="mobile"&&t(i).settings.menu.menuMode!=="single"?(a(),s("div",I,[M($,{"show-title":!1,class:"sidebar-logo"}),r("div",T,[(a(!0),s(C,null,B(t(o).allMenus,(e,n)=>{var l,m,u,d,f,_,g,p;return a(),s("div",{key:n,class:h(["menu-item relative transition-all",{active:n===t(o).actived}])},[e.children&&e.children.length!==0?(a(),s("div",{key:0,class:h(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 py-4 text-[var(--g-main-sidebar-menu-color)] transition-all hover-bg-[var(--g-main-sidebar-menu-hover-bg)] hover-text-[var(--g-main-sidebar-menu-hover-color)] px-2!",{"text-[var(--g-main-sidebar-menu-active-color)]! bg-[var(--g-main-sidebar-menu-active-bg)]!":n===t(o).actived}]),title:typeof((l=e.meta)==null?void 0:l.title)=="function"?(m=e.meta)==null?void 0:m.title():(u=e.meta)==null?void 0:u.title,onClick:H=>t(b)(n)},[r("div",D,[(d=e.meta)!=null&&d.icon?(a(),v(x,{key:0,name:(f=e.meta)==null?void 0:f.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),r("span",E,z(typeof((_=e.meta)==null?void 0:_.title)=="function"?(g=e.meta)==null?void 0:g.title():(p=e.meta)==null?void 0:p.title),1)])],10,A)):c("",!0)],2)}),128))])])):c("",!0)]),_:1})}}}),P=V(L,[["__scopeId","data-v-74880cce"]]);export{P as default};
diff --git a/public/admin/assets/index-DTod8imv.js b/public/admin/assets/index-BQKCY3x4.js
similarity index 94%
rename from public/admin/assets/index-DTod8imv.js
rename to public/admin/assets/index-BQKCY3x4.js
index 2dde0d8..f4ba12d 100644
--- a/public/admin/assets/index-DTod8imv.js
+++ b/public/admin/assets/index-BQKCY3x4.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import{I as x,d as W,r as p,m as X,a as Z,n,q as E,g as u,c as b,b as e,w as l,F as P,s as I,i as s,h as c,y as ee,z as v,t as k,e as te,K as le,E as z,k as N}from"./index-DEc4xym2.js";import{P as ae,h as oe,i as re,j as ne}from"./index-J5zVJPyL.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";const O={queryAllOrder:_=>x.get("order/queryAll",{params:_}),deleteOrder:_=>x.post("order/delete",_),deleteNotPay:()=>x.post("order/deleteNotPay")},ie=te("div",{class:"flex items-center gap-4"},"订单列表",-1),ue=W({__name:"index",setup(_){const m=p(!1),g=p(!1),V=p([]),C=p(),S=p(0),T=p(0),o=X({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function d(){m.value=!0;try{const r=await O.queryAllOrder(o);m.value=!1;const{rows:a,count:h,total_price:f}=r.data;S.value=h,U.value=a,T.value=f}catch{m.value=!1}}async function Y(r){const a=await le.queryAllUser({size:30,username:r});V.value=a.data.rows}function q(r){r==null||r.resetFields(),d()}async function L(r){const{orderId:a}=r;await O.deleteOrder({orderId:a}),z.success("删除订单完成!"),d()}async function F(){g.value=!0;try{await O.deleteNotPay(),z.success("删除未支付订单完成!"),await d(),g.value=!1}catch{z.error("删除未支付订单失败!"),g.value=!1}}return Z(()=>{d()}),(r,a)=>{const h=Q,f=n("el-option"),A=n("el-select"),w=n("el-form-item"),y=n("el-button"),D=n("el-popconfirm"),R=n("el-form"),j=n("el-statistic"),M=J,i=n("el-table-column"),B=n("el-tag"),$=n("el-table"),H=n("el-pagination"),K=n("el-row"),G=E("loading");return u(),b("div",null,[e(h,null,{title:l(()=>[ie]),_:1}),e(M,{class:"flex items-start justify-between"},{default:l(()=>[e(R,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:l(()=>[e(w,{label:"用户名称",prop:"userId"},{default:l(()=>[e(A,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.userId=t),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":Y,style:{width:"180px"}},{default:l(()=>[(u(!0),b(P,null,I(s(V),t=>(u(),v(f,{key:t.id,label:t.username,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付平台",prop:"platform"},{default:l(()=>[e(A,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=t=>o.platform=t),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(ae),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付状态",prop:"status"},{default:l(()=>[e(A,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=t=>o.status=t),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(oe),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,null,{default:l(()=>[e(y,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),e(y,{onClick:a[3]||(a[3]=t=>q(s(C)))},{default:l(()=>[c(" 重置 ")]),_:1}),e(D,{title:"确认删除所有未支付订单么?",onConfirm:F},{reference:l(()=>[e(y,{type:"danger"},{default:l(()=>[c(" 删除所有未支付订单 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(j,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),e(M,{style:{width:"100%"}},{default:l(()=>[ee((u(),v($,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[e(i,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),e(i,{prop:"userInfo.username",label:"用户名称",width:"180"}),e(i,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),e(i,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),e(i,{prop:"price",label:"商品单价",width:"110"}),e(i,{prop:"count",label:"购买数量",width:"90",align:"center"}),e(i,{prop:"total",label:"订单总价",width:"90",align:"center"}),e(i,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(t=>[c(k(s(re)[t.row.payPlatform]),1)]),_:1}),e(i,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(t=>[e(B,{type:t.row.status===1?"success":"warning"},{default:l(()=>[c(k(s(ne)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(i,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(t=>[c(k(s(se)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(i,{fixed:"right",label:"操作"},{default:l(t=>[e(D,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:de=>L(t.row)},{reference:l(()=>[e(y,{link:"",type:"danger",size:"small",loading:s(g)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[G,s(m)]]),e(K,{class:"mt-5 flex justify-end"},{default:l(()=>[e(H,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=t=>o.page=t),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=t=>o.size=t),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ue);export{ue as default};
+import{_ as J}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{_ as Q}from"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import{I as x,d as W,r as p,m as X,a as Z,n,q as E,g as u,c as b,b as e,w as l,F as P,s as I,i as s,h as c,y as ee,z as v,t as k,e as te,K as le,E as z,k as N}from"./index-CAe0BuuW.js";import{P as ae,h as oe,i as re,j as ne}from"./index-DfBvkKrB.js";import{u as se}from"./utcformatTime-Bq4gDWNx.js";const O={queryAllOrder:_=>x.get("order/queryAll",{params:_}),deleteOrder:_=>x.post("order/delete",_),deleteNotPay:()=>x.post("order/deleteNotPay")},ie=te("div",{class:"flex items-center gap-4"},"订单列表",-1),ue=W({__name:"index",setup(_){const m=p(!1),g=p(!1),V=p([]),C=p(),S=p(0),T=p(0),o=X({userId:"",platform:"",status:"",page:1,size:15}),U=p([]);async function d(){m.value=!0;try{const r=await O.queryAllOrder(o);m.value=!1;const{rows:a,count:h,total_price:f}=r.data;S.value=h,U.value=a,T.value=f}catch{m.value=!1}}async function Y(r){const a=await le.queryAllUser({size:30,username:r});V.value=a.data.rows}function q(r){r==null||r.resetFields(),d()}async function L(r){const{orderId:a}=r;await O.deleteOrder({orderId:a}),z.success("删除订单完成!"),d()}async function F(){g.value=!0;try{await O.deleteNotPay(),z.success("删除未支付订单完成!"),await d(),g.value=!1}catch{z.error("删除未支付订单失败!"),g.value=!1}}return Z(()=>{d()}),(r,a)=>{const h=Q,f=n("el-option"),A=n("el-select"),w=n("el-form-item"),y=n("el-button"),D=n("el-popconfirm"),R=n("el-form"),j=n("el-statistic"),M=J,i=n("el-table-column"),B=n("el-tag"),$=n("el-table"),H=n("el-pagination"),K=n("el-row"),G=E("loading");return u(),b("div",null,[e(h,null,{title:l(()=>[ie]),_:1}),e(M,{class:"flex items-start justify-between"},{default:l(()=>[e(R,{ref_key:"formRef",ref:C,inline:!0,model:o},{default:l(()=>[e(w,{label:"用户名称",prop:"userId"},{default:l(()=>[e(A,{modelValue:o.userId,"onUpdate:modelValue":a[0]||(a[0]=t=>o.userId=t),filterable:"",clearable:"",remote:"","reserve-keyword":"",placeholder:"用户姓名[模糊搜索]","remote-show-suffix":"","remote-method":Y,style:{width:"180px"}},{default:l(()=>[(u(!0),b(P,null,I(s(V),t=>(u(),v(f,{key:t.id,label:t.username,value:t.id},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付平台",prop:"platform"},{default:l(()=>[e(A,{modelValue:o.platform,"onUpdate:modelValue":a[1]||(a[1]=t=>o.platform=t),clearable:"",placeholder:"请选择支付平台","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(ae),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,{label:"支付状态",prop:"status"},{default:l(()=>[e(A,{modelValue:o.status,"onUpdate:modelValue":a[2]||(a[2]=t=>o.status=t),clearable:"",placeholder:"请选择支付状态","remote-show-suffix":"",style:{width:"160px"}},{default:l(()=>[(u(!0),b(P,null,I(s(oe),t=>(u(),v(f,{key:t.value,label:t.label,value:t.value},null,8,["label","value"]))),128))]),_:1},8,["modelValue"])]),_:1}),e(w,null,{default:l(()=>[e(y,{type:"primary",onClick:d},{default:l(()=>[c(" 查询 ")]),_:1}),e(y,{onClick:a[3]||(a[3]=t=>q(s(C)))},{default:l(()=>[c(" 重置 ")]),_:1}),e(D,{title:"确认删除所有未支付订单么?",onConfirm:F},{reference:l(()=>[e(y,{type:"danger"},{default:l(()=>[c(" 删除所有未支付订单 ")]),_:1})]),_:1})]),_:1})]),_:1},8,["model"]),e(j,{title:"累计已支付订单金额",value:s(T)},null,8,["value"])]),_:1}),e(M,{style:{width:"100%"}},{default:l(()=>[ee((u(),v($,{border:"",data:s(U),style:{width:"100%"},size:"large","tooltip-options":{}},{default:l(()=>[e(i,{fixed:"",prop:"orderId",label:"订单ID",width:"315"}),e(i,{prop:"userInfo.username",label:"用户名称",width:"180"}),e(i,{prop:"userInfo.email",label:"用户邮箱",width:"200"}),e(i,{prop:"goodsInfo.name",label:"套餐名称",width:"140"}),e(i,{prop:"price",label:"商品单价",width:"110"}),e(i,{prop:"count",label:"购买数量",width:"90",align:"center"}),e(i,{prop:"total",label:"订单总价",width:"90",align:"center"}),e(i,{prop:"total",label:"支付平台",width:"90",align:"center"},{default:l(t=>[c(k(s(re)[t.row.payPlatform]),1)]),_:1}),e(i,{prop:"status",label:"支付状态",width:"90",align:"center"},{default:l(t=>[e(B,{type:t.row.status===1?"success":"warning"},{default:l(()=>[c(k(s(ne)[t.row.status]),1)]),_:2},1032,["type"])]),_:1}),e(i,{prop:"createdAt",label:"订单时间",width:"200",fixed:"right"},{default:l(t=>[c(k(s(se)(t.row.createdAt,"YYYY-MM-DD hh:mm:ss")),1)]),_:1}),e(i,{fixed:"right",label:"操作"},{default:l(t=>[e(D,{title:"确认删除此订单么、删除订单不可恢复?",width:"400","icon-color":"red",onConfirm:de=>L(t.row)},{reference:l(()=>[e(y,{link:"",type:"danger",size:"small",loading:s(g)},{default:l(()=>[c(" 删除订单 ")]),_:1},8,["loading"])]),_:2},1032,["onConfirm"])]),_:1})]),_:1},8,["data"])),[[G,s(m)]]),e(K,{class:"mt-5 flex justify-end"},{default:l(()=>[e(H,{"current-page":o.page,"onUpdate:currentPage":a[4]||(a[4]=t=>o.page=t),"page-size":o.size,"onUpdate:pageSize":a[5]||(a[5]=t=>o.size=t),class:"mr-5","page-sizes":[15,30,50,100],layout:"total, sizes, prev, pager, next, jumper",total:s(S),onSizeChange:d,onCurrentChange:d},null,8,["current-page","page-size","total"])]),_:1})]),_:1})])}}});typeof N=="function"&&N(ue);export{ue as default};
diff --git a/public/admin/assets/index-dw8lITaw.js b/public/admin/assets/index-BYVK8Yvh.js
similarity index 98%
rename from public/admin/assets/index-dw8lITaw.js
rename to public/admin/assets/index-BYVK8Yvh.js
index ff0d53a..062e903 100644
--- a/public/admin/assets/index-dw8lITaw.js
+++ b/public/admin/assets/index-BYVK8Yvh.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{s as r,t as O,L as i,i as n,c as $,f as y,k as P,n as X,a as m,b as c,E as S}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQWO'#DZO%pQWO'#D^O%uQaO'#DfOOQP'#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!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new m(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage};
+import{s as r,t as O,L as i,i as n,c as $,f as y,k as P,n as X,a as m,b as c,E as S}from"./notice-CvCJnusr.js";import"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import"./index-CAe0BuuW.js";import"./config-CwtVyG0K.js";const s=110,l=1,f=2,t=[9,10,11,12,13,32,133,160,5760,8192,8193,8194,8195,8196,8197,8198,8199,8200,8201,8202,8232,8233,8239,8287,12288];function e(T){return T>=65&&T<=90||T>=97&&T<=122||T>=161}function p(T){return T>=48&&T<=57}const W=new S((T,Q)=>{if(T.next==40){let a=T.peek(-1);(e(a)||p(a)||a==95||a==45)&&T.acceptToken(f,1)}}),d=new S(T=>{if(t.indexOf(T.peek(-1))>-1){let{next:Q}=T;(e(Q)||Q==95||Q==35||Q==46||Q==91||Q==58||Q==45)&&T.acceptToken(s)}}),Z=new S(T=>{if(t.indexOf(T.peek(-1))<0){let{next:Q}=T;if(Q==37&&(T.advance(),T.acceptToken(l)),e(Q)){do T.advance();while(e(T.next));T.acceptToken(l)}}}),w=r({"import charset namespace keyframes media supports when":O.definitionKeyword,"from to selector":O.keyword,NamespaceName:O.namespace,KeyframeName:O.labelName,TagName:O.tagName,ClassName:O.className,PseudoClassName:O.constant(O.className),IdName:O.labelName,"FeatureName PropertyName PropertyVariable":O.propertyName,AttributeName:O.attributeName,NumberLiteral:O.number,KeywordQuery:O.keyword,UnaryQueryOp:O.operatorKeyword,"CallTag ValueName":O.atom,VariableName:O.variableName,"AtKeyword Interpolation":O.special(O.variableName),Callee:O.operatorKeyword,Unit:O.unit,"UniversalSelector NestingSelector":O.definitionOperator,MatchOp:O.compareOperator,"ChildOp SiblingOp, LogicOp":O.logicOperator,BinOp:O.arithmeticOperator,Important:O.modifier,"Comment LineComment":O.blockComment,ColorLiteral:O.color,"ParenthesizedContent StringLiteral":O.string,Escape:O.special(O.string),": ...":O.punctuation,"PseudoOp #":O.derefOperator,"; ,":O.separator,"( )":O.paren,"[ ]":O.squareBracket,"{ }":O.brace}),z={__proto__:null,lang:40,"nth-child":40,"nth-last-child":40,"nth-of-type":40,"nth-last-of-type":40,dir:40,"host-context":40,and:244,or:244,not:74,only:74,url:86,"url-prefix":86,domain:86,regexp:86,when:117,selector:142,from:172,to:174},h={__proto__:null,"@import":126,"@plugin":126,"@media":152,"@charset":156,"@namespace":160,"@keyframes":166,"@supports":178},g=c.deserialize({version:14,states:"@^O!gQWOOO!nQaO'#CeOOQP'#Cd'#CdO$RQWO'#CgO$xQaO'#EaO%cQWO'#CiO%kQW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vm!-oU|`Oy!*kyz!+vz;'S!*k;'S;=`!.R;=`<%l!+v<%lO!*km!.UXOY!+vZr!+vrs!,cs#O!+v#O#P!,h#P;'S!+v;'S;=`!-d;=`<%l!*k<%lO!+vm!.tP;=`<%l!*km!.|Z|`OY!.wYZ%TZw!.wwx!+cxy!.wyz!/oz#O!.w#O#P!1^#P;'S!.w;'S;=`!2e<%lO!.w]!/rWOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W<%lO!/o]!0_RO;'S!/o;'S;=`!0h;=`O!/o]!0kXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!/o<%lO!/o]!1ZP;=`<%l!/om!1cU|`Oy!.wyz!/oz;'S!.w;'S;=`!1u;=`<%l!/o<%lO!.wm!1xXOY!/oZw!/owx!,cx#O!/o#O#P!0[#P;'S!/o;'S;=`!1W;=`<%l!.w<%lO!/om!2hP;=`<%l!.w`!2nP;=`<%l$t",tokenizers:[d,Z,W,0,1,2,3,4],topRules:{StyleSheet:[0,5]},specialized:[{term:116,get:T=>z[T]||-1},{term:23,get:T=>h[T]||-1}],tokenPrec:2180}),o=i.define({name:"less",parser:g.configure({props:[n.add({Declaration:$()}),y.add({Block:P})]}),languageData:{commentTokens:{block:{open:"/*",close:"*/"},line:"//"},indentOnInput:/^\s*\}$/,wordChars:"@-"}}),u=X(T=>T.name=="VariableName"||T.name=="AtKeyword");function G(){return new m(o,o.data.of({autocomplete:u}))}export{G as less,u as lessCompletionSource,o as lessLanguage};
diff --git a/public/admin/assets/index-BcUjYA-t.js b/public/admin/assets/index-BcUjYA-t.js
deleted file mode 100644
index ea863da..0000000
--- a/public/admin/assets/index-BcUjYA-t.js
+++ /dev/null
@@ -1,8 +0,0 @@
-
-/**
- * 由 Fantastic-admin 提供技术支持
- * Powered by Fantastic-admin
- * https://fantastic-admin.github.io
- */
-
-import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-TAw7CesO.js";import"./index-DEc4xym2.js";import"./useMainPage-qAU7S-kt.js";export{o as default};
diff --git a/public/admin/assets/index-Dpn345X_.js b/public/admin/assets/index-BeaVUBD5.js
similarity index 94%
rename from public/admin/assets/index-Dpn345X_.js
rename to public/admin/assets/index-BeaVUBD5.js
index 30c50ff..ce7e43a 100644
--- a/public/admin/assets/index-Dpn345X_.js
+++ b/public/admin/assets/index-BeaVUBD5.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{s as p,t as e,L as u,a as l,b as m,l as r,q as b,r as n,v as S}from"./notice-DMe6HJCf.js";import"./index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js";import"./index-DEc4xym2.js";import"./config-BQ9gBCXa.js";const c=m.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=S.parser.configure({top:"SingleExpression"}),o=c.configure({props:[p({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),s={parser:P},Q=o.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?s:null)}),g=o.configure({wrap:n((O,t)=>O.name=="AttributeScript"?s:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=b();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function d(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new l(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{d as vue,T as vueLanguage};
+import{s as p,t as e,L as u,a as l,b as m,l as r,q as b,r as n,v as S}from"./notice-CvCJnusr.js";import"./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js";import"./index-CAe0BuuW.js";import"./config-CwtVyG0K.js";const c=m.deserialize({version:14,states:"%pOVOWOOObQPOOOpOSO'#C_OOOO'#Cp'#CpQVOWOOQxQPOOO!TQQOOQ!YQPOOOOOO,58y,58yO!_OSO,58yOOOO-E6n-E6nO!dQQO'#CqQ{QPOOO!iQPOOQ{QPOOO!qQPOOOOOO1G.e1G.eOOQO,59],59]OOQO-E6o-E6oO!yOpO'#CiO#RO`O'#CiQOQPOOO#ZO#tO'#CmO#fO!bO'#CmOOQO,59T,59TO#qOpO,59TO#vO`O,59TOOOO'#Cr'#CrO#{O#tO,59XOOQO,59X,59XOOOO'#Cs'#CsO$WO!bO,59XOOQO1G.o1G.oOOOO-E6p-E6pOOQO1G.s1G.sOOOO-E6q-E6q",stateData:"$g~OjOS~OQROUROkQO~OWTOXUOZUO`VO~OSXOTWO~OXUO[]OlZO~OY^O~O[_O~OT`O~OYaO~OmcOodO~OmfOogO~O^iOnhO~O_jOphO~ObkOqkOrmO~OcnOsnOtmO~OnpO~OppO~ObkOqkOrrO~OcnOsnOtrO~OWX`~",goto:"!^hPPPiPPPPPPPPPmPPPpPPsy!Q!WTROSRe]Re_QSORYSS[T^Rb[QlfRqlQogRso",nodeNames:"⚠ Content Text Interpolation InterpolationContent }} Entity Attribute VueAttributeName : Identifier @ Is ScriptAttributeValue AttributeScript AttributeScript AttributeName AttributeValue Entity Entity",maxTerm:36,nodeProps:[["isolate",-3,3,13,17,""]],skippedNodes:[0],repeatNodeCount:4,tokenData:"'y~RdXY!aYZ!a]^!apq!ars!rwx!w}!O!|!O!P#t!Q![#y![!]$s!_!`%g!b!c%l!c!}#y#R#S#y#T#j#y#j#k%q#k#o#y%W;'S#y;'S;:j$m<%lO#y~!fSj~XY!aYZ!a]^!apq!a~!wOm~~!|Oo~!b#RX`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|!b#qP;=`<%l!|~#yOl~%W$QXY#t`!b}!O!|!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y%W$pP;=`<%l#y~$zXX~`!b}!O!|!Q![!|![!]!|!c!}!|#R#S!|#T#o!|%W;'S!|;'S;:j#n<%lO!|~%lO[~~%qOZ~%W%xXY#t`!b}!O&e!Q![#y![!]!|!c!}#y#R#S#y#T#o#y%W;'S#y;'S;:j$m<%lO#y!b&jX`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|!b'^XW!b`!b}!O!|!Q![!|![!]!|!c!}'V#R#S!|#T#o'V%W;'S!|;'S;:j#n<%lO!|",tokenizers:[6,7,new r("b~RP#q#rU~XP#q#r[~aOT~~",17,4),new r("!k~RQvwX#o#p!_~^TU~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOU~~![P;=`<%lm~!bP#o#p!e~!jOk~~",72,2),new r("[~RPwxU~ZOp~~",11,15),new r("[~RPrsU~ZOn~~",11,14),new r("!e~RQvwXwx!_~^Tc~Opmq!]m!^;'Sm;'S;=`!X<%lOm~pUOpmq!]m!]!^!S!^;'Sm;'S;=`!X<%lOm~!XOc~~![P;=`<%lm~!dOt~~",66,35),new r("!e~RQrsXvw^~^Or~~cTb~Oprq!]r!^;'Sr;'S;=`!^<%lOr~uUOprq!]r!]!^!X!^;'Sr;'S;=`!^<%lOr~!^Ob~~!aP;=`<%lr~",66,33)],topRules:{Content:[0,1],Attribute:[1,7]},tokenPrec:157}),P=S.parser.configure({top:"SingleExpression"}),o=c.configure({props:[p({Text:e.content,Is:e.definitionOperator,AttributeName:e.attributeName,VueAttributeName:e.keyword,Identifier:e.variableName,"AttributeValue ScriptAttributeValue":e.attributeValue,Entity:e.character,"{{ }}":e.brace,"@ :":e.punctuation})]}),s={parser:P},Q=o.configure({wrap:n((O,t)=>O.name=="InterpolationContent"?s:null)}),g=o.configure({wrap:n((O,t)=>O.name=="AttributeScript"?s:null),top:"Attribute"}),y={parser:Q},R={parser:g},a=b();function i(O){return O.configure({dialect:"selfClosing",wrap:n(X)},"vue")}const T=i(a.language);function X(O,t){switch(O.name){case"Attribute":return/^(@|:|v-)/.test(t.read(O.from,O.from+2))?R:null;case"Text":return y}return null}function d(O={}){let t=a;if(O.base){if(O.base.language.name!="html"||!(O.base.language instanceof u))throw new RangeError("The base option must be the result of calling html(...)");t=O.base}return new l(t.language==a.language?T:i(t.language),[t.support,t.language.data.of({closeBrackets:{brackets:["{",'"']}})])}export{d as vue,T as vueLanguage};
diff --git a/public/admin/assets/index-D2N8hAxR.js b/public/admin/assets/index-BhXahEts.js
similarity index 83%
rename from public/admin/assets/index-D2N8hAxR.js
rename to public/admin/assets/index-BhXahEts.js
index 9c63adf..d21bead 100644
--- a/public/admin/assets/index-D2N8hAxR.js
+++ b/public/admin/assets/index-BhXahEts.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{l as t,g as s,c,P as r}from"./index-DEc4xym2.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),c("div",o,[r(e.$slots,"default",{},void 0,!0)])}const l=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{l as default};
+import{l as t,g as s,c,P as r}from"./index-CAe0BuuW.js";const n={},o={class:"flex items-center text-sm"};function a(e,d){return s(),c("div",o,[r(e.$slots,"default",{},void 0,!0)])}const l=t(n,[["render",a],["__scopeId","data-v-57b61e27"]]);export{l as default};
diff --git a/public/admin/assets/index-CD-WGSon.js b/public/admin/assets/index-BhbCyWce.js
similarity index 72%
rename from public/admin/assets/index-CD-WGSon.js
rename to public/admin/assets/index-BhbCyWce.js
index fc17f78..0c357fe 100644
--- a/public/admin/assets/index-CD-WGSon.js
+++ b/public/admin/assets/index-BhbCyWce.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as C,u as M,ab as B,r as $,g as t,z as y,w as j,i as a,c as r,e as o,b as x,x as z,F as N,s as V,A as c,ad as F,Q as k,t as H,j as I,l as L}from"./index-DEc4xym2.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-BstFZRfU.js";import{_ as T}from"./rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js";import{u as Y}from"./useMenu-C9VPEhUW.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js";import"./index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js";import"./HDropdown-qq12d9mA.js";import"./HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js";import"./use-resolve-button-type-Cmxb6e8K.js";import"./index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js";import"./index-DmaX5UJ_.js";import"./index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js";import"./HKbd-Dkpr3OfM.js";import"./index.vue_vue_type_script_setup_true_lang-TAw7CesO.js";import"./useMainPage-qAU7S-kt.js";const A={key:0},D={class:"header-container"},E={class:"menu flex of-hidden transition-all"},Q=["title","onClick"],W={class:"inline-flex flex-1 items-center justify-center gap-1"},q={class:"w-full flex-1 truncate text-sm transition-height transition-opacity transition-width"},G=C({name:"LayoutHeader",__name:"index",setup(J){const l=M(),i=B(),{switchTo:w}=Y(),m=$();function S(n){(n.deltaY||n.detail!==0)&&m.value.scrollBy({left:(n.deltaY||n.detail)>0?50:-50})}return(n,K)=>{const b=I;return t(),y(F,{name:"header"},{default:j(()=>[a(l).mode==="pc"&&a(l).settings.menu.menuMode==="head"?(t(),r("header",A,[o("div",D,[x(R,{class:"title"}),o("div",{ref_key:"menuRef",ref:m,class:"menu-container",onWheel:z(S,["prevent"])},[o("div",E,[(t(!0),r(N,null,V(a(i).allMenus,(e,s)=>{var u,d,f,p,_,h,v,g;return t(),r("div",{key:s,class:k(["menu-item relative transition-all",{active:s===a(i).actived}])},[e.children&&e.children.length!==0?(t(),r("div",{key:0,class:k(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-3 text-[var(--g-header-menu-color)] transition-all hover-bg-[var(--g-header-menu-hover-bg)] hover-text-[var(--g-header-menu-hover-color)]",{"text-[var(--g-header-menu-active-color)]! bg-[var(--g-header-menu-active-bg)]!":s===a(i).actived}]),title:typeof((u=e.meta)==null?void 0:u.title)=="function"?(d=e.meta)==null?void 0:d.title():(f=e.meta)==null?void 0:f.title,onClick:O=>a(w)(s)},[o("div",W,[(p=e.meta)!=null&&p.icon?(t(),y(b,{key:0,name:(_=e.meta)==null?void 0:_.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),o("span",q,H(typeof((h=e.meta)==null?void 0:h.title)=="function"?(v=e.meta)==null?void 0:v.title():(g=e.meta)==null?void 0:g.title),1)])],10,Q)):c("",!0)],2)}),128))])],544),x(T)])])):c("",!0)]),_:1})}}}),ue=L(G,[["__scopeId","data-v-98464ad0"]]);export{ue as default};
+import{d as C,u as M,ab as B,r as $,g as t,z as y,w as j,i as a,c as r,e as o,b as x,x as z,F as N,s as V,A as c,ad as F,Q as k,t as H,j as I,l as L}from"./index-CAe0BuuW.js";import{_ as R}from"./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js";import{_ as T}from"./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js";import{u as Y}from"./useMenu-BBkTa_-z.js";import"./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js";import"./index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js";import"./HDropdown-BtjElhzu.js";import"./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js";import"./use-resolve-button-type-CIWo_h_W.js";import"./index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js";import"./index-Dp-A2VeR.js";import"./index.vue_vue_type_script_setup_true_lang-B135yVzK.js";import"./HKbd-ajmXhnhP.js";import"./index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js";import"./useMainPage-PJO-ub0s.js";const A={key:0},D={class:"header-container"},E={class:"menu flex of-hidden transition-all"},Q=["title","onClick"],W={class:"inline-flex flex-1 items-center justify-center gap-1"},q={class:"w-full flex-1 truncate text-sm transition-height transition-opacity transition-width"},G=C({name:"LayoutHeader",__name:"index",setup(J){const l=M(),i=B(),{switchTo:w}=Y(),m=$();function S(n){(n.deltaY||n.detail!==0)&&m.value.scrollBy({left:(n.deltaY||n.detail)>0?50:-50})}return(n,K)=>{const b=I;return t(),y(F,{name:"header"},{default:j(()=>[a(l).mode==="pc"&&a(l).settings.menu.menuMode==="head"?(t(),r("header",A,[o("div",D,[x(R,{class:"title"}),o("div",{ref_key:"menuRef",ref:m,class:"menu-container",onWheel:z(S,["prevent"])},[o("div",E,[(t(!0),r(N,null,V(a(i).allMenus,(e,s)=>{var u,d,f,p,_,h,v,g;return t(),r("div",{key:s,class:k(["menu-item relative transition-all",{active:s===a(i).actived}])},[e.children&&e.children.length!==0?(t(),r("div",{key:0,class:k(["group menu-item-container h-full w-full flex cursor-pointer items-center justify-between gap-1 px-3 text-[var(--g-header-menu-color)] transition-all hover-bg-[var(--g-header-menu-hover-bg)] hover-text-[var(--g-header-menu-hover-color)]",{"text-[var(--g-header-menu-active-color)]! bg-[var(--g-header-menu-active-bg)]!":s===a(i).actived}]),title:typeof((u=e.meta)==null?void 0:u.title)=="function"?(d=e.meta)==null?void 0:d.title():(f=e.meta)==null?void 0:f.title,onClick:O=>a(w)(s)},[o("div",W,[(p=e.meta)!=null&&p.icon?(t(),y(b,{key:0,name:(_=e.meta)==null?void 0:_.icon,size:20,class:"menu-item-container-icon transition-transform group-hover-scale-120",async:""},null,8,["name"])):c("",!0),o("span",q,H(typeof((h=e.meta)==null?void 0:h.title)=="function"?(v=e.meta)==null?void 0:v.title():(g=e.meta)==null?void 0:g.title),1)])],10,Q)):c("",!0)],2)}),128))])],544),x(T)])])):c("",!0)]),_:1})}}}),ue=L(G,[["__scopeId","data-v-98464ad0"]]);export{ue as default};
diff --git a/public/admin/assets/index-Bn8_v3Wu.js b/public/admin/assets/index-Bn8_v3Wu.js
new file mode 100644
index 0000000..400fa4e
--- /dev/null
+++ b/public/admin/assets/index-Bn8_v3Wu.js
@@ -0,0 +1,8 @@
+
+/**
+ * 由 Fantastic-admin 提供技术支持
+ * Powered by Fantastic-admin
+ * https://fantastic-admin.github.io
+ */
+
+import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-B_goJNHB.js";import"./sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js";import"./index-CAe0BuuW.js";import"./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";export{o as default};
diff --git a/public/admin/assets/index-D-dDLRwf.js b/public/admin/assets/index-BvtGkCoY.js
similarity index 91%
rename from public/admin/assets/index-D-dDLRwf.js
rename to public/admin/assets/index-BvtGkCoY.js
index 64e3f38..faf1a27 100644
--- a/public/admin/assets/index-D-dDLRwf.js
+++ b/public/admin/assets/index-BvtGkCoY.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js";import{a as _}from"./config-BQ9gBCXa.js";import{d as V,m as j,r as i,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as m,k as f}from"./index-DEc4xym2.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"index",setup(U){const a=j({systemPreMessage:""}),d=i({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),C=o("el-row"),M=o("el-form"),P=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(P,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(M,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(C,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default};
+import{_ as v}from"./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js";import{a as _}from"./config-CwtVyG0K.js";import{d as V,m as j,r as i,a as q,n as o,g as B,c as E,b as e,w as s,e as u,h as N,E as m,k as f}from"./index-CAe0BuuW.js";const A={class:"flex justify-between"},O=u("b",null,"模型系统消息预设",-1),R=V({__name:"index",setup(U){const a=j({systemPreMessage:""}),d=i({systemPreMessage:[{required:!0,trigger:"blur",message:"请填写全局预设信息、用于模型预设词"}]}),l=i();async function r(){const t=await _.queryConfig({keys:["systemPreMessage"]});Object.assign(a,t.data)}function p(){var t;(t=l.value)==null||t.validate(async n=>{if(n){try{await _.setConfig({settings:g(a)}),m.success("变更配置信息成功")}catch{}r()}else m.error("请填写完整信息")})}function g(t){return Object.keys(t).map(n=>({configKey:n,configVal:t[n]}))}return q(()=>{r()}),(t,n)=>{const c=o("el-alert"),y=v,b=o("el-button"),x=o("el-input"),w=o("el-form-item"),h=o("el-col"),C=o("el-row"),M=o("el-form"),P=o("el-card");return B(),E("div",null,[e(y,null,{default:s(()=>[e(c,{closable:!1,"show-icon":"",title:"模型全局头部预设说明",description:"当前消息将会被追加到对话模型的全局预设当中、对应用APP无效、对其他所有绘画生效!",type:"success"})]),_:1}),e(P,{style:{margin:"20px"}},{header:s(()=>[u("div",A,[O,e(b,{class:"button",text:"",onClick:p},{default:s(()=>[N(" 保存设置 ")]),_:1})])]),default:s(()=>[e(M,{ref_key:"formRef",ref:l,rules:d.value,model:a,"label-width":"140px"},{default:s(()=>[e(C,null,{default:s(()=>[e(h,{xs:24,md:20,lg:15,xl:12},{default:s(()=>[e(w,{label:"模型全局头部预设",prop:"systemPreMessage"},{default:s(()=>[e(x,{modelValue:a.systemPreMessage,"onUpdate:modelValue":n[0]||(n[0]=k=>a.systemPreMessage=k),type:"textarea",rows:5,placeholder:"请填写模型全局头部预设信息!",clearable:""},null,8,["modelValue"])]),_:1})]),_:1})]),_:1})]),_:1},8,["rules","model"])]),_:1})])}}});typeof f=="function"&&f(R);export{R as default};
diff --git a/public/admin/assets/index-CfI4TwiN.js b/public/admin/assets/index-BxLVZRPz.js
similarity index 53%
rename from public/admin/assets/index-CfI4TwiN.js
rename to public/admin/assets/index-BxLVZRPz.js
index 5a07654..021d27e 100644
--- a/public/admin/assets/index-CfI4TwiN.js
+++ b/public/admin/assets/index-BxLVZRPz.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js";import"./index-DEc4xym2.js";import"./index-DmaX5UJ_.js";export{o as default};
+import{_ as o}from"./index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js";import"./index-CAe0BuuW.js";import"./index-Dp-A2VeR.js";export{o as default};
diff --git a/public/admin/assets/index-CBLO6eVA.js b/public/admin/assets/index-C2Ax2Tf1.js
similarity index 82%
rename from public/admin/assets/index-CBLO6eVA.js
rename to public/admin/assets/index-C2Ax2Tf1.js
index 3cd4d49..bf12fb4 100644
--- a/public/admin/assets/index-CBLO6eVA.js
+++ b/public/admin/assets/index-C2Ax2Tf1.js
@@ -5,4 +5,4 @@
* https://fantastic-admin.github.io
*/
-import{d as M,N as C,u as k,ab as x,r as l,a as y,Z as B,g as r,c as i,b as u,i as e,Q as t,e as p,w as R,F as H,s as N,ag as T,y as S,M as w,A as $,j,l as z}from"./index-DEc4xym2.js";import{u as V}from"./index-DmaX5UJ_.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-BstFZRfU.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-D4iJoCyR.js";import"./sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js";import"./item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js";const O=M({name:"SubSidebar",__name:"index",setup(q){const f=C(),s=k(),c=x(),n=l(),b=l(!1),g=l(!1);function d(){const o=n.value.scrollTop;b.value=o>0;const a=n.value.clientHeight,m=n.value.scrollHeight;g.value=Math.ceil(o+a){d();const{height:o}=V(h);B(()=>o.value,()=>{o.value>0&&d()},{immediate:!0})}),(o,a)=>{const m=j;return r(),i("div",{class:t(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[u(E,{"show-logo":e(s).settings.menu.menuMode==="single",class:t(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),p("div",{ref_key:"subSidebarRef",ref:n,class:t(["sub-sidebar flex-1 transition-shadow-300",{"shadow-top":e(b),"shadow-bottom":e(g)}]),onScroll:d},[p("div",{ref_key:"menuRef",ref:h},[u(T,{name:"sub-sidebar"},{default:R(()=>[(r(!0),i(H,null,N(e(c).allMenus,(v,_)=>S((r(),i("div",{key:_},[u(F,{menu:v.children,value:e(f).meta.activeMenu||e(f).path,"default-openeds":e(c).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[w,_===e(c).actived]])),128))]),_:1})],512)],34),e(s).mode==="pc"?(r(),i("div",{key:0,class:t(["relative flex items-center px-4 py-3",[e(s).settings.menu.subMenuCollapse?"justify-center":"justify-end"]])},[S(p("span",{class:t(["flex-center cursor-pointer rounded bg-stone-1 p-2 transition dark-bg-stone-9 hover-bg-stone-2 dark-hover-bg-stone-8",{"-rotate-z-180":e(s).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=v=>e(s).toggleSidebarCollapse())},[u(m,{name:"toolbar-collapse"})],2),[[w,e(s).settings.menu.enableSubMenuCollapseButton]])],2)):$("",!0)],2)}}}),U=z(O,[["__scopeId","data-v-61f98f34"]]);export{U as default};
+import{d as M,N as C,u as k,ab as x,r as l,a as y,Z as B,g as r,c as i,b as u,i as e,Q as t,e as p,w as R,F as H,s as N,ag as T,y as S,M as w,A as $,j,l as z}from"./index-CAe0BuuW.js";import{u as V}from"./index-Dp-A2VeR.js";import{_ as E}from"./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js";import{_ as F}from"./index.vue_vue_type_script_setup_true_lang-B_goJNHB.js";import"./sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js";import"./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js";import"./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js";const O=M({name:"SubSidebar",__name:"index",setup(q){const f=C(),s=k(),c=x(),n=l(),b=l(!1),g=l(!1);function d(){const o=n.value.scrollTop;b.value=o>0;const a=n.value.clientHeight,m=n.value.scrollHeight;g.value=Math.ceil(o+a){d();const{height:o}=V(h);B(()=>o.value,()=>{o.value>0&&d()},{immediate:!0})}),(o,a)=>{const m=j;return r(),i("div",{class:t(["sub-sidebar-container",{"is-collapse":e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse}])},[u(E,{"show-logo":e(s).settings.menu.menuMode==="single",class:t(["sidebar-logo",{"sidebar-logo-bg":e(s).settings.menu.menuMode==="single"}])},null,8,["show-logo","class"]),p("div",{ref_key:"subSidebarRef",ref:n,class:t(["sub-sidebar flex-1 transition-shadow-300",{"shadow-top":e(b),"shadow-bottom":e(g)}]),onScroll:d},[p("div",{ref_key:"menuRef",ref:h},[u(T,{name:"sub-sidebar"},{default:R(()=>[(r(!0),i(H,null,N(e(c).allMenus,(v,_)=>S((r(),i("div",{key:_},[u(F,{menu:v.children,value:e(f).meta.activeMenu||e(f).path,"default-openeds":e(c).defaultOpenedPaths,accordion:e(s).settings.menu.subMenuUniqueOpened,collapse:e(s).mode==="pc"&&e(s).settings.menu.subMenuCollapse,class:"menu"},null,8,["menu","value","default-openeds","accordion","collapse"])],512)),[[w,_===e(c).actived]])),128))]),_:1})],512)],34),e(s).mode==="pc"?(r(),i("div",{key:0,class:t(["relative flex items-center px-4 py-3",[e(s).settings.menu.subMenuCollapse?"justify-center":"justify-end"]])},[S(p("span",{class:t(["flex-center cursor-pointer rounded bg-stone-1 p-2 transition dark-bg-stone-9 hover-bg-stone-2 dark-hover-bg-stone-8",{"-rotate-z-180":e(s).settings.menu.subMenuCollapse}]),onClick:a[0]||(a[0]=v=>e(s).toggleSidebarCollapse())},[u(m,{name:"toolbar-collapse"})],2),[[w,e(s).settings.menu.enableSubMenuCollapseButton]])],2)):$("",!0)],2)}}}),U=z(O,[["__scopeId","data-v-61f98f34"]]);export{U as default};
diff --git a/public/admin/assets/index-DEc4xym2.js b/public/admin/assets/index-CAe0BuuW.js
similarity index 85%
rename from public/admin/assets/index-DEc4xym2.js
rename to public/admin/assets/index-CAe0BuuW.js
index 1267309..979faca 100644
--- a/public/admin/assets/index-DEc4xym2.js
+++ b/public/admin/assets/index-CAe0BuuW.js
@@ -5,7 +5,7 @@
* https://fantastic-admin.github.io
*/
-const __vite__fileDeps=["assets/wechat-BkbWOIf6.js","assets/index.vue_vue_type_script_setup_true_lang-CiyjFa2H.js","assets/config-BQ9gBCXa.js","assets/register-CYjD1up6.js","assets/register-DsQMN5kC.css","assets/phone-CGUMJk5n.js","assets/index-BpF_L7px.js","assets/index.vue_vue_type_script_setup_true_lang-DKdjIYRj.js","assets/index-J5zVJPyL.js","assets/utcformatTime-Bq4gDWNx.js","assets/email-_1Kpc4yH.js","assets/accountLog-Cd0BMb3f.js","assets/secret-D2aTJbOx.js","assets/notice-DMe6HJCf.js","assets/notice-DzVD5h9V.css","assets/menu-CuN26WL2.js","assets/cos-BRNa7REY.js","assets/baseConfiguration-DH4Ibd3L.js","assets/base-CufmkG0J.js","assets/tencent-lJ3a0Qqq.js","assets/chevereto-KDePOTPH.js","assets/ali-6pjHUfm1.js","assets/violation-DZDD8jUe.js","assets/badWords-CQd8mmw9.js","assets/marked.esm-8ZxQ78w7.js","assets/chat-DJXUFUH_.css","assets/custom-HDg7nfHW.js","assets/baiduSensitive-z59IcEO-.js","assets/autpReply-aBwzoon6.js","assets/salesUser-CVpVO-ws.js","assets/sales-CEP9_Um7.js","assets/records-CnW4CjLy.js","assets/order-BFa8L6DT.js","assets/base-B9aketWE.js","assets/setting-86cZ7V_6.js","assets/setting-DPas9sHG.css","assets/edit.password-uLg52Hrl.js","assets/useMainPage-qAU7S-kt.js","assets/edit-C7lymP1E.css","assets/wechat-Ckikji2h.js","assets/mpay-DIbFMYy3.js","assets/ltzf-DEkCmzhn.js","assets/hupijiao-BE4XxZbP.js","assets/epay-CxwnO4xc.js","assets/points-D-WLryND.js","assets/package-ByB7JmhZ.js","assets/package-BLH3vi7G.js","assets/crami-BJO-Jlp1.js","assets/index-DTod8imv.js","assets/index-DiTAFdcL.css","assets/systemapp-C2A6geA0.js","assets/app-Dcfk5dQv.js","assets/proxy-D8FeVRV6.js","assets/prompts-m_Et1l2u.js","assets/mj-CpOHr84c.js","assets/prompts-C_LpnLZ6.css","assets/mind-COFTHx0M.js","assets/key-CZ1ImD0H.js","assets/interface-D9t9C8J7.js","assets/index-DCp_chce.js","assets/draw-DTXEmBi5.js","assets/chat-CNvkcurJ.js","assets/logo-BZQMTxuq.js","assets/midjourney-C4S1NgSK.js","assets/draw-BqaQv8sQ.css","assets/draw-BnhvwcDa.js","assets/chat-CdVhebVz.js","assets/index-D-dDLRwf.js","assets/visible-K9fT7Dyr.js","assets/plugin-BFOtki6v.js","assets/pdf-DpqOMvmu.js","assets/classify-CRtm6uvD.js","assets/application-BvqlJIC2.js","assets/globalPre-B88RPeeo.js","assets/index-B64mWH-H.js","assets/HInput.vue_vue_type_script_setup_true_lang-CdqOxX3g.js","assets/HCheckList.vue_vue_type_script_setup_true_lang-CJCRoI9L.js","assets/HToggle.vue_vue_type_script_setup_true_lang-BA9baXHJ.js","assets/use-resolve-button-type-Cmxb6e8K.js","assets/HTooltip.vue_vue_type_script_setup_true_lang-C9_oOtnv.js","assets/HTabList.vue_vue_type_script_setup_true_lang-DI-mkQdU.js","assets/index-DmaX5UJ_.js","assets/index-6Kdv6eht.css","assets/index-Df_vc7Fn.js","assets/index.vue_vue_type_script_setup_true_lang-BrKsZ_6g.js","assets/index-D2N8hAxR.js","assets/index-D4nnD7rC.css","assets/item-CYH3jTfY.js","assets/item.vue_vue_type_script_setup_true_lang-CJ5opBNN.js","assets/index-DQ4-HBJz.js","assets/index-DLgR7VQ5.css","assets/index-CD-WGSon.js","assets/index.vue_vue_type_script_setup_true_lang-BstFZRfU.js","assets/rightSide.vue_vue_type_script_setup_true_lang-HCTDBFk8.js","assets/HDropdownMenu.vue_vue_type_script_setup_true_lang-lZ406Ra4.js","assets/index.vue_vue_type_script_setup_true_lang-BiVN2RjL.js","assets/HDropdown-qq12d9mA.js","assets/index.vue_vue_type_script_setup_true_lang-BqDgGq9W.js","assets/index.vue_vue_type_script_setup_true_lang-BIwcUHb8.js","assets/HKbd-Dkpr3OfM.js","assets/index.vue_vue_type_script_setup_true_lang-TAw7CesO.js","assets/useMenu-C9VPEhUW.js","assets/index-ucei9Tgm.css","assets/index-D74dhXQj.js","assets/index.vue_vue_type_script_setup_true_lang-DPAufHtz.js","assets/HDialog.vue_vue_type_script_setup_true_lang-mVa91NJt.js","assets/index-DurhRyBU.js","assets/index-O7C3nkUu.js","assets/index-eqjq1fUS.css","assets/index-PllwPqA5.js","assets/index.vue_vue_type_script_setup_true_lang-D4iJoCyR.js","assets/sub.vue_vue_type_script_setup_true_lang-DYtN02g4.js","assets/item.vue_vue_type_script_setup_true_lang-Gqwq7dn_.js","assets/item-Bc1_M91q.js","assets/sub-BrxcEWON.js","assets/index-DKZCJQvq.js","assets/index.vue_vue_type_script_setup_true_lang-zIlAXnyj.js","assets/index-CBLO6eVA.js","assets/index-CyUQOSLA.css","assets/index-vmxuRT_7.js","assets/index-D9XTqpwG.css","assets/index-CS8LAyXh.js","assets/index-KzA8AQdP.css","assets/index-CVmyQDYv.js","assets/index-CfI4TwiN.js","assets/index-BsxNmcGU.js","assets/index-BcUjYA-t.js","assets/index-Czbj0ARg.js","assets/leftSide.vue_vue_type_script_setup_true_lang-OOqan5-c.js","assets/index--3skRaHe.css","assets/leftSide-Bw4CimaX.js","assets/rightSide-CHjddZ3y.js","assets/index-5KCDGGNS.js","assets/index-DARZUbFw.css","assets/link-DH7aCgYr.js","assets/link-DKw3pmEk.css","assets/index-Bu7AiT64.js","assets/index-7C4DsIyW.css","assets/HCheckList-DLr-yKy6.js","assets/HDialog-jgtAkYW8.js","assets/HDropdownMenu-Dqvjzvpm.js","assets/HInput-BzUT1kdG.js","assets/HTabList-Bu0nxnXP.js","assets/HToggle-CbE2U3ML.js","assets/HTooltip-DqxvMbPq.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
+const __vite__fileDeps=["./wechat-CZwjwtAA.js","./index.vue_vue_type_script_setup_true_lang-D6-4wUAO.js","./config-CwtVyG0K.js","./register-CnkVQnVg.js","./register-DsQMN5kC.css","./phone-BhpR_O8Z.js","./index-Rn5VD-Vw.js","./index.vue_vue_type_script_setup_true_lang-CHWp65cL.js","./index-DfBvkKrB.js","./utcformatTime-Bq4gDWNx.js","./email-DZS2Vv6k.js","./accountLog-Bv2zJ5xz.js","./secret-DVpbvVhp.js","./notice-CvCJnusr.js","./notice-DzVD5h9V.css","./menu-D-Mi8J_Q.js","./cos-BkMP671c.js","./baseConfiguration-BP1QaQoF.js","./base-Bp8P0cPO.js","./tencent-CqvvHHWH.js","./localStorage-CScPrwoq.js","./chevereto-MjauSghI.js","./ali-CthEMzCz.js","./violation-CpOLyc9r.js","./badWords-Jbq96Z0c.js","./marked.esm-8ZxQ78w7.js","./chat-DJXUFUH_.css","./custom-DUs2A6em.js","./baiduSensitive-w44zgPld.js","./autpReply-Bgd0Ar34.js","./salesUser-D0a0Dv4C.js","./sales-DHN85h7l.js","./records-DczDfo3x.js","./order-DRnsEKPF.js","./base-B8K1zB5w.js","./setting-CxPu4I7s.js","./setting-DPas9sHG.css","./edit.password-DSZwCxCa.js","./useMainPage-PJO-ub0s.js","./edit-C7lymP1E.css","./wechat-DPXVY5uo.js","./mpay-DRwpUtvc.js","./ltzf-COGRrtpR.js","./hupijiao-BqkX94iC.js","./epay-ClQXvGry.js","./points-BojjHWXH.js","./package-BrV10YH2.js","./package-DnQHQQ_C.js","./crami-S-fLJ3WY.js","./index-BQKCY3x4.js","./index-DiTAFdcL.css","./systemapp-vjaiCdpw.js","./app-CXnonH8J.js","./proxy-D3dVBgtt.js","./prompts-_C-RTIKZ.js","./mj-akyFMlB2.js","./prompts-C_LpnLZ6.css","./mind-Cfbn7Ry5.js","./key-DCiaxDgO.js","./interface-C0zsOKTH.js","./index-DqVV3_P8.js","./draw-C4wX6IZ0.js","./chat-BAyuGdeQ.js","./logo-CSbn4ZlY.js","./midjourney-Dw_s_JpY.js","./draw-BqaQv8sQ.css","./draw-B9oSC571.js","./chat-hU1m0TZ2.js","./index-BvtGkCoY.js","./visible-Cerzljbr.js","./plugin-Cqknmgxh.js","./pdf-D0scwBrA.js","./classify-D_VHKxxX.js","./application-C2I8CIsH.js","./globalPre-CLwf_0ut.js","./index-DH2af8kL.js","./HInput.vue_vue_type_script_setup_true_lang-DIeRn7Zh.js","./HCheckList.vue_vue_type_script_setup_true_lang-Sefr8RNZ.js","./HToggle.vue_vue_type_script_setup_true_lang-BMpWofWF.js","./use-resolve-button-type-CIWo_h_W.js","./HTooltip.vue_vue_type_script_setup_true_lang-DkOhIXEM.js","./HTabList.vue_vue_type_script_setup_true_lang-DVNTO8pP.js","./index-Dp-A2VeR.js","./index-6Kdv6eht.css","./index-KJICoTyc.js","./index.vue_vue_type_script_setup_true_lang-CK7s6_6M.js","./index-BhXahEts.js","./index-D4nnD7rC.css","./item-_7iwIlqR.js","./item.vue_vue_type_script_setup_true_lang-BhPHmnZX.js","./index-eUqYFFt5.js","./index-DLgR7VQ5.css","./index-BhbCyWce.js","./index.vue_vue_type_script_setup_true_lang-DW_XyWLU.js","./rightSide.vue_vue_type_script_setup_true_lang-BwNK92Zl.js","./HDropdownMenu.vue_vue_type_script_setup_true_lang-DvGMfvHr.js","./index.vue_vue_type_script_setup_true_lang-CCcZv4nB.js","./HDropdown-BtjElhzu.js","./index.vue_vue_type_script_setup_true_lang-CKDXN_8I.js","./index.vue_vue_type_script_setup_true_lang-B135yVzK.js","./HKbd-ajmXhnhP.js","./index.vue_vue_type_script_setup_true_lang-Cz7MHHaT.js","./useMenu-BBkTa_-z.js","./index-ucei9Tgm.css","./index-CdsDfwEH.js","./index.vue_vue_type_script_setup_true_lang-jIq18U01.js","./HDialog.vue_vue_type_script_setup_true_lang-DFArSwGc.js","./index-DGBJFFlM.js","./index-BOGDNEcr.js","./index-eqjq1fUS.css","./index-Bn8_v3Wu.js","./index.vue_vue_type_script_setup_true_lang-B_goJNHB.js","./sub.vue_vue_type_script_setup_true_lang-Dc0jEHO7.js","./item.vue_vue_type_script_setup_true_lang-DbS-Ja32.js","./item-pwpBMREM.js","./sub-BcJl5NGu.js","./index-W6VHFY0Q.js","./index.vue_vue_type_script_setup_true_lang-C90bQeZy.js","./index-C2Ax2Tf1.js","./index-CyUQOSLA.css","./index-q7-SSFGZ.js","./index-D9XTqpwG.css","./index-CprVCdi5.js","./index-KzA8AQdP.css","./index-B-IrUVnq.js","./index-BxLVZRPz.js","./index-BIBJqTOW.js","./index-CDYu2v-j.js","./index-BGSS2M6V.js","./leftSide.vue_vue_type_script_setup_true_lang-DsSivonS.js","./index--3skRaHe.css","./leftSide-CkmChX_A.js","./rightSide-DNWXJnoI.js","./index-g_KccFwY.js","./index-DARZUbFw.css","./link-Zl4a3VRf.js","./link-DKw3pmEk.css","./index-TB5FFREB.js","./index-7C4DsIyW.css","./HCheckList-CHru1RVX.js","./HDialog-BSLIfyaj.js","./HDropdownMenu-geTVfmOY.js","./HInput-DPjGv0jU.js","./HTabList-DhWbaN9B.js","./HToggle-CTYtfOdh.js","./HTooltip-Bxw045P4.js"],__vite__mapDeps=i=>i.map(i=>__vite__fileDeps[i]);
(function(){const $e=document.createElement("link").relList;if($e&&$e.supports&&$e.supports("modulepreload"))return;for(const Ue of document.querySelectorAll('link[rel="modulepreload"]'))Fe(Ue);new MutationObserver(Ue=>{for(const qe of Ue)if(qe.type==="childList")for(const At of qe.addedNodes)At.tagName==="LINK"&&At.rel==="modulepreload"&&Fe(At)}).observe(document,{childList:!0,subtree:!0});function Ie(Ue){const qe={};return Ue.integrity&&(qe.integrity=Ue.integrity),Ue.referrerPolicy&&(qe.referrerPolicy=Ue.referrerPolicy),Ue.crossOrigin==="use-credentials"?qe.credentials="include":Ue.crossOrigin==="anonymous"?qe.credentials="omit":qe.credentials="same-origin",qe}function Fe(Ue){if(Ue.ep)return;Ue.ep=!0;const qe=Ie(Ue);fetch(Ue.href,qe)}})();{const xe="font-size: 14px; margin-bottom: 2px; padding: 6px 8px; color: #fff;",$e=`${xe} background: #e24329;`,Ie=`${xe} background: #707070;`;navigator.language.toLowerCase()==="zh-cn"?console.info("%c由%cFantastic-admin%c驱动",Ie,$e,Ie,`
https://fantastic-admin.github.io`):console.info("%cPowered by%cFantastic-admin",Ie,$e,`
https://fantastic-admin.github.io`)}/**
@@ -23,7 +23,7 @@ https://fantastic-admin.github.io`)}/**
**/const stack=[];function warn$1(xe,...$e){pauseTracking();const Ie=stack.length?stack[stack.length-1].component:null,Fe=Ie&&Ie.appContext.config.warnHandler,Ue=getComponentTrace();if(Fe)callWithErrorHandling(Fe,Ie,11,[xe+$e.map(qe=>{var At,Dt;return(Dt=(At=qe.toString)==null?void 0:At.call(qe))!=null?Dt:JSON.stringify(qe)}).join(""),Ie&&Ie.proxy,Ue.map(({vnode:qe})=>`at <${formatComponentName(Ie,qe.type)}>`).join(`
`),Ue]);else{const qe=[`[Vue warn]: ${xe}`,...$e];Ue.length&&qe.push(`
`,...formatTrace(Ue)),console.warn(...qe)}resetTracking()}function getComponentTrace(){let xe=stack[stack.length-1];if(!xe)return[];const $e=[];for(;xe;){const Ie=$e[0];Ie&&Ie.vnode===xe?Ie.recurseCount++:$e.push({vnode:xe,recurseCount:0});const Fe=xe.component&&xe.component.parent;xe=Fe&&Fe.vnode}return $e}function formatTrace(xe){const $e=[];return xe.forEach((Ie,Fe)=>{$e.push(...Fe===0?[]:[`
-`],...formatTraceEntry(Ie))}),$e}function formatTraceEntry({vnode:xe,recurseCount:$e}){const Ie=$e>0?`... (${$e} recursive calls)`:"",Fe=xe.component?xe.component.parent==null:!1,Ue=` at <${formatComponentName(xe.component,xe.type,Fe)}`,qe=">"+Ie;return xe.props?[Ue,...formatProps(xe.props),qe]:[Ue+qe]}function formatProps(xe){const $e=[],Ie=Object.keys(xe);return Ie.slice(0,3).forEach(Fe=>{$e.push(...formatProp(Fe,xe[Fe]))}),Ie.length>3&&$e.push(" ..."),$e}function formatProp(xe,$e,Ie){return isString$4($e)?($e=JSON.stringify($e),Ie?$e:[`${xe}=${$e}`]):typeof $e=="number"||typeof $e=="boolean"||$e==null?Ie?$e:[`${xe}=${$e}`]:isRef($e)?($e=formatProp(xe,toRaw($e.value),!0),Ie?$e:[`${xe}=Ref<`,$e,">"]):isFunction$5($e)?[`${xe}=fn${$e.name?`<${$e.name}>`:""}`]:($e=toRaw($e),Ie?$e:[`${xe}=`,$e])}function assertNumber(xe,$e){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(xe,$e,Ie,Fe){try{return Fe?xe(...Fe):xe()}catch(Ue){handleError(Ue,$e,Ie)}}function callWithAsyncErrorHandling(xe,$e,Ie,Fe){if(isFunction$5(xe)){const Ue=callWithErrorHandling(xe,$e,Ie,Fe);return Ue&&isPromise(Ue)&&Ue.catch(qe=>{handleError(qe,$e,Ie)}),Ue}if(isArray$6(xe)){const Ue=[];for(let qe=0;qe>>1,Ue=queue[Fe],qe=getId$1(Ue);qeflushIndex&&queue.splice($e,1)}function queuePostFlushCb(xe){isArray$6(xe)?pendingPostFlushCbs.push(...xe):(!activePostFlushCbs||!activePostFlushCbs.includes(xe,xe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(xe),queueFlush()}function flushPreFlushCbs(xe,$e,Ie=isFlushing?flushIndex+1:0){for(;IegetId$1(Ie)-getId$1(Fe));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...$e);return}for(activePostFlushCbs=$e,postFlushIndex=0;postFlushIndexxe.id==null?1/0:xe.id,comparator=(xe,$e)=>{const Ie=getId$1(xe)-getId$1($e);if(Ie===0){if(xe.pre&&!$e.pre)return-1;if($e.pre&&!xe.pre)return 1}return Ie};function flushJobs(xe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexdevtools$1.emit(Ue,...qe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((Fe=(Ie=window.navigator)==null?void 0:Ie.userAgent)!=null&&Fe.includes("jsdom"))?(($e.__VUE_DEVTOOLS_HOOK_REPLAY__=$e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(qe=>{setDevtoolsHook$1(qe,$e)}),setTimeout(()=>{devtools$1||($e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(xe,$e,...Ie){if(xe.isUnmounted)return;const Fe=xe.vnode.props||EMPTY_OBJ$1;let Ue=Ie;const qe=$e.startsWith("update:"),At=qe&&$e.slice(7);if(At&&At in Fe){const hn=`${At==="modelValue"?"model":At}Modifiers`,{number:vn,trim:bn}=Fe[hn]||EMPTY_OBJ$1;bn&&(Ue=Ie.map(_n=>isString$4(_n)?_n.trim():_n)),vn&&(Ue=Ie.map(looseToNumber))}let Dt,Lt=Fe[Dt=toHandlerKey($e)]||Fe[Dt=toHandlerKey(camelize($e))];!Lt&&qe&&(Lt=Fe[Dt=toHandlerKey(hyphenate($e))]),Lt&&callWithAsyncErrorHandling(Lt,xe,6,Ue);const jt=Fe[Dt+"Once"];if(jt){if(!xe.emitted)xe.emitted={};else if(xe.emitted[Dt])return;xe.emitted[Dt]=!0,callWithAsyncErrorHandling(jt,xe,6,Ue)}}function normalizeEmitsOptions(xe,$e,Ie=!1){const Fe=$e.emitsCache,Ue=Fe.get(xe);if(Ue!==void 0)return Ue;const qe=xe.emits;let At={},Dt=!1;if(!isFunction$5(xe)){const Lt=jt=>{const hn=normalizeEmitsOptions(jt,$e,!0);hn&&(Dt=!0,extend$2(At,hn))};!Ie&&$e.mixins.length&&$e.mixins.forEach(Lt),xe.extends&&Lt(xe.extends),xe.mixins&&xe.mixins.forEach(Lt)}return!qe&&!Dt?(isObject$8(xe)&&Fe.set(xe,null),null):(isArray$6(qe)?qe.forEach(Lt=>At[Lt]=null):extend$2(At,qe),isObject$8(xe)&&Fe.set(xe,At),At)}function isEmitListener(xe,$e){return!xe||!isOn($e)?!1:($e=$e.slice(2).replace(/Once$/,""),hasOwn$1(xe,$e[0].toLowerCase()+$e.slice(1))||hasOwn$1(xe,hyphenate($e))||hasOwn$1(xe,$e))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(xe){const $e=currentRenderingInstance;return currentRenderingInstance=xe,currentScopeId=xe&&xe.type.__scopeId||null,$e}function pushScopeId(xe){currentScopeId=xe}function popScopeId(){currentScopeId=null}const withScopeId=xe=>withCtx;function withCtx(xe,$e=currentRenderingInstance,Ie){if(!$e||xe._n)return xe;const Fe=(...Ue)=>{Fe._d&&setBlockTracking(-1);const qe=setCurrentRenderingInstance($e);let At;try{At=xe(...Ue)}finally{setCurrentRenderingInstance(qe),Fe._d&&setBlockTracking(1)}return At};return Fe._n=!0,Fe._c=!0,Fe._d=!0,Fe}function markAttrsAccessed(){}function renderComponentRoot(xe){const{type:$e,vnode:Ie,proxy:Fe,withProxy:Ue,propsOptions:[qe],slots:At,attrs:Dt,emit:Lt,render:jt,renderCache:hn,props:vn,data:bn,setupState:_n,ctx:wn,inheritAttrs:kn}=xe,Cn=setCurrentRenderingInstance(xe);let Sn,xn;try{if(Ie.shapeFlag&4){const Tn=Ue||Fe,An=Tn;Sn=normalizeVNode(jt.call(An,Tn,hn,vn,_n,bn,wn)),xn=Dt}else{const Tn=$e;Sn=normalizeVNode(Tn.length>1?Tn(vn,{attrs:Dt,slots:At,emit:Lt}):Tn(vn,null)),xn=$e.props?Dt:getFunctionalFallthrough(Dt)}}catch(Tn){blockStack.length=0,handleError(Tn,xe,1),Sn=createVNode$1(Comment$1)}let En=Sn;if(xn&&kn!==!1){const Tn=Object.keys(xn),{shapeFlag:An}=En;Tn.length&&An&7&&(qe&&Tn.some(isModelListener)&&(xn=filterModelListeners(xn,qe)),En=cloneVNode(En,xn,!1,!0))}return Ie.dirs&&(En=cloneVNode(En,null,!1,!0),En.dirs=En.dirs?En.dirs.concat(Ie.dirs):Ie.dirs),Ie.transition&&(En.transition=Ie.transition),Sn=En,setCurrentRenderingInstance(Cn),Sn}function filterSingleRoot(xe,$e=!0){let Ie;for(let Fe=0;Fe{let $e;for(const Ie in xe)(Ie==="class"||Ie==="style"||isOn(Ie))&&(($e||($e={}))[Ie]=xe[Ie]);return $e},filterModelListeners=(xe,$e)=>{const Ie={};for(const Fe in xe)(!isModelListener(Fe)||!(Fe.slice(9)in $e))&&(Ie[Fe]=xe[Fe]);return Ie};function shouldUpdateComponent(xe,$e,Ie){const{props:Fe,children:Ue,component:qe}=xe,{props:At,children:Dt,patchFlag:Lt}=$e,jt=qe.emitsOptions;if($e.dirs||$e.transition)return!0;if(Ie&&Lt>=0){if(Lt&1024)return!0;if(Lt&16)return Fe?hasPropsChanged(Fe,At,jt):!!At;if(Lt&8){const hn=$e.dynamicProps;for(let vn=0;vnxe.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(xe==null)mountSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt);else{if(qe&&qe.deps>0&&!xe.suspense.isInFallback){$e.suspense=xe.suspense,$e.suspense.vnode=$e,$e.el=xe.el;return}patchSuspense(xe,$e,Ie,Fe,Ue,At,Dt,Lt,jt)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(xe,$e){const Ie=xe.props&&xe.props[$e];isFunction$5(Ie)&&Ie()}function mountSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const{p:jt,o:{createElement:hn}}=Lt,vn=hn("div"),bn=xe.suspense=createSuspenseBoundary(xe,Ue,Fe,$e,vn,Ie,qe,At,Dt,Lt);jt(null,bn.pendingBranch=xe.ssContent,vn,null,Fe,bn,qe,At),bn.deps>0?(triggerEvent$1(xe,"onPending"),triggerEvent$1(xe,"onFallback"),jt(null,xe.ssFallback,$e,Ie,Fe,null,qe,At),setActiveBranch(bn,xe.ssFallback)):bn.resolve(!1,!0)}function patchSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,{p:Lt,um:jt,o:{createElement:hn}}){const vn=$e.suspense=xe.suspense;vn.vnode=$e,$e.el=xe.el;const bn=$e.ssContent,_n=$e.ssFallback,{activeBranch:wn,pendingBranch:kn,isInFallback:Cn,isHydrating:Sn}=vn;if(kn)vn.pendingBranch=bn,isSameVNodeType(bn,kn)?(Lt(kn,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():Cn&&(Sn||(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n)))):(vn.pendingId=suspenseId++,Sn?(vn.isHydrating=!1,vn.activeBranch=kn):jt(kn,Ue,vn),vn.deps=0,vn.effects.length=0,vn.hiddenContainer=hn("div"),Cn?(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n))):wn&&isSameVNodeType(bn,wn)?(Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),vn.resolve(!0)):(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0&&vn.resolve()));else if(wn&&isSameVNodeType(bn,wn))Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),setActiveBranch(vn,bn);else if(triggerEvent$1($e,"onPending"),vn.pendingBranch=bn,bn.shapeFlag&512?vn.pendingId=bn.component.suspenseId:vn.pendingId=suspenseId++,Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0)vn.resolve();else{const{timeout:xn,pendingId:En}=vn;xn>0?setTimeout(()=>{vn.pendingId===En&&vn.fallback(_n)},xn):xn===0&&vn.fallback(_n)}}function createSuspenseBoundary(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn=!1){const{p:vn,m:bn,um:_n,n:wn,o:{parentNode:kn,remove:Cn}}=jt;let Sn;const xn=isVNodeSuspensible(xe);xn&&$e&&$e.pendingBranch&&(Sn=$e.pendingId,$e.deps++);const En=xe.props?toNumber$1(xe.props.timeout):void 0,Tn=qe,An={vnode:xe,parent:$e,parentComponent:Ie,namespace:At,container:Fe,hiddenContainer:Ue,deps:0,pendingId:suspenseId++,timeout:typeof En=="number"?En:-1,activeBranch:null,pendingBranch:null,isInFallback:!hn,isHydrating:hn,isUnmounted:!1,effects:[],resolve($n=!1,Pn=!1){const{vnode:Nn,activeBranch:Mn,pendingBranch:In,pendingId:On,effects:Rn,parentComponent:Bn,container:Vn}=An;let Ln=!1;An.isHydrating?An.isHydrating=!1:$n||(Ln=Mn&&In.transition&&In.transition.mode==="out-in",Ln&&(Mn.transition.afterLeave=()=>{On===An.pendingId&&(bn(In,Vn,qe===Tn?wn(Mn):qe,0),queuePostFlushCb(Rn))}),Mn&&(kn(Mn.el)!==An.hiddenContainer&&(qe=wn(Mn)),_n(Mn,Bn,An,!0)),Ln||bn(In,Vn,qe,0)),setActiveBranch(An,In),An.pendingBranch=null,An.isInFallback=!1;let Dn=An.parent,Hn=!1;for(;Dn;){if(Dn.pendingBranch){Dn.effects.push(...Rn),Hn=!0;break}Dn=Dn.parent}!Hn&&!Ln&&queuePostFlushCb(Rn),An.effects=[],xn&&$e&&$e.pendingBranch&&Sn===$e.pendingId&&($e.deps--,$e.deps===0&&!Pn&&$e.resolve()),triggerEvent$1(Nn,"onResolve")},fallback($n){if(!An.pendingBranch)return;const{vnode:Pn,activeBranch:Nn,parentComponent:Mn,container:In,namespace:On}=An;triggerEvent$1(Pn,"onFallback");const Rn=wn(Nn),Bn=()=>{An.isInFallback&&(vn(null,$n,In,Rn,Mn,null,On,Dt,Lt),setActiveBranch(An,$n))},Vn=$n.transition&&$n.transition.mode==="out-in";Vn&&(Nn.transition.afterLeave=Bn),An.isInFallback=!0,_n(Nn,Mn,null,!0),Vn||Bn()},move($n,Pn,Nn){An.activeBranch&&bn(An.activeBranch,$n,Pn,Nn),An.container=$n},next(){return An.activeBranch&&wn(An.activeBranch)},registerDep($n,Pn){const Nn=!!An.pendingBranch;Nn&&An.deps++;const Mn=$n.vnode.el;$n.asyncDep.catch(In=>{handleError(In,$n,0)}).then(In=>{if($n.isUnmounted||An.isUnmounted||An.pendingId!==$n.suspenseId)return;$n.asyncResolved=!0;const{vnode:On}=$n;handleSetupResult($n,In,!1),Mn&&(On.el=Mn);const Rn=!Mn&&$n.subTree.el;Pn($n,On,kn(Mn||$n.subTree.el),Mn?null:wn($n.subTree),An,At,Lt),Rn&&Cn(Rn),updateHOCHostEl($n,On.el),Nn&&--An.deps===0&&An.resolve()})},unmount($n,Pn){An.isUnmounted=!0,An.activeBranch&&_n(An.activeBranch,Ie,$n,Pn),An.pendingBranch&&_n(An.pendingBranch,Ie,$n,Pn)}};return An}function hydrateSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const jt=$e.suspense=createSuspenseBoundary($e,Fe,Ie,xe.parentNode,document.createElement("div"),null,Ue,qe,At,Dt,!0),hn=Lt(xe,jt.pendingBranch=$e.ssContent,Ie,jt,qe,At);return jt.deps===0&&jt.resolve(!1,!0),hn}function normalizeSuspenseChildren(xe){const{shapeFlag:$e,children:Ie}=xe,Fe=$e&32;xe.ssContent=normalizeSuspenseSlot(Fe?Ie.default:Ie),xe.ssFallback=Fe?normalizeSuspenseSlot(Ie.fallback):createVNode$1(Comment$1)}function normalizeSuspenseSlot(xe){let $e;if(isFunction$5(xe)){const Ie=isBlockTreeEnabled&&xe._c;Ie&&(xe._d=!1,openBlock()),xe=xe(),Ie&&(xe._d=!0,$e=currentBlock,closeBlock())}return isArray$6(xe)&&(xe=filterSingleRoot(xe)),xe=normalizeVNode(xe),$e&&!xe.dynamicChildren&&(xe.dynamicChildren=$e.filter(Ie=>Ie!==xe)),xe}function queueEffectWithSuspense(xe,$e){$e&&$e.pendingBranch?isArray$6(xe)?$e.effects.push(...xe):$e.effects.push(xe):queuePostFlushCb(xe)}function setActiveBranch(xe,$e){xe.activeBranch=$e;const{vnode:Ie,parentComponent:Fe}=xe;let Ue=$e.el;for(;!Ue&&$e.component;)$e=$e.component.subTree,Ue=$e.el;Ie.el=Ue,Fe&&Fe.subTree===Ie&&(Fe.vnode.el=Ue,updateHOCHostEl(Fe,Ue))}function isVNodeSuspensible(xe){const $e=xe.props&&xe.props.suspensible;return $e!=null&&$e!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(xe,$e){return doWatch(xe,null,$e)}function watchPostEffect(xe,$e){return doWatch(xe,null,{flush:"post"})}function watchSyncEffect(xe,$e){return doWatch(xe,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(xe,$e,Ie){return doWatch(xe,$e,Ie)}function doWatch(xe,$e,{immediate:Ie,deep:Fe,flush:Ue,once:qe,onTrack:At,onTrigger:Dt}=EMPTY_OBJ$1){if($e&&qe){const $n=$e;$e=(...Pn)=>{$n(...Pn),An()}}const Lt=currentInstance,jt=$n=>Fe===!0?$n:traverse($n,Fe===!1?1:void 0);let hn,vn=!1,bn=!1;if(isRef(xe)?(hn=()=>xe.value,vn=isShallow(xe)):isReactive(xe)?(hn=()=>jt(xe),vn=!0):isArray$6(xe)?(bn=!0,vn=xe.some($n=>isReactive($n)||isShallow($n)),hn=()=>xe.map($n=>{if(isRef($n))return $n.value;if(isReactive($n))return jt($n);if(isFunction$5($n))return callWithErrorHandling($n,Lt,2)})):isFunction$5(xe)?$e?hn=()=>callWithErrorHandling(xe,Lt,2):hn=()=>(_n&&_n(),callWithAsyncErrorHandling(xe,Lt,3,[wn])):hn=NOOP,$e&&Fe){const $n=hn;hn=()=>traverse($n())}let _n,wn=$n=>{_n=En.onStop=()=>{callWithErrorHandling($n,Lt,4),_n=En.onStop=void 0}},kn;if(isInSSRComponentSetup)if(wn=NOOP,$e?Ie&&callWithAsyncErrorHandling($e,Lt,3,[hn(),bn?[]:void 0,wn]):hn(),Ue==="sync"){const $n=useSSRContext();kn=$n.__watcherHandles||($n.__watcherHandles=[])}else return NOOP;let Cn=bn?new Array(xe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Sn=()=>{if(!(!En.active||!En.dirty))if($e){const $n=En.run();(Fe||vn||(bn?$n.some((Pn,Nn)=>hasChanged(Pn,Cn[Nn])):hasChanged($n,Cn)))&&(_n&&_n(),callWithAsyncErrorHandling($e,Lt,3,[$n,Cn===INITIAL_WATCHER_VALUE?void 0:bn&&Cn[0]===INITIAL_WATCHER_VALUE?[]:Cn,wn]),Cn=$n)}else En.run()};Sn.allowRecurse=!!$e;let xn;Ue==="sync"?xn=Sn:Ue==="post"?xn=()=>queuePostRenderEffect(Sn,Lt&&Lt.suspense):(Sn.pre=!0,Lt&&(Sn.id=Lt.uid),xn=()=>queueJob(Sn));const En=new ReactiveEffect(hn,NOOP,xn),Tn=getCurrentScope(),An=()=>{En.stop(),Tn&&remove(Tn.effects,En)};return $e?Ie?Sn():Cn=En.run():Ue==="post"?queuePostRenderEffect(En.run.bind(En),Lt&&Lt.suspense):En.run(),kn&&kn.push(An),An}function instanceWatch(xe,$e,Ie){const Fe=this.proxy,Ue=isString$4(xe)?xe.includes(".")?createPathGetter(Fe,xe):()=>Fe[xe]:xe.bind(Fe,Fe);let qe;isFunction$5($e)?qe=$e:(qe=$e.handler,Ie=$e);const At=setCurrentInstance(this),Dt=doWatch(Ue,qe.bind(Fe),Ie);return At(),Dt}function createPathGetter(xe,$e){const Ie=$e.split(".");return()=>{let Fe=xe;for(let Ue=0;Ue{traverse(Fe,$e,Ie)});else if(isPlainObject$4(xe))for(const Fe in xe)traverse(xe[Fe],$e,Ie);return xe}function withDirectives(xe,$e){if(currentRenderingInstance===null)return xe;const Ie=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,Fe=xe.dirs||(xe.dirs=[]);for(let Ue=0;Ue<$e.length;Ue++){let[qe,At,Dt,Lt=EMPTY_OBJ$1]=$e[Ue];qe&&(isFunction$5(qe)&&(qe={mounted:qe,updated:qe}),qe.deep&&traverse(At),Fe.push({dir:qe,instance:Ie,value:At,oldValue:void 0,arg:Dt,modifiers:Lt}))}return xe}function invokeDirectiveHook(xe,$e,Ie,Fe){const Ue=xe.dirs,qe=$e&&$e.dirs;for(let At=0;At{xe.isMounted=!0}),onBeforeUnmount(()=>{xe.isUnmounting=!0}),xe}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();return()=>{const Ue=$e.default&&getTransitionRawChildren($e.default(),!0);if(!Ue||!Ue.length)return;let qe=Ue[0];if(Ue.length>1){for(const bn of Ue)if(bn.type!==Comment$1){qe=bn;break}}const At=toRaw(xe),{mode:Dt}=At;if(Fe.isLeaving)return emptyPlaceholder(qe);const Lt=getKeepAliveChild(qe);if(!Lt)return emptyPlaceholder(qe);const jt=resolveTransitionHooks(Lt,At,Fe,Ie);setTransitionHooks(Lt,jt);const hn=Ie.subTree,vn=hn&&getKeepAliveChild(hn);if(vn&&vn.type!==Comment$1&&!isSameVNodeType(Lt,vn)){const bn=resolveTransitionHooks(vn,At,Fe,Ie);if(setTransitionHooks(vn,bn),Dt==="out-in"&&Lt.type!==Comment$1)return Fe.isLeaving=!0,bn.afterLeave=()=>{Fe.isLeaving=!1,Ie.update.active!==!1&&(Ie.effect.dirty=!0,Ie.update())},emptyPlaceholder(qe);Dt==="in-out"&&Lt.type!==Comment$1&&(bn.delayLeave=(_n,wn,kn)=>{const Cn=getLeavingNodesForType(Fe,vn);Cn[String(vn.key)]=vn,_n[leaveCbKey]=()=>{wn(),_n[leaveCbKey]=void 0,delete jt.delayedLeave},jt.delayedLeave=kn})}return qe}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(xe,$e){const{leavingVNodes:Ie}=xe;let Fe=Ie.get($e.type);return Fe||(Fe=Object.create(null),Ie.set($e.type,Fe)),Fe}function resolveTransitionHooks(xe,$e,Ie,Fe){const{appear:Ue,mode:qe,persisted:At=!1,onBeforeEnter:Dt,onEnter:Lt,onAfterEnter:jt,onEnterCancelled:hn,onBeforeLeave:vn,onLeave:bn,onAfterLeave:_n,onLeaveCancelled:wn,onBeforeAppear:kn,onAppear:Cn,onAfterAppear:Sn,onAppearCancelled:xn}=$e,En=String(xe.key),Tn=getLeavingNodesForType(Ie,xe),An=(Nn,Mn)=>{Nn&&callWithAsyncErrorHandling(Nn,Fe,9,Mn)},$n=(Nn,Mn)=>{const In=Mn[1];An(Nn,Mn),isArray$6(Nn)?Nn.every(On=>On.length<=1)&&In():Nn.length<=1&&In()},Pn={mode:qe,persisted:At,beforeEnter(Nn){let Mn=Dt;if(!Ie.isMounted)if(Ue)Mn=kn||Dt;else return;Nn[leaveCbKey]&&Nn[leaveCbKey](!0);const In=Tn[En];In&&isSameVNodeType(xe,In)&&In.el[leaveCbKey]&&In.el[leaveCbKey](),An(Mn,[Nn])},enter(Nn){let Mn=Lt,In=jt,On=hn;if(!Ie.isMounted)if(Ue)Mn=Cn||Lt,In=Sn||jt,On=xn||hn;else return;let Rn=!1;const Bn=Nn[enterCbKey$1]=Vn=>{Rn||(Rn=!0,Vn?An(On,[Nn]):An(In,[Nn]),Pn.delayedLeave&&Pn.delayedLeave(),Nn[enterCbKey$1]=void 0)};Mn?$n(Mn,[Nn,Bn]):Bn()},leave(Nn,Mn){const In=String(xe.key);if(Nn[enterCbKey$1]&&Nn[enterCbKey$1](!0),Ie.isUnmounting)return Mn();An(vn,[Nn]);let On=!1;const Rn=Nn[leaveCbKey]=Bn=>{On||(On=!0,Mn(),Bn?An(wn,[Nn]):An(_n,[Nn]),Nn[leaveCbKey]=void 0,Tn[In]===xe&&delete Tn[In])};Tn[In]=xe,bn?$n(bn,[Nn,Rn]):Rn()},clone(Nn){return resolveTransitionHooks(Nn,$e,Ie,Fe)}};return Pn}function emptyPlaceholder(xe){if(isKeepAlive(xe))return xe=cloneVNode(xe),xe.children=null,xe}function getKeepAliveChild(xe){if(!isKeepAlive(xe))return xe;const{shapeFlag:$e,children:Ie}=xe;if(Ie){if($e&16)return Ie[0];if($e&32&&isFunction$5(Ie.default))return Ie.default()}}function setTransitionHooks(xe,$e){xe.shapeFlag&6&&xe.component?setTransitionHooks(xe.component.subTree,$e):xe.shapeFlag&128?(xe.ssContent.transition=$e.clone(xe.ssContent),xe.ssFallback.transition=$e.clone(xe.ssFallback)):xe.transition=$e}function getTransitionRawChildren(xe,$e=!1,Ie){let Fe=[],Ue=0;for(let qe=0;qe1)for(let qe=0;qe!!xe.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(xe){isFunction$5(xe)&&(xe={loader:xe});const{loader:$e,loadingComponent:Ie,errorComponent:Fe,delay:Ue=200,timeout:qe,suspensible:At=!0,onError:Dt}=xe;let Lt=null,jt,hn=0;const vn=()=>(hn++,Lt=null,bn()),bn=()=>{let _n;return Lt||(_n=Lt=$e().catch(wn=>{if(wn=wn instanceof Error?wn:new Error(String(wn)),Dt)return new Promise((kn,Cn)=>{Dt(wn,()=>kn(vn()),()=>Cn(wn),hn+1)});throw wn}).then(wn=>_n!==Lt&&Lt?Lt:(wn&&(wn.__esModule||wn[Symbol.toStringTag]==="Module")&&(wn=wn.default),jt=wn,wn)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:bn,get __asyncResolved(){return jt},setup(){const _n=currentInstance;if(jt)return()=>createInnerComp(jt,_n);const wn=xn=>{Lt=null,handleError(xn,_n,13,!Fe)};if(At&&_n.suspense||isInSSRComponentSetup)return bn().then(xn=>()=>createInnerComp(xn,_n)).catch(xn=>(wn(xn),()=>Fe?createVNode$1(Fe,{error:xn}):null));const kn=ref(!1),Cn=ref(),Sn=ref(!!Ue);return Ue&&setTimeout(()=>{Sn.value=!1},Ue),qe!=null&&setTimeout(()=>{if(!kn.value&&!Cn.value){const xn=new Error(`Async component timed out after ${qe}ms.`);wn(xn),Cn.value=xn}},qe),bn().then(()=>{kn.value=!0,_n.parent&&isKeepAlive(_n.parent.vnode)&&(_n.parent.effect.dirty=!0,queueJob(_n.parent.update))}).catch(xn=>{wn(xn),Cn.value=xn}),()=>{if(kn.value&&jt)return createInnerComp(jt,_n);if(Cn.value&&Fe)return createVNode$1(Fe,{error:Cn.value});if(Ie&&!Sn.value)return createVNode$1(Ie)}}})}function createInnerComp(xe,$e){const{ref:Ie,props:Fe,children:Ue,ce:qe}=$e.vnode,At=createVNode$1(xe,Fe,Ue);return At.ref=Ie,At.ce=qe,delete $e.vnode.ce,At}const isKeepAlive=xe=>xe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=Ie.ctx;if(!Fe.renderer)return()=>{const xn=$e.default&&$e.default();return xn&&xn.length===1?xn[0]:xn};const Ue=new Map,qe=new Set;let At=null;const Dt=Ie.suspense,{renderer:{p:Lt,m:jt,um:hn,o:{createElement:vn}}}=Fe,bn=vn("div");Fe.activate=(xn,En,Tn,An,$n)=>{const Pn=xn.component;jt(xn,En,Tn,0,Dt),Lt(Pn.vnode,xn,En,Tn,Pn,Dt,An,xn.slotScopeIds,$n),queuePostRenderEffect(()=>{Pn.isDeactivated=!1,Pn.a&&invokeArrayFns(Pn.a);const Nn=xn.props&&xn.props.onVnodeMounted;Nn&&invokeVNodeHook(Nn,Pn.parent,xn)},Dt)},Fe.deactivate=xn=>{const En=xn.component;jt(xn,bn,null,1,Dt),queuePostRenderEffect(()=>{En.da&&invokeArrayFns(En.da);const Tn=xn.props&&xn.props.onVnodeUnmounted;Tn&&invokeVNodeHook(Tn,En.parent,xn),En.isDeactivated=!0},Dt)};function _n(xn){resetShapeFlag(xn),hn(xn,Ie,Dt,!0)}function wn(xn){Ue.forEach((En,Tn)=>{const An=getComponentName(En.type);An&&(!xn||!xn(An))&&kn(Tn)})}function kn(xn){const En=Ue.get(xn);!At||!isSameVNodeType(En,At)?_n(En):At&&resetShapeFlag(At),Ue.delete(xn),qe.delete(xn)}watch(()=>[xe.include,xe.exclude],([xn,En])=>{xn&&wn(Tn=>matches(xn,Tn)),En&&wn(Tn=>!matches(En,Tn))},{flush:"post",deep:!0});let Cn=null;const Sn=()=>{Cn!=null&&Ue.set(Cn,getInnerChild(Ie.subTree))};return onMounted(Sn),onUpdated(Sn),onBeforeUnmount(()=>{Ue.forEach(xn=>{const{subTree:En,suspense:Tn}=Ie,An=getInnerChild(En);if(xn.type===An.type&&xn.key===An.key){resetShapeFlag(An);const $n=An.component.da;$n&&queuePostRenderEffect($n,Tn);return}_n(xn)})}),()=>{if(Cn=null,!$e.default)return null;const xn=$e.default(),En=xn[0];if(xn.length>1)return At=null,xn;if(!isVNode(En)||!(En.shapeFlag&4)&&!(En.shapeFlag&128))return At=null,En;let Tn=getInnerChild(En);const An=Tn.type,$n=getComponentName(isAsyncWrapper(Tn)?Tn.type.__asyncResolved||{}:An),{include:Pn,exclude:Nn,max:Mn}=xe;if(Pn&&(!$n||!matches(Pn,$n))||Nn&&$n&&matches(Nn,$n))return At=Tn,En;const In=Tn.key==null?An:Tn.key,On=Ue.get(In);return Tn.el&&(Tn=cloneVNode(Tn),En.shapeFlag&128&&(En.ssContent=Tn)),Cn=In,On?(Tn.el=On.el,Tn.component=On.component,Tn.transition&&setTransitionHooks(Tn,Tn.transition),Tn.shapeFlag|=512,qe.delete(In),qe.add(In)):(qe.add(In),Mn&&qe.size>parseInt(Mn,10)&&kn(qe.values().next().value)),Tn.shapeFlag|=256,At=Tn,isSuspense(En.type)?En:Tn}}},KeepAlive=KeepAliveImpl;function matches(xe,$e){return isArray$6(xe)?xe.some(Ie=>matches(Ie,$e)):isString$4(xe)?xe.split(",").includes($e):isRegExp$2(xe)?xe.test($e):!1}function onActivated(xe,$e){registerKeepAliveHook(xe,"a",$e)}function onDeactivated(xe,$e){registerKeepAliveHook(xe,"da",$e)}function registerKeepAliveHook(xe,$e,Ie=currentInstance){const Fe=xe.__wdc||(xe.__wdc=()=>{let Ue=Ie;for(;Ue;){if(Ue.isDeactivated)return;Ue=Ue.parent}return xe()});if(injectHook($e,Fe,Ie),Ie){let Ue=Ie.parent;for(;Ue&&Ue.parent;)isKeepAlive(Ue.parent.vnode)&&injectToKeepAliveRoot(Fe,$e,Ie,Ue),Ue=Ue.parent}}function injectToKeepAliveRoot(xe,$e,Ie,Fe){const Ue=injectHook($e,xe,Fe,!0);onUnmounted(()=>{remove(Fe[$e],Ue)},Ie)}function resetShapeFlag(xe){xe.shapeFlag&=-257,xe.shapeFlag&=-513}function getInnerChild(xe){return xe.shapeFlag&128?xe.ssContent:xe}function injectHook(xe,$e,Ie=currentInstance,Fe=!1){if(Ie){const Ue=Ie[xe]||(Ie[xe]=[]),qe=$e.__weh||($e.__weh=(...At)=>{if(Ie.isUnmounted)return;pauseTracking();const Dt=setCurrentInstance(Ie),Lt=callWithAsyncErrorHandling($e,Ie,xe,At);return Dt(),resetTracking(),Lt});return Fe?Ue.unshift(qe):Ue.push(qe),qe}}const createHook=xe=>($e,Ie=currentInstance)=>(!isInSSRComponentSetup||xe==="sp")&&injectHook(xe,(...Fe)=>$e(...Fe),Ie),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(xe,$e=currentInstance){injectHook("ec",xe,$e)}function renderList(xe,$e,Ie,Fe){let Ue;const qe=Ie&&Ie[Fe];if(isArray$6(xe)||isString$4(xe)){Ue=new Array(xe.length);for(let At=0,Dt=xe.length;At$e(At,Dt,void 0,qe&&qe[Dt]));else{const At=Object.keys(xe);Ue=new Array(At.length);for(let Dt=0,Lt=At.length;Dt{const qe=Fe.fn(...Ue);return qe&&(qe.key=Fe.key),qe}:Fe.fn)}return xe}function renderSlot(xe,$e,Ie={},Fe,Ue){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return $e!=="default"&&(Ie.name=$e),createVNode$1("slot",Ie,Fe&&Fe());let qe=xe[$e];qe&&qe._c&&(qe._d=!1),openBlock();const At=qe&&ensureValidVNode(qe(Ie)),Dt=createBlock(Fragment,{key:Ie.key||At&&At.key||`_${$e}`},At||(Fe?Fe():[]),At&&xe._===1?64:-2);return!Ue&&Dt.scopeId&&(Dt.slotScopeIds=[Dt.scopeId+"-s"]),qe&&qe._c&&(qe._d=!0),Dt}function ensureValidVNode(xe){return xe.some($e=>isVNode($e)?!($e.type===Comment$1||$e.type===Fragment&&!ensureValidVNode($e.children)):!0)?xe:null}function toHandlers(xe,$e){const Ie={};for(const Fe in xe)Ie[$e&&/[A-Z]/.test(Fe)?`on:${Fe}`:toHandlerKey(Fe)]=xe[Fe];return Ie}const getPublicInstance=xe=>xe?isStatefulComponent(xe)?getExposeProxy(xe)||xe.proxy:getPublicInstance(xe.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:xe=>xe,$el:xe=>xe.vnode.el,$data:xe=>xe.data,$props:xe=>xe.props,$attrs:xe=>xe.attrs,$slots:xe=>xe.slots,$refs:xe=>xe.refs,$parent:xe=>getPublicInstance(xe.parent),$root:xe=>getPublicInstance(xe.root),$emit:xe=>xe.emit,$options:xe=>resolveMergedOptions(xe),$forceUpdate:xe=>xe.f||(xe.f=()=>{xe.effect.dirty=!0,queueJob(xe.update)}),$nextTick:xe=>xe.n||(xe.n=nextTick.bind(xe.proxy)),$watch:xe=>instanceWatch.bind(xe)}),hasSetupBinding=(xe,$e)=>xe!==EMPTY_OBJ$1&&!xe.__isScriptSetup&&hasOwn$1(xe,$e),PublicInstanceProxyHandlers={get({_:xe},$e){if($e==="__v_skip")return!0;const{ctx:Ie,setupState:Fe,data:Ue,props:qe,accessCache:At,type:Dt,appContext:Lt}=xe;let jt;if($e[0]!=="$"){const _n=At[$e];if(_n!==void 0)switch(_n){case 1:return Fe[$e];case 2:return Ue[$e];case 4:return Ie[$e];case 3:return qe[$e]}else{if(hasSetupBinding(Fe,$e))return At[$e]=1,Fe[$e];if(Ue!==EMPTY_OBJ$1&&hasOwn$1(Ue,$e))return At[$e]=2,Ue[$e];if((jt=xe.propsOptions[0])&&hasOwn$1(jt,$e))return At[$e]=3,qe[$e];if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];shouldCacheAccess&&(At[$e]=0)}}const hn=publicPropertiesMap[$e];let vn,bn;if(hn)return $e==="$attrs"&&track(xe.attrs,"get",""),hn(xe);if((vn=Dt.__cssModules)&&(vn=vn[$e]))return vn;if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];if(bn=Lt.config.globalProperties,hasOwn$1(bn,$e))return bn[$e]},set({_:xe},$e,Ie){const{data:Fe,setupState:Ue,ctx:qe}=xe;return hasSetupBinding(Ue,$e)?(Ue[$e]=Ie,!0):Fe!==EMPTY_OBJ$1&&hasOwn$1(Fe,$e)?(Fe[$e]=Ie,!0):hasOwn$1(xe.props,$e)||$e[0]==="$"&&$e.slice(1)in xe?!1:(qe[$e]=Ie,!0)},has({_:{data:xe,setupState:$e,accessCache:Ie,ctx:Fe,appContext:Ue,propsOptions:qe}},At){let Dt;return!!Ie[At]||xe!==EMPTY_OBJ$1&&hasOwn$1(xe,At)||hasSetupBinding($e,At)||(Dt=qe[0])&&hasOwn$1(Dt,At)||hasOwn$1(Fe,At)||hasOwn$1(publicPropertiesMap,At)||hasOwn$1(Ue.config.globalProperties,At)},defineProperty(xe,$e,Ie){return Ie.get!=null?xe._.accessCache[$e]=0:hasOwn$1(Ie,"value")&&this.set(xe,$e,Ie.value,null),Reflect.defineProperty(xe,$e,Ie)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(xe,$e){if($e!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(xe,$e,xe)},has(xe,$e){return $e[0]!=="_"&&!isGloballyAllowed($e)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(xe){}function defineOptions(xe){}function defineSlots(){return null}function defineModel(){}function withDefaults(xe,$e){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const xe=getCurrentInstance();return xe.setupContext||(xe.setupContext=createSetupContext(xe))}function normalizePropsOrEmits(xe){return isArray$6(xe)?xe.reduce(($e,Ie)=>($e[Ie]=null,$e),{}):xe}function mergeDefaults(xe,$e){const Ie=normalizePropsOrEmits(xe);for(const Fe in $e){if(Fe.startsWith("__skip"))continue;let Ue=Ie[Fe];Ue?isArray$6(Ue)||isFunction$5(Ue)?Ue=Ie[Fe]={type:Ue,default:$e[Fe]}:Ue.default=$e[Fe]:Ue===null&&(Ue=Ie[Fe]={default:$e[Fe]}),Ue&&$e[`__skip_${Fe}`]&&(Ue.skipFactory=!0)}return Ie}function mergeModels(xe,$e){return!xe||!$e?xe||$e:isArray$6(xe)&&isArray$6($e)?xe.concat($e):extend$2({},normalizePropsOrEmits(xe),normalizePropsOrEmits($e))}function createPropsRestProxy(xe,$e){const Ie={};for(const Fe in xe)$e.includes(Fe)||Object.defineProperty(Ie,Fe,{enumerable:!0,get:()=>xe[Fe]});return Ie}function withAsyncContext(xe){const $e=getCurrentInstance();let Ie=xe();return unsetCurrentInstance(),isPromise(Ie)&&(Ie=Ie.catch(Fe=>{throw setCurrentInstance($e),Fe})),[Ie,()=>setCurrentInstance($e)]}let shouldCacheAccess=!0;function applyOptions(xe){const $e=resolveMergedOptions(xe),Ie=xe.proxy,Fe=xe.ctx;shouldCacheAccess=!1,$e.beforeCreate&&callHook$1($e.beforeCreate,xe,"bc");const{data:Ue,computed:qe,methods:At,watch:Dt,provide:Lt,inject:jt,created:hn,beforeMount:vn,mounted:bn,beforeUpdate:_n,updated:wn,activated:kn,deactivated:Cn,beforeDestroy:Sn,beforeUnmount:xn,destroyed:En,unmounted:Tn,render:An,renderTracked:$n,renderTriggered:Pn,errorCaptured:Nn,serverPrefetch:Mn,expose:In,inheritAttrs:On,components:Rn,directives:Bn,filters:Vn}=$e;if(jt&&resolveInjections(jt,Fe,null),At)for(const Hn in At){const Fn=At[Hn];isFunction$5(Fn)&&(Fe[Hn]=Fn.bind(Ie))}if(Ue){const Hn=Ue.call(Ie,Ie);isObject$8(Hn)&&(xe.data=reactive(Hn))}if(shouldCacheAccess=!0,qe)for(const Hn in qe){const Fn=qe[Hn],zn=isFunction$5(Fn)?Fn.bind(Ie,Ie):isFunction$5(Fn.get)?Fn.get.bind(Ie,Ie):NOOP,jn=!isFunction$5(Fn)&&isFunction$5(Fn.set)?Fn.set.bind(Ie):NOOP,Gn=computed({get:zn,set:jn});Object.defineProperty(Fe,Hn,{enumerable:!0,configurable:!0,get:()=>Gn.value,set:Wn=>Gn.value=Wn})}if(Dt)for(const Hn in Dt)createWatcher(Dt[Hn],Fe,Ie,Hn);if(Lt){const Hn=isFunction$5(Lt)?Lt.call(Ie):Lt;Reflect.ownKeys(Hn).forEach(Fn=>{provide(Fn,Hn[Fn])})}hn&&callHook$1(hn,xe,"c");function Dn(Hn,Fn){isArray$6(Fn)?Fn.forEach(zn=>Hn(zn.bind(Ie))):Fn&&Hn(Fn.bind(Ie))}if(Dn(onBeforeMount,vn),Dn(onMounted,bn),Dn(onBeforeUpdate,_n),Dn(onUpdated,wn),Dn(onActivated,kn),Dn(onDeactivated,Cn),Dn(onErrorCaptured,Nn),Dn(onRenderTracked,$n),Dn(onRenderTriggered,Pn),Dn(onBeforeUnmount,xn),Dn(onUnmounted,Tn),Dn(onServerPrefetch,Mn),isArray$6(In))if(In.length){const Hn=xe.exposed||(xe.exposed={});In.forEach(Fn=>{Object.defineProperty(Hn,Fn,{get:()=>Ie[Fn],set:zn=>Ie[Fn]=zn})})}else xe.exposed||(xe.exposed={});An&&xe.render===NOOP&&(xe.render=An),On!=null&&(xe.inheritAttrs=On),Rn&&(xe.components=Rn),Bn&&(xe.directives=Bn)}function resolveInjections(xe,$e,Ie=NOOP){isArray$6(xe)&&(xe=normalizeInject(xe));for(const Fe in xe){const Ue=xe[Fe];let qe;isObject$8(Ue)?"default"in Ue?qe=inject(Ue.from||Fe,Ue.default,!0):qe=inject(Ue.from||Fe):qe=inject(Ue),isRef(qe)?Object.defineProperty($e,Fe,{enumerable:!0,configurable:!0,get:()=>qe.value,set:At=>qe.value=At}):$e[Fe]=qe}}function callHook$1(xe,$e,Ie){callWithAsyncErrorHandling(isArray$6(xe)?xe.map(Fe=>Fe.bind($e.proxy)):xe.bind($e.proxy),$e,Ie)}function createWatcher(xe,$e,Ie,Fe){const Ue=Fe.includes(".")?createPathGetter(Ie,Fe):()=>Ie[Fe];if(isString$4(xe)){const qe=$e[xe];isFunction$5(qe)&&watch(Ue,qe)}else if(isFunction$5(xe))watch(Ue,xe.bind(Ie));else if(isObject$8(xe))if(isArray$6(xe))xe.forEach(qe=>createWatcher(qe,$e,Ie,Fe));else{const qe=isFunction$5(xe.handler)?xe.handler.bind(Ie):$e[xe.handler];isFunction$5(qe)&&watch(Ue,qe,xe)}}function resolveMergedOptions(xe){const $e=xe.type,{mixins:Ie,extends:Fe}=$e,{mixins:Ue,optionsCache:qe,config:{optionMergeStrategies:At}}=xe.appContext,Dt=qe.get($e);let Lt;return Dt?Lt=Dt:!Ue.length&&!Ie&&!Fe?Lt=$e:(Lt={},Ue.length&&Ue.forEach(jt=>mergeOptions$2(Lt,jt,At,!0)),mergeOptions$2(Lt,$e,At)),isObject$8($e)&&qe.set($e,Lt),Lt}function mergeOptions$2(xe,$e,Ie,Fe=!1){const{mixins:Ue,extends:qe}=$e;qe&&mergeOptions$2(xe,qe,Ie,!0),Ue&&Ue.forEach(At=>mergeOptions$2(xe,At,Ie,!0));for(const At in $e)if(!(Fe&&At==="expose")){const Dt=internalOptionMergeStrats[At]||Ie&&Ie[At];xe[At]=Dt?Dt(xe[At],$e[At]):$e[At]}return xe}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(xe,$e){return $e?xe?function(){return extend$2(isFunction$5(xe)?xe.call(this,this):xe,isFunction$5($e)?$e.call(this,this):$e)}:$e:xe}function mergeInject(xe,$e){return mergeObjectOptions(normalizeInject(xe),normalizeInject($e))}function normalizeInject(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie1)return Ie&&isFunction$5($e)?$e.call(Fe&&Fe.proxy):$e}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=xe=>Object.getPrototypeOf(xe)===internalObjectProto;function initProps$1(xe,$e,Ie,Fe=!1){const Ue={},qe=createInternalObject();xe.propsDefaults=Object.create(null),setFullProps(xe,$e,Ue,qe);for(const At in xe.propsOptions[0])At in Ue||(Ue[At]=void 0);Ie?xe.props=Fe?Ue:shallowReactive(Ue):xe.type.props?xe.props=Ue:xe.props=qe,xe.attrs=qe}function updateProps$2(xe,$e,Ie,Fe){const{props:Ue,attrs:qe,vnode:{patchFlag:At}}=xe,Dt=toRaw(Ue),[Lt]=xe.propsOptions;let jt=!1;if((Fe||At>0)&&!(At&16)){if(At&8){const hn=xe.vnode.dynamicProps;for(let vn=0;vn{Lt=!0;const[bn,_n]=normalizePropsOptions(vn,$e,!0);extend$2(At,bn),_n&&Dt.push(..._n)};!Ie&&$e.mixins.length&&$e.mixins.forEach(hn),xe.extends&&hn(xe.extends),xe.mixins&&xe.mixins.forEach(hn)}if(!qe&&!Lt)return isObject$8(xe)&&Fe.set(xe,EMPTY_ARR),EMPTY_ARR;if(isArray$6(qe))for(let hn=0;hn-1,_n[1]=kn<0||wn-1||hasOwn$1(_n,"default"))&&Dt.push(vn)}}}const jt=[At,Dt];return isObject$8(xe)&&Fe.set(xe,jt),jt}function validatePropName(xe){return xe[0]!=="$"&&!isReservedProp(xe)}function getType(xe){return xe===null?"null":typeof xe=="function"?xe.name||"":typeof xe=="object"&&xe.constructor&&xe.constructor.name||""}function isSameType(xe,$e){return getType(xe)===getType($e)}function getTypeIndex(xe,$e){return isArray$6($e)?$e.findIndex(Ie=>isSameType(Ie,xe)):isFunction$5($e)&&isSameType($e,xe)?0:-1}const isInternalKey=xe=>xe[0]==="_"||xe==="$stable",normalizeSlotValue=xe=>isArray$6(xe)?xe.map(normalizeVNode):[normalizeVNode(xe)],normalizeSlot$1=(xe,$e,Ie)=>{if($e._n)return $e;const Fe=withCtx((...Ue)=>normalizeSlotValue($e(...Ue)),Ie);return Fe._c=!1,Fe},normalizeObjectSlots=(xe,$e,Ie)=>{const Fe=xe._ctx;for(const Ue in xe){if(isInternalKey(Ue))continue;const qe=xe[Ue];if(isFunction$5(qe))$e[Ue]=normalizeSlot$1(Ue,qe,Fe);else if(qe!=null){const At=normalizeSlotValue(qe);$e[Ue]=()=>At}}},normalizeVNodeSlots=(xe,$e)=>{const Ie=normalizeSlotValue($e);xe.slots.default=()=>Ie},initSlots=(xe,$e)=>{const Ie=xe.slots=createInternalObject();if(xe.vnode.shapeFlag&32){const Fe=$e._;Fe?(extend$2(Ie,$e),def(Ie,"_",Fe,!0)):normalizeObjectSlots($e,Ie)}else $e&&normalizeVNodeSlots(xe,$e)},updateSlots=(xe,$e,Ie)=>{const{vnode:Fe,slots:Ue}=xe;let qe=!0,At=EMPTY_OBJ$1;if(Fe.shapeFlag&32){const Dt=$e._;Dt?Ie&&Dt===1?qe=!1:(extend$2(Ue,$e),!Ie&&Dt===1&&delete Ue._):(qe=!$e.$stable,normalizeObjectSlots($e,Ue)),At=$e}else $e&&(normalizeVNodeSlots(xe,$e),At={default:1});if(qe)for(const Dt in Ue)!isInternalKey(Dt)&&At[Dt]==null&&delete Ue[Dt]};function setRef(xe,$e,Ie,Fe,Ue=!1){if(isArray$6(xe)){xe.forEach((bn,_n)=>setRef(bn,$e&&(isArray$6($e)?$e[_n]:$e),Ie,Fe,Ue));return}if(isAsyncWrapper(Fe)&&!Ue)return;const qe=Fe.shapeFlag&4?getExposeProxy(Fe.component)||Fe.component.proxy:Fe.el,At=Ue?null:qe,{i:Dt,r:Lt}=xe,jt=$e&&$e.r,hn=Dt.refs===EMPTY_OBJ$1?Dt.refs={}:Dt.refs,vn=Dt.setupState;if(jt!=null&&jt!==Lt&&(isString$4(jt)?(hn[jt]=null,hasOwn$1(vn,jt)&&(vn[jt]=null)):isRef(jt)&&(jt.value=null)),isFunction$5(Lt))callWithErrorHandling(Lt,Dt,12,[At,hn]);else{const bn=isString$4(Lt),_n=isRef(Lt);if(bn||_n){const wn=()=>{if(xe.f){const kn=bn?hasOwn$1(vn,Lt)?vn[Lt]:hn[Lt]:Lt.value;Ue?isArray$6(kn)&&remove(kn,qe):isArray$6(kn)?kn.includes(qe)||kn.push(qe):bn?(hn[Lt]=[qe],hasOwn$1(vn,Lt)&&(vn[Lt]=hn[Lt])):(Lt.value=[qe],xe.k&&(hn[xe.k]=Lt.value))}else bn?(hn[Lt]=At,hasOwn$1(vn,Lt)&&(vn[Lt]=At)):_n&&(Lt.value=At,xe.k&&(hn[xe.k]=At))};At?(wn.id=-1,queuePostRenderEffect(wn,Ie)):wn()}}}let hasMismatch=!1;const isSVGContainer=xe=>xe.namespaceURI.includes("svg")&&xe.tagName!=="foreignObject",isMathMLContainer=xe=>xe.namespaceURI.includes("MathML"),getContainerType=xe=>{if(isSVGContainer(xe))return"svg";if(isMathMLContainer(xe))return"mathml"},isComment$1=xe=>xe.nodeType===8;function createHydrationFunctions(xe){const{mt:$e,p:Ie,o:{patchProp:Fe,createText:Ue,nextSibling:qe,parentNode:At,remove:Dt,insert:Lt,createComment:jt}}=xe,hn=(En,Tn)=>{if(!Tn.hasChildNodes()){Ie(null,En,Tn),flushPostFlushCbs(),Tn._vnode=En;return}hasMismatch=!1,vn(Tn.firstChild,En,null,null,null),flushPostFlushCbs(),Tn._vnode=En,hasMismatch&&console.error("Hydration completed but contains mismatches.")},vn=(En,Tn,An,$n,Pn,Nn=!1)=>{Nn=Nn||!!Tn.dynamicChildren;const Mn=isComment$1(En)&&En.data==="[",In=()=>kn(En,Tn,An,$n,Pn,Mn),{type:On,ref:Rn,shapeFlag:Bn,patchFlag:Vn}=Tn;let Ln=En.nodeType;Tn.el=En,Vn===-2&&(Nn=!1,Tn.dynamicChildren=null);let Dn=null;switch(On){case Text$2:Ln!==3?Tn.children===""?(Lt(Tn.el=Ue(""),At(En),En),Dn=En):Dn=In():(En.data!==Tn.children&&(hasMismatch=!0,En.data=Tn.children),Dn=qe(En));break;case Comment$1:xn(En)?(Dn=qe(En),Sn(Tn.el=En.content.firstChild,En,An)):Ln!==8||Mn?Dn=In():Dn=qe(En);break;case Static:if(Mn&&(En=qe(En),Ln=En.nodeType),Ln===1||Ln===3){Dn=En;const Hn=!Tn.children.length;for(let Fn=0;Fn{Nn=Nn||!!Tn.dynamicChildren;const{type:Mn,props:In,patchFlag:On,shapeFlag:Rn,dirs:Bn,transition:Vn}=Tn,Ln=Mn==="input"||Mn==="option";if(Ln||On!==-1){Bn&&invokeDirectiveHook(Tn,null,An,"created");let Dn=!1;if(xn(En)){Dn=needTransition($n,Vn)&&An&&An.vnode.props&&An.vnode.props.appear;const Fn=En.content.firstChild;Dn&&Vn.beforeEnter(Fn),Sn(Fn,En,An),Tn.el=En=Fn}if(Rn&16&&!(In&&(In.innerHTML||In.textContent))){let Fn=_n(En.firstChild,Tn,En,An,$n,Pn,Nn);for(;Fn;){hasMismatch=!0;const zn=Fn;Fn=Fn.nextSibling,Dt(zn)}}else Rn&8&&En.textContent!==Tn.children&&(hasMismatch=!0,En.textContent=Tn.children);if(In)if(Ln||!Nn||On&48)for(const Fn in In)(Ln&&(Fn.endsWith("value")||Fn==="indeterminate")||isOn(Fn)&&!isReservedProp(Fn)||Fn[0]===".")&&Fe(En,Fn,null,In[Fn],void 0,void 0,An);else In.onClick&&Fe(En,"onClick",null,In.onClick,void 0,void 0,An);let Hn;(Hn=In&&In.onVnodeBeforeMount)&&invokeVNodeHook(Hn,An,Tn),Bn&&invokeDirectiveHook(Tn,null,An,"beforeMount"),((Hn=In&&In.onVnodeMounted)||Bn||Dn)&&queueEffectWithSuspense(()=>{Hn&&invokeVNodeHook(Hn,An,Tn),Dn&&Vn.enter(En),Bn&&invokeDirectiveHook(Tn,null,An,"mounted")},$n)}return En.nextSibling},_n=(En,Tn,An,$n,Pn,Nn,Mn)=>{Mn=Mn||!!Tn.dynamicChildren;const In=Tn.children,On=In.length;for(let Rn=0;Rn{const{slotScopeIds:Mn}=Tn;Mn&&(Pn=Pn?Pn.concat(Mn):Mn);const In=At(En),On=_n(qe(En),Tn,In,An,$n,Pn,Nn);return On&&isComment$1(On)&&On.data==="]"?qe(Tn.anchor=On):(hasMismatch=!0,Lt(Tn.anchor=jt("]"),In,On),On)},kn=(En,Tn,An,$n,Pn,Nn)=>{if(hasMismatch=!0,Tn.el=null,Nn){const On=Cn(En);for(;;){const Rn=qe(En);if(Rn&&Rn!==On)Dt(Rn);else break}}const Mn=qe(En),In=At(En);return Dt(En),Ie(null,Tn,In,Mn,An,$n,getContainerType(In),Pn),Mn},Cn=(En,Tn="[",An="]")=>{let $n=0;for(;En;)if(En=qe(En),En&&isComment$1(En)&&(En.data===Tn&&$n++,En.data===An)){if($n===0)return qe(En);$n--}return En},Sn=(En,Tn,An)=>{const $n=Tn.parentNode;$n&&$n.replaceChild(En,Tn);let Pn=An;for(;Pn;)Pn.vnode.el===Tn&&(Pn.vnode.el=Pn.subTree.el=En),Pn=Pn.parent},xn=En=>En.nodeType===1&&En.tagName.toLowerCase()==="template";return[hn,vn]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(xe){return baseCreateRenderer(xe)}function createHydrationRenderer(xe){return baseCreateRenderer(xe,createHydrationFunctions)}function baseCreateRenderer(xe,$e){const Ie=getGlobalThis();Ie.__VUE__=!0;const{insert:Fe,remove:Ue,patchProp:qe,createElement:At,createText:Dt,createComment:Lt,setText:jt,setElementText:hn,parentNode:vn,nextSibling:bn,setScopeId:_n=NOOP,insertStaticContent:wn}=xe,kn=(Kn,Zn,nr,lr=null,ir=null,kr=null,Cr=void 0,Er=null,dr=!!Zn.dynamicChildren)=>{if(Kn===Zn)return;Kn&&!isSameVNodeType(Kn,Zn)&&(lr=Yn(Kn),Wn(Kn,ir,kr,!0),Kn=null),Zn.patchFlag===-2&&(dr=!1,Zn.dynamicChildren=null);const{type:br,ref:_r,shapeFlag:Pr}=Zn;switch(br){case Text$2:Cn(Kn,Zn,nr,lr);break;case Comment$1:Sn(Kn,Zn,nr,lr);break;case Static:Kn==null&&xn(Zn,nr,lr,Cr);break;case Fragment:Rn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr);break;default:Pr&1?An(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):Pr&6?Bn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):(Pr&64||Pr&128)&&br.process(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr,tr)}_r!=null&&ir&&setRef(_r,Kn&&Kn.ref,kr,Zn||Kn,!Zn)},Cn=(Kn,Zn,nr,lr)=>{if(Kn==null)Fe(Zn.el=Dt(Zn.children),nr,lr);else{const ir=Zn.el=Kn.el;Zn.children!==Kn.children&&jt(ir,Zn.children)}},Sn=(Kn,Zn,nr,lr)=>{Kn==null?Fe(Zn.el=Lt(Zn.children||""),nr,lr):Zn.el=Kn.el},xn=(Kn,Zn,nr,lr)=>{[Kn.el,Kn.anchor]=wn(Kn.children,Zn,nr,lr,Kn.el,Kn.anchor)},En=({el:Kn,anchor:Zn},nr,lr)=>{let ir;for(;Kn&&Kn!==Zn;)ir=bn(Kn),Fe(Kn,nr,lr),Kn=ir;Fe(Zn,nr,lr)},Tn=({el:Kn,anchor:Zn})=>{let nr;for(;Kn&&Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},An=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.type==="svg"?Cr="svg":Zn.type==="math"&&(Cr="mathml"),Kn==null?$n(Zn,nr,lr,ir,kr,Cr,Er,dr):Mn(Kn,Zn,ir,kr,Cr,Er,dr)},$n=(Kn,Zn,nr,lr,ir,kr,Cr,Er)=>{let dr,br;const{props:_r,shapeFlag:Pr,transition:gr,dirs:xr}=Kn;if(dr=Kn.el=At(Kn.type,kr,_r&&_r.is,_r),Pr&8?hn(dr,Kn.children):Pr&16&&Nn(Kn.children,dr,null,lr,ir,resolveChildrenNamespace(Kn,kr),Cr,Er),xr&&invokeDirectiveHook(Kn,null,lr,"created"),Pn(dr,Kn,Kn.scopeId,Cr,lr),_r){for(const Hr in _r)Hr!=="value"&&!isReservedProp(Hr)&&qe(dr,Hr,null,_r[Hr],kr,Kn.children,lr,ir,Jn);"value"in _r&&qe(dr,"value",null,_r.value,kr),(br=_r.onVnodeBeforeMount)&&invokeVNodeHook(br,lr,Kn)}xr&&invokeDirectiveHook(Kn,null,lr,"beforeMount");const Rr=needTransition(ir,gr);Rr&&gr.beforeEnter(dr),Fe(dr,Zn,nr),((br=_r&&_r.onVnodeMounted)||Rr||xr)&&queuePostRenderEffect(()=>{br&&invokeVNodeHook(br,lr,Kn),Rr&&gr.enter(dr),xr&&invokeDirectiveHook(Kn,null,lr,"mounted")},ir)},Pn=(Kn,Zn,nr,lr,ir)=>{if(nr&&_n(Kn,nr),lr)for(let kr=0;kr{for(let br=dr;br{const Er=Zn.el=Kn.el;let{patchFlag:dr,dynamicChildren:br,dirs:_r}=Zn;dr|=Kn.patchFlag&16;const Pr=Kn.props||EMPTY_OBJ$1,gr=Zn.props||EMPTY_OBJ$1;let xr;if(nr&&toggleRecurse(nr,!1),(xr=gr.onVnodeBeforeUpdate)&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"beforeUpdate"),nr&&toggleRecurse(nr,!0),br?In(Kn.dynamicChildren,br,Er,nr,lr,resolveChildrenNamespace(Zn,ir),kr):Cr||Fn(Kn,Zn,Er,null,nr,lr,resolveChildrenNamespace(Zn,ir),kr,!1),dr>0){if(dr&16)On(Er,Zn,Pr,gr,nr,lr,ir);else if(dr&2&&Pr.class!==gr.class&&qe(Er,"class",null,gr.class,ir),dr&4&&qe(Er,"style",Pr.style,gr.style,ir),dr&8){const Rr=Zn.dynamicProps;for(let Hr=0;Hr{xr&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"updated")},lr)},In=(Kn,Zn,nr,lr,ir,kr,Cr)=>{for(let Er=0;Er{if(nr!==lr){if(nr!==EMPTY_OBJ$1)for(const Er in nr)!isReservedProp(Er)&&!(Er in lr)&&qe(Kn,Er,nr[Er],null,Cr,Zn.children,ir,kr,Jn);for(const Er in lr){if(isReservedProp(Er))continue;const dr=lr[Er],br=nr[Er];dr!==br&&Er!=="value"&&qe(Kn,Er,br,dr,Cr,Zn.children,ir,kr,Jn)}"value"in lr&&qe(Kn,"value",nr.value,lr.value,Cr)}},Rn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{const br=Zn.el=Kn?Kn.el:Dt(""),_r=Zn.anchor=Kn?Kn.anchor:Dt("");let{patchFlag:Pr,dynamicChildren:gr,slotScopeIds:xr}=Zn;xr&&(Er=Er?Er.concat(xr):xr),Kn==null?(Fe(br,nr,lr),Fe(_r,nr,lr),Nn(Zn.children||[],nr,_r,ir,kr,Cr,Er,dr)):Pr>0&&Pr&64&&gr&&Kn.dynamicChildren?(In(Kn.dynamicChildren,gr,nr,ir,kr,Cr,Er),(Zn.key!=null||ir&&Zn===ir.subTree)&&traverseStaticChildren(Kn,Zn,!0)):Fn(Kn,Zn,nr,_r,ir,kr,Cr,Er,dr)},Bn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.slotScopeIds=Er,Kn==null?Zn.shapeFlag&512?ir.ctx.activate(Zn,nr,lr,Cr,dr):Vn(Zn,nr,lr,ir,kr,Cr,dr):Ln(Kn,Zn,dr)},Vn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=Kn.component=createComponentInstance(Kn,lr,ir);if(isKeepAlive(Kn)&&(Er.ctx.renderer=tr),setupComponent(Er),Er.asyncDep){if(ir&&ir.registerDep(Er,Dn),!Kn.el){const dr=Er.subTree=createVNode$1(Comment$1);Sn(null,dr,Zn,nr)}}else Dn(Er,Kn,Zn,nr,ir,kr,Cr)},Ln=(Kn,Zn,nr)=>{const lr=Zn.component=Kn.component;if(shouldUpdateComponent(Kn,Zn,nr))if(lr.asyncDep&&!lr.asyncResolved){Hn(lr,Zn,nr);return}else lr.next=Zn,invalidateJob(lr.update),lr.effect.dirty=!0,lr.update();else Zn.el=Kn.el,lr.vnode=Zn},Dn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=()=>{if(Kn.isMounted){let{next:_r,bu:Pr,u:gr,parent:xr,vnode:Rr}=Kn;{const Br=locateNonHydratedAsyncRoot(Kn);if(Br){_r&&(_r.el=Rr.el,Hn(Kn,_r,Cr)),Br.asyncDep.then(()=>{Kn.isUnmounted||Er()});return}}let Hr=_r,Jr;toggleRecurse(Kn,!1),_r?(_r.el=Rr.el,Hn(Kn,_r,Cr)):_r=Rr,Pr&&invokeArrayFns(Pr),(Jr=_r.props&&_r.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Jr,xr,_r,Rr),toggleRecurse(Kn,!0);const Gr=renderComponentRoot(Kn),$r=Kn.subTree;Kn.subTree=Gr,kn($r,Gr,vn($r.el),Yn($r),Kn,ir,kr),_r.el=Gr.el,Hr===null&&updateHOCHostEl(Kn,Gr.el),gr&&queuePostRenderEffect(gr,ir),(Jr=_r.props&&_r.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Jr,xr,_r,Rr),ir)}else{let _r;const{el:Pr,props:gr}=Zn,{bm:xr,m:Rr,parent:Hr}=Kn,Jr=isAsyncWrapper(Zn);if(toggleRecurse(Kn,!1),xr&&invokeArrayFns(xr),!Jr&&(_r=gr&&gr.onVnodeBeforeMount)&&invokeVNodeHook(_r,Hr,Zn),toggleRecurse(Kn,!0),Pr&&sr){const Gr=()=>{Kn.subTree=renderComponentRoot(Kn),sr(Pr,Kn.subTree,Kn,ir,null)};Jr?Zn.type.__asyncLoader().then(()=>!Kn.isUnmounted&&Gr()):Gr()}else{const Gr=Kn.subTree=renderComponentRoot(Kn);kn(null,Gr,nr,lr,Kn,ir,kr),Zn.el=Gr.el}if(Rr&&queuePostRenderEffect(Rr,ir),!Jr&&(_r=gr&&gr.onVnodeMounted)){const Gr=Zn;queuePostRenderEffect(()=>invokeVNodeHook(_r,Hr,Gr),ir)}(Zn.shapeFlag&256||Hr&&isAsyncWrapper(Hr.vnode)&&Hr.vnode.shapeFlag&256)&&Kn.a&&queuePostRenderEffect(Kn.a,ir),Kn.isMounted=!0,Zn=nr=lr=null}},dr=Kn.effect=new ReactiveEffect(Er,NOOP,()=>queueJob(br),Kn.scope),br=Kn.update=()=>{dr.dirty&&dr.run()};br.id=Kn.uid,toggleRecurse(Kn,!0),br()},Hn=(Kn,Zn,nr)=>{Zn.component=Kn;const lr=Kn.vnode.props;Kn.vnode=Zn,Kn.next=null,updateProps$2(Kn,Zn.props,lr,nr),updateSlots(Kn,Zn.children,nr),pauseTracking(),flushPreFlushCbs(Kn),resetTracking()},Fn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr=!1)=>{const br=Kn&&Kn.children,_r=Kn?Kn.shapeFlag:0,Pr=Zn.children,{patchFlag:gr,shapeFlag:xr}=Zn;if(gr>0){if(gr&128){jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}else if(gr&256){zn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}}xr&8?(_r&16&&Jn(br,ir,kr),Pr!==br&&hn(nr,Pr)):_r&16?xr&16?jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr):Jn(br,ir,kr,!0):(_r&8&&hn(nr,""),xr&16&&Nn(Pr,nr,lr,ir,kr,Cr,Er,dr))},zn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Kn=Kn||EMPTY_ARR,Zn=Zn||EMPTY_ARR;const br=Kn.length,_r=Zn.length,Pr=Math.min(br,_r);let gr;for(gr=0;gr_r?Jn(Kn,ir,kr,!0,!1,Pr):Nn(Zn,nr,lr,ir,kr,Cr,Er,dr,Pr)},jn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{let br=0;const _r=Zn.length;let Pr=Kn.length-1,gr=_r-1;for(;br<=Pr&&br<=gr;){const xr=Kn[br],Rr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;br++}for(;br<=Pr&&br<=gr;){const xr=Kn[Pr],Rr=Zn[gr]=dr?cloneIfMounted(Zn[gr]):normalizeVNode(Zn[gr]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;Pr--,gr--}if(br>Pr){if(br<=gr){const xr=gr+1,Rr=xr<_r?Zn[xr].el:lr;for(;br<=gr;)kn(null,Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]),nr,Rr,ir,kr,Cr,Er,dr),br++}}else if(br>gr)for(;br<=Pr;)Wn(Kn[br],ir,kr,!0),br++;else{const xr=br,Rr=br,Hr=new Map;for(br=Rr;br<=gr;br++){const Dr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);Dr.key!=null&&Hr.set(Dr.key,br)}let Jr,Gr=0;const $r=gr-Rr+1;let Br=!1,Tr=0;const cr=new Array($r);for(br=0;br<$r;br++)cr[br]=0;for(br=xr;br<=Pr;br++){const Dr=Kn[br];if(Gr>=$r){Wn(Dr,ir,kr,!0);continue}let mr;if(Dr.key!=null)mr=Hr.get(Dr.key);else for(Jr=Rr;Jr<=gr;Jr++)if(cr[Jr-Rr]===0&&isSameVNodeType(Dr,Zn[Jr])){mr=Jr;break}mr===void 0?Wn(Dr,ir,kr,!0):(cr[mr-Rr]=br+1,mr>=Tr?Tr=mr:Br=!0,kn(Dr,Zn[mr],nr,null,ir,kr,Cr,Er,dr),Gr++)}const Sr=Br?getSequence(cr):EMPTY_ARR;for(Jr=Sr.length-1,br=$r-1;br>=0;br--){const Dr=Rr+br,mr=Zn[Dr],Lr=Dr+1<_r?Zn[Dr+1].el:lr;cr[br]===0?kn(null,mr,nr,Lr,ir,kr,Cr,Er,dr):Br&&(Jr<0||br!==Sr[Jr]?Gn(mr,nr,Lr,2):Jr--)}}},Gn=(Kn,Zn,nr,lr,ir=null)=>{const{el:kr,type:Cr,transition:Er,children:dr,shapeFlag:br}=Kn;if(br&6){Gn(Kn.component.subTree,Zn,nr,lr);return}if(br&128){Kn.suspense.move(Zn,nr,lr);return}if(br&64){Cr.move(Kn,Zn,nr,tr);return}if(Cr===Fragment){Fe(kr,Zn,nr);for(let Pr=0;PrEr.enter(kr),ir);else{const{leave:Pr,delayLeave:gr,afterLeave:xr}=Er,Rr=()=>Fe(kr,Zn,nr),Hr=()=>{Pr(kr,()=>{Rr(),xr&&xr()})};gr?gr(kr,Rr,Hr):Hr()}else Fe(kr,Zn,nr)},Wn=(Kn,Zn,nr,lr=!1,ir=!1)=>{const{type:kr,props:Cr,ref:Er,children:dr,dynamicChildren:br,shapeFlag:_r,patchFlag:Pr,dirs:gr}=Kn;if(Er!=null&&setRef(Er,null,nr,Kn,!0),_r&256){Zn.ctx.deactivate(Kn);return}const xr=_r&1&&gr,Rr=!isAsyncWrapper(Kn);let Hr;if(Rr&&(Hr=Cr&&Cr.onVnodeBeforeUnmount)&&invokeVNodeHook(Hr,Zn,Kn),_r&6)rr(Kn.component,nr,lr);else{if(_r&128){Kn.suspense.unmount(nr,lr);return}xr&&invokeDirectiveHook(Kn,null,Zn,"beforeUnmount"),_r&64?Kn.type.remove(Kn,Zn,nr,ir,tr,lr):br&&(kr!==Fragment||Pr>0&&Pr&64)?Jn(br,Zn,nr,!1,!0):(kr===Fragment&&Pr&384||!ir&&_r&16)&&Jn(dr,Zn,nr),lr&&Xn(Kn)}(Rr&&(Hr=Cr&&Cr.onVnodeUnmounted)||xr)&&queuePostRenderEffect(()=>{Hr&&invokeVNodeHook(Hr,Zn,Kn),xr&&invokeDirectiveHook(Kn,null,Zn,"unmounted")},nr)},Xn=Kn=>{const{type:Zn,el:nr,anchor:lr,transition:ir}=Kn;if(Zn===Fragment){er(nr,lr);return}if(Zn===Static){Tn(Kn);return}const kr=()=>{Ue(nr),ir&&!ir.persisted&&ir.afterLeave&&ir.afterLeave()};if(Kn.shapeFlag&1&&ir&&!ir.persisted){const{leave:Cr,delayLeave:Er}=ir,dr=()=>Cr(nr,kr);Er?Er(Kn.el,kr,dr):dr()}else kr()},er=(Kn,Zn)=>{let nr;for(;Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},rr=(Kn,Zn,nr)=>{const{bum:lr,scope:ir,update:kr,subTree:Cr,um:Er}=Kn;lr&&invokeArrayFns(lr),ir.stop(),kr&&(kr.active=!1,Wn(Cr,Kn,Zn,nr)),Er&&queuePostRenderEffect(Er,Zn),queuePostRenderEffect(()=>{Kn.isUnmounted=!0},Zn),Zn&&Zn.pendingBranch&&!Zn.isUnmounted&&Kn.asyncDep&&!Kn.asyncResolved&&Kn.suspenseId===Zn.pendingId&&(Zn.deps--,Zn.deps===0&&Zn.resolve())},Jn=(Kn,Zn,nr,lr=!1,ir=!1,kr=0)=>{for(let Cr=kr;CrKn.shapeFlag&6?Yn(Kn.component.subTree):Kn.shapeFlag&128?Kn.suspense.next():bn(Kn.anchor||Kn.el);let qn=!1;const ar=(Kn,Zn,nr)=>{Kn==null?Zn._vnode&&Wn(Zn._vnode,null,null,!0):kn(Zn._vnode||null,Kn,Zn,null,null,null,nr),qn||(qn=!0,flushPreFlushCbs(),flushPostFlushCbs(),qn=!1),Zn._vnode=Kn},tr={p:kn,um:Wn,m:Gn,r:Xn,mt:Vn,mc:Nn,pc:Fn,pbc:In,n:Yn,o:xe};let or,sr;return $e&&([or,sr]=$e(tr)),{render:ar,hydrate:or,createApp:createAppAPI(ar,or)}}function resolveChildrenNamespace({type:xe,props:$e},Ie){return Ie==="svg"&&xe==="foreignObject"||Ie==="mathml"&&xe==="annotation-xml"&&$e&&$e.encoding&&$e.encoding.includes("html")?void 0:Ie}function toggleRecurse({effect:xe,update:$e},Ie){xe.allowRecurse=$e.allowRecurse=Ie}function needTransition(xe,$e){return(!xe||xe&&!xe.pendingBranch)&&$e&&!$e.persisted}function traverseStaticChildren(xe,$e,Ie=!1){const Fe=xe.children,Ue=$e.children;if(isArray$6(Fe)&&isArray$6(Ue))for(let qe=0;qe>1,xe[Ie[Dt]]0&&($e[Fe]=Ie[qe-1]),Ie[qe]=Fe)}}for(qe=Ie.length,At=Ie[qe-1];qe-- >0;)Ie[qe]=At,At=$e[At];return Ie}function locateNonHydratedAsyncRoot(xe){const $e=xe.subTree.component;if($e)return $e.asyncDep&&!$e.asyncResolved?$e:locateNonHydratedAsyncRoot($e)}const isTeleport=xe=>xe.__isTeleport,isTeleportDisabled=xe=>xe&&(xe.disabled||xe.disabled===""),isTargetSVG=xe=>typeof SVGElement<"u"&&xe instanceof SVGElement,isTargetMathML=xe=>typeof MathMLElement=="function"&&xe instanceof MathMLElement,resolveTarget=(xe,$e)=>{const Ie=xe&&xe.to;return isString$4(Ie)?$e?$e(Ie):null:Ie},TeleportImpl={name:"Teleport",__isTeleport:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const{mc:hn,pc:vn,pbc:bn,o:{insert:_n,querySelector:wn,createText:kn,createComment:Cn}}=jt,Sn=isTeleportDisabled($e.props);let{shapeFlag:xn,children:En,dynamicChildren:Tn}=$e;if(xe==null){const An=$e.el=kn(""),$n=$e.anchor=kn("");_n(An,Ie,Fe),_n($n,Ie,Fe);const Pn=$e.target=resolveTarget($e.props,wn),Nn=$e.targetAnchor=kn("");Pn&&(_n(Nn,Pn),At==="svg"||isTargetSVG(Pn)?At="svg":(At==="mathml"||isTargetMathML(Pn))&&(At="mathml"));const Mn=(In,On)=>{xn&16&&hn(En,In,On,Ue,qe,At,Dt,Lt)};Sn?Mn(Ie,$n):Pn&&Mn(Pn,Nn)}else{$e.el=xe.el;const An=$e.anchor=xe.anchor,$n=$e.target=xe.target,Pn=$e.targetAnchor=xe.targetAnchor,Nn=isTeleportDisabled(xe.props),Mn=Nn?Ie:$n,In=Nn?An:Pn;if(At==="svg"||isTargetSVG($n)?At="svg":(At==="mathml"||isTargetMathML($n))&&(At="mathml"),Tn?(bn(xe.dynamicChildren,Tn,Mn,Ue,qe,At,Dt),traverseStaticChildren(xe,$e,!0)):Lt||vn(xe,$e,Mn,In,Ue,qe,At,Dt,!1),Sn)Nn?$e.props&&xe.props&&$e.props.to!==xe.props.to&&($e.props.to=xe.props.to):moveTeleport($e,Ie,An,jt,1);else if(($e.props&&$e.props.to)!==(xe.props&&xe.props.to)){const On=$e.target=resolveTarget($e.props,wn);On&&moveTeleport($e,On,null,jt,0)}else Nn&&moveTeleport($e,$n,Pn,jt,1)}updateCssVars($e)},remove(xe,$e,Ie,Fe,{um:Ue,o:{remove:qe}},At){const{shapeFlag:Dt,children:Lt,anchor:jt,targetAnchor:hn,target:vn,props:bn}=xe;if(vn&&qe(hn),At&&qe(jt),Dt&16){const _n=At||!isTeleportDisabled(bn);for(let wn=0;wn0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(xe),xe}function createElementBlock(xe,$e,Ie,Fe,Ue,qe){return setupBlock(createBaseVNode(xe,$e,Ie,Fe,Ue,qe,!0))}function createBlock(xe,$e,Ie,Fe,Ue){return setupBlock(createVNode$1(xe,$e,Ie,Fe,Ue,!0))}function isVNode(xe){return xe?xe.__v_isVNode===!0:!1}function isSameVNodeType(xe,$e){return xe.type===$e.type&&xe.key===$e.key}function transformVNodeArgs(xe){}const normalizeKey=({key:xe})=>xe??null,normalizeRef=({ref:xe,ref_key:$e,ref_for:Ie})=>(typeof xe=="number"&&(xe=""+xe),xe!=null?isString$4(xe)||isRef(xe)||isFunction$5(xe)?{i:currentRenderingInstance,r:xe,k:$e,f:!!Ie}:xe:null);function createBaseVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=xe===Fragment?0:1,At=!1,Dt=!1){const Lt={__v_isVNode:!0,__v_skip:!0,type:xe,props:$e,key:$e&&normalizeKey($e),ref:$e&&normalizeRef($e),scopeId:currentScopeId,slotScopeIds:null,children:Ie,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:qe,patchFlag:Fe,dynamicProps:Ue,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Dt?(normalizeChildren(Lt,Ie),qe&128&&xe.normalize(Lt)):Ie&&(Lt.shapeFlag|=isString$4(Ie)?8:16),isBlockTreeEnabled>0&&!At&¤tBlock&&(Lt.patchFlag>0||qe&6)&&Lt.patchFlag!==32&¤tBlock.push(Lt),Lt}const createVNode$1=_createVNode;function _createVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=!1){if((!xe||xe===NULL_DYNAMIC_COMPONENT)&&(xe=Comment$1),isVNode(xe)){const Dt=cloneVNode(xe,$e,!0);return Ie&&normalizeChildren(Dt,Ie),isBlockTreeEnabled>0&&!qe&¤tBlock&&(Dt.shapeFlag&6?currentBlock[currentBlock.indexOf(xe)]=Dt:currentBlock.push(Dt)),Dt.patchFlag|=-2,Dt}if(isClassComponent(xe)&&(xe=xe.__vccOpts),$e){$e=guardReactiveProps($e);let{class:Dt,style:Lt}=$e;Dt&&!isString$4(Dt)&&($e.class=normalizeClass(Dt)),isObject$8(Lt)&&(isProxy(Lt)&&!isArray$6(Lt)&&(Lt=extend$2({},Lt)),$e.style=normalizeStyle$1(Lt))}const At=isString$4(xe)?1:isSuspense(xe)?128:isTeleport(xe)?64:isObject$8(xe)?4:isFunction$5(xe)?2:0;return createBaseVNode(xe,$e,Ie,Fe,Ue,At,qe,!0)}function guardReactiveProps(xe){return xe?isProxy(xe)||isInternalObject(xe)?extend$2({},xe):xe:null}function cloneVNode(xe,$e,Ie=!1,Fe=!1){const{props:Ue,ref:qe,patchFlag:At,children:Dt,transition:Lt}=xe,jt=$e?mergeProps(Ue||{},$e):Ue,hn={__v_isVNode:!0,__v_skip:!0,type:xe.type,props:jt,key:jt&&normalizeKey(jt),ref:$e&&$e.ref?Ie&&qe?isArray$6(qe)?qe.concat(normalizeRef($e)):[qe,normalizeRef($e)]:normalizeRef($e):qe,scopeId:xe.scopeId,slotScopeIds:xe.slotScopeIds,children:Dt,target:xe.target,targetAnchor:xe.targetAnchor,staticCount:xe.staticCount,shapeFlag:xe.shapeFlag,patchFlag:$e&&xe.type!==Fragment?At===-1?16:At|16:At,dynamicProps:xe.dynamicProps,dynamicChildren:xe.dynamicChildren,appContext:xe.appContext,dirs:xe.dirs,transition:Lt,component:xe.component,suspense:xe.suspense,ssContent:xe.ssContent&&cloneVNode(xe.ssContent),ssFallback:xe.ssFallback&&cloneVNode(xe.ssFallback),el:xe.el,anchor:xe.anchor,ctx:xe.ctx,ce:xe.ce};return Lt&&Fe&&(hn.transition=Lt.clone(hn)),hn}function createTextVNode(xe=" ",$e=0){return createVNode$1(Text$2,null,xe,$e)}function createStaticVNode(xe,$e){const Ie=createVNode$1(Static,null,xe);return Ie.staticCount=$e,Ie}function createCommentVNode(xe="",$e=!1){return $e?(openBlock(),createBlock(Comment$1,null,xe)):createVNode$1(Comment$1,null,xe)}function normalizeVNode(xe){return xe==null||typeof xe=="boolean"?createVNode$1(Comment$1):isArray$6(xe)?createVNode$1(Fragment,null,xe.slice()):typeof xe=="object"?cloneIfMounted(xe):createVNode$1(Text$2,null,String(xe))}function cloneIfMounted(xe){return xe.el===null&&xe.patchFlag!==-1||xe.memo?xe:cloneVNode(xe)}function normalizeChildren(xe,$e){let Ie=0;const{shapeFlag:Fe}=xe;if($e==null)$e=null;else if(isArray$6($e))Ie=16;else if(typeof $e=="object")if(Fe&65){const Ue=$e.default;Ue&&(Ue._c&&(Ue._d=!1),normalizeChildren(xe,Ue()),Ue._c&&(Ue._d=!0));return}else{Ie=32;const Ue=$e._;!Ue&&!isInternalObject($e)?$e._ctx=currentRenderingInstance:Ue===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?$e._=1:($e._=2,xe.patchFlag|=1024))}else isFunction$5($e)?($e={default:$e,_ctx:currentRenderingInstance},Ie=32):($e=String($e),Fe&64?(Ie=16,$e=[createTextVNode($e)]):Ie=8);xe.children=$e,xe.shapeFlag|=Ie}function mergeProps(...xe){const $e={};for(let Ie=0;IecurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const xe=getGlobalThis(),$e=(Ie,Fe)=>{let Ue;return(Ue=xe[Ie])||(Ue=xe[Ie]=[]),Ue.push(Fe),qe=>{Ue.length>1?Ue.forEach(At=>At(qe)):Ue[0](qe)}};internalSetCurrentInstance=$e("__VUE_INSTANCE_SETTERS__",Ie=>currentInstance=Ie),setInSSRSetupState=$e("__VUE_SSR_SETTERS__",Ie=>isInSSRComponentSetup=Ie)}const setCurrentInstance=xe=>{const $e=currentInstance;return internalSetCurrentInstance(xe),xe.scope.on(),()=>{xe.scope.off(),internalSetCurrentInstance($e)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(xe){return xe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(xe,$e=!1){$e&&setInSSRSetupState($e);const{props:Ie,children:Fe}=xe.vnode,Ue=isStatefulComponent(xe);initProps$1(xe,Ie,Ue,$e),initSlots(xe,Fe);const qe=Ue?setupStatefulComponent(xe,$e):void 0;return $e&&setInSSRSetupState(!1),qe}function setupStatefulComponent(xe,$e){const Ie=xe.type;xe.accessCache=Object.create(null),xe.proxy=new Proxy(xe.ctx,PublicInstanceProxyHandlers);const{setup:Fe}=Ie;if(Fe){const Ue=xe.setupContext=Fe.length>1?createSetupContext(xe):null,qe=setCurrentInstance(xe);pauseTracking();const At=callWithErrorHandling(Fe,xe,0,[xe.props,Ue]);if(resetTracking(),qe(),isPromise(At)){if(At.then(unsetCurrentInstance,unsetCurrentInstance),$e)return At.then(Dt=>{handleSetupResult(xe,Dt,$e)}).catch(Dt=>{handleError(Dt,xe,0)});xe.asyncDep=At}else handleSetupResult(xe,At,$e)}else finishComponentSetup(xe,$e)}function handleSetupResult(xe,$e,Ie){isFunction$5($e)?xe.type.__ssrInlineRender?xe.ssrRender=$e:xe.render=$e:isObject$8($e)&&(xe.setupState=proxyRefs($e)),finishComponentSetup(xe,Ie)}let compile,installWithProxy;function registerRuntimeCompiler(xe){compile=xe,installWithProxy=$e=>{$e.render._rc&&($e.withProxy=new Proxy($e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup(xe,$e,Ie){const Fe=xe.type;if(!xe.render){if(!$e&&compile&&!Fe.render){const Ue=Fe.template||resolveMergedOptions(xe).template;if(Ue){const{isCustomElement:qe,compilerOptions:At}=xe.appContext.config,{delimiters:Dt,compilerOptions:Lt}=Fe,jt=extend$2(extend$2({isCustomElement:qe,delimiters:Dt},At),Lt);Fe.render=compile(Ue,jt)}}xe.render=Fe.render||NOOP,installWithProxy&&installWithProxy(xe)}{const Ue=setCurrentInstance(xe);pauseTracking();try{applyOptions(xe)}finally{resetTracking(),Ue()}}}const attrsProxyHandlers={get(xe,$e){return track(xe,"get",""),xe[$e]}};function createSetupContext(xe){const $e=Ie=>{xe.exposed=Ie||{}};return{attrs:new Proxy(xe.attrs,attrsProxyHandlers),slots:xe.slots,emit:xe.emit,expose:$e}}function getExposeProxy(xe){if(xe.exposed)return xe.exposeProxy||(xe.exposeProxy=new Proxy(proxyRefs(markRaw(xe.exposed)),{get($e,Ie){if(Ie in $e)return $e[Ie];if(Ie in publicPropertiesMap)return publicPropertiesMap[Ie](xe)},has($e,Ie){return Ie in $e||Ie in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=xe=>xe.replace(classifyRE,$e=>$e.toUpperCase()).replace(/[-_]/g,"");function getComponentName(xe,$e=!0){return isFunction$5(xe)?xe.displayName||xe.name:xe.name||$e&&xe.__name}function formatComponentName(xe,$e,Ie=!1){let Fe=getComponentName($e);if(!Fe&&$e.__file){const Ue=$e.__file.match(/([^/\\]+)\.\w+$/);Ue&&(Fe=Ue[1])}if(!Fe&&xe&&xe.parent){const Ue=qe=>{for(const At in qe)if(qe[At]===$e)return At};Fe=Ue(xe.components||xe.parent.type.components)||Ue(xe.appContext.components)}return Fe?classify(Fe):Ie?"App":"Anonymous"}function isClassComponent(xe){return isFunction$5(xe)&&"__vccOpts"in xe}const computed=(xe,$e)=>computed$1(xe,$e,isInSSRComponentSetup);function useModel(xe,$e,Ie=EMPTY_OBJ$1){const Fe=getCurrentInstance(),Ue=camelize($e),qe=hyphenate($e),At=customRef((Lt,jt)=>{let hn;return watchSyncEffect(()=>{const vn=xe[$e];hasChanged(hn,vn)&&(hn=vn,jt())}),{get(){return Lt(),Ie.get?Ie.get(hn):hn},set(vn){const bn=Fe.vnode.props;!(bn&&($e in bn||Ue in bn||qe in bn)&&(`onUpdate:${$e}`in bn||`onUpdate:${Ue}`in bn||`onUpdate:${qe}`in bn))&&hasChanged(vn,hn)&&(hn=vn,jt()),Fe.emit(`update:${$e}`,Ie.set?Ie.set(vn):vn)}}}),Dt=$e==="modelValue"?"modelModifiers":`${$e}Modifiers`;return At[Symbol.iterator]=()=>{let Lt=0;return{next(){return Lt<2?{value:Lt++?xe[Dt]||{}:At,done:!1}:{done:!0}}}},At}function h$5(xe,$e,Ie){const Fe=arguments.length;return Fe===2?isObject$8($e)&&!isArray$6($e)?isVNode($e)?createVNode$1(xe,null,[$e]):createVNode$1(xe,$e):createVNode$1(xe,null,$e):(Fe>3?Ie=Array.prototype.slice.call(arguments,2):Fe===3&&isVNode(Ie)&&(Ie=[Ie]),createVNode$1(xe,$e,Ie))}function initCustomFormatter(){}function withMemo(xe,$e,Ie,Fe){const Ue=Ie[Fe];if(Ue&&isMemoSame(Ue,xe))return Ue;const qe=$e();return qe.memo=xe.slice(),Ie[Fe]=qe}function isMemoSame(xe,$e){const Ie=xe.memo;if(Ie.length!=$e.length)return!1;for(let Fe=0;Fe0&¤tBlock&¤tBlock.push(xe),!0}const version$1="3.4.27",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
+`],...formatTraceEntry(Ie))}),$e}function formatTraceEntry({vnode:xe,recurseCount:$e}){const Ie=$e>0?`... (${$e} recursive calls)`:"",Fe=xe.component?xe.component.parent==null:!1,Ue=` at <${formatComponentName(xe.component,xe.type,Fe)}`,qe=">"+Ie;return xe.props?[Ue,...formatProps(xe.props),qe]:[Ue+qe]}function formatProps(xe){const $e=[],Ie=Object.keys(xe);return Ie.slice(0,3).forEach(Fe=>{$e.push(...formatProp(Fe,xe[Fe]))}),Ie.length>3&&$e.push(" ..."),$e}function formatProp(xe,$e,Ie){return isString$4($e)?($e=JSON.stringify($e),Ie?$e:[`${xe}=${$e}`]):typeof $e=="number"||typeof $e=="boolean"||$e==null?Ie?$e:[`${xe}=${$e}`]:isRef($e)?($e=formatProp(xe,toRaw($e.value),!0),Ie?$e:[`${xe}=Ref<`,$e,">"]):isFunction$5($e)?[`${xe}=fn${$e.name?`<${$e.name}>`:""}`]:($e=toRaw($e),Ie?$e:[`${xe}=`,$e])}function assertNumber(xe,$e){}const ErrorCodes={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",WATCH_GETTER:2,2:"WATCH_GETTER",WATCH_CALLBACK:3,3:"WATCH_CALLBACK",WATCH_CLEANUP:4,4:"WATCH_CLEANUP",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER"},ErrorTypeStrings$1={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush. This is likely a Vue internals bug. Please open an issue at https://github.com/vuejs/core ."};function callWithErrorHandling(xe,$e,Ie,Fe){try{return Fe?xe(...Fe):xe()}catch(Ue){handleError(Ue,$e,Ie)}}function callWithAsyncErrorHandling(xe,$e,Ie,Fe){if(isFunction$5(xe)){const Ue=callWithErrorHandling(xe,$e,Ie,Fe);return Ue&&isPromise(Ue)&&Ue.catch(qe=>{handleError(qe,$e,Ie)}),Ue}if(isArray$6(xe)){const Ue=[];for(let qe=0;qe>>1,Ue=queue[Fe],qe=getId$1(Ue);qeflushIndex&&queue.splice($e,1)}function queuePostFlushCb(xe){isArray$6(xe)?pendingPostFlushCbs.push(...xe):(!activePostFlushCbs||!activePostFlushCbs.includes(xe,xe.allowRecurse?postFlushIndex+1:postFlushIndex))&&pendingPostFlushCbs.push(xe),queueFlush()}function flushPreFlushCbs(xe,$e,Ie=isFlushing?flushIndex+1:0){for(;IegetId$1(Ie)-getId$1(Fe));if(pendingPostFlushCbs.length=0,activePostFlushCbs){activePostFlushCbs.push(...$e);return}for(activePostFlushCbs=$e,postFlushIndex=0;postFlushIndexxe.id==null?1/0:xe.id,comparator=(xe,$e)=>{const Ie=getId$1(xe)-getId$1($e);if(Ie===0){if(xe.pre&&!$e.pre)return-1;if($e.pre&&!xe.pre)return 1}return Ie};function flushJobs(xe){isFlushPending=!1,isFlushing=!0,queue.sort(comparator);try{for(flushIndex=0;flushIndexdevtools$1.emit(Ue,...qe)),buffer=[]):typeof window<"u"&&window.HTMLElement&&!((Fe=(Ie=window.navigator)==null?void 0:Ie.userAgent)!=null&&Fe.includes("jsdom"))?(($e.__VUE_DEVTOOLS_HOOK_REPLAY__=$e.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(qe=>{setDevtoolsHook$1(qe,$e)}),setTimeout(()=>{devtools$1||($e.__VUE_DEVTOOLS_HOOK_REPLAY__=null,buffer=[])},3e3)):buffer=[]}function emit(xe,$e,...Ie){if(xe.isUnmounted)return;const Fe=xe.vnode.props||EMPTY_OBJ$1;let Ue=Ie;const qe=$e.startsWith("update:"),At=qe&&$e.slice(7);if(At&&At in Fe){const hn=`${At==="modelValue"?"model":At}Modifiers`,{number:vn,trim:bn}=Fe[hn]||EMPTY_OBJ$1;bn&&(Ue=Ie.map(_n=>isString$4(_n)?_n.trim():_n)),vn&&(Ue=Ie.map(looseToNumber))}let Dt,Lt=Fe[Dt=toHandlerKey($e)]||Fe[Dt=toHandlerKey(camelize($e))];!Lt&&qe&&(Lt=Fe[Dt=toHandlerKey(hyphenate($e))]),Lt&&callWithAsyncErrorHandling(Lt,xe,6,Ue);const jt=Fe[Dt+"Once"];if(jt){if(!xe.emitted)xe.emitted={};else if(xe.emitted[Dt])return;xe.emitted[Dt]=!0,callWithAsyncErrorHandling(jt,xe,6,Ue)}}function normalizeEmitsOptions(xe,$e,Ie=!1){const Fe=$e.emitsCache,Ue=Fe.get(xe);if(Ue!==void 0)return Ue;const qe=xe.emits;let At={},Dt=!1;if(!isFunction$5(xe)){const Lt=jt=>{const hn=normalizeEmitsOptions(jt,$e,!0);hn&&(Dt=!0,extend$2(At,hn))};!Ie&&$e.mixins.length&&$e.mixins.forEach(Lt),xe.extends&&Lt(xe.extends),xe.mixins&&xe.mixins.forEach(Lt)}return!qe&&!Dt?(isObject$8(xe)&&Fe.set(xe,null),null):(isArray$6(qe)?qe.forEach(Lt=>At[Lt]=null):extend$2(At,qe),isObject$8(xe)&&Fe.set(xe,At),At)}function isEmitListener(xe,$e){return!xe||!isOn($e)?!1:($e=$e.slice(2).replace(/Once$/,""),hasOwn$1(xe,$e[0].toLowerCase()+$e.slice(1))||hasOwn$1(xe,hyphenate($e))||hasOwn$1(xe,$e))}let currentRenderingInstance=null,currentScopeId=null;function setCurrentRenderingInstance(xe){const $e=currentRenderingInstance;return currentRenderingInstance=xe,currentScopeId=xe&&xe.type.__scopeId||null,$e}function pushScopeId(xe){currentScopeId=xe}function popScopeId(){currentScopeId=null}const withScopeId=xe=>withCtx;function withCtx(xe,$e=currentRenderingInstance,Ie){if(!$e||xe._n)return xe;const Fe=(...Ue)=>{Fe._d&&setBlockTracking(-1);const qe=setCurrentRenderingInstance($e);let At;try{At=xe(...Ue)}finally{setCurrentRenderingInstance(qe),Fe._d&&setBlockTracking(1)}return At};return Fe._n=!0,Fe._c=!0,Fe._d=!0,Fe}function markAttrsAccessed(){}function renderComponentRoot(xe){const{type:$e,vnode:Ie,proxy:Fe,withProxy:Ue,propsOptions:[qe],slots:At,attrs:Dt,emit:Lt,render:jt,renderCache:hn,props:vn,data:bn,setupState:_n,ctx:wn,inheritAttrs:kn}=xe,Cn=setCurrentRenderingInstance(xe);let Sn,xn;try{if(Ie.shapeFlag&4){const Tn=Ue||Fe,An=Tn;Sn=normalizeVNode(jt.call(An,Tn,hn,vn,_n,bn,wn)),xn=Dt}else{const Tn=$e;Sn=normalizeVNode(Tn.length>1?Tn(vn,{attrs:Dt,slots:At,emit:Lt}):Tn(vn,null)),xn=$e.props?Dt:getFunctionalFallthrough(Dt)}}catch(Tn){blockStack.length=0,handleError(Tn,xe,1),Sn=createVNode$1(Comment$1)}let En=Sn;if(xn&&kn!==!1){const Tn=Object.keys(xn),{shapeFlag:An}=En;Tn.length&&An&7&&(qe&&Tn.some(isModelListener)&&(xn=filterModelListeners(xn,qe)),En=cloneVNode(En,xn,!1,!0))}return Ie.dirs&&(En=cloneVNode(En,null,!1,!0),En.dirs=En.dirs?En.dirs.concat(Ie.dirs):Ie.dirs),Ie.transition&&(En.transition=Ie.transition),Sn=En,setCurrentRenderingInstance(Cn),Sn}function filterSingleRoot(xe,$e=!0){let Ie;for(let Fe=0;Fe{let $e;for(const Ie in xe)(Ie==="class"||Ie==="style"||isOn(Ie))&&(($e||($e={}))[Ie]=xe[Ie]);return $e},filterModelListeners=(xe,$e)=>{const Ie={};for(const Fe in xe)(!isModelListener(Fe)||!(Fe.slice(9)in $e))&&(Ie[Fe]=xe[Fe]);return Ie};function shouldUpdateComponent(xe,$e,Ie){const{props:Fe,children:Ue,component:qe}=xe,{props:At,children:Dt,patchFlag:Lt}=$e,jt=qe.emitsOptions;if($e.dirs||$e.transition)return!0;if(Ie&&Lt>=0){if(Lt&1024)return!0;if(Lt&16)return Fe?hasPropsChanged(Fe,At,jt):!!At;if(Lt&8){const hn=$e.dynamicProps;for(let vn=0;vnxe.__isSuspense;let suspenseId=0;const SuspenseImpl={name:"Suspense",__isSuspense:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){if(xe==null)mountSuspense($e,Ie,Fe,Ue,qe,At,Dt,Lt,jt);else{if(qe&&qe.deps>0&&!xe.suspense.isInFallback){$e.suspense=xe.suspense,$e.suspense.vnode=$e,$e.el=xe.el;return}patchSuspense(xe,$e,Ie,Fe,Ue,At,Dt,Lt,jt)}},hydrate:hydrateSuspense,create:createSuspenseBoundary,normalize:normalizeSuspenseChildren},Suspense=SuspenseImpl;function triggerEvent$1(xe,$e){const Ie=xe.props&&xe.props[$e];isFunction$5(Ie)&&Ie()}function mountSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const{p:jt,o:{createElement:hn}}=Lt,vn=hn("div"),bn=xe.suspense=createSuspenseBoundary(xe,Ue,Fe,$e,vn,Ie,qe,At,Dt,Lt);jt(null,bn.pendingBranch=xe.ssContent,vn,null,Fe,bn,qe,At),bn.deps>0?(triggerEvent$1(xe,"onPending"),triggerEvent$1(xe,"onFallback"),jt(null,xe.ssFallback,$e,Ie,Fe,null,qe,At),setActiveBranch(bn,xe.ssFallback)):bn.resolve(!1,!0)}function patchSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,{p:Lt,um:jt,o:{createElement:hn}}){const vn=$e.suspense=xe.suspense;vn.vnode=$e,$e.el=xe.el;const bn=$e.ssContent,_n=$e.ssFallback,{activeBranch:wn,pendingBranch:kn,isInFallback:Cn,isHydrating:Sn}=vn;if(kn)vn.pendingBranch=bn,isSameVNodeType(bn,kn)?(Lt(kn,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():Cn&&(Sn||(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n)))):(vn.pendingId=suspenseId++,Sn?(vn.isHydrating=!1,vn.activeBranch=kn):jt(kn,Ue,vn),vn.deps=0,vn.effects.length=0,vn.hiddenContainer=hn("div"),Cn?(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0?vn.resolve():(Lt(wn,_n,Ie,Fe,Ue,null,qe,At,Dt),setActiveBranch(vn,_n))):wn&&isSameVNodeType(bn,wn)?(Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),vn.resolve(!0)):(Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0&&vn.resolve()));else if(wn&&isSameVNodeType(bn,wn))Lt(wn,bn,Ie,Fe,Ue,vn,qe,At,Dt),setActiveBranch(vn,bn);else if(triggerEvent$1($e,"onPending"),vn.pendingBranch=bn,bn.shapeFlag&512?vn.pendingId=bn.component.suspenseId:vn.pendingId=suspenseId++,Lt(null,bn,vn.hiddenContainer,null,Ue,vn,qe,At,Dt),vn.deps<=0)vn.resolve();else{const{timeout:xn,pendingId:En}=vn;xn>0?setTimeout(()=>{vn.pendingId===En&&vn.fallback(_n)},xn):xn===0&&vn.fallback(_n)}}function createSuspenseBoundary(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt,hn=!1){const{p:vn,m:bn,um:_n,n:wn,o:{parentNode:kn,remove:Cn}}=jt;let Sn;const xn=isVNodeSuspensible(xe);xn&&$e&&$e.pendingBranch&&(Sn=$e.pendingId,$e.deps++);const En=xe.props?toNumber$1(xe.props.timeout):void 0,Tn=qe,An={vnode:xe,parent:$e,parentComponent:Ie,namespace:At,container:Fe,hiddenContainer:Ue,deps:0,pendingId:suspenseId++,timeout:typeof En=="number"?En:-1,activeBranch:null,pendingBranch:null,isInFallback:!hn,isHydrating:hn,isUnmounted:!1,effects:[],resolve($n=!1,Pn=!1){const{vnode:Nn,activeBranch:Mn,pendingBranch:In,pendingId:On,effects:Rn,parentComponent:Bn,container:Vn}=An;let Ln=!1;An.isHydrating?An.isHydrating=!1:$n||(Ln=Mn&&In.transition&&In.transition.mode==="out-in",Ln&&(Mn.transition.afterLeave=()=>{On===An.pendingId&&(bn(In,Vn,qe===Tn?wn(Mn):qe,0),queuePostFlushCb(Rn))}),Mn&&(kn(Mn.el)!==An.hiddenContainer&&(qe=wn(Mn)),_n(Mn,Bn,An,!0)),Ln||bn(In,Vn,qe,0)),setActiveBranch(An,In),An.pendingBranch=null,An.isInFallback=!1;let Dn=An.parent,Hn=!1;for(;Dn;){if(Dn.pendingBranch){Dn.effects.push(...Rn),Hn=!0;break}Dn=Dn.parent}!Hn&&!Ln&&queuePostFlushCb(Rn),An.effects=[],xn&&$e&&$e.pendingBranch&&Sn===$e.pendingId&&($e.deps--,$e.deps===0&&!Pn&&$e.resolve()),triggerEvent$1(Nn,"onResolve")},fallback($n){if(!An.pendingBranch)return;const{vnode:Pn,activeBranch:Nn,parentComponent:Mn,container:In,namespace:On}=An;triggerEvent$1(Pn,"onFallback");const Rn=wn(Nn),Bn=()=>{An.isInFallback&&(vn(null,$n,In,Rn,Mn,null,On,Dt,Lt),setActiveBranch(An,$n))},Vn=$n.transition&&$n.transition.mode==="out-in";Vn&&(Nn.transition.afterLeave=Bn),An.isInFallback=!0,_n(Nn,Mn,null,!0),Vn||Bn()},move($n,Pn,Nn){An.activeBranch&&bn(An.activeBranch,$n,Pn,Nn),An.container=$n},next(){return An.activeBranch&&wn(An.activeBranch)},registerDep($n,Pn){const Nn=!!An.pendingBranch;Nn&&An.deps++;const Mn=$n.vnode.el;$n.asyncDep.catch(In=>{handleError(In,$n,0)}).then(In=>{if($n.isUnmounted||An.isUnmounted||An.pendingId!==$n.suspenseId)return;$n.asyncResolved=!0;const{vnode:On}=$n;handleSetupResult($n,In,!1),Mn&&(On.el=Mn);const Rn=!Mn&&$n.subTree.el;Pn($n,On,kn(Mn||$n.subTree.el),Mn?null:wn($n.subTree),An,At,Lt),Rn&&Cn(Rn),updateHOCHostEl($n,On.el),Nn&&--An.deps===0&&An.resolve()})},unmount($n,Pn){An.isUnmounted=!0,An.activeBranch&&_n(An.activeBranch,Ie,$n,Pn),An.pendingBranch&&_n(An.pendingBranch,Ie,$n,Pn)}};return An}function hydrateSuspense(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt){const jt=$e.suspense=createSuspenseBoundary($e,Fe,Ie,xe.parentNode,document.createElement("div"),null,Ue,qe,At,Dt,!0),hn=Lt(xe,jt.pendingBranch=$e.ssContent,Ie,jt,qe,At);return jt.deps===0&&jt.resolve(!1,!0),hn}function normalizeSuspenseChildren(xe){const{shapeFlag:$e,children:Ie}=xe,Fe=$e&32;xe.ssContent=normalizeSuspenseSlot(Fe?Ie.default:Ie),xe.ssFallback=Fe?normalizeSuspenseSlot(Ie.fallback):createVNode$1(Comment$1)}function normalizeSuspenseSlot(xe){let $e;if(isFunction$5(xe)){const Ie=isBlockTreeEnabled&&xe._c;Ie&&(xe._d=!1,openBlock()),xe=xe(),Ie&&(xe._d=!0,$e=currentBlock,closeBlock())}return isArray$6(xe)&&(xe=filterSingleRoot(xe)),xe=normalizeVNode(xe),$e&&!xe.dynamicChildren&&(xe.dynamicChildren=$e.filter(Ie=>Ie!==xe)),xe}function queueEffectWithSuspense(xe,$e){$e&&$e.pendingBranch?isArray$6(xe)?$e.effects.push(...xe):$e.effects.push(xe):queuePostFlushCb(xe)}function setActiveBranch(xe,$e){xe.activeBranch=$e;const{vnode:Ie,parentComponent:Fe}=xe;let Ue=$e.el;for(;!Ue&&$e.component;)$e=$e.component.subTree,Ue=$e.el;Ie.el=Ue,Fe&&Fe.subTree===Ie&&(Fe.vnode.el=Ue,updateHOCHostEl(Fe,Ue))}function isVNodeSuspensible(xe){const $e=xe.props&&xe.props.suspensible;return $e!=null&&$e!==!1}const ssrContextKey=Symbol.for("v-scx"),useSSRContext=()=>inject(ssrContextKey);function watchEffect(xe,$e){return doWatch(xe,null,$e)}function watchPostEffect(xe,$e){return doWatch(xe,null,{flush:"post"})}function watchSyncEffect(xe,$e){return doWatch(xe,null,{flush:"sync"})}const INITIAL_WATCHER_VALUE={};function watch(xe,$e,Ie){return doWatch(xe,$e,Ie)}function doWatch(xe,$e,{immediate:Ie,deep:Fe,flush:Ue,once:qe,onTrack:At,onTrigger:Dt}=EMPTY_OBJ$1){if($e&&qe){const $n=$e;$e=(...Pn)=>{$n(...Pn),An()}}const Lt=currentInstance,jt=$n=>Fe===!0?$n:traverse($n,Fe===!1?1:void 0);let hn,vn=!1,bn=!1;if(isRef(xe)?(hn=()=>xe.value,vn=isShallow(xe)):isReactive(xe)?(hn=()=>jt(xe),vn=!0):isArray$6(xe)?(bn=!0,vn=xe.some($n=>isReactive($n)||isShallow($n)),hn=()=>xe.map($n=>{if(isRef($n))return $n.value;if(isReactive($n))return jt($n);if(isFunction$5($n))return callWithErrorHandling($n,Lt,2)})):isFunction$5(xe)?$e?hn=()=>callWithErrorHandling(xe,Lt,2):hn=()=>(_n&&_n(),callWithAsyncErrorHandling(xe,Lt,3,[wn])):hn=NOOP,$e&&Fe){const $n=hn;hn=()=>traverse($n())}let _n,wn=$n=>{_n=En.onStop=()=>{callWithErrorHandling($n,Lt,4),_n=En.onStop=void 0}},kn;if(isInSSRComponentSetup)if(wn=NOOP,$e?Ie&&callWithAsyncErrorHandling($e,Lt,3,[hn(),bn?[]:void 0,wn]):hn(),Ue==="sync"){const $n=useSSRContext();kn=$n.__watcherHandles||($n.__watcherHandles=[])}else return NOOP;let Cn=bn?new Array(xe.length).fill(INITIAL_WATCHER_VALUE):INITIAL_WATCHER_VALUE;const Sn=()=>{if(!(!En.active||!En.dirty))if($e){const $n=En.run();(Fe||vn||(bn?$n.some((Pn,Nn)=>hasChanged(Pn,Cn[Nn])):hasChanged($n,Cn)))&&(_n&&_n(),callWithAsyncErrorHandling($e,Lt,3,[$n,Cn===INITIAL_WATCHER_VALUE?void 0:bn&&Cn[0]===INITIAL_WATCHER_VALUE?[]:Cn,wn]),Cn=$n)}else En.run()};Sn.allowRecurse=!!$e;let xn;Ue==="sync"?xn=Sn:Ue==="post"?xn=()=>queuePostRenderEffect(Sn,Lt&&Lt.suspense):(Sn.pre=!0,Lt&&(Sn.id=Lt.uid),xn=()=>queueJob(Sn));const En=new ReactiveEffect(hn,NOOP,xn),Tn=getCurrentScope(),An=()=>{En.stop(),Tn&&remove(Tn.effects,En)};return $e?Ie?Sn():Cn=En.run():Ue==="post"?queuePostRenderEffect(En.run.bind(En),Lt&&Lt.suspense):En.run(),kn&&kn.push(An),An}function instanceWatch(xe,$e,Ie){const Fe=this.proxy,Ue=isString$4(xe)?xe.includes(".")?createPathGetter(Fe,xe):()=>Fe[xe]:xe.bind(Fe,Fe);let qe;isFunction$5($e)?qe=$e:(qe=$e.handler,Ie=$e);const At=setCurrentInstance(this),Dt=doWatch(Ue,qe.bind(Fe),Ie);return At(),Dt}function createPathGetter(xe,$e){const Ie=$e.split(".");return()=>{let Fe=xe;for(let Ue=0;Ue{traverse(Fe,$e,Ie)});else if(isPlainObject$4(xe))for(const Fe in xe)traverse(xe[Fe],$e,Ie);return xe}function withDirectives(xe,$e){if(currentRenderingInstance===null)return xe;const Ie=getExposeProxy(currentRenderingInstance)||currentRenderingInstance.proxy,Fe=xe.dirs||(xe.dirs=[]);for(let Ue=0;Ue<$e.length;Ue++){let[qe,At,Dt,Lt=EMPTY_OBJ$1]=$e[Ue];qe&&(isFunction$5(qe)&&(qe={mounted:qe,updated:qe}),qe.deep&&traverse(At),Fe.push({dir:qe,instance:Ie,value:At,oldValue:void 0,arg:Dt,modifiers:Lt}))}return xe}function invokeDirectiveHook(xe,$e,Ie,Fe){const Ue=xe.dirs,qe=$e&&$e.dirs;for(let At=0;At{xe.isMounted=!0}),onBeforeUnmount(()=>{xe.isUnmounting=!0}),xe}const TransitionHookValidator=[Function,Array],BaseTransitionPropsValidators={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:TransitionHookValidator,onEnter:TransitionHookValidator,onAfterEnter:TransitionHookValidator,onEnterCancelled:TransitionHookValidator,onBeforeLeave:TransitionHookValidator,onLeave:TransitionHookValidator,onAfterLeave:TransitionHookValidator,onLeaveCancelled:TransitionHookValidator,onBeforeAppear:TransitionHookValidator,onAppear:TransitionHookValidator,onAfterAppear:TransitionHookValidator,onAppearCancelled:TransitionHookValidator},BaseTransitionImpl={name:"BaseTransition",props:BaseTransitionPropsValidators,setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=useTransitionState();return()=>{const Ue=$e.default&&getTransitionRawChildren($e.default(),!0);if(!Ue||!Ue.length)return;let qe=Ue[0];if(Ue.length>1){for(const bn of Ue)if(bn.type!==Comment$1){qe=bn;break}}const At=toRaw(xe),{mode:Dt}=At;if(Fe.isLeaving)return emptyPlaceholder(qe);const Lt=getKeepAliveChild(qe);if(!Lt)return emptyPlaceholder(qe);const jt=resolveTransitionHooks(Lt,At,Fe,Ie);setTransitionHooks(Lt,jt);const hn=Ie.subTree,vn=hn&&getKeepAliveChild(hn);if(vn&&vn.type!==Comment$1&&!isSameVNodeType(Lt,vn)){const bn=resolveTransitionHooks(vn,At,Fe,Ie);if(setTransitionHooks(vn,bn),Dt==="out-in"&&Lt.type!==Comment$1)return Fe.isLeaving=!0,bn.afterLeave=()=>{Fe.isLeaving=!1,Ie.update.active!==!1&&(Ie.effect.dirty=!0,Ie.update())},emptyPlaceholder(qe);Dt==="in-out"&&Lt.type!==Comment$1&&(bn.delayLeave=(_n,wn,kn)=>{const Cn=getLeavingNodesForType(Fe,vn);Cn[String(vn.key)]=vn,_n[leaveCbKey]=()=>{wn(),_n[leaveCbKey]=void 0,delete jt.delayedLeave},jt.delayedLeave=kn})}return qe}}},BaseTransition=BaseTransitionImpl;function getLeavingNodesForType(xe,$e){const{leavingVNodes:Ie}=xe;let Fe=Ie.get($e.type);return Fe||(Fe=Object.create(null),Ie.set($e.type,Fe)),Fe}function resolveTransitionHooks(xe,$e,Ie,Fe){const{appear:Ue,mode:qe,persisted:At=!1,onBeforeEnter:Dt,onEnter:Lt,onAfterEnter:jt,onEnterCancelled:hn,onBeforeLeave:vn,onLeave:bn,onAfterLeave:_n,onLeaveCancelled:wn,onBeforeAppear:kn,onAppear:Cn,onAfterAppear:Sn,onAppearCancelled:xn}=$e,En=String(xe.key),Tn=getLeavingNodesForType(Ie,xe),An=(Nn,Mn)=>{Nn&&callWithAsyncErrorHandling(Nn,Fe,9,Mn)},$n=(Nn,Mn)=>{const In=Mn[1];An(Nn,Mn),isArray$6(Nn)?Nn.every(On=>On.length<=1)&&In():Nn.length<=1&&In()},Pn={mode:qe,persisted:At,beforeEnter(Nn){let Mn=Dt;if(!Ie.isMounted)if(Ue)Mn=kn||Dt;else return;Nn[leaveCbKey]&&Nn[leaveCbKey](!0);const In=Tn[En];In&&isSameVNodeType(xe,In)&&In.el[leaveCbKey]&&In.el[leaveCbKey](),An(Mn,[Nn])},enter(Nn){let Mn=Lt,In=jt,On=hn;if(!Ie.isMounted)if(Ue)Mn=Cn||Lt,In=Sn||jt,On=xn||hn;else return;let Rn=!1;const Bn=Nn[enterCbKey$1]=Vn=>{Rn||(Rn=!0,Vn?An(On,[Nn]):An(In,[Nn]),Pn.delayedLeave&&Pn.delayedLeave(),Nn[enterCbKey$1]=void 0)};Mn?$n(Mn,[Nn,Bn]):Bn()},leave(Nn,Mn){const In=String(xe.key);if(Nn[enterCbKey$1]&&Nn[enterCbKey$1](!0),Ie.isUnmounting)return Mn();An(vn,[Nn]);let On=!1;const Rn=Nn[leaveCbKey]=Bn=>{On||(On=!0,Mn(),Bn?An(wn,[Nn]):An(_n,[Nn]),Nn[leaveCbKey]=void 0,Tn[In]===xe&&delete Tn[In])};Tn[In]=xe,bn?$n(bn,[Nn,Rn]):Rn()},clone(Nn){return resolveTransitionHooks(Nn,$e,Ie,Fe)}};return Pn}function emptyPlaceholder(xe){if(isKeepAlive(xe))return xe=cloneVNode(xe),xe.children=null,xe}function getKeepAliveChild(xe){if(!isKeepAlive(xe))return xe;const{shapeFlag:$e,children:Ie}=xe;if(Ie){if($e&16)return Ie[0];if($e&32&&isFunction$5(Ie.default))return Ie.default()}}function setTransitionHooks(xe,$e){xe.shapeFlag&6&&xe.component?setTransitionHooks(xe.component.subTree,$e):xe.shapeFlag&128?(xe.ssContent.transition=$e.clone(xe.ssContent),xe.ssFallback.transition=$e.clone(xe.ssFallback)):xe.transition=$e}function getTransitionRawChildren(xe,$e=!1,Ie){let Fe=[],Ue=0;for(let qe=0;qe1)for(let qe=0;qe!!xe.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function defineAsyncComponent(xe){isFunction$5(xe)&&(xe={loader:xe});const{loader:$e,loadingComponent:Ie,errorComponent:Fe,delay:Ue=200,timeout:qe,suspensible:At=!0,onError:Dt}=xe;let Lt=null,jt,hn=0;const vn=()=>(hn++,Lt=null,bn()),bn=()=>{let _n;return Lt||(_n=Lt=$e().catch(wn=>{if(wn=wn instanceof Error?wn:new Error(String(wn)),Dt)return new Promise((kn,Cn)=>{Dt(wn,()=>kn(vn()),()=>Cn(wn),hn+1)});throw wn}).then(wn=>_n!==Lt&&Lt?Lt:(wn&&(wn.__esModule||wn[Symbol.toStringTag]==="Module")&&(wn=wn.default),jt=wn,wn)))};return defineComponent({name:"AsyncComponentWrapper",__asyncLoader:bn,get __asyncResolved(){return jt},setup(){const _n=currentInstance;if(jt)return()=>createInnerComp(jt,_n);const wn=xn=>{Lt=null,handleError(xn,_n,13,!Fe)};if(At&&_n.suspense||isInSSRComponentSetup)return bn().then(xn=>()=>createInnerComp(xn,_n)).catch(xn=>(wn(xn),()=>Fe?createVNode$1(Fe,{error:xn}):null));const kn=ref(!1),Cn=ref(),Sn=ref(!!Ue);return Ue&&setTimeout(()=>{Sn.value=!1},Ue),qe!=null&&setTimeout(()=>{if(!kn.value&&!Cn.value){const xn=new Error(`Async component timed out after ${qe}ms.`);wn(xn),Cn.value=xn}},qe),bn().then(()=>{kn.value=!0,_n.parent&&isKeepAlive(_n.parent.vnode)&&(_n.parent.effect.dirty=!0,queueJob(_n.parent.update))}).catch(xn=>{wn(xn),Cn.value=xn}),()=>{if(kn.value&&jt)return createInnerComp(jt,_n);if(Cn.value&&Fe)return createVNode$1(Fe,{error:Cn.value});if(Ie&&!Sn.value)return createVNode$1(Ie)}}})}function createInnerComp(xe,$e){const{ref:Ie,props:Fe,children:Ue,ce:qe}=$e.vnode,At=createVNode$1(xe,Fe,Ue);return At.ref=Ie,At.ce=qe,delete $e.vnode.ce,At}const isKeepAlive=xe=>xe.type.__isKeepAlive,KeepAliveImpl={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(xe,{slots:$e}){const Ie=getCurrentInstance(),Fe=Ie.ctx;if(!Fe.renderer)return()=>{const xn=$e.default&&$e.default();return xn&&xn.length===1?xn[0]:xn};const Ue=new Map,qe=new Set;let At=null;const Dt=Ie.suspense,{renderer:{p:Lt,m:jt,um:hn,o:{createElement:vn}}}=Fe,bn=vn("div");Fe.activate=(xn,En,Tn,An,$n)=>{const Pn=xn.component;jt(xn,En,Tn,0,Dt),Lt(Pn.vnode,xn,En,Tn,Pn,Dt,An,xn.slotScopeIds,$n),queuePostRenderEffect(()=>{Pn.isDeactivated=!1,Pn.a&&invokeArrayFns(Pn.a);const Nn=xn.props&&xn.props.onVnodeMounted;Nn&&invokeVNodeHook(Nn,Pn.parent,xn)},Dt)},Fe.deactivate=xn=>{const En=xn.component;jt(xn,bn,null,1,Dt),queuePostRenderEffect(()=>{En.da&&invokeArrayFns(En.da);const Tn=xn.props&&xn.props.onVnodeUnmounted;Tn&&invokeVNodeHook(Tn,En.parent,xn),En.isDeactivated=!0},Dt)};function _n(xn){resetShapeFlag(xn),hn(xn,Ie,Dt,!0)}function wn(xn){Ue.forEach((En,Tn)=>{const An=getComponentName(En.type);An&&(!xn||!xn(An))&&kn(Tn)})}function kn(xn){const En=Ue.get(xn);!At||!isSameVNodeType(En,At)?_n(En):At&&resetShapeFlag(At),Ue.delete(xn),qe.delete(xn)}watch(()=>[xe.include,xe.exclude],([xn,En])=>{xn&&wn(Tn=>matches(xn,Tn)),En&&wn(Tn=>!matches(En,Tn))},{flush:"post",deep:!0});let Cn=null;const Sn=()=>{Cn!=null&&Ue.set(Cn,getInnerChild(Ie.subTree))};return onMounted(Sn),onUpdated(Sn),onBeforeUnmount(()=>{Ue.forEach(xn=>{const{subTree:En,suspense:Tn}=Ie,An=getInnerChild(En);if(xn.type===An.type&&xn.key===An.key){resetShapeFlag(An);const $n=An.component.da;$n&&queuePostRenderEffect($n,Tn);return}_n(xn)})}),()=>{if(Cn=null,!$e.default)return null;const xn=$e.default(),En=xn[0];if(xn.length>1)return At=null,xn;if(!isVNode(En)||!(En.shapeFlag&4)&&!(En.shapeFlag&128))return At=null,En;let Tn=getInnerChild(En);const An=Tn.type,$n=getComponentName(isAsyncWrapper(Tn)?Tn.type.__asyncResolved||{}:An),{include:Pn,exclude:Nn,max:Mn}=xe;if(Pn&&(!$n||!matches(Pn,$n))||Nn&&$n&&matches(Nn,$n))return At=Tn,En;const In=Tn.key==null?An:Tn.key,On=Ue.get(In);return Tn.el&&(Tn=cloneVNode(Tn),En.shapeFlag&128&&(En.ssContent=Tn)),Cn=In,On?(Tn.el=On.el,Tn.component=On.component,Tn.transition&&setTransitionHooks(Tn,Tn.transition),Tn.shapeFlag|=512,qe.delete(In),qe.add(In)):(qe.add(In),Mn&&qe.size>parseInt(Mn,10)&&kn(qe.values().next().value)),Tn.shapeFlag|=256,At=Tn,isSuspense(En.type)?En:Tn}}},KeepAlive=KeepAliveImpl;function matches(xe,$e){return isArray$6(xe)?xe.some(Ie=>matches(Ie,$e)):isString$4(xe)?xe.split(",").includes($e):isRegExp$2(xe)?xe.test($e):!1}function onActivated(xe,$e){registerKeepAliveHook(xe,"a",$e)}function onDeactivated(xe,$e){registerKeepAliveHook(xe,"da",$e)}function registerKeepAliveHook(xe,$e,Ie=currentInstance){const Fe=xe.__wdc||(xe.__wdc=()=>{let Ue=Ie;for(;Ue;){if(Ue.isDeactivated)return;Ue=Ue.parent}return xe()});if(injectHook($e,Fe,Ie),Ie){let Ue=Ie.parent;for(;Ue&&Ue.parent;)isKeepAlive(Ue.parent.vnode)&&injectToKeepAliveRoot(Fe,$e,Ie,Ue),Ue=Ue.parent}}function injectToKeepAliveRoot(xe,$e,Ie,Fe){const Ue=injectHook($e,xe,Fe,!0);onUnmounted(()=>{remove(Fe[$e],Ue)},Ie)}function resetShapeFlag(xe){xe.shapeFlag&=-257,xe.shapeFlag&=-513}function getInnerChild(xe){return xe.shapeFlag&128?xe.ssContent:xe}function injectHook(xe,$e,Ie=currentInstance,Fe=!1){if(Ie){const Ue=Ie[xe]||(Ie[xe]=[]),qe=$e.__weh||($e.__weh=(...At)=>{if(Ie.isUnmounted)return;pauseTracking();const Dt=setCurrentInstance(Ie),Lt=callWithAsyncErrorHandling($e,Ie,xe,At);return Dt(),resetTracking(),Lt});return Fe?Ue.unshift(qe):Ue.push(qe),qe}}const createHook=xe=>($e,Ie=currentInstance)=>(!isInSSRComponentSetup||xe==="sp")&&injectHook(xe,(...Fe)=>$e(...Fe),Ie),onBeforeMount=createHook("bm"),onMounted=createHook("m"),onBeforeUpdate=createHook("bu"),onUpdated=createHook("u"),onBeforeUnmount=createHook("bum"),onUnmounted=createHook("um"),onServerPrefetch=createHook("sp"),onRenderTriggered=createHook("rtg"),onRenderTracked=createHook("rtc");function onErrorCaptured(xe,$e=currentInstance){injectHook("ec",xe,$e)}function renderList(xe,$e,Ie,Fe){let Ue;const qe=Ie&&Ie[Fe];if(isArray$6(xe)||isString$4(xe)){Ue=new Array(xe.length);for(let At=0,Dt=xe.length;At$e(At,Dt,void 0,qe&&qe[Dt]));else{const At=Object.keys(xe);Ue=new Array(At.length);for(let Dt=0,Lt=At.length;Dt{const qe=Fe.fn(...Ue);return qe&&(qe.key=Fe.key),qe}:Fe.fn)}return xe}function renderSlot(xe,$e,Ie={},Fe,Ue){if(currentRenderingInstance.isCE||currentRenderingInstance.parent&&isAsyncWrapper(currentRenderingInstance.parent)&¤tRenderingInstance.parent.isCE)return $e!=="default"&&(Ie.name=$e),createVNode$1("slot",Ie,Fe&&Fe());let qe=xe[$e];qe&&qe._c&&(qe._d=!1),openBlock();const At=qe&&ensureValidVNode(qe(Ie)),Dt=createBlock(Fragment,{key:Ie.key||At&&At.key||`_${$e}`},At||(Fe?Fe():[]),At&&xe._===1?64:-2);return!Ue&&Dt.scopeId&&(Dt.slotScopeIds=[Dt.scopeId+"-s"]),qe&&qe._c&&(qe._d=!0),Dt}function ensureValidVNode(xe){return xe.some($e=>isVNode($e)?!($e.type===Comment$1||$e.type===Fragment&&!ensureValidVNode($e.children)):!0)?xe:null}function toHandlers(xe,$e){const Ie={};for(const Fe in xe)Ie[$e&&/[A-Z]/.test(Fe)?`on:${Fe}`:toHandlerKey(Fe)]=xe[Fe];return Ie}const getPublicInstance=xe=>xe?isStatefulComponent(xe)?getExposeProxy(xe)||xe.proxy:getPublicInstance(xe.parent):null,publicPropertiesMap=extend$2(Object.create(null),{$:xe=>xe,$el:xe=>xe.vnode.el,$data:xe=>xe.data,$props:xe=>xe.props,$attrs:xe=>xe.attrs,$slots:xe=>xe.slots,$refs:xe=>xe.refs,$parent:xe=>getPublicInstance(xe.parent),$root:xe=>getPublicInstance(xe.root),$emit:xe=>xe.emit,$options:xe=>resolveMergedOptions(xe),$forceUpdate:xe=>xe.f||(xe.f=()=>{xe.effect.dirty=!0,queueJob(xe.update)}),$nextTick:xe=>xe.n||(xe.n=nextTick.bind(xe.proxy)),$watch:xe=>instanceWatch.bind(xe)}),hasSetupBinding=(xe,$e)=>xe!==EMPTY_OBJ$1&&!xe.__isScriptSetup&&hasOwn$1(xe,$e),PublicInstanceProxyHandlers={get({_:xe},$e){if($e==="__v_skip")return!0;const{ctx:Ie,setupState:Fe,data:Ue,props:qe,accessCache:At,type:Dt,appContext:Lt}=xe;let jt;if($e[0]!=="$"){const _n=At[$e];if(_n!==void 0)switch(_n){case 1:return Fe[$e];case 2:return Ue[$e];case 4:return Ie[$e];case 3:return qe[$e]}else{if(hasSetupBinding(Fe,$e))return At[$e]=1,Fe[$e];if(Ue!==EMPTY_OBJ$1&&hasOwn$1(Ue,$e))return At[$e]=2,Ue[$e];if((jt=xe.propsOptions[0])&&hasOwn$1(jt,$e))return At[$e]=3,qe[$e];if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];shouldCacheAccess&&(At[$e]=0)}}const hn=publicPropertiesMap[$e];let vn,bn;if(hn)return $e==="$attrs"&&track(xe.attrs,"get",""),hn(xe);if((vn=Dt.__cssModules)&&(vn=vn[$e]))return vn;if(Ie!==EMPTY_OBJ$1&&hasOwn$1(Ie,$e))return At[$e]=4,Ie[$e];if(bn=Lt.config.globalProperties,hasOwn$1(bn,$e))return bn[$e]},set({_:xe},$e,Ie){const{data:Fe,setupState:Ue,ctx:qe}=xe;return hasSetupBinding(Ue,$e)?(Ue[$e]=Ie,!0):Fe!==EMPTY_OBJ$1&&hasOwn$1(Fe,$e)?(Fe[$e]=Ie,!0):hasOwn$1(xe.props,$e)||$e[0]==="$"&&$e.slice(1)in xe?!1:(qe[$e]=Ie,!0)},has({_:{data:xe,setupState:$e,accessCache:Ie,ctx:Fe,appContext:Ue,propsOptions:qe}},At){let Dt;return!!Ie[At]||xe!==EMPTY_OBJ$1&&hasOwn$1(xe,At)||hasSetupBinding($e,At)||(Dt=qe[0])&&hasOwn$1(Dt,At)||hasOwn$1(Fe,At)||hasOwn$1(publicPropertiesMap,At)||hasOwn$1(Ue.config.globalProperties,At)},defineProperty(xe,$e,Ie){return Ie.get!=null?xe._.accessCache[$e]=0:hasOwn$1(Ie,"value")&&this.set(xe,$e,Ie.value,null),Reflect.defineProperty(xe,$e,Ie)}},RuntimeCompiledPublicInstanceProxyHandlers=extend$2({},PublicInstanceProxyHandlers,{get(xe,$e){if($e!==Symbol.unscopables)return PublicInstanceProxyHandlers.get(xe,$e,xe)},has(xe,$e){return $e[0]!=="_"&&!isGloballyAllowed($e)}});function defineProps(){return null}function defineEmits(){return null}function defineExpose(xe){}function defineOptions(xe){}function defineSlots(){return null}function defineModel(){}function withDefaults(xe,$e){return null}function useSlots(){return getContext().slots}function useAttrs$1(){return getContext().attrs}function getContext(){const xe=getCurrentInstance();return xe.setupContext||(xe.setupContext=createSetupContext(xe))}function normalizePropsOrEmits(xe){return isArray$6(xe)?xe.reduce(($e,Ie)=>($e[Ie]=null,$e),{}):xe}function mergeDefaults(xe,$e){const Ie=normalizePropsOrEmits(xe);for(const Fe in $e){if(Fe.startsWith("__skip"))continue;let Ue=Ie[Fe];Ue?isArray$6(Ue)||isFunction$5(Ue)?Ue=Ie[Fe]={type:Ue,default:$e[Fe]}:Ue.default=$e[Fe]:Ue===null&&(Ue=Ie[Fe]={default:$e[Fe]}),Ue&&$e[`__skip_${Fe}`]&&(Ue.skipFactory=!0)}return Ie}function mergeModels(xe,$e){return!xe||!$e?xe||$e:isArray$6(xe)&&isArray$6($e)?xe.concat($e):extend$2({},normalizePropsOrEmits(xe),normalizePropsOrEmits($e))}function createPropsRestProxy(xe,$e){const Ie={};for(const Fe in xe)$e.includes(Fe)||Object.defineProperty(Ie,Fe,{enumerable:!0,get:()=>xe[Fe]});return Ie}function withAsyncContext(xe){const $e=getCurrentInstance();let Ie=xe();return unsetCurrentInstance(),isPromise(Ie)&&(Ie=Ie.catch(Fe=>{throw setCurrentInstance($e),Fe})),[Ie,()=>setCurrentInstance($e)]}let shouldCacheAccess=!0;function applyOptions(xe){const $e=resolveMergedOptions(xe),Ie=xe.proxy,Fe=xe.ctx;shouldCacheAccess=!1,$e.beforeCreate&&callHook$1($e.beforeCreate,xe,"bc");const{data:Ue,computed:qe,methods:At,watch:Dt,provide:Lt,inject:jt,created:hn,beforeMount:vn,mounted:bn,beforeUpdate:_n,updated:wn,activated:kn,deactivated:Cn,beforeDestroy:Sn,beforeUnmount:xn,destroyed:En,unmounted:Tn,render:An,renderTracked:$n,renderTriggered:Pn,errorCaptured:Nn,serverPrefetch:Mn,expose:In,inheritAttrs:On,components:Rn,directives:Bn,filters:Vn}=$e;if(jt&&resolveInjections(jt,Fe,null),At)for(const Hn in At){const Fn=At[Hn];isFunction$5(Fn)&&(Fe[Hn]=Fn.bind(Ie))}if(Ue){const Hn=Ue.call(Ie,Ie);isObject$8(Hn)&&(xe.data=reactive(Hn))}if(shouldCacheAccess=!0,qe)for(const Hn in qe){const Fn=qe[Hn],zn=isFunction$5(Fn)?Fn.bind(Ie,Ie):isFunction$5(Fn.get)?Fn.get.bind(Ie,Ie):NOOP,jn=!isFunction$5(Fn)&&isFunction$5(Fn.set)?Fn.set.bind(Ie):NOOP,Gn=computed({get:zn,set:jn});Object.defineProperty(Fe,Hn,{enumerable:!0,configurable:!0,get:()=>Gn.value,set:Wn=>Gn.value=Wn})}if(Dt)for(const Hn in Dt)createWatcher(Dt[Hn],Fe,Ie,Hn);if(Lt){const Hn=isFunction$5(Lt)?Lt.call(Ie):Lt;Reflect.ownKeys(Hn).forEach(Fn=>{provide(Fn,Hn[Fn])})}hn&&callHook$1(hn,xe,"c");function Dn(Hn,Fn){isArray$6(Fn)?Fn.forEach(zn=>Hn(zn.bind(Ie))):Fn&&Hn(Fn.bind(Ie))}if(Dn(onBeforeMount,vn),Dn(onMounted,bn),Dn(onBeforeUpdate,_n),Dn(onUpdated,wn),Dn(onActivated,kn),Dn(onDeactivated,Cn),Dn(onErrorCaptured,Nn),Dn(onRenderTracked,$n),Dn(onRenderTriggered,Pn),Dn(onBeforeUnmount,xn),Dn(onUnmounted,Tn),Dn(onServerPrefetch,Mn),isArray$6(In))if(In.length){const Hn=xe.exposed||(xe.exposed={});In.forEach(Fn=>{Object.defineProperty(Hn,Fn,{get:()=>Ie[Fn],set:zn=>Ie[Fn]=zn})})}else xe.exposed||(xe.exposed={});An&&xe.render===NOOP&&(xe.render=An),On!=null&&(xe.inheritAttrs=On),Rn&&(xe.components=Rn),Bn&&(xe.directives=Bn)}function resolveInjections(xe,$e,Ie=NOOP){isArray$6(xe)&&(xe=normalizeInject(xe));for(const Fe in xe){const Ue=xe[Fe];let qe;isObject$8(Ue)?"default"in Ue?qe=inject(Ue.from||Fe,Ue.default,!0):qe=inject(Ue.from||Fe):qe=inject(Ue),isRef(qe)?Object.defineProperty($e,Fe,{enumerable:!0,configurable:!0,get:()=>qe.value,set:At=>qe.value=At}):$e[Fe]=qe}}function callHook$1(xe,$e,Ie){callWithAsyncErrorHandling(isArray$6(xe)?xe.map(Fe=>Fe.bind($e.proxy)):xe.bind($e.proxy),$e,Ie)}function createWatcher(xe,$e,Ie,Fe){const Ue=Fe.includes(".")?createPathGetter(Ie,Fe):()=>Ie[Fe];if(isString$4(xe)){const qe=$e[xe];isFunction$5(qe)&&watch(Ue,qe)}else if(isFunction$5(xe))watch(Ue,xe.bind(Ie));else if(isObject$8(xe))if(isArray$6(xe))xe.forEach(qe=>createWatcher(qe,$e,Ie,Fe));else{const qe=isFunction$5(xe.handler)?xe.handler.bind(Ie):$e[xe.handler];isFunction$5(qe)&&watch(Ue,qe,xe)}}function resolveMergedOptions(xe){const $e=xe.type,{mixins:Ie,extends:Fe}=$e,{mixins:Ue,optionsCache:qe,config:{optionMergeStrategies:At}}=xe.appContext,Dt=qe.get($e);let Lt;return Dt?Lt=Dt:!Ue.length&&!Ie&&!Fe?Lt=$e:(Lt={},Ue.length&&Ue.forEach(jt=>mergeOptions$2(Lt,jt,At,!0)),mergeOptions$2(Lt,$e,At)),isObject$8($e)&&qe.set($e,Lt),Lt}function mergeOptions$2(xe,$e,Ie,Fe=!1){const{mixins:Ue,extends:qe}=$e;qe&&mergeOptions$2(xe,qe,Ie,!0),Ue&&Ue.forEach(At=>mergeOptions$2(xe,At,Ie,!0));for(const At in $e)if(!(Fe&&At==="expose")){const Dt=internalOptionMergeStrats[At]||Ie&&Ie[At];xe[At]=Dt?Dt(xe[At],$e[At]):$e[At]}return xe}const internalOptionMergeStrats={data:mergeDataFn,props:mergeEmitsOrPropsOptions,emits:mergeEmitsOrPropsOptions,methods:mergeObjectOptions,computed:mergeObjectOptions,beforeCreate:mergeAsArray,created:mergeAsArray,beforeMount:mergeAsArray,mounted:mergeAsArray,beforeUpdate:mergeAsArray,updated:mergeAsArray,beforeDestroy:mergeAsArray,beforeUnmount:mergeAsArray,destroyed:mergeAsArray,unmounted:mergeAsArray,activated:mergeAsArray,deactivated:mergeAsArray,errorCaptured:mergeAsArray,serverPrefetch:mergeAsArray,components:mergeObjectOptions,directives:mergeObjectOptions,watch:mergeWatchOptions,provide:mergeDataFn,inject:mergeInject};function mergeDataFn(xe,$e){return $e?xe?function(){return extend$2(isFunction$5(xe)?xe.call(this,this):xe,isFunction$5($e)?$e.call(this,this):$e)}:$e:xe}function mergeInject(xe,$e){return mergeObjectOptions(normalizeInject(xe),normalizeInject($e))}function normalizeInject(xe){if(isArray$6(xe)){const $e={};for(let Ie=0;Ie1)return Ie&&isFunction$5($e)?$e.call(Fe&&Fe.proxy):$e}}function hasInjectionContext(){return!!(currentInstance||currentRenderingInstance||currentApp)}const internalObjectProto={},createInternalObject=()=>Object.create(internalObjectProto),isInternalObject=xe=>Object.getPrototypeOf(xe)===internalObjectProto;function initProps$1(xe,$e,Ie,Fe=!1){const Ue={},qe=createInternalObject();xe.propsDefaults=Object.create(null),setFullProps(xe,$e,Ue,qe);for(const At in xe.propsOptions[0])At in Ue||(Ue[At]=void 0);Ie?xe.props=Fe?Ue:shallowReactive(Ue):xe.type.props?xe.props=Ue:xe.props=qe,xe.attrs=qe}function updateProps$2(xe,$e,Ie,Fe){const{props:Ue,attrs:qe,vnode:{patchFlag:At}}=xe,Dt=toRaw(Ue),[Lt]=xe.propsOptions;let jt=!1;if((Fe||At>0)&&!(At&16)){if(At&8){const hn=xe.vnode.dynamicProps;for(let vn=0;vn{Lt=!0;const[bn,_n]=normalizePropsOptions(vn,$e,!0);extend$2(At,bn),_n&&Dt.push(..._n)};!Ie&&$e.mixins.length&&$e.mixins.forEach(hn),xe.extends&&hn(xe.extends),xe.mixins&&xe.mixins.forEach(hn)}if(!qe&&!Lt)return isObject$8(xe)&&Fe.set(xe,EMPTY_ARR),EMPTY_ARR;if(isArray$6(qe))for(let hn=0;hn-1,_n[1]=kn<0||wn-1||hasOwn$1(_n,"default"))&&Dt.push(vn)}}}const jt=[At,Dt];return isObject$8(xe)&&Fe.set(xe,jt),jt}function validatePropName(xe){return xe[0]!=="$"&&!isReservedProp(xe)}function getType(xe){return xe===null?"null":typeof xe=="function"?xe.name||"":typeof xe=="object"&&xe.constructor&&xe.constructor.name||""}function isSameType(xe,$e){return getType(xe)===getType($e)}function getTypeIndex(xe,$e){return isArray$6($e)?$e.findIndex(Ie=>isSameType(Ie,xe)):isFunction$5($e)&&isSameType($e,xe)?0:-1}const isInternalKey=xe=>xe[0]==="_"||xe==="$stable",normalizeSlotValue=xe=>isArray$6(xe)?xe.map(normalizeVNode):[normalizeVNode(xe)],normalizeSlot$1=(xe,$e,Ie)=>{if($e._n)return $e;const Fe=withCtx((...Ue)=>normalizeSlotValue($e(...Ue)),Ie);return Fe._c=!1,Fe},normalizeObjectSlots=(xe,$e,Ie)=>{const Fe=xe._ctx;for(const Ue in xe){if(isInternalKey(Ue))continue;const qe=xe[Ue];if(isFunction$5(qe))$e[Ue]=normalizeSlot$1(Ue,qe,Fe);else if(qe!=null){const At=normalizeSlotValue(qe);$e[Ue]=()=>At}}},normalizeVNodeSlots=(xe,$e)=>{const Ie=normalizeSlotValue($e);xe.slots.default=()=>Ie},initSlots=(xe,$e)=>{const Ie=xe.slots=createInternalObject();if(xe.vnode.shapeFlag&32){const Fe=$e._;Fe?(extend$2(Ie,$e),def(Ie,"_",Fe,!0)):normalizeObjectSlots($e,Ie)}else $e&&normalizeVNodeSlots(xe,$e)},updateSlots=(xe,$e,Ie)=>{const{vnode:Fe,slots:Ue}=xe;let qe=!0,At=EMPTY_OBJ$1;if(Fe.shapeFlag&32){const Dt=$e._;Dt?Ie&&Dt===1?qe=!1:(extend$2(Ue,$e),!Ie&&Dt===1&&delete Ue._):(qe=!$e.$stable,normalizeObjectSlots($e,Ue)),At=$e}else $e&&(normalizeVNodeSlots(xe,$e),At={default:1});if(qe)for(const Dt in Ue)!isInternalKey(Dt)&&At[Dt]==null&&delete Ue[Dt]};function setRef(xe,$e,Ie,Fe,Ue=!1){if(isArray$6(xe)){xe.forEach((bn,_n)=>setRef(bn,$e&&(isArray$6($e)?$e[_n]:$e),Ie,Fe,Ue));return}if(isAsyncWrapper(Fe)&&!Ue)return;const qe=Fe.shapeFlag&4?getExposeProxy(Fe.component)||Fe.component.proxy:Fe.el,At=Ue?null:qe,{i:Dt,r:Lt}=xe,jt=$e&&$e.r,hn=Dt.refs===EMPTY_OBJ$1?Dt.refs={}:Dt.refs,vn=Dt.setupState;if(jt!=null&&jt!==Lt&&(isString$4(jt)?(hn[jt]=null,hasOwn$1(vn,jt)&&(vn[jt]=null)):isRef(jt)&&(jt.value=null)),isFunction$5(Lt))callWithErrorHandling(Lt,Dt,12,[At,hn]);else{const bn=isString$4(Lt),_n=isRef(Lt);if(bn||_n){const wn=()=>{if(xe.f){const kn=bn?hasOwn$1(vn,Lt)?vn[Lt]:hn[Lt]:Lt.value;Ue?isArray$6(kn)&&remove(kn,qe):isArray$6(kn)?kn.includes(qe)||kn.push(qe):bn?(hn[Lt]=[qe],hasOwn$1(vn,Lt)&&(vn[Lt]=hn[Lt])):(Lt.value=[qe],xe.k&&(hn[xe.k]=Lt.value))}else bn?(hn[Lt]=At,hasOwn$1(vn,Lt)&&(vn[Lt]=At)):_n&&(Lt.value=At,xe.k&&(hn[xe.k]=At))};At?(wn.id=-1,queuePostRenderEffect(wn,Ie)):wn()}}}let hasMismatch=!1;const isSVGContainer=xe=>xe.namespaceURI.includes("svg")&&xe.tagName!=="foreignObject",isMathMLContainer=xe=>xe.namespaceURI.includes("MathML"),getContainerType=xe=>{if(isSVGContainer(xe))return"svg";if(isMathMLContainer(xe))return"mathml"},isComment$1=xe=>xe.nodeType===8;function createHydrationFunctions(xe){const{mt:$e,p:Ie,o:{patchProp:Fe,createText:Ue,nextSibling:qe,parentNode:At,remove:Dt,insert:Lt,createComment:jt}}=xe,hn=(En,Tn)=>{if(!Tn.hasChildNodes()){Ie(null,En,Tn),flushPostFlushCbs(),Tn._vnode=En;return}hasMismatch=!1,vn(Tn.firstChild,En,null,null,null),flushPostFlushCbs(),Tn._vnode=En,hasMismatch&&console.error("Hydration completed but contains mismatches.")},vn=(En,Tn,An,$n,Pn,Nn=!1)=>{Nn=Nn||!!Tn.dynamicChildren;const Mn=isComment$1(En)&&En.data==="[",In=()=>kn(En,Tn,An,$n,Pn,Mn),{type:On,ref:Rn,shapeFlag:Bn,patchFlag:Vn}=Tn;let Ln=En.nodeType;Tn.el=En,Vn===-2&&(Nn=!1,Tn.dynamicChildren=null);let Dn=null;switch(On){case Text$2:Ln!==3?Tn.children===""?(Lt(Tn.el=Ue(""),At(En),En),Dn=En):Dn=In():(En.data!==Tn.children&&(hasMismatch=!0,En.data=Tn.children),Dn=qe(En));break;case Comment$1:xn(En)?(Dn=qe(En),Sn(Tn.el=En.content.firstChild,En,An)):Ln!==8||Mn?Dn=In():Dn=qe(En);break;case Static:if(Mn&&(En=qe(En),Ln=En.nodeType),Ln===1||Ln===3){Dn=En;const Hn=!Tn.children.length;for(let Fn=0;Fn{Nn=Nn||!!Tn.dynamicChildren;const{type:Mn,props:In,patchFlag:On,shapeFlag:Rn,dirs:Bn,transition:Vn}=Tn,Ln=Mn==="input"||Mn==="option";if(Ln||On!==-1){Bn&&invokeDirectiveHook(Tn,null,An,"created");let Dn=!1;if(xn(En)){Dn=needTransition($n,Vn)&&An&&An.vnode.props&&An.vnode.props.appear;const Fn=En.content.firstChild;Dn&&Vn.beforeEnter(Fn),Sn(Fn,En,An),Tn.el=En=Fn}if(Rn&16&&!(In&&(In.innerHTML||In.textContent))){let Fn=_n(En.firstChild,Tn,En,An,$n,Pn,Nn);for(;Fn;){hasMismatch=!0;const zn=Fn;Fn=Fn.nextSibling,Dt(zn)}}else Rn&8&&En.textContent!==Tn.children&&(hasMismatch=!0,En.textContent=Tn.children);if(In)if(Ln||!Nn||On&48)for(const Fn in In)(Ln&&(Fn.endsWith("value")||Fn==="indeterminate")||isOn(Fn)&&!isReservedProp(Fn)||Fn[0]===".")&&Fe(En,Fn,null,In[Fn],void 0,void 0,An);else In.onClick&&Fe(En,"onClick",null,In.onClick,void 0,void 0,An);let Hn;(Hn=In&&In.onVnodeBeforeMount)&&invokeVNodeHook(Hn,An,Tn),Bn&&invokeDirectiveHook(Tn,null,An,"beforeMount"),((Hn=In&&In.onVnodeMounted)||Bn||Dn)&&queueEffectWithSuspense(()=>{Hn&&invokeVNodeHook(Hn,An,Tn),Dn&&Vn.enter(En),Bn&&invokeDirectiveHook(Tn,null,An,"mounted")},$n)}return En.nextSibling},_n=(En,Tn,An,$n,Pn,Nn,Mn)=>{Mn=Mn||!!Tn.dynamicChildren;const In=Tn.children,On=In.length;for(let Rn=0;Rn{const{slotScopeIds:Mn}=Tn;Mn&&(Pn=Pn?Pn.concat(Mn):Mn);const In=At(En),On=_n(qe(En),Tn,In,An,$n,Pn,Nn);return On&&isComment$1(On)&&On.data==="]"?qe(Tn.anchor=On):(hasMismatch=!0,Lt(Tn.anchor=jt("]"),In,On),On)},kn=(En,Tn,An,$n,Pn,Nn)=>{if(hasMismatch=!0,Tn.el=null,Nn){const On=Cn(En);for(;;){const Rn=qe(En);if(Rn&&Rn!==On)Dt(Rn);else break}}const Mn=qe(En),In=At(En);return Dt(En),Ie(null,Tn,In,Mn,An,$n,getContainerType(In),Pn),Mn},Cn=(En,Tn="[",An="]")=>{let $n=0;for(;En;)if(En=qe(En),En&&isComment$1(En)&&(En.data===Tn&&$n++,En.data===An)){if($n===0)return qe(En);$n--}return En},Sn=(En,Tn,An)=>{const $n=Tn.parentNode;$n&&$n.replaceChild(En,Tn);let Pn=An;for(;Pn;)Pn.vnode.el===Tn&&(Pn.vnode.el=Pn.subTree.el=En),Pn=Pn.parent},xn=En=>En.nodeType===1&&En.tagName.toLowerCase()==="template";return[hn,vn]}const queuePostRenderEffect=queueEffectWithSuspense;function createRenderer(xe){return baseCreateRenderer(xe)}function createHydrationRenderer(xe){return baseCreateRenderer(xe,createHydrationFunctions)}function baseCreateRenderer(xe,$e){const Ie=getGlobalThis();Ie.__VUE__=!0;const{insert:Fe,remove:Ue,patchProp:qe,createElement:At,createText:Dt,createComment:Lt,setText:jt,setElementText:hn,parentNode:vn,nextSibling:bn,setScopeId:_n=NOOP,insertStaticContent:wn}=xe,kn=(Kn,Zn,nr,lr=null,ir=null,kr=null,Cr=void 0,Er=null,dr=!!Zn.dynamicChildren)=>{if(Kn===Zn)return;Kn&&!isSameVNodeType(Kn,Zn)&&(lr=qn(Kn),Wn(Kn,ir,kr,!0),Kn=null),Zn.patchFlag===-2&&(dr=!1,Zn.dynamicChildren=null);const{type:br,ref:_r,shapeFlag:Pr}=Zn;switch(br){case Text$2:Cn(Kn,Zn,nr,lr);break;case Comment$1:Sn(Kn,Zn,nr,lr);break;case Static:Kn==null&&xn(Zn,nr,lr,Cr);break;case Fragment:Rn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr);break;default:Pr&1?An(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):Pr&6?Bn(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr):(Pr&64||Pr&128)&&br.process(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr,tr)}_r!=null&&ir&&setRef(_r,Kn&&Kn.ref,kr,Zn||Kn,!Zn)},Cn=(Kn,Zn,nr,lr)=>{if(Kn==null)Fe(Zn.el=Dt(Zn.children),nr,lr);else{const ir=Zn.el=Kn.el;Zn.children!==Kn.children&&jt(ir,Zn.children)}},Sn=(Kn,Zn,nr,lr)=>{Kn==null?Fe(Zn.el=Lt(Zn.children||""),nr,lr):Zn.el=Kn.el},xn=(Kn,Zn,nr,lr)=>{[Kn.el,Kn.anchor]=wn(Kn.children,Zn,nr,lr,Kn.el,Kn.anchor)},En=({el:Kn,anchor:Zn},nr,lr)=>{let ir;for(;Kn&&Kn!==Zn;)ir=bn(Kn),Fe(Kn,nr,lr),Kn=ir;Fe(Zn,nr,lr)},Tn=({el:Kn,anchor:Zn})=>{let nr;for(;Kn&&Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},An=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.type==="svg"?Cr="svg":Zn.type==="math"&&(Cr="mathml"),Kn==null?$n(Zn,nr,lr,ir,kr,Cr,Er,dr):Mn(Kn,Zn,ir,kr,Cr,Er,dr)},$n=(Kn,Zn,nr,lr,ir,kr,Cr,Er)=>{let dr,br;const{props:_r,shapeFlag:Pr,transition:gr,dirs:xr}=Kn;if(dr=Kn.el=At(Kn.type,kr,_r&&_r.is,_r),Pr&8?hn(dr,Kn.children):Pr&16&&Nn(Kn.children,dr,null,lr,ir,resolveChildrenNamespace(Kn,kr),Cr,Er),xr&&invokeDirectiveHook(Kn,null,lr,"created"),Pn(dr,Kn,Kn.scopeId,Cr,lr),_r){for(const Hr in _r)Hr!=="value"&&!isReservedProp(Hr)&&qe(dr,Hr,null,_r[Hr],kr,Kn.children,lr,ir,Jn);"value"in _r&&qe(dr,"value",null,_r.value,kr),(br=_r.onVnodeBeforeMount)&&invokeVNodeHook(br,lr,Kn)}xr&&invokeDirectiveHook(Kn,null,lr,"beforeMount");const Rr=needTransition(ir,gr);Rr&&gr.beforeEnter(dr),Fe(dr,Zn,nr),((br=_r&&_r.onVnodeMounted)||Rr||xr)&&queuePostRenderEffect(()=>{br&&invokeVNodeHook(br,lr,Kn),Rr&&gr.enter(dr),xr&&invokeDirectiveHook(Kn,null,lr,"mounted")},ir)},Pn=(Kn,Zn,nr,lr,ir)=>{if(nr&&_n(Kn,nr),lr)for(let kr=0;kr{for(let br=dr;br{const Er=Zn.el=Kn.el;let{patchFlag:dr,dynamicChildren:br,dirs:_r}=Zn;dr|=Kn.patchFlag&16;const Pr=Kn.props||EMPTY_OBJ$1,gr=Zn.props||EMPTY_OBJ$1;let xr;if(nr&&toggleRecurse(nr,!1),(xr=gr.onVnodeBeforeUpdate)&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"beforeUpdate"),nr&&toggleRecurse(nr,!0),br?In(Kn.dynamicChildren,br,Er,nr,lr,resolveChildrenNamespace(Zn,ir),kr):Cr||Fn(Kn,Zn,Er,null,nr,lr,resolveChildrenNamespace(Zn,ir),kr,!1),dr>0){if(dr&16)On(Er,Zn,Pr,gr,nr,lr,ir);else if(dr&2&&Pr.class!==gr.class&&qe(Er,"class",null,gr.class,ir),dr&4&&qe(Er,"style",Pr.style,gr.style,ir),dr&8){const Rr=Zn.dynamicProps;for(let Hr=0;Hr{xr&&invokeVNodeHook(xr,nr,Zn,Kn),_r&&invokeDirectiveHook(Zn,Kn,nr,"updated")},lr)},In=(Kn,Zn,nr,lr,ir,kr,Cr)=>{for(let Er=0;Er{if(nr!==lr){if(nr!==EMPTY_OBJ$1)for(const Er in nr)!isReservedProp(Er)&&!(Er in lr)&&qe(Kn,Er,nr[Er],null,Cr,Zn.children,ir,kr,Jn);for(const Er in lr){if(isReservedProp(Er))continue;const dr=lr[Er],br=nr[Er];dr!==br&&Er!=="value"&&qe(Kn,Er,br,dr,Cr,Zn.children,ir,kr,Jn)}"value"in lr&&qe(Kn,"value",nr.value,lr.value,Cr)}},Rn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{const br=Zn.el=Kn?Kn.el:Dt(""),_r=Zn.anchor=Kn?Kn.anchor:Dt("");let{patchFlag:Pr,dynamicChildren:gr,slotScopeIds:xr}=Zn;xr&&(Er=Er?Er.concat(xr):xr),Kn==null?(Fe(br,nr,lr),Fe(_r,nr,lr),Nn(Zn.children||[],nr,_r,ir,kr,Cr,Er,dr)):Pr>0&&Pr&64&&gr&&Kn.dynamicChildren?(In(Kn.dynamicChildren,gr,nr,ir,kr,Cr,Er),(Zn.key!=null||ir&&Zn===ir.subTree)&&traverseStaticChildren(Kn,Zn,!0)):Fn(Kn,Zn,nr,_r,ir,kr,Cr,Er,dr)},Bn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Zn.slotScopeIds=Er,Kn==null?Zn.shapeFlag&512?ir.ctx.activate(Zn,nr,lr,Cr,dr):Vn(Zn,nr,lr,ir,kr,Cr,dr):Ln(Kn,Zn,dr)},Vn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=Kn.component=createComponentInstance(Kn,lr,ir);if(isKeepAlive(Kn)&&(Er.ctx.renderer=tr),setupComponent(Er),Er.asyncDep){if(ir&&ir.registerDep(Er,Dn),!Kn.el){const dr=Er.subTree=createVNode$1(Comment$1);Sn(null,dr,Zn,nr)}}else Dn(Er,Kn,Zn,nr,ir,kr,Cr)},Ln=(Kn,Zn,nr)=>{const lr=Zn.component=Kn.component;if(shouldUpdateComponent(Kn,Zn,nr))if(lr.asyncDep&&!lr.asyncResolved){Hn(lr,Zn,nr);return}else lr.next=Zn,invalidateJob(lr.update),lr.effect.dirty=!0,lr.update();else Zn.el=Kn.el,lr.vnode=Zn},Dn=(Kn,Zn,nr,lr,ir,kr,Cr)=>{const Er=()=>{if(Kn.isMounted){let{next:_r,bu:Pr,u:gr,parent:xr,vnode:Rr}=Kn;{const Br=locateNonHydratedAsyncRoot(Kn);if(Br){_r&&(_r.el=Rr.el,Hn(Kn,_r,Cr)),Br.asyncDep.then(()=>{Kn.isUnmounted||Er()});return}}let Hr=_r,Jr;toggleRecurse(Kn,!1),_r?(_r.el=Rr.el,Hn(Kn,_r,Cr)):_r=Rr,Pr&&invokeArrayFns(Pr),(Jr=_r.props&&_r.props.onVnodeBeforeUpdate)&&invokeVNodeHook(Jr,xr,_r,Rr),toggleRecurse(Kn,!0);const Gr=renderComponentRoot(Kn),$r=Kn.subTree;Kn.subTree=Gr,kn($r,Gr,vn($r.el),qn($r),Kn,ir,kr),_r.el=Gr.el,Hr===null&&updateHOCHostEl(Kn,Gr.el),gr&&queuePostRenderEffect(gr,ir),(Jr=_r.props&&_r.props.onVnodeUpdated)&&queuePostRenderEffect(()=>invokeVNodeHook(Jr,xr,_r,Rr),ir)}else{let _r;const{el:Pr,props:gr}=Zn,{bm:xr,m:Rr,parent:Hr}=Kn,Jr=isAsyncWrapper(Zn);if(toggleRecurse(Kn,!1),xr&&invokeArrayFns(xr),!Jr&&(_r=gr&&gr.onVnodeBeforeMount)&&invokeVNodeHook(_r,Hr,Zn),toggleRecurse(Kn,!0),Pr&&sr){const Gr=()=>{Kn.subTree=renderComponentRoot(Kn),sr(Pr,Kn.subTree,Kn,ir,null)};Jr?Zn.type.__asyncLoader().then(()=>!Kn.isUnmounted&&Gr()):Gr()}else{const Gr=Kn.subTree=renderComponentRoot(Kn);kn(null,Gr,nr,lr,Kn,ir,kr),Zn.el=Gr.el}if(Rr&&queuePostRenderEffect(Rr,ir),!Jr&&(_r=gr&&gr.onVnodeMounted)){const Gr=Zn;queuePostRenderEffect(()=>invokeVNodeHook(_r,Hr,Gr),ir)}(Zn.shapeFlag&256||Hr&&isAsyncWrapper(Hr.vnode)&&Hr.vnode.shapeFlag&256)&&Kn.a&&queuePostRenderEffect(Kn.a,ir),Kn.isMounted=!0,Zn=nr=lr=null}},dr=Kn.effect=new ReactiveEffect(Er,NOOP,()=>queueJob(br),Kn.scope),br=Kn.update=()=>{dr.dirty&&dr.run()};br.id=Kn.uid,toggleRecurse(Kn,!0),br()},Hn=(Kn,Zn,nr)=>{Zn.component=Kn;const lr=Kn.vnode.props;Kn.vnode=Zn,Kn.next=null,updateProps$2(Kn,Zn.props,lr,nr),updateSlots(Kn,Zn.children,nr),pauseTracking(),flushPreFlushCbs(Kn),resetTracking()},Fn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr=!1)=>{const br=Kn&&Kn.children,_r=Kn?Kn.shapeFlag:0,Pr=Zn.children,{patchFlag:gr,shapeFlag:xr}=Zn;if(gr>0){if(gr&128){jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}else if(gr&256){zn(br,Pr,nr,lr,ir,kr,Cr,Er,dr);return}}xr&8?(_r&16&&Jn(br,ir,kr),Pr!==br&&hn(nr,Pr)):_r&16?xr&16?jn(br,Pr,nr,lr,ir,kr,Cr,Er,dr):Jn(br,ir,kr,!0):(_r&8&&hn(nr,""),xr&16&&Nn(Pr,nr,lr,ir,kr,Cr,Er,dr))},zn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{Kn=Kn||EMPTY_ARR,Zn=Zn||EMPTY_ARR;const br=Kn.length,_r=Zn.length,Pr=Math.min(br,_r);let gr;for(gr=0;gr_r?Jn(Kn,ir,kr,!0,!1,Pr):Nn(Zn,nr,lr,ir,kr,Cr,Er,dr,Pr)},jn=(Kn,Zn,nr,lr,ir,kr,Cr,Er,dr)=>{let br=0;const _r=Zn.length;let Pr=Kn.length-1,gr=_r-1;for(;br<=Pr&&br<=gr;){const xr=Kn[br],Rr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;br++}for(;br<=Pr&&br<=gr;){const xr=Kn[Pr],Rr=Zn[gr]=dr?cloneIfMounted(Zn[gr]):normalizeVNode(Zn[gr]);if(isSameVNodeType(xr,Rr))kn(xr,Rr,nr,null,ir,kr,Cr,Er,dr);else break;Pr--,gr--}if(br>Pr){if(br<=gr){const xr=gr+1,Rr=xr<_r?Zn[xr].el:lr;for(;br<=gr;)kn(null,Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]),nr,Rr,ir,kr,Cr,Er,dr),br++}}else if(br>gr)for(;br<=Pr;)Wn(Kn[br],ir,kr,!0),br++;else{const xr=br,Rr=br,Hr=new Map;for(br=Rr;br<=gr;br++){const Dr=Zn[br]=dr?cloneIfMounted(Zn[br]):normalizeVNode(Zn[br]);Dr.key!=null&&Hr.set(Dr.key,br)}let Jr,Gr=0;const $r=gr-Rr+1;let Br=!1,Tr=0;const cr=new Array($r);for(br=0;br<$r;br++)cr[br]=0;for(br=xr;br<=Pr;br++){const Dr=Kn[br];if(Gr>=$r){Wn(Dr,ir,kr,!0);continue}let mr;if(Dr.key!=null)mr=Hr.get(Dr.key);else for(Jr=Rr;Jr<=gr;Jr++)if(cr[Jr-Rr]===0&&isSameVNodeType(Dr,Zn[Jr])){mr=Jr;break}mr===void 0?Wn(Dr,ir,kr,!0):(cr[mr-Rr]=br+1,mr>=Tr?Tr=mr:Br=!0,kn(Dr,Zn[mr],nr,null,ir,kr,Cr,Er,dr),Gr++)}const Sr=Br?getSequence(cr):EMPTY_ARR;for(Jr=Sr.length-1,br=$r-1;br>=0;br--){const Dr=Rr+br,mr=Zn[Dr],Lr=Dr+1<_r?Zn[Dr+1].el:lr;cr[br]===0?kn(null,mr,nr,Lr,ir,kr,Cr,Er,dr):Br&&(Jr<0||br!==Sr[Jr]?Gn(mr,nr,Lr,2):Jr--)}}},Gn=(Kn,Zn,nr,lr,ir=null)=>{const{el:kr,type:Cr,transition:Er,children:dr,shapeFlag:br}=Kn;if(br&6){Gn(Kn.component.subTree,Zn,nr,lr);return}if(br&128){Kn.suspense.move(Zn,nr,lr);return}if(br&64){Cr.move(Kn,Zn,nr,tr);return}if(Cr===Fragment){Fe(kr,Zn,nr);for(let Pr=0;PrEr.enter(kr),ir);else{const{leave:Pr,delayLeave:gr,afterLeave:xr}=Er,Rr=()=>Fe(kr,Zn,nr),Hr=()=>{Pr(kr,()=>{Rr(),xr&&xr()})};gr?gr(kr,Rr,Hr):Hr()}else Fe(kr,Zn,nr)},Wn=(Kn,Zn,nr,lr=!1,ir=!1)=>{const{type:kr,props:Cr,ref:Er,children:dr,dynamicChildren:br,shapeFlag:_r,patchFlag:Pr,dirs:gr}=Kn;if(Er!=null&&setRef(Er,null,nr,Kn,!0),_r&256){Zn.ctx.deactivate(Kn);return}const xr=_r&1&&gr,Rr=!isAsyncWrapper(Kn);let Hr;if(Rr&&(Hr=Cr&&Cr.onVnodeBeforeUnmount)&&invokeVNodeHook(Hr,Zn,Kn),_r&6)rr(Kn.component,nr,lr);else{if(_r&128){Kn.suspense.unmount(nr,lr);return}xr&&invokeDirectiveHook(Kn,null,Zn,"beforeUnmount"),_r&64?Kn.type.remove(Kn,Zn,nr,ir,tr,lr):br&&(kr!==Fragment||Pr>0&&Pr&64)?Jn(br,Zn,nr,!1,!0):(kr===Fragment&&Pr&384||!ir&&_r&16)&&Jn(dr,Zn,nr),lr&&Xn(Kn)}(Rr&&(Hr=Cr&&Cr.onVnodeUnmounted)||xr)&&queuePostRenderEffect(()=>{Hr&&invokeVNodeHook(Hr,Zn,Kn),xr&&invokeDirectiveHook(Kn,null,Zn,"unmounted")},nr)},Xn=Kn=>{const{type:Zn,el:nr,anchor:lr,transition:ir}=Kn;if(Zn===Fragment){er(nr,lr);return}if(Zn===Static){Tn(Kn);return}const kr=()=>{Ue(nr),ir&&!ir.persisted&&ir.afterLeave&&ir.afterLeave()};if(Kn.shapeFlag&1&&ir&&!ir.persisted){const{leave:Cr,delayLeave:Er}=ir,dr=()=>Cr(nr,kr);Er?Er(Kn.el,kr,dr):dr()}else kr()},er=(Kn,Zn)=>{let nr;for(;Kn!==Zn;)nr=bn(Kn),Ue(Kn),Kn=nr;Ue(Zn)},rr=(Kn,Zn,nr)=>{const{bum:lr,scope:ir,update:kr,subTree:Cr,um:Er}=Kn;lr&&invokeArrayFns(lr),ir.stop(),kr&&(kr.active=!1,Wn(Cr,Kn,Zn,nr)),Er&&queuePostRenderEffect(Er,Zn),queuePostRenderEffect(()=>{Kn.isUnmounted=!0},Zn),Zn&&Zn.pendingBranch&&!Zn.isUnmounted&&Kn.asyncDep&&!Kn.asyncResolved&&Kn.suspenseId===Zn.pendingId&&(Zn.deps--,Zn.deps===0&&Zn.resolve())},Jn=(Kn,Zn,nr,lr=!1,ir=!1,kr=0)=>{for(let Cr=kr;CrKn.shapeFlag&6?qn(Kn.component.subTree):Kn.shapeFlag&128?Kn.suspense.next():bn(Kn.anchor||Kn.el);let Yn=!1;const ar=(Kn,Zn,nr)=>{Kn==null?Zn._vnode&&Wn(Zn._vnode,null,null,!0):kn(Zn._vnode||null,Kn,Zn,null,null,null,nr),Yn||(Yn=!0,flushPreFlushCbs(),flushPostFlushCbs(),Yn=!1),Zn._vnode=Kn},tr={p:kn,um:Wn,m:Gn,r:Xn,mt:Vn,mc:Nn,pc:Fn,pbc:In,n:qn,o:xe};let or,sr;return $e&&([or,sr]=$e(tr)),{render:ar,hydrate:or,createApp:createAppAPI(ar,or)}}function resolveChildrenNamespace({type:xe,props:$e},Ie){return Ie==="svg"&&xe==="foreignObject"||Ie==="mathml"&&xe==="annotation-xml"&&$e&&$e.encoding&&$e.encoding.includes("html")?void 0:Ie}function toggleRecurse({effect:xe,update:$e},Ie){xe.allowRecurse=$e.allowRecurse=Ie}function needTransition(xe,$e){return(!xe||xe&&!xe.pendingBranch)&&$e&&!$e.persisted}function traverseStaticChildren(xe,$e,Ie=!1){const Fe=xe.children,Ue=$e.children;if(isArray$6(Fe)&&isArray$6(Ue))for(let qe=0;qe>1,xe[Ie[Dt]]0&&($e[Fe]=Ie[qe-1]),Ie[qe]=Fe)}}for(qe=Ie.length,At=Ie[qe-1];qe-- >0;)Ie[qe]=At,At=$e[At];return Ie}function locateNonHydratedAsyncRoot(xe){const $e=xe.subTree.component;if($e)return $e.asyncDep&&!$e.asyncResolved?$e:locateNonHydratedAsyncRoot($e)}const isTeleport=xe=>xe.__isTeleport,isTeleportDisabled=xe=>xe&&(xe.disabled||xe.disabled===""),isTargetSVG=xe=>typeof SVGElement<"u"&&xe instanceof SVGElement,isTargetMathML=xe=>typeof MathMLElement=="function"&&xe instanceof MathMLElement,resolveTarget=(xe,$e)=>{const Ie=xe&&xe.to;return isString$4(Ie)?$e?$e(Ie):null:Ie},TeleportImpl={name:"Teleport",__isTeleport:!0,process(xe,$e,Ie,Fe,Ue,qe,At,Dt,Lt,jt){const{mc:hn,pc:vn,pbc:bn,o:{insert:_n,querySelector:wn,createText:kn,createComment:Cn}}=jt,Sn=isTeleportDisabled($e.props);let{shapeFlag:xn,children:En,dynamicChildren:Tn}=$e;if(xe==null){const An=$e.el=kn(""),$n=$e.anchor=kn("");_n(An,Ie,Fe),_n($n,Ie,Fe);const Pn=$e.target=resolveTarget($e.props,wn),Nn=$e.targetAnchor=kn("");Pn&&(_n(Nn,Pn),At==="svg"||isTargetSVG(Pn)?At="svg":(At==="mathml"||isTargetMathML(Pn))&&(At="mathml"));const Mn=(In,On)=>{xn&16&&hn(En,In,On,Ue,qe,At,Dt,Lt)};Sn?Mn(Ie,$n):Pn&&Mn(Pn,Nn)}else{$e.el=xe.el;const An=$e.anchor=xe.anchor,$n=$e.target=xe.target,Pn=$e.targetAnchor=xe.targetAnchor,Nn=isTeleportDisabled(xe.props),Mn=Nn?Ie:$n,In=Nn?An:Pn;if(At==="svg"||isTargetSVG($n)?At="svg":(At==="mathml"||isTargetMathML($n))&&(At="mathml"),Tn?(bn(xe.dynamicChildren,Tn,Mn,Ue,qe,At,Dt),traverseStaticChildren(xe,$e,!0)):Lt||vn(xe,$e,Mn,In,Ue,qe,At,Dt,!1),Sn)Nn?$e.props&&xe.props&&$e.props.to!==xe.props.to&&($e.props.to=xe.props.to):moveTeleport($e,Ie,An,jt,1);else if(($e.props&&$e.props.to)!==(xe.props&&xe.props.to)){const On=$e.target=resolveTarget($e.props,wn);On&&moveTeleport($e,On,null,jt,0)}else Nn&&moveTeleport($e,$n,Pn,jt,1)}updateCssVars($e)},remove(xe,$e,Ie,Fe,{um:Ue,o:{remove:qe}},At){const{shapeFlag:Dt,children:Lt,anchor:jt,targetAnchor:hn,target:vn,props:bn}=xe;if(vn&&qe(hn),At&&qe(jt),Dt&16){const _n=At||!isTeleportDisabled(bn);for(let wn=0;wn0?currentBlock||EMPTY_ARR:null,closeBlock(),isBlockTreeEnabled>0&¤tBlock&¤tBlock.push(xe),xe}function createElementBlock(xe,$e,Ie,Fe,Ue,qe){return setupBlock(createBaseVNode(xe,$e,Ie,Fe,Ue,qe,!0))}function createBlock(xe,$e,Ie,Fe,Ue){return setupBlock(createVNode$1(xe,$e,Ie,Fe,Ue,!0))}function isVNode(xe){return xe?xe.__v_isVNode===!0:!1}function isSameVNodeType(xe,$e){return xe.type===$e.type&&xe.key===$e.key}function transformVNodeArgs(xe){}const normalizeKey=({key:xe})=>xe??null,normalizeRef=({ref:xe,ref_key:$e,ref_for:Ie})=>(typeof xe=="number"&&(xe=""+xe),xe!=null?isString$4(xe)||isRef(xe)||isFunction$5(xe)?{i:currentRenderingInstance,r:xe,k:$e,f:!!Ie}:xe:null);function createBaseVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=xe===Fragment?0:1,At=!1,Dt=!1){const Lt={__v_isVNode:!0,__v_skip:!0,type:xe,props:$e,key:$e&&normalizeKey($e),ref:$e&&normalizeRef($e),scopeId:currentScopeId,slotScopeIds:null,children:Ie,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetAnchor:null,staticCount:0,shapeFlag:qe,patchFlag:Fe,dynamicProps:Ue,dynamicChildren:null,appContext:null,ctx:currentRenderingInstance};return Dt?(normalizeChildren(Lt,Ie),qe&128&&xe.normalize(Lt)):Ie&&(Lt.shapeFlag|=isString$4(Ie)?8:16),isBlockTreeEnabled>0&&!At&¤tBlock&&(Lt.patchFlag>0||qe&6)&&Lt.patchFlag!==32&¤tBlock.push(Lt),Lt}const createVNode$1=_createVNode;function _createVNode(xe,$e=null,Ie=null,Fe=0,Ue=null,qe=!1){if((!xe||xe===NULL_DYNAMIC_COMPONENT)&&(xe=Comment$1),isVNode(xe)){const Dt=cloneVNode(xe,$e,!0);return Ie&&normalizeChildren(Dt,Ie),isBlockTreeEnabled>0&&!qe&¤tBlock&&(Dt.shapeFlag&6?currentBlock[currentBlock.indexOf(xe)]=Dt:currentBlock.push(Dt)),Dt.patchFlag|=-2,Dt}if(isClassComponent(xe)&&(xe=xe.__vccOpts),$e){$e=guardReactiveProps($e);let{class:Dt,style:Lt}=$e;Dt&&!isString$4(Dt)&&($e.class=normalizeClass(Dt)),isObject$8(Lt)&&(isProxy(Lt)&&!isArray$6(Lt)&&(Lt=extend$2({},Lt)),$e.style=normalizeStyle$1(Lt))}const At=isString$4(xe)?1:isSuspense(xe)?128:isTeleport(xe)?64:isObject$8(xe)?4:isFunction$5(xe)?2:0;return createBaseVNode(xe,$e,Ie,Fe,Ue,At,qe,!0)}function guardReactiveProps(xe){return xe?isProxy(xe)||isInternalObject(xe)?extend$2({},xe):xe:null}function cloneVNode(xe,$e,Ie=!1,Fe=!1){const{props:Ue,ref:qe,patchFlag:At,children:Dt,transition:Lt}=xe,jt=$e?mergeProps(Ue||{},$e):Ue,hn={__v_isVNode:!0,__v_skip:!0,type:xe.type,props:jt,key:jt&&normalizeKey(jt),ref:$e&&$e.ref?Ie&&qe?isArray$6(qe)?qe.concat(normalizeRef($e)):[qe,normalizeRef($e)]:normalizeRef($e):qe,scopeId:xe.scopeId,slotScopeIds:xe.slotScopeIds,children:Dt,target:xe.target,targetAnchor:xe.targetAnchor,staticCount:xe.staticCount,shapeFlag:xe.shapeFlag,patchFlag:$e&&xe.type!==Fragment?At===-1?16:At|16:At,dynamicProps:xe.dynamicProps,dynamicChildren:xe.dynamicChildren,appContext:xe.appContext,dirs:xe.dirs,transition:Lt,component:xe.component,suspense:xe.suspense,ssContent:xe.ssContent&&cloneVNode(xe.ssContent),ssFallback:xe.ssFallback&&cloneVNode(xe.ssFallback),el:xe.el,anchor:xe.anchor,ctx:xe.ctx,ce:xe.ce};return Lt&&Fe&&(hn.transition=Lt.clone(hn)),hn}function createTextVNode(xe=" ",$e=0){return createVNode$1(Text$2,null,xe,$e)}function createStaticVNode(xe,$e){const Ie=createVNode$1(Static,null,xe);return Ie.staticCount=$e,Ie}function createCommentVNode(xe="",$e=!1){return $e?(openBlock(),createBlock(Comment$1,null,xe)):createVNode$1(Comment$1,null,xe)}function normalizeVNode(xe){return xe==null||typeof xe=="boolean"?createVNode$1(Comment$1):isArray$6(xe)?createVNode$1(Fragment,null,xe.slice()):typeof xe=="object"?cloneIfMounted(xe):createVNode$1(Text$2,null,String(xe))}function cloneIfMounted(xe){return xe.el===null&&xe.patchFlag!==-1||xe.memo?xe:cloneVNode(xe)}function normalizeChildren(xe,$e){let Ie=0;const{shapeFlag:Fe}=xe;if($e==null)$e=null;else if(isArray$6($e))Ie=16;else if(typeof $e=="object")if(Fe&65){const Ue=$e.default;Ue&&(Ue._c&&(Ue._d=!1),normalizeChildren(xe,Ue()),Ue._c&&(Ue._d=!0));return}else{Ie=32;const Ue=$e._;!Ue&&!isInternalObject($e)?$e._ctx=currentRenderingInstance:Ue===3&¤tRenderingInstance&&(currentRenderingInstance.slots._===1?$e._=1:($e._=2,xe.patchFlag|=1024))}else isFunction$5($e)?($e={default:$e,_ctx:currentRenderingInstance},Ie=32):($e=String($e),Fe&64?(Ie=16,$e=[createTextVNode($e)]):Ie=8);xe.children=$e,xe.shapeFlag|=Ie}function mergeProps(...xe){const $e={};for(let Ie=0;IecurrentInstance||currentRenderingInstance;let internalSetCurrentInstance,setInSSRSetupState;{const xe=getGlobalThis(),$e=(Ie,Fe)=>{let Ue;return(Ue=xe[Ie])||(Ue=xe[Ie]=[]),Ue.push(Fe),qe=>{Ue.length>1?Ue.forEach(At=>At(qe)):Ue[0](qe)}};internalSetCurrentInstance=$e("__VUE_INSTANCE_SETTERS__",Ie=>currentInstance=Ie),setInSSRSetupState=$e("__VUE_SSR_SETTERS__",Ie=>isInSSRComponentSetup=Ie)}const setCurrentInstance=xe=>{const $e=currentInstance;return internalSetCurrentInstance(xe),xe.scope.on(),()=>{xe.scope.off(),internalSetCurrentInstance($e)}},unsetCurrentInstance=()=>{currentInstance&¤tInstance.scope.off(),internalSetCurrentInstance(null)};function isStatefulComponent(xe){return xe.vnode.shapeFlag&4}let isInSSRComponentSetup=!1;function setupComponent(xe,$e=!1){$e&&setInSSRSetupState($e);const{props:Ie,children:Fe}=xe.vnode,Ue=isStatefulComponent(xe);initProps$1(xe,Ie,Ue,$e),initSlots(xe,Fe);const qe=Ue?setupStatefulComponent(xe,$e):void 0;return $e&&setInSSRSetupState(!1),qe}function setupStatefulComponent(xe,$e){const Ie=xe.type;xe.accessCache=Object.create(null),xe.proxy=new Proxy(xe.ctx,PublicInstanceProxyHandlers);const{setup:Fe}=Ie;if(Fe){const Ue=xe.setupContext=Fe.length>1?createSetupContext(xe):null,qe=setCurrentInstance(xe);pauseTracking();const At=callWithErrorHandling(Fe,xe,0,[xe.props,Ue]);if(resetTracking(),qe(),isPromise(At)){if(At.then(unsetCurrentInstance,unsetCurrentInstance),$e)return At.then(Dt=>{handleSetupResult(xe,Dt,$e)}).catch(Dt=>{handleError(Dt,xe,0)});xe.asyncDep=At}else handleSetupResult(xe,At,$e)}else finishComponentSetup(xe,$e)}function handleSetupResult(xe,$e,Ie){isFunction$5($e)?xe.type.__ssrInlineRender?xe.ssrRender=$e:xe.render=$e:isObject$8($e)&&(xe.setupState=proxyRefs($e)),finishComponentSetup(xe,Ie)}let compile,installWithProxy;function registerRuntimeCompiler(xe){compile=xe,installWithProxy=$e=>{$e.render._rc&&($e.withProxy=new Proxy($e.ctx,RuntimeCompiledPublicInstanceProxyHandlers))}}const isRuntimeOnly=()=>!compile;function finishComponentSetup(xe,$e,Ie){const Fe=xe.type;if(!xe.render){if(!$e&&compile&&!Fe.render){const Ue=Fe.template||resolveMergedOptions(xe).template;if(Ue){const{isCustomElement:qe,compilerOptions:At}=xe.appContext.config,{delimiters:Dt,compilerOptions:Lt}=Fe,jt=extend$2(extend$2({isCustomElement:qe,delimiters:Dt},At),Lt);Fe.render=compile(Ue,jt)}}xe.render=Fe.render||NOOP,installWithProxy&&installWithProxy(xe)}{const Ue=setCurrentInstance(xe);pauseTracking();try{applyOptions(xe)}finally{resetTracking(),Ue()}}}const attrsProxyHandlers={get(xe,$e){return track(xe,"get",""),xe[$e]}};function createSetupContext(xe){const $e=Ie=>{xe.exposed=Ie||{}};return{attrs:new Proxy(xe.attrs,attrsProxyHandlers),slots:xe.slots,emit:xe.emit,expose:$e}}function getExposeProxy(xe){if(xe.exposed)return xe.exposeProxy||(xe.exposeProxy=new Proxy(proxyRefs(markRaw(xe.exposed)),{get($e,Ie){if(Ie in $e)return $e[Ie];if(Ie in publicPropertiesMap)return publicPropertiesMap[Ie](xe)},has($e,Ie){return Ie in $e||Ie in publicPropertiesMap}}))}const classifyRE=/(?:^|[-_])(\w)/g,classify=xe=>xe.replace(classifyRE,$e=>$e.toUpperCase()).replace(/[-_]/g,"");function getComponentName(xe,$e=!0){return isFunction$5(xe)?xe.displayName||xe.name:xe.name||$e&&xe.__name}function formatComponentName(xe,$e,Ie=!1){let Fe=getComponentName($e);if(!Fe&&$e.__file){const Ue=$e.__file.match(/([^/\\]+)\.\w+$/);Ue&&(Fe=Ue[1])}if(!Fe&&xe&&xe.parent){const Ue=qe=>{for(const At in qe)if(qe[At]===$e)return At};Fe=Ue(xe.components||xe.parent.type.components)||Ue(xe.appContext.components)}return Fe?classify(Fe):Ie?"App":"Anonymous"}function isClassComponent(xe){return isFunction$5(xe)&&"__vccOpts"in xe}const computed=(xe,$e)=>computed$1(xe,$e,isInSSRComponentSetup);function useModel(xe,$e,Ie=EMPTY_OBJ$1){const Fe=getCurrentInstance(),Ue=camelize($e),qe=hyphenate($e),At=customRef((Lt,jt)=>{let hn;return watchSyncEffect(()=>{const vn=xe[$e];hasChanged(hn,vn)&&(hn=vn,jt())}),{get(){return Lt(),Ie.get?Ie.get(hn):hn},set(vn){const bn=Fe.vnode.props;!(bn&&($e in bn||Ue in bn||qe in bn)&&(`onUpdate:${$e}`in bn||`onUpdate:${Ue}`in bn||`onUpdate:${qe}`in bn))&&hasChanged(vn,hn)&&(hn=vn,jt()),Fe.emit(`update:${$e}`,Ie.set?Ie.set(vn):vn)}}}),Dt=$e==="modelValue"?"modelModifiers":`${$e}Modifiers`;return At[Symbol.iterator]=()=>{let Lt=0;return{next(){return Lt<2?{value:Lt++?xe[Dt]||{}:At,done:!1}:{done:!0}}}},At}function h$5(xe,$e,Ie){const Fe=arguments.length;return Fe===2?isObject$8($e)&&!isArray$6($e)?isVNode($e)?createVNode$1(xe,null,[$e]):createVNode$1(xe,$e):createVNode$1(xe,null,$e):(Fe>3?Ie=Array.prototype.slice.call(arguments,2):Fe===3&&isVNode(Ie)&&(Ie=[Ie]),createVNode$1(xe,$e,Ie))}function initCustomFormatter(){}function withMemo(xe,$e,Ie,Fe){const Ue=Ie[Fe];if(Ue&&isMemoSame(Ue,xe))return Ue;const qe=$e();return qe.memo=xe.slice(),Ie[Fe]=qe}function isMemoSame(xe,$e){const Ie=xe.memo;if(Ie.length!=$e.length)return!1;for(let Fe=0;Fe0&¤tBlock&¤tBlock.push(xe),!0}const version$1="3.4.27",warn$2=NOOP,ErrorTypeStrings=ErrorTypeStrings$1,devtools=devtools$1,setDevtoolsHook=setDevtoolsHook$1,_ssrUtils={createComponentInstance,setupComponent,renderComponentRoot,setCurrentRenderingInstance,isVNode,normalizeVNode},ssrUtils=_ssrUtils,resolveFilter=null,compatUtils=null,DeprecationTypes=null;/**
* @vue/runtime-dom v3.4.27
* (c) 2018-present Yuxi (Evan) You and Vue contributors
* @license MIT
@@ -38,7 +38,7 @@ https://fantastic-admin.github.io`)}/**
* https://github.com/KingSora
*
* Released under the MIT license.
- */const createCache=(xe,$e)=>{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(``)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,Yn=Jn&&Lt&&is(Bn,Lt),ar=(Yn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!Yn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(``)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=qn=>getStyles(qn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const qn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&qn&&qn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(qn,ar){const[tr]=qn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=qn=>{const ar=Mn(kn);assignDeep(qn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(qn,ar)=>{const[tr,or]=qn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:qn,dt:ar})=>{const or=!(qn&&!ar)&&On.R?Ln:Fe,sr={ft:qn||ar,dt:ar};Dn(sr),or(sr)},zn=(qn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(qn?Fe:Ln)(or),or},jn=(qn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(qn=>{const ar=qn[qn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),Yn=debounce$1(()=>{const[,qn]=Bn();Fe({Ht:qn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const qn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):Yn()});return()=>{Jn&&Jn.disconnect(),qn&&qn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:qn,At:ar,Tt:tr})=>{const or={},[sr]=qn("update.ignoreMutation"),[Kn,Zn]=qn("update.attributes"),[nr,lr]=qn("update.elementEvents"),[ir,kr]=qn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,gr)=>{const{target:xr,attributeName:Rr}=Pr;return(!gr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const Yn=rr?"x":"y",{Rt:qn,Vt:ar}=Ie,tr=ar[Yn],or=qn[Yn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,Yn)=>{const qn=Tn(Yn,rr);return 1/qn*(1-qn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,Yn)=>{(rr?inArray(createOrKeepArray(rr),Yn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(Yn))})},Nn=(rr,Jn,Yn,qn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,Yn,{composite:qn}):Cn.set(rr,concat(ar,[rr.animate(Yn,{timeline:Jn,composite:qn})]))},Mn=(rr,Jn,Yn)=>{const qn=Yn?addClass$1:removeClass$1;each$g(rr,ar=>{qn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,Yn=>{const[qn,ar]=Jn(Yn);setStyles(qn,ar)})},On=(rr,Jn)=>{In(rr,Yn=>{const{Mt:qn}=Yn;return[qn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:Yn}=Ie,qn=Jn?"x":"y",ar=xn[qn],tr=isDefaultDirectionScrollCoordinates(Yn)[qn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(Yn,getElementScroll(vn))[qn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,Yn)=>{const qn=isBoolean$2(Yn),ar=qn?Yn:!0,tr=qn?!Yn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,Yn=isDefaultDirectionScrollCoordinates(Jn),qn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,Yn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-qn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,Yn.x),y:Zn(ar.y,rr.y,Yn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const Yn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),qn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:Yn,kt:qn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(Yn,qn),appendChildren(qn,ar),bind$3(removeElements,Yn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const qn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(gr,xr)=>(gr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=gr=>{runEachAndClear(Pr),Gn.releasePointerCapture(gr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const gr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-gr.x,y:xr.y-gr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,gr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",gr=>preventDefault$1(gr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",gr=>{const xr=gr[Vn]-Zn;(jn||qn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),qn)Kn(Er);else if(!jn){const gr=getStaticPluginModuleInstance(kt);gr&&push$1(Pr,gr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:Yn}=Xn||{},{Ct:qn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[gr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||Yn||qn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,gr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:Yn,ot:qn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,qn,Yn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||qn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(qn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(Yn,tt$1,""),setAttrs(qn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(qn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,Yn),appendChildren(Yn||Jn,!Rn&&qn),appendChildren(qn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(qn),gr=Pr&&_r===qn?rr:_r,xr=Cr(gr);removeAttrs(Yn,tt$1),removeAttrs(ar,nt$1),removeAttrs(qn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(qn,Er,dr):removeAttrs(qn,Er),Wn(ar)&&kr(ar),Pr&&kr(qn),Wn(Yn)&&kr(Yn),focusElement(gr),xr()}]),Fe&&!Rn&&(addAttrClass(qn,X$2,G$1),push$1(tr,bind$3(removeAttrs,qn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?qn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,Yn=>{const qn=getElementScroll(Lt);Yn.isTrusted&&qn.x===jn.x&&qn.y===jn.y&&stopPropagation(Yn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:Yn,dt:qn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||Yn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[vo]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+vo.w),h:wn(_o.h+vo.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+vo.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+vo.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[gr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||Yn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=Yn||qn||Vr||cr||Xn,[qr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:gr.w,y:gr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(qr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"3.5.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-07-07 22:40:25"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++FeDt))return!1;var jt=qe.get(xe),hn=qe.get($e);if(jt&&hn)return jt==$e&&hn==xe;var vn=-1,bn=!0,_n=Ie&COMPARE_UNORDERED_FLAG$3?new SetCache:void 0;for(qe.set(xe,$e),qe.set($e,xe);++vn=$e||Pn<0||vn&&Nn>=qe}function Sn(){var $n=now();if(Cn($n))return xn($n);Dt=setTimeout(Sn,kn($n))}function xn($n){return Dt=void 0,bn&&Fe?_n($n):(Fe=Ue=void 0,At)}function En(){Dt!==void 0&&clearTimeout(Dt),jt=0,Fe=Lt=Ue=Dt=void 0}function Tn(){return Dt===void 0?At:xn(now())}function An(){var $n=now(),Pn=Cn($n);if(Fe=arguments,Ue=this,Lt=$n,Pn){if(Dt===void 0)return wn(Lt);if(vn)return clearTimeout(Dt),Dt=setTimeout(Sn,$e),_n(Lt)}return Dt===void 0&&(Dt=setTimeout(Sn,$e)),At}return An.cancel=En,An.flush=Tn,An}function assignMergeValue(xe,$e,Ie){(Ie!==void 0&&!eq(xe[$e],Ie)||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function isArrayLikeObject(xe){return isObjectLike(xe)&&isArrayLike$1(xe)}function safeGet(xe,$e){if(!($e==="constructor"&&typeof xe[$e]=="function")&&$e!="__proto__")return xe[$e]}function toPlainObject(xe){return copyObject(xe,keysIn(xe))}function baseMergeDeep(xe,$e,Ie,Fe,Ue,qe,At){var Dt=safeGet(xe,Ie),Lt=safeGet($e,Ie),jt=At.get(Lt);if(jt){assignMergeValue(xe,Ie,jt);return}var hn=qe?qe(Dt,Lt,Ie+"",xe,$e,At):void 0,vn=hn===void 0;if(vn){var bn=isArray$4(Lt),_n=!bn&&isBuffer$1(Lt),wn=!bn&&!_n&&isTypedArray$2(Lt);hn=Lt,bn||_n||wn?isArray$4(Dt)?hn=Dt:isArrayLikeObject(Dt)?hn=copyArray(Dt):_n?(vn=!1,hn=cloneBuffer(Lt,!0)):wn?(vn=!1,hn=cloneTypedArray(Lt,!0)):hn=[]:isPlainObject$2(Lt)||isArguments(Lt)?(hn=Dt,isArguments(Dt)?hn=toPlainObject(Dt):(!isObject$6(Dt)||isFunction$3(Dt))&&(hn=initCloneObject(Lt))):vn=!1}vn&&(At.set(Lt,hn),Ue(hn,Lt,Fe,qe,At),At.delete(Lt)),assignMergeValue(xe,Ie,hn)}function baseMerge(xe,$e,Ie,Fe,Ue){xe!==$e&&baseFor($e,function(qe,At){if(Ue||(Ue=new Stack),isObject$6(qe))baseMergeDeep(xe,$e,At,Ie,baseMerge,Fe,Ue);else{var Dt=Fe?Fe(safeGet(xe,At),qe,At+"",xe,$e,Ue):void 0;Dt===void 0&&(Dt=qe),assignMergeValue(xe,At,Dt)}},keysIn)}function customDefaultsMerge(xe,$e,Ie,Fe,Ue,qe){return isObject$6(xe)&&isObject$6($e)&&(qe.set($e,xe),baseMerge(xe,$e,void 0,customDefaultsMerge,qe),qe.delete($e)),xe}var mergeWith=createAssigner(function(xe,$e,Ie,Fe){baseMerge(xe,$e,Ie,Fe)}),defaultsDeep=baseRest(function(xe){return xe.push(void 0,customDefaultsMerge),apply(mergeWith,void 0,xe)});function last(xe){var $e=xe==null?0:xe.length;return $e?xe[$e-1]:void 0}function findLastIndex(xe,$e,Ie){var Fe=xe==null?0:xe.length;if(!Fe)return-1;var Ue=Fe-1;return baseFindIndex(xe,baseIteratee($e),Ue,!0)}function baseMap(xe,$e){var Ie=-1,Fe=isArrayLike$1(xe)?Array(xe.length):[];return baseEach(xe,function(Ue,qe,At){Fe[++Ie]=$e(Ue,qe,At)}),Fe}function map$2(xe,$e){var Ie=isArray$4(xe)?arrayMap:baseMap;return Ie(xe,baseIteratee($e))}function flatMap(xe,$e){return baseFlatten(map$2(xe,$e),1)}var INFINITY$1=1/0;function flattenDeep(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,INFINITY$1):[]}function fromPairs(xe){for(var $e=-1,Ie=xe==null?0:xe.length,Fe={};++$e1),qe}),copyObject(xe,getAllKeysIn(xe),Ie),Fe&&(Ie=baseClone(Ie,CLONE_DEEP_FLAG|CLONE_FLAT_FLAG|CLONE_SYMBOLS_FLAG,customOmitClone));for(var Ue=$e.length;Ue--;)baseUnset(Ie,$e[Ue]);return Ie});function baseSet(xe,$e,Ie,Fe){if(!isObject$6(xe))return xe;$e=castPath($e,xe);for(var Ue=-1,qe=$e.length,At=qe-1,Dt=xe;Dt!=null&&++Ue=LARGE_ARRAY_SIZE){var jt=createSet(xe);if(jt)return setToArray(jt);At=!1,Ue=cacheHas,Lt=new SetCache}else Lt=Dt;e:for(;++Fe{const{o:Ie,i:Fe,u:Ue}=xe;let qe=Ie,At;const Dt=(hn,vn)=>{const bn=qe,_n=hn,wn=vn||(Fe?!Fe(bn,_n):bn!==_n);return(wn||Ue)&&(qe=_n,At=bn),[qe,wn,At]};return[$e?hn=>Dt($e(qe,At),hn):Dt,hn=>[qe,!!hn,At]]},t=typeof window<"u"&&typeof document<"u",n=t?window:{},o$1=Math.max,s$1=Math.min,e$1=Math.round,c$1=Math.abs,r=Math.sign,l$1=n.cancelAnimationFrame,i$1=n.requestAnimationFrame,a$1=n.setTimeout,u$1=n.clearTimeout,getApi=xe=>typeof n[xe]<"u"?n[xe]:void 0,_$1=getApi("MutationObserver"),d$1=getApi("IntersectionObserver"),f$1=getApi("ResizeObserver"),p$1=getApi("ScrollTimeline"),v$1=t&&Node.ELEMENT_NODE,{toString:h$1,hasOwnProperty:g$1}=Object.prototype,isUndefined$3=xe=>xe===void 0,isNull=xe=>xe===null,isNumber$3=xe=>typeof xe=="number",isString$3=xe=>typeof xe=="string",isBoolean$2=xe=>typeof xe=="boolean",isFunction$4=xe=>typeof xe=="function",isArray$5=xe=>Array.isArray(xe),isObject$7=xe=>typeof xe=="object"&&!isArray$5(xe)&&!isNull(xe),isArrayLike$2=xe=>{const $e=!!xe&&xe.length,Ie=isNumber$3($e)&&$e>-1&&$e%1==0;return isArray$5(xe)||!isFunction$4(xe)&&Ie?$e>0&&isObject$7(xe)?$e-1 in xe:!0:!1},isPlainObject$3=xe=>{if(!xe||!isObject$7(xe))return!1;let $e;const Ie="constructor",Fe=xe[Ie],Ue=Fe&&Fe.prototype,qe=g$1.call(xe,Ie),At=Ue&&g$1.call(Ue,"isPrototypeOf");if(Fe&&!qe&&!At)return!1;for($e in xe);return isUndefined$3($e)||g$1.call(xe,$e)},isHTMLElement$1=xe=>{const $e=HTMLElement;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1},isElement$2=xe=>{const $e=Element;return xe?$e?xe instanceof $e:xe.nodeType===v$1:!1};function each$g(xe,$e){if(isArrayLike$2(xe))for(let Ie=0;Ie$e(xe[Ie],Ie,xe));return xe}const inArray=(xe,$e)=>xe.indexOf($e)>=0,concat=(xe,$e)=>xe.concat($e),push$1=(xe,$e,Ie)=>(!isString$3($e)&&isArrayLike$2($e)?Array.prototype.push.apply(xe,$e):xe.push($e),xe),from=xe=>Array.from(xe||[]),createOrKeepArray=xe=>isArray$5(xe)?xe:[xe],isEmptyArray=xe=>!!xe&&!xe.length,deduplicateArray=xe=>from(new Set(xe)),runEachAndClear=(xe,$e,Ie)=>{each$g(xe,Ue=>Ue&&Ue.apply(void 0,$e||[])),!Ie&&(xe.length=0)},b$1="paddingTop",w$1="paddingRight",y="paddingLeft",m$2="paddingBottom",S$1="marginLeft",O$1="marginRight",$="marginBottom",C$1="overflowX",x$2="overflowY",H$1="width",E$2="height",z="visible",I$2="hidden",A$1="scroll",capitalizeFirstLetter=xe=>{const $e=String(xe||"");return $e?$e[0].toUpperCase()+$e.slice(1):""},equal=(xe,$e,Ie,Fe)=>{if(xe&&$e){let Ue=!0;return each$g(Ie,qe=>{const At=xe[qe],Dt=$e[qe];At!==Dt&&(Ue=!1)}),Ue}return!1},equalWH=(xe,$e)=>equal(xe,$e,["w","h"]),equalXY=(xe,$e)=>equal(xe,$e,["x","y"]),equalTRBL=(xe,$e)=>equal(xe,$e,["t","r","b","l"]),noop$7=()=>{},bind$3=(xe,...$e)=>xe.bind(0,...$e),selfClearTimeout=xe=>{let $e;const Ie=xe?a$1:i$1,Fe=xe?u$1:l$1;return[Ue=>{Fe($e),$e=Ie(()=>Ue(),isFunction$4(xe)?xe():xe)},()=>Fe($e)]},debounce$1=(xe,$e)=>{const{_:Ie,p:Fe,v:Ue,m:qe}=$e||{};let At,Dt,Lt,jt,hn=noop$7;const vn=function(Cn){hn(),u$1(At),jt=At=Dt=void 0,hn=noop$7,xe.apply(this,Cn)},bn=kn=>qe&&Dt?qe(Dt,kn):kn,_n=()=>{hn!==noop$7&&vn(bn(Lt)||Lt)},wn=function(){const Cn=from(arguments),Sn=isFunction$4(Ie)?Ie():Ie;if(isNumber$3(Sn)&&Sn>=0){const En=isFunction$4(Fe)?Fe():Fe,Tn=isNumber$3(En)&&En>=0,An=Sn>0?a$1:i$1,$n=Sn>0?u$1:l$1,Nn=bn(Cn)||Cn,Mn=vn.bind(0,Nn);let In;hn(),Ue&&!jt?(Mn(),jt=!0,In=An(()=>jt=void 0,Sn)):(In=An(Mn,Sn),Tn&&!At&&(At=a$1(_n,En))),hn=()=>$n(In),Dt=Lt=Nn}else vn(Cn)};return wn.S=_n,wn},hasOwnProperty$e=(xe,$e)=>Object.prototype.hasOwnProperty.call(xe,$e),keys$2=xe=>xe?Object.keys(xe):[],assignDeep=(xe,$e,Ie,Fe,Ue,qe,At)=>{const Dt=[$e,Ie,Fe,Ue,qe,At];return(typeof xe!="object"||isNull(xe))&&!isFunction$4(xe)&&(xe={}),each$g(Dt,Lt=>{each$g(Lt,(jt,hn)=>{const vn=Lt[hn];if(xe===vn)return!0;const bn=isArray$5(vn);if(vn&&isPlainObject$3(vn)){const _n=xe[hn];let wn=_n;bn&&!isArray$5(_n)?wn=[]:!bn&&!isPlainObject$3(_n)&&(wn={}),xe[hn]=assignDeep(wn,vn)}else xe[hn]=bn?vn.slice():vn})}),xe},removeUndefinedProperties=(xe,$e)=>each$g(assignDeep({},xe),(Ie,Fe,Ue)=>{Ie===void 0?delete Ue[Fe]:Ie&&isPlainObject$3(Ie)&&(Ue[Fe]=removeUndefinedProperties(Ie))}),isEmptyObject=xe=>{for(const $e in xe)return!1;return!0},capNumber=(xe,$e,Ie)=>o$1(xe,s$1($e,Ie)),getDomTokensArray=xe=>from(new Set((isArray$5(xe)?xe:(xe||"").split(" ")).filter($e=>$e))),getAttr=(xe,$e)=>xe&&xe.getAttribute($e),hasAttr=(xe,$e)=>xe&&xe.hasAttribute($e),setAttrs=(xe,$e,Ie)=>{each$g(getDomTokensArray($e),Fe=>{xe&&xe.setAttribute(Fe,String(Ie||""))})},removeAttrs=(xe,$e)=>{each$g(getDomTokensArray($e),Ie=>xe&&xe.removeAttribute(Ie))},domTokenListAttr=(xe,$e)=>{const Ie=getDomTokensArray(getAttr(xe,$e)),Fe=bind$3(setAttrs,xe,$e),Ue=(qe,At)=>{const Dt=new Set(Ie);return each$g(getDomTokensArray(qe),Lt=>{Dt[At](Lt)}),from(Dt).join(" ")};return{O:qe=>Fe(Ue(qe,"delete")),$:qe=>Fe(Ue(qe,"add")),C:qe=>{const At=getDomTokensArray(qe);return At.reduce((Dt,Lt)=>Dt&&Ie.includes(Lt),At.length>0)}}},removeAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).O(Ie),bind$3(addAttrClass,xe,$e,Ie)),addAttrClass=(xe,$e,Ie)=>(domTokenListAttr(xe,$e).$(Ie),bind$3(removeAttrClass,xe,$e,Ie)),addRemoveAttrClass=(xe,$e,Ie,Fe)=>(Fe?addAttrClass:removeAttrClass)(xe,$e,Ie),hasAttrClass=(xe,$e,Ie)=>domTokenListAttr(xe,$e).C(Ie),createDomTokenListClass=xe=>domTokenListAttr(xe,"class"),removeClass$1=(xe,$e)=>{createDomTokenListClass(xe).O($e)},addClass$1=(xe,$e)=>(createDomTokenListClass(xe).$($e),bind$3(removeClass$1,xe,$e)),find$1=(xe,$e)=>{const Ie=[],Fe=$e?isElement$2($e)&&$e:document;return Fe?push$1(Ie,Fe.querySelectorAll(xe)):Ie},findFirst=(xe,$e)=>{const Ie=$e?isElement$2($e)&&$e:document;return Ie?Ie.querySelector(xe):null},is=(xe,$e)=>isElement$2(xe)?xe.matches($e):!1,isBodyElement=xe=>is(xe,"body"),contents=xe=>xe?from(xe.childNodes):[],parent$2=xe=>xe&&xe.parentElement,closest=(xe,$e)=>isElement$2(xe)&&xe.closest($e),getFocusedElement=xe=>document.activeElement,liesBetween=(xe,$e,Ie)=>{const Fe=closest(xe,$e),Ue=xe&&findFirst(Ie,Fe),qe=closest(Ue,$e)===Fe;return Fe&&Ue?Fe===xe||Ue===xe||qe&&closest(closest(xe,Ie),$e)!==Fe:!1},removeElements=xe=>{if(isArrayLike$2(xe))each$g(from(xe),$e=>removeElements($e));else if(xe){const $e=parent$2(xe);$e&&$e.removeChild(xe)}},before=(xe,$e,Ie)=>{if(Ie&&xe){let Fe=$e,Ue;return isArrayLike$2(Ie)?(Ue=document.createDocumentFragment(),each$g(Ie,qe=>{qe===Fe&&(Fe=qe.previousSibling),Ue.appendChild(qe)})):Ue=Ie,$e&&(Fe?Fe!==$e&&(Fe=Fe.nextSibling):Fe=xe.firstChild),xe.insertBefore(Ue,Fe||null),()=>removeElements(Ie)}return noop$7},appendChildren=(xe,$e)=>before(xe,null,$e),insertAfter=(xe,$e)=>before(parent$2(xe),xe&&xe.nextSibling,$e),createDiv=xe=>{const $e=document.createElement("div");return setAttrs($e,"class",xe),$e},createDOM=xe=>{const $e=createDiv();return $e.innerHTML=xe.trim(),each$g(contents($e),Ie=>removeElements(Ie))},T$1=/^--/,getCSSVal=(xe,$e)=>xe.getPropertyValue($e)||xe[$e]||"",validFiniteNumber=xe=>{const $e=xe||0;return isFinite($e)?$e:0},parseToZeroOrNumber=xe=>validFiniteNumber(parseFloat(xe||"")),ratioToCssPercent=xe=>`${(validFiniteNumber(xe)*100).toFixed(3)}%`,numberToCssPx=xe=>`${validFiniteNumber(xe)}px`;function setStyles(xe,$e){xe&&$e&&each$g($e,(Ie,Fe)=>{try{const Ue=xe.style,qe=isNumber$3(Ie)?numberToCssPx(Ie):(Ie||"")+"";T$1.test(Fe)?Ue.setProperty(Fe,qe):Ue[Fe]=qe}catch{}})}function getStyles(xe,$e,Ie){const Fe=isString$3($e);let Ue=Fe?"":{};if(xe){const qe=n.getComputedStyle(xe,Ie)||xe.style;Ue=Fe?getCSSVal(qe,$e):from($e).reduce((At,Dt)=>(At[Dt]=getCSSVal(qe,Dt),At),Ue)}return Ue}const topRightBottomLeft=(xe,$e,Ie)=>{const Fe=$e?`${$e}-`:"",Ue=Ie?`-${Ie}`:"",qe=`${Fe}top${Ue}`,At=`${Fe}right${Ue}`,Dt=`${Fe}bottom${Ue}`,Lt=`${Fe}left${Ue}`,jt=getStyles(xe,[qe,At,Dt,Lt]);return{t:parseToZeroOrNumber(jt[qe]),r:parseToZeroOrNumber(jt[At]),b:parseToZeroOrNumber(jt[Dt]),l:parseToZeroOrNumber(jt[Lt])}},getTrasformTranslateValue=(xe,$e)=>`translate${isObject$7(xe)?`(${xe.x},${xe.y})`:`${$e?"X":"Y"}(${xe})`}`,elementHasDimensions=xe=>!!(xe.offsetWidth||xe.offsetHeight||xe.getClientRects().length),D$1={w:0,h:0},getElmWidthHeightProperty=(xe,$e)=>$e?{w:$e[`${xe}Width`],h:$e[`${xe}Height`]}:D$1,getWindowSize=xe=>getElmWidthHeightProperty("inner",xe||n),k$1=bind$3(getElmWidthHeightProperty,"offset"),M$1=bind$3(getElmWidthHeightProperty,"client"),R$1=bind$3(getElmWidthHeightProperty,"scroll"),getFractionalSize=xe=>{const $e=parseFloat(getStyles(xe,H$1))||0,Ie=parseFloat(getStyles(xe,E$2))||0;return{w:$e-e$1($e),h:Ie-e$1(Ie)}},getBoundingClientRect$1=xe=>xe.getBoundingClientRect(),hasDimensions=xe=>!!xe&&elementHasDimensions(xe),domRectHasDimensions=xe=>!!(xe&&(xe[E$2]||xe[H$1])),domRectAppeared=(xe,$e)=>{const Ie=domRectHasDimensions(xe);return!domRectHasDimensions($e)&&Ie},removeEventListener$1=(xe,$e,Ie,Fe)=>{each$g(getDomTokensArray($e),Ue=>{xe&&xe.removeEventListener(Ue,Ie,Fe)})},addEventListener$1=(xe,$e,Ie,Fe)=>{var Ue;const qe=(Ue=Fe&&Fe.H)!=null?Ue:!0,At=Fe&&Fe.I||!1,Dt=Fe&&Fe.A||!1,Lt={passive:qe,capture:At};return bind$3(runEachAndClear,getDomTokensArray($e).map(jt=>{const hn=Dt?vn=>{removeEventListener$1(xe,jt,hn,At),Ie&&Ie(vn)}:Ie;return xe&&xe.addEventListener(jt,hn,Lt),bind$3(removeEventListener$1,xe,jt,hn,At)}))},stopPropagation=xe=>xe.stopPropagation(),preventDefault$1=xe=>xe.preventDefault(),stopAndPrevent=xe=>stopPropagation(xe)||preventDefault$1(xe),scrollElementTo=(xe,$e)=>{const{x:Ie,y:Fe}=isNumber$3($e)?{x:$e,y:$e}:$e||{};isNumber$3(Ie)&&(xe.scrollLeft=Ie),isNumber$3(Fe)&&(xe.scrollTop=Fe)},getElementScroll=xe=>({x:xe.scrollLeft,y:xe.scrollTop}),getZeroScrollCoordinates=()=>({T:{x:0,y:0},D:{x:0,y:0}}),sanitizeScrollCoordinates=(xe,$e)=>{const{T:Ie,D:Fe}=xe,{w:Ue,h:qe}=$e,At=(vn,bn,_n)=>{let wn=r(vn)*_n,kn=r(bn)*_n;if(wn===kn){const Cn=c$1(vn),Sn=c$1(bn);kn=Cn>Sn?0:kn,wn=Cn{const Ie=(Fe,Ue)=>Fe===0&&Fe<=Ue;return{x:Ie(xe.x,$e.x),y:Ie(xe.y,$e.y)}},getScrollCoordinatesPercent=({T:xe,D:$e},Ie)=>{const Fe=(Ue,qe,At)=>capNumber(0,1,(Ue-At)/(Ue-qe)||0);return{x:Fe(xe.x,$e.x,Ie.x),y:Fe(xe.y,$e.y,Ie.y)}},focusElement=xe=>{xe&&xe.focus&&xe.focus({preventScroll:!0})},manageListener=(xe,$e)=>{each$g(createOrKeepArray($e),xe)},createEventListenerHub=xe=>{const $e=new Map,Ie=(qe,At)=>{if(qe){const Dt=$e.get(qe);manageListener(Lt=>{Dt&&Dt[Lt?"delete":"clear"](Lt)},At)}else $e.forEach(Dt=>{Dt.clear()}),$e.clear()},Fe=(qe,At)=>{if(isString$3(qe)){const jt=$e.get(qe)||new Set;return $e.set(qe,jt),manageListener(hn=>{isFunction$4(hn)&&jt.add(hn)},At),bind$3(Ie,qe,At)}isBoolean$2(At)&&At&&Ie();const Dt=keys$2(qe),Lt=[];return each$g(Dt,jt=>{const hn=qe[jt];hn&&push$1(Lt,Fe(jt,hn))}),bind$3(runEachAndClear,Lt)},Ue=(qe,At)=>{each$g(from($e.get(qe)),Dt=>{At&&!isEmptyArray(At)?Dt.apply(0,At):Dt()})};return Fe(xe||{}),[Fe,Ie,Ue]},opsStringify=xe=>JSON.stringify(xe,($e,Ie)=>{if(isFunction$4(Ie))throw 0;return Ie}),getPropByPath=(xe,$e)=>xe?`${$e}`.split(".").reduce((Ie,Fe)=>Ie&&hasOwnProperty$e(Ie,Fe)?Ie[Fe]:void 0,xe):void 0,V={paddingAbsolute:!1,showNativeOverlaidScrollbars:!1,update:{elementEvents:[["img","load"]],debounce:[0,33],attributes:null,ignoreMutation:null},overflow:{x:"scroll",y:"scroll"},scrollbars:{theme:"os-theme-dark",visibility:"auto",autoHide:"never",autoHideDelay:1300,autoHideSuspend:!1,dragScroll:!0,clickScroll:!1,pointers:["mouse","touch","pen"]}},getOptionsDiff=(xe,$e)=>{const Ie={},Fe=concat(keys$2($e),keys$2(xe));return each$g(Fe,Ue=>{const qe=xe[Ue],At=$e[Ue];if(isObject$7(qe)&&isObject$7(At))assignDeep(Ie[Ue]={},getOptionsDiff(qe,At)),isEmptyObject(Ie[Ue])&&delete Ie[Ue];else if(hasOwnProperty$e($e,Ue)&&At!==qe){let Dt=!0;if(isArray$5(qe)||isArray$5(At))try{opsStringify(qe)===opsStringify(At)&&(Dt=!1)}catch{}Dt&&(Ie[Ue]=At)}}),Ie},createOptionCheck=(xe,$e,Ie)=>Fe=>[getPropByPath(xe,Fe),Ie||getPropByPath($e,Fe)!==void 0],L="data-overlayscrollbars",P$3="os-environment",U$2=`${P$3}-scrollbar-hidden`,N$2=`${L}-initialize`,q$1="noClipping",B$1=`${L}-body`,F$1=L,j="host",X$2=`${L}-viewport`,Y$1=C$1,W$1=x$2,J$1="arrange",K$1="measuring",G$1="scrollbarHidden",Q$1="scrollbarPressed",Z$1="noContent",tt$1=`${L}-padding`,nt$1=`${L}-content`,ot$1="os-size-observer",st$1=`${ot$1}-appear`,et$1=`${ot$1}-listener`,it$1="os-trinsic-observer",at$1="os-theme-none",ut$1="os-scrollbar",_t$1=`${ut$1}-rtl`,dt$1=`${ut$1}-horizontal`,ft$1=`${ut$1}-vertical`,pt$1=`${ut$1}-track`,vt$1=`${ut$1}-handle`,ht$1=`${ut$1}-visible`,gt$1=`${ut$1}-cornerless`,bt$1=`${ut$1}-interaction`,wt$1=`${ut$1}-unusable`,yt$1=`${ut$1}-auto-hide`,mt$1=`${yt$1}-hidden`,St$1=`${ut$1}-wheel`,Ot$1=`${pt$1}-interactive`,$t$1=`${vt$1}-interactive`;let Ct$1;const createEnvironment=()=>{const xe=(xn,En,Tn)=>{appendChildren(document.body,xn),appendChildren(document.body,xn);const An=M$1(xn),$n=k$1(xn),Pn=getFractionalSize(En);return Tn&&removeElements(xn),{x:$n.h-An.h+Pn.h,y:$n.w-An.w+Pn.w}},$e=xn=>{let En=!1;const Tn=addClass$1(xn,U$2);try{En=getStyles(xn,"scrollbar-width")==="none"||getStyles(xn,"display","::-webkit-scrollbar")==="none"}catch{}return Tn(),En},Ie=`.${P$3}{scroll-behavior:auto!important;position:fixed;opacity:0;visibility:hidden;overflow:scroll;height:200px;width:200px;z-index:-1}.${P$3} div{width:200%;height:200%;margin:10px 0}.${U$2}{scrollbar-width:none!important}.${U$2}::-webkit-scrollbar,.${U$2}::-webkit-scrollbar-corner{appearance:none!important;display:none!important;width:0!important;height:0!important}`,Ue=createDOM(``)[0],qe=Ue.firstChild,[At,,Dt]=createEventListenerHub(),[Lt,jt]=createCache({o:xe(Ue,qe),i:equalXY},bind$3(xe,Ue,qe,!0)),[hn]=jt(),vn=$e(Ue),bn={x:hn.x===0,y:hn.y===0},_n={elements:{host:null,padding:!vn,viewport:xn=>vn&&isBodyElement(xn)&&xn,content:!1},scrollbars:{slot:!0},cancel:{nativeScrollbarsOverlaid:!1,body:null}},wn=assignDeep({},V),kn=bind$3(assignDeep,{},wn),Cn=bind$3(assignDeep,{},_n),Sn={k:hn,M:bn,R:vn,V:!!p$1,L:bind$3(At,"r"),P:Cn,U:xn=>assignDeep(_n,xn)&&Cn(),N:kn,q:xn=>assignDeep(wn,xn)&&kn(),B:assignDeep({},_n),F:assignDeep({},wn)};if(removeAttrs(Ue,"style"),removeElements(Ue),addEventListener$1(n,"resize",()=>{Dt("r",[])}),isFunction$4(n.matchMedia)&&!vn&&(!bn.x||!bn.y)){const xn=En=>{const Tn=n.matchMedia(`(resolution: ${n.devicePixelRatio}dppx)`);addEventListener$1(Tn,"change",()=>{En(),xn(En)},{A:!0})};xn(()=>{const[En,Tn]=Lt();assignDeep(Sn.k,En),Dt("r",[Tn])})}return Sn},getEnvironment=()=>(Ct$1||(Ct$1=createEnvironment()),Ct$1),resolveInitialization=(xe,$e)=>isFunction$4($e)?$e.apply(0,xe):$e,staticInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe;return resolveInitialization(xe,Ue)||$e.apply(0,xe)},dynamicInitializationElement=(xe,$e,Ie,Fe)=>{const Ue=isUndefined$3(Fe)?Ie:Fe,qe=resolveInitialization(xe,Ue);return!!qe&&(isHTMLElement$1(qe)?qe:$e.apply(0,xe))},cancelInitialization=(xe,$e)=>{const{nativeScrollbarsOverlaid:Ie,body:Fe}=$e||{},{M:Ue,R:qe,P:At}=getEnvironment(),{nativeScrollbarsOverlaid:Dt,body:Lt}=At().cancel,jt=Ie??Dt,hn=isUndefined$3(Fe)?Lt:Fe,vn=(Ue.x||Ue.y)&&jt,bn=xe&&(isNull(hn)?!qe:hn);return!!vn||!!bn},xt$1=new WeakMap,addInstance=(xe,$e)=>{xt$1.set(xe,$e)},removeInstance=xe=>{xt$1.delete(xe)},getInstance$1=xe=>xt$1.get(xe),createEventContentChange=(xe,$e,Ie)=>{let Fe=!1;const Ue=Ie?new WeakMap:!1,qe=()=>{Fe=!0},At=Dt=>{if(Ue&&Ie){const Lt=Ie.map(jt=>{const[hn,vn]=jt||[];return[vn&&hn?(Dt||find$1)(hn,xe):[],vn]});each$g(Lt,jt=>each$g(jt[0],hn=>{const vn=jt[1],bn=Ue.get(hn)||[];if(xe.contains(hn)&&vn){const wn=addEventListener$1(hn,vn,kn=>{Fe?(wn(),Ue.delete(hn)):$e(kn)});Ue.set(hn,push$1(bn,wn))}else runEachAndClear(bn),Ue.delete(hn)}))}};return At(),[qe,At]},createDOMObserver=(xe,$e,Ie,Fe)=>{let Ue=!1;const{j:qe,X:At,Y:Dt,W:Lt,J:jt,K:hn}=Fe||{},vn=debounce$1(()=>Ue&&Ie(!0),{_:33,p:99}),[bn,_n]=createEventContentChange(xe,vn,Dt),wn=qe||[],kn=At||[],Cn=concat(wn,kn),Sn=(En,Tn)=>{if(!isEmptyArray(Tn)){const An=jt||noop$7,$n=hn||noop$7,Pn=[],Nn=[];let Mn=!1,In=!1;if(each$g(Tn,On=>{const{attributeName:Rn,target:Bn,type:Vn,oldValue:Ln,addedNodes:Dn,removedNodes:Hn}=On,Fn=Vn==="attributes",zn=Vn==="childList",jn=xe===Bn,Gn=Fn&&Rn,Wn=Gn&&getAttr(Bn,Rn||""),Xn=isString$3(Wn)?Wn:null,er=Gn&&Ln!==Xn,rr=inArray(kn,Rn)&&er;if($e&&(zn||!jn)){const Jn=Fn&&er,qn=Jn&&Lt&&is(Bn,Lt),ar=(qn?!An(Bn,Rn,Ln,Xn):!Fn||Jn)&&!$n(On,!!qn,xe,Fe);each$g(Dn,tr=>push$1(Pn,tr)),each$g(Hn,tr=>push$1(Pn,tr)),In=In||ar}!$e&&jn&&er&&!An(Bn,Rn,Ln,Xn)&&(push$1(Nn,Rn),Mn=Mn||rr)}),_n(On=>deduplicateArray(Pn).reduce((Rn,Bn)=>(push$1(Rn,find$1(On,Bn)),is(Bn,On)?push$1(Rn,Bn):Rn),[])),$e)return!En&&In&&Ie(!1),[!1];if(!isEmptyArray(Nn)||Mn){const On=[deduplicateArray(Nn),Mn];return!En&&Ie.apply(0,On),On}}},xn=new _$1(bind$3(Sn,!1));return[()=>(xn.observe(xe,{attributes:!0,attributeOldValue:!0,attributeFilter:Cn,subtree:$e,childList:$e,characterData:$e}),Ue=!0,()=>{Ue&&(bn(),xn.disconnect(),Ue=!1)}),()=>{if(Ue)return vn.S(),Sn(!0,xn.takeRecords())}]},Ht$1={},Et={},addPlugins=xe=>{each$g(xe,$e=>each$g($e,(Ie,Fe)=>{Ht$1[Fe]=$e[Fe]}))},registerPluginModuleInstances=(xe,$e,Ie)=>keys$2(xe).map(Fe=>{const{static:Ue,instance:qe}=xe[Fe],[At,Dt,Lt]=Ie||[],jt=Ie?qe:Ue;if(jt){const hn=Ie?jt(At,Dt,$e):jt($e);return(Lt||Et)[Fe]=hn}}),getStaticPluginModuleInstance=xe=>Et[xe],zt$1="__osOptionsValidationPlugin",It$1="__osSizeObserverPlugin",getShowNativeOverlaidScrollbars=(xe,$e)=>{const{M:Ie}=$e,[Fe,Ue]=xe("showNativeOverlaidScrollbars");return[Fe&&Ie.x&&Ie.y,Ue]},overflowIsVisible=xe=>xe.indexOf(z)===0,createViewportOverflowState=(xe,$e)=>{const Ie=(Ue,qe,At,Dt)=>{const Lt=Ue===z?I$2:Ue.replace(`${z}-`,""),jt=overflowIsVisible(Ue),hn=overflowIsVisible(At);return!qe&&!Dt?I$2:jt&&hn?z:jt?qe&&Dt?Lt:qe?z:I$2:qe?Lt:hn&&Dt?z:I$2},Fe={x:Ie($e.x,xe.x,$e.y,xe.y),y:Ie($e.y,xe.y,$e.x,xe.x)};return{G:Fe,Z:{x:Fe.x===A$1,y:Fe.y===A$1}}},Tt$1="__osScrollbarsHidingPlugin",kt="__osClickScrollPlugin",createSizeObserver=(xe,$e,Ie)=>{const{dt:Fe}=Ie||{},Ue=getStaticPluginModuleInstance(It$1),[qe]=createCache({o:!1,u:!0});return()=>{const At=[],Lt=createDOM(``)[0],jt=Lt.firstChild,hn=vn=>{const bn=vn instanceof ResizeObserverEntry;let _n=!1,wn=!1;if(bn){const[kn,,Cn]=qe(vn.contentRect),Sn=domRectHasDimensions(kn);wn=domRectAppeared(kn,Cn),_n=!wn&&!Sn}else wn=vn===!0;_n||$e({ft:!0,dt:wn})};if(f$1){const vn=new f$1(bn=>hn(bn.pop()));vn.observe(jt),push$1(At,()=>{vn.disconnect()})}else if(Ue){const[vn,bn]=Ue(jt,hn,Fe);push$1(At,concat([addClass$1(Lt,st$1),addEventListener$1(Lt,"animationstart",vn)],bn))}else return noop$7;return bind$3(runEachAndClear,push$1(At,appendChildren(xe,Lt)))}},createTrinsicObserver=(xe,$e)=>{let Ie;const Fe=Lt=>Lt.h===0||Lt.isIntersecting||Lt.intersectionRatio>0,Ue=createDiv(it$1),[qe]=createCache({o:!1}),At=(Lt,jt)=>{if(Lt){const hn=qe(Fe(Lt)),[,vn]=hn;return vn&&!jt&&$e(hn)&&[hn]}},Dt=(Lt,jt)=>At(jt.pop(),Lt);return[()=>{const Lt=[];if(d$1)Ie=new d$1(bind$3(Dt,!1),{root:xe}),Ie.observe(Ue),push$1(Lt,()=>{Ie.disconnect()});else{const jt=()=>{const hn=k$1(Ue);At(hn)};push$1(Lt,createSizeObserver(Ue,jt)()),jt()}return bind$3(runEachAndClear,push$1(Lt,appendChildren(xe,Ue)))},()=>Ie&&Dt(!0,Ie.takeRecords())]},createObserversSetup=(xe,$e,Ie,Fe)=>{let Ue,qe,At,Dt,Lt,jt;const hn=`[${F$1}]`,vn=`[${X$2}]`,bn=[],_n=["wrap","cols","rows"],wn=["id","class","style","open"],{vt:kn,ht:Cn,ot:Sn,gt:xn,bt:En,wt:Tn,nt:An,yt:$n,St:Pn,Ot:Nn}=xe,Mn=Yn=>getStyles(Yn,"direction")==="rtl",In={$t:!1,ct:Mn(kn)},On=getEnvironment(),Rn=getStaticPluginModuleInstance(Tt$1),[Bn]=createCache({i:equalWH,o:{w:0,h:0}},()=>{const Yn=Rn&&Rn.tt(xe,$e,In,On,Ie).ut,tr=!($n&&An)&&hasAttrClass(Cn,F$1,q$1),or=!An&&Pn(J$1),sr=or&&getElementScroll(xn),Kn=Nn(K$1,tr),Zn=or&&Yn&&Yn()[0],nr=R$1(Sn),lr=getFractionalSize(Sn);return Zn&&Zn(),scrollElementTo(xn,sr),tr&&Kn(),{w:nr.w+lr.w,h:nr.h+lr.h}}),Vn=Tn?_n:concat(wn,_n),Ln=debounce$1(Fe,{_:()=>Ue,p:()=>qe,m(Yn,ar){const[tr]=Yn,[or]=ar;return[concat(keys$2(tr),keys$2(or)).reduce((sr,Kn)=>(sr[Kn]=tr[Kn]||or[Kn],sr),{})]}}),Dn=Yn=>{const ar=Mn(kn);assignDeep(Yn,{Ct:jt!==ar}),assignDeep(In,{ct:ar}),jt=ar},Hn=(Yn,ar)=>{const[tr,or]=Yn,sr={xt:or};return assignDeep(In,{$t:tr}),!ar&&Fe(sr),sr},Fn=({ft:Yn,dt:ar})=>{const or=!(Yn&&!ar)&&On.R?Ln:Fe,sr={ft:Yn||ar,dt:ar};Dn(sr),or(sr)},zn=(Yn,ar)=>{const[,tr]=Bn(),or={Ht:tr};return Dn(or),tr&&!ar&&(Yn?Fe:Ln)(or),or},jn=(Yn,ar,tr)=>{const or={Et:ar};return Dn(or),ar&&!tr&&Ln(or),or},[Gn,Wn]=En?createTrinsicObserver(Cn,Hn):[],Xn=!An&&createSizeObserver(Cn,Fn,{dt:!0}),[er,rr]=createDOMObserver(Cn,!1,jn,{X:wn,j:concat(wn,bn)}),Jn=An&&f$1&&new f$1(Yn=>{const ar=Yn[Yn.length-1].contentRect;Fn({ft:!0,dt:domRectAppeared(ar,Lt)}),Lt=ar}),qn=debounce$1(()=>{const[,Yn]=Bn();Fe({Ht:Yn})},{_:222,v:!0});return[()=>{Jn&&Jn.observe(Cn);const Yn=Xn&&Xn(),ar=Gn&&Gn(),tr=er(),or=On.L(sr=>{sr?Ln({zt:sr}):qn()});return()=>{Jn&&Jn.disconnect(),Yn&&Yn(),ar&&ar(),Dt&&Dt(),tr(),or()}},({It:Yn,At:ar,Tt:tr})=>{const or={},[sr]=Yn("update.ignoreMutation"),[Kn,Zn]=Yn("update.attributes"),[nr,lr]=Yn("update.elementEvents"),[ir,kr]=Yn("update.debounce"),Cr=lr||Zn,Er=ar||tr,dr=br=>isFunction$4(sr)&&sr(br);if(Cr){At&&At(),Dt&&Dt();const[br,_r]=createDOMObserver(En||Sn,!0,zn,{j:concat(Vn,Kn||[]),Y:nr,W:hn,K:(Pr,gr)=>{const{target:xr,attributeName:Rr}=Pr;return(!gr&&Rr&&!An?liesBetween(xr,hn,vn):!1)||!!closest(xr,`.${ut$1}`)||!!dr(Pr)}});Dt=br(),At=_r}if(kr)if(Ln.S(),isArray$5(ir)){const br=ir[0],_r=ir[1];Ue=isNumber$3(br)&&br,qe=isNumber$3(_r)&&_r}else isNumber$3(ir)?(Ue=ir,qe=!1):(Ue=!1,qe=!1);if(Er){const br=rr(),_r=Wn&&Wn(),Pr=At&&At();br&&assignDeep(or,jn(br[0],br[1],Er)),_r&&assignDeep(or,Hn(_r[0],Er)),Pr&&assignDeep(or,zn(Pr[0],Er))}return Dn(or),or},In]},createScrollbarsSetupElements=(xe,$e,Ie,Fe)=>{const{P:Ue}=getEnvironment(),{scrollbars:qe}=Ue(),{slot:At}=qe,{vt:Dt,ht:Lt,ot:jt,Dt:hn,gt:vn,yt:bn,nt:_n}=$e,{scrollbars:wn}=hn?{}:xe,{slot:kn}=wn||{},Cn=new Map,Sn=rr=>p$1&&new p$1({source:vn,axis:rr}),xn={x:Sn("x"),y:Sn("y")},En=dynamicInitializationElement([Dt,Lt,jt],()=>_n&&bn?Dt:Lt,At,kn),Tn=(rr,Jn)=>{if(Jn){const sr=rr?H$1:E$2,{kt:Kn,Mt:Zn}=Jn,nr=getBoundingClientRect$1(Zn)[sr],lr=getBoundingClientRect$1(Kn)[sr];return capNumber(0,1,nr/lr||0)}const qn=rr?"x":"y",{Rt:Yn,Vt:ar}=Ie,tr=ar[qn],or=Yn[qn];return capNumber(0,1,tr/(tr+or)||0)},An=(rr,Jn,qn)=>{const Yn=Tn(qn,rr);return 1/Yn*(1-Yn)*Jn},$n=rr=>assignDeep(rr,{clear:["left"]}),Pn=rr=>{Cn.forEach((Jn,qn)=>{(rr?inArray(createOrKeepArray(rr),qn):!0)&&(each$g(Jn||[],ar=>{ar&&ar.cancel()}),Cn.delete(qn))})},Nn=(rr,Jn,qn,Yn)=>{const ar=Cn.get(rr)||[],tr=ar.find(or=>or&&or.timeline===Jn);tr?tr.effect=new KeyframeEffect(rr,qn,{composite:Yn}):Cn.set(rr,concat(ar,[rr.animate(qn,{timeline:Jn,composite:Yn})]))},Mn=(rr,Jn,qn)=>{const Yn=qn?addClass$1:removeClass$1;each$g(rr,ar=>{Yn(ar.Lt,Jn)})},In=(rr,Jn)=>{each$g(rr,qn=>{const[Yn,ar]=Jn(qn);setStyles(Yn,ar)})},On=(rr,Jn)=>{In(rr,qn=>{const{Mt:Yn}=qn;return[Yn,{[Jn?H$1:E$2]:ratioToCssPercent(Tn(Jn))}]})},Rn=(rr,Jn)=>{const{Pt:qn}=Ie,Yn=Jn?"x":"y",ar=xn[Yn],tr=isDefaultDirectionScrollCoordinates(qn)[Yn],or=(sr,Kn)=>getTrasformTranslateValue(ratioToCssPercent(An(sr,tr?Kn:1-Kn,Jn)),Jn);ar?each$g(rr,sr=>{const{Mt:Kn}=sr;Nn(Kn,ar,$n({transform:[0,1].map(Zn=>or(sr,Zn))}))}):In(rr,sr=>[sr.Mt,{transform:or(sr,getScrollCoordinatesPercent(qn,getElementScroll(vn))[Yn])}])},Bn=rr=>_n&&!bn&&parent$2(rr)===jt,Vn=[],Ln=[],Dn=[],Hn=(rr,Jn,qn)=>{const Yn=isBoolean$2(qn),ar=Yn?qn:!0,tr=Yn?!qn:!0;ar&&Mn(Ln,rr,Jn),tr&&Mn(Dn,rr,Jn)},Fn=()=>{On(Ln,!0),On(Dn)},zn=()=>{Rn(Ln,!0),Rn(Dn)},jn=()=>{if(_n){const{Rt:rr,Pt:Jn}=Ie,qn=isDefaultDirectionScrollCoordinates(Jn),Yn=.5;if(xn.x&&xn.y)each$g(concat(Dn,Ln),({Lt:ar})=>{if(Bn(ar)){const tr=or=>Nn(ar,xn[or],$n({transform:[0,qn[or]?1:-1].map(sr=>getTrasformTranslateValue(numberToCssPx(sr*(rr[or]-Yn)),or==="x"))}),"add");tr("x"),tr("y")}else Pn(ar)});else{const ar=getScrollCoordinatesPercent(Jn,getElementScroll(vn)),tr=or=>{const{Lt:sr}=or,Kn=Bn(sr)&&sr,Zn=(nr,lr,ir)=>{const kr=lr*nr;return numberToCssPx(ir?kr:-kr)};return[Kn,Kn&&{transform:getTrasformTranslateValue({x:Zn(ar.x,rr.x,qn.x),y:Zn(ar.y,rr.y,qn.y)})}]};In(Ln,tr),In(Dn,tr)}}},Gn=rr=>{const qn=createDiv(`${ut$1} ${rr?dt$1:ft$1}`),Yn=createDiv(pt$1),ar=createDiv(vt$1),tr={Lt:qn,kt:Yn,Mt:ar};return push$1(rr?Ln:Dn,tr),push$1(Vn,[appendChildren(qn,Yn),appendChildren(Yn,ar),bind$3(removeElements,qn),Pn,Fe(tr,Hn,Rn,rr)]),tr},Wn=bind$3(Gn,!0),Xn=bind$3(Gn,!1),er=()=>(appendChildren(En,Ln[0].Lt),appendChildren(En,Dn[0].Lt),bind$3(runEachAndClear,Vn));return Wn(),Xn(),[{Ut:Fn,Nt:zn,qt:jn,Bt:Hn,Ft:{V:xn.x,jt:Ln,Xt:Wn,Yt:bind$3(In,Ln)},Wt:{V:xn.y,jt:Dn,Xt:Xn,Yt:bind$3(In,Dn)}},er]},createScrollbarsSetupEvents=(xe,$e,Ie,Fe)=>(Ue,qe,At,Dt)=>{const{ht:Lt,ot:jt,nt:hn,gt:vn,Jt:bn,Ot:_n}=$e,{Lt:wn,kt:kn,Mt:Cn}=Ue,[Sn,xn]=selfClearTimeout(333),[En,Tn]=selfClearTimeout(444),[An,$n]=selfClearTimeout(),Pn=bind$3(At,[Ue],Dt),Nn=Bn=>{isFunction$4(vn.scrollBy)&&vn.scrollBy({behavior:"smooth",left:Bn.x,top:Bn.y})},Mn=Dt?H$1:E$2,In=()=>{const Bn="pointerup pointercancel lostpointercapture",Vn=`client${Dt?"X":"Y"}`,Ln=Dt?"left":"top",Dn=Dt?"w":"h",Hn=Dt?"x":"y",Fn=(zn,jn)=>Gn=>{const{Rt:Wn}=Ie,Xn=k$1(kn)[Dn]-k$1(Cn)[Dn],rr=jn*Gn/Xn*Wn[Hn];scrollElementTo(vn,{[Hn]:zn+rr})};return addEventListener$1(kn,"pointerdown",zn=>{const jn=closest(zn.target,`.${vt$1}`)===Cn,Gn=jn?Cn:kn,Wn=xe.scrollbars,{button:Xn,isPrimary:er,pointerType:rr}=zn,{pointers:Jn}=Wn;if(Xn===0&&er&&Wn[jn?"dragScroll":"clickScroll"]&&(Jn||[]).includes(rr)){Tn();const Yn=!jn&&zn.shiftKey,ar=bind$3(getBoundingClientRect$1,Cn),tr=bind$3(getBoundingClientRect$1,kn),or=(gr,xr)=>(gr||ar())[Ln]-(xr||tr())[Ln],sr=e$1(getBoundingClientRect$1(vn)[Mn])/k$1(vn)[Dn]||1,Kn=Fn(getElementScroll(vn)[Hn],1/sr),Zn=zn[Vn],nr=ar(),lr=tr(),ir=nr[Mn],kr=or(nr,lr)+ir/2,Cr=Zn-lr[Ln],Er=jn?0:Cr-kr,dr=gr=>{runEachAndClear(Pr),Gn.releasePointerCapture(gr.pointerId)},br=()=>_n(Q$1,!0),_r=br(),Pr=[()=>{const gr=getElementScroll(vn);_r();const xr=getElementScroll(vn),Rr={x:xr.x-gr.x,y:xr.y-gr.y};(c$1(Rr.x)>3||c$1(Rr.y)>3)&&(br(),scrollElementTo(vn,gr),Nn(Rr),En(_r))},addEventListener$1(bn,Bn,dr),addEventListener$1(bn,"selectstart",gr=>preventDefault$1(gr),{H:!1}),addEventListener$1(kn,Bn,dr),addEventListener$1(kn,"pointermove",gr=>{const xr=gr[Vn]-Zn;(jn||Yn)&&Kn(Er+xr)})];if(Gn.setPointerCapture(zn.pointerId),Yn)Kn(Er);else if(!jn){const gr=getStaticPluginModuleInstance(kt);gr&&push$1(Pr,gr(Kn,or,Er,ir,Cr))}}})};let On=!0;const Rn=Bn=>Bn.propertyName.indexOf(Mn)>-1;return bind$3(runEachAndClear,[addEventListener$1(Cn,"pointermove pointerleave",Fe),addEventListener$1(wn,"pointerenter",()=>{qe(bt$1,!0)}),addEventListener$1(wn,"pointerleave pointercancel",()=>{qe(bt$1,!1)}),!hn&&addEventListener$1(wn,"mousedown",()=>{const Bn=getFocusedElement();(hasAttr(Bn,X$2)||hasAttr(Bn,F$1)||Bn===document.body)&&a$1(bind$3(focusElement,jt),25)}),addEventListener$1(wn,"wheel",Bn=>{const{deltaX:Vn,deltaY:Ln,deltaMode:Dn}=Bn;On&&Dn===0&&parent$2(wn)===Lt&&Nn({x:Vn,y:Ln}),On=!1,qe(St$1,!0),Sn(()=>{On=!0,qe(St$1)}),preventDefault$1(Bn)},{H:!1,I:!0}),addEventListener$1(Cn,"transitionstart",Bn=>{if(Rn(Bn)){const Vn=()=>{Pn(),An(Vn)};Vn()}}),addEventListener$1(Cn,"transitionend transitioncancel",Bn=>{Rn(Bn)&&($n(),Pn())}),addEventListener$1(wn,"pointerdown",bind$3(addEventListener$1,bn,"click",stopAndPrevent,{A:!0,I:!0,H:!1}),{I:!0}),In(),xn,Tn,$n])},createScrollbarsSetup=(xe,$e,Ie,Fe,Ue,qe)=>{let At,Dt,Lt,jt,hn,vn=noop$7,bn=0;const _n=jn=>jn.pointerType==="mouse",[wn,kn]=selfClearTimeout(),[Cn,Sn]=selfClearTimeout(100),[xn,En]=selfClearTimeout(100),[Tn,An]=selfClearTimeout(()=>bn),[$n,Pn]=createScrollbarsSetupElements(xe,Ue,Fe,createScrollbarsSetupEvents($e,Ue,Fe,jn=>_n(jn)&&Dn())),{ht:Nn,Kt:Mn,yt:In}=Ue,{Bt:On,Ut:Rn,Nt:Bn,qt:Vn}=$n,Ln=(jn,Gn)=>{if(An(),jn)On(mt$1);else{const Wn=bind$3(On,mt$1,!0);bn>0&&!Gn?Tn(Wn):Wn()}},Dn=()=>{(Lt?!At:!jt)&&(Ln(!0),Cn(()=>{Ln(!1)}))},Hn=jn=>{On(yt$1,jn,!0),On(yt$1,jn,!1)},Fn=jn=>{_n(jn)&&(At=Lt,Lt&&Ln(!0))},zn=[An,Sn,En,kn,()=>vn(),addEventListener$1(Nn,"pointerover",Fn,{A:!0}),addEventListener$1(Nn,"pointerenter",Fn),addEventListener$1(Nn,"pointerleave",jn=>{_n(jn)&&(At=!1,Lt&&Ln(!1))}),addEventListener$1(Nn,"pointermove",jn=>{_n(jn)&&Dt&&Dn()}),addEventListener$1(Mn,"scroll",jn=>{wn(()=>{Bn(),Dn()}),qe(jn),Vn()})];return[()=>bind$3(runEachAndClear,push$1(zn,Pn())),({It:jn,Tt:Gn,Gt:Wn,Qt:Xn})=>{const{Zt:er,tn:rr,nn:Jn,sn:qn}=Xn||{},{Ct:Yn,dt:ar}=Wn||{},{ct:tr}=Ie,{M:or}=getEnvironment(),{G:sr,en:Kn}=Fe,[Zn,nr]=jn("showNativeOverlaidScrollbars"),[lr,ir]=jn("scrollbars.theme"),[kr,Cr]=jn("scrollbars.visibility"),[Er,dr]=jn("scrollbars.autoHide"),[br,_r]=jn("scrollbars.autoHideSuspend"),[Pr]=jn("scrollbars.autoHideDelay"),[gr,xr]=jn("scrollbars.dragScroll"),[Rr,Hr]=jn("scrollbars.clickScroll"),[Jr,Gr]=jn("overflow"),$r=ar&&!Gn,Br=Kn.x||Kn.y,Tr=er||rr||qn||Yn||Gn,cr=Jn||Cr||Gr,Sr=Zn&&or.x&&or.y,Dr=(mr,Lr,zr)=>{const Vr=mr.includes(A$1)&&(kr===z||kr==="auto"&&Lr===A$1);return On(ht$1,Vr,zr),Vr};if(bn=Pr,$r&&(br&&Br?(Hn(!1),vn(),xn(()=>{vn=addEventListener$1(Mn,"scroll",bind$3(Hn,!0),{A:!0})})):Hn(!0)),nr&&On(at$1,Sr),ir&&(On(hn),On(lr,!0),hn=lr),_r&&!br&&Hn(!0),dr&&(Dt=Er==="move",Lt=Er==="leave",jt=Er==="never",Ln(jt,!0)),xr&&On($t$1,gr),Hr&&On(Ot$1,Rr),cr){const mr=Dr(Jr.x,sr.x,!0),Lr=Dr(Jr.y,sr.y,!1);On(gt$1,!(mr&&Lr))}Tr&&(Rn(),Bn(),Vn(),On(wt$1,!Kn.x,!0),On(wt$1,!Kn.y,!1),On(_t$1,tr&&!In))},{},$n]},createStructureSetupElements=xe=>{const $e=getEnvironment(),{P:Ie,R:Fe}=$e,{elements:Ue}=Ie(),{host:qe,padding:At,viewport:Dt,content:Lt}=Ue,jt=isHTMLElement$1(xe),hn=jt?{}:xe,{elements:vn}=hn,{host:bn,padding:_n,viewport:wn,content:kn}=vn||{},Cn=jt?xe:hn.target,Sn=isBodyElement(Cn),xn=is(Cn,"textarea"),En=Cn.ownerDocument,Tn=En.documentElement,An=()=>En.defaultView||n,$n=bind$3(staticInitializationElement,[Cn]),Pn=bind$3(dynamicInitializationElement,[Cn]),Nn=bind$3(createDiv,""),Mn=bind$3($n,Nn,Dt),In=bind$3(Pn,Nn,Lt),On=Mn(wn),Rn=On===Cn,Bn=Rn&&Sn,Vn=!Rn&&In(kn),Ln=!Rn&&On===Vn,Dn=Bn?Tn:On,Hn=xn?$n(Nn,qe,bn):Cn,Fn=Bn?Dn:Hn,zn=!Rn&&Pn(Nn,At,_n),jn=!Ln&&Vn,Gn=[jn,Dn,zn,Fn].map(lr=>isHTMLElement$1(lr)&&!parent$2(lr)&&lr),Wn=lr=>lr&&inArray(Gn,lr),Xn=Wn(Dn)?Cn:Dn,er={vt:Cn,ht:Fn,ot:Dn,cn:zn,bt:jn,gt:Bn?Tn:Dn,Kt:Bn?En:Dn,rn:Sn?Tn:Xn,Jt:En,wt:xn,yt:Sn,Dt:jt,nt:Rn,ln:An,St:lr=>hasAttrClass(Dn,X$2,lr),Ot:(lr,ir)=>addRemoveAttrClass(Dn,X$2,lr,ir)},{vt:rr,ht:Jn,cn:qn,ot:Yn,bt:ar}=er,tr=[()=>{removeAttrs(Jn,[F$1,N$2]),removeAttrs(rr,N$2),Sn&&removeAttrs(Tn,[N$2,F$1])}],or=xn&&Wn(Jn);let sr=xn?rr:contents([ar,Yn,qn,Jn,rr].find(lr=>lr&&!Wn(lr)));const Kn=Bn?rr:ar||Yn,Zn=bind$3(runEachAndClear,tr);return[er,()=>{const lr=An(),ir=getFocusedElement(),kr=_r=>{appendChildren(parent$2(_r),contents(_r)),removeElements(_r)},Cr=_r=>addEventListener$1(_r,"focusin focusout focus blur",stopAndPrevent,{I:!0,H:!1}),Er="tabindex",dr=getAttr(Yn,Er),br=Cr(ir);return setAttrs(Jn,F$1,Rn?"":j),setAttrs(qn,tt$1,""),setAttrs(Yn,X$2,""),setAttrs(ar,nt$1,""),Rn||(setAttrs(Yn,Er,dr||"-1"),Sn&&setAttrs(Tn,B$1,"")),or&&(insertAfter(rr,Jn),push$1(tr,()=>{insertAfter(Jn,rr),removeElements(Jn)})),appendChildren(Kn,sr),appendChildren(Jn,qn),appendChildren(qn||Jn,!Rn&&Yn),appendChildren(Yn,ar),push$1(tr,[br,()=>{const _r=getFocusedElement(),Pr=Wn(Yn),gr=Pr&&_r===Yn?rr:_r,xr=Cr(gr);removeAttrs(qn,tt$1),removeAttrs(ar,nt$1),removeAttrs(Yn,X$2),Sn&&removeAttrs(Tn,B$1),dr?setAttrs(Yn,Er,dr):removeAttrs(Yn,Er),Wn(ar)&&kr(ar),Pr&&kr(Yn),Wn(qn)&&kr(qn),focusElement(gr),xr()}]),Fe&&!Rn&&(addAttrClass(Yn,X$2,G$1),push$1(tr,bind$3(removeAttrs,Yn,X$2))),focusElement(!Rn&&Sn&&ir===rr&&lr.top===lr?Yn:ir),br(),sr=0,Zn},Zn]},createTrinsicUpdateSegment=({bt:xe})=>({Gt:$e,an:Ie,Tt:Fe})=>{const{xt:Ue}=$e||{},{$t:qe}=Ie;xe&&(Ue||Fe)&&setStyles(xe,{[E$2]:qe&&"100%"})},createPaddingUpdateSegment=({ht:xe,cn:$e,ot:Ie,nt:Fe},Ue)=>{const[qe,At]=createCache({i:equalTRBL,o:topRightBottomLeft()},bind$3(topRightBottomLeft,xe,"padding",""));return({It:Dt,Gt:Lt,an:jt,Tt:hn})=>{let[vn,bn]=At(hn);const{R:_n}=getEnvironment(),{ft:wn,Ht:kn,Ct:Cn}=Lt||{},{ct:Sn}=jt,[xn,En]=Dt("paddingAbsolute");(wn||bn||(hn||kn))&&([vn,bn]=qe(hn));const An=!Fe&&(En||Cn||bn);if(An){const $n=!xn||!$e&&!_n,Pn=vn.r+vn.l,Nn=vn.t+vn.b,Mn={[O$1]:$n&&!Sn?-Pn:0,[$]:$n?-Nn:0,[S$1]:$n&&Sn?-Pn:0,top:$n?-vn.t:0,right:$n?Sn?-vn.r:"auto":0,left:$n?Sn?"auto":-vn.l:0,[H$1]:$n&&`calc(100% + ${Pn}px)`},In={[b$1]:$n?vn.t:0,[w$1]:$n?vn.r:0,[m$2]:$n?vn.b:0,[y]:$n?vn.l:0};setStyles($e||Ie,Mn),setStyles(Ie,In),assignDeep(Ue,{cn:vn,un:!$n,rt:$e?In:assignDeep({},Mn,In)})}return{_n:An}}},createOverflowUpdateSegment=(xe,$e)=>{const Ie=getEnvironment(),{ht:Fe,cn:Ue,ot:qe,nt:At,Kt:Dt,gt:Lt,yt:jt,Ot:hn,ln:vn}=xe,{R:bn}=Ie,_n=jt&&At,wn=bind$3(o$1,0),kn=["display","direction","flexDirection","writingMode"],Cn={i:equalWH,o:{w:0,h:0}},Sn={i:equalXY,o:{}},xn=jn=>{hn(K$1,!_n&&jn)},En=(jn,Gn)=>{const Wn=n.devicePixelRatio%1!==0?1:0,Xn={w:wn(jn.w-Gn.w),h:wn(jn.h-Gn.h)};return{w:Xn.w>Wn?Xn.w:0,h:Xn.h>Wn?Xn.h:0}},[Tn,An]=createCache(Cn,bind$3(getFractionalSize,qe)),[$n,Pn]=createCache(Cn,bind$3(R$1,qe)),[Nn,Mn]=createCache(Cn),[In]=createCache(Sn),[On,Rn]=createCache(Cn),[Bn]=createCache(Sn),[Vn]=createCache({i:(jn,Gn)=>equal(jn,Gn,kn),o:{}},()=>hasDimensions(qe)?getStyles(qe,kn):{}),[Ln,Dn]=createCache({i:(jn,Gn)=>equalXY(jn.T,Gn.T)&&equalXY(jn.D,Gn.D),o:getZeroScrollCoordinates()},()=>{xn(!0);const jn=getElementScroll(Lt),Gn=hn(Z$1,!0),Wn=addEventListener$1(Dt,A$1,qn=>{const Yn=getElementScroll(Lt);qn.isTrusted&&Yn.x===jn.x&&Yn.y===jn.y&&stopPropagation(qn)},{I:!0,A:!0});scrollElementTo(Lt,{x:0,y:0}),Gn();const Xn=getElementScroll(Lt),er=R$1(Lt);scrollElementTo(Lt,{x:er.w,y:er.h});const rr=getElementScroll(Lt);scrollElementTo(Lt,{x:rr.x-Xn.x<1&&-er.w,y:rr.y-Xn.y<1&&-er.h});const Jn=getElementScroll(Lt);return scrollElementTo(Lt,jn),i$1(()=>Wn()),{T:Xn,D:Jn}}),Hn=getStaticPluginModuleInstance(Tt$1),Fn=(jn,Gn)=>`${Gn?Y$1:W$1}${capitalizeFirstLetter(jn)}`,zn=jn=>{const Gn=Xn=>[z,I$2,A$1].map(er=>Fn(er,Xn)),Wn=Gn(!0).concat(Gn()).join(" ");hn(Wn),hn(keys$2(jn).map(Xn=>Fn(jn[Xn],Xn==="x")).join(" "),!0)};return({It:jn,Gt:Gn,an:Wn,Tt:Xn},{_n:er})=>{const{ft:rr,Ht:Jn,Ct:qn,dt:Yn,zt:ar}=Gn||{},tr=Hn&&Hn.tt(xe,$e,Wn,Ie,jn),{it:or,ut:sr,_t:Kn}=tr||{},[Zn,nr]=getShowNativeOverlaidScrollbars(jn,Ie),[lr,ir]=jn("overflow"),kr=overflowIsVisible(lr.x),Cr=overflowIsVisible(lr.y),Er=rr||er||Jn||qn||ar||nr;let dr=An(Xn),br=Pn(Xn),_r=Mn(Xn),Pr=Rn(Xn);if(nr&&bn&&hn(G$1,!Zn),Er){hasAttrClass(Fe,F$1,q$1)&&xn(!0);const[uo]=sr?sr():[],[vo]=dr=Tn(Xn),[_o]=br=$n(Xn),Ao=M$1(qe),ko=_n&&getWindowSize(vn()),Do={w:wn(_o.w+vo.w),h:wn(_o.h+vo.h)},Ro={w:wn((ko?ko.w:Ao.w+wn(Ao.w-_o.w))+vo.w),h:wn((ko?ko.h:Ao.h+wn(Ao.h-_o.h))+vo.h)};uo&&uo(),Pr=On(Ro),_r=Nn(En(Do,Ro),Xn)}const[gr,xr]=Pr,[Rr,Hr]=_r,[Jr,Gr]=br,[$r,Br]=dr,[Tr,cr]=In({x:Rr.w>0,y:Rr.h>0}),Sr=kr&&Cr&&(Tr.x||Tr.y)||kr&&Tr.x&&!Tr.y||Cr&&Tr.y&&!Tr.x,Dr=er||qn||ar||Br||Gr||xr||Hr||ir||nr||Er,mr=createViewportOverflowState(Tr,lr),[Lr,zr]=Bn(mr.G),[,Vr]=Vn(Xn),Kr=qn||Yn||Vr||cr||Xn,[Yr,Ur]=Kr?Ln(Xn):Dn();return Dr&&(zr&&zn(mr.G),Kn&&or&&setStyles(qe,Kn(mr,Wn,or(mr,Jr,$r)))),xn(!1),addRemoveAttrClass(Fe,F$1,q$1,Sr),addRemoveAttrClass(Ue,tt$1,q$1,Sr),assignDeep($e,{G:Lr,Vt:{x:gr.w,y:gr.h},Rt:{x:Rr.w,y:Rr.h},en:Tr,Pt:sanitizeScrollCoordinates(Yr,Rr)}),{nn:zr,Zt:xr,tn:Hr,sn:Ur||Hr,dn:Kr}}},createStructureSetup=xe=>{const[$e,Ie,Fe]=createStructureSetupElements(xe),Ue={cn:{t:0,r:0,b:0,l:0},un:!1,rt:{[O$1]:0,[$]:0,[S$1]:0,[b$1]:0,[w$1]:0,[m$2]:0,[y]:0},Vt:{x:0,y:0},Rt:{x:0,y:0},G:{x:I$2,y:I$2},en:{x:!1,y:!1},Pt:getZeroScrollCoordinates()},{vt:qe,gt:At,nt:Dt}=$e,{R:Lt,M:jt}=getEnvironment(),hn=!Lt&&(jt.x||jt.y),vn=[createTrinsicUpdateSegment($e),createPaddingUpdateSegment($e,Ue),createOverflowUpdateSegment($e,Ue)];return[Ie,bn=>{const _n={},kn=hn&&getElementScroll(At);return each$g(vn,Cn=>{assignDeep(_n,Cn(bn,_n)||{})}),scrollElementTo(At,kn),!Dt&&scrollElementTo(qe,0),_n},Ue,$e,Fe]},createSetups=(xe,$e,Ie,Fe,Ue)=>{const qe=createOptionCheck($e,{}),[At,Dt,Lt,jt,hn]=createStructureSetup(xe),[vn,bn,_n]=createObserversSetup(jt,Lt,qe,En=>{xn({},En)}),[wn,kn,,Cn]=createScrollbarsSetup(xe,$e,_n,Lt,jt,Ue),Sn=En=>keys$2(En).some(Tn=>!!En[Tn]),xn=(En,Tn)=>{if(Ie())return!1;const{fn:An,Tt:$n,At:Pn,pn:Nn}=En,Mn=An||{},In=!!$n,On={It:createOptionCheck($e,Mn,In),fn:Mn,Tt:In};if(Nn)return kn(On),!1;const Rn=Tn||bn(assignDeep({},On,{At:Pn})),Bn=Dt(assignDeep({},On,{an:_n,Gt:Rn}));kn(assignDeep({},On,{Gt:Rn,Qt:Bn}));const Vn=Sn(Rn),Ln=Sn(Bn),Dn=Vn||Ln||!isEmptyObject(Mn)||In;return Dn&&Fe(En,{Gt:Rn,Qt:Bn}),Dn};return[()=>{const{rn:En,gt:Tn}=jt,An=getElementScroll(En),$n=[vn(),At(),wn()];return scrollElementTo(Tn,An),bind$3(runEachAndClear,$n)},xn,()=>({vn:_n,hn:Lt}),{gn:jt,bn:Cn},hn]},OverlayScrollbars=(xe,$e,Ie)=>{const{N:Fe}=getEnvironment(),Ue=isHTMLElement$1(xe),qe=Ue?xe:xe.target,At=getInstance$1(qe);if($e&&!At){let Dt=!1;const Lt=[],jt={},hn=In=>{const On=removeUndefinedProperties(In),Rn=getStaticPluginModuleInstance(zt$1);return Rn?Rn(On,!0):On},vn=assignDeep({},Fe(),hn($e)),[bn,_n,wn]=createEventListenerHub(),[kn,Cn,Sn]=createEventListenerHub(Ie),xn=(In,On)=>{Sn(In,On),wn(In,On)},[En,Tn,An,$n,Pn]=createSetups(xe,vn,()=>Dt,({fn:In,Tt:On},{Gt:Rn,Qt:Bn})=>{const{ft:Vn,Ct:Ln,xt:Dn,Ht:Hn,Et:Fn,dt:zn}=Rn,{Zt:jn,tn:Gn,nn:Wn,sn:Xn}=Bn;xn("updated",[Mn,{updateHints:{sizeChanged:!!Vn,directionChanged:!!Ln,heightIntrinsicChanged:!!Dn,overflowEdgeChanged:!!jn,overflowAmountChanged:!!Gn,overflowStyleChanged:!!Wn,scrollCoordinatesChanged:!!Xn,contentMutation:!!Hn,hostMutation:!!Fn,appear:!!zn},changedOptions:In||{},force:!!On}])},In=>xn("scroll",[Mn,In])),Nn=In=>{removeInstance(qe),runEachAndClear(Lt),Dt=!0,xn("destroyed",[Mn,In]),_n(),Cn()},Mn={options(In,On){if(In){const Rn=On?Fe():{},Bn=getOptionsDiff(vn,assignDeep(Rn,hn(In)));isEmptyObject(Bn)||(assignDeep(vn,Bn),Tn({fn:Bn}))}return assignDeep({},vn)},on:kn,off:(In,On)=>{In&&On&&Cn(In,On)},state(){const{vn:In,hn:On}=An(),{ct:Rn}=In,{Vt:Bn,Rt:Vn,G:Ln,en:Dn,cn:Hn,un:Fn,Pt:zn}=On;return assignDeep({},{overflowEdge:Bn,overflowAmount:Vn,overflowStyle:Ln,hasOverflow:Dn,scrollCoordinates:{start:zn.T,end:zn.D},padding:Hn,paddingAbsolute:Fn,directionRTL:Rn,destroyed:Dt})},elements(){const{vt:In,ht:On,cn:Rn,ot:Bn,bt:Vn,gt:Ln,Kt:Dn}=$n.gn,{Ft:Hn,Wt:Fn}=$n.bn,zn=Gn=>{const{Mt:Wn,kt:Xn,Lt:er}=Gn;return{scrollbar:er,track:Xn,handle:Wn}},jn=Gn=>{const{jt:Wn,Xt:Xn}=Gn,er=zn(Wn[0]);return assignDeep({},er,{clone:()=>{const rr=zn(Xn());return Tn({pn:!0}),rr}})};return assignDeep({},{target:In,host:On,padding:Rn||Bn,viewport:Bn,content:Vn||Bn,scrollOffsetElement:Ln,scrollEventElement:Dn,scrollbarHorizontal:jn(Hn),scrollbarVertical:jn(Fn)})},update:In=>Tn({Tt:In,At:!0}),destroy:bind$3(Nn,!1),plugin:In=>jt[keys$2(In)[0]]};return push$1(Lt,[Pn]),addInstance(qe,Mn),registerPluginModuleInstances(Ht$1,OverlayScrollbars,[Mn,bn,jt]),cancelInitialization($n.gn.yt,!Ue&&xe.cancel)?(Nn(!0),Mn):(push$1(Lt,En()),xn("initialized",[Mn]),Mn.update(!0),Mn)}return At};OverlayScrollbars.plugin=xe=>{const $e=isArray$5(xe),Ie=$e?xe:[xe],Fe=Ie.map(Ue=>registerPluginModuleInstances(Ue,OverlayScrollbars)[0]);return addPlugins(Ie),$e?Fe:Fe[0]};OverlayScrollbars.valid=xe=>{const $e=xe&&xe.elements,Ie=isFunction$4($e)&&$e();return isPlainObject$3(Ie)&&!!getInstance$1(Ie.target)};OverlayScrollbars.env=()=>{const{k:xe,M:$e,R:Ie,V:Fe,B:Ue,F:qe,P:At,U:Dt,N:Lt,q:jt}=getEnvironment();return assignDeep({},{scrollbarsSize:xe,scrollbarsOverlaid:$e,scrollbarsHiding:Ie,scrollTimeline:Fe,staticDefaultInitialization:Ue,staticDefaultOptions:qe,getDefaultInitialization:At,setDefaultInitialization:Dt,getDefaultOptions:Lt,setDefaultOptions:jt})};const g=()=>{if(typeof window>"u"){const jt=()=>{};return[jt,jt]}let xe,$e;const Ie=window,Fe=typeof Ie.requestIdleCallback=="function",Ue=Ie.requestAnimationFrame,qe=Ie.cancelAnimationFrame,At=Fe?Ie.requestIdleCallback:Ue,Dt=Fe?Ie.cancelIdleCallback:qe,Lt=()=>{Dt(xe),qe($e)};return[(jt,hn)=>{Lt(),xe=At(Fe?()=>{Lt(),$e=Ue(jt)}:jt,typeof hn=="object"?hn:{timeout:2233})},Lt]},x$1=xe=>{let $e=null,Ie,Fe,Ue;const qe=shallowRef(xe||{}),[At,Dt]=g();return watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.defer)},Lt=>{Ue=Lt},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.options)},Lt=>{Ie=Lt,OverlayScrollbars.valid($e)&&$e.options(Ie||{},!0)},{deep:!0,immediate:!0}),watch(()=>{var Lt;return unref((Lt=qe.value)==null?void 0:Lt.events)},Lt=>{Fe=Lt,OverlayScrollbars.valid($e)&&$e.on(Fe||{},!0)},{deep:!0,immediate:!0}),onUnmounted(()=>{Dt(),$e==null||$e.destroy()}),[Lt=>{if(OverlayScrollbars.valid($e))return $e;const jt=()=>$e=OverlayScrollbars(Lt,Ie||{},Fe||{});Ue?At(jt,Ue):jt()},()=>$e]},P$2=defineComponent({__name:"OverlayScrollbarsComponent",props:{element:{type:[String,Object],default:"div"},options:{type:Object},events:{type:Object},defer:{type:[Boolean,Object]}},emits:["osInitialized","osUpdated","osDestroyed","osScroll"],setup(xe,{expose:$e,emit:Ie}){const Fe=xe,Ue={initialized:"osInitialized",updated:"osUpdated",destroyed:"osDestroyed",scroll:"osScroll"},{element:qe,options:At,events:Dt,defer:Lt}=toRefs(Fe),jt=shallowRef(null),hn=shallowRef(null),vn=ref(),[bn,_n]=x$1({options:At,events:vn,defer:Lt});return $e({osInstance:_n,getElement:()=>jt.value}),watchPostEffect(wn=>{const{value:kn}=jt,{value:Cn}=hn;kn&&(bn(qe.value==="body"?{target:kn,cancel:{body:null}}:{target:kn,elements:{viewport:Cn,content:Cn}}),wn(()=>{var Sn;return(Sn=_n())==null?void 0:Sn.destroy()}))}),watch(()=>unref(Dt),wn=>{const kn=wn||{};vn.value=Object.keys(Ue).reduce((Cn,Sn)=>{const xn=kn[Sn];return Cn[Sn]=[(...En)=>Ie(Ue[Sn],...En),...(Array.isArray(xn)?xn:[xn]).filter(Boolean)],Cn},{})},{deep:!0,immediate:!0}),(wn,kn)=>(openBlock(),createBlock(resolveDynamicComponent(unref(qe)),{"data-overlayscrollbars-initialize":"",ref_key:"elementRef",ref:jt},{default:withCtx(()=>[unref(qe)==="body"?renderSlot(wn.$slots,"default",{key:0}):(openBlock(),createElementBlock("div",{key:1,"data-overlayscrollbars-contents":"",ref_key:"slotRef",ref:hn},[renderSlot(wn.$slots,"default")],512))]),_:3},512))}}),_hoisted_1$1d={flex:"~ items-center justify-between","p-4":"","border-b":"~ solid stone/15","text-6":""},_hoisted_2$N={key:0,flex:"~ items-center justify-end","px-3":"","py-2":"","border-t":"~ solid stone/15"},_sfc_main$2x=defineComponent({__name:"HSlideover",props:mergeModels({appear:{type:Boolean,default:!1},side:{default:"right"},title:{},preventClose:{type:Boolean,default:!1},overlay:{type:Boolean,default:!1}},{modelValue:{type:Boolean,default:!1},modelModifiers:{}}),emits:mergeModels(["close"],["update:modelValue"]),setup(xe,{emit:$e}){const Ie=xe,Fe=$e,Ue=useModel(xe,"modelValue"),qe=useSlots(),At=ref({enter:"ease-in-out duration-500",enterFrom:"opacity-0",enterTo:"opacity-100",leave:"ease-in-out duration-500",leaveFrom:"opacity-100",leaveTo:"opacity-0"}),Dt=computed(()=>({enter:"transform transition ease-in-out duration-300",leave:"transform transition ease-in-out duration-200",enterFrom:Ie.side==="left"?"-translate-x-full":"translate-x-full",enterTo:"translate-x-0",leaveFrom:"translate-x-0",leaveTo:Ie.side==="left"?"-translate-x-full":"translate-x-full"}));function Lt(){Ue.value=!1,Fe("close")}return(jt,hn)=>{const vn=_sfc_main$2y;return openBlock(),createBlock(unref(Se$1),{as:"template",appear:jt.appear,show:Ue.value},{default:withCtx(()=>[createVNode$1(unref(Ye$1),{class:normalizeClass(["fixed inset-0 z-2000 flex",{"justify-end":jt.side==="right"}]),onClose:hn[0]||(hn[0]=bn=>!jt.preventClose&&Lt())},{default:withCtx(()=>[createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(At)),{default:withCtx(()=>[createBaseVNode("div",{class:normalizeClass(["fixed inset-0 bg-stone-2/75 transition-opacity dark-bg-stone-8/75",{"backdrop-blur-sm":jt.overlay}])},null,2)]),_:1},16,["appear"]),createVNode$1(unref(he),mergeProps({as:"template",appear:jt.appear},unref(Dt)),{default:withCtx(()=>[createVNode$1(unref(Ge$1),{relative:"","max-w-md":"","w-full":"","w-screen":"",flex:"","flex-1":"","flex-col":"","bg-white":"","dark-bg-stone-8":"","focus-outline-none":""},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1d,[createVNode$1(unref(Ve),{"m-0":"","text-lg":"","text-dark":"","dark-text-white":""},{default:withCtx(()=>[createTextVNode(toDisplayString(jt.title),1)]),_:1}),createVNode$1(vn,{name:"i-carbon:close","cursor-pointer":"",onClick:Lt})]),createVNode$1(unref(Je$1),{"m-0":"","flex-1":"","of-y-hidden":""},{default:withCtx(()=>[createVNode$1(unref(P$2),{options:{scrollbars:{autoHide:"leave",autoHideDelay:300}},defer:"",class:"h-full p-4"},{default:withCtx(()=>[renderSlot(jt.$slots,"default")]),_:3})]),_:3}),unref(qe).footer?(openBlock(),createElementBlock("div",_hoisted_2$N,[renderSlot(jt.$slots,"footer")])):createCommentVNode("",!0)]),_:3})]),_:3},16,["appear"])]),_:3},8,["class"])]),_:3},8,["appear","show"])}}});function mitt(xe){return{all:xe=xe||new Map,on:function($e,Ie){var Fe=xe.get($e);Fe?Fe.push(Ie):xe.set($e,[Ie])},off:function($e,Ie){var Fe=xe.get($e);Fe&&(Ie?Fe.splice(Fe.indexOf(Ie)>>>0,1):xe.set($e,[]))},emit:function($e,Ie){var Fe=xe.get($e);Fe&&Fe.slice().map(function(Ue){Ue(Ie)}),(Fe=xe.get("*"))&&Fe.slice().map(function(Ue){Ue($e,Ie)})}}}const eventBus=mitt();var define_SYSTEM_INFO_default={pkg:{version:"3.7.0",dependencies:{"@element-plus/icons-vue":"^2.3.1","@headlessui/vue":"^1.7.22","@imengyu/vue3-context-menu":"^1.4.1","@vueuse/core":"^10.10.0","@vueuse/integrations":"^10.10.0",autoprefixer:"^10.4.19",axios:"^1.7.2",dayjs:"^1.11.11",echarts:"^5.5.0","element-plus":"^2.7.4",eruda:"^3.0.1","floating-vue":"5.2.2","hotkeys-js":"^3.13.7",less:"^4.2.0","lodash-es":"^4.17.21",marked:"^13.0.0","md-editor-v3":"^4.16.7",mitt:"^3.0.1",mockjs:"^1.1.0",nprogress:"^0.2.0",overlayscrollbars:"^2.8.3","overlayscrollbars-vue":"^0.5.9","path-browserify":"^1.0.1","path-to-regexp":"^6.2.2","resize-observer-polyfill":"^1.5.1",vconsole:"^3.15.1",vue:"^3.4.27","vue-m-message":"^4.0.2","vue-router":"^4.3.2"},devDependencies:{"@iconify/json":"^2.2.217","@iconify/vue":"^4.1.2","@types/lodash-es":"^4.17.12","@types/mockjs":"^1.0.10","@types/path-browserify":"^1.0.2","@unocss/core":"^0.61.0","@unocss/preset-mini":"^0.61.0","@vitejs/plugin-legacy":"^5.4.1","@vitejs/plugin-vue":"^5.0.5","@vitejs/plugin-vue-jsx":"^4.0.0",archiver:"^7.0.1",boxen:"^7.1.1",bumpp:"^9.4.1",eslint:"^9.4.0",esno:"^4.7.0","fs-extra":"^11.2.0","http-server":"^14.1.1",inquirer:"^9.2.23","npm-run-all2":"^6.2.0",picocolors:"^1.0.1",plop:"^4.0.1",sass:"^1.77.4",stylelint:"^16.6.1",svgo:"^3.3.2",typescript:"^5.4.5",unocss:"^0.60.4","unplugin-auto-import":"^0.17.6","unplugin-turbo-console":"^1.8.6","unplugin-vue-components":"^0.27.0",vite:"^5.2.12","vite-plugin-banner":"^0.7.1","vite-plugin-checker":"^0.6.4","vite-plugin-compression2":"^1.1.1","vite-plugin-fake-server":"^2.1.1","vite-plugin-pages":"^0.32.2","vite-plugin-svg-icons":"^2.0.1","vite-plugin-vue-devtools":"^7.2.1","vite-plugin-vue-meta-layouts":"^0.4.3","vue-tsc":"^2.0.19"}},lastBuildTime:"2024-07-31 14:07:48"};const _hoisted_1$1c={class:"px-4"},_hoisted_2$M=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 最后编译时间 ",-1),_hoisted_3$o={class:"my-4 text-center text-lg font-sans"},_hoisted_4$e={class:"px-4"},_hoisted_5$9=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 生产环境依赖 ",-1),_hoisted_6$6={class:"list-none pl-0 text-sm"},_hoisted_7$4={class:"font-bold"},_hoisted_8$4={class:"font-sans"},_hoisted_9$3={class:"px-4"},_hoisted_10$2=createBaseVNode("h2",{class:"m-0 text-lg font-bold"}," 开发环境依赖 ",-1),_hoisted_11$2={class:"list-none pl-0 text-sm"},_hoisted_12$2={class:"font-bold"},_hoisted_13$2={class:"font-sans"},_sfc_main$2w=defineComponent({__name:"index",setup(xe){const $e=ref(!1),{pkg:Ie,lastBuildTime:Fe}=define_SYSTEM_INFO_default;return onMounted(()=>{eventBus.on("global-system-info-toggle",()=>{$e.value=!$e.value})}),(Ue,qe)=>{const At=_sfc_main$2x;return openBlock(),createBlock(At,{modelValue:unref($e),"onUpdate:modelValue":qe[0]||(qe[0]=Dt=>isRef($e)?$e.value=Dt:null),title:"系统信息"},{default:withCtx(()=>[createBaseVNode("div",_hoisted_1$1c,[_hoisted_2$M,createBaseVNode("div",_hoisted_3$o,toDisplayString(unref(Fe)),1)]),createBaseVNode("div",_hoisted_4$e,[_hoisted_5$9,createBaseVNode("ul",_hoisted_6$6,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).dependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_7$4,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_8$4,toDisplayString(Dt),1)]))),128))])]),createBaseVNode("div",_hoisted_9$3,[_hoisted_10$2,createBaseVNode("ul",_hoisted_11$2,[(openBlock(!0),createElementBlock(Fragment,null,renderList(unref(Ie).devDependencies,(Dt,Lt)=>(openBlock(),createElementBlock("li",{key:Lt,class:"flex items-center justify-between rounded px-2 py-1.5 hover-bg-stone-1 dark-hover-bg-stone-9"},[createBaseVNode("div",_hoisted_12$2,toDisplayString(Lt),1),createBaseVNode("div",_hoisted_13$2,toDisplayString(Dt),1)]))),128))])])]),_:1},8,["modelValue"])}}}),_hoisted_1$1b=["disabled"],_sfc_main$2v=defineComponent({__name:"HButton",props:{block:{type:Boolean,default:!1},outline:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},setup(xe){const $e=xe,Ie=computed(()=>["focus-outline-none focus-visible-outline-0 cursor-pointer disabled-cursor-not-allowed disabled-opacity-75 flex-shrink-0 gap-x-1.5 px-2.5 py-1.5 border-size-0 font-medium text-sm rounded-md select-none",$e.block?"w-full flex justify-center items-center":"inline-flex items-center",$e.outline?"shadow-sm ring-1 ring-inset ring-ui-primary text-ui-primary bg-white dark-bg-dark hover-not-disabled-bg-ui-primary/10 dark-hover-not-disabled-bg-ui-primary/10 focus-visible-ring-2":"shadow-sm text-ui-text bg-ui-primary hover-bg-ui-primary/75 disabled-bg-ui-primary/90 focus-visible-ring-inset focus-visible-ring-2"]);return(Fe,Ue)=>(openBlock(),createElementBlock("button",{disabled:Fe.disabled,class:normalizeClass(unref(Ie))},[renderSlot(Fe.$slots,"default")],10,_hoisted_1$1b))}});var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root=freeGlobal||freeSelf||Function("return this")(),Symbol$2=root.Symbol,objectProto$f=Object.prototype,hasOwnProperty$d=objectProto$f.hasOwnProperty,nativeObjectToString$1=objectProto$f.toString,symToStringTag$1=Symbol$2?Symbol$2.toStringTag:void 0;function getRawTag(xe){var $e=hasOwnProperty$d.call(xe,symToStringTag$1),Ie=xe[symToStringTag$1];try{xe[symToStringTag$1]=void 0;var Fe=!0}catch{}var Ue=nativeObjectToString$1.call(xe);return Fe&&($e?xe[symToStringTag$1]=Ie:delete xe[symToStringTag$1]),Ue}var objectProto$e=Object.prototype,nativeObjectToString=objectProto$e.toString;function objectToString(xe){return nativeObjectToString.call(xe)}var nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag=Symbol$2?Symbol$2.toStringTag:void 0;function baseGetTag(xe){return xe==null?xe===void 0?undefinedTag:nullTag:symToStringTag&&symToStringTag in Object(xe)?getRawTag(xe):objectToString(xe)}function isObjectLike(xe){return xe!=null&&typeof xe=="object"}var symbolTag$3="[object Symbol]";function isSymbol(xe){return typeof xe=="symbol"||isObjectLike(xe)&&baseGetTag(xe)==symbolTag$3}function arrayMap(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length,Ue=Array(Fe);++Ie0){if(++$e>=HOT_COUNT)return arguments[0]}else $e=0;return xe.apply(void 0,arguments)}}function constant(xe){return function(){return xe}}var defineProperty=function(){try{var xe=getNative(Object,"defineProperty");return xe({},"",{}),xe}catch{}}(),baseSetToString=defineProperty?function(xe,$e){return defineProperty(xe,"toString",{configurable:!0,enumerable:!1,value:constant($e),writable:!0})}:identity$2,setToString=shortOut(baseSetToString);function arrayEach(xe,$e){for(var Ie=-1,Fe=xe==null?0:xe.length;++Ie-1}var MAX_SAFE_INTEGER$2=9007199254740991,reIsUint=/^(?:0|[1-9]\d*)$/;function isIndex(xe,$e){var Ie=typeof xe;return $e=$e??MAX_SAFE_INTEGER$2,!!$e&&(Ie=="number"||Ie!="symbol"&&reIsUint.test(xe))&&xe>-1&&xe%1==0&&xe<$e}function baseAssignValue(xe,$e,Ie){$e=="__proto__"&&defineProperty?defineProperty(xe,$e,{configurable:!0,enumerable:!0,value:Ie,writable:!0}):xe[$e]=Ie}function eq(xe,$e){return xe===$e||xe!==xe&&$e!==$e}var objectProto$c=Object.prototype,hasOwnProperty$b=objectProto$c.hasOwnProperty;function assignValue(xe,$e,Ie){var Fe=xe[$e];(!(hasOwnProperty$b.call(xe,$e)&&eq(Fe,Ie))||Ie===void 0&&!($e in xe))&&baseAssignValue(xe,$e,Ie)}function copyObject(xe,$e,Ie,Fe){var Ue=!Ie;Ie||(Ie={});for(var qe=-1,At=$e.length;++qe-1&&xe%1==0&&xe<=MAX_SAFE_INTEGER$1}function isArrayLike$1(xe){return xe!=null&&isLength(xe.length)&&!isFunction$3(xe)}function isIterateeCall(xe,$e,Ie){if(!isObject$6(Ie))return!1;var Fe=typeof $e;return(Fe=="number"?isArrayLike$1(Ie)&&isIndex($e,Ie.length):Fe=="string"&&$e in Ie)?eq(Ie[$e],xe):!1}function createAssigner(xe){return baseRest(function($e,Ie){var Fe=-1,Ue=Ie.length,qe=Ue>1?Ie[Ue-1]:void 0,At=Ue>2?Ie[2]:void 0;for(qe=xe.length>3&&typeof qe=="function"?(Ue--,qe):void 0,At&&isIterateeCall(Ie[0],Ie[1],At)&&(qe=Ue<3?void 0:qe,Ue=1),$e=Object($e);++Fe-1}function listCacheSet$1(xe,$e){var Ie=this.__data__,Fe=assocIndexOf(Ie,xe);return Fe<0?(++this.size,Ie.push([xe,$e])):Ie[Fe][1]=$e,this}function ListCache(xe){var $e=-1,Ie=xe==null?0:xe.length;for(this.clear();++$e0&&Ie(Dt)?$e>1?baseFlatten(Dt,$e-1,Ie,Fe,Ue):arrayPush(Ue,Dt):Fe||(Ue[Ue.length]=Dt)}return Ue}function flatten(xe){var $e=xe==null?0:xe.length;return $e?baseFlatten(xe,1):[]}function flatRest(xe){return setToString(overRest(xe,void 0,flatten),xe+"")}var getPrototype=overArg(Object.getPrototypeOf,Object),objectTag$3="[object Object]",funcProto=Function.prototype,objectProto$4=Object.prototype,funcToString=funcProto.toString,hasOwnProperty$4=objectProto$4.hasOwnProperty,objectCtorString=funcToString.call(Object);function isPlainObject$2(xe){if(!isObjectLike(xe)||baseGetTag(xe)!=objectTag$3)return!1;var $e=getPrototype(xe);if($e===null)return!0;var Ie=hasOwnProperty$4.call($e,"constructor")&&$e.constructor;return typeof Ie=="function"&&Ie instanceof Ie&&funcToString.call(Ie)==objectCtorString}function baseSlice(xe,$e,Ie){var Fe=-1,Ue=xe.length;$e<0&&($e=-$e>Ue?0:Ue+$e),Ie=Ie>Ue?Ue:Ie,Ie<0&&(Ie+=Ue),Ue=$e>Ie?0:Ie-$e>>>0,$e>>>=0;for(var qe=Array(Ue);++Fe